Commit graph

172 commits

Author SHA1 Message Date
Laura Hausmann
a4717da8ab
[backend/core] Fix link verification for sites served with Transfer-Encoding: chunked 2025-03-06 15:52:19 +01:00
Laura Hausmann
fe24a11ca8
[backend/core] Move mutes on account migration (ISH-721) 2025-03-04 22:54:52 +01:00
Laura Hausmann
5bf14a6a06
[backend/core] Fix profile field verification for MFM link node fields 2025-02-22 23:32:08 +01:00
pancakes
04a5512c61
[backend/core] Verify links that have a matching link element in their document head 2025-02-21 13:28:35 +10:00
Laura Hausmann
cb0e0dadef
[backend/core] Improve profile field verification error handling 2025-02-13 12:50:44 +01:00
Laura Hausmann
dd8f6b063e
[backend/core] Fix profile field verification handling for non-html links 2025-02-13 12:38:08 +01:00
pancakes
df9d3388cf
[backend/federation] Switch from pancakes:Pronouns (V1) to pancakes:pronouns (V2) 2025-02-05 18:10:00 +01:00
pancakes
2b25affa2b
[backend/federation] Use LDLocalizedString for pancakes:Pronouns 2025-02-05 18:09:59 +01:00
pancakes
2aa6eb608b
[backend/federation] Federate user pronouns 2025-02-05 18:09:59 +01:00
pancakes
c6ac156b34
[backend/services] Make verification page size limit more readable 2025-02-04 13:02:44 +01:00
pancakes
01799a84cd
[backend/services] Ignore pages over 1MB when verifying links 2025-02-04 13:02:44 +01:00
pancakes
4fe3fe8d2c
[backend/services] Move profile field verification into background-task queue 2025-02-04 13:02:44 +01:00
pancakes
9d0cb44743
[backend/services] Also check user URI for local users when verifying links 2025-02-04 13:02:44 +01:00
pancakes
aa3262caea
[backend/services] Check for profile URL and user URI when verifying links 2025-02-04 13:02:44 +01:00
pancakes
858a7724a2
[backend/services] Verify user profile field links 2025-02-04 13:02:43 +01:00
Laura Hausmann
045ce709aa
[backend] Switch to Iceshrimp.EntityFrameworkCore.Extensions 2025-01-31 16:56:11 +01:00
pancakes
dff87e9db5
[backend/api] Move Avatar and Banner queries onto single lines 2025-01-30 11:11:23 +01:00
pancakes
78550aa878
[backend/api] Simplify Avatar and Banner queries 2025-01-30 11:11:23 +01:00
pancakes
fa7c09c94b
[backend] Fix outgoing alt text federation 2025-01-30 11:11:23 +01:00
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
Laura Hausmann
ac2527aa75
[backend/federation] Transfer blocks on migration (ISH-563) 2025-01-21 21:22:31 +01:00
Laura Hausmann
9e37942e9d
[backend/federation] Improve hashtag handling (ISH-651) 2025-01-12 12:27:34 +01:00
Laura Hausmann
113bd98b0e
[backend/drive] Proxy remote media by default 2025-01-09 12:36:34 +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
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
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
00e157cc7e
[parsing] Switch to MfmSharp 2024-12-06 18:14:00 +01:00
Laura Hausmann
863c9ca9c9
[backend/federation] Improve actor & note validation (ISH-547) 2024-11-20 23:54:32 +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
b6dddd9439
[backend/core] Trim UserPublicKey before inserting into database 2024-11-12 20:57:16 +01: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
e61e3d2fde
[backend/api] Wait for user mention resolution before returning (ISH-567) 2024-10-31 21:02:56 +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
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
Laura Hausmann
f19a414b27
[backend/federation] Refactor UserResolver (ISH-548) 2024-10-24 01:48:09 +02:00
Laura Hausmann
5f5a0c5c0f
[backend/api] Add moderation endpoints (ISH-116) 2024-10-09 19:11:54 +02:00
Laura Hausmann
d62ac94d5e
[backend/core] Fix migrations that move more than 50 followers failing 2024-10-05 23:46:09 +02:00
Laura Hausmann
5cda865202
[backend/core] Fix migrations causing erroneous "You can't follow yourself" log errors 2024-10-05 23:46:09 +02:00
Laura Hausmann
ee6d80aaa2
[backend/core] Move relationships after sending out the migration activity 2024-10-05 23:46:04 +02:00