Commit graph

220 commits

Author SHA1 Message Date
Laura Hausmann
45d08caa94
[backend/nodeinfo] Return stub instance info instead of todo placeholders 2024-02-13 02:56:32 +01:00
Laura Hausmann
82530d0ff2
[backend/federation] Federate note media attachments (ISH-59) 2024-02-13 02:54:48 +01:00
Laura Hausmann
a1c23a7d29
[backend/masto-client] Add media upload (ISH-58) 2024-02-13 02:46:40 +01:00
Laura Hausmann
5a7ef95ff4
[backend/swagger] Fix swaggergen failing due to missing HttpGet on IdenticonController 2024-02-13 00:59:32 +01:00
Laura Hausmann
ea43728db3
[backend/masto-client] Render note media attachments (ISH-49) 2024-02-13 00:31:37 +01:00
Laura Hausmann
bf916f7046
[backend/federation] Handle mention parsing edge cases properly (ISH-50) 2024-02-12 21:59:19 +01:00
Laura Hausmann
f371503b2f
[backend/masto-api] Don't call .Take on queries without a OrderBy clause 2024-02-12 20:21:34 +01:00
Laura Hausmann
72066a576a
[backend/masto-client] Fix mentions acct in timeline views 2024-02-12 06:25:45 +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
a1fbe6f9b5
[backend/federation] Enforce note visibility checks in AP controller 2024-02-12 05:09:06 +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
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
b87e524b4f
[backend/drive] Add support for serving files using the /files route (ISH-31) 2024-02-10 17:05:04 +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
dde377f41d
[backend] Code cleanup: remove unnecessary using directives 2024-02-09 12:09:03 +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
48b78de6a3
[backend/mastodon] Add filter support to GetUserStatusees (ISH-13) 2024-02-08 01:06:23 +01:00
Laura Hausmann
b22d0b98a3
[backend/masto-client] Implement search endpoint (ISH-7) 2024-02-07 23:35:59 +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
Laura Hausmann
06e4a0ac9d
[backend/masto-client] Don't silently drop invalid reply targets 2024-02-07 20:47:25 +01:00
Laura Hausmann
ad17c7c097
[backend/masto-client] Basic support for posting notes (ISH-4) 2024-02-07 20:03:47 +01:00
Laura Hausmann
61ba7b543e
[backend/masto-client] Add user notes endpoint 2024-02-06 22:13:40 +01:00
Laura Hausmann
ec561706d6
[backend/masto-client] Federate unfollow activities 2024-02-06 20:42:23 +01:00
Laura Hausmann
94820c2b71
[backend] Add request duration header for non-timing-sensitive (cryptography-related) endpoints 2024-02-06 02:42:35 +01:00
Laura Hausmann
2984abbe2b
[backend/api] Only expose public notes on /api/iceshrimp/v1/user/{id}/notes 2024-02-06 02:12:09 +01:00
Laura Hausmann
81c8386eaf
[backend] Fix hidden list members projectable 2024-02-06 02:06:57 +01:00
Laura Hausmann
8c9e6ef56c
[backend/masto-client] Add follow/unfollow/relationship endpoints 2024-02-06 01:27:56 +01:00
Laura Hausmann
e31a0719f4
[backend] Replace mastodon-specific middleware with modes triggered on MastodonApiControllerAttribute 2024-02-05 21:08:20 +01:00
Laura Hausmann
29581d4fb2
[backend] Refactor postgres jsonb columns 2024-02-05 20:09:18 +01:00
Laura Hausmann
d31c20d6ae
[backend] Merge duplicate postgres enums 2024-02-04 23:40:10 +01:00
Laura Hausmann
285c2ba531
[backend/masto-client] Precompute reply/renote visibility in database query 2024-02-04 01:06:24 +01:00
Laura Hausmann
ee449ec751
[backend/masto-client] Implement link pagination response headers 2024-02-03 21:55:26 +01:00
Laura Hausmann
4dd1997f45
[backend/masto-client] Implement visibility/blocking/muting/list filters for timelines 2024-02-03 06:42:29 +01:00
Laura Hausmann
4aca474398
[backend/masto-client] Add /statuses/{id} and /accounts/{id} routes 2024-02-03 04:37:20 +01:00
Laura Hausmann
d3da11f827
[backend/masto-client] Fix concurrent DbContext access 2024-02-03 04:21:55 +01:00
Laura Hausmann
8e2a116ad9
[backend/masto-client] Add pagination 2024-02-03 03:34:38 +01:00
Laura Hausmann
af7a776337
[backend] Refactor inverse properties; add projectable computed properties to the User class 2024-02-03 02:13:50 +01:00