Commit graph

882 commits

Author SHA1 Message Date
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
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
a2077244f8
[backend/drive] Make image processor pluggable 2024-05-01 21:44:49 +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
Laura Hausmann
d54cb5c391
[backend/database] Add renoteUri and replyUri properties to the note table 2024-04-30 00:15:58 +02:00
Laura Hausmann
3ca926cfbd
[backend/federation] Don't require date header in http signatures if (created) is present and signed 2024-04-29 20:44:30 +02:00
Laura Hausmann
d0356fc6ea
[backend/federation] Add support & corresponding tests for http signature pseudo-headers 2024-04-29 20:35:51 +02:00
Laura Hausmann
fd0d6b4fea
[backend/core] Disallow quoting of notes with specified visibility 2024-04-29 16:03:28 +02:00
Laura Hausmann
f1a1716f16
[backend] Enable DATAS for reduced memory footprint 2024-04-29 02:42:19 +02:00
Laura Hausmann
8a62f89fd9
[backend] Remove unused import 2024-04-29 01:53:57 +02:00
Laura Hausmann
fb6e0cf9f3
[backend/masto-client] Parse emoji in display name & fields on local user update (ISH-296) 2024-04-29 00:36:35 +02:00
Laura Hausmann
a75fcfa43b
[backend/masto-client] Fix NullReferenceException on status edit history (ISH-293) 2024-04-29 00:21:41 +02:00
Laura Hausmann
5599805196
[backend/libmfm] Fix code block serialization 2024-04-28 23:46:05 +02:00
Laura Hausmann
50cfc6df92
[backend/core] Limit renote visibility to the visibility of the original note (ISH-290) 2024-04-28 23:34:58 +02:00
Laura Hausmann
61adc27b18
[backend/masto-client] Use new defaultRenoteVisibility user setting instead of defaulting to followers if not explicitly specified (ISH-290) 2024-04-28 23:09:20 +02:00
Laura Hausmann
bee733b3da
[backend/database] Rename DataProtectionKeys table to data_protection_keys for consistency 2024-04-28 20:15:56 +02:00
Laura Hausmann
8c5358efd9
[backend/libmfm] Correctly handle incoming italic html markup 2024-04-28 20:08:26 +02:00