Commit Graph

221 Commits

Author SHA1 Message Date
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
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
a740fa3e93 fix: foreign key constraint errors happening in tests 2024-09-21 15:08:49 -04:00
ea80ceeb6f fix: forgot to generate migration for new table 2024-09-21 15:05:03 -04:00
3dba56cb45 feat: return user info when authenticating 2024-09-21 14:02:07 -04:00
755ae4b94f feat: store unreleased titles where first episode time is unknown 2024-09-21 13:45:37 -04:00
c1bf12de4f feat: associate device id with username when logging in 2024-09-21 13:18:16 -04:00
209a0b477d test: comment out failing test 2024-09-20 00:09:26 -04:00
432da61aec feat: support fetching "currently watching" titles when logging in 2024-09-20 00:06:22 -04:00
079a9402e4 ci: pin bun version 2024-09-19 15:59:49 -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
45cc0cd36a feat: cancel "new episode" route early if no user is watching the title anymore 2024-09-13 12:06:42 -04:00
71799e4ae8 fix: handle case where message id may not exist 2024-09-13 12:06:18 -04:00
192d89ae3b fix: remove deduplication from "queue initialization" script 2024-09-13 11:58:55 -04:00
6e28cc0ddb fix: episode being scheduled incorrectly 2024-09-13 09:13:28 -04:00
76ed45558d fix: internal "new episode" route throwing error code 1042 in prod 2024-09-10 23:10:56 -04:00
b3738184c9 chore: add logging for internal "new episode" route 2024-09-10 22:41:40 -04:00
47b58c34d8 fix: url incorrect when verifying QStash header 2024-09-10 22:34:43 -04:00
c532507b0f fix: new episode retry 2024-09-10 22:34:17 -04:00
56b2677eaf fix: readEnvVariable throws error when variable is string 2024-09-10 22:17:40 -04:00
a421fe66d9 fix: title_messages schema to fix on conflict insertion 2024-09-10 22:16:49 -04:00
25ed096b38 feat: create script to initialize "next episode" queue 2024-09-09 05:07:21 -05: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
38195776c2 fix: upcoming titles notifying about titles that are already airing 2024-09-08 17:42:28 -05:00
cc9bb8ab4d feat: add middleware to update "last connected at" when a request comes in
relies on a header named "X-Aniplay-Device-Id"
2024-09-08 16:32:31 -05:00
01aef0ad95 chore: upgrade dependencies 2024-09-08 14:56:31 -05:00
090a7504aa refactor: create getCurrentDomain helper function 2024-09-08 14:36:36 -05:00
d4a5a4fbb1 refactor: move non-public routes to internal subfolder
"non-public" in this case means only used for event handling (and not supposed to be called by clients)
2024-09-08 14:35:28 -05:00
ff5e81f5d1 fix: remove days as unit for "new series" alerts
this will give at least some specificity if it's going to be released in a day or more
2024-09-08 14:04:56 -05:00
1d606ef0d3 feat: support sending "new episode" notifications to devices 2024-09-08 13:46:14 -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
7f950d5dc3 fix: improve notification body for upcoming titles 2024-09-03 22:07:31 -04:00
96cf212106 fix: change upcoming titles to only notify about Japanese titles 2024-09-03 22:06:52 -04:00