Commit Graph

22 Commits

Author SHA1 Message Date
d0c2a21ffd fix: add ResolveRenameOp to handle directory renames
RenameNode was calling Resolve() which generated blob keys for
directories that don't have blobs, causing 'key not found' errors.

Added ResolveRenameOp to BlobKeyResolver interface:
- FlatKeyResolver returns nil (UUIDs don't change on rename)
- HierarchicalKeyResolver returns move op for files and directories

This allows directory renames to work correctly with flat storage,
and leverages os.Rename for atomic directory moves with hierarchical.

Co-authored-by: Ona <no-reply@ona.com>
2026-01-04 23:58:43 +00:00
88492dd876 refactor: account model overhaul 2026-01-01 18:29:52 +00:00
a956481215 fix(backend): move node wrong conflict filtering 2025-12-29 00:36:27 +00:00
eca3b95c3e fix: resolving path for shared item leaks parent info
when an item is shared, their path should stop at the closest directory
that is shared. eg if file c is in shared dir b which is in private dir
a, its public facing path should be b/c, not a/b/c. internally, the real
path is still a/b/c.
2025-12-27 20:25:54 +00:00
1a1fc4743a feat: initial sharing impl 2025-12-27 19:27:08 +00:00
1024f36a9f fix: vfs list children not handling empty rows 2025-12-18 00:47:41 +00:00
f2cce889af impl: dir content pagination 2025-12-17 22:59:18 +00:00
05edf69ca7 refactor: initial frontend wiring for new api 2025-12-15 00:13:10 +00:00
918b85dfd5 feat: support bulk file move in same dir 2025-12-13 19:24:54 +00:00
3ea12cf51a feat: add query param to include dir path in query 2025-12-05 00:38:05 +00:00
3a6fafacca feat: impl refresh token rotation 2025-12-03 00:07:39 +00:00
ca9dfd90b2 feat: impl files endpoints 2025-12-02 22:08:50 +00:00
ccdeaf0364 fix: some weird upload bugs 2025-11-30 19:39:47 +00:00
a3110b67c3 fix: vfs node primary id not generated properly 2025-11-30 19:20:08 +00:00
fb8e91dd47 feat: create root dir on acc registration 2025-11-30 17:37:59 +00:00
0b8aee5d60 refactor: make vfs methods accept bun.IDB 2025-11-30 17:31:24 +00:00
89b62f6d8a feat: introduce account 2025-11-30 17:12:50 +00:00
1c1392a0a1 refactor: replace KeyMode with ShouldPersistKey 2025-11-30 15:02:37 +00:00
6984bb209e refactor: node deletion 2025-11-30 01:16:44 +00:00
987f36e1d2 feat: impl upload service 2025-11-28 22:31:00 +00:00
797b40a35c feat: finish implementing vfs 2025-11-27 22:44:13 +00:00
b1e34f878c wip: vfs implementation 2025-11-27 20:49:58 +00:00