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
9d59ee09fd
[mastodon-client] Improve link pagination helper function
2023-10-04 22:01:09 +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
f8be4533df
[mastodon-client] Allow unauthorized uses to access /accounts/:id/statuses
2023-10-04 22:01:08 +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
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
Laura Hausmann
2fe58b0017
[mastodon-client] Refactor converters
2023-10-04 22:01:04 +02:00
Laura Hausmann
d258789c34
[mastodon-client] GET /accounts/:id
2023-10-04 22:01:04 +02:00
Luna D Dragon
91b8b7b76b
Defry the fish ( #125 )
...
Co-authored-by: Luna <luna.dragon@suse.com>
Reviewed-on: https://iceshrimp.dev/iceshrimp/iceshrimp/pulls/125
Co-authored-by: Luna D Dragon <lunarequest@nullrequest.com>
Co-committed-by: Luna D Dragon <lunarequest@nullrequest.com>
2023-08-21 16:14:53 +02:00
ThatOneCalculator
2913eddbce
we be renamin
2023-07-15 14:21:17 -07:00
ThatOneCalculator
6bc25eb38b
Merge branch 'develop' into rebrand
2023-07-15 14:15:01 -07:00
Laura Hausmann
b0cf9c6faa
Revert "Revert "[mastodon-client] send actual default post privacy instead of fallback value""
...
This reverts commit a441cc6067c487c563bf673be261a179d96e0533.
2023-07-10 18:58:15 +02:00
ThatOneCalculator
b23d5bb16f
Revert "[mastodon-client] send actual default post privacy instead of fallback value"
...
This reverts commit 81145570fcb458a9239f88fe9a273d6c2f1810d3.
2023-07-09 20:12:16 -07:00
Laura Hausmann
8f7f078f08
[mastodon-client] send actual default post privacy instead of fallback value
2023-07-09 00:58:45 +02:00
Laura Hausmann
8347855a11
[mastodon-client] general code cleanup, rename megalodon package
2023-07-06 02:16:51 +00:00
Laura Hausmann
8a6a1cfc43
[mastodon-client] Code formatting pass
2023-07-06 02:16:51 +00:00
Laura Hausmann
1f8c735889
[mastodon-client] megalodon compat changes
2023-07-06 02:16:51 +00:00
Laura Hausmann
23d57eb79f
[mastodon-client] Add endpoints
2023-07-06 02:16:51 +00:00
ThatOneCalculator
6c7f0521aa
find and replace
2023-07-02 15:18:30 -07:00
ThatOneCalculator
2d0ace0685
chore: formatting
2023-05-01 20:32:18 -07:00
fruye
0cf2e71b2e
Use numeric ids everywhere in mastodon API ( #9970 )
...
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9970
Co-authored-by: fruye <fruye@unix.dog>
Co-committed-by: fruye <fruye@unix.dog>
2023-04-30 19:34:52 +00:00
fruye
05b2f9b89d
fix: Declare /api/v1/accounts/relationships before /api/v1/accounts/:id
...
Previously the 'relationships' part was considered to be an account id
and was handled by completely different API endpoint.
2023-04-28 20:03:06 +02:00
ThatOneCalculator
19c4a59513
formatting
2023-03-30 19:10:03 -07:00
s1idewhist1e
981d3ee725
Refactor: use rust for native mastodon id conversion ( #9786 )
...
This uses [napi-rs](https://napi.rs/ ) to allow for automatic generation of node bindings for the native code.
I also changed the `isolatedModules` TS flag to false to allow for `static enum` to be shared across modules. It doesn't seem to be necessary for the build system that CK uses.
Currently this method does not work with ID generators with longer IDs. Likely the best solution is to add another key in the database.
Some benchmarks for 1 million conversions:
```
node, x1_000_000: 2.847s
rust, x1_000_000: 1.265s
```
There are still optimizations that can be made, but I think this is a good starting point and a good way to bring rust into the CK stack.
Co-authored-by: s1idewhist1e <trombonedude05@gmail.com>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9786
Co-authored-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
Co-committed-by: s1idewhist1e <s1idewhist1e@noreply.codeberg.org>
2023-03-31 01:58:28 +00:00
ThatOneCalculator
21061b6803
feat: masto api add display name
2023-03-23 16:16:27 -07:00
cutestnekoaqua
3e748cb401
fix: intermediarily convert ids
2023-03-18 12:23:03 +01:00
cutestnekoaqua
9c0416df65
add 404 as replacements
2023-03-18 12:09:43 +01:00
fruye
3d7868c9dc
fix: Parse mastoAPI limit argument in more places & Improve converting arguments to boolean ( #9716 )
...
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9716
Authored-by: fruye <fruye@unix.dog>
Signed-off-by: Cleo John <waterdev@galaxycrow.de>
Co-authored-by: fruye <fruye@unix.dog>
Co-committed-by: fruye <fruye@unix.dog>
2023-03-17 13:58:01 +00:00
Luna
2d7225a179
Proxy object IDs for Mastodon API to prevent Calckey ID format incompatibilities
2023-03-11 16:02:35 -05:00
Luna
07d45c6a70
Convert limit parameter to int for certain Mastodon account endpoints
2023-03-11 16:02:35 -05:00
Cleo John
83494b707d
more mastodon work
2023-02-28 17:23:04 +01:00
ThatOneCalculator
c28e5fcad5
feat: ✨ Show time for users
2023-02-18 11:33:25 -08:00
CutestNekoAqua
a5633b9368
fix oopsie
2023-02-18 17:24:58 +01:00
CutestNekoAqua
cedf306f76
debug print users
2023-02-18 17:22:43 +01:00
CutestNekoAqua
28a31879f8
make relationshiops work
2023-02-18 17:14:16 +01:00
ThatOneCalculator
0e9f9063b4
attempt fix
2023-02-13 19:48:57 -08:00
cutestnekoaqua
a607673019
try again
2023-02-13 20:41:42 +01:00
cutestnekoaqua
c4683c0196
actually return value
2023-02-13 20:38:11 +01:00
cutestnekoaqua
b209a9e533
uwu
2023-02-13 20:36:13 +01:00
cutestnekoaqua
d83e2f2c7a
mew
2023-02-13 20:28:23 +01:00
ThatOneCalculator
68c65044fd
chore: formatting
2023-02-13 11:17:07 -08:00