Commit graph

47 commits

Author SHA1 Message Date
Laura Hausmann
e31a0719f4
[backend] Replace mastodon-specific middleware with modes triggered on MastodonApiControllerAttribute 2024-02-05 21:08:20 +01:00
Laura Hausmann
843b7edb86
[backend] Refactor Startup.cs 2024-02-05 03:31:10 +01:00
Laura Hausmann
bdb2fe39fb
[backend] Add custom console logger 2024-02-04 01:45:07 +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
4620758701
[backend] Add disclaimer when running in Development environment 2024-02-03 23:14:52 +01:00
Laura Hausmann
b72a22b9b0
[backend] Reject requests if Host header doesn't match configured WebDomain or AccountDomain 2024-02-03 22:57:35 +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
17884c4975
[backend] Fix code cleanup rules (and build) 2024-02-03 03:41:00 +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
Laura Hausmann
b015c464dd
[backend/masto-client] Add EnumerableExtensions 2024-02-02 22:48:21 +01:00
Laura Hausmann
aa6988399d
[backend/masto-client] Add schemas and renderers for user statuses 2024-02-02 02:35:03 +01:00
Laura Hausmann
09f9d2395c
[backend/masto-client] Implement /api/v1/accounts/verify_credentials 2024-02-02 01:46:37 +01:00
Laura Hausmann
f5c2ed46c8
Add Mastodon OAuth implementation 2024-01-30 21:49:50 +01:00
Laura Hausmann
a734583b15
Fix FromHybrid for query data with no body 2024-01-30 19:33:32 +01:00
Laura Hausmann
12a18987b0
Fix FromHybrid attributes in SwaggerGen 2024-01-30 19:28:11 +01:00
Laura Hausmann
cec4abd841
Mastodon client API foundations 2024-01-29 04:02:34 +01:00
Laura Hausmann
3c95f4a0e3
Significantly more powerful queue system 2024-01-28 22:04:53 +01:00
Laura Hausmann
242d01583f
Use WebDomain as fallback redis prefix if none is set explicitly 2024-01-28 18:55:21 +01:00
Laura Hausmann
c961111d55
Add authorization options to swagger-ui 2024-01-28 03:33:20 +01:00
Laura Hausmann
8522cb7d0d
AddStackExchangeRedisRedisOptions InstanceName doesn't automatically add a : 2024-01-28 02:52:18 +01:00
Laura Hausmann
f7539b5374
Fix cache serializer 2024-01-28 02:49:30 +01:00
Laura Hausmann
3e4410f52c
Basic redis object cache implementation 2024-01-28 02:26:41 +01:00
Laura Hausmann
6a23b915bd
Use relaxed json escaping profile for system.text.json 2024-01-28 01:19:06 +01:00
Laura Hausmann
f9480d096b
Add redis prefix option 2024-01-28 00:59:57 +01:00
Laura Hausmann
64a70e688c
Split authentication and authorization 2024-01-28 00:42:22 +01:00
Laura Hausmann
e755f9f96f
Add basic authentication system 2024-01-28 00:31:54 +01:00
Laura Hausmann
3c72d50459
Refactor controller OpenAPI tags 2024-01-27 23:26:31 +01:00
Laura Hausmann
6de8ea12e6
Add redis cache 2024-01-27 22:38:06 +01:00
Laura Hausmann
37e7f339bc
Add basic api rate limiter 2024-01-27 22:11:46 +01:00
Laura Hausmann
55ba51be25
Store data protection keys in database 2024-01-27 20:24:16 +01:00
Laura Hausmann
a8bd625ce1
Refactor type constants 2024-01-27 02:54:05 +01:00
Laura Hausmann
831a1ceeba
Refactor AP core 2024-01-27 02:39:16 +01:00
Laura Hausmann
2f6a433663
Resolve note threads 2024-01-26 20:32:00 +01:00
Laura Hausmann
431bbaccb2
Handle follow and unfollow activity types 2024-01-26 18:57:59 +01:00
Laura Hausmann
0dc1533b75
Improve NoteService.CreateNote 2024-01-26 03:09:52 +01:00
Laura Hausmann
bf3e72da9b
Basic note create 2024-01-25 03:16:29 +01:00
Laura Hausmann
8d4a20896c
Federation groundwork 2024-01-25 01:36:07 +01:00
Laura Hausmann
59f2e93fee
Add stub inbox queue processor 2024-01-25 00:22:05 +01:00
Laura Hausmann
4c12cbf65c
Add basic queue system 2024-01-24 23:49:01 +01:00
Laura Hausmann
2e4a1137ed
Implement IMiddleware for all middlewares 2024-01-24 19:10:43 +01:00
Laura Hausmann
f15fd9cc79
Implement exception handler 2024-01-24 04:11:56 +01:00
Laura Hausmann
28066784f2
Actually use authorized fetch middleware 2024-01-24 03:16:09 +01:00
Laura Hausmann
7524c5acc7
Add authorized fetch middleware 2024-01-24 03:03:20 +01:00