From da00dd2ba9c563bb6fc8b32bdd578f3a20a37381 Mon Sep 17 00:00:00 2001 From: Graham Steffaniak Date: Fri, 30 Oct 2026 13:04:18 -0500 Subject: [PATCH 1/6] docs(quotas): document delete credits for accounted usage Describe API, bulk, share, and WebDAV delete behavior and nested quota resets; remove outdated v1 delete limitation notes. Co-authored-by: Cursor --- content/en/docs/features/quotas.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/docs/features/quotas.md b/content/en/docs/features/quotas.md index c847f31..fdcb813 100644 --- a/content/en/docs/features/quotas.md +++ b/content/en/docs/features/quotas.md @@ -108,7 +108,7 @@ Uses folder size totals from the search index at the quota root (folder quotas) | Good for caps on **existing data** (projects, shared folders) | **Slow to reflect** new uploads until the indexer updates folder sizes | | Matches sidebar / listing folder sizes users already see | **Out-of-band changes** (rsync, shell copies) count once the index catches up — not instant | | No counter drift from FileBrowser-only semantics | If indexed size is configured but size is **temporarily missing**, enforcement **falls back** to tracked usage until size is known | -| | Does **not** decrease scope usage on delete until delete hooks exist (index updates on delete via indexer) | +| Indexed totals **decrease after delete** when the indexer refreshes folder sizes | **Slow to reflect** deletes until the indexer updates folder sizes | ### Tracked usage (mutation counter) @@ -119,8 +119,8 @@ Counts bytes when FileBrowser-mediated writes are committed (uploads, editor sav | Works **without indexing** — only option when indexing is disabled | Counts **FileBrowser-mediated changes** only, not full disk usage | | **Immediate** reserve/commit on each write — no scan delay | **Starts at 0** when enabled; does not include files already on disk unless you seed (future UX) | | Same model as **share quotas** — predictable for upload links | **Drifts** if files are added/removed outside FileBrowser (SFTP, rsync, shell) | -| Persisted in the database (batched flush) | **Deletes not credited** in v1 — usage may stay high after deletes until delete enforcement lands | -| Admin can choose this even when indexing works (e.g. upload budget only) | Not a substitute for **filesystem disk quota** — logical cap through the app | +| **Deletes credit** accounted usage on API, bulk, share, and WebDAV delete; nested folder quotas **reset** when an ancestor directory is removed | Not a substitute for **filesystem disk quota** — logical cap through the app | +| Admin can choose this even when indexing works (e.g. upload budget only) | Persisted in the database (batched flush) | ### Which should I use? @@ -152,7 +152,7 @@ When any quota applies to the destination: - The client must send a **known total file size** before the upload body is accepted (`Content-Length` or `X-File-Total-Size` for chunked uploads). Otherwise the request is rejected with a clear error. - If the file would exceed the limit, the server responds with **507 Insufficient Storage** and a `quota_*` error code so the UI can show a specific message. -Deletes are not blocked by quotas. Replacing a file only charges the **difference** in size (new size minus old file size). +Deletes are not blocked by quotas. Replacing a file only charges the **difference** in size (new size minus old file size). For **tracked usage** (accounted) quotas, successful deletes through the API (including bulk delete), share delete endpoints, and WebDAV reduce the counter by the removed bytes; deleting a directory **resets** accounted folder quotas rooted inside that tree to zero. Folder sizes and indexing behavior depend on source settings such as `useLogicalSize` — see {{< doclink path="configuration/sources/" text="Sources" />}}. From 9e7ccbfc895af25d592a67af597e7335936cba71 Mon Sep 17 00:00:00 2001 From: Graham Steffaniak Date: Mon, 16 Nov 2026 11:32:50 -0600 Subject: [PATCH 2/6] added new theme reference --- go.mod | 2 +- go.sum | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/go.mod b/go.mod index 90d4ca1..88507bb 100644 --- a/go.mod +++ b/go.mod @@ -9,6 +9,6 @@ go 1.25.0 require ( github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20800 // indirect github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 // indirect - github.com/quantumx-apps/filebrowserDocsTheme v1.4.0 // indirect + github.com/quantumx-apps/filebrowserDocsTheme v1.4.1 // indirect github.com/twbs/bootstrap v5.3.9+incompatible // indirect ) diff --git a/go.sum b/go.sum index 55384ed..e69de29 100644 --- a/go.sum +++ b/go.sum @@ -1,9 +0,0 @@ -github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20800 h1:j5myhhzYwIHTr5ctK96Elfgp5uRROvrlTzYwwe1nF8o= -github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20800/go.mod h1:P5GGyhdxi00C5zW7vkRo/IS532gZY/YS2TS395Xaxho= -github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 h1:GZxx4Hc+yb0/t3/rau1j8XlAxLE4CyXns2fqQbyqWfs= -github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000/go.mod h1:mFberT6ZtcchrsDtfvJM7aAH2bDKLdOnruUHl0hlapI= -github.com/quantumx-apps/filebrowserDocsTheme v1.4.0 h1:7ZqP3DkeUXFcbSkpoQN/MqMsxyFAR135NXRC1mb297c= -github.com/quantumx-apps/filebrowserDocsTheme v1.4.0/go.mod h1:8kTqRQ+TVxgm2zd11pKuA8hzqtP6I361hGV7iojmRd4= -github.com/twbs/bootstrap v5.3.8+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= -github.com/twbs/bootstrap v5.3.9+incompatible h1:POTO16RUeCCSft8198pwj2CRO2SnXLNG6GgHT7DgNyI= -github.com/twbs/bootstrap v5.3.9+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= From f79e65fafc3f5b5c46d830e89f8746c6271021ae Mon Sep 17 00:00:00 2001 From: Graham Steffaniak Date: Mon, 16 Nov 2026 11:37:17 -0600 Subject: [PATCH 3/6] updated theme version --- go.sum | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/go.sum b/go.sum index e69de29..4b9c768 100644 --- a/go.sum +++ b/go.sum @@ -0,0 +1,9 @@ +github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20800 h1:j5myhhzYwIHTr5ctK96Elfgp5uRROvrlTzYwwe1nF8o= +github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20800/go.mod h1:P5GGyhdxi00C5zW7vkRo/IS532gZY/YS2TS395Xaxho= +github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000 h1:GZxx4Hc+yb0/t3/rau1j8XlAxLE4CyXns2fqQbyqWfs= +github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2 v2.21100.20000/go.mod h1:mFberT6ZtcchrsDtfvJM7aAH2bDKLdOnruUHl0hlapI= +github.com/quantumx-apps/filebrowserDocsTheme v1.4.1 h1:OgpT6NsGVHiuAI6mFpN8LtuPeCxBo+pWa2h7Lyx6n2U= +github.com/quantumx-apps/filebrowserDocsTheme v1.4.1/go.mod h1:Sjn9KS8r0sCJJuOafmfiNrn6jFy97uUpn6/zQ802MxA= +github.com/twbs/bootstrap v5.3.8+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= +github.com/twbs/bootstrap v5.3.9+incompatible h1:POTO16RUeCCSft8198pwj2CRO2SnXLNG6GgHT7DgNyI= +github.com/twbs/bootstrap v5.3.9+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= From 54760929e165e65a4d6044525d8c0808d2ecd2b0 Mon Sep 17 00:00:00 2001 From: Graham Steffaniak Date: Mon, 16 Nov 2026 13:51:09 -0600 Subject: [PATCH 4/6] fix dart install --- .github/workflows/pr-checks.yml | 20 ++++++++++++++++---- .github/workflows/static.yml | 6 +++++- .github/workflows/validate-manual.yml | 6 +++++- content/en/docs/changelog/beta.md | 13 ++++++++++++- 4 files changed, 38 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index cbc0a9a..65f610a 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -30,7 +30,11 @@ jobs: with: hugo-version: 'latest' - name: Install Dart Sass - run: sudo snap install dart-sass + run: | + curl -fsSL --retry 3 -o dart-sass.tar.gz https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-linux-x64.tar.gz + tar -xzf dart-sass.tar.gz + sudo mv dart-sass /opt/dart-sass + echo "/opt/dart-sass" >> "$GITHUB_PATH" - name: Setup Node.js uses: actions/setup-node@v4 @@ -60,7 +64,7 @@ jobs: hugo version echo "" echo "Dart Sass version:" - dart-sass --version + sass --version echo "" echo "Node version:" node --version @@ -114,7 +118,11 @@ jobs: with: hugo-version: 'latest' - name: Install Dart Sass - run: sudo snap install dart-sass + run: | + curl -fsSL --retry 3 -o dart-sass.tar.gz https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-linux-x64.tar.gz + tar -xzf dart-sass.tar.gz + sudo mv dart-sass /opt/dart-sass + echo "/opt/dart-sass" >> "$GITHUB_PATH" - name: Setup Node.js uses: actions/setup-node@v4 with: @@ -138,7 +146,11 @@ jobs: with: hugo-version: 'latest' - name: Install Dart Sass - run: sudo snap install dart-sass + run: | + curl -fsSL --retry 3 -o dart-sass.tar.gz https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-linux-x64.tar.gz + tar -xzf dart-sass.tar.gz + sudo mv dart-sass /opt/dart-sass + echo "/opt/dart-sass" >> "$GITHUB_PATH" - name: Setup Node.js uses: actions/setup-node@v4 with: diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 88fc53f..b452b3c 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -40,7 +40,11 @@ jobs: with: hugo-version: 'latest' - name: Install Dart Sass - run: sudo snap install dart-sass + run: | + curl -fsSL --retry 3 -o dart-sass.tar.gz https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-linux-x64.tar.gz + tar -xzf dart-sass.tar.gz + sudo mv dart-sass /opt/dart-sass + echo "/opt/dart-sass" >> "$GITHUB_PATH" - name: Setup Pages uses: actions/configure-pages@v5 diff --git a/.github/workflows/validate-manual.yml b/.github/workflows/validate-manual.yml index b322ec5..87be0d4 100644 --- a/.github/workflows/validate-manual.yml +++ b/.github/workflows/validate-manual.yml @@ -40,7 +40,11 @@ jobs: with: hugo-version: 'latest' - name: Install Dart Sass - run: sudo snap install dart-sass + run: | + curl -fsSL --retry 3 -o dart-sass.tar.gz https://github.com/sass/dart-sass/releases/download/1.108.2/dart-sass-1.108.2-linux-x64.tar.gz + tar -xzf dart-sass.tar.gz + sudo mv dart-sass /opt/dart-sass + echo "/opt/dart-sass" >> "$GITHUB_PATH" - name: Setup Node.js uses: actions/setup-node@v4 diff --git a/content/en/docs/changelog/beta.md b/content/en/docs/changelog/beta.md index 3dbc233..bc3d0c4 100644 --- a/content/en/docs/changelog/beta.md +++ b/content/en/docs/changelog/beta.md @@ -3,7 +3,7 @@ title: "Beta" description: "See what changed in beta versions" icon: "rocket_launch" date: "2026-07-02T23:17:05Z" -lastmod: "2026-10-26T00:00:00Z" +lastmod: "2026-11-16T00:00:00Z" --- {{% alert context="info" %}} @@ -16,6 +16,17 @@ You can also check the releases on [GitHub!](https://github.com/gtsteffaniak/fil --- +## [v2.1.6-beta](https://github.com/gtsteffaniak/filebrowser/releases/tag/v2.1.6-beta) + + **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, closing a follow-up escape path related to [GHSA-jg32-ppcc-ph62](https://github.com/advisories/GHSA-jg32-ppcc-ph62) ([#3404](https://github.com/gtsteffaniak/filebrowser/pull/3404)) + + **Bug Fixes**: + - fix(utils): `IsTextFile` reads only an 8KB sample instead of the whole file, avoiding excessive memory use when classifying large files for the editor, file watcher, and subtitle checks ([#3405](https://github.com/gtsteffaniak/filebrowser/pull/3405)) + - fix(frontend): sidebar source usage bar now shows per-user scope quota (used vs cap) from `GET /api/settings/sources` instead of the parent source partition size when a scope quota is configured ([#3402](https://github.com/gtsteffaniak/filebrowser/issues/3402)) + +--- + ## [v2.1.3-beta](https://github.com/gtsteffaniak/filebrowser/releases/tag/v2.1.3-beta) **Reminder**: consider enabling analytics (it's like steam survey) in admin settings, I will release this dashboard once I have a consistent 100+ reports each week From c88080e319f5b575f5c5c4f93038e7407daaa726 Mon Sep 17 00:00:00 2001 From: Graham Steffaniak <42989099+gtsteffaniak@users.noreply.github.com> Date: Mon, 16 Nov 2026 13:52:38 -0600 Subject: [PATCH 5/6] Update beta.md --- content/en/docs/changelog/beta.md | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/content/en/docs/changelog/beta.md b/content/en/docs/changelog/beta.md index bc3d0c4..d45b0a1 100644 --- a/content/en/docs/changelog/beta.md +++ b/content/en/docs/changelog/beta.md @@ -14,19 +14,6 @@ You can also check the releases on [GitHub!](https://github.com/gtsteffaniak/fil **v2.0.0** requires a config update and one-time database migration from v1.x. See {{< doclink path="getting-started/v2/migration/" text="Migration guide" />}} and {{< doclink path="getting-started/v2/about/" text="About v2.0.0" />}}. {{% /alert %}} ---- - -## [v2.1.6-beta](https://github.com/gtsteffaniak/filebrowser/releases/tag/v2.1.6-beta) - - **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, closing a follow-up escape path related to [GHSA-jg32-ppcc-ph62](https://github.com/advisories/GHSA-jg32-ppcc-ph62) ([#3404](https://github.com/gtsteffaniak/filebrowser/pull/3404)) - - **Bug Fixes**: - - fix(utils): `IsTextFile` reads only an 8KB sample instead of the whole file, avoiding excessive memory use when classifying large files for the editor, file watcher, and subtitle checks ([#3405](https://github.com/gtsteffaniak/filebrowser/pull/3405)) - - fix(frontend): sidebar source usage bar now shows per-user scope quota (used vs cap) from `GET /api/settings/sources` instead of the parent source partition size when a scope quota is configured ([#3402](https://github.com/gtsteffaniak/filebrowser/issues/3402)) - ---- - ## [v2.1.3-beta](https://github.com/gtsteffaniak/filebrowser/releases/tag/v2.1.3-beta) **Reminder**: consider enabling analytics (it's like steam survey) in admin settings, I will release this dashboard once I have a consistent 100+ reports each week From 081b80141efbec96eb98497b82fa7a6045a77e18 Mon Sep 17 00:00:00 2001 From: Graham Steffaniak Date: Mon, 16 Nov 2026 13:55:45 -0600 Subject: [PATCH 6/6] updated links --- content/en/docs/changelog/beta.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/docs/changelog/beta.md b/content/en/docs/changelog/beta.md index 36acf50..6955cff 100644 --- a/content/en/docs/changelog/beta.md +++ b/content/en/docs/changelog/beta.md @@ -58,7 +58,7 @@ Happy Halloween! Heres a mostly bugfix release for v2.1.4. > Halloween is an event based theme, each user will automatically switch to it. This can be disabled globally with [frontend.disableEventThemes](https://filebrowserquantum.com/en/docs/configuration/frontend/styling/#options) **Security**: - - [Low] `GET /api/settings` and `GET /api/settings?property=auth` no longer return cleartext secrets (`auth.key`, `totpSecret`, `adminPassword`, OIDC `clientSecret`, LDAP bind password, recaptcha secret, OnlyOffice secret); secret fields are replaced with `**hidden**` in the response, and the YAML export now redacts the recaptcha and LDAP secrets whose comments lacked the `secret:` marker (GHSA-892f-9h5p-mfc8) reporter @paulmossman + - [Low] `GET /api/settings` and `GET /api/settings?property=auth` no longer return cleartext secrets (`auth.key`, `totpSecret`, `adminPassword`, OIDC `clientSecret`, LDAP bind password, recaptcha secret, OnlyOffice secret); secret fields are replaced with `**hidden**` in the response, and the YAML export now redacts the recaptcha and LDAP secrets whose comments lacked the `secret:` marker (GHSA-892f-9h5p-mfc8) reporter [@paulmossman](https://github.com/paulmossman) **New Features**: - feat(search): sidebar File actions and close button in advanced search ([#3303](https://github.com/gtsteffaniak/filebrowser/pull/3303)) ([#2479](https://github.com/gtsteffaniak/filebrowser/issues/2479)) ([#3303](https://github.com/gtsteffaniak/filebrowser/pull/3303))