Commit graph

786 commits

Author SHA1 Message Date
pancakes
b962fafdf8
[backend/api] Move rule create/update functionality to instance service 2025-01-30 11:09:26 +01:00
pancakes
d3b8df77ce
[backend/api] Change rule management auth from role:moderator to role:admin 2025-01-30 11:09:26 +01:00
pancakes
464008b2e1
[backend/masto-client] Add rules endpoint and include rules in InstanceV1 and Instance2 2025-01-30 11:09:26 +01:00
pancakes
76bb3f1c95
[backend/api] Add instance rules endpoints 2025-01-30 11:09:26 +01:00
Laura Hausmann
013ed7380f
[backend/masto-client] Don't require authentication for /accounts/{id}/statuses (ISH-688) 2025-01-21 21:31:38 +01:00
Laura Hausmann
f32cd81ada
[backend/masto-client] Reformat AccountController 2025-01-21 21:30:59 +01:00
Kopper
02d4b35ab1
[backend/masto-client] Limit batch endpoints 2025-01-20 18:21:21 +01:00
Kopper
7e3320e3b1
[backend/masto-client] Populate Status.tags 2025-01-20 18:21:20 +01:00
Kopper
ad00ddd14e
[backend/masto-client] Implement /api/v1/statuses (View multiple statuses) 2025-01-20 18:21:20 +01:00
Kopper
f6957ba4de
[backend/masto-client] Implement /api/v1/accounts (Get multiple accounts) 2025-01-20 18:21:20 +01:00
pancakes
b6d8f9c00b
[backend/api] Add note length limit to instance response 2025-01-11 15:33:15 +01:00
pancakes
f8ec2fd163
[backend/api] Fix UserProfileResponse.Url 2025-01-11 05:16:00 +01:00
Laura Hausmann
5d7020faeb
[backend/drive] Don't proxy requests for local emoji 2025-01-10 10:24:54 +01:00
Laura Hausmann
af750a010d
[backend/drive] Improve handling of configurations with disabled media proxy 2025-01-10 06:23:54 +01:00
Laura Hausmann
113bd98b0e
[backend/drive] Proxy remote media by default 2025-01-09 12:36:34 +01:00
Laura Hausmann
553c0cf7ab
[backend/api] Allow naming single emojis during upload (ISH-602) 2025-01-08 14:42:26 +01:00
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