Commit graph

214 commits

Author SHA1 Message Date
Laura Hausmann
bf916f7046
[backend/federation] Handle mention parsing edge cases properly (ISH-50) 2024-02-12 21:59:19 +01:00
Laura Hausmann
da99cff582
[backend/federation] Mention resolver failures shouldn't reject an entire request / job process (ISH-50) 2024-02-12 20:12:21 +01:00
Laura Hausmann
75a6fcce21
[backend/database] Properly handle UniqueConstraintException in UserService (ISH-51) 2024-02-12 19:59:22 +01:00
Laura Hausmann
a8f174f02a
[backend/services] Fix multiple threads creating the same user simultaneously, causing postgres duplicate key exceptions 2024-02-12 05:56:28 +01:00
Laura Hausmann
6c955262ee
[backend/masto-client] Set acct field in note mention correctly 2024-02-12 05:31:39 +01:00
Laura Hausmann
158a4e05ad
[backend/federation] Send mention activities to the user inbox
Context: some AP implementations like Akkoma ignore activities sent to the shared inbox if they're not expecting them
2024-02-12 05:27:30 +01:00
Laura Hausmann
20b23fee46
[backend/federation] Also deliver non-DM activities to mentioned users 2024-02-12 05:21:09 +01:00
Laura Hausmann
a1fbe6f9b5
[backend/federation] Enforce note visibility checks in AP controller 2024-02-12 05:09:06 +01:00
Laura Hausmann
c5d773e46a
[backend/federation] Deliver activities to mentioned users 2024-02-12 05:05:09 +01:00
Laura Hausmann
1d090c8400
[backend/federation] Only deliver DMs to recipients 2024-02-12 05:05:09 +01:00
Laura Hausmann
16d0199506
[backend/federation] Handle outgoing mentions correctly (ISH-46) 2024-02-12 05:05:09 +01:00
Laura Hausmann
e6079da2ab
[backend/masto-client] Add user follower/following endpoints (ISH-44) 2024-02-12 03:44:54 +01:00
Laura Hausmann
8745f72ea7
[backend/masto-client] Implement status context endpoint & map database functions (ISH-43) 2024-02-12 02:29:03 +01:00
Laura Hausmann
97df7ea5e6
[backend] Send CORS headers for WellKnownController and NodeInfoController 2024-02-11 20:37:34 +01:00
Laura Hausmann
924153c809
[backend] Set CORS headers for all Mastodon controllers & DriveController (ISH-40, ISH-41) 2024-02-11 19:35:42 +01:00
Laura Hausmann
67d1d776c8
[backend/federation] Basic mentions handling (ISH-38)
This implementation adds handling of incoming mentions, including rewriting non-canonical mentions of split domain users into their canonical form when inserting notes into the database.
2024-02-11 18:50:28 +01:00
Laura Hausmann
235ec7457e
[backend/database] Fix UsernameContainsCaseInsensitive Projectable 2024-02-10 23:54:35 +01:00
Laura Hausmann
81e8becef1
[backend/services] Improve handling of ObjectStorageService in local storage mode 2024-02-10 23:42:20 +01:00
Laura Hausmann
1130c7b4c1
[backend/services] ObjectStorageService instantiation shouldn't fail if storage mode is set to local 2024-02-10 23:27:32 +01:00
Laura Hausmann
bccf098dc4
[backend/federation] Remove default for ASActor.AlsoKnownAs 2024-02-10 20:10:13 +01:00
Laura Hausmann
8250ef58d3
[backend/drive] Restrict non-browser-safe MIME types to application/octet-stream (ISH-36) 2024-02-10 17:21:22 +01:00
Laura Hausmann
2eec7f75e3
[backend/logger] Fix stack traces being written in a single line 2024-02-10 17:08:30 +01:00
Laura Hausmann
9680921711
[backend/database] Fixup User.alsoKnownAs 2024-02-10 16:25:16 +01:00
Laura Hausmann
33f54f94bd
[backend/services] Include user profile in UserService.GetUserFromQueryAsync 2024-02-09 23:30:03 +01:00
Laura Hausmann
920997ec41
[backend/federation] Avatar & banner support (ISH-8) 2024-02-09 23:22:46 +01:00
Laura Hausmann
058a84db19
[backend/database] Fix User.NeedsUpdate check 2024-02-09 21:36:59 +01:00
Laura Hausmann
5fc024febc
[backend/federation] Implement remote user updates (ISH-28) 2024-02-09 21:23:42 +01:00
Laura Hausmann
25552ee5da
[backend/federation] Add UserProfile in CreateUserAsync (ISH-29) 2024-02-09 21:23:42 +01:00
Laura Hausmann
8f948ab130
[backend/drive] Implement basic drive support (ISH-9) 2024-02-09 19:41:46 +01:00
Laura Hausmann
a77fe98173
[backend/services] Properly handle non open registration in UserService 2024-02-09 18:37:51 +01:00
Laura Hausmann
66c6f5be6f
[backend/services] Add object storage service (ISH-10) 2024-02-09 17:28:02 +01:00
Laura Hausmann
0a2b8f53eb
[backend/database] Increment user note counter on local create as well 2024-02-09 15:02:09 +01:00
Laura Hausmann
d566875f54
[backend/database] Add database maintenance service with functions to recompute note & user counters (ISH-21) 2024-02-09 14:58:00 +01:00
Laura Hausmann
78b69c180c
[backend/database] Update follower/following counts on follow/unfollow/accept (ISH-17) 2024-02-09 14:11:55 +01:00
Laura Hausmann
02e003afa3
[backend/federation] Resolve incoming activity objects (ISH-20, ISH-12) 2024-02-09 13:28:07 +01:00
Laura Hausmann
19d6251a2a
[backend] Cleanup unused service references 2024-02-09 13:23:31 +01:00
Laura Hausmann
dde377f41d
[backend] Code cleanup: remove unnecessary using directives 2024-02-09 12:09:03 +01:00
Laura Hausmann
a4f182fc27
[backend/federation] Make ASObject inherit from ASIdObject (ISH-22) 2024-02-09 12:08:05 +01:00
Laura Hausmann
eb7f160b23
[backend/federation] Handle note delete activities (ISH-12) 2024-02-09 11:51:45 +01:00
Laura Hausmann
2c46e55a6a
[backend/federation] Increment user note count on note create 2024-02-09 11:38:06 +01:00
Laura Hausmann
843e3e3de2
[backend/federation] Make ProcessNoteAsync return note if it already exists 2024-02-09 11:12:34 +01:00
Laura Hausmann
fe871bf130
[backend/federation] Handle activities based on derived activity type instead of their type property 2024-02-09 10:50:42 +01:00
Laura Hausmann
23e7630ca6
[backend/startup] Exit with error if database has pending migrations 2024-02-08 01:26:33 +01:00
Laura Hausmann
faee1e01dc
[backend/masto-client] Respect account_id query parameter when searching for notes 2024-02-08 01:13:33 +01:00
Laura Hausmann
ce47377001
[backend/database] Make sure all projectable entity properties aren't mapped 2024-02-08 01:06:23 +01:00
Laura Hausmann
48b78de6a3
[backend/mastodon] Add filter support to GetUserStatusees (ISH-13) 2024-02-08 01:06:23 +01:00
Laura Hausmann
46820efbea
[swagger] Fix regressions 2024-02-08 00:11:54 +01:00
Laura Hausmann
b22d0b98a3
[backend/masto-client] Implement search endpoint (ISH-7) 2024-02-07 23:35:59 +01:00
Laura Hausmann
b5bfc9a080
[backend/webfinger] Catch errors in GetWebFingerTemplateFromHostMetaAsync 2024-02-07 23:11:32 +01:00
Laura Hausmann
c8c09591f9
[backend] Add configurable post character limit (ISH-5) 2024-02-07 20:33:00 +01:00