Commit Graph

22 Commits

Author SHA1 Message Date
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
342e2c2bd8 fix: use string matching to map to correct title in Aniwatch 2024-08-26 21:55:11 -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
3b1fe66261 refactor: created custom error for a token already exists 2024-06-16 08:47:07 -04:00
767f828aae fix: failing verify FCM token test
due to incorrect fake admin SDK JSON
2024-06-15 19:06:49 -04:00
5d528fba52 feat: reject token if it's not valid 2024-06-15 18:56:28 -04:00
dfd709ad1c test: preload mocked modules 2024-06-15 06:24:29 -04:00
d39165c8f6 fix: use project ID in admin SDK json 2024-06-15 06:13:07 -04:00
5dc45fac58 test: add test for invalid ADMIN_SDK_JSON 2024-06-15 06:11:42 -04:00
a9e363e814 chore: change type for adminSdkJson parameter 2024-06-15 06:11:09 -04:00
fd61974740 test: move resetDb to own testing lib function 2024-06-15 06:04:58 -04:00
df7e7432da test: create lib function for getting mocked env variables 2024-06-15 06:01:34 -04:00
7675867549 feat: create lib function to verify FCM token 2024-06-15 05:47:44 -04:00
1ccd004c77 fix: fetchFromMultipleSources returns errorOccurred only if all sources fail 2024-06-07 23:42:41 -04:00
6fd2cc4feb feat: emit errors as part of fetchFromMultipleSources 2024-06-07 22:39:30 -04:00
5e0de6387d refactor: move generateEnv script inside folder 2024-06-03 09:15:02 -04:00
40daf70209 feat: create helper function to read env variables with type safety
Summary:

Test Plan:
2024-05-30 09:46:42 -04:00
6e8fe4f7b0 fix: Anify timeout logic running even when fetch resolved
Summary:

Test Plan:
2024-05-26 13:22:03 -04:00
c5cce2543c feat: create function to sort an array of objects by property
Summary:

Test Plan:
2024-05-24 16:06:36 -04:00
1e1729ae30 feat: create function to handle fetching data from multiple sources
This helps since sometimes the data sources have issues occasionally
2024-05-14 22:44:04 -04:00