Commit graph

383 commits

Author SHA1 Message Date
Laura Hausmann
afe62b0aab
[sln] Code cleanup 2024-09-13 21:44:31 +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
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
1bac67cd06 [backend/akko-client] Stub out just enough to allow Akkoma-FE to start 2024-09-13 17:30:05 +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
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
173fbfb835
[backend/asp] Return error responses as HTML/XML/JSON depending on accept header 2024-08-16 01:00:43 +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
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
b37f02846b
[backend/federation] Add support for returning xrd+xml WebFinger responses for local users 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
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
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
2181d01e54
[backend/federation] Reject activities by suspended users 2024-08-13 00:02:21 +02:00
Laura Hausmann
097141a057
[backend/federation] Improve GTS compatibility fixes 2024-08-12 19:25:38 +02:00
Laura Hausmann
7484db23c5
[backend/federation] Fix GTS compatibility
Another day, another fedi software referencing an invalid/nonexistent context by link.
2024-08-12 19:10:05 +02:00
Laura Hausmann
807a6fc95d
[backend] Refactor dictionary initializers to use the new syntax 2024-08-12 03:21:03 +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
8345f35a5f
[backend/federation] Fix (de-)serialization of unordered ASCollection(Page) objects (ISH-427) 2024-07-22 18:57:15 +02:00
Laura Hausmann
c011253d67
[backend/core] Catch & rethrow HTTP timeout exceptions to shorten unnecessarily long stack traces 2024-07-16 20:53:31 +02:00
Laura Hausmann
751bfe5f8c
[backend/federation] Federate location and birthday profile fields correctly 2024-07-15 15:41:11 +02:00
Laura Hausmann
248543528b
[backend/api] Mark entire note as sensitive when any attachments are marked as such 2024-07-13 01:47:53 +02:00
Laura Hausmann
49f5828a59
[backend] Code cleanup 2024-07-11 17:46:39 +02:00
Laura Hausmann
c67984c411
[backend] Manually reformat difficult-to-read switch expressions that got hard wrapped 2024-07-11 17:46:34 +02:00
Laura Hausmann
d5ce61d901
[backend/core] Update user record with updated lastFetchedAt property in UserResolver.GetUpdatedUser 2024-07-11 02:46:53 +02:00
Laura Hausmann
0f97845b88
[backend/federation] Fix HttpSignature validation on systems using CRLF line endings 2024-07-10 20:16:36 +02:00
Laura Hausmann
91acb8ed9e
[backend/federation] Add edition to nodeinfo response 2024-07-10 18:11:17 +02:00
Laura Hausmann
91b5021e4c
[shared] Refactor assembly version info
Because our frontend assembly now also knows its version, we no longer have to rely on meta tags to pass the version on to the frontend.

Since the HTML skeleton no longer includes version information, the nodeinfo response has been amended with the now-absent properties.
2024-07-09 21:50:06 +02:00
Laura Hausmann
ae7fa0021c
[backend] Convert configuration and preloaded contexts into embedded resources 2024-07-09 15:13:43 +02:00
Laura Hausmann
0776a50cbe
[backend/asp] Refactor controllers
This commit aims to improve readability of MVC controllers & actions. The main change is the switch to custom [ProducesResults] and [ProducesErrors] attributes.
2024-07-06 17:12:22 +02:00
Laura Hausmann
aee7b28e3c
[backend/federation] Fix custom emoji in display name & bio not federating correctly 2024-07-03 21:59:14 +02:00
Laura Hausmann
df3a7bdfe5
[backend] Apply formatting rules 2024-06-29 01:06:19 +02:00
Laura Hausmann
0e6edb9046
[backend/federation] Don't fetch inboxUser from database if inboxUserId is null 2024-06-27 18:01:37 +02:00