Laura Hausmann
|
73895e856c
|
[mastodon-client] Don't return 'next' link pagination header when there are not more results
This fixes clients like toot! showing ghost users
|
2023-10-11 18:33:33 +02:00 |
|
Laura Hausmann
|
fef807a165
|
[mastodon-client] Fix link pagination prev attribute when minId is set
|
2023-10-11 01:26:29 +02:00 |
|
Laura Hausmann
|
3204bd9d18
|
[mastodon-client] Fix link pagination middleware oversight
|
2023-10-11 01:26:29 +02:00 |
|
Laura Hausmann
|
c7d62223ef
|
[mastodon-client] Ignore invalid auth requests
|
2023-10-08 01:13:02 +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
|
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
|
2899873b26
|
[mastodon-client] Use MastoApiError everywhere
|
2023-10-07 19:50:06 +02:00 |
|
Laura Hausmann
|
47d9278eae
|
[mastodon-client] Return IdentifiableError ID if message is empty
|
2023-10-07 17:30:49 +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
|
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
|
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
|
4b76d0ce6f
|
[mastodon-client] Migrate endpoints to auth middleware
|
2023-10-06 01:08:30 +02:00 |
|