Laura Hausmann
156735f40b
[backend/federation] Refactor LdHelpers, move contexts to non-nested directory, load contexts relative to assembly location instead of working directory
2024-04-19 23:44:01 +02:00
Laura Hausmann
28414a17fc
[backend/federation] Don't run webfinger validation passes when host matches with the previous step
...
Since queries against resources on the same domain would end up querying the exact same endpoint, these checks are redundant and do not add any security benefits.
2024-04-19 01:37:30 +02:00
Laura Hausmann
f185a061dc
[backend/federation] Improve local instance detection in WebFingerService
2024-04-19 01:21:12 +02:00
Laura Hausmann
e23fc63906
[backend/federation] Fall back to AP URI host on uri mismatch
2024-04-19 01:08:59 +02:00
Laura Hausmann
ebbec76cfe
[backend/federation] Resolve split domain user hosts exactly once (ISH-201)
...
This is necessary, since while the current version is handling split domain instances correctly, previous versions (for users who migrated from iceshrimp-js) may have not done so.
Since account domains never change, we only have to do this once.
2024-04-19 00:55:30 +02:00
Laura Hausmann
c38ff71791
[backend/database] Move emoji url generation to the Emoji entity
2024-04-18 20:46:46 +02:00
Laura Hausmann
333611f65e
[backend/federation] Send remote reacts as anonymous emoji objects, set correct id for local emoji reacts
2024-04-18 20:39:11 +02:00
Laura Hausmann
7529ebea72
[backend/federation] Don't register misskey reactions as likes
2024-04-17 00:09:46 +02:00
Laura Hausmann
5ba2e47426
[backend/core] Don't log AuthFetchExceptions in GetUpdatedUser
2024-04-16 18:38:48 +02:00
Laura Hausmann
08ced32e4d
[backend/federation] Enforce VerifiedFetch in ResolveNoteAsync instead of in calling methods (ISH-262)
2024-04-16 18:15:22 +02:00
Laura Hausmann
469f02c5ac
[backend/federation] Set VerifiedFetch in FetchNoteAsync (ISH-262)
2024-04-16 18:15:22 +02:00
Laura Hausmann
c5bd380344
[backend] Improved debug logging (ISH-238)
2024-04-10 00:15:46 +02:00
Laura Hausmann
969efe6d73
[backend/federation] Fix redirect handling in ActivityFetcherService
2024-04-06 21:46:07 +02:00
Laura Hausmann
bde33e09bf
[backend/federation] Fix FetchActivityInternal exception
...
Newtonsoft.Json is sadly not compatible with pattern matching. We can revert this once we're using System.Text.Json for JSON-LD instead.
2024-03-31 18:34:22 +02:00
Laura Hausmann
b4152b7c3d
[backend/core] Stricter validation of activity identifiers (ISH-233)
2024-03-30 13:12:14 +01:00
Laura Hausmann
39de646a88
[backend] Fix null dereference
2024-03-29 16:16:25 +01:00
Laura Hausmann
ddfa108677
[backend/federation] Log type of unsupported undo activities
2024-03-29 16:11:40 +01:00
Laura Hausmann
a3b543c37a
[backend/events] Add events for user follow/mute/block (& their respective opposites) (ISH-218, ISH-219)
2024-03-26 18:12:23 +01:00
Laura Hausmann
ed79c23be6
[backend/core] Correctly handle redirects for signed requests (ISH-228)
2024-03-25 18:48:15 +01:00
Laura Hausmann
8ff938639b
[backend/federation] Improve ASUpdate handling (ISH-223)
...
This fixes federation of note updates with some AP implementations
2024-03-25 13:51:50 +01:00
Laura Hausmann
61071ab51b
[backend/federation] Fix typo in like id generation
2024-03-25 12:42:49 +01:00
Laura Hausmann
9bd421c3a0
[backend] Replace old MfmParser with the new F# implementation (ISH-112)
2024-03-24 23:10:39 +01:00
Laura Hausmann
9698e3d36d
[backend/core] Replace redis-based queue system with a postgres-based one (ISH-212)
2024-03-24 00:17:28 +01:00
Laura Hausmann
c6300d1c96
[backend/core] Replace IDistributedCache with postgres k/v cache (ISH-212)
2024-03-23 19:10:27 +01:00
Laura Hausmann
a408fa247a
[backend] Code cleanup
2024-03-17 13:36:08 +01:00
Laura Hausmann
3ab36f7d70
[backend/core] Enforce blocks & mutes everywhere (ISH-189)
2024-03-14 17:02:29 +01:00
Laura Hausmann
3a866d04dd
[backend/core] Federate blocks (ISH-169)
2024-03-14 15:58:13 +01:00
Laura Hausmann
921f6a19b3
[backend/federation] Separate authorized fetch & inbox validation (ISH-127)
...
This fixes user creates & sporadic errors resulting from creating users during validation of their deletion
2024-03-13 00:21:51 +01:00
Laura Hausmann
0833cf49d2
[backend/federation] Fall back to JRD during host-meta step of the WebFinger process (ISH-162)
2024-03-12 05:45:15 +01:00
Laura Hausmann
a8d68ac1e6
[backend/core] Switch to ConcurrentDictionary for ContextCache, Separate ContextCache from PreloadedContexts, limit ContextCache to 20 entries (ISH-166)
2024-03-11 04:28:03 +01:00
Laura Hausmann
fe5e02e791
[backend/federation] Make sure AP.NoteRenderer.RenderLite compacts to a string and not an object
2024-03-11 04:00:40 +01:00
Laura Hausmann
4d21aa1670
[backend/federation] Fix remote custom emoji reactions (ISH-154)
2024-03-11 04:00:40 +01:00
Laura Hausmann
58a514394c
[backend/federation] Support Misskey-style emoji reactions (ISH-148)
2024-03-11 02:54:58 +01:00
Laura Hausmann
794abcd727
[backend/core] Don't run webfinger for local note urls (ISH-159)
2024-03-11 02:11:25 +01:00
Laura Hausmann
95ac792ad9
[backend/federation] Make use of RemoveUnusedInlineContextProperties dotNetRdf option
2024-03-11 00:47:01 +01:00
Laura Hausmann
7c0e6dfea1
[backend/federation] Use dotNetRdf ForceArray option instead of patching the AS context (ISH-153)
2024-03-10 23:47:17 +01:00
Laura Hausmann
46140b3ace
[backend/federation] Fix federation with akkoma (ISH-149)
2024-03-10 23:42:50 +01:00
Laura Hausmann
30818985fb
[backend/federation] Fix custom emoji reaction federation with Akkoma (ISH-153)
2024-03-09 02:35:36 +01:00
Laura Hausmann
52a7f90697
[backend/federation] Add reactions support (ISH-69)
2024-03-09 01:16:57 +01:00
Laura Hausmann
657bc43761
[backend/core] Finish the polls implementation (ISH-130, ISH-131)
2024-03-07 03:34:52 +01:00
Laura Hausmann
9de208b49b
[backend/federation] Initial poll support (ISH-62)
2024-03-06 00:55:53 +01:00
Laura Hausmann
8c20be0d95
[backend/federation] Improve parsing of ASCollection & ASOrderedCollection
2024-03-04 23:53:01 +01:00
Laura Hausmann
92d229ad63
[backend/federation] Properly handle hashtags in notes & user profiles (ISH-114, ISH-125)
2024-03-04 21:54:46 +01:00
Laura Hausmann
74424c4fb3
[backend] Code cleanup
2024-03-04 05:07:18 +01:00
Laura Hausmann
4c4488d522
[backend/federation] Federate pinned notes (ISH-111)
2024-03-04 05:03:32 +01:00
Laura Hausmann
b979605470
[backend/database] Remove HTML cache tables
2024-03-01 21:44:06 +01:00
Laura Hausmann
ab5258237d
[backend/database] Fix DatabaseContext.ReloadEntityRecursivelyAsync
2024-03-01 19:46:05 +01:00
Laura Hausmann
18bcba7e30
[backend/core] Fix entity reloading from database
2024-03-01 18:24:01 +01:00
Laura Hausmann
363a9f23a9
[backend/federation] Fix AS/JSON-LD handling regression (ISH-67)
2024-03-01 03:58:05 +01:00
Laura Hausmann
38a67b17fe
[backend/federation] Fix handling of incorrectly namespaced @value type ASCollections (ISH-67)
2024-03-01 03:45:03 +01:00