Laura Hausmann
fd5a524a8c
[backend/libmfm] Add missing @ when rendering unresolved mentions to html
2024-05-17 22:27:16 +02:00
Laura Hausmann
9636a096fc
[backend/masto-client] Respect filters in WebSocket connections (ISH-328)
2024-05-17 19:21:41 +02:00
Laura Hausmann
849ecd9841
[backend/core] Don't allow connections to local addresses by default (ISH-330, ISH-331)
2024-05-17 14:19:48 +02:00
Laura Hausmann
a1120ac1e1
[backend/libmfm] Replace non-breaking space characters with regular spaces when converting from html
2024-05-16 19:30:27 +02:00
Laura Hausmann
ea8ff6495c
[backend/core] Fix editing of polls with no recorded votes
2024-05-16 18:56:04 +02:00
Laura Hausmann
1fae913a32
[backend/federation] Fix acceptance of poll vote activities without publishedAt
2024-05-16 18:55:46 +02:00
Laura Hausmann
2108f91bcf
[backend/drive] Store attachments as links if they can't be fetched for caching / further processing
2024-05-16 18:43:24 +02:00
Laura Hausmann
b76f154f50
[backend/drive] Don't hash files larger than the configured max cache size
2024-05-16 18:25:33 +02:00
Laura Hausmann
498ac154a7
[backend/masto-client] Move offset pagination into QueryableExtensions
2024-05-16 00:38:16 +02:00
Laura Hausmann
db9c4809dd
[backend/drive] Improve object storage migrator (ISH-326)
...
This commit fixes various bugs related to the object storage migrator.
- Files with a content length of zero bytes can now be migrated
- Deduplicated files now migrate correctly
- The database query no longer skips over files
2024-05-14 21:32:22 +02:00
Laura Hausmann
aeb1ce6d24
[backend] Fix build
2024-05-14 20:17:28 +02:00
Laura Hausmann
ed04ab9542
[backend/database] Add migration that fixes up inconsistent drive file metadata
2024-05-14 20:15:49 +02:00
Laura Hausmann
d7d7b7d2e3
[backend/drive] Improve error handling during DriveService.StoreFile
2024-05-14 20:09:14 +02:00
Laura Hausmann
23cf3cf35f
[backend/drive] Handle inconsistent file metadata during object storage migration
2024-05-14 20:07:37 +02:00
Laura Hausmann
39296bbc25
[backend/core] Include quote-renotes when rendering notifications
2024-05-14 15:54:09 +02:00
Laura Hausmann
97532c2b22
[backend/queue] Clean completed jobs in a cron task instead of doing it at job completion
...
This prevents database deadlocks that can occur when many jobs are being processed simultaneously.
2024-05-14 15:05:01 +02:00
Laura Hausmann
b705c95714
[backend/federation] Add Guid to end of follow activity URIs
...
This stops mastodon from caching the undo, preventing re-follows & debugging of federation issues
2024-05-07 16:41:07 +02:00
Laura Hausmann
16fdc48800
[backend/drive] Set content-type when uploading media to object storage
2024-05-07 02:57:19 +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
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
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
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
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
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
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
ba15058e5c
[backend/api] Allow CORS from all origins for FallbackController (ISH-301)
2024-05-02 22:42:45 +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
e2a970b56c
[backend/core] Correctly serialize unresolved mentions to MFM
2024-05-02 01:13:30 +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
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