Commit Graph

25 Commits

Author SHA1 Message Date
3a821a2c98 refactor: upgrade to Zod 4
also updates Hono Zod related deps
2025-12-19 09:41:03 -05:00
cd19f39005 fix: titles sync not working 2025-12-19 00:27:38 -05:00
44dca65a96 fix: currentPage not incrementing when loading watched titles 2025-12-12 06:43:19 -05:00
3508f3461b chore: rename getUser to getUserProfile 2025-12-12 06:42:58 -05:00
40fa0080b5 feat(api): expose updatedAt in watching titles 2025-11-29 09:03:10 -05:00
25f5f80696 refactor: Replace generic AnilistDurableObject fetch endpoint with dedicated methods and update their usage. 2025-11-29 06:22:08 -05:00
b1e46ad6eb feat: Centralize Anilist GraphQL queries, generalize Durable Object for multiple operations with caching, and add new controllers for search, popular titles, user data, and episode tracking. 2025-11-29 05:03:57 -05:00
bd958fb1ab feat: migrate to cloudflare d1 and queues 2025-11-28 16:32:35 +08:00
f6a3ea2649 fix(anilist): ️ improve SSE streaming
Fixes issues with SSE streaming by explicitly setting the content type and encoding headers.

Also, removes unnecessary destructuring in fetchEpisodes.
2025-10-31 13:13:34 -04:00
8175d73df1 refactor: ♻️emoves Env parameter
Removes the `Env` parameter from several functions to simplify their signatures and rely on the global `env` for configuration.

This change reduces the number of arguments passed around, making the code cleaner and easier to maintain.
2025-08-10 19:22:14 -04:00
0b0078328c fix(aniplay): Migrates to Aniwatch only
Removes Consumet and consolidates episode fetching to use Aniwatch as the sole provider.

This simplifies the codebase and ensures a consistent data source for episodes and URLs.
Also updates `wrangler` and sets `ENABLE_ANIFY` to false.
2025-08-08 08:17:47 -07:00
c7d8f3ffa4 feat: add id to User 2024-11-17 09:44:09 -05:00
ce82ae8990 feat: return user data when marking episode as watched 2024-11-14 07:37:04 -05:00
c5a536d87e style: add await to all writeSSE calls 2024-10-29 07:44:31 -04:00
2dcf8630ab fix: improve error logging
Cloudflare doesn't log causes, only the messages so splitting the logs in to 2
2024-10-27 08:49:31 -04:00
5ea90bda55 feat: add more 429 checks 2024-10-05 15:52:38 -04:00
e4ca45dbdc fix: retry loading user if 429 returned 2024-09-26 04:30:45 -04:00
bee8acaca8 feat: improve error handling for authentication flow 2024-09-26 03:51:17 -04:00
6f35e2cdea fix: close SSE stream when error occurred 2024-09-22 16:23:38 -04:00
79d856b18d fix: improve authentication SSE 2024-09-22 15:22:41 -04:00
76cac78307 fix: openapi schema 2024-09-21 20:04:36 -04:00
b8631b9614 fix: remove anime key in statistics key 2024-09-21 20:04:21 -04:00
3dba56cb45 feat: return user info when authenticating 2024-09-21 14:02:07 -04:00
c1bf12de4f feat: associate device id with username when logging in 2024-09-21 13:18:16 -04:00
432da61aec feat: support fetching "currently watching" titles when logging in 2024-09-20 00:06:22 -04:00