Commit graph

378 commits

Author SHA1 Message Date
Laura Hausmann
e6079da2ab
[backend/masto-client] Add user follower/following endpoints (ISH-44) 2024-02-12 03:44:54 +01:00
Laura Hausmann
c1650da632
[backend/masto-client] Don't forbid requesting relationship status with yourself
Some Mastodon clients rely on this (for some reason)
2024-02-12 03:18:01 +01:00
Laura Hausmann
f30e7f4ac3
[backend/masto-client] Add basic /v1/instance endpoint (ISH-6) 2024-02-12 03:16:03 +01:00
Laura Hausmann
e61736b588
[backend/masto-client] Apply limit to note ancestors/descendants queries 2024-02-12 02:36:44 +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
059f059f36
[backend] Move identicon generation to ImageSharp (ISH-42)
This saves ~9MB of disk space over MAUI/SkiaSharp.
2024-02-11 23:56:53 +01:00
Laura Hausmann
70292d3458
[backend/masto-client] Fall back to identicon if user has no avatar 2024-02-11 23:33:49 +01:00
Laura Hausmann
5db0118cc8
[backend] Add identicon endpoint (ISH-42) 2024-02-11 23:33:49 +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
8380bffa29
[backend/masto-client] Batch account rendering in NoteRenderer 2024-02-11 18:50:28 +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
b87e524b4f
[backend/drive] Add support for serving files using the /files route (ISH-31) 2024-02-10 17:05:04 +01:00
Laura Hausmann
9680921711
[backend/database] Fixup User.alsoKnownAs 2024-02-10 16:25:16 +01:00
Laura Hausmann
357f11d513
[backend/build] Set SatelliteResourceLanguages to none 2024-02-10 00:07:42 +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
6ed944156f
[backend/masto-client] Fail early on PostNote 2024-02-07 21:20:57 +01:00
Laura Hausmann
13a05337cb
[backend/masto-client] Fix return types of GetNote and PostNote 2024-02-07 20:52:50 +01:00
Laura Hausmann
eaabe4896e
[backend/masto-client] Remove Mastodon prefix from MastodonApiControllers
This is no longer necessary due to namespacing changes
2024-02-07 20:49:52 +01:00