Releases: bvdcode/cotton
Releases · bvdcode/cotton
Release 0.2.102
Remove server-side pagination from Files page Files page now always loads all children for a folder in both list and tiles views, removing all server-side pagination logic and related state. Updated hooks, store, and components to fetch and cache the full folder content. ListView now uses client-side pagination only. RecentFilesCard layout improved and limited to 9 files. The UI no longer supports paginated loading from the server.
Release 0.2.101
Ensure stable breadcrumbs in List mode by loading metadata Added a useRef and useEffect to fetch node metadata (without children) in List layout mode, ensuring breadcrumbs remain stable even when children are paginated. Prevent redundant fetches by tracking loaded nodeIds.
Release 0.2.100
feat: optimize UploadQueueWidget for better rendering and performance
Release 0.2.99
Improve bulk actions, selection, UI, and media features
Major improvements to file/folder selection, bulk actions, and UI responsiveness:
- Selection mode auto-exits when all items are deselected; long-press logic and selection state are more robust.
- Bulk delete logic refactored into new hooks for centralized dialogs, error handling, and progress tracking.
- Overflow-aware action bar for file/folder pages; actions moved to menu on small screens.
- Home page now shows "Recent Files" card with skeleton loading and empty state.
- File/folder lists and trash use paginated data hooks with improved loading/error handling.
- Media lightbox refactored for modularity, better touch controls, and robust download/share actions.
- UI consistency for selection, delete, and empty trash actions; improved accessibility and color handling.
- Drag-and-drop overlays only appear for file drags.
- Upload file picker uses `hidden` attribute and improved File System Access API type safety.
- Response header parsing for total counts is robust and centralized.
- View mode logic refactored into utility file; share page state resolved via utility.
- New translation keys for actions and UI elements; legacy error/snackbar components replaced with new toast.
- Dependency updates for security and compatibility.
Backend:
- Centralized content-type detection for uploads and batch jobs.
- New `/layouts/{layoutId}/recent` endpoint for recent files.
- Unified HTML builder for share link social preview meta tags.
- New integration tests for content-type detection and social preview.
Other notable changes:
- Selective node content snapshotting for persisted state.
- New AppToast component for improved notifications.
- AudioLyricsView: more visible lines, highlight delay, improved typography.
- AudioPlayer: shuffle button, improved controls.
- OneTimeCodeInput: improved styling.
- UploadManager: refactored file handling.
- New audio playlist builder utility.
- HEIC converter: browser capability detection, improved caching/cleanup.
Release 0.2.98
Add folder sharing, audio player, bulk trash delete, i18n - Added folder (node) sharing via tokens, new API endpoints, and shared folder browsing UI. - Introduced audio player bar with playlist, shuffle, and lyrics support; added audio/video preview improvements. - Trash page now supports multi-select and bulk permanent deletion, including correct handling of wrapper nodes at the root. - Refactored preview generation: new fields for small/large preview hashes, improved audio/video cover extraction, and updated database schema. - Added sharedFoldersApi for public/shared folder access and file operations. - Improved file/folder selection UX, bulk actions, and conditional action buttons. - Enhanced gallery/lightbox transitions, breadcrumbs, and search navigation. - Added server info API and store, improved server settings logic, and updated dependency versions. - Implemented user-scoped store cache reset to prevent cross-user data leaks. - Improved localization, pluralization, and added Spanish translations. - Various bug fixes, code cleanups, and UI/UX polish.
Release 0.2.97
feat: implement username validation and normalization across user man…
Release 0.2.96
feat: refactor WebDavPutFileRequestHandler for improved validation an…
Release 0.2.95
feat: refactor WebDavCopyRequestHandler for improved error handling a…
Release 0.2.94
refactor: simplify reduction percent calculation and clean up unused …
Release 0.2.93
feat: enhance email template renderer and add detailed documentation …