Compare commits
63
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46d930c086 | ||
|
|
56c460d7d6 | ||
|
|
1013ea6bdd | ||
|
|
c14cf38cc9 | ||
|
|
79b380aba5 | ||
|
|
e4d15f3027 | ||
|
|
97bd638de4 | ||
|
|
a404012dfc | ||
|
|
87d1aaebdd | ||
|
|
01f58dabcd | ||
|
|
ef24492d15 | ||
|
|
fe82975868 | ||
|
|
2a242aab39 | ||
|
|
01107973b3 | ||
|
|
cf7ee8a8b8 | ||
|
|
b308470890 | ||
|
|
27413d6c7a | ||
|
|
74cc826e5a | ||
|
|
feb673b9d8 | ||
|
|
4e2cc170d9 | ||
|
|
41d11f38c7 | ||
|
|
daf8953529 | ||
|
|
60d894b371 | ||
|
|
82e13af747 | ||
|
|
c58dcb2ee8 | ||
|
|
b060498d8a | ||
|
|
4c66e38c31 | ||
|
|
e97c962c05 | ||
|
|
4db7b89a44 | ||
|
|
de180087fe | ||
|
|
6422c8dcb6 | ||
|
|
bfd0c8a4ea | ||
|
|
9296546be3 | ||
|
|
f3d2bc0557 | ||
|
|
84c0641d7c | ||
|
|
c8ad3818fd | ||
|
|
4945eb6833 | ||
|
|
5a63ba423a | ||
|
|
5c3e20071d | ||
|
|
924af77963 | ||
|
|
1ff20df320 | ||
|
|
da7ef60508 | ||
|
|
0239585817 | ||
|
|
69add9d495 | ||
|
|
21128d705f | ||
|
|
f110944ef2 | ||
|
|
06deff13e3 | ||
|
|
9eebf487dc | ||
|
|
31df172eec | ||
|
|
8cf11be1fd | ||
|
|
c58adcb997 | ||
|
|
3c4e935ae0 | ||
|
|
d47bb3a99b | ||
|
|
1a453eea13 | ||
|
|
50cf8e091c | ||
|
|
2f2c3d5b3a | ||
|
|
c5a903f7e8 | ||
|
|
e548eaafab | ||
|
|
ed9b92c702 | ||
|
|
332299ded9 | ||
|
|
188a7d42cd | ||
|
|
9b1ba66a5a | ||
|
|
98f6837c47 |
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
|
||||
|
||||
go 1.25.10
|
||||
go 1.25.11
|
||||
|
||||
require github.com/vektra/mockery/v2 v2.53.5
|
||||
@@ -37,8 +37,9 @@ jobs:
|
||||
DOCS_ONLY=true
|
||||
while IFS= read -r file; do
|
||||
case "$file" in
|
||||
.github/workflows/*) DOCS_ONLY=false; break ;;
|
||||
.github/*|.vscode/*|changelog/*|docs/*|deployments/*) ;;
|
||||
CHANGELOG.md|CONTRIBUTING.md|LICENSE|README.md) ;;
|
||||
*/CHANGELOG.md|*/CONTRIBUTING.md|*/README.md|CHANGELOG.md|CONTRIBUTING.md|LICENSE|README.md) ;;
|
||||
*) DOCS_ONLY=false; break ;;
|
||||
esac
|
||||
done <<< "$CHANGED_FILES"
|
||||
@@ -53,7 +54,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
@@ -65,12 +66,18 @@ jobs:
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
tools: composer
|
||||
|
||||
- name: Install libvips-dev for ENABLE_VIPS build
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips-dev
|
||||
|
||||
- name: Pre-checks and generate
|
||||
run: |
|
||||
# Phase 1 — I/O + light CPU, no contention between tasks.
|
||||
@@ -128,9 +135,10 @@ jobs:
|
||||
# from the ocis build. Critical path = ocis build (~300 s).
|
||||
vmstat 2 > /tmp/vmstat-phase2.log & MONITOR_PID=$!
|
||||
|
||||
make ci-golangci-lint > /tmp/golangci-lint.log 2>&1 & PIDS=($!)
|
||||
make -C ocis build > /tmp/ocis-build.log 2>&1 & PIDS+=($!)
|
||||
make test > /tmp/unit-tests.log 2>&1 & PIDS+=($!)
|
||||
make ci-golangci-lint > /tmp/golangci-lint.log 2>&1 & PIDS=($!)
|
||||
ENABLE_VIPS=true make -C ocis build > /tmp/ocis-build.log 2>&1 & PIDS+=($!)
|
||||
make test > /tmp/unit-tests.log 2>&1 & PIDS+=($!)
|
||||
GOWORK=off make -C tests/ociswrapper build > /tmp/ociswrapper-build.log 2>&1 & PIDS+=($!)
|
||||
|
||||
FAILED=0
|
||||
for PID in "${PIDS[@]}"; do wait "$PID" || FAILED=1; done
|
||||
@@ -142,12 +150,23 @@ jobs:
|
||||
END { printf "=== phase 2 load (2 vCPU): avg busy %d%% peak %d%% | avg runq %.0f peak %d | avg wa %d%%\n",
|
||||
sum_b/n, pk_b, sum_r/n, pk_r, sum_wa/n }' /tmp/vmstat-phase2.log
|
||||
|
||||
echo "=== golangci-lint ==="&& cat /tmp/golangci-lint.log
|
||||
echo "=== ocis build ===" && cat /tmp/ocis-build.log
|
||||
echo "=== unit tests ===" && cat /tmp/unit-tests.log
|
||||
echo "=== golangci-lint ===" && cat /tmp/golangci-lint.log
|
||||
echo "=== ocis build ===" && cat /tmp/ocis-build.log
|
||||
echo "=== ociswrapper build ===" && cat /tmp/ociswrapper-build.log
|
||||
echo "=== unit tests ===" && cat /tmp/unit-tests.log
|
||||
|
||||
exit $FAILED
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
path: |
|
||||
ocis/bin/ocis
|
||||
tests/ociswrapper/bin/ociswrapper
|
||||
retention-days: 1
|
||||
if-no-files-found: error
|
||||
|
||||
local-api-tests:
|
||||
name: ${{ matrix.suite }}
|
||||
needs: [build-and-test]
|
||||
@@ -200,19 +219,8 @@ jobs:
|
||||
- apiCollaboration
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -226,9 +234,7 @@ jobs:
|
||||
key: libcurl-8.12.0-${{ runner.os }}
|
||||
|
||||
- name: Install libcurl 8.12.0 build dependencies
|
||||
# Always run: libvips-dev is needed at runtime (govips thumbnails) and for
|
||||
# pkg-config --exists vips to succeed so oCIS is built with ENABLE_VIPS=true.
|
||||
# Skipping this on cache hit would cause oCIS to fall back to the imaging library.
|
||||
# Always run: libvips-dev is needed at runtime (govips thumbnails in the pre-built binary)
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
@@ -262,6 +268,14 @@ jobs:
|
||||
}
|
||||
'
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
- name: Restore binary permissions
|
||||
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
|
||||
|
||||
- name: Run ${{ matrix.suite }}
|
||||
run: BEHAT_SUITES=${{ matrix.suite }} python3 tests/acceptance/run-github.py
|
||||
|
||||
@@ -276,59 +290,30 @@ jobs:
|
||||
- cliCommands,apiServiceAvailability # grouped: both need ClamAV + email services
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
tools: composer
|
||||
|
||||
- name: Install libvips runtime
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
- name: Restore binary permissions
|
||||
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
|
||||
|
||||
- name: Run ${{ matrix.suite }}
|
||||
run: BEHAT_SUITES="${{ matrix.suite }}" python3 tests/acceptance/run-github.py
|
||||
|
||||
ldap-pool-tests:
|
||||
needs: [build-and-test]
|
||||
name: ldapPool-${{ matrix.suite }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
suite:
|
||||
- apiGraphUser,apiGraph,apiGraphGroup
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
tools: composer
|
||||
|
||||
- name: Run ${{ matrix.suite }} with OCIS_LDAP_POOL_ENABLED=true
|
||||
run: BEHAT_SUITES="${{ matrix.suite }}" OCIS_LDAP_POOL_ENABLED=true python3 tests/acceptance/run-github.py
|
||||
|
||||
core-api-tests:
|
||||
name: ${{ matrix.suite }}
|
||||
needs: [build-and-test]
|
||||
@@ -348,19 +333,8 @@ jobs:
|
||||
- "coreApiWebdavMove1,coreApiWebdavPreviews,coreApiWebdavUpload,coreApiWebdavUploadTUS"
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -374,9 +348,7 @@ jobs:
|
||||
key: libcurl-8.12.0-${{ runner.os }}
|
||||
|
||||
- name: Install libcurl 8.12.0 build dependencies
|
||||
# Always run: libvips-dev is needed at runtime (govips thumbnails) and for
|
||||
# pkg-config --exists vips to succeed so oCIS is built with ENABLE_VIPS=true.
|
||||
# Skipping this on cache hit would cause oCIS to fall back to the imaging library.
|
||||
# Always run: libvips-dev is needed at runtime (govips thumbnails in the pre-built binary)
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
@@ -410,6 +382,14 @@ jobs:
|
||||
}
|
||||
'
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
- name: Restore binary permissions
|
||||
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
|
||||
|
||||
- name: Run ${{ matrix.suite }}
|
||||
run: >
|
||||
BEHAT_SUITES="${{ matrix.suite }}"
|
||||
@@ -450,23 +430,29 @@ jobs:
|
||||
oidc_iframe: true
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
# 24.16.0 breaks playwright install (yauzl zip extraction hangs); pin to last known good.
|
||||
# https://github.com/microsoft/playwright/issues/40724
|
||||
node-version: "24.15.0"
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
- name: Generate code
|
||||
run: |
|
||||
corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
pnpm config set store-dir ./.pnpm-store
|
||||
make ci-node-generate
|
||||
env:
|
||||
CHROMEDRIVER_SKIP_DOWNLOAD: "true"
|
||||
|
||||
- name: Install libvips runtime
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
- name: Restore binary permissions
|
||||
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
|
||||
|
||||
- name: Cache Playwright Chromium
|
||||
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
@@ -555,10 +541,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
|
||||
- name: Install libvips runtime
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
name: ocis-build-artifacts
|
||||
|
||||
- name: Restore binary permissions
|
||||
run: chmod +x ocis/bin/ocis
|
||||
|
||||
- name: Run litmus
|
||||
run: python3 tests/acceptance/run-litmus.py
|
||||
|
||||
@@ -568,10 +565,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
|
||||
- name: Install libvips runtime
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
name: ocis-build-artifacts
|
||||
|
||||
- name: Restore binary permissions
|
||||
run: chmod +x ocis/bin/ocis
|
||||
|
||||
- name: Run cs3api validator
|
||||
run: python3 tests/acceptance/run-cs3api.py
|
||||
|
||||
@@ -581,10 +589,21 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
|
||||
- name: Install libvips runtime
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
name: ocis-build-artifacts
|
||||
|
||||
- name: Restore binary permissions
|
||||
run: chmod +x ocis/bin/ocis
|
||||
|
||||
- name: Run WOPI validator (builtin)
|
||||
run: python3 tests/acceptance/run-wopi.py --type builtin
|
||||
|
||||
@@ -594,77 +613,26 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
|
||||
- name: Install libvips runtime
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
name: ocis-build-artifacts
|
||||
|
||||
- name: Restore binary permissions
|
||||
run: chmod +x ocis/bin/ocis
|
||||
|
||||
- name: Run WOPI validator (cs3)
|
||||
run: python3 tests/acceptance/run-wopi.py --type cs3
|
||||
|
||||
external-ldap-tests:
|
||||
name: external-ldap-smoke
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
# web/idp assets must be embedded for `ocis server` to come up (same as run-github.py)
|
||||
- name: Generate assets
|
||||
run: make ci-node-generate
|
||||
|
||||
- name: Build oCIS
|
||||
run: make -C ocis build
|
||||
|
||||
# Boots an external osixia LDAP + oCIS (embedded idm excluded) and runs the
|
||||
# smoke scope against the graph API — exercises the external-directory
|
||||
# read-after-write / retry path (OCISDEV-1030/1032/1033) that the embedded-idm
|
||||
# acceptance jobs never hit.
|
||||
- name: Run external-LDAP smoke
|
||||
run: tests/ldap-smoke/run.sh
|
||||
|
||||
external-ldap-distributed-tests:
|
||||
name: external-ldap-distributed-smoke
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
# web/idp assets must be embedded for `ocis server` to come up (same as run-github.py)
|
||||
- name: Generate assets
|
||||
run: make ci-node-generate
|
||||
|
||||
- name: Build oCIS
|
||||
run: make -C ocis build
|
||||
|
||||
# Distributed LDAP topology (proxy over an async syncrepl replica + write master);
|
||||
# the replication lag exercises the retry / read-after-write path (OCISDEV-1030/1032/1033).
|
||||
- name: Run external-LDAP distributed smoke
|
||||
run: tests/ldap-smoke-distributed/run.sh
|
||||
|
||||
all-acceptance-tests:
|
||||
needs: [detect-changes, local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests, ldap-pool-tests, external-ldap-tests, external-ldap-distributed-tests]
|
||||
needs: [detect-changes, local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests]
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
steps:
|
||||
|
||||
@@ -31,7 +31,7 @@ jobs:
|
||||
repository: owncloud/ocis
|
||||
|
||||
- name: Set up Docker Compose
|
||||
uses: docker/setup-compose-action@8cccb8c14b6500aaffebff1aa49c502c34d2e5e6 # v2.1.0
|
||||
uses: docker/setup-compose-action@16feee727cbdc83b6a014e6cc26fec4a79bcf30c # v2.2.0
|
||||
|
||||
- name: Prepare hosts entry
|
||||
run: |
|
||||
|
||||
@@ -3,34 +3,59 @@ name: Release
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
- 'v*'
|
||||
branches:
|
||||
- 'feat/release-pipeline**'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version_override:
|
||||
description: "Version (required, e.g. 8.1.0-rc.3)"
|
||||
description: 'Version override (leave empty to auto-detect from latest tag)'
|
||||
type: string
|
||||
required: true
|
||||
default: ''
|
||||
|
||||
env:
|
||||
PRODUCTION_RELEASE_TAGS: "5.0,7,8"
|
||||
PRODUCTION_RELEASE_TAGS: '5.0,7,8'
|
||||
DOCKER_REPO_ROLLING: owncloud/ocis-rolling
|
||||
DOCKER_REPO_PRODUCTION: owncloud/ocis
|
||||
NODE_VERSION: "24"
|
||||
PNPM_VERSION: "10.28.1"
|
||||
NODE_VERSION: '24'
|
||||
PNPM_VERSION: '10.28.1'
|
||||
|
||||
jobs:
|
||||
determine-release-type:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
version: ${{ steps.info.outputs.version }}
|
||||
version: ${{ steps.info.outputs.version }}
|
||||
is_production: ${{ steps.info.outputs.is_production }}
|
||||
is_prerelease: ${{ steps.info.outputs.is_prerelease }}
|
||||
docker_repos: ${{ steps.info.outputs.docker_repos }}
|
||||
docker_repos: ${{ steps.info.outputs.docker_repos }}
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
if: ${{ github.ref_type == 'branch' || (github.event_name == 'workflow_dispatch' && inputs.version_override == '') }}
|
||||
with:
|
||||
fetch-depth: 0
|
||||
fetch-tags: true
|
||||
|
||||
- id: info
|
||||
run: |
|
||||
next_dev() {
|
||||
# If latest tag is already a pre-release (e.g. v8.0.2-dev.1), reuse its base
|
||||
# version (8.0.2-dev.1) so repeated branch runs don't bump the patch counter.
|
||||
# If latest tag is a production release (e.g. v8.0.1), increment patch (8.0.2-dev.1).
|
||||
local tag=$(git tag --sort=-version:refname | grep -m1 '^v' || echo "v0.0.0")
|
||||
local ver="${tag#v}"
|
||||
if [[ "$ver" == *"-"* ]]; then
|
||||
echo "${ver%%-*}-dev.1"
|
||||
else
|
||||
IFS='.' read -r M m p <<< "$ver"
|
||||
echo "${M}.${m}.$((p + 1))-dev.1"
|
||||
fi
|
||||
}
|
||||
|
||||
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
|
||||
VERSION="${{ inputs.version_override }}"
|
||||
[[ -z "$VERSION" ]] && VERSION=$(next_dev)
|
||||
elif [[ "${{ github.ref_type }}" == "branch" ]]; then
|
||||
VERSION=$(next_dev)
|
||||
else
|
||||
VERSION="${GITHUB_REF#refs/tags/v}"
|
||||
fi
|
||||
@@ -58,19 +83,19 @@ jobs:
|
||||
needs: [determine-release-type]
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- run: npm install --silent -g yarn npx --force
|
||||
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v4
|
||||
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v4
|
||||
with:
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
- run: pnpm config set store-dir ./.pnpm-store && make ci-node-generate
|
||||
env:
|
||||
CHROMEDRIVER_SKIP_DOWNLOAD: "true"
|
||||
CHROMEDRIVER_SKIP_DOWNLOAD: 'true'
|
||||
- run: make ci-go-generate
|
||||
env:
|
||||
BUF_TOKEN: ${{ secrets.BUF_API_TOKEN }}
|
||||
@@ -87,7 +112,6 @@ jobs:
|
||||
retention-days: 1
|
||||
|
||||
docker-build:
|
||||
if: false
|
||||
name: docker-build (${{ matrix.arch }}, ${{ matrix.repo }})
|
||||
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
|
||||
needs: [determine-release-type, generate-code, security-scan-trivy]
|
||||
@@ -101,13 +125,13 @@ jobs:
|
||||
with:
|
||||
name: generated-code
|
||||
path: .
|
||||
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
|
||||
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
- uses: docker/setup-buildx-action@d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5 # v4.1.0
|
||||
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- id: goversion
|
||||
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- run: |
|
||||
@@ -127,8 +151,21 @@ jobs:
|
||||
ARCH="${{ matrix.arch }}"
|
||||
printf "tags<<EOF\n%s\nEOF\n" \
|
||||
"${REPO}:${VERSION}-linux-${ARCH}" >> $GITHUB_OUTPUT
|
||||
- id: build
|
||||
uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7.2.0
|
||||
with:
|
||||
context: ocis
|
||||
file: ocis/docker/Dockerfile.linux.${{ matrix.arch }}
|
||||
platforms: linux/${{ matrix.arch }}
|
||||
load: true
|
||||
push: false
|
||||
provenance: false
|
||||
build-args: |
|
||||
REVISION=${{ github.sha }}
|
||||
VERSION=${{ needs.determine-release-type.outputs.version }}
|
||||
tags: ${{ steps.tags.outputs.tags }}
|
||||
- id: trivy
|
||||
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
|
||||
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
|
||||
continue-on-error: true
|
||||
with:
|
||||
image-ref: ${{ steps.tags.outputs.tags }}
|
||||
@@ -159,7 +196,7 @@ jobs:
|
||||
repo: ${{ fromJSON(needs.determine-release-type.outputs.docker_repos) }}
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
|
||||
- uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
|
||||
id: trivy
|
||||
continue-on-error: true
|
||||
with:
|
||||
@@ -180,7 +217,6 @@ jobs:
|
||||
exit 1
|
||||
|
||||
docker-manifest:
|
||||
if: false
|
||||
name: docker-manifest (${{ matrix.repo }})
|
||||
runs-on: ubuntu-latest
|
||||
needs: [determine-release-type, docker-build, docker-scan]
|
||||
@@ -188,7 +224,7 @@ jobs:
|
||||
matrix:
|
||||
repo: ${{ fromJSON(needs.determine-release-type.outputs.docker_repos) }}
|
||||
steps:
|
||||
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
|
||||
- uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4.2.0
|
||||
with:
|
||||
username: ${{ vars.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
@@ -206,7 +242,6 @@ jobs:
|
||||
"${{ matrix.repo }}:${{ needs.determine-release-type.outputs.version }}-linux-arm64"
|
||||
|
||||
docker-readme:
|
||||
if: false
|
||||
name: docker-readme (${{ matrix.repo }})
|
||||
runs-on: ubuntu-latest
|
||||
needs: [determine-release-type, docker-manifest]
|
||||
@@ -235,7 +270,7 @@ jobs:
|
||||
with:
|
||||
name: generated-code
|
||||
path: .
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- run: |
|
||||
@@ -254,7 +289,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
|
||||
- uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
|
||||
with:
|
||||
scan-type: fs
|
||||
format: table
|
||||
@@ -274,7 +309,7 @@ jobs:
|
||||
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- run: npm install --silent -g yarn npx "pnpm@$PNPM_VERSION" --force
|
||||
@@ -294,19 +329,11 @@ jobs:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- run: |
|
||||
VERSION="${{ needs.determine-release-type.outputs.version }}"
|
||||
# For prereleases (e.g. 8.1.0-rc.2), pass the full version so calens finds
|
||||
# changelog/8.1.0-rc.2_*/ rather than falling through to the missing 8.1.0_*/ dir.
|
||||
if [[ "$VERSION" == *-* ]]; then
|
||||
CHANGELOG_VERSION="$VERSION"
|
||||
else
|
||||
CHANGELOG_VERSION=$(echo "$VERSION" | cut -d'-' -f1)
|
||||
fi
|
||||
make changelog CHANGELOG_VERSION="$CHANGELOG_VERSION"
|
||||
make changelog CHANGELOG_VERSION=$(echo "${{ needs.determine-release-type.outputs.version }}" | cut -d'-' -f1)
|
||||
# calens produces empty output when no versioned changelog directory exists (e.g. dev builds).
|
||||
# Fall back to a pointer to the unreleased entries.
|
||||
if [[ $(wc -l < ocis/dist/CHANGELOG.md) -lt 5 ]]; then
|
||||
@@ -320,14 +347,7 @@ jobs:
|
||||
|
||||
create-github-release:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
[
|
||||
determine-release-type,
|
||||
build-binaries,
|
||||
license-check,
|
||||
generate-changelog,
|
||||
security-scan-trivy,
|
||||
]
|
||||
needs: [determine-release-type, build-binaries, license-check, generate-changelog, security-scan-trivy, docker-readme]
|
||||
steps:
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
@@ -345,7 +365,7 @@ jobs:
|
||||
with:
|
||||
name: changelog
|
||||
path: .
|
||||
- uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
|
||||
- uses: softprops/action-gh-release@718ea10b132b3b2eba29c1007bb80653f286566b # v3.0.1
|
||||
with:
|
||||
tag_name: v${{ needs.determine-release-type.outputs.version }}
|
||||
name: v${{ needs.determine-release-type.outputs.version }}
|
||||
@@ -358,6 +378,10 @@ jobs:
|
||||
needs:
|
||||
- determine-release-type
|
||||
- generate-code
|
||||
- docker-build
|
||||
- docker-scan
|
||||
- docker-manifest
|
||||
- docker-readme
|
||||
- build-binaries
|
||||
- security-scan-trivy
|
||||
- license-check
|
||||
@@ -381,6 +405,7 @@ jobs:
|
||||
python3 scripts/audit-release.py \
|
||||
--version "${{ needs.determine-release-type.outputs.version }}" \
|
||||
--dir release-assets/ \
|
||||
--github-release
|
||||
--github-release --docker
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
+5
-771
@@ -1,10 +1,6 @@
|
||||
# Table of Contents
|
||||
|
||||
* [Changelog for unreleased](#changelog-for-unreleased-unreleased)
|
||||
* [Changelog for 8.1.0](#changelog-for-810-2026-07-03)
|
||||
* [Changelog for 8.0.4](#changelog-for-804-2026-05-22)
|
||||
* [Changelog for 8.0.2](#changelog-for-802-2026-04-30)
|
||||
* [Changelog for 8.0.1](#changelog-for-801-2026-03-09)
|
||||
* [Changelog for 8.0.0](#changelog-for-800-2026-02-13)
|
||||
* [Changelog for 7.3.1](#changelog-for-731-2025-11-24)
|
||||
* [Changelog for 7.3.0](#changelog-for-730-2025-10-13)
|
||||
@@ -69,114 +65,11 @@
|
||||
|
||||
The following sections list the changes for unreleased.
|
||||
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v8.1.0...master
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Show vault-shared mountpoints in the vault drive list: [#12644](https://github.com/owncloud/ocis/pull/12644)
|
||||
* Bugfix - Log unmapped thumbnail errors and always report a sabredav exception: [#12666](https://github.com/owncloud/ocis/pull/12666)
|
||||
* Bugfix - Fix concurrent map access when listing shares: [#12670](https://github.com/owncloud/ocis/pull/12670)
|
||||
* Enhancement - Make OIDC group sync opt-in: [#12490](https://github.com/owncloud/ocis/pull/12490)
|
||||
* Enhancement - Allow disabling the last sign-in timestamp update: [#12522](https://github.com/owncloud/ocis/pull/12522)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Show vault-shared mountpoints in the vault drive list: [#12644](https://github.com/owncloud/ocis/pull/12644)
|
||||
|
||||
Shares of vault resources are mountpoints hosted on the shares storage provider
|
||||
that grant into the vault storage provider. When listing spaces with the vault
|
||||
`storage_id`, the storage registry skipped the shares provider entirely, so the
|
||||
vault share mountpoint was missing from the vault drive list while still showing
|
||||
up in the regular drive list.
|
||||
|
||||
The registry now also queries the shares provider when the vault storage id is
|
||||
requested and segregates share mountpoints by their `grantStorageID`, so a vault
|
||||
share only appears in the vault drive list and a regular share only in the
|
||||
regular one.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12644
|
||||
https://github.com/owncloud/reva/pull/666
|
||||
|
||||
* Bugfix - Log unmapped thumbnail errors and always report a sabredav exception: [#12666](https://github.com/owncloud/ocis/pull/12666)
|
||||
|
||||
The webdav service logged failures of the thumbnails service at debug level
|
||||
only. Errors which are not a property of the requested file, such as the
|
||||
thumbnails service being unreachable, were therefore invisible at production log
|
||||
levels: a complete preview outage produced HTTP 500 responses without a single
|
||||
log line explaining them. Unmapped errors are now logged at error level, while
|
||||
expected per-file outcomes such as an unsupported file type or a file still
|
||||
being processed stay at debug level. Two of the four thumbnail handlers also
|
||||
logged without the request context, so their messages carried no request id.
|
||||
|
||||
In addition, `codesEnum` only mapped four status codes, so error responses for
|
||||
all other codes were rendered with an empty `<s:exception></s:exception>`
|
||||
element. The missing entries for 403, 425 and 429 have been added and any
|
||||
remaining unmapped code now falls back to a generic exception name, so clients
|
||||
always receive a usable exception.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12666
|
||||
|
||||
* Bugfix - Fix concurrent map access when listing shares: [#12670](https://github.com/owncloud/ocis/pull/12670)
|
||||
|
||||
Listing shares could abort the whole oCIS process with the Go runtime error
|
||||
"fatal error: concurrent map read and map write". This is an unrecoverable
|
||||
runtime fault, so it could not be caught and recovered from, and it dropped all
|
||||
connections that were in flight at that moment.
|
||||
|
||||
When converting CS3 shares into Graph DriveItems, the worker goroutines read
|
||||
from the shared driveItems map while the collecting loop was already writing
|
||||
results into the very same map. The results channel is buffered, so the workers
|
||||
never blocked when handing over an item and the collecting loop started writing
|
||||
while workers were still running. The results are now collected after all
|
||||
workers have finished, which removes the overlapping access.
|
||||
|
||||
Note that lowering the maximum concurrency did not avoid this, as a single
|
||||
worker could still run concurrently with the collecting loop.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12670
|
||||
|
||||
* Enhancement - Make OIDC group sync opt-in: [#12490](https://github.com/owncloud/ocis/pull/12490)
|
||||
|
||||
**What changed.** `PROXY_AUTOPROVISION_CLAIM_GROUPS` now defaults to `""`, which disables OIDC group membership sync (and, with it, creation of local groups from claim values). It previously defaulted to `groups`. Setting it to a non-empty claim name restores the previous behaviour unchanged: memberships are synced and groups named in the claim are created if they do not exist locally.
|
||||
|
||||
**Why.** With `PROXY_AUTOPROVISION_ACCOUNTS=true` and the previous `groups` default, the proxy synced group memberships from the OIDC `groups` claim on every authenticated request out of the box, creating local groups for any claim value that did not already exist. In identity providers that let ordinary users create groups with arbitrary names, this allowed an unprivileged user to inject group names into oCIS. Defaulting the claim to empty makes group sync an explicit opt-in.
|
||||
|
||||
**Upgrade note.** Deployments that set `PROXY_AUTOPROVISION_CLAIM_GROUPS` explicitly are unaffected. Deployments that relied on the previous `groups` default without setting it will stop syncing group memberships after upgrade; set `PROXY_AUTOPROVISION_CLAIM_GROUPS=groups` to restore the previous behaviour.
|
||||
|
||||
Note: matching claim values to existing local groups is still done by display
|
||||
name. Hardening that matching is tracked separately and is not part of this
|
||||
change.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12490
|
||||
|
||||
* Enhancement - Allow disabling the last sign-in timestamp update: [#12522](https://github.com/owncloud/ocis/pull/12522)
|
||||
|
||||
The graph service maintains the 'oCLastSignInTimestamp' LDAP attribute of a user
|
||||
on every sign-in (when the LDAP identity backend has write access). This can
|
||||
cause a significant amount of LDAP write load, especially when the proxy's OIDC
|
||||
userinfo cache has a short TTL and sign-in events are emitted frequently.
|
||||
|
||||
A new setting 'OCIS_LDAP_UPDATE_LAST_SIGNIN_DATE' /
|
||||
'GRAPH_LDAP_UPDATE_LAST_SIGNIN_DATE' (default 'true') allows disabling the
|
||||
update of the last sign-in timestamp without having to disable all LDAP writes
|
||||
('OCIS_LDAP_SERVER_WRITE_ENABLED') or the graph events consumer. When set to
|
||||
'false' the graph service no longer listens for 'UserSignedIn' events and does
|
||||
not write the 'oCLastSignInTimestamp' attribute.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/9942
|
||||
https://github.com/owncloud/ocis/pull/12522
|
||||
|
||||
# Changelog for [8.1.0] (2026-07-03)
|
||||
|
||||
The following sections list the changes for 8.1.0.
|
||||
|
||||
[8.1.0]: https://github.com/owncloud/ocis/compare/v8.0.4...v8.1.0
|
||||
[unreleased]: https://github.com/owncloud/ocis/compare/v8.0.0...master
|
||||
|
||||
## Summary
|
||||
|
||||
* Security - Add X-XSS-Protection header: [#12092](https://github.com/owncloud/ocis/pull/12092)
|
||||
* Security - Upgrade libvips to 8.18.2: [#12301](https://github.com/owncloud/ocis/pull/12301)
|
||||
* Security - Fix signing-key to public share guests: [#12332](https://github.com/owncloud/ocis/pull/12332)
|
||||
* Bugfix - Fix postprocessing resume command --restart flag: [#11692](https://github.com/owncloud/ocis/issues/11692)
|
||||
* Bugfix - Don't use hardcoded groupOfNames in group creation: [#11776](https://github.com/owncloud/ocis/pull/11776)
|
||||
* Bugfix - Translation for some email notifications: [#11979](https://github.com/owncloud/ocis/pull/11979)
|
||||
@@ -189,24 +82,7 @@ The following sections list the changes for 8.1.0.
|
||||
* Bugfix - Prevent incomplete Tika extractions from permanently blocking re-index: [#12095](https://github.com/owncloud/ocis/pull/12095)
|
||||
* Bugfix - Use O(1) document lookup instead of full search during reindexing: [#12096](https://github.com/owncloud/ocis/pull/12096)
|
||||
* Bugfix - Fix IDP build on FreeBSD by disabling absolute Babel runtime: [#12114](https://github.com/owncloud/ocis/pull/12114)
|
||||
* Bugfix - Always descend into directories during space reindexing: [#12119](https://github.com/owncloud/ocis/pull/12119)
|
||||
* Bugfix - Don't index failed uploads: [#12121](https://github.com/owncloud/ocis/pull/12121)
|
||||
* Bugfix - Avoid superfluous GetPublicShare call when deleting space permissions: [#12122](https://github.com/owncloud/ocis/pull/12122)
|
||||
* Bugfix - Fix CreateHome cache: [#12128](https://github.com/owncloud/ocis/pull/12128)
|
||||
* Bugfix - Return 200 OK for WOPI Lock requests in read-only and view-only modes: [#12257](https://github.com/owncloud/ocis/pull/12257)
|
||||
* Bugfix - Fix typo in README: [#12263](https://github.com/owncloud/ocis/pull/12263)
|
||||
* Bugfix - Fix space management middleware removing users from spaces on download: [#12285](https://github.com/owncloud/ocis/pull/12285)
|
||||
* Bugfix - Search no longer disabled when OCIS_DISABLE_PREVIEWS=true: [#12303](https://github.com/owncloud/ocis/pull/12303)
|
||||
* Bugfix - Stable order for user search attributes: [#12337](https://github.com/owncloud/ocis/pull/12337)
|
||||
* Bugfix - Cache compiled rego policies to avoid recompiling on every request: [#12345](https://github.com/owncloud/ocis/pull/12345)
|
||||
* Bugfix - SpaceEditorWithoutTrashbin roles now correctly allow file editing: [#12346](https://github.com/owncloud/ocis/pull/12346)
|
||||
* Bugfix - Skip indexing of files still in postprocessing: [#12350](https://github.com/owncloud/ocis/pull/12350)
|
||||
* Bugfix - Mask configs that hold secrets: [#12397](https://github.com/owncloud/ocis/pull/12397)
|
||||
* Bugfix - Education user DELETE no longer 404s while leaving LDAP entry behind: [#12400](https://github.com/owncloud/ocis/pull/12400)
|
||||
* Bugfix - Recover from permanently-closed NATS connections in the nats-js-kv store: [#12402](https://github.com/owncloud/ocis/pull/12402)
|
||||
* Bugfix - Return correct issuerAssignedId on /me: [#12411](https://github.com/owncloud/ocis/pull/12411)
|
||||
* Bugfix - Keep personal space when Drives.Create permission check is inconclusive: [#12429](https://github.com/owncloud/ocis/issues/12429)
|
||||
* Bugfix - Fix the empty mount ID for reva config: [#12492](https://github.com/owncloud/ocis/pull/12492)
|
||||
* Enhancement - Add web extensions deployment configuration: [#11940](https://github.com/owncloud/ocis/pull/11940)
|
||||
* Enhancement - Add AI-assisted development guide: [#11941](https://github.com/owncloud/ocis/pull/11941)
|
||||
* Enhancement - Bump Web to 12.3.1: [#12015](https://github.com/owncloud/ocis/pull/12015)
|
||||
@@ -217,25 +93,7 @@ The following sections list the changes for 8.1.0.
|
||||
* Enhancement - Support numeric range queries in KQL: [#12094](https://github.com/owncloud/ocis/pull/12094)
|
||||
* Enhancement - Add blobstore CLI commands to storage-users service: [#12102](https://github.com/owncloud/ocis/pull/12102)
|
||||
* Enhancement - Optimize search index after bulk reindexing: [#12104](https://github.com/owncloud/ocis/pull/12104)
|
||||
* Enhancement - Add vault storage with MFA-protected access: [#12108](https://github.com/owncloud/ocis/pull/12108)
|
||||
* Enhancement - Retry and abort on repeated extraction failures during indexing: [#12111](https://github.com/owncloud/ocis/pull/12111)
|
||||
* Enhancement - Log effective data and config paths at startup: [#12117](https://github.com/owncloud/ocis/pull/12117)
|
||||
* Enhancement - Allow resetting IDM service user passwords: [#12118](https://github.com/owncloud/ocis/pull/12118)
|
||||
* Enhancement - Update images in the ocis_full deployment example: [#12123](https://github.com/owncloud/ocis/pull/12123)
|
||||
* Enhancement - Add `ocis search optimize` CLI command: [#12136](https://github.com/owncloud/ocis/pull/12136)
|
||||
* Enhancement - Add Keycloak to the ocis_full deployment example: [#12139](https://github.com/owncloud/ocis/pull/12139)
|
||||
* Enhancement - Allow multiple objectClasses on group creation: [#12229](https://github.com/owncloud/ocis/pull/12229)
|
||||
* Enhancement - Add SpaceEditorWithoutVersionsWithoutTrashbin space membership role: [#12261](https://github.com/owncloud/ocis/pull/12261)
|
||||
* Enhancement - Add vault capabilities to the OCS capabilities endpoint: [#12283](https://github.com/owncloud/ocis/pull/12283)
|
||||
* Enhancement - Disable public link sharing for vault resources: [#12321](https://github.com/owncloud/ocis/pull/12321)
|
||||
* Enhancement - Update web-extension images in ocis_fuill: [#12324](https://github.com/owncloud/ocis/pull/12324)
|
||||
* Enhancement - Bump dependencies: [#12325](https://github.com/owncloud/ocis/pull/12325)
|
||||
* Enhancement - Add VaultMode permission: [#12328](https://github.com/owncloud/ocis/pull/12328)
|
||||
* Enhancement - Add vault themes: [#12329](https://github.com/owncloud/ocis/pull/12329)
|
||||
* Enhancement - Bump Web to 12.4.2: [#12450](https://github.com/owncloud/ocis/pull/12450)
|
||||
* Enhancement - Deprecate the owncloudsql storage driver option: [#12486](https://github.com/owncloud/ocis/pull/12486)
|
||||
* Enhancement - Bump Web to 12.3.3: [#13705](https://github.com/owncloud/web/pull/13705)
|
||||
* Enhancement - Bump Web to 12.4.0: [#13809](https://github.com/owncloud/web/pull/13809)
|
||||
|
||||
## Details
|
||||
|
||||
@@ -250,22 +108,6 @@ The following sections list the changes for 8.1.0.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12092
|
||||
|
||||
* Security - Upgrade libvips to 8.18.2: [#12301](https://github.com/owncloud/ocis/pull/12301)
|
||||
|
||||
Bumped libvips to 8.18.2 in all Docker images to pick up the fix for a stack
|
||||
buffer overflow.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12301
|
||||
|
||||
* Security - Fix signing-key to public share guests: [#12332](https://github.com/owncloud/ocis/pull/12332)
|
||||
|
||||
The /ocs/v[12].php/cloud/user/signing-key endpoint was reachable through a
|
||||
public share session. The endpoint `public-token` is no longer allowed by the
|
||||
public-share resource scope in reva.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12332
|
||||
https://github.com/owncloud/reva/pull/608
|
||||
|
||||
* Bugfix - Fix postprocessing resume command --restart flag: [#11692](https://github.com/owncloud/ocis/issues/11692)
|
||||
|
||||
The `--restart` / `-r` flag for `ocis postprocessing resume` was broken due to a
|
||||
@@ -411,18 +253,6 @@ The following sections list the changes for 8.1.0.
|
||||
https://github.com/owncloud/ocis/issues/12065
|
||||
https://github.com/owncloud/ocis/pull/12114
|
||||
|
||||
* Bugfix - Always descend into directories during space reindexing: [#12119](https://github.com/owncloud/ocis/pull/12119)
|
||||
|
||||
The search indexer's `IndexSpace` walk previously used `filepath.SkipDir` to
|
||||
skip entire directory subtrees when the directory itself was already indexed.
|
||||
After a failed or interrupted indexing run (e.g. Tika crash), this caused
|
||||
thousands of unindexed files to be permanently skipped because the parent
|
||||
directory's mtime had not changed. The indexer now always descends into
|
||||
directories, relying on the O(1) per-file DocID lookup to skip already-indexed
|
||||
files efficiently.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12119
|
||||
|
||||
* Bugfix - Don't index failed uploads: [#12121](https://github.com/owncloud/ocis/pull/12121)
|
||||
|
||||
The search service was indexing uploads even when they failed. This caused
|
||||
@@ -431,178 +261,6 @@ The following sections list the changes for 8.1.0.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12121
|
||||
|
||||
* Bugfix - Avoid superfluous GetPublicShare call when deleting space permissions: [#12122](https://github.com/owncloud/ocis/pull/12122)
|
||||
|
||||
We fixed `DeletePermission` to recognise space permission IDs (prefixed with
|
||||
`u:` or `g:`) by their format before making any gateway calls. Previously,
|
||||
deleting a space member always triggered a `GetPublicShare` lookup that was
|
||||
guaranteed to fail, producing a confusing error log.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/12012
|
||||
https://github.com/owncloud/ocis/pull/12122
|
||||
|
||||
* Bugfix - Fix CreateHome cache: [#12128](https://github.com/owncloud/ocis/pull/12128)
|
||||
|
||||
Move the CreateHome middleware cache to the proxy.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12128
|
||||
https://github.com/owncloud/reva/pull/562
|
||||
|
||||
* Bugfix - Return 200 OK for WOPI Lock requests in read-only and view-only modes: [#12257](https://github.com/owncloud/ocis/pull/12257)
|
||||
|
||||
OnlyOffice sends a WOPI Lock request when opening any document, even when the
|
||||
user only has read access. The WOPI Lock handler was attempting to acquire a CS3
|
||||
write lock regardless of the view mode, causing a permission error for read-only
|
||||
tokens that OnlyOffice displayed as an error message on load.
|
||||
|
||||
The Lock handler now returns 200 OK immediately for READ_ONLY and VIEW_ONLY view
|
||||
modes without attempting to acquire a lock, consistent with the WOPI spec.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12257
|
||||
|
||||
* Bugfix - Fix typo in README: [#12263](https://github.com/owncloud/ocis/pull/12263)
|
||||
|
||||
Fixed a typo in the README documentation.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12263
|
||||
|
||||
* Bugfix - Fix space management middleware removing users from spaces on download: [#12285](https://github.com/owncloud/ocis/pull/12285)
|
||||
|
||||
The space management middleware ran on every authenticated request, including
|
||||
signed URL requests used for file downloads. Since signed URL auth does not
|
||||
carry OIDC claims, the middleware interpreted the absence of claims as "user
|
||||
should have no space access" and removed the user from all project spaces. On
|
||||
the next OIDC request the user was re-added, causing an oscillating add/remove
|
||||
cycle that led to intermittent download failures and transient "space not found"
|
||||
errors.
|
||||
|
||||
The middleware now skips reconciliation entirely when no OIDC claims are present
|
||||
in the request context.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/12285
|
||||
https://github.com/owncloud/ocis/pull/12285
|
||||
|
||||
* Bugfix - Search no longer disabled when OCIS_DISABLE_PREVIEWS=true: [#12303](https://github.com/owncloud/ocis/pull/12303)
|
||||
|
||||
Setting OCIS_DISABLE_PREVIEWS=true removed the WebDAV REPORT routes from the
|
||||
router, breaking search on /dav/files, /dav/spaces and /webdav. The search
|
||||
routes are now registered independently of the preview flag.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12303
|
||||
|
||||
* Bugfix - Stable order for user search attributes: [#12337](https://github.com/owncloud/ocis/pull/12337)
|
||||
|
||||
The `attributes` field returned from the user search endpoint came back in a
|
||||
random order because `getUsersAttributes` ranged over a Go map. The function now
|
||||
iterates over the configured `UserSearchDisplayedAttributes` slice, so the
|
||||
returned attribute values follow the configured order.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12337
|
||||
|
||||
* Bugfix - Cache compiled rego policies to avoid recompiling on every request: [#12345](https://github.com/owncloud/ocis/pull/12345)
|
||||
|
||||
The policies service was reading and compiling .rego files from disk on every
|
||||
request, causing unnecessary memory pressure and per-request latency. The
|
||||
compiled PreparedEvalQuery is now cached per query string so compilation happens
|
||||
at most once per query string over the lifetime of the service.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12345
|
||||
|
||||
* Bugfix - SpaceEditorWithoutTrashbin roles now correctly allow file editing: [#12346](https://github.com/owncloud/ocis/pull/12346)
|
||||
|
||||
Fixed a bug where the *WithoutTrashbin space editor roles were rendered as
|
||||
read-only in the Web frontend. The OCS PermissionWrite bit was not set for these
|
||||
roles because the RoleFromResourcePermissions round-trip required
|
||||
RestoreRecycleItem, which these roles intentionally omit.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12346
|
||||
|
||||
* Bugfix - Skip indexing of files still in postprocessing: [#12350](https://github.com/owncloud/ocis/pull/12350)
|
||||
|
||||
When the search service re-indexed a space in response to an UploadReady event,
|
||||
the walker visited sibling nodes whose blobs were not yet finalized in the
|
||||
blobstore. Content extraction for those in-flight nodes triggered spurious
|
||||
storage-users error logs (S3 NoSuchKey). The walker now skips nodes marked as
|
||||
processing; they are indexed when their own UploadReady event arrives.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12350
|
||||
|
||||
* Bugfix - Mask configs that hold secrets: [#12397](https://github.com/owncloud/ocis/pull/12397)
|
||||
|
||||
Envvars and their config structs can hold secrets. The ServiceAccount config is
|
||||
now masked.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12397
|
||||
|
||||
* Bugfix - Education user DELETE no longer 404s while leaving LDAP entry behind: [#12400](https://github.com/owncloud/ocis/pull/12400)
|
||||
|
||||
The education user delete handler used `user.GetExternalID()` for the backend
|
||||
DELETE, while the regular `/users` handler and the pre-v8.0 code path used
|
||||
`user.GetId()`. With the default `RequireExternalID=false`, the LDAP backend
|
||||
looked up the user by name-or-UUID, so the externalID never matched, the LDAP
|
||||
entry was never removed, and the response was a 404. This is now fixed.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12400
|
||||
|
||||
* Bugfix - Recover from permanently-closed NATS connections in the nats-js-kv store: [#12402](https://github.com/owncloud/ocis/pull/12402)
|
||||
|
||||
The `nats-js-kv` go-micro store plugin's `hasConn()` only checked whether the
|
||||
connection object was non-nil, not whether it was still alive. Once the
|
||||
underlying NATS client exhausted its reconnect attempts (e.g. a NATS pod restart
|
||||
longer than the client's reconnect window), the connection stayed non-nil but
|
||||
permanently closed. Because connection initialization is gated on `!hasConn()`,
|
||||
it never re-ran, so every subsequent KV operation failed with `nats: connection
|
||||
closed` until the affected pod was restarted.
|
||||
|
||||
This surfaced as several user-visible failures backed by the NATS KV cache, e.g.
|
||||
all spaces becoming invisible (`storage-users` `ListStorageSpaces`) and download
|
||||
failures from missing signing keys (`ocs`).
|
||||
|
||||
The store plugin now treats a closed connection as no connection, so the next
|
||||
operation transparently re-initializes it.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12402
|
||||
|
||||
* Bugfix - Return correct issuerAssignedId on /me: [#12411](https://github.com/owncloud/ocis/pull/12411)
|
||||
|
||||
The `/graph/v1.0/me` endpoint reported the internal user UUID as
|
||||
`identities[].issuerAssignedId` instead of the issuer-assigned identity (the
|
||||
OIDC `sub`). The endpoint took a fast path that built the user model from the
|
||||
CS3 user in the request context, which does not carry the external identity, so
|
||||
it fell back to the internal UUID. `/me` now always resolves the user through
|
||||
the identity backend, which reads the stored external identity and returns the
|
||||
correct value. Group memberships are still only expanded when `$expand=memberOf`
|
||||
is requested.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12411
|
||||
|
||||
* Bugfix - Keep personal space when Drives.Create permission check is inconclusive: [#12429](https://github.com/owncloud/ocis/issues/12429)
|
||||
|
||||
When a user's role is (re-)assigned, both the proxy (on OIDC login) and the
|
||||
graph appRoleAssignment handler check the `Drives.Create` permission to decide
|
||||
whether to restore or disable the user's personal space. The permission check
|
||||
collapsed two very different outcomes into a single `false`: the user genuinely
|
||||
lacks the permission, and the permission could not be determined (a transport
|
||||
error, or a non-OK status such as `CODE_INTERNAL` returned by the
|
||||
settings/gateway service). In the second case the code proceeded to disable the
|
||||
personal space, moving it to the trash, even though the user's entitlement was
|
||||
never actually denied.
|
||||
|
||||
`utils.CheckPermission` now distinguishes the three cases at the root: a
|
||||
transport error or a non-OK status other than `PERMISSION_DENIED` is surfaced as
|
||||
an error and the callers fail closed. The personal space is left untouched, and
|
||||
the graph appRoleAssignment handler additionally reverts the role assignment it
|
||||
just persisted so the user is not left in a half-applied state. The role
|
||||
transition is retried on the next login.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/12429
|
||||
|
||||
* Bugfix - Fix the empty mount ID for reva config: [#12492](https://github.com/owncloud/ocis/pull/12492)
|
||||
|
||||
We fixed the empty mount ID for storage-users
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12492
|
||||
|
||||
* Enhancement - Add web extensions deployment configuration: [#11940](https://github.com/owncloud/ocis/pull/11940)
|
||||
|
||||
We added deployment configuration for the photo-addon and advanced-search web
|
||||
@@ -653,10 +311,6 @@ The following sections list the changes for 8.1.0.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12051
|
||||
https://github.com/owncloud/ocis/pull/12087
|
||||
https://github.com/owncloud/ocis/pull/12137
|
||||
https://github.com/owncloud/ocis/pull/12302
|
||||
https://github.com/owncloud/ocis/pull/12410
|
||||
https://github.com/owncloud/ocis/pull/12492
|
||||
|
||||
* Enhancement - Add ResourceID field to UploadReady event: [#12060](https://github.com/owncloud/ocis/pull/12060)
|
||||
|
||||
@@ -721,60 +375,6 @@ The following sections list the changes for 8.1.0.
|
||||
https://github.com/owncloud/ocis/issues/12093
|
||||
https://github.com/owncloud/ocis/pull/12104
|
||||
|
||||
* Enhancement - Add vault storage with MFA-protected access: [#12108](https://github.com/owncloud/ocis/pull/12108)
|
||||
|
||||
Added a dedicated vault storage that can be protected with MFA. A separate
|
||||
`storage-users` service instance configured in vault mode runs and serves
|
||||
`/vault/users` and `/vault/projects` mount points with a dedicated
|
||||
`VaultStorageProviderID`. The `graph` service gained a new vault mode
|
||||
(`OCIS_ENABLE_VAULT_MODE`) that serves the vault API under the `/vault` prefix.
|
||||
The storage registry now routes vault-specific requests exclusively to the vault
|
||||
storage provider, preventing accidental access to vault spaces when no explicit
|
||||
storage ID is provided.
|
||||
|
||||
MFA status is propagated through gRPC metadata and forwarded in HTTP headers for
|
||||
WOPI/collaboration flows.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12108
|
||||
|
||||
* Enhancement - Retry and abort on repeated extraction failures during indexing: [#12111](https://github.com/owncloud/ocis/pull/12111)
|
||||
|
||||
During `ocis search index` bulk reindexing, if the content extractor (e.g. Tika)
|
||||
becomes unavailable, individual file extractions are now retried up to 5 times
|
||||
with a 1-second delay between attempts. If a file still fails after all retries,
|
||||
the failure is logged and the walk continues.
|
||||
|
||||
If 5 consecutive files fail extraction (indicating the extraction service is
|
||||
down rather than a single file being problematic), the index walk is aborted
|
||||
with an error so the admin can investigate.
|
||||
|
||||
Previously, extraction failures were silently logged and the walk continued at
|
||||
full speed, accumulating thousands of wasted "connection refused" errors when
|
||||
Tika was down.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12111
|
||||
|
||||
* Enhancement - Log effective data and config paths at startup: [#12117](https://github.com/owncloud/ocis/pull/12117)
|
||||
|
||||
OCIS now logs the effective data path and config path at startup so operators
|
||||
can immediately verify that data is written to the expected location. This helps
|
||||
catch misconfigured Docker volume mounts where data silently falls back to an
|
||||
ephemeral container path instead of the intended persistent mount.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/12044
|
||||
https://github.com/owncloud/ocis/pull/12117
|
||||
|
||||
* Enhancement - Allow resetting IDM service user passwords: [#12118](https://github.com/owncloud/ocis/pull/12118)
|
||||
|
||||
The `ocis idm resetpassword` command now supports a `--user-type` flag to select
|
||||
the account type: `user` (default, ou=users) or `service` (ou=sysusers). This
|
||||
allows resetting passwords for service accounts (libregraph, idp, reva) which
|
||||
live in `ou=sysusers`. Previously, the DN was hardcoded to `ou=users`, making it
|
||||
impossible to reset service user passwords via the CLI.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/12106
|
||||
https://github.com/owncloud/ocis/pull/12118
|
||||
|
||||
* Enhancement - Update images in the ocis_full deployment example: [#12123](https://github.com/owncloud/ocis/pull/12123)
|
||||
|
||||
- Update the docker images for core services and web-extensions - Moving all
|
||||
@@ -782,372 +382,6 @@ The following sections list the changes for 8.1.0.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12123
|
||||
|
||||
* Enhancement - Add `ocis search optimize` CLI command: [#12136](https://github.com/owncloud/ocis/pull/12136)
|
||||
|
||||
Added a new `ocis search optimize` command that compacts the search index by
|
||||
merging Bleve segments, without re-indexing content. The command opens the index
|
||||
directly (without requiring the search service to be running), making it safe to
|
||||
run during maintenance windows without blocking search queries.
|
||||
|
||||
This is useful after bulk reindexing operations that create many small index
|
||||
segments, which can degrade search performance over time.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12136
|
||||
|
||||
* Enhancement - Add Keycloak to the ocis_full deployment example: [#12139](https://github.com/owncloud/ocis/pull/12139)
|
||||
|
||||
Added Keycloak to the ocis_full deployment example.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12139
|
||||
|
||||
* Enhancement - Allow multiple objectClasses on group creation: [#12229](https://github.com/owncloud/ocis/pull/12229)
|
||||
|
||||
Added support for configuring additional LDAP objectClasses when creating
|
||||
groups. The new `OCIS_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES` /
|
||||
`GRAPH_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES` environment variable accepts a list
|
||||
of extra objectClasses that are set alongside the primary
|
||||
`GRAPH_LDAP_GROUP_OBJECTCLASS` when a new group is created in LDAP.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12229
|
||||
|
||||
* Enhancement - Add SpaceEditorWithoutVersionsWithoutTrashbin space membership role: [#12261](https://github.com/owncloud/ocis/pull/12261)
|
||||
|
||||
Added a new space membership role "Can edit"
|
||||
(SpaceEditorWithoutVersionsWithoutTrashbin) that grants full editor permissions
|
||||
(create, upload, download, edit, move, delete) on a space without access to file
|
||||
versions or the trashbin.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12261
|
||||
|
||||
* Enhancement - Add vault capabilities to the OCS capabilities endpoint: [#12283](https://github.com/owncloud/ocis/pull/12283)
|
||||
|
||||
Added `OCIS_ENABLE_VAULT_MODE` / `FRONTEND_ENABLE_VAULT_MODE` config option to
|
||||
the frontend service. When enabled, the OCS capabilities endpoint advertises
|
||||
`vault.enabled = true`. Clients can request vault-specific capabilities via
|
||||
`/ocs/v2.php/cloud/capabilities?vault=true`, which returns a response with
|
||||
public sharing and federation sharing disabled.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12283
|
||||
https://github.com/owncloud/reva/pull/584
|
||||
|
||||
* Enhancement - Disable public link sharing for vault resources: [#12321](https://github.com/owncloud/ocis/pull/12321)
|
||||
|
||||
The `graph` service now rejects creating, updating, and setting passwords on
|
||||
public links when the target resource lives in the vault storage provider.
|
||||
Requests targeting a vault resource return `400 Bad Request` with the message
|
||||
`public links are not allowed for vault resources`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12321
|
||||
|
||||
* Enhancement - Update web-extension images in ocis_fuill: [#12324](https://github.com/owncloud/ocis/pull/12324)
|
||||
|
||||
The imgages for web-extensions have been updated for the ocis_full deployment
|
||||
example.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12324
|
||||
|
||||
* Enhancement - Bump dependencies: [#12325](https://github.com/owncloud/ocis/pull/12325)
|
||||
|
||||
Bumped Go and npm dependencies, including security fixes:
|
||||
|
||||
- `github.com/owncloud/reva/v2` to `v2.0.0-20260519092700-9da01c6fb954` -
|
||||
`github.com/shamaton/msgpack/v2` v2.4.0 → v2.4.1 (CVE: denial of service) -
|
||||
`filippo.io/edwards25519` v1.1.0 → v1.1.1 - `github.com/cloudflare/circl`
|
||||
v1.6.1 → v1.6.3 - `github.com/russellhaering/goxmldsig` v1.5.0 → v1.6.0 -
|
||||
`postcss`, `fast-uri`, `@babel/plugin-transform-modules-systemjs` (npm, via pnpm
|
||||
lock regen) - GitHub Actions: `actions/upload-artifact` 4→7,
|
||||
`actions/download-artifact` 4→8, `pnpm/action-setup` 5→6,
|
||||
`fpicalausa/remove-stale-branches` 2.4→2.6
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12325
|
||||
|
||||
* Enhancement - Add VaultMode permission: [#12328](https://github.com/owncloud/ocis/pull/12328)
|
||||
|
||||
Add a new `VaultMode.ReadWriteEnabled` permission that gates the visibility of
|
||||
the vault mode switcher in the web UI. The permission is assigned to the admin,
|
||||
space admin and user roles. The user light role does not receive it.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12328
|
||||
|
||||
* Enhancement - Add vault themes: [#12329](https://github.com/owncloud/ocis/pull/12329)
|
||||
|
||||
We've added new themes that are available in the vault. These new themes are
|
||||
intended to make a clear distinction between regular drives and vault.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12329
|
||||
|
||||
* Enhancement - Bump Web to 12.4.2: [#12450](https://github.com/owncloud/ocis/pull/12450)
|
||||
|
||||
- Security [owncloud/web#13844](https://github.com/owncloud/web/issues/13844):
|
||||
Validate postMessage origin in embed mode modals - Bugfix
|
||||
[owncloud/web#13822](https://github.com/owncloud/web/issues/13822): Add explicit
|
||||
size to space header image - Bugfix
|
||||
[owncloud/web#13826](https://github.com/owncloud/web/pull/13826): Apply vault
|
||||
theme after OIDC callback - Bugfix
|
||||
[owncloud/web#13827](https://github.com/owncloud/web/pull/13827): Gate MFA
|
||||
expiry dialog on vault capability - Bugfix
|
||||
[owncloud/web#13834](https://github.com/owncloud/web/pull/13834): Logo not
|
||||
rendering in Firefox - Bugfix
|
||||
[owncloud/web#13843](https://github.com/owncloud/web/pull/13843): Fix theme
|
||||
switching issues - Bugfix
|
||||
[owncloud/web#13867](https://github.com/owncloud/web/pull/13867): Pass vault
|
||||
parameter to capabilities endpoint - Bugfix
|
||||
[owncloud/web#13877](https://github.com/owncloud/web/pull/13877): Filter
|
||||
notifications by vault mode - Bugfix
|
||||
[owncloud/web#13907](https://github.com/owncloud/web/pull/13907): Use
|
||||
authMfaRequiredLevelname from capabilities instead of hardcoded value
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12450
|
||||
https://github.com/owncloud/web/releases/tag/v12.4.2
|
||||
|
||||
* Enhancement - Deprecate the owncloudsql storage driver option: [#12486](https://github.com/owncloud/ocis/pull/12486)
|
||||
|
||||
The value `owncloudsql` in the `STORAGE_USERS_DRIVER` environment variable is no
|
||||
longer a valid option and has been marked for deprecation.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12486
|
||||
|
||||
* Enhancement - Bump Web to 12.3.3: [#13705](https://github.com/owncloud/web/pull/13705)
|
||||
|
||||
- Bugfix [owncloud/web#13638](https://github.com/owncloud/web/pull/13638): Share
|
||||
button not usable when role dropdown text is too long - Bugfix
|
||||
[owncloud/web#13667](https://github.com/owncloud/web/pull/13667): Shared with
|
||||
does not show members - Bugfix
|
||||
[owncloud/web#13680](https://github.com/owncloud/web/pull/13680): Escape strings
|
||||
when returned from server
|
||||
|
||||
https://github.com/owncloud/web/pull/13705
|
||||
https://github.com/owncloud/web/releases/tag/v12.3.3
|
||||
|
||||
* Enhancement - Bump Web to 12.4.0: [#13809](https://github.com/owncloud/web/pull/13809)
|
||||
|
||||
- Bugfix [owncloud/web#13363](https://github.com/owncloud/web/issues/13363):
|
||||
Prevent duplicate call for password protected public links - Bugfix
|
||||
[owncloud/web#13578](https://github.com/owncloud/web/pull/13578): Use dynamic
|
||||
viewport units (dvh/dvw) instead of viewport units (vh/vw) - Bugfix
|
||||
[owncloud/web#13610](https://github.com/owncloud/web/pull/13610): Cannot edit
|
||||
public link when name is too long - Bugfix
|
||||
[owncloud/web#13634](https://github.com/owncloud/web/pull/13634): Fix space key
|
||||
selecting wrong resource - Bugfix
|
||||
[owncloud/web#13793](https://github.com/owncloud/web/pull/13793): Fix share
|
||||
invite button being pushed down in space sharing - Bugfix
|
||||
[owncloud/web#13799](https://github.com/owncloud/web/pull/13799): Fix upload
|
||||
confirmation not visible on file drop page - Enhancement
|
||||
[owncloud/web#13545](https://github.com/owncloud/web/pull/13545): Strip WebDAV
|
||||
prefix - Enhancement
|
||||
[owncloud/web#13577](https://github.com/owncloud/web/pull/13577): Use spaceId -
|
||||
Enhancement [owncloud/web#13631](https://github.com/owncloud/web/pull/13631):
|
||||
Add theme mode - Enhancement
|
||||
[owncloud/web#13632](https://github.com/owncloud/web/issues/13632): Support log
|
||||
and conf files in text editor - Enhancement
|
||||
[owncloud/web#13759](https://github.com/owncloud/web/pull/13759): Show correct
|
||||
modal for saveAs and open actions - Enhancement
|
||||
[owncloud/web#13769](https://github.com/owncloud/web/pull/13769): Add vault
|
||||
search separation - Enhancement
|
||||
[owncloud/web#13795](https://github.com/owncloud/web/pull/13795): Add new theme
|
||||
colors - Enhancement
|
||||
[owncloud/web#13802](https://github.com/owncloud/web/pull/13802): Check vault
|
||||
permission - Enhancement
|
||||
[owncloud/web#13803](https://github.com/owncloud/web/pull/13803): MFA session
|
||||
expiry warning - Enhancement
|
||||
[owncloud/web#13803](https://github.com/owncloud/web/pull/13803): Vault-aware
|
||||
breadcrumbs
|
||||
|
||||
https://github.com/owncloud/web/pull/13809
|
||||
https://github.com/owncloud/web/releases/tag/v12.4.0
|
||||
|
||||
# Changelog for [8.0.4] (2026-05-22)
|
||||
|
||||
The following sections list the changes for 8.0.4.
|
||||
|
||||
[8.0.4]: https://github.com/owncloud/ocis/compare/v8.0.2...v8.0.4
|
||||
|
||||
## Summary
|
||||
|
||||
* Security - Upgrade libvips to 8.18.2: [#12301](https://github.com/owncloud/ocis/pull/12301)
|
||||
* Security - Bump Go to 1.25.10: [#12306](https://github.com/owncloud/ocis/pull/12306)
|
||||
* Bugfix - SpaceEditorWithoutTrashbin roles now correctly allow file editing: [#12346](https://github.com/owncloud/ocis/pull/12346)
|
||||
|
||||
## Details
|
||||
|
||||
* Security - Upgrade libvips to 8.18.2: [#12301](https://github.com/owncloud/ocis/pull/12301)
|
||||
|
||||
Bumped libvips to 8.18.2 in all Docker images to pick up the fix for a stack
|
||||
buffer overflow.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12301
|
||||
|
||||
* Security - Bump Go to 1.25.10: [#12306](https://github.com/owncloud/ocis/pull/12306)
|
||||
|
||||
Fixes CVE-2026-33811, CVE-2026-33814, CVE-2026-39820, CVE-2026-39836,
|
||||
CVE-2026-42499.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12306
|
||||
|
||||
* Bugfix - SpaceEditorWithoutTrashbin roles now correctly allow file editing: [#12346](https://github.com/owncloud/ocis/pull/12346)
|
||||
|
||||
Fixed a bug where the *WithoutTrashbin space editor roles were rendered as
|
||||
read-only in the Web frontend. The OCS PermissionWrite bit was not set for these
|
||||
roles because the RoleFromResourcePermissions round-trip required
|
||||
RestoreRecycleItem, which these roles intentionally omit.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12346
|
||||
|
||||
# Changelog for [8.0.2] (2026-04-30)
|
||||
|
||||
The following sections list the changes for 8.0.2.
|
||||
|
||||
[8.0.2]: https://github.com/owncloud/ocis/compare/v8.0.1...v8.0.2
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Fix OCM share permission change notification: [#12190](https://github.com/owncloud/ocis/pull/12190)
|
||||
* Bugfix - Fix the internal links: [#12231](https://github.com/owncloud/ocis/pull/12231)
|
||||
* Bugfix - Return 200 OK for WOPI Lock requests in read-only and view-only modes: [#12257](https://github.com/owncloud/ocis/pull/12257)
|
||||
* Bugfix - Fix space management middleware removing users from spaces on download: [#12285](https://github.com/owncloud/ocis/pull/12285)
|
||||
* Enhancement - Add spaceid to REPORT: [#12241](https://github.com/owncloud/ocis/pull/12241)
|
||||
* Enhancement - Allow multiple objectClasses on group creation: [#12242](https://github.com/owncloud/ocis/pull/12242)
|
||||
* Enhancement - Add SpaceEditorWithoutVersionsWithoutTrashbin space membership role: [#12245](https://github.com/owncloud/ocis/pull/12245)
|
||||
* Enhancement - Bump Web to 12.3.3: [#13705](https://github.com/owncloud/web/pull/13705)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Fix OCM share permission change notification: [#12190](https://github.com/owncloud/ocis/pull/12190)
|
||||
|
||||
Fix the OCM share permission change notification handling.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12190
|
||||
|
||||
* Bugfix - Fix the internal links: [#12231](https://github.com/owncloud/ocis/pull/12231)
|
||||
|
||||
We fixed the internal links access control
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12231
|
||||
|
||||
* Bugfix - Return 200 OK for WOPI Lock requests in read-only and view-only modes: [#12257](https://github.com/owncloud/ocis/pull/12257)
|
||||
|
||||
OnlyOffice sends a WOPI Lock request when opening any document, even when the
|
||||
user only has read access. The WOPI Lock handler was attempting to acquire a CS3
|
||||
write lock regardless of the view mode, causing a permission error for read-only
|
||||
tokens that OnlyOffice displayed as an error message on load.
|
||||
|
||||
The Lock handler now returns 200 OK immediately for READ_ONLY and VIEW_ONLY view
|
||||
modes without attempting to acquire a lock, consistent with the WOPI spec.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12257
|
||||
|
||||
* Bugfix - Fix space management middleware removing users from spaces on download: [#12285](https://github.com/owncloud/ocis/pull/12285)
|
||||
|
||||
The space management middleware ran on every authenticated request, including
|
||||
signed URL requests used for file downloads. Since signed URL auth does not
|
||||
carry OIDC claims, the middleware interpreted the absence of claims as "user
|
||||
should have no space access" and removed the user from all project spaces. On
|
||||
the next OIDC request the user was re-added, causing an oscillating add/remove
|
||||
cycle that led to intermittent download failures and transient "space not found"
|
||||
errors.
|
||||
|
||||
The middleware now skips reconciliation entirely when no OIDC claims are present
|
||||
in the request context.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/12285
|
||||
https://github.com/owncloud/ocis/pull/12285
|
||||
|
||||
* Enhancement - Add spaceid to REPORT: [#12241](https://github.com/owncloud/ocis/pull/12241)
|
||||
|
||||
Added the `spaceid` to the REPORT responses. This is aligning the `REPORT`
|
||||
method with the `PROPFIND` method.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12241
|
||||
|
||||
* Enhancement - Allow multiple objectClasses on group creation: [#12242](https://github.com/owncloud/ocis/pull/12242)
|
||||
|
||||
Added support for configuring additional LDAP objectClasses when creating
|
||||
groups. The new `OCIS_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES` /
|
||||
`GRAPH_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES` environment variable accepts a list
|
||||
of extra objectClasses that are set alongside the primary
|
||||
`GRAPH_LDAP_GROUP_OBJECTCLASS` when a new group is created in LDAP.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12242
|
||||
|
||||
* Enhancement - Add SpaceEditorWithoutVersionsWithoutTrashbin space membership role: [#12245](https://github.com/owncloud/ocis/pull/12245)
|
||||
|
||||
Added a new space membership role "Can edit"
|
||||
(SpaceEditorWithoutVersionsWithoutTrashbin) that grants full editor permissions
|
||||
(create, upload, download, edit, move, delete) on a space without access to file
|
||||
versions or the trashbin.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12245
|
||||
|
||||
* Enhancement - Bump Web to 12.3.3: [#13705](https://github.com/owncloud/web/pull/13705)
|
||||
|
||||
- Bugfix [owncloud/web#13638](https://github.com/owncloud/web/pull/13638): Share
|
||||
button not usable when role dropdown text is too long - Bugfix
|
||||
[owncloud/web#13667](https://github.com/owncloud/web/pull/13667): Shared with
|
||||
does not show members - Bugfix
|
||||
[owncloud/web#13680](https://github.com/owncloud/web/pull/13680): Escape strings
|
||||
when returned from server
|
||||
|
||||
https://github.com/owncloud/web/pull/13705
|
||||
https://github.com/owncloud/web/releases/tag/v12.3.3
|
||||
|
||||
# Changelog for [8.0.1] (2026-03-09)
|
||||
|
||||
The following sections list the changes for 8.0.1.
|
||||
|
||||
[8.0.1]: https://github.com/owncloud/ocis/compare/v8.0.0...v8.0.1
|
||||
|
||||
## Summary
|
||||
|
||||
* Bugfix - Don't use hardcoded groupOfNames in group creation: [#11776](https://github.com/owncloud/ocis/pull/11776)
|
||||
* Bugfix - Expose the signature-auth attribute: [#12052](https://github.com/owncloud/ocis/pull/12052)
|
||||
* Bugfix - Don't write empty externalID to LDAP: [#12085](https://github.com/owncloud/ocis/pull/12085)
|
||||
* Enhancement - Bump Web to 12.3.2: [#12074](https://github.com/owncloud/ocis/pull/12074)
|
||||
* Enhancement - Bump reva: [#12097](https://github.com/owncloud/ocis/pull/12097)
|
||||
|
||||
## Details
|
||||
|
||||
* Bugfix - Don't use hardcoded groupOfNames in group creation: [#11776](https://github.com/owncloud/ocis/pull/11776)
|
||||
|
||||
Formerly, when creating a group with a different objectClass, it will always use
|
||||
groupOfNames instead of the one provided in the config. Now, the server creates
|
||||
groups using the objectClass defined in the config.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/11776
|
||||
|
||||
* Bugfix - Expose the signature-auth attribute: [#12052](https://github.com/owncloud/ocis/pull/12052)
|
||||
|
||||
Expose the "oc:signature-auth" attribute for the subfolders in the public link
|
||||
propfinds. This is a necessary change to be able to support archive downloads in
|
||||
password protected public links.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12052
|
||||
|
||||
* Bugfix - Don't write empty externalID to LDAP: [#12085](https://github.com/owncloud/ocis/pull/12085)
|
||||
|
||||
When creating new users in the graph service, the externalID attribute was being
|
||||
written to LDAP even when it was empty. Now, the externalID attribute is only
|
||||
written when it has a non-empty value.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12085
|
||||
|
||||
* Enhancement - Bump Web to 12.3.2: [#12074](https://github.com/owncloud/ocis/pull/12074)
|
||||
|
||||
- Enhancement
|
||||
[owncloud/ocis#11963](https://github.com/owncloud/ocis/issues/11963): Use
|
||||
signature auth
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12074
|
||||
https://github.com/owncloud/web/releases/tag/v12.3.2
|
||||
|
||||
* Enhancement - Bump reva: [#12097](https://github.com/owncloud/ocis/pull/12097)
|
||||
|
||||
Bumped reva to the latest version. This includes a refactoring of the scope
|
||||
expansion and verification logic, as well as a fix for the signature-auth
|
||||
propfind attribute that now correctly supports archive downloads in
|
||||
password-protected public links.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12097
|
||||
|
||||
# Changelog for [8.0.0] (2026-02-13)
|
||||
|
||||
The following sections list the changes for 8.0.0.
|
||||
@@ -11124,7 +10358,7 @@ The following sections list the changes for 2.0.0.
|
||||
* Enhancement - Update linkshare capabilities: [#3579](https://github.com/owncloud/ocis/pull/3579)
|
||||
* Enhancement - Wrap metadata storage with dedicated reva gateway: [#3602](https://github.com/owncloud/ocis/pull/3602)
|
||||
* Enhancement - Align service naming: [#3606](https://github.com/owncloud/ocis/pull/3606)
|
||||
* Enhancement - Added share_jail and projects feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
|
||||
* Enhancement - Added `share_jail` and `projects` feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
|
||||
* Enhancement - Add initial version of the search extensions: [#3635](https://github.com/owncloud/ocis/pull/3635)
|
||||
* Enhancement - Don't setup demo role assignments on default: [#3661](https://github.com/owncloud/ocis/issues/3661)
|
||||
* Enhancement - Restrict admins from self-removal: [#3713](https://github.com/owncloud/ocis/issues/3713)
|
||||
@@ -12249,7 +11483,7 @@ The following sections list the changes for 2.0.0.
|
||||
https://github.com/owncloud/ocis/issues/3603
|
||||
https://github.com/owncloud/ocis/pull/3606
|
||||
|
||||
* Enhancement - Added share_jail and projects feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
|
||||
* Enhancement - Added `share_jail` and `projects` feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
|
||||
|
||||
We've added feature flags to the `spaces` capability to indicate to clients
|
||||
which features are supposed to be shown to users.
|
||||
@@ -16365,7 +15599,7 @@ The following sections list the changes for 1.2.0.
|
||||
* Change - Update ownCloud Web to v2.0.0: [#1661](https://github.com/owncloud/ocis/pull/1661)
|
||||
* Enhancement - Introduce ADR: [#1042](https://github.com/owncloud/ocis/pull/1042)
|
||||
* Enhancement - Functionality to map home directory to different storage providers: [#1186](https://github.com/owncloud/ocis/pull/1186)
|
||||
* Enhancement - Use default upload protocol instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
|
||||
* Enhancement - Use a default protocol parameter instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
|
||||
* Enhancement - Switch to opencontainers annotation scheme: [#1381](https://github.com/owncloud/ocis/pull/1381)
|
||||
* Enhancement - Update reva to v1.5.2-0.20210125114636-0c10b333ee69: [#1482](https://github.com/owncloud/ocis/pull/1482)
|
||||
* Enhancement - Migrate ocis-graph to ocis monorepo: [#1594](https://github.com/owncloud/ocis/pull/1594)
|
||||
@@ -16449,7 +15683,7 @@ The following sections list the changes for 1.2.0.
|
||||
https://github.com/owncloud/ocis/pull/1186
|
||||
https://github.com/cs3org/reva/pull/1142
|
||||
|
||||
* Enhancement - Use default upload protocol instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
|
||||
* Enhancement - Use a default protocol parameter instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
|
||||
|
||||
https://github.com/cs3org/reva/pull/1331
|
||||
https://github.com/owncloud/ocis/pull/1374
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ COPY --from=generate /ocis /ocis
|
||||
WORKDIR /ocis/ocis
|
||||
RUN make ci-go-generate build ENABLE_VIPS=true
|
||||
|
||||
FROM alpine:3.23.4
|
||||
FROM alpine:3.24.1
|
||||
|
||||
RUN apk add --no-cache attr ca-certificates curl mailcap tree \
|
||||
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community "vips=8.18.2-r0" \
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
Bugfix: Fix the empty mount ID for reva config
|
||||
|
||||
We fixed the empty mount ID for storage-users
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12492
|
||||
@@ -1,18 +0,0 @@
|
||||
Bugfix: Keep personal space when Drives.Create permission check is inconclusive
|
||||
|
||||
When a user's role is (re-)assigned, both the proxy (on OIDC login) and the graph
|
||||
appRoleAssignment handler check the `Drives.Create` permission to decide whether to
|
||||
restore or disable the user's personal space. The permission check collapsed two very
|
||||
different outcomes into a single `false`: the user genuinely lacks the permission, and
|
||||
the permission could not be determined (a transport error, or a non-OK status such as
|
||||
`CODE_INTERNAL` returned by the settings/gateway service). In the second case the code
|
||||
proceeded to disable the personal space, moving it to the trash, even though the user's
|
||||
entitlement was never actually denied.
|
||||
|
||||
`utils.CheckPermission` now distinguishes the three cases at the root: a transport error
|
||||
or a non-OK status other than `PERMISSION_DENIED` is surfaced as an error and the callers
|
||||
fail closed. The personal space is left untouched, and the graph appRoleAssignment handler
|
||||
additionally reverts the role assignment it just persisted so the user is not left in a
|
||||
half-applied state. The role transition is retried on the next login.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/12429
|
||||
@@ -1,14 +0,0 @@
|
||||
Enhancement: Bump Web to 12.4.2
|
||||
|
||||
- Security [owncloud/web#13844](https://github.com/owncloud/web/issues/13844): Validate postMessage origin in embed mode modals
|
||||
- Bugfix [owncloud/web#13822](https://github.com/owncloud/web/issues/13822): Add explicit size to space header image
|
||||
- Bugfix [owncloud/web#13826](https://github.com/owncloud/web/pull/13826): Apply vault theme after OIDC callback
|
||||
- Bugfix [owncloud/web#13827](https://github.com/owncloud/web/pull/13827): Gate MFA expiry dialog on vault capability
|
||||
- Bugfix [owncloud/web#13834](https://github.com/owncloud/web/pull/13834): Logo not rendering in Firefox
|
||||
- Bugfix [owncloud/web#13843](https://github.com/owncloud/web/pull/13843): Fix theme switching issues
|
||||
- Bugfix [owncloud/web#13867](https://github.com/owncloud/web/pull/13867): Pass vault parameter to capabilities endpoint
|
||||
- Bugfix [owncloud/web#13877](https://github.com/owncloud/web/pull/13877): Filter notifications by vault mode
|
||||
- Bugfix [owncloud/web#13907](https://github.com/owncloud/web/pull/13907): Use authMfaRequiredLevelname from capabilities instead of hardcoded value
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12450
|
||||
https://github.com/owncloud/web/releases/tag/v12.4.2
|
||||
@@ -1,12 +0,0 @@
|
||||
Bugfix: Return correct issuerAssignedId on /me
|
||||
|
||||
The `/graph/v1.0/me` endpoint reported the internal user UUID as
|
||||
`identities[].issuerAssignedId` instead of the issuer-assigned identity (the
|
||||
OIDC `sub`). The endpoint took a fast path that built the user model from the
|
||||
CS3 user in the request context, which does not carry the external identity, so
|
||||
it fell back to the internal UUID. `/me` now always resolves the user through
|
||||
the identity backend, which reads the stored external identity and returns the
|
||||
correct value. Group memberships are still only expanded when
|
||||
`$expand=memberOf` is requested.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12411
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,18 @@
|
||||
Bugfix: Always set an audit action for share updates
|
||||
|
||||
Share-update audit events were written with an empty `action` and a message of
|
||||
`updated field ''`, because the conversion read the deprecated
|
||||
`ShareUpdated.Updated` field, which reva no longer populates (it now sets
|
||||
`UpdateMask`). Received-share declines were also not audited correctly because
|
||||
the conversion matched `SHARE_STATE_DECLINED`, which is not a CS3 share state
|
||||
(the enum value is `SHARE_STATE_REJECTED`), again producing an empty action and
|
||||
message.
|
||||
|
||||
The conversion now derives the updated field and action from `UpdateMask`
|
||||
(falling back to the deprecated field), maps `SHARE_STATE_REJECTED` to the
|
||||
declined action, and uses a generic, non-empty action for any unrecognized
|
||||
update field or share state, so every audit entry carries a meaningful,
|
||||
countable action.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/7661
|
||||
https://github.com/owncloud/ocis/pull/12423
|
||||
File renamed without changes.
@@ -0,0 +1,10 @@
|
||||
Bugfix: Return 404 when deleting a non-existing link share on a space
|
||||
|
||||
Deleting an already-removed link share via
|
||||
`DELETE /graph/v1beta1/drives/{driveID}/root/permissions/{permissionID}`
|
||||
returned `400 Bad Request` instead of `404 Not Found`. The underlying
|
||||
reva `RemovePublicShare` and `RemoveShare` handlers now propagate
|
||||
not-found errors as `CODE_NOT_FOUND` rather than `CODE_INTERNAL`,
|
||||
ensuring the correct `404` HTTP response is returned.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/12266
|
||||
File renamed without changes.
@@ -1,13 +0,0 @@
|
||||
Bugfix: Remove the unmarshalable request body field from graph log messages
|
||||
|
||||
We've removed the `body` field from the log messages of the graph service's HTTP
|
||||
handlers. The field was set from `http.Request.Body`, an `io.ReadCloser`, which
|
||||
can never be serialized into a useful log value.
|
||||
|
||||
The tracing middleware replaces the request body with a wrapper that carries an
|
||||
exported function field, so serializing it failed outright and the log line was
|
||||
emitted with `"body": "marshaling error: json: unsupported type: func(int64)"`
|
||||
instead of the payload. Without the tracing middleware the field serialized to an
|
||||
empty object. In both cases the intended payload was never logged.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12917
|
||||
@@ -0,0 +1,13 @@
|
||||
Bugfix: Honor $select=actions on the drive item permissions endpoint
|
||||
|
||||
Listing the permissions of a drive item with
|
||||
`$select=@libre.graph.permissions.actions.allowedValues` still returned the
|
||||
roles allowedValues as well. The handler only had a projection for the roles
|
||||
selection (`@libre.graph.permissions.roles.allowedValues`), which drops the
|
||||
actions, but no symmetric handling for an actions-only selection, so the roles
|
||||
were always included. The actions selection now drops the roles allowedValues
|
||||
(and, like the roles selection, skips the share lookup since only the allowed
|
||||
values are requested).
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10816
|
||||
https://github.com/owncloud/ocis/pull/12419
|
||||
@@ -1,10 +0,0 @@
|
||||
Bugfix: Cache LDAP instance mapper lookups
|
||||
|
||||
In multi-instance deployments, resolving a user's instance name/ID during
|
||||
`GET /graph/v1.0/users` (and group member expansion) issued a fresh, uncached
|
||||
LDAP search per instance/guest attribute value on every request. Under load
|
||||
this multiplied into large numbers of redundant LDAP round-trips per page of
|
||||
users, saturating the LDAP connection pool and causing request timeouts. The
|
||||
LDAP identity backend now caches instance mapper lookups, including negative
|
||||
(not-found) results, for a configurable TTL
|
||||
(`OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL`, default 60s).
|
||||
@@ -1,10 +0,0 @@
|
||||
Bugfix: Honor per-record expiry in the nats-js-kv store
|
||||
|
||||
The nats-js-kv store ignored the per-record expiry written by callers and kept
|
||||
every entry for the bucket-wide MaxAge, which is fixed at bucket creation. An
|
||||
entry could therefore outlive the deadline stored in it and be served as stale
|
||||
data — for the proxy userinfo cache this signed still-authenticated clients out.
|
||||
Writes now stamp an absolute deadline on each record and reads treat a record
|
||||
past its deadline as a cache miss, matching the memory store's behavior.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12863
|
||||
@@ -0,0 +1,12 @@
|
||||
Bugfix: Fix double HTML-escaping of notification emails for multiple recipients
|
||||
|
||||
The notifications service reuses the same template variables map for every
|
||||
recipient of an event (for example when a group is invited to a space). The
|
||||
helper that HTML-escapes those variables for the HTML email body escaped the
|
||||
map in place, so every recipient after the first received a plain-text body
|
||||
containing HTML entities and an HTML body with one additional layer of escaping
|
||||
per recipient (a space named `R&D` became `R&amp;D`). The helper now returns
|
||||
a new map and leaves the shared variables untouched, so every recipient renders
|
||||
from the original values.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12413
|
||||
@@ -0,0 +1,16 @@
|
||||
Bugfix: Keep group memberships when the OIDC groups claim is absent
|
||||
|
||||
When auto-provisioning group memberships from an OIDC claim, the proxy
|
||||
reconciled the user's groups against the groups claim and removed them from any
|
||||
group not present in the claim. If a token carried no groups claim at all — for
|
||||
example a token issued for an OIDC client that has no groups mapper configured,
|
||||
such as a dedicated desktop-client registration — the parsed group set was empty
|
||||
and the user was removed from all of their groups.
|
||||
|
||||
The sync is now skipped when the groups claim is absent or null in the token. A
|
||||
present-but-empty claim is still treated as a legitimate "no groups" and
|
||||
reconciled as before. This mirrors the guard the role-assignment path already
|
||||
has for a missing roles claim.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/11435
|
||||
https://github.com/owncloud/ocis/pull/12420
|
||||
@@ -0,0 +1,11 @@
|
||||
Bugfix: Fix the proxy readiness check for NATS
|
||||
|
||||
The proxy readiness check passed the events cluster ID instead of the events
|
||||
endpoint to the NATS reachability check. NATS then tried to resolve the cluster
|
||||
ID (e.g. `ocis-cluster`) as a host name, which always failed, so the proxy
|
||||
`/readyz` endpoint reported the service as not ready even when NATS was
|
||||
reachable. The check now uses the events endpoint, consistent with every other
|
||||
service.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10661
|
||||
https://github.com/owncloud/ocis/pull/12421
|
||||
@@ -0,0 +1,14 @@
|
||||
Bugfix: Prevent panic in presigned URL auth when signing key is missing
|
||||
|
||||
The presigned-URL authenticator read the per-user signing key from a store and
|
||||
indexed the first record without checking that the result was non-empty. When
|
||||
the store returns an empty result without an error — which the `noop` store
|
||||
does, and `OCIS_CACHE_STORE=noop` also switches the presigned-URL signing-key
|
||||
store to `noop` — every signed-URL request panicked with `index out of range
|
||||
[0] with length 0` (recovered per request as an HTTP 502), so all signed-URL
|
||||
downloads failed. The authenticator now guards the lookup and returns a normal
|
||||
authentication error instead of panicking; it also no longer returns a nil
|
||||
error when the stored key is empty.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/12384
|
||||
https://github.com/owncloud/ocis/pull/12418
|
||||
@@ -0,0 +1,11 @@
|
||||
Bugfix: Pass the space ID when purging revision blobs
|
||||
|
||||
The `revisions purge` command removed a revision's metadata but did not delete
|
||||
its blob, because it called the blobstore without the space ID. The blobstore
|
||||
builds the blob path from the space ID and blob ID, so an empty space ID
|
||||
targeted the wrong path: the deletion was a no-op (S3) or missed the file
|
||||
(POSIX), leaving the blob orphaned while the revision was already removed. The
|
||||
space ID parsed from the revision path is now passed to the blobstore.
|
||||
|
||||
https://github.com/owncloud/ocis/issues/11644
|
||||
https://github.com/owncloud/ocis/pull/12422
|
||||
@@ -1,9 +0,0 @@
|
||||
Bugfix: Fix share metadata corruption during concurrent share operations
|
||||
|
||||
When multiple sharing service replicas processed share operations concurrently
|
||||
for the same user, the share metadata could become corrupted with references to
|
||||
missing data, making all shares inaccessible to that user. The received share
|
||||
cache now uses compare-and-swap (etag) validation to detect concurrent writes
|
||||
and retries gracefully, preventing metadata corruption.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12621
|
||||
File renamed without changes.
File renamed without changes.
@@ -6,5 +6,5 @@ https://github.com/owncloud/ocis/pull/12051
|
||||
https://github.com/owncloud/ocis/pull/12087
|
||||
https://github.com/owncloud/ocis/pull/12137
|
||||
https://github.com/owncloud/ocis/pull/12302
|
||||
https://github.com/owncloud/ocis/pull/12410
|
||||
https://github.com/owncloud/ocis/pull/12492
|
||||
https://github.com/owncloud/ocis/pull/12439
|
||||
https://github.com/owncloud/ocis/pull/12266
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
Enhancement: Deprecate the owncloudsql storage driver option
|
||||
Change: Deprecate the owncloudsql storage driver option
|
||||
|
||||
The value `owncloudsql` in the `STORAGE_USERS_DRIVER` environment variable is no
|
||||
longer a valid option and has been marked for deprecation.
|
||||
@@ -0,0 +1,15 @@
|
||||
Enhancement: Add `ocis shares clean-corrupt-public-shares` maintenance command
|
||||
|
||||
A single public-share entry with a nil/empty `resource_id` makes the json
|
||||
public-share manager's `ListPublicShares` panic with a nil-pointer dereference.
|
||||
Because the manager reads all entries and filters them in memory, that one bad
|
||||
entry poisons the endpoint for the whole tenant: every Members/permissions panel
|
||||
load and every password-protected link creation fails.
|
||||
|
||||
The new `ocis shares clean-corrupt-public-shares` command detects and removes
|
||||
such corrupt entries. It reads the raw persistence (so it never triggers the
|
||||
panic itself) and writes back through the same metadata storage path the manager
|
||||
uses, recomputing blob size, mtime and etag automatically. It defaults to
|
||||
`--dry-run` and supports the `jsoncs3` and `json` public-share drivers.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12494
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -1,4 +1,4 @@
|
||||
Enhancement: Add vault themes
|
||||
Enhancement Add vault themes
|
||||
|
||||
We've added new themes that are available in the vault. These new themes are intended to make a clear distinction between regular drives and vault.
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,5 @@
|
||||
Enhancement: Replace embedded IDP React SPA with server-rendered login page
|
||||
|
||||
Replaced the embedded IDP login's React SPA (pnpm, 21k LOC) with server-rendered HTML keeping theming and localiation support. The login page now works with minimal JavaScript, loads faster, and has a much smaller dependecy vulnerability surface.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12086
|
||||
File renamed without changes.
@@ -1,19 +0,0 @@
|
||||
Enhancement: Add an opt-in bounded LDAP connection pool
|
||||
|
||||
The auth-basic, users, groups and graph services can now be switched from a
|
||||
single long-lived reconnecting LDAP connection to a bounded pool of connections,
|
||||
so concurrent requests no longer serialize on one socket. Connections are dialed
|
||||
and bound lazily on checkout, unhealthy connections are discarded and lazily
|
||||
re-dialed rather than eagerly reconnected, and checkout blocks with a configurable
|
||||
timeout once the pool is exhausted.
|
||||
|
||||
Pooling is off by default and fully backwards compatible. Enable it per service
|
||||
via 'OCIS_LDAP_POOL_ENABLED' (or the service-specific '<SERVICE>_LDAP_POOL_ENABLED'
|
||||
override), and tune it with 'OCIS_LDAP_POOL_SIZE' (default 5) and
|
||||
'OCIS_LDAP_POOL_CHECKOUT_TIMEOUT' (default 30s).
|
||||
|
||||
The graph service's identity backend now shares the same LDAP client
|
||||
implementation used by the reva auth/user/group managers instead of maintaining
|
||||
its own separate reconnecting client.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12686
|
||||
@@ -1,14 +0,0 @@
|
||||
Enhancement: Eliminate redundant LDAP read-after-write on create and update
|
||||
|
||||
The graph LDAP backend no longer re-reads an entry immediately after writing it
|
||||
just to recover the entry ID for the response. When oCIS generates the ID itself
|
||||
(GRAPH_LDAP_SERVER_UUID disabled), the create response is now synthesized from the
|
||||
data already sent to the directory, and update responses are built by folding the
|
||||
applied modifications onto the entry that was read before the write. This avoids a
|
||||
round-trip that, against a replicated directory reached through a proxy, could hit
|
||||
a lagging replica and fail or return stale data.
|
||||
|
||||
When the directory assigns the ID (GRAPH_LDAP_SERVER_UUID enabled), creates keep
|
||||
the existing read-back, since the generated ID cannot otherwise be recovered.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12618
|
||||
File renamed without changes.
@@ -1,16 +0,0 @@
|
||||
Enhancement: Retry LDAP operations against a lagging replica
|
||||
|
||||
The graph LDAP backend can now retry operations against a replicated directory
|
||||
where a write to the primary is followed by a read that lands on a replica which
|
||||
has not yet caught up. This covers the read-back that recovers a directory-assigned
|
||||
ID after a create (GRAPH_LDAP_SERVER_UUID enabled), which is retried until the entry
|
||||
becomes visible. The retry count and backoff are tunable through
|
||||
`GRAPH_LDAP_RETRY_MAX_COUNT`, `GRAPH_LDAP_RETRY_BASE_DELAY` and
|
||||
`GRAPH_LDAP_RETRY_MAX_DELAY`; the defaults keep the previous behaviour (a single
|
||||
immediate retry with no delay), so existing deployments are unaffected.
|
||||
|
||||
Retries now distinguish reads from writes: a write is no longer retried on a network
|
||||
error, which can surface after the request was already sent and would otherwise apply
|
||||
the mutation twice.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12672
|
||||
@@ -1,10 +0,0 @@
|
||||
Enhancement: Add TLS support for the frontend stat cache store connection
|
||||
|
||||
The frontend service was the only remaining place where a `nats-js-kv` store
|
||||
connection could not be secured. Its OCS stat cache forwarded the store type,
|
||||
nodes, database, table, TTL and credentials to reva, but not the TLS settings,
|
||||
so the connection stayed plaintext with no operator toggle to change it. The
|
||||
stat cache now honours `OCIS_CACHE_ENABLE_TLS`, `OCIS_CACHE_TLS_INSECURE` and
|
||||
`OCIS_CACHE_TLS_ROOT_CA_CERTIFICATE` like every other cache and store.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12933
|
||||
@@ -1,8 +0,0 @@
|
||||
Enhancement: Add TLS support for NATS store and registry connections
|
||||
|
||||
All `nats-js-kv` store, cache, and service registry connections now support
|
||||
TLS. Configure via `OCIS_CACHE_ENABLE_TLS`, `OCIS_PERSISTENT_STORE_ENABLE_TLS`,
|
||||
and `MICRO_REGISTRY_ENABLE_TLS`, with corresponding `*_TLS_INSECURE` and
|
||||
`*_TLS_ROOT_CA_CERTIFICATE` variants per connection type.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12765
|
||||
File renamed without changes.
@@ -1,11 +0,0 @@
|
||||
Enhancement: Make OIDC group sync opt-in
|
||||
|
||||
**What changed.** `PROXY_AUTOPROVISION_CLAIM_GROUPS` now defaults to `""`, which disables OIDC group membership sync (and, with it, creation of local groups from claim values). It previously defaulted to `groups`. Setting it to a non-empty claim name restores the previous behaviour unchanged: memberships are synced and groups named in the claim are created if they do not exist locally.
|
||||
|
||||
**Why.** With `PROXY_AUTOPROVISION_ACCOUNTS=true` and the previous `groups` default, the proxy synced group memberships from the OIDC `groups` claim on every authenticated request out of the box, creating local groups for any claim value that did not already exist. In identity providers that let ordinary users create groups with arbitrary names, this allowed an unprivileged user to inject group names into oCIS. Defaulting the claim to empty makes group sync an explicit opt-in.
|
||||
|
||||
**Upgrade note.** Deployments that set `PROXY_AUTOPROVISION_CLAIM_GROUPS` explicitly are unaffected. Deployments that relied on the previous `groups` default without setting it will stop syncing group memberships after upgrade; set `PROXY_AUTOPROVISION_CLAIM_GROUPS=groups` to restore the previous behaviour.
|
||||
|
||||
Note: matching claim values to existing local groups is still done by display name. Hardening that matching is tracked separately and is not part of this change.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12490
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -6,4 +6,4 @@ DELETE, while the regular `/users` handler and the pre-v8.0 code path used
|
||||
looked up the user by name-or-UUID, so the externalID never matched, the LDAP
|
||||
entry was never removed, and the response was a 404. This is now fixed.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12400
|
||||
https://github.com/owncloud/ocis/pull/12405
|
||||
@@ -1,18 +0,0 @@
|
||||
Bugfix: Fix concurrent map access when listing shares
|
||||
|
||||
Listing shares could abort the whole oCIS process with the Go runtime error
|
||||
"fatal error: concurrent map read and map write". This is an unrecoverable
|
||||
runtime fault, so it could not be caught and recovered from, and it dropped all
|
||||
connections that were in flight at that moment.
|
||||
|
||||
When converting CS3 shares into Graph DriveItems, the worker goroutines read
|
||||
from the shared driveItems map while the collecting loop was already writing
|
||||
results into the very same map. The results channel is buffered, so the workers
|
||||
never blocked when handing over an item and the collecting loop started writing
|
||||
while workers were still running. The results are now collected after all
|
||||
workers have finished, which removes the overlapping access.
|
||||
|
||||
Note that lowering the maximum concurrency did not avoid this, as a single
|
||||
worker could still run concurrently with the collecting loop.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12670
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,6 +0,0 @@
|
||||
Bugfix: Correct introduction version for OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL
|
||||
|
||||
We changed the documented introduction version of the
|
||||
OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL from 8.0.0 to 8.3.0.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12950
|
||||
File renamed without changes.
+1
-1
@@ -15,4 +15,4 @@ download failures from missing signing keys (`ocs`).
|
||||
The store plugin now treats a closed connection as no connection, so the next
|
||||
operation transparently re-initializes it.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12402
|
||||
https://github.com/owncloud/ocis/pull/12404
|
||||
File renamed without changes.
@@ -0,0 +1,11 @@
|
||||
Bugfix: Fix PostgreSQL container restart loop in Keycloak deployments
|
||||
|
||||
The PostgreSQL volume was mounted directly at `/var/lib/postgresql/data`.
|
||||
On ext4 storage backends, Docker creates a `lost+found` directory at the volume root,
|
||||
causing PostgreSQL's `initdb` to fail because the data directory is not empty.
|
||||
This resulted in the container entering a restart loop.
|
||||
|
||||
The volume mount path has been changed to `/var/lib/postgresql` so that
|
||||
PostgreSQL creates the `data/` subdirectory itself, avoiding the conflict.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12359
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,15 +0,0 @@
|
||||
Bugfix: Show vault-shared mountpoints in the vault drive list
|
||||
|
||||
Shares of vault resources are mountpoints hosted on the shares storage provider
|
||||
that grant into the vault storage provider. When listing spaces with the vault
|
||||
`storage_id`, the storage registry skipped the shares provider entirely, so the
|
||||
vault share mountpoint was missing from the vault drive list while still showing
|
||||
up in the regular drive list.
|
||||
|
||||
The registry now also queries the shares provider when the vault storage id is
|
||||
requested and segregates share mountpoints by their `grantStorageID`, so a vault
|
||||
share only appears in the vault drive list and a regular share only in the
|
||||
regular one.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12644
|
||||
https://github.com/owncloud/reva/pull/666
|
||||
@@ -1,18 +0,0 @@
|
||||
Bugfix: Log unmapped thumbnail errors and always report a sabredav exception
|
||||
|
||||
The webdav service logged failures of the thumbnails service at debug level only.
|
||||
Errors which are not a property of the requested file, such as the thumbnails
|
||||
service being unreachable, were therefore invisible at production log levels: a
|
||||
complete preview outage produced HTTP 500 responses without a single log line
|
||||
explaining them. Unmapped errors are now logged at error level, while expected
|
||||
per-file outcomes such as an unsupported file type or a file still being
|
||||
processed stay at debug level. Two of the four thumbnail handlers also logged
|
||||
without the request context, so their messages carried no request id.
|
||||
|
||||
In addition, `codesEnum` only mapped four status codes, so error responses for
|
||||
all other codes were rendered with an empty `<s:exception></s:exception>`
|
||||
element. The missing entries for 403, 425 and 429 have been added and any
|
||||
remaining unmapped code now falls back to a generic exception name, so clients
|
||||
always receive a usable exception.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12666
|
||||
File renamed without changes.
@@ -1,16 +0,0 @@
|
||||
Enhancement: Allow disabling the last sign-in timestamp update
|
||||
|
||||
The graph service maintains the 'oCLastSignInTimestamp' LDAP attribute of a user
|
||||
on every sign-in (when the LDAP identity backend has write access). This can
|
||||
cause a significant amount of LDAP write load, especially when the proxy's OIDC
|
||||
userinfo cache has a short TTL and sign-in events are emitted frequently.
|
||||
|
||||
A new setting 'OCIS_LDAP_UPDATE_LAST_SIGNIN_DATE' / 'GRAPH_LDAP_UPDATE_LAST_SIGNIN_DATE'
|
||||
(default 'true') allows disabling the update of the last sign-in timestamp
|
||||
without having to disable all LDAP writes ('OCIS_LDAP_SERVER_WRITE_ENABLED') or
|
||||
the graph events consumer. When set to 'false' the graph service no longer
|
||||
listens for 'UserSignedIn' events and does not write the 'oCLastSignInTimestamp'
|
||||
attribute.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12522
|
||||
https://github.com/owncloud/ocis/issues/9942
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,5 +0,0 @@
|
||||
Security: Bump google.golang.org/grpc to v1.83.2
|
||||
|
||||
Upgraded google.golang.org/grpc from v1.83.1 to v1.83.2.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12911
|
||||
@@ -1,6 +0,0 @@
|
||||
Security: Bump google.golang.org/grpc to v1.83.1
|
||||
|
||||
Upgraded google.golang.org/grpc from v1.83.0 to v1.83.1 to address
|
||||
CVE-2026-84304 (HIGH) reported by the Trivy vulnerability scan.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12861
|
||||
@@ -1,6 +0,0 @@
|
||||
Security: Bump golang.org/x/image to v0.45.0
|
||||
|
||||
Upgraded golang.org/x/image from v0.44.0 to v0.45.0 to address
|
||||
GO-2026-6222: excessive memory allocation during VP8L decoding.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12807
|
||||
File renamed without changes.
@@ -0,0 +1,7 @@
|
||||
Security: Do not leak internal error details in webdav error responses
|
||||
|
||||
The webdav service returned raw internal error messages to the client when a server-side error occurred. For example, a thumbnail request with a null byte in the filename and `?preview=1` could trigger a `500 Internal Server Error` whose body exposed the internal storage filesystem path (information disclosure).
|
||||
|
||||
Server-side error handlers now return a generic, user-relevant message to the client, while the detailed error is only logged server-side.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12398
|
||||
File renamed without changes.
@@ -1,4 +1,4 @@
|
||||
# Pins the ownCloud Web frontend version used in CI tests.
|
||||
# Read by: tests/acceptance/run-e2e.py and .github/workflows/acceptance-tests.yml (Playwright cache key).
|
||||
WEB_COMMITID=6a0f8cd37c3348a354f491634677273d27959266
|
||||
WEB_COMMITID=7dbf6ee5d4df704d19cc33da5564042e226e6871
|
||||
WEB_BRANCH=stable-12.4
|
||||
@@ -23,3 +23,58 @@ Keycloak can be optionally enabled by uncommenting the corresponding variables i
|
||||
- `KEYCLOAK=:keycloak.yml`
|
||||
|
||||
Note that Keycloak requires the default `ocis` Identity Provider to be disabled, which is automatically handled when the `keycloak.yml` configuration is used.
|
||||
|
||||
### Kiteworks Storage
|
||||
|
||||
Enables a read-only Kiteworks storage provider alongside the default oCIS storage.
|
||||
Kiteworks top-level folders appear as project spaces in the oCIS web UI.
|
||||
Creating new project spaces from the UI continues to use decomposedfs.
|
||||
|
||||
**Prerequisites:**
|
||||
|
||||
The Kiteworks storage driver is not part of an upstream oCIS release. Build the `owncloud/ocis:dev` image locally from this branch:
|
||||
```bash
|
||||
make -C ocis dev-docker
|
||||
```
|
||||
|
||||
**Required `.env` variables:**
|
||||
```env
|
||||
KITEWORKS_ENDPOINT=https://your-kiteworks-instance.example.com
|
||||
KITEWORKS_API_TOKEN=<your-api-token>
|
||||
```
|
||||
|
||||
**Optional `.env` variables:**
|
||||
```env
|
||||
KITEWORKS_MOUNT_ID=aa309def-b364-417b-8e41-85b8a9393c4b # stable UUID; change only to avoid collision with another deployment
|
||||
KITEWORKS_INSECURE=false # set true only if the Kiteworks TLS cert is self-signed
|
||||
```
|
||||
|
||||
**Start command:**
|
||||
```bash
|
||||
docker compose -f docker-compose.yml -f ocis.yml -f kiteworks-storage.yml up -d
|
||||
```
|
||||
|
||||
**Verify:**
|
||||
```bash
|
||||
# Kiteworks folders appear as project spaces alongside the personal decomposedfs space
|
||||
curl -ksu admin:admin "https://${OCIS_DOMAIN}/graph/v1.0/me/drives" \
|
||||
| jq '.value[] | {id, name, driveType}'
|
||||
|
||||
# Creating a new project space must succeed (HTTP 201) and land on decomposedfs
|
||||
curl -ksu admin:admin -X POST "https://${OCIS_DOMAIN}/graph/v1.0/drives" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"name":"my space","driveType":"project"}' -w "\nHTTP %{http_code}\n"
|
||||
|
||||
# List files in a Kiteworks space → HTTP 207 (smoke-tests KW ListFolder)
|
||||
# Use the space id from the drives listing above (the one with driveType "project" whose id
|
||||
# starts with the KITEWORKS_MOUNT_ID, default aa309def-b364-417b-8e41-85b8a9393c4b)
|
||||
curl -ksu admin:admin -X PROPFIND \
|
||||
"https://${OCIS_DOMAIN}/dav/spaces/<kw-space-id>/" \
|
||||
-H "Depth: 1" -w "\nHTTP %{http_code}\n"
|
||||
|
||||
# Download a file from a Kiteworks space → HTTP 200 (smoke-tests KW Download)
|
||||
# Use any file path from the PROPFIND listing above
|
||||
curl -ksu admin:admin \
|
||||
"https://${OCIS_DOMAIN}/dav/spaces/<kw-space-id>/<subfolder>/<filename>" \
|
||||
-w "\nHTTP %{http_code}\n"
|
||||
```
|
||||
Loaded 100 of 1036 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user