Commit graph

32 commits

Author SHA1 Message Date
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 c8415a5223
[mastodon-client] Use ctx.cache for all endpoints 2023-10-07 02:12:26 +02:00
Laura Hausmann 4b76d0ce6f
[mastodon-client] Migrate endpoints to auth middleware 2023-10-06 01:08:30 +02:00
Laura Hausmann 0611651409
Remove megalodon 2023-10-05 14:36:14 +02:00
Laura Hausmann ec55071eb2
[mastodon-client] GET /v1/trends/{statuses,hashtags,links} 2023-10-05 02:38:26 +02:00
Laura Hausmann 5f0d140bbe
[mastodon-client] GET /v2/suggestions 2023-10-05 01:51:21 +02:00
Laura Hausmann f5e28fc27a
[mastodon-client] Refactor object id converters 2023-10-04 23:54:45 +02:00
Laura Hausmann 4559b135cb
[mastodon-client] Code cleanup & reformat 2023-10-04 22:01:16 +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 366311a8b1
[mastodon-client] Refactor api router init 2023-10-04 22:01:13 +02:00
Laura Hausmann 3dc6bf49b2
[mastodon-client] GET /follow_requests 2023-10-04 22:01:10 +02:00
Laura Hausmann 5543a65936
Revert "Fix megalodon imports"
This reverts commit 36a0c72d7fc31ebee4e8f3cf7fdc57f7dad2d945.
2023-07-22 13:11:32 +02:00
Laura Hausmann bb60b7e107
Fix megalodon imports 2023-07-21 21:25:31 +02:00
Laura Hausmann a5be7c3ac8
[mastodon-client] handle user & note URLs in search 2023-07-08 04:11:41 +02:00
Laura Hausmann 22825ae76a
[mastodon-client] fix search type param 2023-07-07 23:47:21 +02:00
Laura Hausmann 8347855a11 [mastodon-client] general code cleanup, rename megalodon package 2023-07-06 02:16:51 +00:00
Laura Hausmann 1f8c735889 [mastodon-client] megalodon compat changes 2023-07-06 02:16:51 +00: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
ThatOneCalculator 19c4a59513 formatting 2023-03-30 19:10:03 -07:00
Cleo John 447547b911 fix errors 2023-02-28 17:38:48 +01:00
Cleo John 83494b707d more mastodon work 2023-02-28 17:23:04 +01:00
ThatOneCalculator 99accc4502 fix: correct megalodon import 2023-02-11 17:23:30 -08:00
ThatOneCalculator 13238973b6 chore: Rome Formatting 2023-02-10 15:41:19 -08:00
cutestnekoaqua 1024e4d027 merge more multipart stuff 2023-02-10 21:16:55 +01:00
cutestnekoaqua 8ddfd9630c Revert "yeet koabody"
This reverts commit d5eb131f582ad1900392eafbf3e1f6d3e55f1d5f.
2023-02-10 20:40:54 +01:00
Cleo a0e4927f4c revert da2368bf7af1d4e3a7f2fb4b8703b68a1f8c8ceb
revert fix: some Masotdon API compat issues (#9592)
Co-authored-by: GeopJr <geopjr@noreply.codeberg.org>
Co-committed-by: GeopJr <geopjr@noreply.codeberg.org>
2023-02-10 07:56:46 +00:00
GeopJr 3cfb6675e7 fix: some Masotdon API compat issues (#9592)
Co-authored-by: GeopJr <geopjr@noreply.codeberg.org>
Co-committed-by: GeopJr <geopjr@noreply.codeberg.org>
2023-02-10 02:58:52 +00:00
cutestnekoaqua db14e343d5 yeet koabody 2023-02-10 01:05:49 +01:00
cutestnekoaqua b1e3c2e1c7 feat: v1 Mastodon API
This commit adds (maybe unstable) support for Mastodons v1 api
also some v2 endpoints, maybe I miss stuff, I dont know.
We will need to test this but it should be kinda stable
and work like (old) butter.

Co-authored-by: Natty <natty.sh.git@gmail.com>
Co-authored-by: cutls <web-pro@cutls.com>
2023-02-09 23:21:50 +01:00