725 Commits

Author SHA1 Message Date
Logan Reeder
715b269bc3 WE'RE BACK
We are so back
2025-11-03 00:49:13 -07:00
logscore
07e3b50da3 POLAR N STuFF 2025-11-03 00:38:24 -07:00
logscore
38b4d2e7c2 CUT MORE SHIT 2025-10-24 22:16:54 -06:00
logscore
b7ee1adb49 IT WORKS 2025-10-24 00:07:07 -06:00
logscore
4b2d19f353 why have db client in context? Big dumb 2025-10-19 21:08:16 -06:00
logscore
c5defe4991 MAKE IT WORK BABBBYYYY 2025-10-17 08:46:39 -06:00
logscore
674b499cf9 ENNVVVVVVVVV 2025-10-13 22:17:45 -06:00
logscore
2e34e91314 TANNNERRRRRRRROUTTERRRRRR 2025-10-13 21:35:00 -06:00
logscore
f52f3fcec4 TANNNERRRRRRRROUTTERRRRRR 2025-10-13 21:06:27 -06:00
logscore
26f6cb1ce2 gimme dat mfin' STRIPE 2025-10-13 19:11:05 -06:00
logscore
67c1362e77 betterauth stripe adapter 2025-10-01 22:04:24 -06:00
logscore
51560a2aaf ditching cloudflare 2025-09-12 14:38:48 -06:00
Logan Reeder
5ce948eee5 merge: remote stagin to local stagin 2025-08-25 17:33:31 -06:00
Logan Reeder
c88eda5230 ci-cd: removed useless things like the eslint and tsconfig packages, we just use oxlint and next lint now. Removed all of the hono context stuff that we didnt need, ran knip a bunch, removed the last of cloudflare, and updated docs and dependencies. Also finalized the db, auth, cache, and other stuff to run in the node environment 2025-08-25 17:10:11 -06:00
Logan Reeder
2dc74e0258 ci-cd: fuck cloudflare. TODO: fix cache connection issue 2025-08-25 09:55:30 -06:00
github-actions
25d10d81f1 Update coverage badge [skip ci] 2025-08-20 01:06:18 +00:00
Abhishek Kumar
501e96fde5 feat: Drag-and-drop support for file upload and file/folder movement (#123)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Logan Reeder <148260300+logscore@users.noreply.github.com>
2025-08-19 19:03:37 -06:00
Logan Reeder
6886c51b12 fix: fixed file upload error & tag query causing slow load times (#134) 2025-08-12 00:01:14 -06:00
David Bauch
8508599286 Merge branch 'main' into staging 2025-08-08 23:23:52 -04:00
David Bauch
42c2dfc012 fix: use upstash and valkey classes not "limit" and "consume" object keys 2025-08-08 23:22:28 -04:00
David Bauch
add79baa8c fix: upstash rate limiter code didn't work 2025-08-08 23:18:13 -04:00
David Bauch
e21688a727 fix: context manager instance just needs to be on context for close() to be accessible properly 2025-08-08 23:03:52 -04:00
David Bauch
4b91e54d4e fix: added waitlist ratelimiting back 2025-08-08 22:41:23 -04:00
Abhishek Kumar
d773308b6e merge: upstream/staging with drag-and-drop-upload and resolve issue 2025-08-06 02:42:28 +05:30
David Bauch
0e60305e42 Merge branch 'SashankBhamidi-fix/dropbox-test-mocks' into staging 2025-08-05 15:20:34 -04:00
David Bauch
6acc153ad4 fix: previous approach is better 2025-08-05 15:20:15 -04:00
David Bauch
d7196553d9 Merge branch 'fix/dropbox-test-mocks' of github.com:SashankBhamidi/Nimbus into SashankBhamidi-fix/dropbox-test-mocks 2025-08-05 15:18:53 -04:00
David Bauch
2326adfc93 fix: google and microsoft prompts need to be consent and select_account. dropbox and box do not have prompt handling 2025-08-05 15:03:31 -04:00
David Bauch
c2da2991f9 fix: revert prompt values. my b everyone 2025-08-05 14:54:56 -04:00
David Bauch
db2db944c3 fix: import.meta.dirname no longer works 2025-08-05 14:11:41 -04:00
github-actions
69e9ec9fa0 Update coverage badge [skip ci] 2025-08-05 17:11:12 +00:00
David Bauch
fc61a6f86e Merge branch 'SashankBhamidi-fix/dropbox-test-mocks' into staging 2025-08-05 13:08:21 -04:00
Sashank Bhamidi
c7ca38006e fix: move console.log to top level for test filtering
Moved console.log outside of conditional block to ensure it runs
at the top level, which is required for proper test filtering to work.

Co-authored-by: David Bauch <jamesbauch@gmail.com>
2025-08-05 22:33:01 +05:30
David Bauch
e705a1105e Merge branch 'fix/dropbox-test-mocks' of github.com:SashankBhamidi/Nimbus into SashankBhamidi-fix/dropbox-test-mocks 2025-08-05 13:00:48 -04:00
Sashank Bhamidi
27c87b25b8 feat: add console log for integration test filtering
Added console.log message to help with test filtering when
DROPBOX_TEST_ACCESS_TOKEN is set, making it easier to identify
when integration tests are running vs being skipped.

Co-authored-by: David Bauch <jamesbauch@gmail.com>
2025-08-05 22:29:38 +05:30
David Bauch
00a8c470ce Merge branch 'fix/dropbox-test-mocks' of github.com:SashankBhamidi/Nimbus into SashankBhamidi-fix/dropbox-test-mocks 2025-08-05 12:51:50 -04:00
Sashank Bhamidi
d218ed9fa8 feat: add smart token validation for Dropbox integration tests
Integration tests now automatically skip when DROPBOX_TEST_ACCESS_TOKEN
is not set, allowing CI to pass without requiring external API credentials.
Tests will run normally when a valid token is provided.
2025-08-05 22:21:08 +05:30
David Bauch
fba3de0b08 Merge branch 'fix/dropbox-test-mocks' of github.com:SashankBhamidi/Nimbus into SashankBhamidi-fix/dropbox-test-mocks 2025-08-05 12:47:45 -04:00
Sashank Bhamidi
063a64fa6f fix: resolve Dropbox API response inconsistencies for folder/file detection
Addressed issue where different Dropbox API endpoints return different response
structures - filesCreateFolderV2 omits .tag field while other endpoints include it.

Changes:
- Added forceType parameter to mapToFile for explicit type handling
- Force folder type for filesCreateFolderV2 responses
- Force file type for filesUpload responses for consistency
- Cleaned up debug logging and made code production-ready
- All 36 unit tests passing, folder creation now correctly returns type 'folder'
2025-08-05 22:15:28 +05:30
Sashank Bhamidi
3efac516f7 docs: add DROPBOX_TEST_ACCESS_TOKEN to env example
Added environment variable for Dropbox integration testing
with instructions on how to generate the token.
2025-08-05 21:59:21 +05:30
Sashank Bhamidi
b5db829bef fix: force folder type detection and add comprehensive debug logging
Added forceType parameter to mapToFile to explicitly mark folder creations.
This bypasses tag detection issues with real Dropbox API responses.
Extensive debug logging added to diagnose API response structure differences.
2025-08-05 21:58:24 +05:30
David Bauch
282d5ccbf0 Merge branch 'fix/dropbox-test-mocks' of github.com:SashankBhamidi/Nimbus into SashankBhamidi-fix/dropbox-test-mocks 2025-08-05 12:26:18 -04:00
Sashank Bhamidi
f0550c531a debug: add logging to understand real Dropbox API response structure 2025-08-05 21:53:54 +05:30
David Bauch
702903a00a Merge branch 'fix/dropbox-test-mocks' of github.com:SashankBhamidi/Nimbus into SashankBhamidi-fix/dropbox-test-mocks 2025-08-05 12:21:49 -04:00
Sashank Bhamidi
5b8f49f445 fix: improve Dropbox API response handling for folder creation
Make mapToFile method more defensive when handling Dropbox API responses.
The real API response structure may vary from TypeScript definitions,
so this handles both expected format and potential variations to ensure
folders are correctly identified as type 'folder' instead of 'file'.
2025-08-05 21:49:58 +05:30
David Bauch
ee5b5ecd8d chore: add integration test dropbox env 2025-08-05 11:57:37 -04:00
David Bauch
29be48d0d9 chore: format 2025-08-05 11:51:34 -04:00
Sashank Bhamidi
5f40958fee fix: resolve mock client state pollution in Dropbox tests
The problematic test was sharing mock client state with other tests.
Created createProviderWithFreshMockClient() to provide isolated mock
clients for tests that need complete isolation from shared state.
The rename/move test now uses its own fresh mock client instance.
2025-08-05 21:16:53 +05:30
Sashank Bhamidi
7c1580af3a fix: resolve persistent Dropbox provider test failure
Simplified the 'should rename/move file' test by removing the isolated
mock approach that was causing issues in CI. The test now uses the
standard mock client pattern consistent with other tests, which
resolves the mock function call count mismatch that was occurring
in CI but not locally.
2025-08-05 21:07:59 +05:30
Sashank Bhamidi
4f913f581a fix: ensure robust mock setup for update test with explicit reset and clear 2025-08-05 21:01:03 +05:30