Commit graph

26171 commits

Author SHA1 Message Date
Laura Hausmann c7d62223ef
[mastodon-client] Ignore invalid auth requests 2023-10-08 01:13:02 +02:00
Laura Hausmann 4d6111d1a4
[mastodon-client] Fix handling of empty tagged param in getUserStatuses 2023-10-08 01:09:30 +02:00
Laura Hausmann b3c186a14a
[mastodon-client] Only encode renote once in NoteConverter 2023-10-08 01:00:16 +02:00
Laura Hausmann 23a1114c02
[mastodon-client] Implement glitch reactions 2023-10-08 00:47:35 +02:00
Laura Hausmann 9d24f8aea5
[mastodon-client] Remove ID conversion
BREAKING: Please log out and log back in of any clients in use, as their cache is now invalid
2023-10-07 23:15:14 +02:00
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 8428f2efc4
[mastodon-client] Actually enforce NoteConverter.encode recursion prevention 2023-10-07 20:09:17 +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 2899873b26
[mastodon-client] Use MastoApiError everywhere 2023-10-07 19:50:06 +02:00
Laura Hausmann cfd53259cb
[mastodon-client] Return emojis field for polls 2023-10-07 19:39:01 +02:00
Laura Hausmann 8bec41b554
[mastodon-client] Accept both types and exclude_types at the same time in GET /v1/notifications
This ensures compatibility with Mastodon for Android and its forks
2023-10-07 19:17:51 +02:00
Laura Hausmann 1cb935f483
[client] Reduce shadows for iceshrimp-light 2023-10-07 17:48:39 +02:00
Laura Hausmann 98fe5b3a54
[mastodon-client] Prevent duplicate reblogs 2023-10-07 17:34:22 +02:00
Laura Hausmann 47d9278eae
[mastodon-client] Return IdentifiableError ID if message is empty 2023-10-07 17:30:49 +02:00
Laura Hausmann f36515a221
[mastodon-client] Fix error when liking the same status twice 2023-10-07 17:27:45 +02:00
Laura Hausmann 6bf6a71151
[docs] Add PGTune instructions to install docs 2023-10-07 17:09:18 +02:00
Laura Hausmann 8cbcb5766a
[backend] await renote & boost count increments on note create/delete 2023-10-07 16:55:04 +02:00
Laura Hausmann f800f1806c
[mastodon-client] Fix Link pagination for /v1/statuses/:id/reblogged_by 2023-10-07 14:43:52 +02:00
Laura Hausmann 99de127376
[mastodon-client] Return error messages for error types without a .message property 2023-10-07 14:32:02 +02:00
Laura Hausmann c8415a5223
[mastodon-client] Use ctx.cache for all endpoints 2023-10-07 02:12:26 +02:00
Laura Hausmann 937a8c76c8
[mastodon-client] Fix ids of trending statuses not being converted 2023-10-07 02:05:53 +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 9dd3277ddb
[mastodon-client] Use structuredClone for id converters 2023-10-07 00:36:49 +02:00
Laura Hausmann 3bc4afec77
[mastodon-client] Set correct access-control-expose-headers response header 2023-10-07 00:36:49 +02:00
Laura Hausmann 081b836e92
[mastodon-client] Move link header pagination to middleware 2023-10-06 23:35:13 +02:00
Laura Hausmann 3d320c0895
[mastodon-client] Fix urlencoded redirect_uris 2023-10-06 23:35:07 +02:00
Laura Hausmann 153c08fae1
[mastodon-client] Fix getNoteOr404 2023-10-06 03:26:04 +02:00
Laura Hausmann afd9e236a3
[mastodon-client] Code cleanup & reformat 2023-10-06 03:12:52 +02:00
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
AntoineÐ e3186e98f8 Translated using Weblate (French)
Currently translated at 100.0% (1848 of 1848 strings)

Translation: Iceshrimp/locales
Translate-URL: https://translate.iceshrimp.dev/projects/iceshrimp/locales/fr/
2023-10-06 00:04:30 +02:00
AntoineÐ d53edfaa7d Translated using Weblate (English)
Currently translated at 100.0% (1848 of 1848 strings)

Translation: Iceshrimp/locales
Translate-URL: https://translate.iceshrimp.dev/projects/iceshrimp/locales/en/
2023-10-06 00:04:28 +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