Commit graph

40 commits

Author SHA1 Message Date
Laura Hausmann 011d7f36c3
[mastodon-client] Set ctx.pagination in helper funcs 2023-10-07 22:05:58 +02:00
Laura Hausmann cc96b0ba72
[mastodon-client] Use ctx instead of ctx.user as arguments everywhere 2023-10-07 21:46:22 +02:00
Laura Hausmann 79c3e56989
[mastodon-client] Fully move cache into ctx 2023-10-07 20:29:58 +02:00
Laura Hausmann 1cdeff9861
[mastodon-client] Generate pagination data in helper function
This also (finally) respects minId sort order.
2023-10-07 20:02:03 +02:00
Laura Hausmann bd2df99489
[mastodon-client] Add link pagination to all remaining paginating methods 2023-10-07 01:17:59 +02:00
Laura Hausmann 081b836e92
[mastodon-client] Move link header pagination to middleware 2023-10-06 23:35:13 +02:00
Laura Hausmann afd9e236a3
[mastodon-client] Code cleanup & reformat 2023-10-06 03:12:52 +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 4e177419eb
[mastodon-client] GET /v1/preferenes 2023-10-05 14:16:28 +02:00
Laura Hausmann 4559b135cb
[mastodon-client] Code cleanup & reformat 2023-10-04 22:01:16 +02:00
Laura Hausmann fe15584834
[mastodon-client] POST /v1/statuses 2023-10-04 22:01:14 +02:00
Laura Hausmann d4cca752ac
[mastodon-client] Correctly return accounts' pinned posts 2023-10-04 22:01:13 +02:00
Laura Hausmann 19a990aebb
[mastodon-client] Improve query filters for /accounts/:id/statuses 2023-10-04 22:01:12 +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 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 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 35e35c0998
[mastodon-client] Update FIXMEs 2023-10-04 22:01:09 +02:00
Laura Hausmann d9ec53db4c
[mastodon-client] Further improve query performance 2023-10-04 22:01:08 +02:00
Laura Hausmann 455c249f3d
[mastodon-client] Improve note query performance 2023-10-04 22:01:08 +02:00
Laura Hausmann 7da7b6e09b
[mastodon-client] Proper pagination for /bookmarks & /favorites 2023-10-04 22:01:08 +02:00
Laura Hausmann d3a88ff613
[mastodon-client] GET /favourites 2023-10-04 22:01:08 +02:00
Laura Hausmann 376bfc6b13
[mastodon-client] GET /bookmarks 2023-10-04 22:01:08 +02:00
Laura Hausmann dd0875e517
[mastodon-client] Fix own user following/followers when ffVisibility is restricted 2023-10-04 22:01:07 +02:00
Laura Hausmann 97067648e8
[mastodon-client] GET /accounts/:id/following 2023-10-04 22:01:07 +02:00
Laura Hausmann c86ab31a29
[mastodon-client] Proper pagination for /accounts/:id/followers 2023-10-04 22:01:07 +02:00
Laura Hausmann 05c32e719c
[mastodon-client] GET /accounts/:id/followers 2023-10-04 22:01:07 +02:00
Laura Hausmann f825dcc811
[mastodon-client] Respect minId query param 2023-10-04 22:01:07 +02:00
Laura Hausmann e90b679864
[mastodon-client] Cache account/user data per api call 2023-10-04 22:01:06 +02:00
Laura Hausmann 16c10f55a3
[mastodon-client] Fix GET /accounts/:id/statuses 2023-10-04 22:01:06 +02:00
Laura Hausmann 0aeeeca076
[mastodon-client] GET /accounts/:id/statuses 2023-10-04 22:01:06 +02:00