Commit graph

590 commits

Author SHA1 Message Date
pancakes
68ceecd8f1
[backend/services] Use ASImage.Description to set DriveFile.Comment for resolved users' avatar and banner 2025-01-30 11:11:21 +01:00
pancakes
a2ff2484a2
[backend/razor] Display rules on instance about page 2025-01-30 11:09:27 +01:00
pancakes
b962fafdf8
[backend/api] Move rule create/update functionality to instance service 2025-01-30 11:09:26 +01:00
Laura Hausmann
ffbcccb79c
[backend/drive] Ignore deletion failures during fixup-media 2025-01-27 16:09:00 +01:00
Laura Hausmann
ac2527aa75
[backend/federation] Transfer blocks on migration (ISH-563) 2025-01-21 21:22:31 +01:00
Laura Hausmann
77936b710d
[backend/federation] Fix future publishedAt/updatedAt DateTime handling 2025-01-20 11:18:38 +01:00
Laura Hausmann
1bb199bf59
[backend/federation] Make publish/update date checks stricter (ISH-687) 2025-01-19 09:59:43 +01:00
Laura Hausmann
2a06240f2f
[backend/cron] Automatically update timeline heuristic for recently active users 2025-01-13 09:27:24 +01:00
Laura Hausmann
9e37942e9d
[backend/federation] Improve hashtag handling (ISH-651) 2025-01-12 12:27:34 +01:00
Laura Hausmann
09919bdc77
[backend/core] Add support for HTTP proxy authentication 2025-01-12 08:34:07 +01:00
Laura Hausmann
ea7bcfa652
[backend/core] Add HTTP proxy support 2025-01-12 08:26:22 +01:00
Laura Hausmann
af750a010d
[backend/drive] Improve handling of configurations with disabled media proxy 2025-01-10 06:23:54 +01:00
Laura Hausmann
c335a44327
[backend/drive] Don't use thumbnail proxy url when no thumbnail is available 2025-01-09 12:54:25 +01:00
Laura Hausmann
113bd98b0e
[backend/drive] Proxy remote media by default 2025-01-09 12:36:34 +01:00
Laura Hausmann
2fbff537a6
[backend/federation] Don't mark notes as edited during refetch (ISH-601) 2025-01-07 07:02:32 +01:00
Kopper
d965653972 [backend] Backfill users on incoming follow 2025-01-07 01:42:18 +03:00
Kopper
6b1d84801e [backend] Implement infrastructure for outbox backfill 2025-01-07 01:42:15 +03:00
Tamara Schmitz
27206633bb
[backend/core] don't schedule reply backfill jobs for followers only posts when authenticated user backfill is disabled 2025-01-05 06:38:12 +01:00
Laura Hausmann
cf37567108
[backend/core] Use the fetched object id as the lock key in NoteService.ResolveNoteAsync 2024-12-19 21:22:25 +01:00
Laura Hausmann
b15cc7c3e1
[backend/core] Fix runtime ArrayTypeMismatchException in UserProfileMentionsResolver 2024-12-19 20:51:17 +01:00
Laura Hausmann
49e9c6d825
[backend] Reformat DriveService.cs 2024-12-16 21:30:35 +01:00
Laura Hausmann
48e688e514
[backend/drive] Normalize empty / whitespace alt text to null 2024-12-16 21:30:26 +01:00
Laura Hausmann
ce646e84d9
[backend/core] Fix runtime ArrayTypeMismatchException in EmojiService 2024-12-15 01:09:06 +01:00
Laura Hausmann
b8ba778842
[backend/core] Improve inline media lookup performance 2024-12-15 01:05:56 +01:00
Laura Hausmann
e8842d70a2
[backend/core] Fix runtime ArrayTypeMismatchException in NoteService 2024-12-15 00:36:19 +01:00
Laura Hausmann
010dd2bb96
[backend/core] Fix CW edits not being processed correctly, replace CW line endings during note ingest 2024-12-15 00:34:29 +01:00
Laura Hausmann
9865f3dde7
[backend/core] Replace MFM line endings during user/note ingestion
This saves significant amounts of time & memory during parsing.
2024-12-15 00:11:31 +01:00
Kopper
149fae3363
[backend] address review 2024-12-13 22:19:31 +01:00
Kopper
b6953236c3
[backend/masto-client] Fix edits breaking inline media 2024-12-13 22:19:31 +01:00
Kopper
89060599eb
[backend] Implement inline media
Inline media can be created by:

1. Attach media to note as usual
2. Copy media URL (public one, for remote instances)
3. Use the new $[media url ] MFM extension to place it wherever you
   wish. (The trailing space is necessary as the parser currently
   treats the closing ] as a part of the URL)

The Iceshrimp frontend may make this easier later on (by having a
"copy inline MFM" button on attachments, maybe?)

Federates as <img>, <video>, <audio>, or <a download> HTML tags
depending on the media type for interoperability. (<a download> is
not handled for incoming media yet).

The media will also be present in the attachments field, both as a
fallback for instance software that do not support inline media,
but also for MFM federation to discover which media it is allowed to
embed (and metadata like alt text and sensitive-ness). This is not
required for remote instances sending inline media, as it will be
extracted out from the HTML.

The Iceshrimp frontend does not render inline media yet. That is
blocked on #67.
2024-12-13 22:19:30 +01:00
Laura Hausmann
911480afcb
[backend] Remove unused imports 2024-12-11 19:58:52 +01:00
Laura Hausmann
5dee8bc783
[parsing] Bump MfmSharp version 2024-12-07 04:41:00 +01:00
Laura Hausmann
00e157cc7e
[parsing] Switch to MfmSharp 2024-12-06 18:14:00 +01:00
Laura Hausmann
853f598bc4
[backend/razor] Add "top delayed" section to queue dashboard 2024-11-23 21:34:30 +01:00
Kopper
36d9a8cc49
[backend/federation] Context collection 2024-11-23 18:20:41 +01:00
Laura Hausmann
fe8c736821
[backend/federation] Limit UserResolver invocations in NoteService (ISH-622) 2024-11-21 00:45:30 +01:00
Laura Hausmann
863c9ca9c9
[backend/federation] Improve actor & note validation (ISH-547) 2024-11-20 23:54:32 +01:00
Laura Hausmann
48bb81af1c
[backend/core] Deliver note creates & updates to reply author even if they're not mentioned 2024-11-20 01:30:56 +01:00
Laura Hausmann
00d3248b8a
[backend] Fix build 2024-11-20 01:22:09 +01:00
Laura Hausmann
51e4846635
[backend/core] Revert Task.ContinueWithResult naming 2024-11-20 01:14:50 +01:00
Laura Hausmann
a762a9201e
[backend/core] Revert IAsyncEnumerable naming 2024-11-20 01:12:32 +01:00
Laura Hausmann
24b412bd75
[sln] Reformat code 2024-11-20 00:48:29 +01:00
Laura Hausmann
7dec2514da
[sln] Apply code style 2024-11-20 00:48:29 +01:00
Laura Hausmann
dd7b7634c6
[backend/core] Convert scoped services with request-specific properties to singletons by utilizing AsyncLocal<T> 2024-11-18 19:02:44 +01:00
Laura Hausmann
4356a47b9d
[backend/asp] Make services runtime-discoverable 2024-11-18 19:02:44 +01:00
Laura Hausmann
6c76b2b2c5
[backend] Switch params methods to IEnumerable<T> 2024-11-18 19:02:41 +01:00
Laura Hausmann
8d288e9f44
[backend/core] Convert GeneratedRegex partial methods to partial properties 2024-11-18 19:02:41 +01:00
Laura Hausmann
940e6f847e
[backend/drive] Fix errors when uploading files with long names containing unicode characters to object storage 2024-11-17 17:12:19 +01:00
Laura Hausmann
b6dddd9439
[backend/core] Trim UserPublicKey before inserting into database 2024-11-12 20:57:16 +01:00
Laura Hausmann
3e8ba289c3
[backend/drive] Fix incorrect mime type & file extension when converting original files (ISH-593)
Closes #64

Co-authored-by: Tamara Schmitz <tamara.zoe.schmitz@posteo.de>
2024-11-07 20:04:34 +01:00