Commit graph

574 commits

Author SHA1 Message Date
Laura Hausmann
9f2cb34d0e
[backend/razor] Add basic user page public preview, handle user id redirects correctly 2024-09-16 00:53:23 +02:00
Laura Hausmann
afe62b0aab
[sln] Code cleanup 2024-09-13 21:44:31 +02:00
Laura Hausmann
3ec05df62f
[backend/masto-client] Don't report git revision to mastodon clients 2024-09-13 18:20:31 +02:00
Kopper
6d8c686401 [backend/akko-client] Expose quote notifications as mention notifications
This is a bit difficult of a situation as Akkoma does not have quote
notifications. This is the closest thing we have and the frontend seems
to handle it well.
2024-09-13 17:30:05 +02:00
Kopper
7cd5f0776b [backend/akko-client] Cleanup and reformat 2024-09-13 17:30:05 +02:00
Kopper
0cb2e9e9f3 [backend/akko-client] Expose accurate upload limits 2024-09-13 17:30:05 +02:00
Kopper
30af407865 [backend/akko-client] Revert hacky workaround on /api/v1/pleroma/emoji
I've decided to patch the frontend itself to accept this correctly.
2024-09-13 17:30:05 +02:00
Kopper
4f605a503a [backend/akko-client] Expose features on nodeinfo as well
Akkoma-FE seems to use this one for it's own feature detection
2024-09-13 17:30:05 +02:00
Kopper
7518cf7422 [backend/akko-client] Handle websocket ping 2024-09-13 17:30:05 +02:00
Kopper
9348210ced [backend/akko-client] List supported features 2024-09-13 17:30:05 +02:00
Kopper
e01e241fc7 [backend/akko-client] Un-break Moshidon 2024-09-13 17:30:05 +02:00
Kopper
bfa69933c5 [backend/akko-client] Fix reaction notifications for custom emoji 2024-09-13 17:30:05 +02:00
Kopper
bcb6382c73 [backend/akko-client] Fix context of boosts 2024-09-13 17:30:05 +02:00
Kopper
16c0cba1f4 [backend/akko-client] Attempt to fix reaction account IDs 2024-09-13 17:30:05 +02:00
Kopper
832e3ce8c9 [backend/akko-client] Allow marking notifications as read 2024-09-13 17:30:05 +02:00
Kopper
18cd712132 [backend/akko-client] Attempt to fix emoji picker 2024-09-13 17:30:05 +02:00
Kopper
9d6d892091 [backend/akko-client] Fix notifications, including emoji reaction notifications 2024-09-13 17:30:05 +02:00
Kopper
30cf0db0fb [backend/akko-client] Un-break Enafore 2024-09-13 17:30:05 +02:00
Kopper
44864a2274 [backend/akko-client] Try to implement GET v1/pleroma/emoji
Akkoma-FE is doing something horrible here, I do not think this is
fixable without changing the FE itself.
2024-09-13 17:30:05 +02:00
Kopper
fefe599d32 [backend/akko-client] Add reaction endpoints 2024-09-13 17:30:05 +02:00
Kopper
909af700c8 [backend/akko-client] Instruct Akkoma-FE to use the streaming API 2024-09-13 17:30:05 +02:00
Kopper
0e7e2698e0 [backend/akko-client] Expose VAPID public key 2024-09-13 17:30:05 +02:00
Kopper
3fb8fea316 [backend/akko-client] Expose conversation ID 2024-09-13 17:30:05 +02:00
Kopper
410519dafa [backend/akko-client] Stub out preview flag to not accidentally spam people 2024-09-13 17:30:05 +02:00
Kopper
26ec42bc62 [backend/akko-client] Put Pleroma quirks behind a feature flag 2024-09-13 17:30:05 +02:00
Kopper
e3a41c6190 [backend/akko-client] Expose required pleroma.emoji_reactions field 2024-09-13 17:30:05 +02:00
Kopper
326ee6d4e2 [backend/akko-client] Instruct Akkoma-FE to log in via oauth 2024-09-13 17:30:05 +02:00
Kopper
1bac67cd06 [backend/akko-client] Stub out just enough to allow Akkoma-FE to start 2024-09-13 17:30:05 +02:00
Kopper
1e34d38c75 [backend/masto-client] Implement support for reaction notifications
Not upstream viable because the mastoapi reaction notifications do not
let you see which reaction that notification is about...
2024-09-13 17:30:05 +02:00
Kopper
2523f8a4d1 [backend/federation] Expose replies collection
Exposes the replies collection for local notes, allowing remote
instances to backfill replies when fetching our posts.
2024-09-09 19:20:10 +02:00
Laura Hausmann
2fa0874d3c
[backend/masto-client] Fix filter keyword edits failing (ISH-432) 2024-09-06 23:29:09 +02:00
Laura Hausmann
e88878cf3e
[backend/api] Add endpoint to get drive files by their hash (ISH-459) 2024-09-06 17:24:00 +02:00
Laura Hausmann
b50121d0a1
[backend/api-shared] Fix upload of files larger than 28MB. 2024-09-05 22:33:55 +02:00
Kopper
89efdff3c0 [backend/masto-client] Signal to clients that we allow both polls and media in the same post
While perusing through Glitch's PRs, I came across the patch from Chuckya
that lifts this restriction[0].

The patch exposes this restriction has been lifted with an extra flag in
the /api/v1/instance endpoint. Since Iceshrimp.NET does not have such a
restriction, signal the same flag so clients can adjust themselves
accordingly.

Clients don't seem to be aware of this flag just yet so this likely
won't have any immediate effects.

[0]: https://github.com/glitch-soc/mastodon/pull/2524
2024-08-31 21:48:34 +03:00
Laura Hausmann
8267bc06de
[backend] Code cleanup 2024-08-14 03:53:15 +02:00
Laura Hausmann
4f98fa8461
[backend/federation] Fix possibly unbounded UserResolver recursion 2024-08-14 03:44:14 +02:00
Laura Hausmann
92f957a536
[backend/federation] Use content negotiation for host-meta responses 2024-08-14 03:23:25 +02:00
Laura Hausmann
7b550fe81b
[backend/federation] Return user aliases in webfinger response 2024-08-14 02:01:56 +02:00
Laura Hausmann
b37f02846b
[backend/federation] Add support for returning xrd+xml WebFinger responses for local users 2024-08-14 02:01:56 +02:00
Laura Hausmann
c86b2e192a
[backend/federation] Improve WebFinger host-meta handling 2024-08-14 01:41:29 +02:00
Laura Hausmann
86a5da5418
[backend/streaming] Switch to WriteLockingHashSet for cached streaming connection data 2024-08-13 17:39:59 +02:00
Laura Hausmann
3132b6b8c9
[backend/core] Fix note thread mute handling inconsistencies 2024-08-13 03:11:09 +02:00
Laura Hausmann
a58605f4be
[backend/drive] Fix file retrieval exception 2024-08-12 18:33:57 +02:00
Laura Hausmann
c07bb35548
[backend/drive] Refactor ImageProcessor into a modular system
This commit lays the groundwork for a user-configurable image processing pipeline. It has exactly the same behavior as the old ImageProcessor, just modular & compartmentalized. It also adds support for AVIF & JXL encoding, though no code paths call it just yet.
2024-08-12 03:21:03 +02:00
Laura Hausmann
1d02ad1073
[backend] Code cleanup 2024-07-22 05:59:45 +02:00
Laura Hausmann
c7d0280eb6
[backend] Use SemaphorePlus instead of SemaphoreSlim 2024-07-22 05:59:41 +02:00
Laura Hausmann
0e9a15e9dd
[backend/masto-client] Trim ':' character from custom emoji names
Some clients don't expect this and will duplicate the leading/trailing colon.
2024-07-14 22:34:34 +02:00
Laura Hausmann
1e8f1cb964
[backend/database] Migrate references to Note.ThreadId ?? Note.Id to Note.ThreadIdOrId 2024-07-14 22:06:29 +02:00
Laura Hausmann
6b6bb53668
[backend/masto-client] Add note mute/unmute endpoints (ISH-417) 2024-07-14 22:06:29 +02:00
Laura Hausmann
f45b020699
[backend/masto-api] Fix hideInaccessible not being respected in streaming connection updates 2024-07-14 20:41:05 +02:00