Commit Graph

4966 Commits

Author SHA1 Message Date
Laura Hausmann
8bc7bf373e
[mastodon-client] Handle ApiError in CatchErrorsMiddleware 2023-10-06 03:09:22 +02:00
Laura Hausmann
a3d2330f26
[mastodon-client] Code cleanup and refactor for /oauth/token 2023-10-06 01:22:42 +02:00
Laura Hausmann
4b76d0ce6f
[mastodon-client] Migrate endpoints to auth middleware 2023-10-06 01:08:30 +02:00
Laura Hausmann
5d17996d5f
[mastodon-client] Fix verify_credentials occasionally showing outdated data 2023-10-05 21:14:15 +02:00
Laura Hausmann
01b5af2686
[mastodon-client] PATCH /v1/accounts/update_credentials 2023-10-05 19:22:41 +02:00
Laura Hausmann
75f6732928
[mastodon-client] Replace koa-multer with koa-body 2023-10-05 18:45:38 +02:00
Laura Hausmann
60f314cb87
[mastodon-client] Fix handling of undefined in normalizeComposeOptions & normalizeEditOptions 2023-10-05 18:07:20 +02:00
Laura Hausmann
5d1bfd2e50
[mastodon-client] Fix handling of posts with empty cw / text field 2023-10-05 17:41:49 +02:00
Laura Hausmann
73ac3048ef
[mastodon-client] Correctly return status.tags 2023-10-05 17:19:40 +02:00
Laura Hausmann
d39a3f2f66
[client] Fix default theme missing shadows 2023-10-05 16:10:27 +02:00
Laura Hausmann
98b451bf05
[mastodon-client] Emoji category should be string or undefined 2023-10-05 15:09:06 +02:00
Laura Hausmann
3132ff5ca0
[mastodon-client] Prevent NoteConverter from recursing indefinitely 2023-10-05 15:08:34 +02:00
Laura Hausmann
37b5a8d71d
[backend] Cleanup oauth debug logging 2023-10-05 14:38:14 +02:00
Laura Hausmann
0611651409
Remove megalodon 2023-10-05 14:36:14 +02:00
Laura Hausmann
e33c7c5b0f
[backend] remove broken mastodon websocket support 2023-10-05 14:35:33 +02:00
Laura Hausmann
75d6af8485
[mastodon-client] GET /oauth/token 2023-10-05 14:34:52 +02:00
Laura Hausmann
4e177419eb
[mastodon-client] GET /v1/preferenes 2023-10-05 14:16:28 +02:00
Laura Hausmann
ec55071eb2
[mastodon-client] GET /v1/trends/{statuses,hashtags,links} 2023-10-05 02:38:26 +02:00
Laura Hausmann
fb7713c424
[mastodon-client] GET /v1/custom_emoji 2023-10-05 02:08:12 +02:00
Laura Hausmann
5f0d140bbe
[mastodon-client] GET /v2/suggestions 2023-10-05 01:51:21 +02:00
Laura Hausmann
44b72a2ecc
[mastodon-client] GET /v1/announcements, POST /v1/announcements/:id/dismiss 2023-10-05 00:58:54 +02:00
Laura Hausmann
059a20f4b1
[mastodon-client] Make filter endpoints refer to web frontend 2023-10-05 00:11:39 +02:00
Laura Hausmann
f5e28fc27a
[mastodon-client] Refactor object id converters 2023-10-04 23:54:45 +02:00
Laura Hausmann
f0cedf4f39
[mastodon-client] Replace array helper function with preexisting prelude function 2023-10-04 23:52:03 +02:00
Laura Hausmann
2a64fe4ebf
[mastodon-client] GET /v1/instance 2023-10-04 23:42:54 +02:00
Laura Hausmann
c90161189f
[mastodon-client] Improve query performance 2023-10-04 23:16:52 +02:00
Laura Hausmann
f87712040d
[backend] Remove /api/i/get-unsecure endpoint 2023-10-04 23:14:57 +02:00
Laura Hausmann
ad7c58b8d7
[mastodon-client] Add visibility checks for status.reblogged_by 2023-10-04 23:13:47 +02:00
Laura Hausmann
7f6ac71dd0
[mastodon-client] Respect ffVisibility 2023-10-04 23:07:50 +02:00
Laura Hausmann
a515b6b4d4
[mastodon-client] Fix ordering of conversations 2023-10-04 23:07:38 +02:00
Laura Hausmann
bbc0f0278a
[mastodon-client] Improve pagination helper function 2023-10-04 23:07:37 +02:00
Laura Hausmann
557dd37fe8
[mastodon-client] Unread notifications 2023-10-04 22:01:18 +02:00
Laura Hausmann
b8b6206b4e
[mastodon-client] Fix link pagination default limits 2023-10-04 22:01:17 +02:00
Laura Hausmann
3fb3f405ea
[mastodon-client] GET /v1/conversations 2023-10-04 22:01:17 +02:00
Laura Hausmann
2fef4b1982
[mastodon-client] GET /v1/timelines/tag/:hashtag 2023-10-04 22:01:17 +02:00
Laura Hausmann
d2c9238a18
[mastodon-client] Add stubs for featured_tags and followed_tags 2023-10-04 22:01:17 +02:00
Laura Hausmann
4fe62e62c3
[mastodon-client] GET /accounts/:id/lists 2023-10-04 22:01:17 +02:00
Laura Hausmann
239fef3e71
[mastodon-client] DELETE /lists/:id/accounts 2023-10-04 22:01:17 +02:00
Laura Hausmann
94d75585b4
[mastodon-client] PUT /lists/:id 2023-10-04 22:01:17 +02:00
Laura Hausmann
53c0d52fcd
[mastodon-client] POST /lists 2023-10-04 22:01:17 +02:00
Laura Hausmann
eecd911bf6
[mastodon-client] POST /lists/:id/accounts 2023-10-04 22:01:16 +02:00
Laura Hausmann
8a22659cba
[mastodon-client] DELETE /lists/:id 2023-10-04 22:01:16 +02:00
Laura Hausmann
267624c7a3
[mastodon-client] Also return edit history if post is unedited 2023-10-04 22:01:16 +02:00
Laura Hausmann
137ede02ce
[mastodon-client] Fix timeline helper function 2023-10-04 22:01:16 +02:00
Laura Hausmann
a3722d2dce
[mastodon-client] GET /timelines/list/:listId 2023-10-04 22:01:16 +02:00
Laura Hausmann
f388eb2135
[mastodon-client] Update notifications default and max limit to mastodon v4.1.0 values 2023-10-04 22:01:16 +02:00
Laura Hausmann
4559b135cb
[mastodon-client] Code cleanup & reformat 2023-10-04 22:01:16 +02:00
Laura Hausmann
2e7ac53c20
[mastodon-client] Use modified mfm-to-html renderer 2023-10-04 22:01:16 +02:00
Laura Hausmann
633fe46fb5
[mastodon-client] GET /lists, /lists/:id, /lists/:id/accounts 2023-10-04 22:01:15 +02:00
Laura Hausmann
a7ce94fb29
[mastodon-client] GET /statuses/:id/source 2023-10-04 22:01:15 +02:00
Laura Hausmann
ae91ffbb8a
[mastodon-client] Fix resolving remote users that aren't yet in the database 2023-10-04 22:01:15 +02:00
Laura Hausmann
947f5ba1e2
[mastodon-client] GET /v1/search 2023-10-04 22:01:15 +02:00
Laura Hausmann
5e0c2eb497
[mastodon-client] GET /v2/search 2023-10-04 22:01:15 +02:00
Laura Hausmann
0f497f7fec
[mastodon-client] Fix request body handling for polls 2023-10-04 22:01:15 +02:00
Laura Hausmann
fb8b2ce0df
[mastodon-client] GET /polls/:id, POST /polls/:id/votes 2023-10-04 22:01:15 +02:00
Laura Hausmann
85a13d8bd7
[mastodon-client] GET /statuses/:id/history 2023-10-04 22:01:14 +02:00
Laura Hausmann
9454540385
[mastodon-client] Return status.edited_at 2023-10-04 22:01:14 +02:00
Laura Hausmann
b0487e1e63
[mastodon-client] PUT /statuses/:id 2023-10-04 22:01:14 +02:00
Laura Hausmann
0719d9abbc
[client] Clean up note edits 2023-10-04 22:01:14 +02:00
Laura Hausmann
500a85acb9
[backend] Rework note edits 2023-10-04 22:01:14 +02:00
Laura Hausmann
e0fefc986f
[mastodon-client] Respect idempotency-key for new posts 2023-10-04 22:01:14 +02:00
Laura Hausmann
fe15584834
[mastodon-client] POST /v1/statuses 2023-10-04 22:01:14 +02:00
Laura Hausmann
b98294e5be
[mastodon-client] PUT /media/:id 2023-10-04 22:01:14 +02:00
Laura Hausmann
a2dce0fa85
[mastodon-client] GET /media/:id 2023-10-04 22:01:13 +02:00
Laura Hausmann
9b223abeda
[mastodon-client] POST /{v1,v2}/media 2023-10-04 22:01:13 +02:00
Laura Hausmann
366311a8b1
[mastodon-client] Refactor api router init 2023-10-04 22:01:13 +02:00
Laura Hausmann
758f995dac
[mastodon-client] Bump compatible version to 4.1.0 2023-10-04 22:01:13 +02:00
Laura Hausmann
501991f5e1
[mastodon-client] DELETE /statuses/:id 2023-10-04 22:01:13 +02:00
Laura Hausmann
1a03044be8
[mastodon-client] Only return pinned attribute for own posts 2023-10-04 22:01:13 +02:00
Laura Hausmann
d4cca752ac
[mastodon-client] Correctly return accounts' pinned posts 2023-10-04 22:01:13 +02:00
Laura Hausmann
a0cf791e53
[mastodon-client] POST /statuses/:id/pin, /statuses/:id/unpin 2023-10-04 22:01:12 +02:00
Laura Hausmann
464c5425fc
[mastodon-client] Don't show DMs in the home timeline 2023-10-04 22:01:12 +02:00
Laura Hausmann
19a990aebb
[mastodon-client] Improve query filters for /accounts/:id/statuses 2023-10-04 22:01:12 +02:00
Laura Hausmann
b1643cfee7
[mastodon-client] GET /statuses/:id/favourited_by, /statuses/:id/reblogged_by 2023-10-04 22:01:12 +02:00
Laura Hausmann
c1df4bd579
[mastodon-client] POST /statuses/:id/bookmark, /statuses/:id/unbookmark 2023-10-04 22:01:12 +02:00
Laura Hausmann
5b7e0b8ede
[mastodon-client] POST /statuses/:id/reblog, /statuses/:id/unreblog 2023-10-04 22:01:12 +02:00
Laura Hausmann
3dffaf5594
[mastodon-client] POST /statuses/:id/react/:name, /statuses/:id/unreact/:name 2023-10-04 22:01:12 +02:00
Laura Hausmann
93a4db4418
[mastodon-client] POST /statuses/:id/favourite, /statuses/:id/favourite 2023-10-04 22:01:12 +02:00
Laura Hausmann
f29fee74a0
[mastodon-client] Use actual default reaction 2023-10-04 22:01:11 +02:00
Laura Hausmann
f57239fc58
[mastodon-client] POST /apps 2023-10-04 22:01:11 +02:00
Laura Hausmann
5e20c3ae06
[mastodon-client] Stub for PATCH /accounts/update_credentials 2023-10-04 22:01:11 +02:00
Laura Hausmann
bdc5b778f2
[mastodon-client] GET /accounts/verify_credentials 2023-10-04 22:01:11 +02:00
Laura Hausmann
40f89213a5
[mastodon-client] Code cleanup 2023-10-04 22:01:11 +02:00
Laura Hausmann
3fd98eb88a
[mastodon-client] GET /accounts/lookup 2023-10-04 22:01:11 +02:00
Laura Hausmann
45d005fa1a
[mastodon-client] POST /follow_requests/:id/authorize, POST /follow_requests/:id/reject 2023-10-04 22:01:11 +02:00
Laura Hausmann
3dc6bf49b2
[mastodon-client] GET /follow_requests 2023-10-04 22:01:10 +02:00
Laura Hausmann
0747e24256
[mastodon-client] GET /blocks 2023-10-04 22:01:10 +02:00
Laura Hausmann
eb42a21d77
[mastodon-client] Bump compatible version to 3.5.0 2023-10-04 22:01:10 +02:00
Laura Hausmann
82c96392c2
[mastodon-client] GET /mutes 2023-10-04 22:01:10 +02:00
Laura Hausmann
f667f2f985
[mastodon-client] POST /accounts/:id/mute, POST /accounts/:id/unmute; Fix timeline helper function 2023-10-04 22:01:10 +02:00
Laura Hausmann
3c22417a31
[mastodon-client] POST /accounts/:id/block, /accounts/:id/unblock 2023-10-04 22:01:10 +02:00
Laura Hausmann
deeb71856d
[mastodon-client] GET /accounts/relationships 2023-10-04 22:01:10 +02:00
Laura Hausmann
5c999a20d0
[mastodon-client] POST /accounts/:id/follow, POST /accounts/:id/unfollow 2023-10-04 22:01:10 +02:00
Laura Hausmann
cfc3db5c7c
[mastodon-client] Code cleanup 2023-10-04 22:01:09 +02:00
Laura Hausmann
72619198b9
[mastodon-client] POST /notifications/:id/dismiss; POST /notifications/clear 2023-10-04 22:01:09 +02:00
Laura Hausmann
ac6ba79a36
[mastodon-client] GET /notifications/:id 2023-10-04 22:01:09 +02:00
Laura Hausmann
58dcbe68b7
[mastodon-client] GET /notifications 2023-10-04 22:01:09 +02:00
Laura Hausmann
9d59ee09fd
[mastodon-client] Improve link pagination helper function 2023-10-04 22:01:09 +02:00
Laura Hausmann
d8659b5a94
[mastodon-client] Better home timeline query 2023-10-04 22:01:09 +02:00
Laura Hausmann
35e35c0998
[mastodon-client] Update FIXMEs 2023-10-04 22:01:09 +02:00