Commit graph

645 commits

Author SHA1 Message Date
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
f8301613e7
[backnd/database] Don't try to parse UserProfile.MutedWords 2024-05-01 15:45:36 +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
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
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
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
Laura Hausmann
a7898e8aa9
[backend/federation] Enforce federation control in ActivityFetcherService
With this there should be no remaining ways for new activities from blocked instances to make it into the database.
2024-04-28 19:22:18 +02:00
Laura Hausmann
ead8e126f1
[backend/federation] Handle ASImage as ASAttachment
This fixes one of the issues in terms of federation with Pixelfed.
2024-04-28 03:54:34 +02:00
Laura Hausmann
f6bfaa72ad
[backend/federation] Prettier displayUri for profile fields that are links 2024-04-28 02:09:31 +02:00
Laura Hausmann
0414c791e6
[backend/federation] Federate profile fields correctly 2024-04-28 02:02:48 +02:00
Laura Hausmann
94ac11db88
[backend/drive] Add option to disable validation of the object storage configuration 2024-04-28 00:34:20 +02:00
Laura Hausmann
aaa3f91e1f
[backend/api-shared] Add Cache-Control: private, no-store for all authenticated requests 2024-04-27 21:54:11 +02:00
Laura Hausmann
d7a69375b6
[backend/database] Increase instance softwareName and softwareVersion max length to 256 2024-04-27 21:26:54 +02:00
Laura Hausmann
7dd0262333
[backend/federation] Add Cache-Control: no-store to authorized fetch endpoints 2024-04-27 20:32:31 +02:00
Laura Hausmann
a20d50f793
[backend/federation] Improve logging regarding a renamed variable 2024-04-27 20:17:39 +02:00
Laura Hausmann
0b77107b1e
[backend/database] Add connection pool size configuration option 2024-04-27 20:05:42 +02:00
Laura Hausmann
bc1e695193
[backend/masto-client] Don't deliver push notifications from blocked or muted notifiers (ISH-273) 2024-04-27 01:47:16 +02:00
Laura Hausmann
cf215b3d57
[backend/federation] Handle ASDelete activities of ASNote objects
Some implementations seem to send deletes of ASNote objects instead of ASTombstone objects.
2024-04-25 19:13:57 +02:00
Laura Hausmann
89a743d121
[backend/federation] Fix possible null dereference 2024-04-25 18:30:35 +02:00
Laura Hausmann
363b0c930c
[backend/core] Add Guid.ToStringLower() extension method 2024-04-25 18:26:42 +02:00
Laura Hausmann
1f3f7ad64d
[backend/federation] Improve logging in ActivityHandlerService 2024-04-25 18:23:30 +02:00
Laura Hausmann
40af9913b6
[backend/core] Handle emoji node for locally originating note create/update & user update events (ISH-271) 2024-04-25 17:35:38 +02:00
Laura Hausmann
eba6152493
[backend/database] Add indicies to the instance table 2024-04-25 00:40:51 +02:00
Laura Hausmann
e2a528c8a6
[backend/federation] Refactor AcceptAsync and FollowAsync for improved code reuse 2024-04-24 23:11:31 +02:00
Laura Hausmann
d060d076c1
[backend/core] Refactor DeleteNoteAsync and DeleteUserAsync for improved code reuse (ISH-239) 2024-04-24 21:43:45 +02:00
Laura Hausmann
10d1cb4768
[backend/core] Emit note edit notification for polls that have been voted in 2024-04-24 21:43:45 +02:00
Laura Hausmann
081f1ac646
[backend/core] Refactor NoteService for improved code reuse (ISH-239) 2024-04-24 21:43:45 +02:00
Laura Hausmann
95c7ff3d54
[backend/core] Fix follow requests getting re-added to the database after they are accepted 2024-04-24 20:46:15 +02:00
Laura Hausmann
b553da9edf
[backend/federation] Make it obvious that ephemeral IDs are, well, ephemeral 2024-04-24 04:06:28 +02:00
Laura Hausmann
bd8d5b20f8
[backend/federation] Use separate renoteUri schema
This allows renoteUris to be fetchable at their canonical uri.
2024-04-24 04:05:58 +02:00
Laura Hausmann
385f5843f7
[backend/helpers] Rename LDHelpers.Compact(ASActivity) to LDHelpers.CompactToPayload 2024-04-24 04:05:26 +02:00
Laura Hausmann
58d78b568a
[backend/core] Fix remote renotes being registered without a URI 2024-04-24 03:32:05 +02:00
Laura Hausmann
36fe68ad4f
[backend/core] Set userHost to user.Host instead of null
This fixes remote renotes having their userHost set to null
2024-04-24 02:49:50 +02:00