Compare commits
80
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44d1413ec5 | ||
|
|
07f2a8bba9 | ||
|
|
1d70560428 | ||
|
|
3da140042c | ||
|
|
f975f00120 | ||
|
|
e1ee0d01ef | ||
|
|
d498d9b42d | ||
|
|
40d257726a | ||
|
|
42cb013e8f | ||
|
|
003e8cddb8 | ||
|
|
8011fcb7e6 | ||
|
|
c1457168c3 | ||
|
|
78313a52fe | ||
|
|
092be75ca0 | ||
|
|
1a43d7ddc0 | ||
|
|
f1dbac418b | ||
|
|
19c1cd2fa2 | ||
|
|
fc34bd9824 | ||
|
|
1745797d2b | ||
|
|
4390b44b02 | ||
|
|
0acfcb4040 | ||
|
|
3a98e41689 | ||
|
|
3b7d0006a7 | ||
|
|
58a0bd9dea | ||
|
|
afa8790227 | ||
|
|
2ea716aea4 | ||
|
|
4ba02000fa | ||
|
|
0e591928c8 | ||
|
|
09299e4ab0 | ||
|
|
604a680a03 | ||
|
|
6d1d0590e2 | ||
|
|
5a23c88296 | ||
|
|
ebda376ae1 | ||
|
|
1a32e4d8c5 | ||
|
|
1cfce945bb | ||
|
|
5d4f19a9c4 | ||
|
|
d6bc1e2400 | ||
|
|
8afeec9c5b | ||
|
|
0450a0d6aa | ||
|
|
91f0671153 | ||
|
|
898f89c697 | ||
|
|
b708076e67 | ||
|
|
8dc7afc07c | ||
|
|
7dcc74c3dd | ||
|
|
e70497b49c | ||
|
|
b395d08db6 | ||
|
|
1d16dd9e1e | ||
|
|
86fa96362a | ||
|
|
f005d68eae | ||
|
|
d68b53c6d8 | ||
|
|
f8b861c723 | ||
|
|
8b675b2e51 | ||
|
|
9f72d77bfc | ||
|
|
30009ff770 | ||
|
|
50141f471b | ||
|
|
d65f3fc215 | ||
|
|
1256793012 | ||
|
|
cdcabdb527 | ||
|
|
2f70a6856f | ||
|
|
eb06e23a09 | ||
|
|
604cb5a069 | ||
|
|
6361b52b7f | ||
|
|
5e7ce5c7de | ||
|
|
63b0cdda0e | ||
|
|
31ccffa99c | ||
|
|
5f1dbeca53 | ||
|
|
5eb6366a6c | ||
|
|
53fa0f0691 | ||
|
|
c3a6f52502 | ||
|
|
2ed2f8697b | ||
|
|
7c87568713 | ||
|
|
b265241288 | ||
|
|
7b284878f5 | ||
|
|
c20900419e | ||
|
|
bfda167e31 | ||
|
|
77560da057 | ||
|
|
ad9ccdc93b | ||
|
|
5bf887a570 | ||
|
|
fa077e7eeb | ||
|
|
382d95a3eb |
No files matched your search
@@ -1,3 +1,6 @@
|
||||
# SPDX-FileCopyrightText: ownCloud GmbH - A Kiteworks Company and ownCloud contributors
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
# Managed by owncloud/admin — edit codeowners/ownership.yml, not this file.
|
||||
# Generated by scripts/sync-codeowners.py. Last matching pattern wins.
|
||||
* @owncloud/ocis-maintainers
|
||||
@@ -217,6 +217,7 @@ jobs:
|
||||
- apiOcm
|
||||
# collaboration (needs WOPI)
|
||||
- apiCollaboration
|
||||
- apiVault
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
|
||||
@@ -314,6 +315,41 @@ jobs:
|
||||
- name: Run ${{ matrix.suite }}
|
||||
run: BEHAT_SUITES="${{ matrix.suite }}" python3 tests/acceptance/run-github.py
|
||||
|
||||
ldap-pool-tests:
|
||||
needs: [build-and-test]
|
||||
name: ldapPool-${{ matrix.suite }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
suite:
|
||||
- apiGraphUser,apiGraph,apiGraphGroup
|
||||
steps:
|
||||
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
|
||||
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
|
||||
with:
|
||||
php-version: "8.4"
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
tools: composer
|
||||
|
||||
- name: Install libvips runtime
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
# NEEDRESTART_MODE=a: auto-restart services silently; without this, needrestart can fail with exit code 6
|
||||
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
|
||||
|
||||
- name: Download build artifacts
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: ocis-build-artifacts
|
||||
|
||||
- name: Restore binary permissions
|
||||
run: chmod +x ocis/bin/ocis tests/ociswrapper/bin/ociswrapper
|
||||
|
||||
- name: Run ${{ matrix.suite }} with OCIS_LDAP_POOL_ENABLED=true
|
||||
run: BEHAT_SUITES="${{ matrix.suite }}" OCIS_LDAP_POOL_ENABLED=true python3 tests/acceptance/run-github.py
|
||||
|
||||
core-api-tests:
|
||||
name: ${{ matrix.suite }}
|
||||
needs: [build-and-test]
|
||||
@@ -694,8 +730,70 @@ jobs:
|
||||
- name: Run WOPI validator (cs3)
|
||||
run: python3 tests/acceptance/run-wopi.py --type cs3
|
||||
|
||||
external-ldap-tests:
|
||||
name: external-ldap-smoke
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
# web/idp assets must be embedded for `ocis server` to come up (same as run-github.py)
|
||||
- name: Generate assets
|
||||
run: make ci-node-generate
|
||||
|
||||
- name: Build oCIS
|
||||
run: make -C ocis build
|
||||
|
||||
# Boots an external osixia LDAP + oCIS (embedded idm excluded) and runs the
|
||||
# smoke scope against the graph API — exercises the external-directory
|
||||
# read-after-write / retry path (OCISDEV-1030/1032/1033) that the embedded-idm
|
||||
# acceptance jobs never hit.
|
||||
- name: Run external-LDAP smoke
|
||||
run: tests/ldap-smoke/run.sh
|
||||
|
||||
external-ldap-distributed-tests:
|
||||
name: external-ldap-distributed-smoke
|
||||
needs: [build-and-test]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
||||
with:
|
||||
go-version-file: go.mod
|
||||
cache: true
|
||||
|
||||
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
node-version: "24"
|
||||
|
||||
- name: Enable pnpm
|
||||
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
|
||||
|
||||
# web/idp assets must be embedded for `ocis server` to come up (same as run-github.py)
|
||||
- name: Generate assets
|
||||
run: make ci-node-generate
|
||||
|
||||
- name: Build oCIS
|
||||
run: make -C ocis build
|
||||
|
||||
# Distributed LDAP topology (proxy over an async syncrepl replica + write master);
|
||||
# the replication lag exercises the retry / read-after-write path (OCISDEV-1030/1032/1033).
|
||||
- name: Run external-LDAP distributed smoke
|
||||
run: tests/ldap-smoke-distributed/run.sh
|
||||
|
||||
all-acceptance-tests:
|
||||
needs: [detect-changes, local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests]
|
||||
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
|
||||
if: always()
|
||||
steps:
|
||||
|
||||
@@ -0,0 +1,271 @@
|
||||
name: Acceptance Tests K8S
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 1 * * *"
|
||||
|
||||
env:
|
||||
PHP_VERSION: "8.4"
|
||||
K3D_VERSION: "v5.8.3"
|
||||
HELM_VERSION: "v3.18.4"
|
||||
TEST_SERVER_URL: https://ocis-server
|
||||
STORAGE_DRIVER: ocis
|
||||
OCIS_WRAPPER_URL: http://localhost:5200
|
||||
K8S: true
|
||||
|
||||
jobs:
|
||||
api-tests:
|
||||
name: ${{ matrix.suite }}-k8s
|
||||
runs-on: ubuntu-26.04
|
||||
|
||||
if: >-
|
||||
github.event_name == 'schedule' ||
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
(github.event_name == 'pull_request' &&
|
||||
contains(github.event.pull_request.title || '', 'k8s'))
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- suite: apiContract
|
||||
- suite: apiLocks
|
||||
- suite: apiSettings
|
||||
# - suite: apiNotification
|
||||
- suite: apiCors
|
||||
- suite: apiGraphUser
|
||||
- suite: apiGraph
|
||||
- suite: apiGraphGroup
|
||||
# - suite: apiSpaces
|
||||
- suite: apiSpacesShares
|
||||
- suite: apiSpacesDavOperation
|
||||
- suite: apiDownloads
|
||||
- suite: apiAsyncUpload
|
||||
- suite: apiDepthInfinity
|
||||
- suite: apiArchiver
|
||||
- suite: apiActivities
|
||||
- suite: apiSearch1
|
||||
- suite: apiSearch2
|
||||
# - suite: apiSearchContent
|
||||
- suite: apiSharingNgShares
|
||||
- suite: apiReshare
|
||||
- suite: apiSharingNgPermissions
|
||||
- suite: apiSharingNgAdditionalShareRole
|
||||
- suite: apiSharingNgDriveInvitation
|
||||
# - suite: apiSharingNgItemInvitation
|
||||
- suite: apiSharingNgDriveLinkShare
|
||||
- suite: apiSharingNgItemLinkShare
|
||||
- suite: apiSharingNgLinkShareManagement
|
||||
- suite: apiAuthApp
|
||||
# - suite: apiAntivirus
|
||||
- suite: apiOcm
|
||||
# - suite: apiCollaboration
|
||||
# - suite: "coreApiAuth,coreApiCapabilities,coreApiFavorites,coreApiMain,coreApiVersions"
|
||||
- suite: "coreApiShareManagementBasicToShares,coreApiShareManagementToShares"
|
||||
- suite: "coreApiSharees"
|
||||
- suite: "coreApiSharePublicLink2"
|
||||
- suite: "coreApiShareOperationsToShares1,coreApiShareOperationsToShares2,coreApiSharePublicLink1,coreApiShareCreateSpecialToShares1,coreApiShareCreateSpecialToShares2,coreApiShareUpdateToShares"
|
||||
- suite: "coreApiTrashbin,coreApiTrashbinRestore,coreApiWebdavEtagPropagation1,coreApiWebdavEtagPropagation2"
|
||||
- suite: "coreApiWebdavDelete,coreApiWebdavOperations,coreApiWebdavMove2"
|
||||
- suite: "coreApiWebdavProperties"
|
||||
# - suite: "coreApiWebdavMove1,coreApiWebdavPreviews,coreApiWebdavUpload,coreApiWebdavUploadTUS"
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
- name: Setup PHP ${{ env.PHP_VERSION }}
|
||||
uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
|
||||
with:
|
||||
php-version: ${{ env.PHP_VERSION }}
|
||||
extensions: curl, xml, mbstring, zip, ldap, gd
|
||||
tools: composer
|
||||
|
||||
- name: Download k3d
|
||||
run: |
|
||||
curl -L \
|
||||
-o k3d \
|
||||
https://github.com/k3d-io/k3d/releases/download/${{ env.K3D_VERSION }}/k3d-linux-amd64
|
||||
echo "dbaa79a76ace7f4ca230a1ff41dc7d8a5036a8ad0309e9c54f9bf3836dbe853e k3d" | sha256sum --check
|
||||
chmod +x k3d
|
||||
sudo mv k3d /usr/local/bin/
|
||||
k3d version
|
||||
|
||||
- name: Install Helm
|
||||
run: |
|
||||
curl -fsSL -o helm-${{ env.HELM_VERSION }}-linux-amd64.tar.gz https://get.helm.sh/helm-${{ env.HELM_VERSION }}-linux-amd64.tar.gz
|
||||
tar -zxvf helm-${{ env.HELM_VERSION }}-linux-amd64.tar.gz
|
||||
sudo mv linux-amd64/helm /usr/local/bin/helm
|
||||
helm version --short
|
||||
|
||||
- name: Prepare hosts
|
||||
run: |
|
||||
echo "127.0.0.1 ocis-server clamav email collabora onlyoffice fakeoffice tika federation-ocis-server" \
|
||||
| sudo tee -a /etc/hosts
|
||||
|
||||
- name: Spin up K3d Cluster
|
||||
run: make -C tests/config/k8s create-cluster
|
||||
|
||||
- name: Prepare Helm Charts & Deploy oCIS
|
||||
env:
|
||||
ENABLE_ANTIVIRUS: ${{ matrix.suite == 'apiAntivirus' }}
|
||||
ENABLE_EMAIL: ${{ matrix.suite == 'apiNotification' || matrix.suite == 'apiSettings' || matrix.suite == 'apiOcm' }}
|
||||
ENABLE_TIKA: ${{ matrix.suite == 'apiSearchContent' }}
|
||||
ENABLE_WOPI: ${{ matrix.suite == 'apiCollaboration' }}
|
||||
ENABLE_OCM: ${{ matrix.suite == 'apiOcm' }}
|
||||
ENABLE_AUTH_APP: ${{ matrix.suite == 'apiAuthApp' }}
|
||||
run: |
|
||||
cd tests/config/k8s
|
||||
make prepare-charts
|
||||
kubectl get pods -n ocis-server -Aw &
|
||||
make deploy-ocis
|
||||
if [[ "${{ matrix.suite }}" == "apiOcm" ]]; then
|
||||
OCM=true make prepare-charts
|
||||
OCM=true make deploy-ocis
|
||||
fi
|
||||
|
||||
- name: Deploy Suite-Specific External Backends
|
||||
run: |
|
||||
if [[ "${{ matrix.suite }}" == "apiNotification" || \
|
||||
"${{ matrix.suite }}" == "apiSettings" || \
|
||||
"${{ matrix.suite }}" == "apiOcm" ]]; then
|
||||
docker run -d \
|
||||
-p 1025:1025 \
|
||||
-p 8025:8025 \
|
||||
--name mailpit \
|
||||
axllent/mailpit:v1.22.3
|
||||
bash tests/config/k8s/expose-external-svc.sh email:1025
|
||||
fi
|
||||
if [[ "${{ matrix.suite }}" == "apiAntivirus" ]]; then
|
||||
docker run -d \
|
||||
-p 3310:3310 \
|
||||
--name clamav \
|
||||
owncloudci/clamavd
|
||||
bash tests/config/k8s/expose-external-svc.sh clamav:3310
|
||||
fi
|
||||
|
||||
if [[ "${{ matrix.suite }}" == "apiSearchContent" ]]; then
|
||||
docker run -d \
|
||||
-p 9998:9998 \
|
||||
--name tika \
|
||||
apache/tika:3.2.2.0-full
|
||||
bash tests/config/k8s/expose-external-svc.sh tika:9998
|
||||
fi
|
||||
|
||||
- name: Wait for oCIS to be ready
|
||||
env:
|
||||
FILE_URL: ${{ env.TEST_SERVER_URL }}/remote.php/dav/files/admin/hello1.txt
|
||||
run: |
|
||||
kubectl wait \
|
||||
--namespace ocis-server \
|
||||
--for=condition=Available \
|
||||
deployment \
|
||||
--all \
|
||||
--timeout=10m
|
||||
|
||||
kubectl wait \
|
||||
--namespace ocis-server \
|
||||
--for=condition=Ready \
|
||||
pod \
|
||||
--all \
|
||||
--timeout=10m
|
||||
|
||||
kubectl get pods -n ocis-server
|
||||
|
||||
echo "Creating test file in oCIS..."
|
||||
|
||||
request() {
|
||||
local method=$1
|
||||
shift
|
||||
curl -ks -o /dev/null -w "%{http_code}" \
|
||||
-X "$method" \
|
||||
-u admin:admin \
|
||||
"$@" \
|
||||
"$FILE_URL"
|
||||
}
|
||||
|
||||
retry_http() {
|
||||
local expected=$1
|
||||
shift
|
||||
for i in {1..30}; do
|
||||
status=$("$@")
|
||||
if [ "$status" = "$expected" ]; then
|
||||
echo "Succeeded (HTTP $status)"
|
||||
return 0
|
||||
fi
|
||||
echo "Attempt $i failed (HTTP $status), retrying in 10s..."
|
||||
sleep 10
|
||||
done
|
||||
echo "Failed after 30 attempts"
|
||||
return 1
|
||||
}
|
||||
put_file() {
|
||||
request PUT \
|
||||
-H "Content-Type: text/plain" \
|
||||
--data "Hello from GitHub Actions!"
|
||||
}
|
||||
delete_file() {
|
||||
request DELETE
|
||||
}
|
||||
echo "Creating test file..."
|
||||
retry_http 201 put_file || exit 1
|
||||
echo "Deleting test file..."
|
||||
retry_http 204 delete_file || exit 1
|
||||
|
||||
- name: Expose debug ports
|
||||
run: bash tests/config/k8s/expose-debug-svc.sh
|
||||
|
||||
- name: Build ociswrapper
|
||||
run: make -C tests/ociswrapper/
|
||||
|
||||
- name: Start ociswrapper
|
||||
run: |
|
||||
tests/ociswrapper/bin/ociswrapper serve \
|
||||
--url ${{ env.TEST_SERVER_URL }} \
|
||||
--admin-username admin \
|
||||
--admin-password admin \
|
||||
--skip-ocis-run \
|
||||
-n ocis-server &
|
||||
|
||||
- name: Prepare expected failures
|
||||
if: startsWith( matrix.suite, 'core' )
|
||||
env:
|
||||
EXPECTED_FAILURES_FILE: tests/acceptance/expected-failures-API-on-OCIS-storage.md
|
||||
WITH_REMOTE_PHP: "false"
|
||||
run: |
|
||||
if [[ "$WITH_REMOTE_PHP" != "true" ]]; then
|
||||
cat tests/acceptance/expected-failures-without-remotephp.md >> \
|
||||
"$EXPECTED_FAILURES_FILE"
|
||||
fi
|
||||
|
||||
- name: Run API ${{ matrix.suite }} tests
|
||||
if: startsWith( matrix.suite, 'api' )
|
||||
env:
|
||||
TEST_SERVER_URL: ${{ env.TEST_SERVER_URL }}
|
||||
TEST_SERVER_FED_URL: https://federation-ocis-server
|
||||
STORAGE_DRIVER: ${{ env.STORAGE_DRIVER }}
|
||||
BEHAT_SUITES: ${{ matrix.suite }}
|
||||
BEHAT_FILTER_TAGS: "~@skip&&~@skipOnGraph&&~@skipOnOcis-OCIS-Storage"
|
||||
EXPECTED_FAILURES_FILE: tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md
|
||||
OCIS_WRAPPER_URL: ${{ env.OCIS_WRAPPER_URL }}
|
||||
COLLABORATION_SERVICE_URL: http://ocis-server:9304
|
||||
K8S: ${{ env.K8S }}
|
||||
run: make test-acceptance-api
|
||||
|
||||
- name: Run Core ${{ matrix.suite }} tests
|
||||
if: startsWith( matrix.suite, 'core' )
|
||||
env:
|
||||
TEST_SERVER_URL: ${{ env.TEST_SERVER_URL }}
|
||||
OCIS_REVA_DATA_ROOT: ""
|
||||
STORAGE_DRIVER: ocis
|
||||
BEHAT_FILTER_TAGS: "~@skip&&~@skipOnGraph&&~@skipOnOcis-OCIS-Storage"
|
||||
BEHAT_SUITES: ${{ matrix.suite }}
|
||||
ACCEPTANCE_TEST_TYPE: core-api
|
||||
EXPECTED_FAILURES_FILE: tests/acceptance/expected-failures-API-on-OCIS-storage.md
|
||||
UPLOAD_DELETE_WAIT_TIME: "0"
|
||||
OCIS_WRAPPER_URL: ${{ env.OCIS_WRAPPER_URL }}
|
||||
WITH_REMOTE_PHP: "false"
|
||||
K8S: ${{ env.K8S }}
|
||||
run: make test-acceptance-api
|
||||
@@ -102,7 +102,7 @@ Before starting to set up an instance, we **highly** recommend reading the [Prer
|
||||
|
||||
### Use the Official Documentation
|
||||
|
||||
See the [Install Infinite Scale on a Server](https://doc.owncloud.com/ocis/next/depl-examples/ubuntu-compose/ubuntu-compose-prod.html) for a production ready deployment starting with a Raspberry Pi, a single server or VM.
|
||||
See the [Install Infinite Scale on a Server](https://doc.owncloud.com/ocis/next/admin/depl-examples/ubuntu-compose/ubuntu-compose-prod.html) for a production ready deployment starting with a Raspberry Pi, a single server or VM.
|
||||
|
||||
### Use the ocis Repo as Source
|
||||
|
||||
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,15 @@
|
||||
Bugfix: Prevent deleting your own account in the user management
|
||||
|
||||
In the admin settings user management, the account you are currently logged in
|
||||
as could be selected and included in a delete action, even though the backend
|
||||
always rejects self-deletion. Deleting a selection that included your own
|
||||
account produced a "Failed to delete 1 user" error and made your own row
|
||||
temporarily disappear from the list until the page was refreshed.
|
||||
|
||||
The delete action now excludes the current user from the request, so all other
|
||||
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/12657
|
||||
https://github.com/owncloud/ocis/issues/12582
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,10 @@
|
||||
Bugfix: Stop breadcrumb items from being announced twice
|
||||
|
||||
Each breadcrumb list item had `tabindex="0"`, putting the item itself in the
|
||||
keyboard/screen reader focus order in addition to the link or button nested
|
||||
inside it. This caused every breadcrumb segment to be announced twice in a
|
||||
row. The list item is no longer a separate focus stop; only its inner link
|
||||
or button is, while the item remains focusable enough for existing
|
||||
drag-and-drop styling to keep working.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12643
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,8 @@
|
||||
Bugfix: Fix invisible group icon in share collaborator list
|
||||
|
||||
The icon shown next to group entries in the share collaborator autocomplete
|
||||
list used a color variable that no longer resolved to a valid value, making
|
||||
the icon effectively invisible against the background. The icon now uses the
|
||||
correct default text color variable so it renders properly again.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12722
|
||||
@@ -0,0 +1,12 @@
|
||||
Bugfix: Announce IDP sign-in errors and fix keyboard use
|
||||
|
||||
The login, consent, and account chooser pages did not announce error
|
||||
messages when they appeared, and invalid username/password fields gave no
|
||||
indication of their error state. The consent screen's scope list also had no
|
||||
programmatic link between each entry and its checkbox, and the account
|
||||
chooser's "continue as" and "use another account" entries could not be
|
||||
reached or activated with a keyboard. A visible focus outline on the login
|
||||
form's input fields had also been removed with no replacement. All of these
|
||||
have been fixed.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12649
|
||||
@@ -0,0 +1,10 @@
|
||||
Bugfix: Return the created user in the invitation response
|
||||
|
||||
The invitations service created the guest account but returned the original request
|
||||
body unchanged, so the `invitedUser` relation defined by the Graph invitation
|
||||
response was always empty. Clients had no way to learn the identity of the user that
|
||||
was just created. The service now populates `invitedUser` with the created user (id,
|
||||
email address and user type), where the id is the OWNCLOUD_ID that oCIS uses once the
|
||||
guest is provisioned locally.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12467
|
||||
@@ -0,0 +1,28 @@
|
||||
Bugfix: Fix low-contrast form controls in dark and vault themes
|
||||
|
||||
Several form controls were hard to see against dark and vault theme
|
||||
backgrounds. The view-options range slider had no visible track border and
|
||||
relied on an opacity dip on hover, making it barely visible at rest. The
|
||||
switch component's off-state track and thumb, and its on-state thumb, used
|
||||
colors too close to their surrounding background to read as a toggle. The
|
||||
select combobox's highlighted/selected option text used a color too close to
|
||||
the highlight background.
|
||||
|
||||
The global search input's text color was forced with `!important`,
|
||||
overriding the theme-specific search text color some themes set, which made
|
||||
typed text render in white on a white search input background in the vault
|
||||
"Dark Theme – High Contrast". The search placeholder color also used an
|
||||
invalid CSS custom property fallback (a bare property name instead of a
|
||||
nested `var()`), silently breaking the placeholder color for any theme that
|
||||
didn't define a search-specific placeholder token, and the vault "Dark
|
||||
Theme"'s placeholder color was too close to its input's text and border color
|
||||
to read as muted.
|
||||
|
||||
The slider now has a visible border and no longer dims on rest, the switch
|
||||
and select now use colors with sufficient contrast against their
|
||||
backgrounds, the `!important` override blocking theme-specific search colors
|
||||
has been removed, the invalid placeholder fallback has been fixed, and the
|
||||
vault "Dark Theme" placeholder color has been changed to one with visible
|
||||
contrast against the input text.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12639
|
||||
@@ -0,0 +1,9 @@
|
||||
Bugfix: Fix keyboard navigation in "New" and "Upload" dropdown menus
|
||||
|
||||
Opening the "New" or "Upload" dropdown menu in the Files app toolbar did
|
||||
not move focus into the menu, so pressing the arrow keys had no effect
|
||||
on the highlighted item, unlike the existing right-click context menu.
|
||||
Both dropdowns now focus their first item on open, restoring arrow key
|
||||
navigation.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12646
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,28 @@
|
||||
Bugfix: Release the quota of upload sessions with unreadable node metadata
|
||||
|
||||
When an upload's target node lost its metadata, e.g. because an ancestor was
|
||||
moved to the trash while the upload was still in flight, the upload could never
|
||||
finish processing. It stayed in "Processing" forever, could not be downloaded or
|
||||
deleted, and kept consuming the space quota.
|
||||
|
||||
Cleaning such a session up with `ocis storage-users uploads sessions --clean`
|
||||
did not help either: it removed the uploaded bytes and the session info file
|
||||
before failing to revert the node, so it destroyed the only copy of the data
|
||||
without releasing any quota.
|
||||
|
||||
Cleanup now reverts the node before removing anything irreversible and falls
|
||||
back to the session metadata when the node cannot be read, so the quota is
|
||||
released and the orphaned node is removed. If the quota cannot be released the
|
||||
upload is kept so it can be retried instead of being lost.
|
||||
|
||||
A new `--orphaned` filter lists the affected sessions:
|
||||
|
||||
```
|
||||
ocis storage-users uploads sessions --orphaned
|
||||
ocis storage-users uploads sessions --orphaned --clean
|
||||
```
|
||||
|
||||
Note that evaluating the filter reads the node metadata of every session, so it
|
||||
is only done when the flag is set.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12739
|
||||
@@ -0,0 +1,13 @@
|
||||
Bugfix: Sync the `.psec` file name when a password-protected folder is renamed
|
||||
|
||||
Renaming a password-protected folder did not update its `.psec` pointer file,
|
||||
so the main file listing kept showing the old name. This happened both when
|
||||
renaming the folder via the hidden `.PasswordProtectedFolders` location and
|
||||
when renaming it from inside the folder-view modal.
|
||||
|
||||
Renaming the real folder now also renames its `.psec` counterpart. Inside the
|
||||
folder-view modal, the framed public-link session notifies the parent window
|
||||
at the moment of rename, so the pointer file stays in sync even on refresh or
|
||||
another device.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12684
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,10 @@
|
||||
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
|
||||
@@ -0,0 +1,10 @@
|
||||
Bugfix: Remove unneeded keyboard focus stops
|
||||
|
||||
Some icons and date columns in tables (spaces list, file list) could
|
||||
unexpectedly receive keyboard focus even though they don't trigger any
|
||||
action, adding unnecessary stops when tabbing through the page. The
|
||||
contextual helper icon also carried a label that duplicated the label
|
||||
already present on its surrounding button. These redundant focus stops
|
||||
and duplicate labels have been removed.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12645
|
||||
@@ -0,0 +1,14 @@
|
||||
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
|
||||
@@ -0,0 +1,15 @@
|
||||
Bugfix: Restore hover feedback in high-contrast and dark themes
|
||||
|
||||
The Light and Dark High-Contrast themes set the background-highlight color
|
||||
token equal to the default page background, making hover backgrounds
|
||||
indistinguishable from the resting background wherever background-highlight
|
||||
was used for interactive feedback, such as the global search results
|
||||
dropdown. The non-high-contrast Dark theme had the same collision.
|
||||
|
||||
background-highlight now matches background-hover in the affected theme
|
||||
definitions, and the search results dropdown and create-shortcut context
|
||||
menu now use the background-hover color directly for their hover and active
|
||||
states, since background-highlight is otherwise used for static surfaces
|
||||
like cards, modals and form fields rather than interaction feedback.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12613
|
||||
File renamed without changes.
@@ -0,0 +1,9 @@
|
||||
Bugfix: Fix share metadata corruption during concurrent share operations
|
||||
|
||||
When multiple sharing service replicas processed share operations concurrently
|
||||
for the same user, the share metadata could become corrupted with references to
|
||||
missing data, making all shares inaccessible to that user. The received share
|
||||
cache now uses compare-and-swap (etag) validation to detect concurrent writes
|
||||
and retries gracefully, preventing metadata corruption.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12621
|
||||
File renamed without changes.
@@ -0,0 +1,12 @@
|
||||
Bugfix: Preserve accessibility focus in the file versions sidebar
|
||||
|
||||
Opening the file versions panel with a keyboard or screen reader could move
|
||||
focus to the main page, and restoring a version could briefly move focus to the
|
||||
main page before selecting the sidebar's back button. The sidebar now manages
|
||||
focus throughout panel transitions and loading states, restores focus to the
|
||||
control that opened it when closed, and returns focus to the restored version's
|
||||
Restore button after the operation completes. Version dates and action labels
|
||||
also provide clearer context for screen reader users without duplicate
|
||||
announcements or additional tab stops.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12630
|
||||
File renamed without changes.
@@ -0,0 +1,11 @@
|
||||
Bugfix: Allow space managers to remove shares created by other users
|
||||
|
||||
Space managers with permission to manage a resource's shares were unable to
|
||||
remove shares that other users had created on that resource. Attempting to
|
||||
remove such a share failed with a generic server error instead of succeeding.
|
||||
|
||||
Space managers can now remove any share on a resource within their space,
|
||||
regardless of who created it, as long as they hold the required permission
|
||||
on that resource.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12705
|
||||
File renamed without changes.
@@ -0,0 +1,14 @@
|
||||
Bugfix: Vault navigation labels not updating on switch
|
||||
|
||||
The Files app navigation labels for the personal space and spaces list
|
||||
sometimes kept showing the regular names instead of the vault-specific
|
||||
ones after switching into the vault, and vice versa. This happened
|
||||
because the vault detection only looked at the plain URL path and
|
||||
missed cases such as hash-based routes or the redirect right after
|
||||
logging in.
|
||||
|
||||
The vault detection has been centralized and now also recognizes
|
||||
hash-based vault routes and the post-login redirect target, so the
|
||||
navigation labels correctly reflect whether the user is in the vault.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12729
|
||||
@@ -0,0 +1,11 @@
|
||||
Bugfix: Fix missing labels and low-contrast elements across the web UI
|
||||
|
||||
Several icon-only buttons (search, hide-share, create-user, gallery
|
||||
navigation) were missing labels, and loading spinners and progress bars did
|
||||
not expose a name describing what they represent. The global search and
|
||||
create shortcut dropdowns now use correct roles and states. Tooltips no longer
|
||||
get caught mid-fade with a low-contrast color when the reduced-motion system
|
||||
setting is enabled, and low-contrast colors were fixed in the select combobox
|
||||
search input and in markdown editor links and inline code.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12526
|
||||
@@ -8,3 +8,4 @@ https://github.com/owncloud/ocis/pull/12137
|
||||
https://github.com/owncloud/ocis/pull/12302
|
||||
https://github.com/owncloud/ocis/pull/12439
|
||||
https://github.com/owncloud/ocis/pull/12266
|
||||
https://github.com/owncloud/ocis/pull/12730
|
||||
File renamed without changes.
@@ -0,0 +1,10 @@
|
||||
Change: Respect proxy environment variables for OIDC requests
|
||||
|
||||
The proxy and webfinger services now route OIDC requests through the
|
||||
`HTTP_PROXY` and `HTTPS_PROXY` settings from the environment. Deployments that
|
||||
should not send the OIDC issuer host through the proxy, or whose proxy cannot
|
||||
reach that host, must list the issuer hostname in `NO_PROXY`, otherwise
|
||||
authentication can fail when oCIS's own external hostname is reached through
|
||||
the proxy.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12703
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,12 @@
|
||||
Enhancement: Add EPUB library
|
||||
|
||||
The EPUB reader now includes a library for discovering and organizing books
|
||||
stored across accessible personal and project spaces. The library extracts
|
||||
metadata and cover images in the browser and supports search, sorting, filters,
|
||||
favorites, custom shelves, reading statuses, grid and list views, and resuming
|
||||
from the reader's saved position.
|
||||
|
||||
Book metadata and covers are cached locally. Library preferences are stored in
|
||||
the browser and are not synchronized between browsers or devices.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12648
|
||||
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.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,10 @@
|
||||
Enhancement: Improve page structure on several pages
|
||||
|
||||
We've added missing `main` and `footer` regions to several pages (404,
|
||||
private link resolving, missing config, logout, access denied, public link
|
||||
resolving) for a more consistent page structure. We've also fixed the
|
||||
"Skip to main" link, which previously did nothing on pages using the plain
|
||||
layout (login, logout, public/private link pages) due to a missing target id
|
||||
and a stale cached DOM reference.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12637
|
||||
@@ -0,0 +1,16 @@
|
||||
Enhancement: Configurable Keycloak invitation actions and working ocis_full SMTP
|
||||
|
||||
The invitations service now lets operators configure the Keycloak required actions
|
||||
that are sent to invited guests via the execute-actions email, using the new
|
||||
`INVITATIONS_KEYCLOAK_EXECUTE_ACTIONS` environment variable. It defaults to
|
||||
`UPDATE_PASSWORD,VERIFY_EMAIL`; configured values are passed to Keycloak as-is, and
|
||||
the service falls back to the defaults when none are configured, so an invited guest
|
||||
always has a way to set up their account.
|
||||
|
||||
The Keycloak realm shipped with the `ocis_full` example deployment now points its
|
||||
SMTP server at the bundled mailpit instance. Previously the realm shipped with an
|
||||
empty SMTP configuration, so Keycloak silently dropped every mail it tried to send
|
||||
(including the guest invitation email) even though the invitations service
|
||||
correctly requested it.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12467
|
||||
@@ -0,0 +1,6 @@
|
||||
Enhancement: Apply Kiteworks branding to the web theme
|
||||
|
||||
The default oCIS theme now uses the Kiteworks OSPO name, slogan and logos
|
||||
across all regular and vault mode themes.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12464
|
||||
File renamed without changes.
@@ -0,0 +1,19 @@
|
||||
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/12689
|
||||
@@ -0,0 +1,14 @@
|
||||
Enhancement: Eliminate redundant LDAP read-after-write on create and update
|
||||
|
||||
The graph LDAP backend no longer re-reads an entry immediately after writing it
|
||||
just to recover the entry ID for the response. When oCIS generates the ID itself
|
||||
(GRAPH_LDAP_SERVER_UUID disabled), the create response is now synthesized from the
|
||||
data already sent to the directory, and update responses are built by folding the
|
||||
applied modifications onto the entry that was read before the write. This avoids a
|
||||
round-trip that, against a replicated directory reached through a proxy, could hit
|
||||
a lagging replica and fail or return stale data.
|
||||
|
||||
When the directory assigns the ID (GRAPH_LDAP_SERVER_UUID enabled), creates keep
|
||||
the existing read-back, since the generated ID cannot otherwise be recovered.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12618
|
||||
File renamed without changes.
@@ -0,0 +1,16 @@
|
||||
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
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,21 @@
|
||||
Enhancement: Add a command to recalculate the treesize of a space
|
||||
|
||||
The reported quota usage of a space can drift from the data actually stored on
|
||||
disk. The treesize of a directory is maintained as a running counter that is
|
||||
updated on every change, so a failed or incomplete update leaves the counter
|
||||
wrong. Removing a node without propagating the size change, for example, leaves
|
||||
its size counted against the quota forever, with no way to reclaim it.
|
||||
|
||||
The new command walks a space bottom up, recalculates the treesize of every
|
||||
directory from the actual size of its children and corrects the stored values:
|
||||
|
||||
```
|
||||
ocis storage-users spaces recalculate-treesize --space-id <id>
|
||||
ocis storage-users spaces recalculate-treesize --space-id <id> --dry-run=false
|
||||
```
|
||||
|
||||
Omit `--space-id` to process all spaces. As with the other maintenance commands,
|
||||
`--dry-run` defaults to true, so the command reports what it would change until
|
||||
it is explicitly told to write.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12746
|
||||
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,7 @@
|
||||
Enhancement: Show the select-all checkbox label in tile view
|
||||
|
||||
The label of the select-all checkbox in the resource tiles view is now
|
||||
visible, improving the user experience by making it clear what the
|
||||
checkbox is for.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12640
|
||||
@@ -0,0 +1,8 @@
|
||||
Enhancement: Use a more distinctive icon for the software license link
|
||||
|
||||
The "Software License Information" entry in the help menu and apps menu used
|
||||
the generic "scales" icon, which is easy to confuse with other justice- or
|
||||
balance-related icons. It now uses the "file-shield" icon, which better
|
||||
conveys a legal/license document.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12669
|
||||
File renamed without changes.
@@ -0,0 +1,12 @@
|
||||
Enhancement: Add "Undo" action to the delete success notification
|
||||
|
||||
Deleting a file or folder now shows an "Undo" action alongside the
|
||||
"moved to trash bin" notification, letting users restore the deleted
|
||||
resources directly from the toast instead of navigating to the trash
|
||||
bin. The action is only shown when the resources can be resolved in
|
||||
the trash and the space supports restoring from it. The notification
|
||||
pauses its auto-dismiss timer while hovered or focused, so it does not
|
||||
disappear before the action can be used. Pressing Ctrl+Z (or Cmd+Z on
|
||||
macOS) while the notification is visible triggers the same undo.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12650
|
||||
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.
@@ -0,0 +1,18 @@
|
||||
Bugfix: Fix concurrent map access when listing shares
|
||||
|
||||
Listing shares could abort the whole oCIS process with the Go runtime error
|
||||
"fatal error: concurrent map read and map write". This is an unrecoverable
|
||||
runtime fault, so it could not be caught and recovered from, and it dropped all
|
||||
connections that were in flight at that moment.
|
||||
|
||||
When converting CS3 shares into Graph DriveItems, the worker goroutines read
|
||||
from the shared driveItems map while the collecting loop was already writing
|
||||
results into the very same map. The results channel is buffered, so the workers
|
||||
never blocked when handing over an item and the collecting loop started writing
|
||||
while workers were still running. The results are now collected after all
|
||||
workers have finished, which removes the overlapping access.
|
||||
|
||||
Note that lowering the maximum concurrency did not avoid this, as a single
|
||||
worker could still run concurrently with the collecting loop.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12674
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,13 @@
|
||||
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/12431
|
||||
https://github.com/owncloud/ocis/pull/12411
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,17 @@
|
||||
Bugfix: Open files whose name contains a hash or question mark
|
||||
|
||||
Cmd+Clicking or middle-clicking a file with a `#` or `?` in its name opened the
|
||||
space root instead of the file, and the top bar showed the space name rather than
|
||||
the file name. The file's path is carried in a route parameter which the router
|
||||
percent-encodes when it builds the URL, but the editor route was resolved twice
|
||||
and resolving twice does not encode twice: the second pass rebuilt the URL from
|
||||
the still-decoded parameter with the encoding step skipped. The browser then read
|
||||
everything from the `#` onward as a fragment, discarding the query string along
|
||||
with the `fileId` needed to identify the file. Left clicks were unaffected because
|
||||
they never leave the app.
|
||||
|
||||
Editor routes are now handed to links unresolved, so the file name is encoded
|
||||
exactly once and survives both a new tab and an in-app navigation. Hash and
|
||||
question mark remain valid characters in file names.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/12740
|
||||
File renamed without changes.
Loaded 100 of 982 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user