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
Laura Hausmann
e34b4f5c1a
[backend/drive] Convert ImageFormat to a closed record
2024-11-07 20:04:34 +01:00
pancakes
4d85fce1cf
[backend/core] Catch failed resolves in ImportFollowingAsync
2024-11-06 00:32:34 +10:00
pancakes
925ba3c751
[backend] Directly render ASReject
2024-11-03 13:02:12 +10:00
pancakes
dd82e457d0
[backend] Use RenderUnfollow to remove follower
2024-11-03 03:00:58 +01:00
pancakes
ea5408c182
[backend/api] Add remove from followers endpoint
2024-11-03 03:00:58 +01:00
Laura Hausmann
f2853d2d40
[backend] Fix typo
2024-11-02 22:56:52 +01:00
Laura Hausmann
b3f9680845
[backend/core] Also set correct local mention url in other UserProfileMentionsResolver overload
2024-11-02 16:59:13 +01:00
Laura Hausmann
d9fabcb32c
[backend/core] Set correct url for local mentions in user profile
2024-11-02 16:05:30 +01:00
Laura Hausmann
e61e3d2fde
[backend/api] Wait for user mention resolution before returning (ISH-567)
2024-10-31 21:02:56 +01:00
pancakes
95ae04e4af
[backend] Download exported follow list directly instead of storing it as a file
2024-10-31 20:48:51 +01:00
pancakes
137dc0d0e6
[backend/core] Move import/export to ImportExportService and resolve imported users
2024-10-31 20:48:07 +01:00
pancakes
bfc36cbc48
[backend/api] Add follow list export endpoint
2024-10-31 20:48:07 +01:00
pancakes
62aa5f3075
[backend/api] Add follow list import endpoint
2024-10-31 20:48:07 +01:00
Laura Hausmann
8340952653
[backend/signalr] Switch to Lazy<T> for NoteResponses in StreamingService
2024-10-31 18:49:36 +01:00
Laura Hausmann
912c50488f
[backend/core] Fix ResolveNoteMentionsAsync regression
2024-10-29 20:01:15 +01:00
Laura Hausmann
b43e81b834
[backend/federation] Switch to Uri.TryCreate local fetch checks
2024-10-29 18:43:58 +01:00
Laura Hausmann
5d1e1ed05d
[backend/federation] Add extra guard clauses to UserService
...
This should be caught by WebFingerService, but more checks are always a good idea.
2024-10-29 16:10:39 +01:00