Commit graph

1992 commits

Author SHA1 Message Date
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
Laura Hausmann
8e0b5b1d2e
[sln] Update MfmSharp version 2024-12-10 04:21:03 +01:00
Laura Hausmann
c7d88d6417
[sln] Update MfmSharp version 2024-12-10 04:18:05 +01:00
Laura Hausmann
63e7281bb3
[sln] Update dependencies 2024-12-07 22:31:52 +01:00
Laura Hausmann
d4a24be837
[backend/libmfm] Fix HTML rendering of link nodes 2024-12-07 20:27:36 +01:00
Laura Hausmann
5a6fbcef13
[backend/libmfm] Fix HTML rendering when text formatting is not supported 2024-12-07 20:20:45 +01:00
Laura Hausmann
b160a97f0e
[backend/core] Fix ArrayTypeMismatchException in APMentionsResolver 2024-12-07 04:41:00 +01:00
Laura Hausmann
5dee8bc783
[parsing] Bump MfmSharp version 2024-12-07 04:41:00 +01:00
Laura Hausmann
443f0682d2
[backend/core] Fix out of bounds array read in APMentionsResolver 2024-12-06 19:07:17 +01:00
Laura Hausmann
55943bacc6
[backend/streaming] Echo back specified WebSocket protocol for mastodon streaming connections when set (ISH-635) 2024-12-06 18:55:37 +01:00
Laura Hausmann
00e157cc7e
[parsing] Switch to MfmSharp 2024-12-06 18:14:00 +01:00
Laura Hausmann
7b61865287
[backend/libmfm] Fix HTML markup being dropped for federation & public preview requests 2024-12-03 23:33:47 +01:00