Commit graph

1068 commits

Author SHA1 Message Date
Laura Hausmann
5e7eda1b9a
[backend/core] Fix ASTagConverter edge case 2024-05-31 20:21:08 +02:00
Laura Hausmann
117443b802
[backend/core] Fix typo 2024-05-30 13:35:31 +02:00
Laura Hausmann
6fdc8b73f7
[backend/core] Improve resolution of notes with pending reply/renote targets on note create
This fixes missing metadata (reply/renote user id/host), as well as stale reply/renote counts for replies/renotes processed out of order.
2024-05-30 12:30:45 +02:00
Laura Hausmann
3d15ed6807
[backend/asp] Add explicit routes for matching local and remote users
This is necessary because MapFallbackToPage doesn't apply to routes containing special characters (dots, @ symbol) by default.
2024-05-29 20:04:22 +02:00
Laura Hausmann
581d13bd65
[backend/asp] Revert: Make fallback page route work properly for filename-like routes
This reverts commit 38279a36af.
2024-05-29 19:29:39 +02:00
Laura Hausmann
38279a36af
[backend/asp] Make fallback page route work properly for filename-like routes 2024-05-29 19:14:05 +02:00
Laura Hausmann
9949e24c8d
[backend] Miscellaneous refactors 2024-05-28 20:50:04 +02:00
Laura Hausmann
79c8983015
[parsing] Allow mentions to end with common markup characters 2024-05-28 19:24:25 +02:00
Laura Hausmann
fe3f289903
[backend/api] Fix user profile relations 2024-05-28 16:06:18 +02:00
Laura Hausmann
b1803ce6bf
[backend/drive] Add purge argument & additional error handling to object storage migrator 2024-05-28 15:35:39 +02:00
Laura Hausmann
dd22bd5393
[backend/drive] Fix object storage migrator db query warnings 2024-05-28 15:12:51 +02:00
Laura Hausmann
51f0890c36
[backend/database] Move more migrations into their respective version folder 2024-05-27 22:11:18 +02:00
Laura Hausmann
e77c768882
[backend/database] Switch job identifier generation scheme to from UUIDv4 to ULID 2024-05-27 22:11:18 +02:00
Laura Hausmann
55250e59f0
[backend/swagger] Set SwaggerDoc versions correctly (ISH-350) 2024-05-27 15:21:43 +02:00
Laura Hausmann
d3aed20843
[backend] Replace cuid2 with System.Cryptography-based CSPRNG
This allows us to drop the cuid.net dependency and is ~6x faster while improving security (cuid2 is dubious at best in this regard). We may switch to ULID or UUIDv7 in the future for even higher performance, but this change allows for improving performance and security without any side effects.
2024-05-27 13:27:49 +02:00
Laura Hausmann
cc161f1b32
[parsing] Support mentions of unicode usernames 2024-05-27 11:44:41 +02:00
Laura Hausmann
35153a9080
[backend/queue] Improved AsyncAutoResetEvent implementation
This implementation improves the memory behavior of AsyncAutoResetEvents that fire in rapid succession.
2024-05-25 13:34:06 +02:00
Laura Hausmann
c80630f66f
[backend/razor] Add assembly metadata to FrontendSPA template 2024-05-25 01:10:17 +02:00
Laura Hausmann
9fa414d738
[backend/configuration] Allow accessing full commit hash when available 2024-05-24 22:47:36 +02:00
Laura Hausmann
816e912078
[backend/csproj] Remove trailing whitespace 2024-05-24 22:42:54 +02:00
Laura Hausmann
9eb5710e84
[backend] Add codename to assembly metadata 2024-05-24 22:41:43 +02:00
Laura Hausmann
46d5fdc1af
[backend/api] Add user follow, unfollow & lookup api methods (ISH-346) 2024-05-23 23:11:51 +02:00
Laura Hausmann
ffa46eded6
[backend/api] Add relations to user profile response (ISH-347) 2024-05-23 22:56:48 +02:00
Laura Hausmann
167fd5f0d6
[backend/api] Add renote endpoints (ISH-341) 2024-05-23 19:37:56 +02:00
Laura Hausmann
835796ac86
[parsing] Allow termination of mentions with a semicolon character 2024-05-23 18:58:38 +02:00
Laura Hausmann
b543733451
[backend/api] Fix internal server error on UserController.GetUserNotes (ISH-336) 2024-05-23 18:51:46 +02:00
Laura Hausmann
6386025c24
[backend/core] Update emoji regex for Unicode 15.1, simplify emoji regex, move emoji regex into a GeneratedRegexAttribute property 2024-05-23 18:08:38 +02:00
Laura Hausmann
4c342b0657
[backend/masto-client] Add direct streaming channel (ISH-332) 2024-05-23 17:24:06 +02:00
Laura Hausmann
434d532318
[backend/streaming] Respect list members that are hidden from home in streaming connections 2024-05-23 17:23:50 +02:00
Laura Hausmann
dc09a4ada2
[backend/masto-client] Add list streaming channel (ISH-332) 2024-05-23 17:10:36 +02:00
Laura Hausmann
a4087a4c81
[backend/masto-client] Add hashtag streaming channel (ISH-332) 2024-05-23 17:10:32 +02:00
Laura Hausmann
a5c1f063d2
[backend/swagger] Fix form file annotations 2024-05-23 16:13:39 +02:00
Laura Hausmann
2ffededb4d
[backend/database] Add explicit parentheses to Note.IsVisibleFor
This is semantically identical, but should be easier to read.
2024-05-23 15:17:44 +02:00
Laura Hausmann
aa8e3f32c5
[backend/drive] Fix thumbnail url for deduplicated files 2024-05-23 15:15:43 +02:00
Laura Hausmann
329f677075
[backend/masto-client] Fix IsApplicableBool check in UserChannel 2024-05-23 14:48:16 +02:00
Laura Hausmann
0f69013224
[backend/federation] Support resolving actors by aliases not directly resolvable via WebFinger
This fixes resolving pixelfed users by their user-facing uri (instance.tld/username).
2024-05-23 14:07:36 +02:00
Laura Hausmann
9d0ee19922
[backend/drive] Don't store attachments if the download isn't successful 2024-05-23 00:23:54 +02:00
Laura Hausmann
ba21cb2b0e
[backend/queue] Fix race condition that could cause PostgresJobQueue.ExecuteAsync to fail when actualParallelism is negative 2024-05-22 23:47:09 +02:00
Laura Hausmann
f6e1274317
[nuget] Update dependencies 2024-05-22 20:44:48 +02:00
Laura Hausmann
854c99db3d
[parsing] Allow dashes and underscores in hashtags 2024-05-21 21:09:18 +02:00
Laura Hausmann
0a4c3680dd
[backend/api] Improve quote/renote handling in NoteRenderer 2024-05-19 15:37:27 +02:00
Laura Hausmann
d23bb06430
[backend/api] Add search & lookup endpoints (ISH-333) 2024-05-18 18:22:53 +02:00
Laura Hausmann
91544cdd78
[parsing] Allow usernames starting & ending with an underscore 2024-05-18 16:53:20 +02:00
Laura Hausmann
adba960f8c
[backend/drive] Check for isLink attribute when handling deletion/expiry for deduplicated files (ISH-334) 2024-05-18 15:53:59 +02:00
Laura Hausmann
9dd34aa7e3
[backend/drive] Improve deletion/expiry logic for deduplicated files (ISH-334) 2024-05-18 15:48:25 +02:00
Laura Hausmann
3dc14f5bfe
[parsing] Further improve mention parser logic, add more tests 2024-05-17 23:27:05 +02:00
Laura Hausmann
fd5a524a8c
[backend/libmfm] Add missing @ when rendering unresolved mentions to html 2024-05-17 22:27:16 +02:00
Laura Hausmann
6a3d1bd16a
[parsing] Reformat code 2024-05-17 22:22:42 +02:00
Laura Hausmann
cec79da658
[parsing] Improve mention parser logic 2024-05-17 22:22:27 +02:00
Laura Hausmann
9636a096fc
[backend/masto-client] Respect filters in WebSocket connections (ISH-328) 2024-05-17 19:21:41 +02:00