Commit graph

166 commits

Author SHA1 Message Date
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
Laura Hausmann
ad17c7c097
[backend/masto-client] Basic support for posting notes (ISH-4) 2024-02-07 20:03:47 +01:00
Laura Hausmann
5978f1abc4
[backend] Implement federation control (ISH-2) 2024-02-07 17:52:41 +01:00
Laura Hausmann
88a180666d
[backend/federation] Reject notes with text length > 100k characters 2024-02-06 23:04:56 +01:00
Laura Hausmann
61ba7b543e
[backend/masto-client] Add user notes endpoint 2024-02-06 22:13:40 +01:00
Laura Hausmann
b0cae8a6f2
[backend] Don't reorder properties with [ProtoContract] or [ProtoMember] attributes 2024-02-06 21:52:08 +01:00
Laura Hausmann
f099d6ad41
[backend/queue] Fix deliver queue proto contract 2024-02-06 21:41:58 +01:00
Laura Hausmann
e0b6fa3bff
[backend/federation] Handle reject activity 2024-02-06 21:15:46 +01:00
Laura Hausmann
333ef6f7cd
[backend] Improve logging for unknown activity types 2024-02-06 20:58:43 +01:00
Laura Hausmann
ec561706d6
[backend/masto-client] Federate unfollow activities 2024-02-06 20:42:23 +01:00
Thomas May
6845b7217c
[backend] Ensure HttpClient is used asynchronously in WebFingerService
Reviewed-on: https://iceshrimp.dev/iceshrimp/Iceshrimp.NET/pulls/5
Co-authored-by: Thomas May <wamwoowam@gmail.com>
Co-committed-by: Thomas May <wamwoowam@gmail.com>
2024-02-06 18:07:35 +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
81c8386eaf
[backend] Fix hidden list members projectable 2024-02-06 02:06:57 +01:00
Laura Hausmann
97e4a25742
[backend] Handle incoming ASAccept activities 2024-02-06 01:53: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
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