Commit graph

1803 commits

Author SHA1 Message Date
Laura Hausmann
45b4792cf8
[backend/libmfm] Remove extraneous line breaks after quote blocks 2025-01-05 04:54:07 +01:00
Laura Hausmann
4d904bc673
[backend/federation] Fix compatibility with AP servers that send <br> without a trailing newline character 2025-01-05 04:32:50 +01:00
Laura Hausmann
729e32594b
[backend/federation] Set MkContent to empty string when quote without text is rendered 2025-01-05 04:26:31 +01:00
Laura Hausmann
4ed6e305b6
[sln] Update MfmSharp version 2025-01-05 04:03:48 +01:00
Laura Hausmann
0a680c1931
[sln] Update MfmSharp version 2025-01-05 03:51:56 +01:00
pancakes
2af4d7df7e
[backend/api] Change emoji management auth from role:admin to role:moderator 2025-01-02 22:43:35 +01:00
Laura Hausmann
9a151be99d
[backend/api] Don't apply default request size limit to the batch emoji import endpoint 2025-01-02 21:46:35 +01:00
Laura Hausmann
b70de11da8
[backend/masto-client] Deduplicate filter matches by filter id 2025-01-01 02:12:01 +01:00
Laura Hausmann
4e06d416a9
[backend/api] Resolve notes as authenticated user when doing AP lookups, don't redirect to inaccessible notes 2024-12-20 20:54:40 +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
fbb9165bec
[backend/libmfm] Deserialize HTML tags to MFM tag nodes instead of symbol nodes 2024-12-19 21:05:30 +01:00
Laura Hausmann
b15cc7c3e1
[backend/core] Fix runtime ArrayTypeMismatchException in UserProfileMentionsResolver 2024-12-19 20:51:17 +01:00
Lilian
f02c5ac2f1
[backend/api] Fix remote user profiles not loading 2024-12-18 02:07:10 +01:00
Laura Hausmann
6be761b2d3
[backend/federation] Fix account migration with remote instances that require alsoKnownAs to be an array 2024-12-18 01:59:47 +01:00
pancakes
b1d64b5866
[backend/api] Remove "Async" from function names 2024-12-17 19:38:52 +01:00
pancakes
0497b35ec3
Code cleanup 2024-12-17 19:38:52 +01:00
pancakes
3647d87ef6
[backend/api] Merge UpdateDisplayName into UpdateProfile 2024-12-17 19:38:52 +01:00
pancakes
dad0fabc5b
[backend/api] Add IsBot, IsCat and SpeakAsCat profile settings 2024-12-17 19:38:51 +01:00
pancakes
482172b8e9
[backend/api] Return empty string instead of null when getting avatar, banner, or display name 2024-12-17 19:38:50 +01:00
pancakes
458bb301b3
[backend/api] Add endpoints to get avatar and banner URL 2024-12-17 19:38:50 +01:00
pancakes
6605997e80
[backend/api] Add endpoints for getting and updating display name 2024-12-17 19:38:50 +01:00
pancakes
d35e5a7e3f
[backend/api] Add endpoints for updating and deleting user banner 2024-12-17 19:38:50 +01:00
pancakes
94af2fe9ac
[backend/api] Add endpoints for updating and deleting user avatar 2024-12-17 19:38:50 +01:00
pancakes
bc93246cea
[backend/api] Include Public URL in UserProfileResponse 2024-12-17 19:37:59 +01:00
pancakes
47f8d94f88
[backend/razor] Revert Instance config and use snapshot of Security config 2024-12-17 19:32:59 +01:00
pancakes
ca567e4aba
[backend/razor] Show register link in Public Preview footer if registrations aren't closed 2024-12-17 19:32:58 +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
f1f79a3435
[backend/api] Add session management endpoints 2024-12-15 01:03:31 +01:00
Laura Hausmann
3b89e0be9c
[sln] Bump MfmSharp version 2024-12-15 00:44:22 +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
2453e0f673
[backend/database] Normalize note text & user bio line endings 2024-12-15 00:22:31 +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
Laura Hausmann
a6b5b4c69f
[backend/api] Return correct auth status for tokens in "2fa pending" state 2024-12-14 22:11:03 +01:00
Laura Hausmann
eab83fb500
[backend/api] Add logout endpoint (ISH-664) 2024-12-14 22:11:03 +01:00
Kopper
71cfa9e501
[backend/razor] Render inline media 2024-12-13 22:19:31 +01:00
Kopper
149fae3363
[backend] address review 2024-12-13 22:19:31 +01:00
Kopper
1e1364e2bb
[backend/masto-client] Add feature flag for inline media 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
3edda1e70e
[backend/api] Document 200 response for /users/{id}/unfollow (ISH-662) 2024-12-13 22:04:49 +01:00
Laura Hausmann
f013520b84
[backend] Remove unused import 2024-12-12 00:41:24 +01:00
Laura Hausmann
df6a3a95ac
[sln] Update dependencies 2024-12-12 00:41:16 +01:00
Laura Hausmann
16235a901f
[sln] Update MfmSharp version 2024-12-12 00:40:03 +01:00
Laura Hausmann
7dc3143089
[backend/masto-client] Return attachment metadata when available (ISH-657) 2024-12-12 00:34:34 +01:00
Laura Hausmann
911480afcb
[backend] Remove unused imports 2024-12-11 19:58:52 +01:00
Laura Hausmann
4e2358ef2a
[sln] Update MfmSharp version 2024-12-11 00:04:38 +01:00