Commit Graph

21 Commits

Author SHA1 Message Date
3c5685dbdb refactor: remove HonoRequest from updateWatchStatus 2025-12-17 07:52:16 -05:00
80a6f67ead refactor: decouple Anilist watch status updates from API endpoint to an asynchronous queue worker. 2025-12-16 08:28:33 -05:00
ad26cd6da3 feat: set up mock data to be used to generate baseline profiles 2025-12-06 07:27:14 -05:00
bd958fb1ab feat: migrate to cloudflare d1 and queues 2025-11-28 16:32:35 +08: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
da7c843e72 fix: task for anilist-updates not encoding body in base 64 2024-10-29 07:47:54 -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
91dd250823 feat: create route to be able to mark episode as watched 2024-10-10 12:52:22 +02:00
8a20b72bcb fix: update queue name for anilist updates 2024-10-06 18:41:09 -04:00
44ffa703b9 refactor: replace qstash with Google Cloud Tasks 2024-10-05 14:06:57 -04:00
15f680c4d0 feat: update retry algorithm for qstash
avoids dlq until it has to
2024-09-22 16:12:19 -04:00
1ce79ed17a feat: delete message id when title no longer airing 2024-09-19 15:48:59 -04:00
027e8eaac5 fix: avoid error failing to delete message that doesn't exist 2024-09-19 15:23:55 -04:00
71799e4ae8 fix: handle case where message id may not exist 2024-09-13 12:06:18 -04:00
336701a84b feat: schedule next airing episode
happens when new title is saved, or when new episode internal route is run successfully
2024-09-09 03:53:34 -05:00
57fbdfaabe refactor: pass entire request object to verifyQstashHeader 2024-09-06 18:06:13 -05:00
3ded897b77 feat: retry AniList "update watch status" request if it fails 2024-09-06 18:02:07 -05:00
713bb59780 chore: add extra error log with error for /watch-status
used as test
2024-08-04 12:24:25 +02:00
a1f0a2001d fix: OpenAPI schema not correct for "update watch status" 2024-07-04 18:19:15 -04:00
2becf1aa3b feat: support removing watch status when null
A user can choose to remove a show from being in their media list completely, by setting the watch status to null
2024-07-04 18:19:15 -04:00
0a859e0f16 feat: create route to handle updating watch status in AniList 2024-06-12 15:01:26 -04:00