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 0561b7b..6955cff 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-31T00:00:00Z" +lastmod: "2026-11-16T00:00:00Z" --- {{% alert context="info" %}} @@ -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)) 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" />}}. 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..4b9c768 100644 --- a/go.sum +++ b/go.sum @@ -2,8 +2,8 @@ github.com/gohugoio/hugo-mod-bootstrap-scss/v5 v5.20300.20800 h1:j5myhhzYwIHTr5c 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/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=