Commit graph

995 commits

Author SHA1 Message Date
Laura Hausmann
922a759fb1
[backend/api] Add user settings endpoints (ISH-299) 2024-05-07 02:40:01 +02:00
Laura Hausmann
d109f00d55
[backend/api] Add idempotency key support to NoteController.CreateNote (ISH-294) 2024-05-07 01:41:05 +02:00
Laura Hausmann
2519f382c5
[backend/federation] Include fully rendered renote target in rendered activity when renote user matches 2024-05-07 01:11:20 +02:00
Laura Hausmann
fe7d85fa91
[backend/core] Fix polls originating from masto-api 2024-05-06 23:40:47 +02:00
Laura Hausmann
32a4875162
[backend/streaming] Enforce notification blocks/mutes in StreamingConnectionAggregate 2024-05-06 23:19:56 +02:00
Laura Hausmann
b97c21a87b
[backend/streaming] Enforce mutes/blocks in note mentions (ISH-320) 2024-05-06 23:01:06 +02:00
Laura Hausmann
9679001a2b
[backend/masto-client] Fix compatibility with latest masto-fe-standalone 2024-05-06 22:37:26 +02:00
Laura Hausmann
2a92283395
Update README 2024-05-06 19:26:18 +02:00
Laura Hausmann
b6304dc882
[backend/federation] Fix media being incorrectly classified as sensitive
Some AP implementations send an empty string as content warning when they mean no content warning, this is handled correctly by CreateNoteAsync and UpdateNoteAsync but wasn't respected in the attachment processing code paths. This commit resolves that issue.
2024-05-06 16:44:56 +02:00
Laura Hausmann
039d46477a
[docker] Run application in rootless mode (ISH-319) 2024-05-06 15:34:04 +02:00
Laura Hausmann
a17da9d526
[backend/federation] Add missing entries to preloaded joinmastodon.org context 2024-05-04 19:50:11 +02:00
Laura Hausmann
3bf0f625d2
[backend/federation] Fix typo in preloaded schema.org context 2024-05-04 19:38:45 +02:00
Laura Hausmann
4217fd1afb
[backend/federation] Improve logging in ActivityFetcherService.FetchActorAsync 2024-05-03 21:42:00 +02:00
Laura Hausmann
616a70a73a
[backend/masto-client] Return 422 when trying to create a scheduled status (ISH-315) 2024-05-03 21:15:23 +02:00
Laura Hausmann
40110d4a9b
[backend/configuration] Disable EF Update logging by default
This prevents caught exceptions from being logged, and prevents errors being logged twice in all other cases.
2024-05-03 20:58:50 +02:00
Laura Hausmann
7f2ab15847
[backend/drive] Convert image to Srgb before further processing it for blurhash calculation when using LibVips 2024-05-03 18:14:51 +02:00
Laura Hausmann
2265f1d4cb
[backend/masto-client] Use AsyncKeyedLocker when checking idempotency keys 2024-05-03 18:05:05 +02:00
Laura Hausmann
ed594731de
[backend/asp] Rate-limit by user, then IP address instead of globally 2024-05-03 17:59:05 +02:00
Laura Hausmann
477f300c40
[backend/federation] Make resolvedActorId / authenticatedUserId mismatch a debug message instead of an exception 2024-05-03 16:30:03 +02:00
Laura Hausmann
db7e51358f
[backend/federation] Code cleanup 2024-05-03 02:39:48 +02:00
Laura Hausmann
003207bb06
[backend/federation] Improve LD signature checks for ASDelete activities 2024-05-03 02:35:50 +02:00
Laura Hausmann
fa3dd06b6c
[backend/masto-client] Paginate mutes, blocks & follow requests by their id instead of the user id (ISH-285) 2024-05-03 01:56:22 +02:00
Laura Hausmann
6c2215e30d
[backend/masto-client] Fix NullReferenceExceptions in StatusController 2024-05-03 01:32:19 +02:00
Laura Hausmann
4dd5eea946
[backend/federation] Refactor ActivityHandler: Improved logging, more graceful error handling, more readable code flow (ISH-311) 2024-05-03 01:15:22 +02:00
Laura Hausmann
50adfc6aa4
[backend/masto-client] Fix playback of GIF images (ISH-284) 2024-05-02 23:39:33 +02:00
Laura Hausmann
0ad4346e51
[backend/masto-client] Add user_settings feature flag for hiding inaccessible notes (ISH-303) 2024-05-02 23:33:41 +02:00
Laura Hausmann
d193ac26d7
[backend/masto-client] Disallow unauthenticated access to public note/user API endpoints when public preview is restricted (ISH-288) 2024-05-02 23:08:47 +02:00
Laura Hausmann
ba15058e5c
[backend/api] Allow CORS from all origins for FallbackController (ISH-301) 2024-05-02 22:42:45 +02:00
Laura Hausmann
21c042453c
[backend/masto-client] Set sensitive flag on drive files when posting sensitive status (ISH-292) 2024-05-02 22:39:42 +02:00
Laura Hausmann
df1c8e5475
[backend/masto-client] Set sensitive property when sensitive media is attached (ISH-292) 2024-05-02 22:34:42 +02:00
Laura Hausmann
a585f73b65
[backend/masto-client] Allow setting default note visibility (ISH-297) 2024-05-02 22:27:20 +02:00
Laura Hausmann
c3a4e235a7
[parsing] Improve url detection (ISH-302) 2024-05-02 22:21:41 +02:00
Laura Hausmann
69065ef1d7
[parsing] Fix hashtag detection (ISH-302) 2024-05-02 22:18:04 +02:00
Laura Hausmann
bf26ed58ff
[backend/masto-client] Initialize all relationship collections on websocket connect, not just following 2024-05-02 21:29:37 +02:00
Laura Hausmann
3a2a6e47cf
[backend/core] Update pinned notes when the first local user follows a remote user
This allows us to fetch follower-only pinned notes immediately when they are available.
2024-05-02 21:15:43 +02:00
Laura Hausmann
75b2227524
[backend/federation] Don't require ASNotes by the authenticated actor to be fetchable
This fixes e.g. renotes of follower-only posts
2024-05-02 21:04:57 +02:00
Laura Hausmann
fee5296cd9
[backend/core] Check for blocked instance early on user & note creation 2024-05-02 20:31:37 +02:00
Laura Hausmann
09623a94c8
[backend/api] Add optional userId query parameter to /admin/fetch & /fetch-raw 2024-05-02 19:29:19 +02:00
Laura Hausmann
744a01d138
[backend/drive] Add several media processing configuration options, replacing constants & assumptions 2024-05-02 19:13:58 +02:00
Laura Hausmann
9a662f2bea
[backend/drive] Fix DriveService.StoreFile edge cases and make the code flow more clear/readable 2024-05-02 19:13:20 +02:00
Laura Hausmann
87ade8a97c
[backend/api] Return 422 for /admin/fetch as well, not just for /admin/fetch-raw 2024-05-02 16:27:15 +02:00
Laura Hausmann
459c7c1228
[backend/api] Add UserResponse.Host property (ISH-304) 2024-05-02 01:14:52 +02:00
Laura Hausmann
e2a970b56c
[backend/core] Correctly serialize unresolved mentions to MFM 2024-05-02 01:13:30 +02:00
Laura Hausmann
0d23fdf9e1
[backend/api] Add reset password endpoint (ISH-282) 2024-05-02 00:32:40 +02:00
Laura Hausmann
be4e58b958
[backend/federation] Also skip RE: in ASNoteSource for notes that are not polls 2024-05-02 00:03:41 +02:00
Laura Hausmann
2e0792ab73
[backend/federation] Don't add RE: to ASNote.Source.Content for quotes 2024-05-02 00:00:57 +02:00
Laura Hausmann
0e6864fe38
[backend/api-shared] Order note ancestors by tree path
Background: the database function might not return these in the correct order, as the ids will almost, but not always be in the right order.
2024-05-01 23:39:49 +02:00
Laura Hausmann
764ef7b9cf
[ci] Fix typo in CI workflow file names 2024-05-01 22:24:41 +02:00
Laura Hausmann
cd9916faf5
[docker] Update dockerfile 2024-05-01 22:23:41 +02:00
Laura Hausmann
eaf2b28770
[docker] Update dockerfile 2024-05-01 22:16:16 +02:00