Commit Graph

11 Commits

Author SHA1 Message Date
94d6a22ab2 refactor: update remaining error imports to use ErrorCode
- Replace Err.Code with ErrorCode throughout convex model files
- Update error() function calls to use new signature
- Remove unused Err namespace imports

Co-authored-by: Ona <no-reply@ona.com>
2025-11-08 18:03:10 +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
33b235517c feat: impl file/dir restoration from trash 2025-10-05 14:29:45 +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
0e686a1f85 refactor[db]: store time as unix ms
Co-authored-by: Ona <no-reply@ona.com>
2025-10-03 21:23:51 +00:00
30027ae159 feat: check for name conflict on file/dir move
Co-authored-by: Ona <no-reply@ona.com>
2025-09-25 23:12:13 +00:00
29eab87c71 feat: impl multi file/dir moving
Co-authored-by: Ona <no-reply@ona.com>
2025-09-21 17:03:50 +00:00
d6b693b54b feat: basic file drag and drop 2025-09-20 22:25:01 +00:00
9fbd5e678a feat: impl file rename 2025-09-18 00:14:16 +00:00