Commit Graph

119 Commits

Author SHA1 Message Date
d2c09f5d0f feat: add ctx menu to recent file items 2025-10-29 00:00:52 +00:00
952a0e41b4 feat: add className prop to MiddleTruncatedText 2025-10-29 00:00:23 +00:00
8f194eec55 chore: remove console log 2025-10-28 20:26:35 +00:00
a8c7a8f60b feat: basic recent file browsing 2025-10-28 20:26:28 +00:00
7fe5184e81 fix: remove file preview dialog in trash page 2025-10-28 19:58:24 +00:00
3209ce1cd2 chore: remove unused import 2025-10-21 23:58:18 +00:00
af5d887bd1 fix: update last accessed at on open file 2025-10-21 23:54:25 +00:00
a862442979 chore: remove bun dev line elision 2025-10-21 23:45:35 +00:00
6234c5efd3 feat: initial impl of file proxy 2025-10-21 23:45:04 +00:00
6eded27121 feat[cli]: add run script for cli 2025-10-20 00:18:33 +00:00
0307cbbf61 style[convex]: reorganize imports 2025-10-20 00:17:50 +00:00
d0893e13be feat[convex]: api key auth support 2025-10-20 00:17:41 +00:00
a4544a3f09 feat[cli]: new admin cli
new admin cli for general admin task. only supports api key generation
for now
2025-10-20 00:15:42 +00:00
14e2ee1e28 feat[auth]: custom hasher & api key validation
Co-authored-by: Ona <no-reply@ona.com>
2025-10-20 00:14:50 +00:00
e58caa6b16 feat: auth pkg and file proxy scaffold
Co-authored-by: Ona <no-reply@ona.com>
2025-10-19 17:05:15 +00:00
c0f852ad35 fix: directory table optimistic update
fix optimistic update not working for directory table and trash table
2025-10-18 22:58:23 +00:00
efd4eefa49 fix: trash page breadcrumb
Co-authored-by: Ona <no-reply@ona.com>
2025-10-18 20:14:13 +00:00
1ae649850a feat: make dir path breadcrumb generic 2025-10-18 19:55:14 +00:00
cd9dee9371 refactor: add import maps for generated code
- Add export mappings in @fileone/convex package.json for cleaner imports
- Map @fileone/convex/dataModel to _generated/dataModel.d.ts
- Map @fileone/convex/api to _generated/api.js
- Map @fileone/convex/server to _generated/server.js
- Update all imports across packages/convex and apps/drive-web
- Maintain backward compatibility with _generated/* exports

Co-authored-by: Ona <no-reply@ona.com>
2025-10-18 19:32:05 +00:00
25796ab609 refactor: migrate to vite and restructure repo
Co-authored-by: Ona <no-reply@ona.com>
2025-10-18 14:02:20 +00:00
83a5f92506 feat: implement comprehensive access control system
- Add authorizedGet function for secure resource access
- Implement ownership verification for all file/directory operations
- Use security through obscurity (not found vs access denied)
- Optimize bulk operations by removing redundant authorization checks
- Move generateFileUrl to filesystem.ts as fetchFileUrl with proper auth
- Ensure all database access goes through authorization layer

Co-authored-by: Ona <no-reply@ona.com>
2025-10-16 21:43:23 +00:00
b802cb5aec feat: add last access time to files 2025-10-16 20:56:16 +00:00
49b76934b2 feat: show upload success in upload dialog title 2025-10-13 22:55:25 +00:00
2ed8be94f1 feat: upload file dialog err handling & new flow
- add basic err handling to upload file dialog.
- rework the upload flow. now, on all successful uploads, the dialog
won't auto disappear. if some fails, the dialog will allow for retry.
2025-10-12 23:48:21 +00:00
b17de812b9 feat: show in progress upload in upload btn 2025-10-12 17:09:42 +00:00
0c7e4c43e7 feat: decouple btn loading from disabled state 2025-10-12 17:09:11 +00:00
03d36a2c80 feat: implement empty trash 2025-10-12 14:31:02 +00:00
5eff2fa756 fix: upload dialog title in root dir 2025-10-12 13:22:59 +00:00
0e460370da feat: initial bulk file upload dialog 2025-10-12 00:43:31 +00:00
bcc0f9f5e2 fix: duplicate outlet in _authenticated 2025-10-12 00:43:05 +00:00
bf2087cded refactor: migrate betterauth to local install
also added a login page

Co-authored-by: Ona <no-reply@ona.com>
2025-10-05 23:25:20 +00:00
f7bc5fd958 fix: root directory creation
Co-authored-by: Ona <no-reply@ona.com>
2025-10-05 22:14:44 +00:00
1fcdaf4f86 feat: improve sign up form err handling 2025-10-05 20:49:41 +00:00
483aa19351 refactor: use betterauth instead of workos 2025-10-05 20:21:45 +00:00
b654f50ddd fix: broken dir path breadcrumb links 2025-10-05 15:01:55 +00:00
33b235517c feat: impl file/dir restoration from trash 2025-10-05 14:29:45 +00:00
4978a173a8 feat: global progress indicator in sidebar
add a global progress indicator in the dashboard sidebar that can be
used to indicate progress for any background task

Co-authored-by: Ona <no-reply@ona.com>
2025-10-05 14:17:12 +00:00
4686744fd0 feat: add file preview in trash page 2025-10-05 13:29:17 +00:00
b745ad273e feat: make empty trash btn destructive
Co-authored-by: Ona <no-reply@ona.com>
2025-10-05 13:25:16 +00:00
7c29f642f1 feat: make move to trash ctx menu item destructive 2025-10-05 00:59:02 +00:00
6eef4d9c30 fix: sidebar items not highlighted in non-root dir
fix all files and trash items not highlighed when navigated into
non-root dirs
2025-10-05 00:55:12 +00:00
9149243e95 fix: root label not applied for non-root dirs
fix breadcrumb root label not correctly displayed when breadcrumb is
displaying path for non-root dirs
2025-10-05 00:54:22 +00:00
b43a88c6fc feat: tailor root breadcrumb label
in all files page, the root breadcrumb label says "All Files", and
"Trash" in trash page
2025-10-05 00:48:36 +00:00
94b35df0e5 fix: no hover effect for no result row 2025-10-05 00:46:29 +00:00
19e52feebb impl: permanent file deletion
implement trash page and permanent file deletion logic

Co-authored-by: Ona <no-reply@ona.com>
2025-10-05 00:41:59 +00:00
e806d442b7 fix: duplicate toast import 2025-10-04 15:20:32 +00:00
57369d10fe fix: rename dialog not working 2025-10-04 15:19:50 +00:00
9282e75bef fix: directory content table context menu
fix radix throwing event.preventDefault is not a function error on right
click in DirectoryContentTable

Co-authored-by: Ona <no-reply@ona.com>
2025-10-04 14:56:53 +00:00
875aae74e8 refactor: make dir content table reusable 2025-10-04 14:09:25 +00:00
c2d9010508 feat: add trash page 2025-10-03 23:23:05 +00:00