What's Changed
Tip
Check out the analytics dashboard! You can help contribute to the dashboard by enabling analytics in Settings > System & Admin
Security:
- [High] Archive extraction now bounds symlink target resolution under the extract destination and rejects absolute or
..link text, including chained symlinks created during the same extract. This closes a follow-up escape path related to GHSA-jg32-ppcc-ph62 (#3404, #3384). - [High] Server-side archive create (
POST /api/resources/archive) now resolves the full destination path for writes via symlink-scoped mutation resolution, closing arbitrary host file overwrite through an in-scope symlink leaf (GHSA-jg32-ppcc-ph62) reporter @manus-use - [Moderate]
GET /api/media/subtitlesno longer follows symlink external subtitle sidecars beside the video file, and public share requests resolve sidecar paths under the share prefix before read (GHSA-hfvf-2639-p2mq) reporter @manus-use - [Moderate] Directory motion-preview now resolves symlinked children within the caller's scope, closing the incomplete GHSA-g2q5 remediation path through
getDirectoryPreview(GHSA-2546-vf4j-vh9v) reporter @manus-use - [Moderate] RealPathCache entries for affected index paths are invalidated after symlink-scoped mutations so stale resolved paths cannot bypass containment on subsequent create, write, delete, or move operations.
- [Moderate] File watcher, download, view, upload, copy, and WebDAV now enforce per-path access rules on symlink-resolved targets, so DENY rules and scope boundaries cannot be bypassed via a link inside an allowed folder (GHSA-823x-gh7f-grmf) reporters @ch4rlesexe @manus-use @zohuyhieuzo03 @c3p31113
New Features:
- Added Storage Quotas
- configurable by folder, source, user, and share.
- Administrators can create, edit, view, and delete folder quotas through the interface.
- Quota information now appears in source views, share details, sidebar progress bars, and folder prompts.
- Enhancements to the editor (#2714):
- Added a floating button to open a resizable split view with live editing for markdown files, the scrolling is synced in both sides and scrolling in single-view modes (the viewer and editor in non-split) now also tries to sync with each other so you don't lose context easily.
- Added a toolbar: This toolbar is present on all the files.
- Added a prompt to configure some editor settings in UI, that prompt is accessible via the toolbar in the three-dots menu, there you can configure things like:
- Word wrap, keybinds, autocompletion, scrollbar, etc.
- The markdown viewer now supports rendering LaTeX Math and Chemistry formulas.
- Improved and fixed some styles that weren't following the app light/dark theme (#2949).
- Proxy auth group support:
groupsClaim,adminGroup, anduserGroupsnow control role-based access when the proxy sends a group/role header (#2755). Admin is determined byadminGrouponly. - Support for
.elrc(word-by-word lyrics),.vtt,.srtsidecar files for lyrics in audio files in the media player. (#2838) - Added setting to configure the placement of the prompts close button in profile settings (#2853) (#2595).
- Added "New file templates". You can now add and configure pre-defined filenames + extension for the creation of new files in the context menu on profile settings! (#2881) (#1239).
- sidebar links can be bulk edited as yaml (#1963) (settings > user management)
- admins can customize more defaults:
- Sort header in file listings inside prompts like move/copy/quick jump, is now sticky. Also added a button to show a search input and filter the items of the current listing (#3028).
- Quick jump now scrolls and highlights the current item you are previewing (#3028).
- When hovering
dateandnamein the listings, will show up the formatted/raw date (the inverse of what you have configured to display) and the full filename (#3028) (#2623). - User groups can now be managed from the WebUI under
User Management->Groupsand when editing a user (#2983) (#3040). - feat(cache): add server.cacheDirMaxSizeMB to cap the preview cache size (#3314)
- Square image previews: avoid the full-resolution crop copy in imaging.Fill (#3340)
- feat(search): sidebar File actions and close button in advanced search (#3303) (#2479) (#3303)
- chunked uploads for large files like rclone
--owncloud-chunk-size(#3112) @paoValle - File tree sorting is now alphabetical with pinned indicators (#3154) @Kurami32
- User and group picker with partial, case-insensitive search when creating access rules (#3085), assigning groups on user edit, and choosing members on group edit.
- New
PUT /api/access/user-groupsendpoint that atomically replaces a user's group memberships. - feat(search): configure the advanced search result limit (#3058) @beemines
- feat(listing): add sortable Date added and Type columns (#3052) @dweebzxx
- feat(archive): suggest and preview ZIP filename encodings (#3024) @AnaTofuZ
Notes:
- Markdown math rendering now uses Temml (MathML) instead of KaTeX; frontend and backend dependencies updated (#3241)
- WebDAV upload handling hardening (#3151)
- Listing highlight now follows the item shown by next/previous navigation (#3156) @Kurami32
- Updated frontend dependencies (#3228) @Kurami32
- Dev: fixed vite warnings and dev-server origin restriction (#3155) @Kurami32, updated linting and tests on macOS (#3231), fixed markdown screenshot tests (#3171)
- Removed "Editor quick save" setting (
userDefaults.fileViewer.quickSave), the save button is now always present in the editor toolbar. (#3122) - add Basque (eu) translation and fix Spanish (es) strings (#3118)
- Group API breaking changes:
POST /api/accessreturns 400 whenruleCategory=groupnames a nonexistent group orruleCategory=usernames a nonexistent user, group endpoints return 400/409 instead of 500 for client errors, andPUT /api/access/groupaccepts acreateflag and returnsunknownMembers. Existing database records are unaffected; no migration is required. - Add soft wrap option to the editor config (#3063)
- add better screenshot view handling (#3059)
- Update nl.json (#3089) @Stephan-P
- update german translations (#3062) @fehnomenal
- Update dev dependencies, add biome, fix types and linting (#3075) @Kurami32
- Moved
auth.adminUsernameandauth.adminPasswordtoauth.methods.password(legacy top-level keys are migrated automatically on load). - An Admin can remove a
defautlEnabledsource for a user and it will remove removed until an admin adds it back. - Enhancements to cross-source copy/move permissions and behavior.
- Improved resume upload behavior.
- Play/pause on videos in mobile now is toggled by the button in the middle rather than the whole container (#2828).
- improved video thumbnail generation speed and efficiency.
- Added icons based on extension to the upload prompt and new file/folder/rename prompts (#2881).
- Profile settings show minimal options by default. Full advanced profile settings can be shown by default by enabling
account.showAdvancedProfile. - sidebar links/navigation is button group toggle for clearer visibility
- Pop-up preview has 200ms debounce delay so it doesn't flash from moving the cursor across files quickly.
- Polished a bit some styles across various places of the UI (#3019) (#3028).
- Moved
Access ManagementunderUser Managementin the UI (#3040). - improved developer experience with native vue webhook reloads.
- improved ffmpeg handling and concurrency via library upgrades
Upgrade notes (Unix socket listeners):
- If you listen on a filesystem
http.socketwithhttp.trustProxyHeaders: true, sethttp.unixSocketTrustedUIDsand/orhttp.unixSocketTrustedGIDsto the UID/GID(s) from Linux peer credentials (SO_PEERCRED) that may setX-Forwarded-*. A GID allowlist trusts every peer with that GID (for example when the proxy and FileBrowser share a group), not only one process. If you relied on empty allowlists before, sethttp.unixSocketTrustAllLocalPeers: true(a warning is logged). - Default
http.socketFileModeis0660; use optionalhttp.socketGroupwhen the proxy runs as another user in the same group.
Bug Fixes: See v2.1.x version changelogs for your specific bug, too many to list here.
Full Changelog: v2.0.2-stable...v2.1.0-stable