Releases: bvdcode/cotton
Releases · bvdcode/cotton
Release 0.2.109
Merge branch 'develop'
Release 0.2.108
Improve Postgres extension setup and type reloading Refactor EnsurePostgresExtensionsAsync to ensure the DB connection is open before creating extensions, and reload Npgsql types after extension creation. Conditionally close the connection if it was not previously open. Add Npgsql import for type reloading. Also, reorder using directives in several files for consistency.
Release 0.2.107
Notify admins on automatic database restore completion Added notification logic to inform all admin users when the server automatically restores the database from a backup. Introduced new notification templates and metadata, and integrated notification sending into the database auto-restore workflow. Logs a warning if no admins are found.
Release 0.2.106
Handle missing tables and ensure PG extensions on restore Improve error handling in SettingsProvider by catching undefined table exceptions. After database restore, automatically create required PostgreSQL extensions (citext, hstore) if missing. These changes enhance application robustness during startup and restore operations.
Release 0.2.105
Add DB backup job, upload script, and event improvements
- Add script.sh: Bash CLI for chunked uploads with progress, parallelism, and auth (cookie/session support)
- Add IPostgresDumpService and PostgresDumpService for pg_dump-based DB backups
- Add DumpDatabaseJob: scheduled DB dump, chunking, upload, and manifest management
- Install PostgreSQL client in Dockerfile for backup support
- Add PerfTracker.IsNightTime() and skip jobs at night (ClearTempFolderJob, ComputeManifestHashesJob)
- Improve realtime event invalidation logic to scan payloads for node IDs (useFilesRealtimeEvents.ts)
- Throttle root node background resolves in nodesStore.ts (10 min min interval)
- Switch i18n language persistence to cookie ("cotton_lng")
- Misc job improvements and TODOs
- Register IPostgresDumpService in DI; set TZ from server settings
Release 0.2.104
Merge branch 'develop'
Release 0.2.103
Refactor upload queue list rendering and sorting logic Extract UploadTaskList component for virtualized task list rendering and custom scrollbar styling. Replace direct Virtuoso usage in UploadQueueWidget. Optimize performance with useMemo for sorting and stats. Refactor sortTasksByPriority and calculateUploadStats for clarity and efficiency.
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