Commit Graph

256 Commits

Author SHA1 Message Date
99963083f0 refactor: do title conversion server side 2024-10-27 09:27:27 -04:00
2ec61b7332 fix: device id not being read correctly in "mark episode as watched" route 2024-10-27 08:53:25 -04:00
c6904eb7a5 fix: missing mock 2024-10-27 08:49:36 -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
34958cfa69 chore: log which title is being selected when loading aniwatch 2024-10-27 08:41:16 -04:00
5ef3e8c970 feat: change aniwatch source to be the first source to check 2024-10-27 08:40:42 -04:00
5a4c44130f fix: exclude "blue lock s2" from anify 2024-10-27 08:40:24 -04:00
842b657c00 fix: update mocks 2024-10-24 08:54:18 -04:00
59a7a5f8d4 fix: tweak aniwatch call to support tower of god s2 being split into 2 2024-10-24 08:51:46 -04:00
882f9b1843 chore: update aniwatch calls
aniwatch API had breaking changes
2024-10-24 08:51:26 -04:00
f3bd6eb9cc fix: have script check if no next airing episode
make sure if "trigger latest episode" is enabled, it runs even if no next airing episode for the title
2024-10-23 09:03:43 -04:00
f8889eb550 fix: make sure to check body with hashed queue task name 2024-10-23 09:00:39 -04:00
1869771716 fix: if failed to validate body, trigger hashed task name flow 2024-10-22 08:20:03 +02:00
42c041a4e0 fix: hash task name when failing to queue new task
this should help with gcp cloud task deduplication causing 409 errors
2024-10-21 18:42:29 +08:00
2a4e8144c4 chore: create script to print new google auth token for testing 2024-10-21 18:41:12 +08:00
7f8fd882aa fix: throws "failed to queue" error when task already exists 2024-10-16 08:17:59 +08:00
37cf7bd738 fix: cloud tasks not being queued and failing silently 2024-10-14 08:28:22 +08:00
91dd250823 feat: create route to be able to mark episode as watched 2024-10-10 12:52:22 +02:00
223c2f1e4c add re-zero s3 to anify denylist 2024-10-06 18:41:27 -04:00
8a20b72bcb fix: update queue name for anilist updates 2024-10-06 18:41:09 -04:00
5f978205c4 remove taskId from optional args of queueTask 2024-10-06 08:48:43 -04:00
d13bc2a64e refactor: update script
* runs promises serially instead of running them all at once
* directly calls /new-episode route for latest episode
2024-10-06 08:48:10 -04:00
45edd284ee fix: update env 2024-10-05 16:48:42 -04:00
271ea01b21 fix: test failures 2024-10-05 16:48:31 -04:00
5ea90bda55 feat: add more 429 checks 2024-10-05 15:52:38 -04:00
24c0fa316c feat: update nodejs compat 2024-10-05 14:07:49 -04:00
44ffa703b9 refactor: replace qstash with Google Cloud Tasks 2024-10-05 14:06:57 -04:00
85712ff0cf chore: update getCurrentDomain to return undefined when not allowing localhost 2024-10-05 11:54:35 -04:00
44d579ee6d refactor: create function to read admin SDK JSON 2024-10-05 11:21:20 -04:00
62217ae75b chore: update wrangler to enable new observability 2024-10-05 11:04:49 -04:00
15c75eea5b refactor: move fcm to gcloud folder 2024-10-05 10:57:18 -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
7a839cda5a fix: tests 2024-09-26 01:35:36 -04:00
75eca0f6bd fix: maxRetries set to 3
since max limit is 3
2024-09-26 01:32:02 -04:00
58fa52f083 fix: reset episodes when url not found 2024-09-23 17:57:05 -04:00
675db025b2 refactor: use new fetchEpisodeUrlFromAllProviders method in "new episodes" 2024-09-23 17:54:46 -04:00
90cf038337 feat: new version for getEpisodeUrl by just passing the episode number 2024-09-23 17:52:53 -04:00
eec512c729 fix: skip time conversion to be undefined if both are 0 2024-09-23 17:52:11 -04:00
87b938bdaa fix: update "new episode" route to check all providers before throwing error 2024-09-23 17:36:18 -04:00
d8a01fefa2 fix: update retry 2024-09-22 16:25:37 -04:00
6f35e2cdea fix: close SSE stream when error occurred 2024-09-22 16:23:38 -04:00
15f680c4d0 feat: update retry algorithm for qstash
avoids dlq until it has to
2024-09-22 16:12:19 -04:00
00d0f641a4 fix: update source priorities for anify 2024-09-22 15:53:49 -04:00
3d0c76444e fix: flakiness in promiseTimeout test 2024-09-22 15:49:14 -04:00
896228961e fix: add failure reason for internal "new episode" response 2024-09-22 15:46:24 -04:00
1013d22024 fix: add error logging in fetchFromMultipleSources 2024-09-22 15:46:08 -04:00
79d856b18d fix: improve authentication SSE 2024-09-22 15:22:41 -04:00
ac53b65147 fix: avoid scheduling next episode notifications on localhost 2024-09-22 15:20:49 -04:00
ecbddbc574 fix: remove query params from getCurrentDomain 2024-09-22 15:20:22 -04:00