Commit graph

243 commits

Author SHA1 Message Date
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
Laura Hausmann
06e4a0ac9d
[backend/masto-client] Don't silently drop invalid reply targets 2024-02-07 20:47:25 +01:00
Laura Hausmann
c8c09591f9
[backend] Add configurable post character limit (ISH-5) 2024-02-07 20:33:00 +01:00
Laura Hausmann
547b385c29
[swagger] Hide authorize button (functionality remains accessible via the lock icons) 2024-02-07 20:20:45 +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
e59053cdcb
[backend] Remove unused global using to bypass https://youtrack.jetbrains.com/issue/RIDER-105541 2024-02-06 23:18:29 +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
68d5d907fe
[backend] Add global usings for the most common namespace aliases 2024-02-06 22:09:30 +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
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
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
b55de80f56
Update README.md 2024-02-05 02:13:51 +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