Laura Hausmann
d5a8d57be2
[make] Fix release-artifacts target
2024-09-06 16:35:20 +02:00
Laura Hausmann
aa401bbfda
[backend/sln] Update DotSettings to Rider v2024.2.3
2024-09-05 23:52:48 +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
d91fa30d6b
[docs] Update FEDERATION.md
2024-08-19 03:20:47 +02: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
f23f9bb575
[docs] Add FEDERATION.md (FEP-67ff)
2024-08-18 19:19:39 +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
e342d6f010
[backend/asp] Improve XML error responses
2024-08-16 01:34:43 +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
Laura Hausmann
91a7b2554f
[backend/logging] Add LOG_TIMESTAMPS environment variable
2024-08-14 04:40:55 +02:00
Laura Hausmann
fbebc91983
[backend/logging] Allow colorful systemd output
...
Since journalctl strips them by default, there's no reason not to include them for compatibility reasons. This change also simplifies the custom logger code greatly.
2024-08-14 04:25:11 +02: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
c3eacb34c2
[backend/federation] Add support for hubzilla's hashtag formatting
...
A bit strange but here we are
2024-08-14 02:01:56 +02:00
Laura Hausmann
14720808db
[backend/federation] Add support for deserializing xrd+xml WebFinger responses (ISH-456)
...
This fixes federation with Hubzilla.
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
b69f92dbdc
[backend/core] Stricter local user username validation
2024-08-14 00:40:58 +02:00
Laura Hausmann
d786d8976d
[backend/federation] Add manuallyApprovesFollowers to as-extensions
2024-08-14 00:20:52 +02:00
Laura Hausmann
dbed1123aa
[backend/federation] Improve webfinger response reuse in UserResolver (ISH-364)
2024-08-14 00:00:35 +02:00
Laura Hausmann
acbedd3bae
[backend/federation] Support WebFinger reverse discovery (ISH-364)
...
This resolves federation issues with old versions of pixelfed, as well as various AP implementations that are not widely deployed.
2024-08-13 23:58:46 +02:00
Laura Hausmann
2506e42733
[backend/core] Remove no-duplicate request/job id from log messages
2024-08-13 20:57:06 +02:00
Laura Hausmann
dba3fc1a6a
[backend/core] Add request/job id to logs, improve log formatting
2024-08-13 20:47:06 +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
649fc267c8
[backend/core] Fix typo
2024-08-13 04:50:18 +02:00
Laura Hausmann
be9a0f95fa
[backend/federation] Fixup preloaded mastodon JSON-LD context
...
Credits to puck for spotting this one.
2024-08-13 03:15:28 +02:00
Laura Hausmann
3132b6b8c9
[backend/core] Fix note thread mute handling inconsistencies
2024-08-13 03:11:09 +02:00
Laura Hausmann
c556d6b701
[backend/configuration] Update comments
2024-08-13 00:11:43 +02:00
Laura Hausmann
2181d01e54
[backend/federation] Reject activities by suspended users
2024-08-13 00:02:21 +02:00
Laura Hausmann
a61ca299b6
Update README.md
2024-08-12 23:35:25 +02:00
Laura Hausmann
097141a057
[backend/federation] Improve GTS compatibility fixes
2024-08-12 19:25:38 +02:00