github AtalayaLabs/OxiCloud v0.3.3

latest releases: v0.6.0, v0.5.6, v0.5.5...
3 months ago

What's Changed in v0.3.3

🐛 Bug Fixes

  • File rename not working: Fixed a race condition in the context menu where closeFileContextMenu() nullified the target file reference before the rename dialog could use it. Rename now captures the target in a dedicated renameTarget field that survives context menu cleanup. (fb65d19)
  • File/folder delete returning 401: The delete and trash handlers required mandatory auth extractors (CurrentUserId, AuthUser) that failed when authentication wasn't configured. Added new infallible extractors OptionalUserId and OptionalAuthUser — delete now works with auth (trash-first) and without auth (permanent delete). (fb65d19)
  • Folder delete same 401 issue: Applied the same OptionalAuthUser fix to delete_folder_with_trash and the generic move_to_trash handler for consistency. (fb65d19)
  • View file context menu crash: The "View file" option used .then()/.catch() without async/await, causing closeFileContextMenu() to run synchronously and nullify the file reference before the async callbacks could use it. Fixed by capturing the file in a local variable before the fetch. (fb65d19)
  • Orphaned ID mappings on file delete: FileFsWriteRepository::delete_file removed the physical file but didn't clean up its entry in the ID mapping service, leaving stale entries in file_ids.json. Now calls remove_id() + save_changes() after deletion. (fb65d19)
  • Authorization: Bearer null headers: Multiple JS files sent Authorization: Bearer null when no token was present, potentially causing 401 errors. Added null guards in contextMenus.js, app.js, and favorites.js consistent with the safe getAuthHeaders() pattern. (fb65d19)

⭐ Favorites

  • Favorites not displaying in Favorites tab: GET /api/files/{id} always returned the binary file content, so the favorites module couldn't parse metadata. Added ?metadata=true query parameter support that returns JSON metadata instead of the file body. (5c53d94)
  • Star indicator on favorited items: Favorited files and folders now show a ⭐ star icon — top-left corner in grid view, inline next to the name in list view. The star appears/disappears immediately when toggling favorites from the context menu. (5c53d94)

Full Changelog: v0.3.2...v0.3.3

Full Changelog: v0.3.2...v0.3.3

Don't miss a new OxiCloud release

NewReleases is sending notifications on new releases.