Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c29cddcca0 |
No files matched your search
@@ -8,7 +8,6 @@ jobs:
|
||||
detect-changes:
|
||||
name: detect-changes
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
outputs:
|
||||
docs-only: ${{ steps.check.outputs.docs-only }}
|
||||
steps:
|
||||
@@ -18,8 +17,6 @@ jobs:
|
||||
|
||||
- name: Check if changes are docs-only
|
||||
id: check
|
||||
env:
|
||||
PR_TITLE: ${{ github.event.pull_request.title }}
|
||||
run: |
|
||||
# Always run full CI on workflow_dispatch, tags, or when PR title contains [full-ci]
|
||||
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
|
||||
@@ -27,6 +24,7 @@ jobs:
|
||||
exit 0
|
||||
fi
|
||||
|
||||
PR_TITLE="${{ github.event.pull_request.title }}"
|
||||
if echo "$PR_TITLE" | grep -qi "\[full-ci\]"; then
|
||||
echo "docs-only=false" >> "$GITHUB_OUTPUT"
|
||||
exit 0
|
||||
@@ -54,7 +52,6 @@ jobs:
|
||||
needs: [detect-changes]
|
||||
if: needs.detect-changes.outputs.docs-only != 'true'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
@@ -139,8 +136,7 @@ jobs:
|
||||
vmstat 2 > /tmp/vmstat-phase2.log & MONITOR_PID=$!
|
||||
|
||||
make ci-golangci-lint > /tmp/golangci-lint.log 2>&1 & PIDS=($!)
|
||||
( ENABLE_VIPS=true make -C ocis build-debug \
|
||||
&& mv ocis/bin/ocis-debug ocis/bin/ocis ) > /tmp/ocis-build.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+=($!)
|
||||
|
||||
@@ -175,9 +171,6 @@ jobs:
|
||||
name: ${{ matrix.suite }}
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
env:
|
||||
GOCOVERDIR: ${{ github.workspace }}/coverage-reports
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -285,25 +278,12 @@ jobs:
|
||||
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
|
||||
|
||||
- name: Run ${{ matrix.suite }}
|
||||
run: |
|
||||
mkdir -p "$GOCOVERDIR"
|
||||
BEHAT_SUITES=${{ matrix.suite }} python3 tests/acceptance/run-github.py
|
||||
|
||||
- name: Upload raw coverage data
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: api-coverage-${{ matrix.suite }}
|
||||
path: ${{ env.GOCOVERDIR }}
|
||||
if-no-files-found: error
|
||||
run: BEHAT_SUITES=${{ matrix.suite }} python3 tests/acceptance/run-github.py
|
||||
|
||||
cli-tests:
|
||||
needs: [build-and-test]
|
||||
name: ${{ matrix.suite }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
env:
|
||||
GOCOVERDIR: ${{ github.workspace }}/coverage-reports
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -333,25 +313,12 @@ jobs:
|
||||
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
|
||||
|
||||
- name: Run ${{ matrix.suite }}
|
||||
run: |
|
||||
mkdir -p "$GOCOVERDIR"
|
||||
BEHAT_SUITES="${{ matrix.suite }}" python3 tests/acceptance/run-github.py
|
||||
|
||||
- name: Upload raw coverage data
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: api-coverage-cli-${{ matrix.suite }}
|
||||
path: ${{ env.GOCOVERDIR }}
|
||||
if-no-files-found: error
|
||||
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
|
||||
timeout-minutes: 120
|
||||
env:
|
||||
GOCOVERDIR: ${{ github.workspace }}/coverage-reports
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -381,25 +348,12 @@ jobs:
|
||||
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
|
||||
|
||||
- name: Run ${{ matrix.suite }} with OCIS_LDAP_POOL_ENABLED=true
|
||||
run: |
|
||||
mkdir -p "$GOCOVERDIR"
|
||||
BEHAT_SUITES="${{ matrix.suite }}" OCIS_LDAP_POOL_ENABLED=true python3 tests/acceptance/run-github.py
|
||||
|
||||
- name: Upload raw coverage data
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: api-coverage-ldap-pool-${{ matrix.suite }}
|
||||
path: ${{ env.GOCOVERDIR }}
|
||||
if-no-files-found: error
|
||||
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]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
env:
|
||||
GOCOVERDIR: ${{ github.workspace }}/coverage-reports
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -473,38 +427,28 @@ jobs:
|
||||
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
|
||||
|
||||
- name: Run ${{ matrix.suite }}
|
||||
run: |
|
||||
mkdir -p "$GOCOVERDIR"
|
||||
BEHAT_SUITES="${{ matrix.suite }}" \
|
||||
ACCEPTANCE_TEST_TYPE=core-api \
|
||||
WITH_REMOTE_PHP=true \
|
||||
run: >
|
||||
BEHAT_SUITES="${{ matrix.suite }}"
|
||||
ACCEPTANCE_TEST_TYPE=core-api
|
||||
WITH_REMOTE_PHP=true
|
||||
python3 tests/acceptance/run-github.py
|
||||
|
||||
- name: Upload raw coverage data
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
name: api-coverage-core-${{ matrix.suite }}
|
||||
path: ${{ env.GOCOVERDIR }}
|
||||
if-no-files-found: error
|
||||
|
||||
e2e-tests:
|
||||
name: e2e-${{ matrix.suite }}
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- suite: part-1
|
||||
args: "--type playwright --total-parts 4 --xsuites search,app-provider,ocm,keycloak,mfa,oidc,vault-storage --run-part 1"
|
||||
args: "--type playwright --total-parts 4 --xsuites search,app-provider,ocm,keycloak,mfa,oidc --run-part 1"
|
||||
- suite: part-2
|
||||
args: "--type playwright --total-parts 4 --xsuites search,app-provider,ocm,keycloak,mfa,oidc,vault-storage --run-part 2"
|
||||
args: "--type playwright --total-parts 4 --xsuites search,app-provider,ocm,keycloak,mfa,oidc --run-part 2"
|
||||
- suite: part-3
|
||||
args: "--type playwright --total-parts 4 --xsuites search,app-provider,ocm,keycloak,mfa,oidc,vault-storage --run-part 3"
|
||||
args: "--type playwright --total-parts 4 --xsuites search,app-provider,ocm,keycloak,mfa,oidc --run-part 3"
|
||||
- suite: part-4
|
||||
args: "--type playwright --total-parts 4 --xsuites search,app-provider,ocm,keycloak,mfa,oidc,vault-storage --run-part 4"
|
||||
args: "--type playwright --total-parts 4 --xsuites search,app-provider,ocm,keycloak,mfa,oidc --run-part 4"
|
||||
- suite: search
|
||||
args: "--type playwright --suites search"
|
||||
tika: true
|
||||
@@ -526,9 +470,6 @@ jobs:
|
||||
- suite: ocm
|
||||
args: "--type playwright --suites ocm"
|
||||
federated: true
|
||||
- suite: vault-storage
|
||||
args: "--type playwright --suites vault-storage"
|
||||
vault_storage: true
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
@@ -571,7 +512,7 @@ jobs:
|
||||
|
||||
# --- Keycloak (keycloak and mfa suites) ---
|
||||
- name: Generate Keycloak certs
|
||||
if: matrix.keycloak == true || matrix.mfa == true || matrix.vault_storage == true
|
||||
if: matrix.keycloak == true || matrix.mfa == true
|
||||
run: |
|
||||
mkdir -p keycloak-certs
|
||||
openssl req -x509 -newkey rsa:2048 \
|
||||
@@ -582,7 +523,7 @@ jobs:
|
||||
chmod -R 777 keycloak-certs
|
||||
|
||||
- name: Start Postgres
|
||||
if: matrix.keycloak == true || matrix.mfa == true || matrix.vault_storage == true
|
||||
if: matrix.keycloak == true || matrix.mfa == true
|
||||
run: |
|
||||
docker run -d --name postgres --network host \
|
||||
-e POSTGRES_DB=keycloak \
|
||||
@@ -592,12 +533,12 @@ jobs:
|
||||
timeout 30 bash -c 'until docker exec postgres pg_isready -U keycloak; do sleep 1; done'
|
||||
|
||||
- name: Start Keycloak
|
||||
if: matrix.keycloak == true || matrix.mfa == true || matrix.vault_storage == true
|
||||
if: matrix.keycloak == true || matrix.mfa == true
|
||||
run: |
|
||||
# The mfa suite needs a different realm with TOTP MFA configured.
|
||||
# ocis-ci-realm uses ocis-server:9200, ocis-mfa-ci-realm uses localhost:9200;
|
||||
# ocis runs on 127.0.0.1:9200 so we rewrite both forms.
|
||||
if [[ "${{ matrix.mfa }}" == "true" || "${{ matrix.vault_storage }}" == "true" ]]; then
|
||||
if [[ "${{ matrix.mfa }}" == "true" ]]; then
|
||||
REALM_FILE=tests/config/ci/ocis-mfa-ci-realm.dist.json
|
||||
else
|
||||
REALM_FILE=tests/config/ci/ocis-ci-realm.dist.json
|
||||
@@ -676,7 +617,6 @@ jobs:
|
||||
OIDC_IFRAME_NEEDED: ${{ matrix.oidc_iframe == true && 'true' || 'false' }}
|
||||
COLLABORATION_NEEDED: ${{ matrix.collaboration == true && 'true' || 'false' }}
|
||||
FEDERATED_NEEDED: ${{ matrix.federated == true && 'true' || 'false' }}
|
||||
VAULT_STORAGE_NEEDED: ${{ matrix.vault_storage == true && 'true' || 'false' }}
|
||||
|
||||
- name: Upload tracing result
|
||||
if: failure()
|
||||
@@ -698,7 +638,6 @@ jobs:
|
||||
name: litmus
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
|
||||
@@ -723,7 +662,6 @@ jobs:
|
||||
name: cs3api
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
|
||||
@@ -748,7 +686,6 @@ jobs:
|
||||
name: wopi-builtin
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
|
||||
@@ -773,7 +710,6 @@ jobs:
|
||||
name: wopi-cs3
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
|
||||
@@ -798,7 +734,6 @@ jobs:
|
||||
name: external-ldap-smoke
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
||||
@@ -831,7 +766,6 @@ jobs:
|
||||
name: external-ldap-distributed-smoke
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
||||
@@ -858,51 +792,9 @@ jobs:
|
||||
- name: Run external-LDAP distributed smoke
|
||||
run: tests/ldap-smoke-distributed/run.sh
|
||||
|
||||
acceptance-coverage:
|
||||
name: acceptance-coverage
|
||||
needs: [local-api-tests, cli-tests, ldap-pool-tests, core-api-tests]
|
||||
if: always() && github.event_name == 'pull_request'
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GOCOVERDIR: ${{ github.workspace }}/coverage-reports
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- name: Download raw coverage data
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
pattern: api-coverage-*
|
||||
path: ${{ env.GOCOVERDIR }}
|
||||
merge-multiple: true
|
||||
|
||||
- name: Convert coverage counters to profile
|
||||
run: go tool covdata textfmt -i=${{ env.GOCOVERDIR }} -o=coverage.out
|
||||
|
||||
- name: Publish coverage summary
|
||||
run: |
|
||||
{
|
||||
echo "## Acceptance test coverage"
|
||||
echo '```'
|
||||
go tool covdata percent -i=${{ env.GOCOVERDIR }}
|
||||
echo '```'
|
||||
echo
|
||||
echo "<details>"
|
||||
echo "<summary>Per-function coverage</summary>"
|
||||
echo
|
||||
echo '```'
|
||||
go tool cover -func=coverage.out
|
||||
echo '```'
|
||||
echo "</details>"
|
||||
} >> "$GITHUB_STEP_SUMMARY"
|
||||
|
||||
all-acceptance-tests:
|
||||
needs: [detect-changes, local-api-tests, cli-tests, ldap-pool-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests, external-ldap-tests, external-ldap-distributed-tests]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
if: always()
|
||||
steps:
|
||||
- name: Check all jobs passed
|
||||
|
||||
@@ -7,7 +7,6 @@ on:
|
||||
jobs:
|
||||
license-check:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Test Deployment Examples
|
||||
name: test deployment example
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -7,25 +7,20 @@ on:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: ${{ matrix.example }}
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- example: ocis_full
|
||||
urls: "https://ocis.owncloud.test https://collabora.owncloud.test"
|
||||
# - example: ocis_hello
|
||||
# urls: "https://ocis.owncloud.test"
|
||||
urls: "https://ocis.owncloud.test"
|
||||
- example: ocis_ldap
|
||||
urls: "https://ocis.owncloud.test https://ldap.owncloud.test"
|
||||
- example: ocis_multi
|
||||
urls: "https://ocis.owncloud.test https://ocis.ocm.owncloud.test https://keycloak.owncloud.test https://ldap.owncloud.test"
|
||||
urls: "https://ocis.owncloud.test https://ocis.ocm.owncloud.test"
|
||||
- example: ocis_ocm
|
||||
urls: "https://ocis.owncloud.test https://ocis.ocm.owncloud.test https://ocis.ocm.next.owncloud.test https://collabora.ocm.owncloud.test https://onlyoffice.owncloud.test"
|
||||
composeFiles: "-f docker-compose.yml -f ocis.yml -f ocis-ocm.yml -f ocis-ocm-next.yml -f collabora-ocm.yml -f onlyoffice.yml"
|
||||
urls: "https://ocis.owncloud.test https://ocis.ocm.owncloud.test https://ocis.ocm.next.owncloud.test"
|
||||
- example: ocis_keycloak
|
||||
urls: "https://ocis.owncloud.test https://keycloak.owncloud.test"
|
||||
|
||||
@@ -35,23 +30,19 @@ jobs:
|
||||
with:
|
||||
repository: owncloud/ocis
|
||||
|
||||
- name: Set up Docker Compose
|
||||
uses: docker/setup-compose-action@16feee727cbdc83b6a014e6cc26fec4a79bcf30c # v2.2.0
|
||||
|
||||
- name: Prepare hosts entry
|
||||
run: |
|
||||
echo "127.0.0.1 ocis.owncloud.test collabora.owncloud.test keycloak.owncloud.test mail.owncloud.test minio.owncloud.test onlyoffice.owncloud.test tika ldap.owncloud.test ocis.ocm.owncloud.test ocis.ocm.next.owncloud.test collabora.ocm.owncloud.test" | sudo tee -a /etc/hosts
|
||||
echo "127.0.0.1 ocis.owncloud.test collabora.owncloud.test keycloak.owncloud.test mail.owncloud.test minio.owncloud.test onlyoffice.owncloud.test tika ldap.owncloud.test ocis.ocm.owncloud.test ocis.ocm.next.owncloud.test onlyoffice.owncloud.test" | sudo tee -a /etc/hosts
|
||||
|
||||
- name: Run compose stack
|
||||
working-directory: deployments/examples/${{ matrix.example }}
|
||||
run: |
|
||||
set -e
|
||||
echo "=== Running ${{ matrix.example }} ==="
|
||||
|
||||
if [ "${{ matrix.example }}" = "ocis_ocm" ]; then
|
||||
export INSECURE=true
|
||||
export COLLABORA_SSL_ENABLE=false
|
||||
export COLLABORA_SSL_VERIFICATION=false
|
||||
fi
|
||||
|
||||
docker compose ${{ matrix.composeFiles }} up -d --wait --wait-timeout 120
|
||||
docker compose up -d
|
||||
|
||||
- name: Wait for services
|
||||
run: |
|
||||
@@ -85,4 +76,4 @@ jobs:
|
||||
- name: Tear down
|
||||
if: always()
|
||||
working-directory: deployments/examples/${{ matrix.example }}
|
||||
run: docker compose ${{ matrix.composeFiles }} down -v
|
||||
run: docker compose down -v
|
||||
@@ -18,7 +18,6 @@ jobs:
|
||||
k6-load-test:
|
||||
name: k6-load-test
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
container:
|
||||
image: owncloudci/alpine:latest
|
||||
if: >-
|
||||
|
||||
@@ -19,7 +19,6 @@ jobs:
|
||||
api-tests:
|
||||
name: ${{ matrix.suite }}-k8s
|
||||
runs-on: ubuntu-26.04
|
||||
timeout-minutes: 120
|
||||
|
||||
if: >-
|
||||
github.event_name == 'schedule' ||
|
||||
|
||||
@@ -17,7 +17,6 @@ jobs:
|
||||
release-npm:
|
||||
name: Publish NPM package
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
|
||||
@@ -23,7 +23,6 @@ env:
|
||||
jobs:
|
||||
determine-release-type:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
outputs:
|
||||
version: ${{ steps.info.outputs.version }}
|
||||
is_production: ${{ steps.info.outputs.is_production }}
|
||||
@@ -37,8 +36,6 @@ jobs:
|
||||
fetch-tags: true
|
||||
|
||||
- id: info
|
||||
env:
|
||||
VERSION_OVERRIDE: ${{ inputs.version_override }}
|
||||
run: |
|
||||
next_dev() {
|
||||
# If latest tag is already a pre-release (e.g. v8.0.2-dev.1), reuse its base
|
||||
@@ -55,7 +52,7 @@ jobs:
|
||||
}
|
||||
|
||||
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
|
||||
VERSION="$VERSION_OVERRIDE"
|
||||
VERSION="${{ inputs.version_override }}"
|
||||
[[ -z "$VERSION" ]] && VERSION=$(next_dev)
|
||||
elif [[ "${{ github.ref_type }}" == "branch" ]]; then
|
||||
VERSION=$(next_dev)
|
||||
@@ -63,17 +60,6 @@ jobs:
|
||||
VERSION="${GITHUB_REF#refs/tags/v}"
|
||||
fi
|
||||
|
||||
# `version` below is read back by nine `run:` blocks in this file (thirteen
|
||||
# interpolations) as ${{ needs.determine-release-type.outputs.version }}, and each
|
||||
# of those is substituted into the script text before bash sees it. Refusing
|
||||
# anything that is not a version token here is what keeps those nine safe, instead
|
||||
# of nine more env: blocks -- and a release version that is not a version token is
|
||||
# a bug in its own right.
|
||||
if [[ ! "$VERSION" =~ ^[0-9A-Za-z][0-9A-Za-z.+-]*$ ]]; then
|
||||
echo "::error title=Invalid release version::'$VERSION' is not a version string (expected ^[0-9A-Za-z][0-9A-Za-z.+-]*$)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
IS_PRODUCTION=false
|
||||
for TAG in ${PRODUCTION_RELEASE_TAGS//,/ }; do
|
||||
[[ "$VERSION" == "$TAG"* ]] && IS_PRODUCTION=true && break
|
||||
@@ -94,7 +80,6 @@ jobs:
|
||||
|
||||
generate-code:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
needs: [determine-release-type]
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
@@ -131,7 +116,6 @@ jobs:
|
||||
if: false
|
||||
name: docker-build (${{ matrix.arch }}, ${{ matrix.repo }})
|
||||
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
|
||||
timeout-minutes: 120
|
||||
needs: [determine-release-type, generate-code, security-scan-trivy]
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -207,7 +191,6 @@ jobs:
|
||||
docker-scan:
|
||||
name: docker-scan (${{ matrix.arch }}, ${{ matrix.repo }})
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
needs: [determine-release-type, docker-build]
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -239,7 +222,6 @@ jobs:
|
||||
if: false
|
||||
name: docker-manifest (${{ matrix.repo }})
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
needs: [determine-release-type, docker-build, docker-scan]
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -266,7 +248,6 @@ jobs:
|
||||
if: false
|
||||
name: docker-readme (${{ matrix.repo }})
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
needs: [determine-release-type, docker-manifest]
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -283,7 +264,6 @@ jobs:
|
||||
build-binaries:
|
||||
name: build-binaries (${{ matrix.os }})
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 120
|
||||
needs: [determine-release-type, generate-code]
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -311,7 +291,6 @@ jobs:
|
||||
|
||||
security-scan-trivy:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
- uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
|
||||
@@ -324,7 +303,6 @@ jobs:
|
||||
|
||||
license-check:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
needs: [determine-release-type, generate-code]
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
@@ -354,7 +332,6 @@ jobs:
|
||||
|
||||
generate-changelog:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
needs: [determine-release-type]
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
@@ -378,7 +355,6 @@ jobs:
|
||||
|
||||
create-github-release:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
needs: [determine-release-type, build-binaries, license-check, generate-changelog, security-scan-trivy]
|
||||
steps:
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
@@ -407,7 +383,6 @@ jobs:
|
||||
|
||||
audit-release:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
needs:
|
||||
- determine-release-type
|
||||
- generate-code
|
||||
|
||||
@@ -16,7 +16,6 @@ jobs:
|
||||
remove-stale-branches:
|
||||
name: Remove Stale Branches
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- uses: fpicalausa/remove-stale-branches@9b829bc2975ade0c61e64e9613def53ec0732440 # v2.6.1
|
||||
with:
|
||||
|
||||
@@ -9,7 +9,6 @@ jobs:
|
||||
detect-web-changes:
|
||||
name: detect-web-changes
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
outputs:
|
||||
web-changed: ${{ steps.check.outputs.web-changed }}
|
||||
steps:
|
||||
@@ -20,14 +19,13 @@ jobs:
|
||||
|
||||
- name: Check if web/ changed
|
||||
id: check
|
||||
env:
|
||||
PR_TITLE: ${{ github.event.pull_request.title }}
|
||||
run: |
|
||||
if [[ "${{ github.event_name }}" == "push" ]]; then
|
||||
echo "web-changed=true" >> "$GITHUB_OUTPUT"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
PR_TITLE="${{ github.event.pull_request.title }}"
|
||||
if echo "$PR_TITLE" | grep -qi "\[full-ci\]"; then
|
||||
echo "web-changed=true" >> "$GITHUB_OUTPUT"
|
||||
exit 0
|
||||
@@ -51,7 +49,6 @@ jobs:
|
||||
needs: [detect-web-changes]
|
||||
if: needs.detect-web-changes.outputs.web-changed == 'true'
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
@@ -99,7 +96,6 @@ jobs:
|
||||
name: web-tests-passed
|
||||
needs: [detect-web-changes, web-build-test]
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
||||
if: always()
|
||||
steps:
|
||||
- name: Check web-build-test passed or was skipped
|
||||
|
||||
@@ -15,7 +15,6 @@ jobs:
|
||||
generate-report:
|
||||
name: Generate Pipeline Report
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
container: golang:1.25-alpine
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
@@ -60,9 +60,6 @@ go.work
|
||||
go.work.sum
|
||||
.env
|
||||
.envrc
|
||||
|
||||
# generated secrets for deployment examples (e.g. Collabora WOPI proof key)
|
||||
deployments/examples/*/config/collabora/
|
||||
CLAUDE.md
|
||||
.claude/
|
||||
GEMINI.md
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
Bugfix: Education user delete no longer 404s and leaves the LDAP entry behind
|
||||
|
||||
`DELETE /graph/v1.0/education/users/{id}` previously returned a 404 without
|
||||
removing the user. 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/12395
|
||||
@@ -1,18 +0,0 @@
|
||||
Bugfix: Recover from permanently-closed NATS connections in the nats-js-kv store
|
||||
|
||||
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/12401
|
||||
@@ -1,6 +0,0 @@
|
||||
Security: Bump Go to 1.25.11
|
||||
|
||||
Fixes CVE-2026-42504, a stdlib MIME header decoding vulnerability flagged by
|
||||
the release image scan.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12446
|
||||
@@ -1,7 +0,0 @@
|
||||
Security: Upgrade libvips to 8.18.3
|
||||
|
||||
Bumped libvips to 8.18.3 in all Docker images. The previous pin (8.18.2-r0)
|
||||
was dropped from the Alpine edge/community repository, which broke the image
|
||||
build.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12446
|
||||
@@ -1,8 +0,0 @@
|
||||
Security: Upgrade Go to 1.25.12
|
||||
|
||||
Bumped the Go toolchain used to build the release binaries and Docker images
|
||||
from 1.25.11 to 1.25.12. Go 1.25.11 is affected by CVE-2026-39822 (os.Root
|
||||
symlink following allows directory traversal), which is fixed in 1.25.12 and
|
||||
was blocking the release image security scan.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12602
|
||||
@@ -1,7 +0,0 @@
|
||||
Security: Upgrade libvips to 8.18.4
|
||||
|
||||
Bumped libvips to 8.18.4 in all Docker images. The previous pin (8.18.3-r0)
|
||||
was dropped from the Alpine edge/community repository, which broke the image
|
||||
build.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12596
|
||||
@@ -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/12660
|
||||
@@ -1,13 +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/12635
|
||||
|
||||
@@ -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,10 +0,0 @@
|
||||
Enhancement: Bump Reva version
|
||||
|
||||
bumped reva version
|
||||
|
||||
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
|
||||
@@ -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
|
||||
@@ -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,15 +0,0 @@
|
||||
Bugfix: Keep bind config in sync when resetting a service user password
|
||||
|
||||
Resetting an IDM service user password with `ocis idm resetpassword
|
||||
--user-type service` only changed the entry in the IDM directory. Services such
|
||||
as auth-basic, users and groups still bound to LDAP as the `reva` service user
|
||||
using the old `bind_password` from their configuration, so after a restart
|
||||
those binds failed and regular admin login started returning 401 Unauthorized.
|
||||
|
||||
The command now rewrites the matching `bind_password` and
|
||||
`service_user_passwords` keys in `ocis.yaml` when it is present, and always
|
||||
prints the environment variables that must carry the new password for env-var
|
||||
and distributed deployments it cannot rewrite.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12716
|
||||
https://github.com/owncloud/ocis/issues/12569
|
||||
@@ -1,10 +0,0 @@
|
||||
Bugfix: Remove keyboard focus from open file name in top bar
|
||||
|
||||
When opening a file such as a text or markdown document, the file name shown
|
||||
in the top bar could be reached via keyboard tabbing even though it was not
|
||||
clickable and triggered no action. This made keyboard navigation confusing.
|
||||
|
||||
The file name is no longer part of the tab order, since it is a purely
|
||||
informational, non-interactive element.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12752
|
||||
@@ -1,8 +0,0 @@
|
||||
Enhancement: Bump dependencies
|
||||
|
||||
Bumped Go and npm dependencies to address security findings:
|
||||
|
||||
- `github.com/go-git/go-git/v5` v5.19.1 → v5.19.2 (CVE-2026-71556)
|
||||
- `nanoid` 3.3.15 → 3.3.17 and 5.1.5 → 5.1.16 (npm, via pnpm overrides; CVE-2026-67213, CVE-2026-67214)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12766
|
||||
@@ -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
|
||||
@@ -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,49 +0,0 @@
|
||||
Bugfix: Allow renaming, moving and editing files with the editor-lite role
|
||||
|
||||
We've fixed the editor-lite role ("Can edit" in the web UI). Sharees can now
|
||||
rename a file inside a shared folder, move it and change its contents. Before,
|
||||
they could only upload new files, and the web UI offered neither the rename nor
|
||||
the overwrite action.
|
||||
|
||||
The role has always granted Move, but the persisted ACE format had no flag of
|
||||
its own for it: Move shared the "w" flag with InitiateFileUpload and was only
|
||||
recovered on read by assuming a grant may move whenever it may write, download
|
||||
and delete. The editor-lite role has no delete, so its Move was dropped as soon
|
||||
as the grant was written to disk, `Decomposedfs.Move` then refused the rename
|
||||
and propfind reported the grant as a create-only uploader. Move is now
|
||||
persisted under its own "m" flag in `pkg/storage/utils/ace/ace.go`; grants
|
||||
written before that flag existed carry no "m" and keep using the old inference.
|
||||
On top of that, `RoleFromResourcePermissions` in `pkg/conversions/role.go` did
|
||||
not treat Move as write, so the WebDAV permissions string lacked "NV" (rename)
|
||||
and "W" (overwrite) even for a grant that had kept its Move. Move now implies
|
||||
write for grants that do not carry delete, which leaves the OCS permissions of
|
||||
the deletable roles unchanged.
|
||||
|
||||
Note: the effective permission set of the editor-lite role changed. The CS3
|
||||
resource permissions returned by `NewEditorLiteRole` are unchanged - Stat,
|
||||
GetPath, ListContainer, InitiateFileDownload, InitiateFileUpload,
|
||||
CreateContainer and Move, still no Delete and no ListFileVersions - but a grant
|
||||
created from it is now stored as "txrwma" instead of "txrwa", reports the OCS
|
||||
permissions 6 (create + write) instead of 4 (create), and reports the WebDAV
|
||||
permissions "SNVW" on a shared file and "SNVCK" on a shared folder instead of
|
||||
"S" and "SCK".
|
||||
|
||||
The same "m" flag also restores Move for any other non-deletable grant that
|
||||
carries it. In particular the Uploader share role is affected: like editor-lite
|
||||
it is a create grant without delete, so its Move used to be dropped on
|
||||
write-back and is now preserved. This is why the previously expected-to-fail
|
||||
"sharee moves a file within a shared folder" scenarios for the Uploader role now
|
||||
pass, and the matching entries were removed from
|
||||
`tests/acceptance/expected-failures-API-on-OCIS-storage.md`.
|
||||
|
||||
This fix DOES NOT include a migration of stored grants. Shares created with
|
||||
that role before this update keep their old grant on disk, which carries no "m"
|
||||
flag. For them, Move stays unset and the WebDAV permissions string stays
|
||||
unchanged, while the share record itself has always kept Move and therefore
|
||||
already reports the new OCS permissions. Only shares created with that role
|
||||
AFTER THE UPDATE get the new permission set. Re-creating an affected share, or
|
||||
updating its role, re-writes the grant and picks up the fix.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12721
|
||||
https://github.com/owncloud/reva/pull/689
|
||||
https://github.com/owncloud/ocis/issues/11977
|
||||
@@ -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/12656
|
||||
https://github.com/owncloud/reva/pull/670
|
||||
@@ -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/12667
|
||||
@@ -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.
@@ -1,11 +0,0 @@
|
||||
Bugfix: Truncate long user names in the admin settings users list
|
||||
|
||||
In the admin settings users list, a long user name or display name would
|
||||
overflow its table column, pushing the columns after it, including the
|
||||
action buttons, out of place or off screen.
|
||||
|
||||
Long values in the user name and display name columns are now truncated
|
||||
with an ellipsis so the table layout stays intact regardless of value
|
||||
length.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12816
|
||||
+1
-1
@@ -11,5 +11,5 @@ selected users are deleted while your own account is left untouched. When your
|
||||
own account is part of the selection, the delete confirmation dialog shows a
|
||||
hint that it will not be deleted.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12661
|
||||
https://github.com/owncloud/ocis/pull/12657
|
||||
https://github.com/owncloud/ocis/issues/12582
|
||||
@@ -1,22 +0,0 @@
|
||||
Bugfix: Hide app menu items from anonymous public link visitors
|
||||
|
||||
The app drawer in the top bar offered "Activities" and "Library" to anonymous
|
||||
visitors following a public link. Both apps registered their app menu item
|
||||
unconditionally at bootstrap, before any authentication context exists, and the
|
||||
extension registry is shared between the authenticated and the public link
|
||||
context. Because the public link file view renders the full application layout,
|
||||
the top bar and its app drawer came along with it - even though the sibling top
|
||||
bar elements (notification bell, sidebar toggle, home link) already gate
|
||||
themselves on the authentication context.
|
||||
|
||||
Following the leaked entries did not expose any data: both apps route with
|
||||
`authContext: 'user'`, so the visitor was redirected to the login page. What
|
||||
leaked was the fact that these apps are enabled on the instance.
|
||||
|
||||
Both apps now contribute their menu item only when a user is signed in, matching
|
||||
what the files, text editor, app store, admin settings and ScienceMesh apps
|
||||
already do. With no menu items left to show, the existing top bar condition
|
||||
hides the app drawer on public links by itself.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12842
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,10 +0,0 @@
|
||||
Bugfix: Support Collabora Online 26.x in the ocis_full deployment example
|
||||
|
||||
collabora/code 26.x ships without a shell and without the `coolconfig` helper the
|
||||
ocis_full example relied on to start the container and generate its WOPI proof
|
||||
key, so the example failed to start and, once running, would reject every
|
||||
document open with a 500. The example now uses the image's default entrypoint
|
||||
and a one-shot init container that generates and persists the WOPI proof key
|
||||
before Collabora starts.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12794
|
||||
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,10 +0,0 @@
|
||||
Bugfix: Ignore write error after successful read
|
||||
|
||||
In the settings service, we're caching data in the NATSjs store. When reading
|
||||
service information, that information is written in the cache. Previously,
|
||||
failing to write that information in the cache caused an error, despite
|
||||
correct information being retrieved from the service successfully. Now, if the
|
||||
information isn't written in the cache, we log the failure, but return the
|
||||
read information without error.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12772
|
||||
@@ -1,11 +0,0 @@
|
||||
Bugfix: Search for usernames if memberUid is used for group membership
|
||||
|
||||
Ldap group membership usually use "member" or "uniqueMember" for groups,
|
||||
which contains a DN as a value. For the case of "memberUid", the value isn't
|
||||
a DN but just a username / uid. As such, getting the members of a group
|
||||
didn't work because we expected the values to be DNs.
|
||||
|
||||
Using "memberUid" as group membership attribute is now supported, and it
|
||||
will show the group members as expected.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12814
|
||||
@@ -1,15 +0,0 @@
|
||||
Bugfix: Recover the login page after the current user was deleted
|
||||
|
||||
When a user account was deleted while its session was still stored in the
|
||||
browser, opening the web interface redirected to an authentication error page
|
||||
and looped there. The identity provider kept accepting the stale logon session
|
||||
but could no longer resolve the deleted user, so the sign-in flow ended up
|
||||
re-issuing the authorization request without its parameters and the browser was
|
||||
sent back to the same error over and over. The only way out was to clear the
|
||||
browser data manually before a different user could sign in.
|
||||
|
||||
The identity provider now detects this stuck authorization loop, expires the
|
||||
stale logon session on the server side and restarts a clean login, so the sign-in
|
||||
form is shown again and a different user can sign in right away.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12851
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,10 +0,0 @@
|
||||
Bugfix: Stop logging every service re-registration
|
||||
|
||||
Services that publish themselves to the service registry re-register on a timer
|
||||
to keep their TTL alive. Every one of those refreshes wrote a debug line
|
||||
carrying the whole service record, so an idle deployment running at debug level
|
||||
produced a steady stream of log entries with no user interaction at all. The
|
||||
refresh is now silent unless it fails, which is the case that was worth a log.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12833
|
||||
https://github.com/owncloud/ocis/issues/8274
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,13 +0,0 @@
|
||||
Bugfix: Password protection is enforced in the "Shared via link" list
|
||||
|
||||
Creating a password-protected folder also creates a hidden folder which holds the
|
||||
actual content and carries the password-protected link. That hidden folder is
|
||||
listed under Shares / Shared via link, but its entry pointed straight at the
|
||||
content in the owner's personal space instead of at the link. Anyone looking at
|
||||
that list could therefore open the folder without being asked for the password.
|
||||
|
||||
The entry now opens the password-protected link, so the password is requested
|
||||
just like it is when opening the folder from the regular file list. If the link
|
||||
cannot be determined, the entry is no longer clickable at all.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12835
|
||||
File renamed without changes.
+2
-2
@@ -1,4 +1,4 @@
|
||||
Bugfix: Keep personal space when Drives.Create permission check is inconclusive
|
||||
Bugfix: Do not disable personal space on inconclusive permission check
|
||||
|
||||
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
|
||||
@@ -15,4 +15,4 @@ fail closed. The personal space is left untouched, and the graph appRoleAssignme
|
||||
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
|
||||
https://github.com/owncloud/ocis/issues/12499
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,12 +0,0 @@
|
||||
Bugfix: Restarting the proxy service on error was causing panics
|
||||
|
||||
Starting oCIS with the `ocis server` command causes oCIS to monitor the
|
||||
services being started. When a service fails to start, this monitor tries
|
||||
to restart the services. For the cause of the proxy service, restarting it
|
||||
was a panic.
|
||||
|
||||
Now, the proxy service can be restarted as expected, without that panic.
|
||||
Note that the service might still fail to start if the actual cause isn't
|
||||
fixed, such as the service's port being taken by a different application.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12769
|
||||
File renamed without changes.
@@ -1,22 +0,0 @@
|
||||
Bugfix: Tell public link visitors the link is temporarily blocked
|
||||
|
||||
After a handful of wrong password entries, the brute-force protection temporarily
|
||||
blocks a password-protected public link. Visitors opening the link were told
|
||||
"The resource could not be located, it may not exist anymore." or simply
|
||||
"Unknown error" - including visitors, and owners, typing the *correct* password,
|
||||
because the block is checked before the password is looked at. Both messages
|
||||
were false, and they led link owners to delete and recreate links that were
|
||||
never broken, forcing them to redistribute the URL.
|
||||
|
||||
The resolve page now says "Too many failed password attempts for this link. It
|
||||
has been temporarily blocked, please try again later." both when landing on a
|
||||
blocked link and when submitting a password to one. No password field is
|
||||
offered, because a further wrong password is still counted and pushes the
|
||||
unblock time out.
|
||||
|
||||
Unrelated failures on that page no longer claim the resource is gone either:
|
||||
they show the message the server sent, or a neutral "An unexpected error
|
||||
occurred, please try again later." when it sent none. The not-found wording is
|
||||
now reserved for an actual not-found.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12841
|
||||
File renamed without changes.
@@ -1,15 +0,0 @@
|
||||
Bugfix: Renaming a resource to its current name is a silent no-op
|
||||
|
||||
Renaming a file or folder to the name it already has failed with a
|
||||
confusing `403 Forbidden` or `404 Not Found`, and `409 Conflict` when the
|
||||
request addressed the resource by its id. Every client had to work around
|
||||
it on its own. A `MOVE` whose source and destination resolve to the same
|
||||
resource is now detected server side and answered with `204 No Content`
|
||||
without touching the resource, so the behaviour is consistent for all
|
||||
clients and for both dav routes. The no-op still requires the move
|
||||
permission: a user who may not rename the resource keeps getting
|
||||
`403 Forbidden`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12784
|
||||
https://github.com/owncloud/reva/pull/708
|
||||
https://github.com/owncloud/reva/pull/713
|
||||
@@ -1,14 +0,0 @@
|
||||
Bugfix: Truncate long resource names instead of overlapping the next column
|
||||
|
||||
In resource tables, a name that was too long for its column was not truncated.
|
||||
Instead it kept its full width and was painted over the value of the adjacent
|
||||
column, making both unreadable. This was most visible in the Spaces overview,
|
||||
where a long space name overlapped the "Manager" column, but it affected every
|
||||
resource table using the name column, including the files list and search
|
||||
results, as well as the parent folder path shown below a search result.
|
||||
|
||||
The name is now truncated with an ellipsis at the column boundary, and the
|
||||
rename button stays inside the name column. The full name remains available via
|
||||
the title tooltip on hover.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12754
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,20 +0,0 @@
|
||||
Bugfix: Fix uploads stuck in processing with the s3ng storage driver
|
||||
|
||||
Uploads to a `s3ng` backed storage-users service never left the processing
|
||||
state, so the file stayed unreadable and unmodifiable forever. Every client was
|
||||
affected equally, because the defect sits below the protocol layer: WebDAV, the
|
||||
desktop sync client and the Web UI alike.
|
||||
|
||||
Decomposedfs ignores any event whose storage id does not match its configured
|
||||
mount id. The `s3ng` driver never received a `mount_id`, so that comparison ran
|
||||
against an empty string and every `PostprocessingFinished` event was discarded.
|
||||
The `s3ng` driver now passes `mount_id` the same way the `ocis` driver already
|
||||
does.
|
||||
|
||||
The same key is also added to `OcisNoEvents` and `S3NGNoEvents`. Those build the
|
||||
storage provider rather than the data provider and configure no events, so today
|
||||
the value is unused there. Setting it keeps both constructions of the same
|
||||
storage consistent about their own identity, rather than leaving one of them to
|
||||
report an empty mount id to any future reader of that option.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12756
|
||||
@@ -1,11 +0,0 @@
|
||||
Bugfix: Wrap long values in share and user details views
|
||||
|
||||
In the "Access details" popup of a share, and in the admin settings user
|
||||
details panel, a long user name, display name, email or domain would
|
||||
overflow the popup or sidebar instead of wrapping, hiding parts of the
|
||||
value and breaking the layout.
|
||||
|
||||
Long values are now wrapped onto multiple lines so these views stay
|
||||
within their bounds regardless of value length.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12840
|
||||
File renamed without changes.
@@ -1,9 +0,0 @@
|
||||
Bugfix: Fix shift-click range selection in the files list
|
||||
|
||||
We have fixed an issue where shift-click did not select resources between
|
||||
the anchor and the clicked one, and ignored ctrl/cmd. It now selects the
|
||||
full range, replacing the current selection unless ctrl/cmd is held, and no
|
||||
longer highlights the text of the affected rows. Checkboxes now also keep their
|
||||
checked state in sync with the selection when a click does not change it.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12804
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,11 +0,0 @@
|
||||
Bugfix: Admin-uploaded logo now overrides theme-specific logos
|
||||
|
||||
Previously, a theme's own per-variant logo defined under
|
||||
`clients.web.themes[].logo` would keep showing even after an admin uploaded a
|
||||
custom logo via the admin settings web app, because the upload only patched
|
||||
the `clients.web.defaults.logo` keys. This affected the built-in "owncloud"
|
||||
theme too, since most of its variants (dark, high contrast, ...) already
|
||||
define their own logo. The admin-uploaded logo now always overrides a
|
||||
theme's own per-variant logo.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12847
|
||||
@@ -1,12 +0,0 @@
|
||||
Bugfix: Apply renewed access token in embed mode with delegated authentication
|
||||
|
||||
In embed mode with delegated authentication the host application renews the
|
||||
access token by posting an "owncloud-embed:update-token" message into the
|
||||
iframe. The message listener was registered as an unbound method reference, so
|
||||
it crashed on every incoming message before the renewed token could be applied.
|
||||
It also passed the whole message payload to the user context update instead of
|
||||
the access token string. The embedded Web instance therefore kept using the
|
||||
initial access token until it expired and the user got logged out, even though
|
||||
the host had delivered fresh tokens in time.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12856
|
||||
+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.
|
||||
File renamed without changes.
File renamed without changes.
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.
@@ -1,21 +0,0 @@
|
||||
Enhancement: Close Collabora WOPI CheckFileInfo property gaps
|
||||
|
||||
The collaboration service's Collabora CheckFileInfo response was missing several
|
||||
properties that the Microsoft and OnlyOffice fileinfo types already had `case`
|
||||
handling for, but that were never populated in the shared properties map:
|
||||
Version, LastModifiedTime, ReadOnly, SupportsUpdate, IsAnonymousUser, several
|
||||
file URLs (CloseUrl, DownloadUrl, plus the already-computed HostEditUrl/
|
||||
HostViewUrl/FileSharingUrl/FileVersionUrl), the BreadcrumbBrandName/
|
||||
BreadcrumbBrandUrl breadcrumb pair, an EditModePostMessage flag, and two new
|
||||
Collabora-specific properties, IsUserLocked and IsAdminUser.
|
||||
|
||||
We've added all of these. Note that since Microsoft and OnlyOffice already had
|
||||
`case` handling for ReadOnly and CloseUrl (and Microsoft for DownloadUrl too),
|
||||
populating those keys unconditionally changes their CheckFileInfo output as
|
||||
well, not just Collabora's: ReadOnly now actually surfaces as `true` for
|
||||
read-only/view-only sessions on all three targets, and CloseUrl (plus
|
||||
DownloadUrl for Microsoft) is now populated where it previously wasn't. Only
|
||||
IsUserLocked and IsAdminUser are genuinely Collabora-only additions with no
|
||||
matching `case` elsewhere.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12593
|
||||
File renamed without changes.
@@ -1,19 +0,0 @@
|
||||
Enhancement: Ship ownCloud branding as the default login background
|
||||
|
||||
The builtin IDP login page now ships the ownCloud branding image as its default
|
||||
background. The bundled image (services/idp/assets/identifier/static/media,
|
||||
referenced from theme.css) is anchored to the top right so the ownCloud logo
|
||||
stays fully visible at every viewport size instead of being cropped. Operators
|
||||
can still point the login background at a different image via
|
||||
IDP_LOGIN_BACKGROUND_URL.
|
||||
|
||||
The same branding background is also embedded in the web service theme assets
|
||||
(services/web/assets/themes/owncloud/assets/loginBackground.jpg), so the
|
||||
ownCloud Web login page shows it out of the box, taking precedence over the
|
||||
background bundled with the vendored web release.
|
||||
|
||||
Additionally the ocis_keycloak deployment example now ships a custom Keycloak
|
||||
login theme ("owncloud") that applies the same branding background and styles
|
||||
the login form to match the IDP login screen.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12406
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,10 +0,0 @@
|
||||
Enhancement: Restrict personal drive information to the owner and admins
|
||||
|
||||
The `/graph/v1.0/users/{userID}/drive`, `/graph/v1.0/drives/{driveID}` and
|
||||
`/graph/v1.0/drives` endpoints now drop personal spaces the caller does not own
|
||||
unless the caller holds account management permission, leaving project and other
|
||||
shared space types unaffected. The single-drive and per-user lookups return the
|
||||
same `404` as a missing drive, so the response does not depend on the target
|
||||
user's existence.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12742
|
||||
Loaded 100 of 1081 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user