Commit Graph

195 Commits

Author SHA1 Message Date
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
ae04542ef9 fix: rename route from /upcoming/titles to /upcoming-titles 2024-09-02 13:41:27 -04:00
690b5aa426 fix: verifyQstashHeader now returns false when SignatureError is thrown 2024-09-02 13:19:57 -04:00
9694c0ee0d fix: pass path of request to qstash 2024-09-02 13:07:01 -04:00
4fe22bccf3 feat: support sending "new title" alerts to devices 2024-09-02 13:02:05 -04:00
ae99918524 chore: disable consumet temporarily 2024-08-31 20:33:57 -04:00
208672529b chore: pin commit for consumet dependency
bun on ci fails to install dependency if commit isn't specified for whatever reason
2024-08-26 22:23:16 -04:00
a9fa2baafe fix: userPreferred best matches not being matched properly 2024-08-26 22:12:00 -04:00
342e2c2bd8 fix: use string matching to map to correct title in Aniwatch 2024-08-26 21:55:11 -04:00
dac2040e36 fix: default to english title when searching aniwatch 2024-08-19 08:39:34 -04:00
71f1682ae2 fix: ignore some tests 2024-08-18 23:08:20 -04:00
1a06eb51eb refactor: replace amvstrm source with aniwatch 2024-08-18 21:37:13 -04:00
0bcc547ede chore: update consumet 2024-08-18 21:36:49 -04:00
36aa521bf8 feat: change amvstrm to point to self hosted instance 2024-08-18 17:05:53 -04:00
30abd1eba8 chore: add "tower of god s2" to anify denylist 2024-08-18 16:09:01 -04:00
ec150f81ea fix: update amvstrm url 2024-08-18 16:08:28 -04:00
c88ef4dcc9 feat: re-enable Anify source 2024-08-12 18:56:53 -04:00
0e30b6b7d3 fix: update anify url 2024-08-12 18:56:25 -04:00
713bb59780 chore: add extra error log with error for /watch-status
used as test
2024-08-04 12:24:25 +02:00
d3bde92964 ci: add db migration to CD 2024-07-05 11:35:44 -04: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
ad84175d6b test: throw if either db commands fail 2024-06-29 10:20:06 -04:00
acdfc7eda4 docs: add error status codes for /token 2024-06-16 08:48:20 -04:00
3b1fe66261 refactor: created custom error for a token already exists 2024-06-16 08:47:07 -04:00
f9d7a6bbd2 feat: allow associating an existing device ID and token with a username 2024-06-16 08:24:28 -04:00
e8aebac6d4 chore: remove example Cloudflare bindings 2024-06-15 20:29:21 -04:00