Commit graph

1175 commits

Author SHA1 Message Date
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
Laura Hausmann
a2077244f8
[backend/drive] Make image processor pluggable 2024-05-01 21:44:49 +02:00
Laura Hausmann
03191bfa91
[tests] Remove MfmUnicodeEmojiNode handler 2024-05-01 19:14:29 +02:00
Laura Hausmann
54d3c4e8d3
[backend] Fix build 2024-05-01 16:58:44 +02:00
Laura Hausmann
8f822853e7
[backend/libmfm] Revert removal of unicode emoji detection in EmojiService 2024-05-01 16:54:05 +02:00
Laura Hausmann
12e77cfb64
[backend/libmfm] Drop support for the unicode emoji node type 2024-05-01 16:52:11 +02:00
Laura Hausmann
4647aac503
[backend/masto-client] Run PrecomputeVisibilities for bookmarks & likes
This should fix erroneous "reply/renote inaccessible" indications as well.
2024-05-01 16:43:03 +02:00
Laura Hausmann
baf3138286
[backend/masto-client] Improve inaccessible reply/quote detection 2024-05-01 16:29:27 +02:00
Laura Hausmann
f8301613e7
[backnd/database] Don't try to parse UserProfile.MutedWords 2024-05-01 15:45:36 +02:00
Laura Hausmann
58ad080a99
[backend/federation] Fix accept header parsing in WellKnownController when multiple content-types are acceptable 2024-05-01 15:24:50 +02:00
Laura Hausmann
e1d8be1145
[backend/masbuild] Split native deps conditionals by os/arch 2024-05-01 02:59:12 +02:00
Laura Hausmann
ad9384193a
[backend] Reference architecture-specific libvips dependencies explicitly 2024-05-01 02:37:30 +02:00
Laura Hausmann
7af0c6f1a7
[backend/drive] Improve VIPS logger 2024-05-01 01:57:01 +02:00
Laura Hausmann
eab5e02b70
[backend/drive] Better error handling & logging 2024-05-01 01:44:52 +02:00
Laura Hausmann
7976854190
[backend/drive] Correctly set thumbnail & webpublicUrl when using the local storage provider 2024-05-01 01:21:08 +02:00
Laura Hausmann
facc7eb337
[backend/drive] Use libvips instead of imagesharp for most of the image processing pipeline 2024-05-01 01:21:08 +02:00
Laura Hausmann
878c9d657c
[backend/federation] Correctly support redirection of activity URIs
This was already implemented, but we forgot to disable auto-redirects, so the custom redirect code was never used.
2024-05-01 00:09:20 +02:00
Laura Hausmann
d56eda8464
[backend/drive] Fix ImageSharp memory leak, improve image processing memory footprint, don't generate thumbnails for animated images 2024-04-30 20:40:46 +02:00
Laura Hausmann
dd062c6752
[backend/drive] Fix logExisting oversight causing uris not to be logged in all cases 2024-04-30 17:03:04 +02:00
Laura Hausmann
9f356b8139
[backend/api] Rename fetch-raw controller method 2024-04-30 16:41:45 +02:00
Laura Hausmann
d31860dbb3
[backend/core] Track renote/reply uri for notes where the target is inaccessible at time of ingestion (ISH-287) 2024-04-30 00:15:58 +02:00