Commit Graph

165 Commits

Author SHA1 Message Date
f9d7a6bbd2 feat: allow associating an existing device ID and token with a username 2024-06-16 08:24:28 -04:00
21d99d1b5c fix: read exit code of bun test in test runner
this will avoid duplicate error output
2024-06-15 20:14:51 -04:00
767f828aae fix: failing verify FCM token test
due to incorrect fake admin SDK JSON
2024-06-15 19:06:49 -04:00
1c8d5a1a42 fix: test runner not exiting with code 1 when test fails 2024-06-15 19:05:55 -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
be2e7ffa98 chore: update env typings 2024-06-15 05:47:44 -04:00
7675867549 feat: create lib function to verify FCM token 2024-06-15 05:47:44 -04:00
20ca88fda9 test: don't log console errors when SHOULD_LOG_ERRORS is false 2024-06-15 05:39:38 -04:00
231ed4bde4 feat: create route to store FCM token 2024-06-14 18:14:10 -04:00
9368ced0f7 test: cleaned up test runner 2024-06-13 06:17:40 -04:00
64b144612a fix: db port used in tests 2024-06-13 06:17:40 -04:00
8f861ceca0 ci: use libsqld server in CI instead of Turso CLI 2024-06-13 06:17:39 -04:00
e0a735ef0a fix: test runner path 2024-06-13 06:17:35 -04:00
0a859e0f16 feat: create route to handle updating watch status in AniList 2024-06-12 15:01:26 -04:00
06bb8f65fb feat: set up Drizzle 2024-06-12 09:31:12 -04:00
5843dfdeb2 chore: update Env declaration to extend Record<string, unknown> 2024-06-09 11:01:03 -04:00
784ac77e08 fix: generated Env declaration not extending HonoEnv 2024-06-09 10:48:36 -04:00
eb0a45b484 fix: "adapter is not a function" error 2024-06-08 12:00:23 -04:00
c47c042917 fix: use anify as last source if other sources aren't recognized 2024-06-08 11:43:17 -04:00
1ccd004c77 fix: fetchFromMultipleSources returns errorOccurred only if all sources fail 2024-06-07 23:42:41 -04:00
c35c9b9e09 feat: add more error handling 2024-06-07 23:26:37 -04:00
6fd2cc4feb feat: emit errors as part of fetchFromMultipleSources 2024-06-07 22:39:30 -04:00
4812e56296 feat: add limit parameter to search API 2024-06-07 22:08:59 -04:00
ad61f3d18a test: add response snapshots for larger responses 2024-06-05 07:17:16 -04:00
204a618385 ci: disable "verify env" step
Until https://github.com/cloudflare/workers-sdk/issues/5082 is fixed
2024-06-04 08:59:11 -04:00
0dfdd45143 ci: use git when running as an Action 2024-06-04 08:40:56 -04:00
591c9e20c4 feat: create script to verify env is up to date 2024-06-03 09:15:23 -04:00
5e0de6387d refactor: move generateEnv script inside folder 2024-06-03 09:15:02 -04:00
f2b9d10a16 feat: run prettier on env declaration file at end 2024-06-03 08:39:42 -04:00
9f899ac6d1 refactor: create generic function to log steps, fix type 2024-06-03 08:39:42 -04:00
9c1559bce5 feat: create script to generate Env type 2024-06-03 08:29:00 -04:00
f56f844a88 chore: update env variables 2024-06-03 07:42:40 -04:00
be5dedc51c fix: remove legacy route 2024-06-03 07:23:46 -04:00
79fd51951b feat: support legacy routes
Summary:

Test Plan:
2024-06-02 06:46:22 -04:00
d2645028c5 fix: missing path parameter in OpenAPI route for fetchStreamUrl
Summary:

Test Plan:
2024-05-30 23:01:49 -04:00
c0ef6838fc feat: add Amvstrm as provider for stream URL
Summary:

Test Plan:
2024-05-30 22:48:02 -04:00
7e3c818828 feat: add Consumet as provider for stream URL
Summary:

Test Plan:
2024-05-30 09:47:07 -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
7aab9a19ec feat: create route to fetch stream URL from provider
Summary:

Test Plan:
2024-05-30 08:44:20 -04:00
8b6aecca5c refactor: move fetchEpisodes in to subfolder 2024-05-29 08:38:37 -04:00
d19f76689c feat: set fetchEpisodes as operation id
Summary:

Test Plan:
2024-05-29 08:23:33 -04:00
b661b59078 feat: add Amvstrm as source for /episodes
Summary:

Test Plan:
2024-05-26 13:22:03 -04:00
e91f92354c fix: import Consumet source dynamically for episodes route
Summary:

Test Plan:
2024-05-26 13:22:03 -04:00
13f923ab92 feat: use Wrangler auto-generated env variables
Summary:

Test Plan:
2024-05-26 13:22:03 -04:00