Commit graph

149 commits

Author SHA1 Message Date
Laura Hausmann
cb749c94e6
[backend] Ignore WebFinger failures with response code 410 Gone 2024-02-05 20:29:11 +01:00
Laura Hausmann
29581d4fb2
[backend] Refactor postgres jsonb columns 2024-02-05 20:09:18 +01:00
Laura Hausmann
843b7edb86
[backend] Refactor Startup.cs 2024-02-05 03:31:10 +01:00
Laura Hausmann
d31c20d6ae
[backend] Merge duplicate postgres enums 2024-02-04 23:40:10 +01:00
Laura Hausmann
458d136a4e
[backend] Improve note visibility projectables 2024-02-04 02:06:15 +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
c0dfce1e2c
[backend] Improve logging for rejected invalid requests 2024-02-03 23:23:10 +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
a3fd46bb96
[backend/masto-client] Include navigation properties for note queries 2024-02-02 20:19:56 +01:00
Laura Hausmann
b9cfbe52fc
[backend/masto-client] Add basic timeline endpoints 2024-02-02 20:05:27 +01:00
Laura Hausmann
27ecd27ba0
[backend/mfm] Move MFM handling code into the main backend project 2024-02-02 18:04:13 +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
a3c3f6b848
[backend] Implement mfm-to-html 2024-02-02 00:16:28 +01:00
Laura Hausmann
f5c2ed46c8
Add Mastodon OAuth implementation 2024-01-30 21:49:50 +01:00
Laura Hausmann
8b7c227619
Validate scopes on /api/v1/apps 2024-01-30 19:50:00 +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
fb5bca15ef
Return scopes with RegisterAppResponse 2024-01-29 04:29:06 +01:00
Laura Hausmann
cec4abd841
Mastodon client API foundations 2024-01-29 04:02:34 +01:00
Laura Hausmann
3f333b0c5d
Allow ProcessNoteAsync to succeed even if inReplyTo resolution fails 2024-01-28 23:33:57 +01:00
Laura Hausmann
cb3caf4f26
Correctly set SharedInbox on UserService.CreateUserAsync 2024-01-28 23:19:15 +01:00
Laura Hausmann
bd4c809449
Improve WebFinger error handling 2024-01-28 23:10:18 +01:00
Laura Hausmann
dc45ba8adc
Catch http errors early in WebFingerService 2024-01-28 23:03:09 +01:00
Laura Hausmann
f4a584b46a
Methods that return a non-generic Task should also end in Async 2024-01-28 22:29:09 +01:00
Laura Hausmann
626b267692
All methods that return a Task should end in Async 2024-01-28 22:21:58 +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
a0425aaf4c
Add litepub context caching 2024-01-28 01:50:50 +01:00
Laura Hausmann
8c7ebbd865
Suppress Argon2-related DPA issues correctly & add justifications, improve AuthController.Login 2024-01-28 01:40:44 +01:00
Laura Hausmann
6a23b915bd
Use relaxed json escaping profile for system.text.json 2024-01-28 01:19:06 +01:00
Laura Hausmann
bd3ebeeb87
Set defaults if [Security] config section is missing 2024-01-28 01:01:21 +01:00
Laura Hausmann
f9480d096b
Add redis prefix option 2024-01-28 00:59:57 +01:00
Laura Hausmann
135d26127b
Allow changing the password of a user 2024-01-28 00:54:58 +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