Commit graph

670 commits

Author SHA1 Message Date
Laura Hausmann
0723f39797
[backend/api] Add mastodon session management endpoints 2025-01-07 08:32:42 +01:00
Laura Hausmann
76a3f94fe8
[backend/masto-client] Fix missing replyInaccessible marker 2025-01-07 08:29:15 +01:00
Laura Hausmann
9de6d15a0c
[backend/masto-client] Move replyInaccessible marker into CW field for notes with CW 2025-01-07 08:14:33 +01:00
Laura Hausmann
1ecd823cbe
[sln] Code cleanup 2025-01-07 06:38:23 +01:00
Kopper
66ee14b2a1 [backend/federation] Hide outbox if public preview is locked down 2025-01-07 02:05:14 +03:00
Kopper
ff320e43c9 [backend/federation] Expose outbox collection 2025-01-07 01:42:18 +03:00
blueb
48717745de [backend] only use MetaService once and include admin contact email as well 2025-01-06 03:18:00 +01:00
blueb
b64a8898aa [backend] use MetaService to provide instance name and description in nodeinfo 2025-01-06 03:18:00 +01:00
Laura Hausmann
0df2d49560
[backend/api] [frontend/pages] Remove specified as an option for default renote visibility 2025-01-05 05:34:20 +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
Lilian
f02c5ac2f1
[backend/api] Fix remote user profiles not loading 2024-12-18 02:07:10 +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
Laura Hausmann
f1f79a3435
[backend/api] Add session management endpoints 2024-12-15 01:03: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
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
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
7dc3143089
[backend/masto-client] Return attachment metadata when available (ISH-657) 2024-12-12 00:34:34 +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
Lilian
bd5db40489
[backend/web] Code reformat 2024-11-26 04:22:44 +01:00
Lilian
a130934787
[frontend/components] Add registration page and update login page style (ISH-472) 2024-11-26 04:21:30 +01:00
pancakes
0c8b79a489
[backend/core] Improve GetReactionsAsync 2024-11-24 05:40:00 +01:00
pancakes
54a899df0b
[backend/core] Add reaction to reaction notification 2024-11-24 05:40:00 +01:00
Kopper
dab3b7ed4c
[backend/federation] Hide private replies from the replies collection 2024-11-23 18:24:11 +01:00
Kopper
36d9a8cc49
[backend/federation] Context collection 2024-11-23 18:20:41 +01:00
Laura Hausmann
135737937c
[backend/api] Allow enrolling existing users into 2FA (ISH-626) 2024-11-23 02:10:35 +01:00
Laura Hausmann
ec6e334266
[backend/api] Add TOTP submission endpoint (ISH-580) 2024-11-21 20:04:21 +01:00
pancakes
09b39a64ea
[backend/api] Add basic instance info endpoint 2024-11-21 18:51:54 +01:00
Laura Hausmann
c0e8a6d680
[backend/streaming] Fix streaming updates not containing html markup if supported 2024-11-20 02:36:32 +01:00
Laura Hausmann
862d477dec
[backend/masto-client] Remove confusing status context logic
This does technically match Mastodon's behavior, but it doesn't match the behavior of iceshrimp-js, or the Iceshrimp.NET web API. It's also very confusing.
2024-11-20 01:56:41 +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