Commit graph

1371 commits

Author SHA1 Message Date
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
7e1bccadaf [backend/akko-client] Allow 'admin' scope group
Needed for Akkoma-FE to register itself
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
Laura Hausmann
0d7532cb08
[backend/startup] Set content root path to assembly directory 2024-09-13 17:15:36 +02:00
Laura Hausmann
2e42a3ba10
[sln] Prevent unnecessary frontend rebuilds during CI runs
Technically we could've overridden this to false in the parsing and shared projects for the same effect, but it's imo more sensible to opt in to it in the one project where we actually want rebuilds when the architecture changes.
2024-09-13 04:55:46 +02:00
Laura Hausmann
01b2702af5
[backend/masto-client] Fix blockquote handling for some clients 2024-09-13 02:46:44 +02:00
Laura Hausmann
10650c55b8
[backend/core] Fix typo 2024-09-10 02:42:34 +02:00
Laura Hausmann
1204eee4b1
[backend/federation] Improve code quality regarding ASActor.WebfingerAddress 2024-09-09 21:54:12 +02:00
Laura Hausmann
4448f03e8b
[backend/federation] Fix XsdString handling during deserialization 2024-09-09 21:53:51 +02:00
Laura Hausmann
a60a17067a
[backend/federation] Fix JSON-LD compaction for ASActor.WebFingerXsd property 2024-09-09 21:44:32 +02:00
Laura Hausmann
0839c8936f
[backend/federation] Improve layout of the canonical Iceshrimp.NET JSON-LD context
This gets pruned and re-serialized before it gets placed in JSON responses anyway, so we might as well make it easier to read for development purposes.
2024-09-09 21:23:30 +02:00
Laura Hausmann
a500b3964d
[backend/federation] If present, use ASActor.WebfingerAddress for user resolution (FEP-2c59) 2024-09-09 21:14:32 +02:00
Laura Hausmann
21b48789f9
[backend/federation] Expose Webfinger address in rendered ASActor objects for local users (FEP-2c59) 2024-09-09 21:08:31 +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
37707a0712
[backend/mfm] Only use div as root element for public preview in MfmConverter.ToHtmlAsync 2024-09-07 01:57:00 +02:00
Laura Hausmann
63eabbd8d0
[backend/razor] Adjust public preview styling to accommodate libmfm fixes 2024-09-07 01:57:00 +02:00
Laura Hausmann
ec92483b30
[backend/mfm] Prevent MfmConverter.ToHtmlAsync from generating invalid html trees 2024-09-07 01:57:00 +02:00
Laura Hausmann
4ee4fd53c4
[parsing] Add support for MfmQuoteNode 2024-09-07 01:38:23 +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
a22e857ed7
[sln] Update dependency versions 2024-09-06 17:01:43 +02:00
Laura Hausmann
6c52aeaf51
[backend/razor] Fix code block overscroll in public preview 2024-09-05 23:52:29 +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
4f332391bc
[sln] Update dependency versions 2024-08-19 02:28:36 +02:00
Laura Hausmann
9af06c58a9
[backend] Code cleanup 2024-08-18 21:06:54 +02:00
Laura Hausmann
dea43be619
[backend/core] Remove userPrivateKey cache in deliver queue
There's no performance difference between fetching just the private key from the user_keypair table and the previous caching implementation, so there's no point in keeping it in the cache.
2024-08-18 21:06:33 +02:00
Laura Hausmann
7627219322
[backend/federation] Discard note updates with nonsensical update stamp 2024-08-18 19:25:07 +02:00
Laura Hausmann
6d5f7b5f4a
[backend/federation] Support ASLike activities with content instead of _misskey_reaction 2024-08-18 19:19:21 +02:00
Laura Hausmann
2f3408f3d7
[backend/federation] Implement quotes as object links (FEP-e232) 2024-08-18 17:54:44 +02:00
Laura Hausmann
093abe82b8
[backend/core] Also use the NoteService KeyedLocker when it's called from ActivityHandlerService
This fixes sporadic "Unique constraint violation" exceptions on the "IX_note_uri" index.
2024-08-18 00:22:09 +02:00
Laura Hausmann
4be51a0cad
[backend/federation] Fix friendica compatibility 2024-08-17 23:07:58 +02:00
Laura Hausmann
46ba89211f
[backend/razor] Use the same request ID on the error page that's used everywhere else 2024-08-17 22:40:03 +02:00
Laura Hausmann
2a389c0d59
[backend/csproj] Update dotNetRdf version
This dependency fixes a bug that prevents loading of remote LD contexts with application/json content type and no Link header.
2024-08-17 01:47:24 +02:00
Laura Hausmann
19b6b50db5
[backend/core] Canonicalize 'heavy black heart' reactions to 'red heart emoji'
Misskey incorrectly sends these without the emoji version selector, so we have to canonicalize them.
2024-08-17 01:07:52 +02:00
Laura Hausmann
05f6546f48
[backend/core] Improve emoji detection regex, add unit tests 2024-08-16 20:54:24 +02:00
Laura Hausmann
d6c8ecaee5
[backend/razor] Improve public preview lockdown error message 2024-08-16 01:05:41 +02:00
Laura Hausmann
173fbfb835
[backend/asp] Return error responses as HTML/XML/JSON depending on accept header 2024-08-16 01:00:43 +02:00
Laura Hausmann
8889510811
[backend/drive] Fix ImageSharp image scaling for horizontal images 2024-08-14 21:15:33 +02:00
Laura Hausmann
1637064d60
[backend/federation] Deserialize HostMetaResponse as an object when content type is application/xrd+xml 2024-08-14 20:23:53 +02:00
Laura Hausmann
192f3f0312
[backend/federation] Reuse XmlSerializer in WebFingerService 2024-08-14 20:16:28 +02:00
Laura Hausmann
28f89f8a18
[backend/federation] Use XmlReader for deserializing untrusted XML input 2024-08-14 16:24:16 +02:00