Compare commits
35
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dcdf6d4854 | ||
|
|
3a62b3aafc | ||
|
|
dd3989444d | ||
|
|
5ed476c35e | ||
|
|
1ed8498d7d | ||
|
|
f6a3aa694e | ||
|
|
d2d82ba95e | ||
|
|
13d3481cfb | ||
|
|
ee5da2733f | ||
|
|
720e1ee0b3 | ||
|
|
08b6313c8b | ||
|
|
0cbd7d3401 | ||
|
|
342f5eb0f1 | ||
|
|
70f4e504b6 | ||
|
|
2db76a1c4e | ||
|
|
408c41dc83 | ||
|
|
c9856ef000 | ||
|
|
63fced12a6 | ||
|
|
e76dc49698 | ||
|
|
c17c33b6d8 | ||
|
|
66e93ceaf3 | ||
|
|
fba139fdec | ||
|
|
e0dd0e4348 | ||
|
|
710bdf380a | ||
|
|
7b83f36060 | ||
|
|
2a23956a8b | ||
|
|
9269643c0e | ||
|
|
6c8fe4ebf7 | ||
|
|
037ac76d26 | ||
|
|
9faaefa83a | ||
|
|
85700efcd1 | ||
|
|
91a8c76bdb | ||
|
|
88e2780a54 | ||
|
|
60fcb2e214 | ||
|
|
c8224fd434 |
No files matched your search
@@ -65,6 +65,8 @@ updates:
|
||||
day: sunday
|
||||
time: '22:00'
|
||||
timezone: Etc/UTC
|
||||
cooldown:
|
||||
default-days: 7
|
||||
open-pull-requests-limit: 5
|
||||
groups:
|
||||
minor-and-patch:
|
||||
|
||||
@@ -62,14 +62,14 @@ jobs:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.33.3 --activate
|
||||
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -165,7 +165,7 @@ jobs:
|
||||
exit $FAILED
|
||||
|
||||
- name: Upload build artifacts
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
path: |
|
||||
@@ -231,7 +231,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -280,7 +280,7 @@ jobs:
|
||||
'
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
@@ -294,7 +294,7 @@ jobs:
|
||||
|
||||
- name: Upload raw coverage data
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: api-coverage-${{ matrix.suite }}
|
||||
path: ${{ env.GOCOVERDIR }}
|
||||
@@ -315,7 +315,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -328,7 +328,7 @@ jobs:
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
@@ -342,7 +342,7 @@ jobs:
|
||||
|
||||
- name: Upload raw coverage data
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: api-coverage-cli-${{ matrix.suite }}
|
||||
path: ${{ env.GOCOVERDIR }}
|
||||
@@ -363,7 +363,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -376,7 +376,7 @@ jobs:
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
@@ -390,7 +390,7 @@ jobs:
|
||||
|
||||
- name: Upload raw coverage data
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: api-coverage-ldap-pool-${{ matrix.suite }}
|
||||
path: ${{ env.GOCOVERDIR }}
|
||||
@@ -419,7 +419,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -468,7 +468,7 @@ jobs:
|
||||
'
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
@@ -485,7 +485,7 @@ jobs:
|
||||
|
||||
- name: Upload raw coverage data
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: api-coverage-core-${{ matrix.suite }}
|
||||
path: ${{ env.GOCOVERDIR }}
|
||||
@@ -534,7 +534,7 @@ jobs:
|
||||
vault_storage: true
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
# 24.16.0 breaks playwright install (yauzl zip extraction hangs); pin to last known good.
|
||||
# https://github.com/microsoft/playwright/issues/40724
|
||||
@@ -551,7 +551,7 @@ jobs:
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
@@ -683,7 +683,7 @@ jobs:
|
||||
|
||||
- name: Upload tracing result
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: playwright-traces-${{ matrix.suite }}-${{ github.run_attempt }}
|
||||
path: web/reports/e2e
|
||||
@@ -691,7 +691,7 @@ jobs:
|
||||
|
||||
- name: Upload a11y result
|
||||
if: ${{ !cancelled() }}
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: playwright-a11y-result-${{ matrix.suite }}-${{ github.run_attempt }}
|
||||
path: web/reports/e2e/a11y-report.json
|
||||
@@ -712,7 +712,7 @@ jobs:
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
@@ -737,7 +737,7 @@ jobs:
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
@@ -762,7 +762,7 @@ jobs:
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
@@ -787,7 +787,7 @@ jobs:
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
@@ -809,7 +809,7 @@ jobs:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
@@ -842,7 +842,7 @@ jobs:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
@@ -876,7 +876,7 @@ jobs:
|
||||
cache: true
|
||||
|
||||
- name: Download raw coverage data
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
pattern: api-coverage-*
|
||||
path: ${{ env.GOCOVERDIR }}
|
||||
|
||||
+94
-12
@@ -82,7 +82,7 @@ jobs:
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- name: Setup PHP ${{ env.PHP_VERSION }}
|
||||
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # v2.40.0
|
||||
with:
|
||||
php-version: ${{ env.PHP_VERSION }}
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
@@ -482,12 +482,12 @@ jobs:
|
||||
# - suite: oidc-iframe
|
||||
# args: "--type playwright specs/oidc/iframeTokenRenewal.spec.ts"
|
||||
# oidc_iframe: true
|
||||
# - suite: app-provider
|
||||
# args: "--type playwright --suites app-provider"
|
||||
# collaboration: true
|
||||
# - suite: ocm
|
||||
# args: "--type playwright --suites ocm"
|
||||
# federated: true
|
||||
- suite: app-provider
|
||||
args: "--type playwright --suites app-provider"
|
||||
collaboration: true
|
||||
- suite: ocm
|
||||
args: "--type playwright --suites ocm"
|
||||
federated: true
|
||||
# - suite: vault-storage
|
||||
# args: "--type playwright --suites vault-storage"
|
||||
# vault_storage: true
|
||||
@@ -497,7 +497,7 @@ jobs:
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
# 24.16.0 breaks playwright install (yauzl zip extraction hangs); pin to last known good.
|
||||
# https://github.com/microsoft/playwright/issues/40724
|
||||
@@ -540,13 +540,92 @@ jobs:
|
||||
run: make -C tests/config/k8s create-cluster
|
||||
|
||||
- name: Prepare Helm Charts
|
||||
run: make -C tests/config/k8s prepare-charts
|
||||
env:
|
||||
ENABLE_WOPI: ${{ matrix.suite == 'app-provider' }}
|
||||
ENABLE_OCM: ${{ matrix.suite == 'ocm' }}
|
||||
run: |
|
||||
cd tests/config/k8s
|
||||
make prepare-charts
|
||||
if [[ "${{ matrix.suite }}" == "ocm" ]]; then
|
||||
OCM=true make prepare-charts
|
||||
fi
|
||||
|
||||
- name: Deploy Suite-Specific External Backends
|
||||
run: |
|
||||
if [[ "${{ matrix.suite }}" == "app-provider" ]]; then
|
||||
# Start Collabora
|
||||
docker run -d \
|
||||
--name collabora \
|
||||
--network host \
|
||||
--entrypoint bash \
|
||||
-e DONT_GEN_SSL_CERT=set \
|
||||
-e "extra_params=--o:ssl.enable=true --o:ssl.termination=true --o:welcome.enable=false --o:net.frame_ancestors=https://127.0.0.1:9200" \
|
||||
collabora/code:25.04.7.3.1 \
|
||||
-c "coolconfig generate-proof-key && bash /start-collabora-online.sh"
|
||||
timeout 150 bash -c 'until curl -kfsSL https://localhost:9980/hosting/discovery > /dev/null; do sleep 5; done'
|
||||
echo "collabora ready."
|
||||
|
||||
# Start OnlyOffice
|
||||
docker run -d \
|
||||
--name onlyoffice \
|
||||
-p 7443:443 \
|
||||
--add-host "$TEST_SERVER_DOMAIN:host-gateway" \
|
||||
-e WOPI_ENABLED=true \
|
||||
-e USE_UNAUTHORIZED_STORAGE=true \
|
||||
-v "$(pwd)/tests/config/ci/only-office.json:/tmp/local.json:ro" \
|
||||
--entrypoint /bin/sh \
|
||||
onlyoffice/documentserver:9.2.1 \
|
||||
-c "set -e
|
||||
cp /tmp/local.json /etc/onlyoffice/documentserver/local.json
|
||||
openssl req -x509 -newkey rsa:4096 -keyout onlyoffice.key -out onlyoffice.crt -sha256 -days 365 -batch -nodes
|
||||
mkdir -p /var/www/onlyoffice/Data/certs
|
||||
cp onlyoffice.key /var/www/onlyoffice/Data/certs/
|
||||
cp onlyoffice.crt /var/www/onlyoffice/Data/certs/
|
||||
chmod 400 /var/www/onlyoffice/Data/certs/onlyoffice.key
|
||||
/app/ds/run-document-server.sh"
|
||||
timeout 150 bash -c 'until curl -kfsSL https://localhost:7443/hosting/discovery > /dev/null; do sleep 5; done'
|
||||
echo "onlyoffice ready."
|
||||
|
||||
#Start FakeOffice
|
||||
docker run -d --name fakeoffice --network host \
|
||||
-v "$(pwd):/ocis:ro" \
|
||||
python:3-alpine \
|
||||
python3 -c "
|
||||
import http.server, pathlib
|
||||
body = pathlib.Path('/ocis/tests/config/ci/hosting-discovery.xml').read_bytes()
|
||||
class H(http.server.BaseHTTPRequestHandler):
|
||||
def do_GET(self):
|
||||
self.send_response(200)
|
||||
self.send_header('Content-Type', 'text/xml')
|
||||
self.end_headers()
|
||||
self.wfile.write(body)
|
||||
def log_message(self, *a): pass
|
||||
http.server.HTTPServer(('', 8080), H).serve_forever()
|
||||
"
|
||||
timeout 60 bash -c 'until curl -fsSL http://localhost:8080/hosting/discovery > /dev/null; do sleep 5; done'
|
||||
echo "fakeoffice ready."
|
||||
|
||||
bash tests/config/k8s/expose-external-svc.sh collabora:9980
|
||||
bash tests/config/k8s/expose-external-svc.sh onlyoffice:7443
|
||||
bash tests/config/k8s/expose-external-svc.sh fakeoffice:8080
|
||||
fi
|
||||
|
||||
- name: Deploy oCIS
|
||||
run: |
|
||||
cd tests/config/k8s
|
||||
kubectl get pods -n "$TEST_SERVER_DOMAIN" -Aw &
|
||||
make deploy-ocis
|
||||
if [[ "${{ matrix.suite }}" == "ocm" ]]; then
|
||||
OCM=true make deploy-ocis
|
||||
fi
|
||||
|
||||
- name: Expose node ports
|
||||
if: ${{ matrix.suite == 'app-provider' }}
|
||||
run: |
|
||||
bash tests/config/k8s/expose-nodeports.sh collaboration-collabora 9300 30300
|
||||
bash tests/config/k8s/expose-nodeports.sh collaboration-fakeoffice 9300 30301
|
||||
bash tests/config/k8s/expose-nodeports.sh collaboration-onlyoffice 9300 30302
|
||||
bash tests/config/k8s/expose-nodeports.sh collaboration-fakeoffice 9304 30304
|
||||
|
||||
- name: Wait for oCIS to be ready
|
||||
env:
|
||||
@@ -618,11 +697,14 @@ jobs:
|
||||
E2E_ARGS: "${{ matrix.args }}"
|
||||
K8S: ${{ env.K8S }}
|
||||
TEST_SERVER_URL: ${{ env.TEST_SERVER_URL }}
|
||||
COLLABORATION_NEEDED: ${{ matrix.collaboration == true && 'true' || 'false' }}
|
||||
FED_SERVER_URL: ${{ env.FED_SERVER_URL }}
|
||||
FEDERATED_NEEDED: ${{ matrix.federated == true && 'true' || 'false' }}
|
||||
run: python3 tests/acceptance/run-e2e.py
|
||||
|
||||
- name: Upload Playwright traces
|
||||
if: failure()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: playwright-traces-${{ matrix.suite }}-k8s-${{ github.run_attempt }}
|
||||
path: web/reports/e2e
|
||||
@@ -630,7 +712,7 @@ jobs:
|
||||
|
||||
- name: Upload a11y result
|
||||
if: ${{ !cancelled() }}
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: playwright-a11y-result-${{ matrix.suite }}-k8s-${{ github.run_attempt }}
|
||||
path: web/reports/e2e/a11y-report.json
|
||||
@@ -638,7 +720,7 @@ jobs:
|
||||
|
||||
- name: Upload oCIS logs
|
||||
if: always()
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: ocis-logs-${{ matrix.suite }}-k8s-${{ github.run_attempt }}
|
||||
path: tests/config/k8s/logs
|
||||
|
||||
@@ -29,10 +29,11 @@ jobs:
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: 24.15.0
|
||||
registry-url: "https://registry.npmjs.org"
|
||||
package-manager-cache: false
|
||||
|
||||
- name: Setup pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.33.3 --activate
|
||||
|
||||
@@ -84,7 +84,7 @@ jobs:
|
||||
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- run: npm install --silent -g yarn npx --force
|
||||
@@ -101,7 +101,7 @@ jobs:
|
||||
run: |
|
||||
VERSION="${{ needs.determine-release-type.outputs.version }}"
|
||||
sed -i "s/LatestTag = \".*\"/LatestTag = \"$VERSION\"/" ocis-pkg/version/version.go
|
||||
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: generated-code
|
||||
path: |
|
||||
@@ -120,7 +120,7 @@ jobs:
|
||||
os: [linux, darwin]
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: generated-code
|
||||
path: .
|
||||
@@ -130,7 +130,10 @@ jobs:
|
||||
- run: |
|
||||
make -C ocis release-${{ matrix.os }} OUTPUT=${{ needs.determine-release-type.outputs.version }}
|
||||
make -C ocis release-finish
|
||||
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
if [[ "${{ matrix.os }}" == "linux" ]]; then
|
||||
cp assets/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf ocis/dist/release/
|
||||
fi
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: binaries-${{ matrix.os }}
|
||||
path: ocis/dist/release/*
|
||||
@@ -155,11 +158,11 @@ jobs:
|
||||
needs: [determine-release-type, generate-code]
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: generated-code
|
||||
path: .
|
||||
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
|
||||
@@ -173,7 +176,7 @@ jobs:
|
||||
- run: make ci-node-check-licenses && make ci-node-save-licenses
|
||||
- run: make ci-go-check-licenses && make ci-go-save-licenses
|
||||
- run: tar -czf third-party-licenses.tar.gz -C third-party-licenses .
|
||||
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: third-party-licenses
|
||||
path: third-party-licenses.tar.gz
|
||||
@@ -197,7 +200,7 @@ jobs:
|
||||
if [[ $(wc -l < ocis/dist/CHANGELOG.md) -lt 5 ]]; then
|
||||
echo "Development release — no release notes yet. See [unreleased changes](https://github.com/owncloud/ocis/tree/master/changelog/unreleased/)." > ocis/dist/CHANGELOG.md
|
||||
fi
|
||||
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
||||
with:
|
||||
name: changelog
|
||||
path: ocis/dist/CHANGELOG.md
|
||||
@@ -208,19 +211,19 @@ jobs:
|
||||
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
|
||||
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: binaries-linux
|
||||
path: release-assets
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: binaries-darwin
|
||||
path: release-assets
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: third-party-licenses
|
||||
path: release-assets
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: changelog
|
||||
path: .
|
||||
@@ -245,15 +248,15 @@ jobs:
|
||||
- create-github-release
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: binaries-linux
|
||||
path: release-assets
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: binaries-darwin
|
||||
path: release-assets
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
||||
with:
|
||||
name: third-party-licenses
|
||||
path: release-assets
|
||||
|
||||
@@ -77,7 +77,7 @@ jobs:
|
||||
version: 10.33.3
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
||||
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
|
||||
with:
|
||||
node-version: 24.15.0
|
||||
cache: pnpm
|
||||
|
||||
@@ -4,4 +4,3 @@
|
||||
|
||||
CVE-2026-32284 # github.com/shamaton/msgpack/v2 v2.4.0 — no fix available upstream
|
||||
vendor/github.com/crewjam/saml/xmlenc/fuzz.go # test RSA key used in fuzz corpus, not a real secret
|
||||
CVE-2026-116587 # github.com/go-jose/go-jose/v3 v3.0.5 — no v3 fix exists, only a transitive dependency of libregraph/lico, which parses JWKs only from local files and from configured OIDC authorities; go-jose/v4 is fixed
|
||||
@@ -27,6 +27,7 @@
|
||||
- [Development Documentation](#development-documentation)
|
||||
- [Security](#security)
|
||||
- [Contributing](#contributing)
|
||||
- [End User License Agreement](#end-user-license-agreement)
|
||||
- [Copyright](#copyright)
|
||||
|
||||
## Introduction
|
||||
@@ -160,6 +161,10 @@ Infinite Scale is carefully internationalized so that everyone, no matter what l
|
||||
|
||||
Please always refer to our [Contribution Guidelines](https://github.com/owncloud/ocis/blob/master/CONTRIBUTING.md).
|
||||
|
||||
## End User License Agreement
|
||||
|
||||
Some builds of stable ownCloud Infinite Scale releases provided by ownCloud GmbH are subject to an [End User License Agreement](https://owncloud.com/license-owncloud-infinite-scale/).
|
||||
|
||||
## Copyright
|
||||
|
||||
```console
|
||||
|
||||
Binary file not shown.
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,10 +0,0 @@
|
||||
Bugfix: Fix closing a shared document from the office editor
|
||||
|
||||
Closing a document or using "Open file location" in the office editor failed
|
||||
with a private link error for users who had a single file shared with them.
|
||||
The editor linked to the folder containing the file, which belongs to the
|
||||
sharer and is not accessible to the sharee. The folder link is now only
|
||||
provided if the user can access the folder, otherwise closing the editor
|
||||
leads back to oCIS.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13198
|
||||
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,11 +0,0 @@
|
||||
Bugfix: fixed copy link failing in the EPUB library book details
|
||||
|
||||
Clicking "Copy link" in the details of a book in the EPUB library showed
|
||||
a "The link could not be copied" error whenever the book had been found
|
||||
through the server-side search, because those search results carry no
|
||||
link to the file.
|
||||
|
||||
The link is now built from the id of the file when the search result does
|
||||
not provide one, so copying the link works for all books.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13239
|
||||
@@ -10,4 +10,4 @@ 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/13175
|
||||
https://github.com/owncloud/ocis/pull/12915
|
||||
@@ -0,0 +1,10 @@
|
||||
Bugfix: Keep /me working when the preferred language lookup fails
|
||||
|
||||
The graph service returned HTTP 500 for the whole `GET /graph/v1.0/me` response
|
||||
whenever the settings lookup for the user's preferred language failed, including
|
||||
on a transient timeout. Since `/me` is the first request the Web UI makes after
|
||||
login, that locked affected users out of oCIS entirely. The lookup failure is
|
||||
now logged at warn level and `preferredLanguage` falls back to
|
||||
`OCIS_DEFAULT_LANGUAGE`.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13188
|
||||
@@ -11,5 +11,5 @@ The command now rewrites the matching `bind_password` and
|
||||
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/13084
|
||||
https://github.com/owncloud/ocis/pull/13176
|
||||
https://github.com/owncloud/ocis/issues/12569
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
-2
@@ -8,5 +8,3 @@ 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).
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12899
|
||||
File renamed without changes.
@@ -1,7 +0,0 @@
|
||||
Bugfix: Disable confirm in the link password dialog until a password is entered
|
||||
|
||||
The "Add password" / "Edit password" dialog for links could be confirmed with
|
||||
an empty field, which removed the password from the link. The confirm button
|
||||
is now disabled until a valid password is entered.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13218
|
||||
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,16 +0,0 @@
|
||||
Bugfix: Stop logging OAuth tokens to the browser console
|
||||
|
||||
On every login and every silent token renewal, the web client wrote the
|
||||
signed-in user's raw OAuth `access_token` and `refresh_token` to the browser
|
||||
console via a `console.debug` call in the `userLoaded` handler of the auth
|
||||
service. Anyone with access to that browser's console or log buffer - a
|
||||
malicious or over-permissioned browser extension, a shared or kiosk terminal,
|
||||
a screen share or recording, or a session-replay tool that captures console
|
||||
output - could read and reuse those live credentials. The production build
|
||||
does not strip `console.debug`, so this shipped in the deployed bundle, not
|
||||
just local dev.
|
||||
|
||||
The debug line now confirms that a new user was loaded without logging the
|
||||
token, profile, or any other user field.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13233
|
||||
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
@@ -7,4 +7,4 @@ sync client retrying a request, look like server errors. The restore
|
||||
operation now reports 404 for this case, matching the existing behavior of
|
||||
purging an already-purged item.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12969
|
||||
https://github.com/owncloud/ocis/pull/TODO
|
||||
@@ -1,14 +0,0 @@
|
||||
Bugfix: Restore multiple trash items with the same name
|
||||
|
||||
Restoring several deleted files with the same name at once showed a conflict
|
||||
dialog claiming the file already exists, even when it didn't. Choosing to
|
||||
replace it then showed both a success and a failure notification, because
|
||||
all files were restored to the same location at the same time and only one
|
||||
of them could succeed.
|
||||
|
||||
Trash items that only collide with each other are now restored side by side
|
||||
with unique names, without asking. When they collide with an existing file
|
||||
and the user chooses to replace it, only one of them replaces the file and
|
||||
the others are restored with unique names.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13238
|
||||
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,9 +0,0 @@
|
||||
Bugfix: Clarify the message for a trash the user may not access
|
||||
|
||||
When a member of a space was not allowed to list the space's deleted files, the
|
||||
trash view said the user "may not" have the permission, even though the server
|
||||
had clearly denied access. The view now states that the user does not have
|
||||
permission to view the deleted files. Other failures to load the trash show a
|
||||
generic error message instead of a guess about permissions.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13217
|
||||
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,17 +0,0 @@
|
||||
Bugfix: Share vault resources with guests before their first login
|
||||
|
||||
A user of another instance only gets a role on an instance at their first
|
||||
login there. Until then, the vault share search did not show them and sharing
|
||||
a vault resource with them was refused, even if that login would give them a
|
||||
role with the "Vault mode" permission.
|
||||
|
||||
The graph service now derives that role from the user's `userClass` LDAP
|
||||
attribute with `OCIS_MULTI_INSTANCE_GUEST_ROLE_MAPPING`, like the proxy does
|
||||
with the roles claim at login. If the role grants vault mode, the vault share
|
||||
search shows the user, and sharing a vault resource with them assigns the role
|
||||
first. Users who already have a role are not affected. The graph service needs
|
||||
`OCIS_MULTI_INSTANCE_GUEST_ROLE_MAPPING` set as well, and `userClass` must hold
|
||||
the same values as the `PROXY_ROLE_ASSIGNMENT_OIDC_CLAIM` claim. Otherwise the
|
||||
first login replaces the role again.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13273
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,14 @@
|
||||
Bugfix: Retry WOPI rename and upload while the file is processing
|
||||
|
||||
Renaming a file or uploading its contents through the collaboration service
|
||||
failed with a 500 when the file was still being processed, for example right
|
||||
after it had been created by a PutRelativeFile request. The storage answers
|
||||
with a "too early" status in that case, which was only handled when deleting
|
||||
files.
|
||||
|
||||
The collaboration service now retries the rename and upload requests with an
|
||||
increasing waiting time until the file is ready. The delete request uses the
|
||||
same retry logic, which is now limited to 10 retries instead of waiting
|
||||
indefinitely.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13141
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,13 +0,0 @@
|
||||
Change: Remove the EULA from the release pipeline
|
||||
|
||||
Release builds attached an End User License Agreement PDF to the published
|
||||
assets, and the README stated that stable builds provided by ownCloud GmbH are
|
||||
subject to that agreement. A non OSS agreement on the distributed binaries
|
||||
contradicts the Apache 2.0 licensing of Infinite Scale.
|
||||
|
||||
We removed the EULA from the release pipeline. The release workflow no longer
|
||||
copies the PDF into the release assets, the release audit no longer expects it,
|
||||
the PDF itself was dropped from the repository and the README section was
|
||||
removed. Releases now ship under Apache 2.0 only.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13262
|
||||
File renamed without changes.
File renamed without changes.
@@ -1,9 +0,0 @@
|
||||
Change: Remove the owncloudsql driver
|
||||
|
||||
We removed the deprecated `owncloudsql` driver from oCIS.
|
||||
|
||||
The services `storage-users`, `auth-basic`, `users`, `groups`, and `sharing` no
|
||||
longer accept the value `owncloudsql` for their driver. The related
|
||||
configuration sections and environment variables are removed.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13189
|
||||
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.
File renamed without changes.
@@ -1,17 +0,0 @@
|
||||
Enhancement: Pick the role of multi-instance guests from their claims
|
||||
|
||||
In a multi-instance setup every guest got the same role,
|
||||
`OCIS_MULTI_INSTANCE_GUEST_ROLE`, no matter what their roles claim said. A
|
||||
teacher invited to another instance could therefore not be given access to
|
||||
vault (Safe) resources there without giving it to every other guest as well.
|
||||
|
||||
The new `OCIS_MULTI_INSTANCE_GUEST_ROLE_MAPPING` setting takes a list of
|
||||
`claimvalue:rolename` pairs, for example `spaceadmin:user-light-vault`. A guest whose
|
||||
`PROXY_ROLE_ASSIGNMENT_OIDC_CLAIM` claim matches a pair gets that role instead
|
||||
of the guest role, guests without a match keep `OCIS_MULTI_INSTANCE_GUEST_ROLE`.
|
||||
A pair that points to a role which does not exist fails the login of the
|
||||
matching guests. The proxy does not start if the setting is malformed or used
|
||||
without the `oidc` role assignment driver. The setting is empty by default,
|
||||
which keeps the previous behaviour.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/13231
|
||||
File renamed without changes.
Loaded 100 of 680 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user