Compare commits

..
356 Commits
Author SHA1 Message Date
Firas Frikha 9f2c482fb9 update reva version and fix fmt
# Conflicts:
#	go.mod
#	go.sum
#	vendor/modules.txt
2026-05-21 10:55:46 +02:00
Roman Perekhod 09a2666854 feat: bump to go1.25.10 (#12330) 2026-05-21 10:55:29 +02:00
Firas Frikha 1467fca9a0 fix(search): [OCISDEV-867] skip indexing of files still in postprocessing 2026-05-21 10:49:46 +02:00
owncloud-translations-bot[bot] 934f7e5414 chore: update translations from transifex (#12348)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-05-21 08:59:12 +02:00
Lukas Hirt 64a939f79a feat: [OCISDEV-710] add vault themes (#12329)
Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-05-20 23:40:11 +02:00
kobergj d17056f3d1 Merge pull request #12328 from kobergj/feat/OCISDEV-869-vault-mode-permission
feat(settings): [OCISDEV-869] add VaultMode permission
2026-05-20 16:14:36 +02:00
Thomas Müller 56e9cde1a2 chore: update dependabot to weekly Sunday schedule (#12307)
* chore: add standardized dependabot config

Weekly Sunday 22:00 UTC, 5 PR limit per ecosystem, minor+patch grouped.

Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>

* chore: re-add docker ecosystem to dependabot config

Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>

---------

Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
2026-05-20 16:11:24 +02:00
Martin 60875d57a7 docs: small improvements for the vault readme (#12333) 2026-05-20 09:41:53 +00:00
dependabot[bot] 4f357e1c72 build(deps): bump github.com/go-git/go-git/v5 from 5.19.0 to 5.19.1 (#12331)
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.19.0 to 5.19.1.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Changelog](https://github.com/go-git/go-git/blob/main/HISTORY.md)
- [Commits](https://github.com/go-git/go-git/compare/v5.19.0...v5.19.1)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-version: 5.19.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-20 10:30:39 +02:00
Michal Klos e7aaf955c4 chore: decouple webdav search reuter, changelog (#12303) 2026-05-19 13:38:55 +00:00
Julian KobergandClaude Opus 4.7 05ede54a97 feat(settings): [OCISDEV-869] add VaultMode permission
Add a new VaultMode.ReadWriteEnabled permission that gates the visibility
of the vault mode switcher in the web UI. Assigned to the admin, space
admin and user roles. The user light role does not receive it.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-05-19 15:25:02 +02:00
Michal Klos 4b99dd8c8f chore: consolidated bumps and security updates (#12325)
* chore(deps): bump filippo.io/edwards25519 from 1.1.0 to 1.1.1

* chore(deps): bump github.com/cloudflare/circl from 1.6.1 to 1.6.3

* chore(deps): bump github.com/russellhaering/goxmldsig from 1.5.0 to 1.6.0

* build(deps): bump fpicalausa/remove-stale-branches from 2.4.0 to 2.6.1

* build(deps): bump actions/upload-artifact from 4.6.2 to 7.0.1

* build(deps): bump actions/download-artifact from 4.3.0 to 8.0.1

* build(deps): bump pnpm/action-setup from 5.0.0 to 6.0.8

* chore(deps): bump github.com/shamaton/msgpack/v2 to v2.4.1 and reva to v2.0.0-20260519092700-9da01c6fb954

* chore: regenerate lock fil s and vendor

* chore: changelog

* fix: bump golang.org/x/image to v0.39.0 (GO-2026-4815, GO-2026-4961, GO-2026-4962)
2026-05-19 12:52:58 +00:00
Roman Perekhod 763f368133 feat: [OCISDEV-531] Disable public link sharing for vault resources (#12321) 2026-05-19 11:56:23 +00:00
Martin a9a388328d feat: add new image versions for web-extensions (#12324)
* feat: add new image versions for web-extensions

* add changelog

* update changelog
2026-05-19 08:45:13 +00:00
owncloud-translations-bot[bot] 17d5dbe974 chore: update translations from transifex (#12323)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-05-19 08:57:23 +02:00
Michal Klos c6956ddaec fix: [OCISDEV-865] CI, release pipeline steps ordering (#12310)
* fix: ci, release pipeline steps ordering

* chore: security bump

* fix: ignore for trivy scan, steps order
2026-05-18 13:36:05 +02:00
Michal Klos d0cd414e3a fix: [OCISDEV-864] CI, fix passing version string value to image (#12309)
* fix: release fix passing version string value to image

* fix: bump release tag

* chore: bump go-git

* fix: missing fcntl64 int the build image due to GHA image update
2026-05-18 10:24:41 +02:00
Kavita gautam fd267920ec Merge pull request #12125 from owncloud/test/public-link-multi-file-download
[tests-only] test: add test to download multiple files from public link
2026-05-18 12:41:33 +05:45
Kavita GautamandSawjan Gurung f19546bf6b test: public link multifile download
Signed-off-by: Kavita Gautam <kavita@jankaritech.com>

test: public link multifile download

Signed-off-by: Kavita Gautam <kavita@jankaritech.com>

Apply suggestions from code review

Co-authored-by: Sawjan Gurung <saw.jan.grg3e@gmail.com>
2026-05-18 10:31:57 +05:45
owncloud-translations-bot[bot] 92d6faa36a chore: update translations from transifex (#12318)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-05-17 12:05:00 +00:00
Roman PerekhodandMartin 39e3d33820 [full-ci] feat: ocisdev-533 graph (#12108)
* feat: Implemet the vault-storage

feat: Separate the storage-users and graph to handle

feat: move the space create cache

configurate the vault srorage Postprocessing

hide the assignment of the MountID to VaultStorageProviderID behind a flag to avoid the ID mismatch

configurate the proxy to create the vault home space

update the filter

Make the graph able to handle vault prefix. no extra service needed

apply the vault filter to sharedbyme and sharedwithme

added vault-storage docker

use squashed reva

fix the finishUpload event

restict webdav copy/move from the vault

feat: provide the mfa to webdav and grpc

feat: refactoring: provide the mfa to webdav and grpc

mfa collaboration

fix GetRootDriveChildren and more

fix: send the MFA header in HTTP clients from the collaboration service

provide the default storage user vault configuration

update create_home middleware

Update deployments/examples/ocis_full/vault-storage.yml

Co-authored-by: Martin <github@diemattels.at>

Update services/gateway/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/graph/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/graph/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/storage-users/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/proxy/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/storage-users/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update deployments/examples/ocis_full/vault-storage.yml

Co-authored-by: Martin <github@diemattels.at>

bump reva

deduplicate the requireMFA middeware on vault routes. fix AppendPlainToOpaque.

added the changlog and comments

* feat: add the vault mode search

* Update changelog/unreleased/enhancement-vault-storage.md

Co-authored-by: Martin <github@diemattels.at>

* update the readme. the reva vault storage provider configuration disabled by default

* feat: [OCISDEV-531] add vault capabilities to the OCS capabilities endpoint

* the port range allocated. the configuration updated.

---------

Co-authored-by: Martin <github@diemattels.at>
2026-05-15 16:53:05 +02:00
Roman Perekhod 922f781177 Merge pull request #12316 from owncloud/feat/bump-reva-15052026
feat: bump reva to latest
2026-05-15 15:25:21 +02:00
Roman Perekhod 9e0ebd2c25 feat: bump reva to latest 2026-05-15 13:23:55 +02:00
Thomas Müller f278f63eb4 ci: pin all GitHub Actions to SHA for org security policy (#12311)
Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
2026-05-13 12:45:42 +00:00
Michal Klos b2adb15d6d feat: drop drone (#12243) 2026-05-13 12:14:45 +02:00
owncloud-translations-bot[bot]andMartin d2843a8fbb chore: update translations from transifex (#12298)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
Co-authored-by: Martin <github@diemattels.at>
2026-05-12 07:22:58 +00:00
Deyan Zhekov 757edb0c9d [OCISDEV-849] Changes when and how to trigger the workflow job (#12294)
* [OCISDEV-849] Removed edited from the trigger types entirely and simplified the if: condition
2026-05-11 18:49:01 +03:00
Michal Klos 9ebc3f3515 chore: bump libvips (#12301) 2026-05-11 12:37:39 +02:00
Michal Klos 2c4904dab1 feat: decouple webdav search reuter (#12299) 2026-05-11 09:16:48 +02:00
nirajacharya2 40a1380421 Merge pull request #12189 from owncloud/test-deployment-ex
[test-only][k6-test] test deployment examples
2026-05-11 04:38:24 +00:00
nirajacharya2 76199d797f Merge branch 'master' into test-deployment-ex 2026-05-11 03:51:34 +00:00
owncloud-translations-bot[bot] 3efec50c5b chore: update translations from transifex (#12297)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-05-09 12:35:14 +02:00
nirajacharya2 7c3882896b Merge branch 'master' into test-deployment-ex 2026-05-08 10:30:53 +00:00
Michal Klos e50ad06d50 feat: release, remove obsolete notify step (#12296) 2026-05-08 12:08:32 +02:00
nirajacharya2andPrajwol Amatya 946e04bf7f update name
Co-authored-by: Prajwol Amatya <83579989+PrajwolAmatya@users.noreply.github.com>
2026-05-08 14:57:37 +05:45
Niraj Acharya e6995bb090 test: test deployment examples 2026-05-08 13:00:08 +05:45
owncloud-translations-bot[bot] 10ace15eb0 chore: update translations from transifex (#12295)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-05-08 06:57:29 +00:00
Deyan Zhekov 74eb347498 [OCISDEV-847] Add if not cancelled() check for each step in the job (#12293) 2026-05-07 16:40:35 +03:00
Deyan Zhekov b71a877a07 [OCISDEV-842] Add concurrency group for each job with [k6-test] flag (#12282) 2026-05-07 14:47:11 +03:00
Michal Klos 0cb16501e2 feat: [OCISDEV-816] fix thumbnail flakiness (#12239) 2026-05-07 09:35:34 +02:00
Michal KlosandMartin 234e665699 feat: [OCISDEV-670] add masterID for EK users (#12101)
* feat: add masterID for EK users

* Update deployments/examples/ocis_multi/README.md

Co-authored-by: Martin <github@diemattels.at>

* Update deployments/examples/ocis_multi/README.md

Co-authored-by: Martin <github@diemattels.at>

* review comments

---------

Co-authored-by: Martin <github@diemattels.at>
2026-05-06 16:15:32 +02:00
Michal Klos 61b1817d0b chore: security dependency bumps (#12245)
* chore: bump follow-redirects to >=1.16.0

* chore: bump @xmldom/xmldom to >=0.8.12

* chore: bump serialize-javascript to >=7.0.5

* chore: bump picomatch to 2.3.2 / 4.0.4

* chore: bump flatted to >=3.4.2

* chore: bump undici to >=7.24.0

* chore: bump svgo to >=4.0.1

* chore: bump minimatch to 3.1.3 / 5.1.8

* build(deps): bump i18next-http-backend in /services/idp

Bumps [i18next-http-backend](https://github.com/i18next/i18next-http-backend) from 2.7.3 to 3.0.5.
- [Changelog](https://github.com/i18next/i18next-http-backend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-http-backend/compare/v2.7.3...v3.0.5)

---
updated-dependencies:
- dependency-name: i18next-http-backend
  dependency-version: 3.0.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump amd64/alpine from 3.23.3 to 3.23.4 in /ocis/docker

Bumps amd64/alpine from 3.23.3 to 3.23.4.

---
updated-dependencies:
- dependency-name: amd64/alpine
  dependency-version: 3.23.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump actions/setup-node from 6.3.0 to 6.4.0

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/53b83947a5a98c8d113130e565377fae1a50d02f...48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump actions/setup-go from 6.3.0 to 6.4.0

Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v6.3.0...4a3601121dd01d1626a1e23e37211e3254c1c06c)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump aquasecurity/trivy-action from 0.35.0 to 0.36.0

Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/57a97c7e7821a5776cebc9bb87c984fa69cba8f1...ed142fd0673e97e23eac54620cfb913e5ce36c25)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-version: 0.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump docker/build-push-action from 7.0.0 to 7.1.0

Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/d08e5c354a6adb9ed34480a06d141179aa583294...bcafcacb16a39f128d818304e6c9c0c18556b85f)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump softprops/action-gh-release from 2.6.1 to 3.0.0

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.6.1 to 3.0.0.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/153bb8e04406b158c6c84fc1615b65b24149a1fe...b4309332981a82ec1c5618f44dd2e27cc8bfbfda)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: lock file regenerate

* chore: bump Azure/go-ntlmssp to v0.1.1

---------

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-06 14:39:54 +02:00
nirajacharya2 e962ea20cd Merge pull request #12178 from owncloud/search-metadata
test: add test for searching with metadata
2026-05-06 03:40:14 +00:00
Niraj Acharya 3b23b4e63f test: add test for searching with metadata 2026-05-05 12:27:44 +05:45
owncloud-translations-bot[bot] d346b143b4 chore: update translations from transifex (#12278)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-05-05 07:53:13 +02:00
Martin e10ee97c7e fix: remove default ocis image type from ocis_full (#12276) 2026-05-04 11:27:40 +02:00
owncloud-translations-bot[bot] 3cc2a744d4 chore: update translations from transifex (#12275)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-05-03 08:43:27 +00:00
owncloud-translations-bot[bot] 82c83cd179 chore: update translations from transifex (#12244)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-05-02 23:36:21 +02:00
Matteo 5940017735 Merge pull request #12268 from owncloud/chore/bump-web-to-12.3.3
[full-ci] chore: bump web version to 12.3.3
2026-04-30 11:16:00 +02:00
Matteo 8f5130e08c chore: bump web version to 12.3.3 2026-04-30 10:02:52 +02:00
Deyan Zhekov 1ca8626867 [OCISDEV-833] Added rm -rf k6-ocis via SSH before ocis.sh start (#12270) 2026-04-30 10:55:27 +03:00
Deyan Zhekov 7b5cea855c [OCISDEV-827] Add GitHub Actions workflow for k6 load tests with flag [k6-test] (#12265)
* [OCISDEV-827] Add workflow file to run k6-tests in GitHub Actions

* [OCISDEV-827] Fix broken pipeline job

* [OCISDEV-827] Fix broken pipeline job - switched to double quotes.

* [OCISDEV-827] Trying to fix a broken pipeline job

* [OCISDEV-827] Fix secrets and variables used to run k6-test

* [OCISDEV-827] Add health check and SSH keepalive in run_k6_tests.sh

* [OCISDEV-827] Rename variable DRONE_COMMIT to OCIS_COMMIT_SHA
2026-04-29 12:49:52 +03:00
Jones Jankovic ff13468d8f fix: correct typo in readme (#12263) 2026-04-28 11:13:22 +00:00
kobergj d595ce6f9b Merge pull request #12261 from kobergj/feat/OCISDEV-807-space-editor-without-versions-without-trashbin-master
feat(graph): [OCISDEV-807] add SpaceEditorWithoutVersionsWithoutTrashbin role
2026-04-27 11:44:37 +02:00
Julian Koberg ee264345ca feat(graph): [OCISDEV-807] add SpaceEditorWithoutVersionsWithoutTrashbin role
Adds a new space membership role "Can edit" that allows creating, uploading,
downloading, editing, moving and deleting on a space without access to file
versions or the trashbin. Also bumps reva to include the corresponding role
constructor.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-04-27 09:23:36 +02:00
kobergj af0ea4f104 Merge pull request #12257 from kobergj/feat/OCISDEV-781-wopi-lock-read-only
fix(collaboration): [OCISDEV-781] return 200 OK for WOPI Lock in read-only and view-only modes
2026-04-24 13:59:21 +02:00
Julian KobergandClaude Sonnet 4.6 8e8041ac8b fix(collaboration): [OCISDEV-781] return 200 OK for WOPI Lock in read-only modes
OnlyOffice sends a WOPI Lock request on document open regardless of whether
the user has write access. The Lock handler was calling SetLock with a
read-only CS3 token, which returned a permission error propagated as HTTP 500
to OnlyOffice, causing an error dialog on load.

Return 200 OK immediately for READ_ONLY and VIEW_ONLY view modes without
acquiring a CS3 lock.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-04-24 13:15:33 +02:00
Roman Perekhod dacca91f5c Merge pull request #12128 from owncloud/fix/OCISDEV-460
[full-ci] [OCISDEV-460] fix: move the home space create cache to the proxy
2026-04-23 22:51:38 +02:00
Roman Perekhod 57a09b14f1 feat: move the space create cache 2026-04-23 20:13:35 +02:00
Roman Perekhod bd91f8819a Merge pull request #12256 from owncloud/bump/image-v0.39.0
build(deps): bump golang.org/x/image v0.38.0 to v0.39.0
2026-04-23 13:39:45 +02:00
Roman Perekhod 58a388acd7 build(deps): bump golang.org/x/image v0.38.0 to v0.39.0
Signed-off-by: Roman Perekhod <2403905@gmail.com>
2026-04-23 12:01:53 +02:00
Michal Klos eaaf8533f4 chore: bump packages, consolidated dependabot (#12240)
* chore(deps): bump @testing-library/jest-dom in /services/idp

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.6.4 to 6.9.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.6.4...v6.9.1)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-version: 6.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump filippo.io/edwards25519 from 1.1.0 to 1.1.1

Bumps [filippo.io/edwards25519](https://github.com/FiloSottile/edwards25519) from 1.1.0 to 1.1.1.
- [Commits](https://github.com/FiloSottile/edwards25519/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: filippo.io/edwards25519
  dependency-version: 1.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* Merge branch 'master' into dependabot/go_modules/github.com/russellhaering/goxmldsig-1.6.0

* build(deps): bump alpine from 3.23.3 to 3.23.4

Bumps alpine from 3.23.3 to 3.23.4.

---
updated-dependencies:
- dependency-name: alpine
  dependency-version: 3.23.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump arm64v8/alpine from 3.23.3 to 3.23.4 in /ocis/docker

Bumps arm64v8/alpine from 3.23.3 to 3.23.4.

---
updated-dependencies:
- dependency-name: arm64v8/alpine
  dependency-version: 3.23.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump actions/cache from 5.0.4 to 5.0.5

Bumps [actions/cache](https://github.com/actions/cache) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/668228422ae6a00e4ad889ee87cd7109ec5666a7...27d5ce7f107fe9357f9df03efb73ab90386fccae)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 5.0.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump github.com/go-acme/lego/v4 from 4.25.2 to 4.34.0

Bumps [github.com/go-acme/lego/v4](https://github.com/go-acme/lego) from 4.25.2 to 4.34.0.
- [Release notes](https://github.com/go-acme/lego/releases)
- [Changelog](https://github.com/go-acme/lego/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-acme/lego/compare/v4.25.2...v4.34.0)

---
updated-dependencies:
- dependency-name: github.com/go-acme/lego/v4
  dependency-version: 4.34.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump github.com/go-git/go-git/v5 from 5.17.1 to 5.18.0

Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.17.1 to 5.18.0.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.17.1...v5.18.0)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-version: 5.18.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: regenerate pnpm-lock.yaml

* fix(ci): replace nc-based fakeoffice with Python HTTP server

BusyBox nc -k restarts between connections leaving a gap where the
collaboration service gets ECONNRESET at startup, so healthz never
binds and the 300s wait times out. Python HTTPServer is gap-free.

---------

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-21 15:59:21 +00:00
kobergj 0b76ae28a0 Merge pull request #12232 from kobergj/feat/OCISDEV-794-ldap-group-additional-objectclasses
feat(graph): [OCISDEV-794] allow multiple objectClasses on group creation
2026-04-21 15:29:37 +02:00
Julian Koberg b76032d099 feat(graph): [OCISDEV-794] allow multiple objectClasses on group creation
Add GroupAdditionalObjectClasses config field (env vars
OCIS_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES /
GRAPH_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES) that appends extra
objectClasses when creating groups in LDAP, alongside the existing
primary GroupObjectClass. Applied to both groupToLDAPAttrValues and
CreateLDAPGroupByDN.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-04-21 13:57:47 +02:00
Michal Klos 147d428068 fix: ci, flaky av test (#12226) 2026-04-21 13:11:01 +02:00
owncloud-translations-bot[bot] 409c192ee2 chore: update translations from transifex (#12237)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-04-21 06:29:54 +00:00
Thomas Müller 60df62ef0b fix(ci): grant contents:read permission for translation-sync caller (#12233) 2026-04-20 16:20:59 +02:00
Michal KlosandLukas Schwarz a9ed227e40 feat: [OCISDEV-783] release pipeline (#12194)
* feat: Add basic GH Actions file

* feat: [OCISDEV-783] release pipeline

* feat: [OCISDEV-783] release pipeline

* feat: [OCISDEV-783] release pipeline, DeepDiver's review comments

* feat: [OCISDEV-783] release pipeline, DeepDiver's review comments

* feat: [OCISDEV-783] release pipeline, assert release

* feat: [OCISDEV-783] release pipeline, audit release

* feat: [OCISDEV-783] release pipeline, bianaries

* feat: [OCISDEV-783] release pipeline, bianaries

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, dev.1

* feat: [OCISDEV-783] release pipeline, trivy scan

* feat: [OCISDEV-783] release pipeline, gh actions

* trigger CI

* feat: [OCISDEV-783] release pipeline, align versions

* feat: [OCISDEV-783] release pipeline, scan message

* feat: [OCISDEV-783] release pipeline, ack alpine scan

* feat: [OCISDEV-783] release pipeline, align versions

* feat: [OCISDEV-783] release pipeline, review

* feat: [OCISDEV-783] release pipeline, review

* feat: [OCISDEV-783] release pipeline, trivy scan

---------

Co-authored-by: Lukas Schwarz <lukas.schwarz@kiteworks.com>
2026-04-20 09:59:09 +02:00
Paul FaureandClaude Opus 4.6 1d9b6dd053 feat(idm): add --service-user flag to resetpassword command (#12118)
* feat(idm): add --service-user flag to resetpassword command

The DN was hardcoded to ou=users, making it impossible to reset
passwords for service accounts (libregraph, idp, reva) which live
under ou=sysusers. The new --service-user flag selects the correct OU.

Fixes: #12106

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Paul Faure <paul@faure.ca>

* docs: update changelog with PR number

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Paul Faure <paul@faure.ca>

* refactor(idm): use --user-type flag instead of --service-user bool

Replace the --service-user boolean flag with a --user-type string flag
that accepts 'user' (default) or 'service'. This is more extensible
if additional user types are added in the future.

Addresses review feedback from mklos-kw.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Paul Faure <paul@faure.ca>

---------

Signed-off-by: Paul Faure <paul@faure.ca>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 14:45:42 +02:00
Paul FaureandClaude Opus 4.6 cc9b170e4b enhancement(search): retry extraction with abort on persistent failure (#12111)
During IndexSpace bulk reindexing, file extraction is now retried up to
5 times with a 1-second delay between attempts. If 5 consecutive files
fail (indicating the extraction service is down), the walk is aborted.

This replaces the previous 30-minute exponential backoff approach per
review feedback from jvillafanez: keep retries quick and short, return
an error to the admin rather than sleeping for extended periods.

No interface changes — retry logic is internal to the service.

Signed-off-by: Paul Faure <paul@faure.ca>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 10:40:04 +00:00
a17760898c feat(search): add ocis search optimize CLI command (#12136)
Add a CLI-only optimize command that compacts the Bleve search index by
merging segments. The command opens the index directly via a new engine
factory (NewEngineFromConfig), without requiring the running gRPC service.

Key changes per review feedback from jvillafanez:
- CLI-only: no gRPC endpoint, no proto changes — admin triggers it
  directly when disruption is acceptable
- Engine factory: extracted engine creation from the gRPC handler into
  NewEngineFromConfig, reusable by both the service and CLI commands
- Optimize() merged into Engine interface: no separate Optimizer
  interface, non-supporting engines can return an error

Signed-off-by: Paul Faure <paul@faure.ca>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Martin <github@diemattels.at>
2026-04-17 09:16:03 +00:00
Deyan ZhekovandMichal Klos 196664c0f0 feat: [OCISDEV-779] reduce CI duration, PHP-version (#12217)
* feat: [OCISDEV-779] reduce CI duration, php-version

* feat: [OCISDEV-779] fix flaky test in apiSharingNgShares

* feat: [OCISDEV-779] fix flaky preview comparison

* feat: [OCISDEV-779] fix flaky preview comparison

* feat: [OCISDEV-779] replace manual PHP installation with shivammathur/setup-php action

* feat: [OCISDEV-779] fix Pre-checks and generate step

* feat: [OCISDEV-779] fix flaky preview comparison

* feat: [OCISDEV-779] fix failing test

---------

Co-authored-by: Michal Klos <michal.klos@kiteworks.com>
2026-04-16 20:53:40 +02:00
owncloud-translations-bot[bot] c80adddce1 chore: update translations from transifex (#12208)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-04-16 08:50:25 +00:00
Prajwol Amatya 29485c8ac7 Merge pull request #12210 from owncloud/add-retry-on-5xx-error
[tests-only][full-ci] retry on 5xx error while installing php
2026-04-16 10:09:24 +05:45
Prajwol Amatya 722fb8e23a add retry on 5xx error
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-04-16 09:11:19 +05:45
Michal Klos 4704c8feb4 fix: ci, govulncheck stderr (#12219)
* fix: ci, govulncheck stderr

* fix: ci, litmus flakines
2026-04-15 21:26:24 +02:00
Martin 55e9ac5170 ci: add reviewers to GH translation-sync Action (#12218) 2026-04-15 15:18:42 +02:00
Prajwol Amatya 683d263ee5 Merge pull request #12216 from owncloud/bump-commit-id
[full-ci] bump web commit id
2026-04-15 13:49:30 +05:45
Prajwol Amatya 6a1045bb4d bump commit id
Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-04-15 13:05:42 +05:45
Thomas Müller 08be86c33f Merge pull request #12213 from owncloud/remove-matrix-notifications
ci: remove matrix build status notifications
2026-04-13 13:11:28 +02:00
Thomas MüllerandClaude Sonnet 4.6 e25d456741 ci: remove matrix build status notifications
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 12:45:54 +02:00
owncloud-translations-bot[bot]andMartin 184510ac49 chore: update translations from transifex (#12206)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
Co-authored-by: Martin <github@diemattels.at>
2026-04-11 08:56:38 +00:00
dependabot[bot] 0a006bfd3d build(deps-dev): bump postcss-loader in /services/idp (#12156)
Bumps [postcss-loader](https://github.com/webpack/postcss-loader) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/webpack/postcss-loader/releases)
- [Changelog](https://github.com/webpack/postcss-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webpack/postcss-loader/compare/v8.2.0...v8.2.1)

---
updated-dependencies:
- dependency-name: postcss-loader
  dependency-version: 8.2.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-11 09:02:16 +02:00
dependabot[bot] b495d79bb3 build(deps): bump lodash from 4.17.23 to 4.18.1 in /services/idp (#12188)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-10 18:58:34 +00:00
Michal Klos 80a04e5981 feat: [OCISDEV-792] reduce ci duration, build-and-run (#12204)
* feat: [OCISDEV-792] reduce ci duration, build-and-run

* feat: [OCISDEV-792] reduce ci duration, build-and-run

* feat: [OCISDEV-792] reduce ci duration, pre-check

* feat: [OCISDEV-792] reduce ci duration, pre-check

* feat: [OCISDEV-792] reduce ci duration, pre-check

* feat: [OCISDEV-792] reduce ci duration, pre-check

* feat: [OCISDEV-792] reduce ci duration, pre-check
2026-04-10 19:59:04 +02:00
dependabot[bot] b384fc84ab build(deps): bump actions/setup-go from 6.3.0 to 6.4.0 (#12180)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/4b73464bb391d4059bd26b0524d20df3927bd417...4a3601121dd01d1626a1e23e37211e3254c1c06c)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: 6.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-10 14:44:51 +00:00
dependabot[bot] bba26bd586 build(deps): bump actions/cache from 4.3.0 to 5.0.4 (#12198)
Bumps [actions/cache](https://github.com/actions/cache) from 4.3.0 to 5.0.4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/0057852bfaa89a56745cba8c7296529d2fc39830...668228422ae6a00e4ad889ee87cd7109ec5666a7)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: 5.0.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-10 13:41:21 +00:00
Juan Pablo Villafañez 0b21a49dbd chore: upgrade go to 1.25.9 (#12195) 2026-04-10 12:47:32 +00:00
dependabot[bot] 351db4fb2e build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.4 to 3.0.5 (#12185)
Bumps [github.com/go-jose/go-jose/v3](https://github.com/go-jose/go-jose) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Commits](https://github.com/go-jose/go-jose/compare/v3.0.4...v3.0.5)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v3
  dependency-version: 3.0.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-10 11:20:40 +00:00
dependabot[bot] a3a0b05b0d build(deps): bump github.com/go-jose/go-jose/v4 from 4.1.3 to 4.1.4 (#12186)
Bumps [github.com/go-jose/go-jose/v4](https://github.com/go-jose/go-jose) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/go-jose/go-jose/releases)
- [Commits](https://github.com/go-jose/go-jose/compare/v4.1.3...v4.1.4)

---
updated-dependencies:
- dependency-name: github.com/go-jose/go-jose/v4
  dependency-version: 4.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-10 10:12:22 +00:00
dependabot[bot]andMartin fdb6dc17c9 build(deps): bump go.opentelemetry.io/otel/sdk from 1.40.0 to 1.43.0 (#12197)
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.40.0 to 1.43.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.43.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.43.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin <github@diemattels.at>
2026-04-10 09:15:41 +00:00
owncloud-translations-bot[bot] 4b73534e41 chore: update translations from transifex (#12201)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-04-10 08:27:31 +02:00
dependabot[bot] ace72dc7db build(deps): bump axios from 1.13.5 to 1.15.0 in /services/idp (#12200)
Bumps [axios](https://github.com/axios/axios) from 1.13.5 to 1.15.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.13.5...v1.15.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-10 00:46:56 +02:00
Michal Klos 85b2e8b334 feat: [OCISDEV-779] reduce ci duration, libcurl (#12193)
* feat: [OCISDEV-779] reduce ci duration, libcurl

* feat: [OCISDEV-779] reduce ci duration, libcurl

* feat: [OCISDEV-779] reduce ci duration, libcurl

* feat: [OCISDEV-779] reduce ci duration, libcurl
2026-04-09 22:57:33 +02:00
Deyan Zhekov 6f312d76bd feat: [OCISDEV-786] Split coreApiSharees and coreApiSharePublicLink2 (#12196) 2026-04-09 22:04:55 +02:00
Thomas MüllerandClaude Sonnet 4.6 693e907a10 feat: add translation sync workflow (#12199)
* feat: add translation sync workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: restrict GITHUB_TOKEN to no permissions

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* chore: change translation sync schedule to daily

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 17:21:44 +00:00
Paul FaureandClaude Opus 4.6 f48fe015e1 fix(graph): avoid superfluous GetPublicShare call when deleting space permissions (#12122)
* fix(graph): avoid superfluous GetPublicShare call when deleting space permissions

DeletePermission unconditionally called getLinkPermissionResourceID as its
first step, even for space permissions on space roots.  This always failed
and logged a confusing "GetPublicShare failed" error.

Recognise space permission IDs (u:/g: prefixed) by their format via
spacePermissionIdToCS3Grantee before making any gateway calls.  Public
link lookups on space roots now only happen when the ID does not match
the space permission format.

Fixes: #12012

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Paul Faure <paul@faure.ca>

* docs: update changelog with PR number

Signed-off-by: Paul Faure <paul@faure.ca>

* refactor(graph): extract permission resolution helpers to reduce complexity

Split DeletePermission into resolveDeletePermission,
resolveSpaceRootPermission, and resolveItemPermission to bring
cognitive complexity under the SonarCloud limit of 15.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Paul Faure <paul@faure.ca>

---------

Signed-off-by: Paul Faure <paul@faure.ca>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-09 10:12:36 +02:00
Michal Klos a72f543def fix: [OCISDEV-730] actions compliance (#12187) 2026-04-08 09:53:58 +00:00
Michal KlosandDeyan Zhekov 2f9c2b4b9f feat: [OCISDEV-744] fix apiOcm test suite
* test [OCISDEV-744]: fix apiOcm tests

* test [OCISDEV-744]: remove redundant .sh files

* test [OCISDEV-744]: remove run-e2e.sh. Fix DRY vialation in run-github.py

* test [OCISDEV-744]: documentation fixes

---------

Co-authored-by: Deyan Zhekov <deyan.zhekov@kiteworks.com>
2026-04-07 22:01:23 +03:00
Martin 5ea1da9aba Merge pull request #12176 from owncloud/update_check_envvar_version_annotion
[docs-only] Update check-env-var-annotoation.sh script
2026-04-07 16:26:43 +02:00
Martin Mattel 42a7c5f334 [docs-only] Update check-env-var-annotoation.sh script
Signed-off-by: Martin Mattel <github@diemattels.at>
2026-04-07 14:46:05 +02:00
Martin f8cf3429de Merge pull request #12177 from owncloud/add_envvar_placeholder_search
[docs-only] Add envvar placeholder search for introduction/removalVersion
2026-04-07 14:44:34 +02:00
Martin Mattel de766759da [docs-only] Add envvar placeholder search
Signed-off-by: Martin Mattel <github@diemattels.at>
2026-04-07 11:42:01 +02:00
Deyan Zhekov 55173be919 feat: [OCISDEV-744] fix apiSearch2 test suite
* test [OCISDEV-744]: Run apiSearch2 test suite

* Added php8.4-gd to all 4 PHP install lines

* test [OCISDEV-744]: Enable all commented tests

* test [OCISDEV-744]: Fixed failings

* test [OCISDEV-744]: Fixed failings
2026-04-07 11:40:27 +03:00
Michal Klos ec0f5fd496 feat: [OCISDEV-744] e2e-test
# Conflicts:
#	.github/workflows/acceptance-tests.yml
2026-04-01 15:49:36 +02:00
Michal Klos 03e7194f91 feat: [OCISDEV-744] core-api-test 2026-04-01 14:24:05 +02:00
Michal Klos 5e87222571 feat: [OCISDEV-744] build-and-test, lint, fix flakiness 2026-04-01 10:10:04 +02:00
Michal Klos 4c8039b6cd feat: [OCISDEV-744] build-and-test, lint, fix flakiness 2026-04-01 10:10:04 +02:00
Michal Klos b965c883e2 feat: [OCISDEV-744] build-and-test, lint 2026-04-01 10:10:04 +02:00
Michal Klos 0db1b6bf35 feat: [OCISDEV-744] build-and-test, lint 2026-04-01 10:10:04 +02:00
Michal Klos bd0e8f00f1 feat: [OCISDEV-744] build-and-test, lint 2026-04-01 10:10:04 +02:00
Michal Klos 2526a4ff64 feat: [OCISDEV-744] build-and-test, lint 2026-04-01 10:10:04 +02:00
Michal Klos a18fb74da9 feat: [OCISDEV-744] build-and-test, lint 2026-04-01 10:10:04 +02:00
Michal Klos e35c524e3e feat: [OCISDEV-744] build-and-test, lint 2026-04-01 10:10:04 +02:00
Michal Klos 32a7d1fdd4 feat: [OCISDEV-744] build-and-test, lint 2026-04-01 10:10:04 +02:00
Michal Klos 0f3ce714f8 feat: [OCISDEV-741] integration 2026-03-31 14:29:12 +02:00
Michal Klos 8898eb4ef7 feat: [OCISDEV-741] local-api-test, apiCollaboration
# Conflicts:
#	.github/workflows/acceptance-tests.yml
#	tests/acceptance/run-github.py
2026-03-31 10:39:28 +02:00
Michal Klos 55856cb722 feat: [OCISDEV-744] cli-test 2026-03-30 18:02:21 +02:00
dependabot[bot] aba9654f87 build(deps): bump actions/checkout from 4 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-30 13:35:32 +02:00
Michal Klos 46d772f4f6 feat: [OCISDEV-741] local-api-test, apiSpaces 2026-03-30 12:45:26 +02:00
Michal Klos d0b41ea4a9 feat: [OCISDEV-741] local-api-test part 2 2026-03-27 17:29:46 +01:00
dependabot[bot] 7234648e14 build(deps): bump fpicalausa/remove-stale-branches from 1.6.0 to 2.4.0
Bumps [fpicalausa/remove-stale-branches](https://github.com/fpicalausa/remove-stale-branches) from 1.6.0 to 2.4.0.
- [Release notes](https://github.com/fpicalausa/remove-stale-branches/releases)
- [Commits](https://github.com/fpicalausa/remove-stale-branches/compare/v1.6.0...v2.4.0)

---
updated-dependencies:
- dependency-name: fpicalausa/remove-stale-branches
  dependency-version: 2.4.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-26 17:01:11 +01:00
Thomas Müller c49316b424 ci: [ocisdev-730] code quality 2026-03-26 14:57:42 +01:00
Michal Klos 825838898d feat: [OCISDEV-743] build and unit test 2026-03-26 13:56:07 +01:00
Thomas Müller 524cd79841 ci: add ecosystem github-actions to dependabot 2026-03-26 13:00:28 +01:00
Michal Klos a7a5ed8a91 feat: [OCISDEV-740] acceptance test, coverage P0 2026-03-26 09:34:06 +01:00
Michal Klos b620b5453a feat: [OCISDEV-732] acceptance test (#12143)
* feat: acceptance test - graph

* feat: acceptance test - graph

* feat: acceptance test - graph

* fix: remove drone

* feat: run each behat suite as a separate worker

* feat: rename
2026-03-25 14:20:04 +01:00
Roman Perekhod 2926d21b90 Merge pull request #12139 from owncloud/feat/add-keycloak-to-full
feat: copy the keycloak exapmle to full
2026-03-24 13:18:49 +01:00
Roman Perekhod 4fe4f822a2 Merge branch 'master' into feat/add-keycloak-to-full 2026-03-24 12:40:16 +01:00
Martin 5908d90dfc Merge pull request #12140 from owncloud/update_env_vars_yaml
[docs-only] Update env_vars.yaml
2026-03-24 12:39:13 +01:00
Martin b00ef30aab Merge pull request #12119 from paul43210/fix/search-skipdir-reindex
fix(search): always descend into directories during IndexSpace walk
2026-03-24 12:19:46 +01:00
Martin 12a694e487 Merge pull request #12117 from paul43210/fix/log-data-path-startup
enhancement: log effective data and config paths at startup
2026-03-24 12:19:03 +01:00
Roman Perekhod aa7c040d90 feat: Add Keycloak to the ocis_full deployment example 2026-03-24 12:10:33 +01:00
Martin Mattel 0f3fb51de2 [docs-only] Update envvars.yaml 2026-03-24 12:02:17 +01:00
Roman Perekhod 2acd51259d Merge pull request #12137 from owncloud/feat/bump-reva-23032026
feat: bump reva to latest
2026-03-24 10:53:23 +01:00
Roman Perekhod a1f732836d Merge branch 'master' into feat/bump-reva-23032026 2026-03-24 09:59:33 +01:00
Roman Perekhod 571977947b feat: bump reva to latest 2026-03-24 09:38:24 +01:00
Ashim Shrestha 31b9a19177 docs: add docs for ocm test suite on kubernetes locally (#12084)
Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>
2026-03-24 10:35:53 +05:45
ownClouders 77bd5974ab [tx] updated from transifex 2026-03-24 00:07:45 +00:00
kobergj 0883d5d4e2 Automated changelog update [skip ci] 2026-03-20 14:00:23 +00:00
kobergj ac7f054633 Merge pull request #12121 from kobergj/DontIndexFailedUploads
Dont Index failed uploads
2026-03-20 14:58:16 +01:00
Sawjan Gurung 9ac0452d61 test: add setup and docs for running API tests in K8s (#12107)
* test: add locak k8s setup

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* chore: move k8s config files

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* fix: add host alias

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* fix: remove unsed dir

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: use script to expose external servers to the cluster

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: expose using existing script

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* docs: add docs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* docs: refer k8s setup docs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: specify namespace

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: create namespace

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* docs: fix docs errors

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: patch chart template only once

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* docs: add toc and setup cleanup

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* chore: remove deprecated --atomic helm option

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: add k8s namespace wrapper option

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix logs dir permissions

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* docs: update docs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix host ip detection

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* docs: add show-logs command and warning for external services

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-03-19 15:26:57 +05:45
Martin 2a163e7075 Automated changelog update [skip ci] 2026-03-19 07:33:00 +00:00
Martin d45fd2221a Merge pull request #12123 from owncloud/update_deployment_images
[docs-only] Update images in the ocis_full deployment example
2026-03-19 08:30:51 +01:00
Martin Mattel 8aaadc4bb4 properly name the changelog file 2026-03-19 08:24:04 +01:00
Martin Mattel 95250276cc fix broken tika tag 2026-03-19 08:21:42 +01:00
Julian Koberg ba41ba62b0 fix: dont index failed uploads
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-03-18 14:04:08 +01:00
Roman Perekhod f62acb2f38 Automated changelog update [skip ci] 2026-03-18 12:29:07 +00:00
Roman Perekhod 2f55302d9f Merge pull request #12127 from owncloud/revert-12115-fix/proxy-createhome-dedup
Revert "fix(proxy): [OCISDEV-460] deduplicate CreateHome calls in middleware"
2026-03-18 13:26:39 +01:00
Roman Perekhod 9ca2c016be Revert "fix(proxy): [OCISDEV-460] deduplicate CreateHome calls in middleware" 2026-03-18 10:58:53 +01:00
Martin aec2f4b0c0 Automated changelog update [skip ci] 2026-03-18 08:28:15 +00:00
Martin 846b391c65 Merge pull request #12115 from paul43210/fix/proxy-createhome-dedup
fix(proxy): [OCISDEV-460] deduplicate CreateHome calls in middleware
2026-03-18 09:25:30 +01:00
Paul FaureandClaude Opus 4.6 5ccb09f4d2 test(search): scale SkipDir test to 10,000 directories for pessimistic-case benchmark
Increases the "descends into already-indexed directories" test from 100
to 10,000 directories. Restructures mocks to use map-based dispatch
instead of per-directory mock.MatchedBy registrations, keeping the test
at O(n) instead of O(n²).

Result: 10,000 already-indexed dirs with 10,000 unindexed child files
completes in ~14 seconds, confirming linear scaling.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 16:38:22 -04:00
Martin 8386760598 Automated changelog update [skip ci] 2026-03-17 11:31:58 +00:00
Martin be86a9513d Merge pull request #12120 from owncloud/update_envvar_check_script
[docs-only] Update the check-env-var-annotation script
2026-03-17 12:29:47 +01:00
Martin Mattel fdf7e502be [docs-only] Update images in the ocis_full deployment example 2026-03-17 12:06:35 +01:00
Paul FaureandClaude Opus 4.6 5063c80536 fix(proxy): address review — introductionVersion and env var description
- Change introductionVersion from "8.0.0" to "Daledda" (codename)
- Clarify that the cache is a process-lifetime cache tracking which
  users have a personal space, not one of the general proxy caches

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 13:44:33 -04:00
Martin ac5dfc01ec Automated changelog update [skip ci] 2026-03-16 16:01:20 +00:00
Martin 48dd8ff19f Merge pull request #12109 from owncloud/update_special_yaml_files
[docs-only] Update extended_vars.yaml and env_vars.yaml
2026-03-16 16:59:18 +01:00
Martin Mattel 7087d771c9 [docs-only] Update the check-env-var-annotation script 2026-03-16 16:20:27 +01:00
Paul FaureandClaude Opus 4.6 224c0e6244 refactor(proxy): extract helpers to reduce ServeHTTP cognitive complexity
Extract homeKnown() and createHome() from ServeHTTP to bring
cognitive complexity under the SonarCloud limit of 15.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 11:20:18 -04:00
Paul FaureandClaude Opus 4.6 9bcf14a897 test(search): add unit test for descending into already-indexed directories
Verifies that IndexSpace visits children inside 100 already-indexed
directories whose mtimes match the index.  Before the SkipDir fix
these subtrees would be permanently skipped after an interrupted
reindex run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 11:07:04 -04:00
Paul FaureandClaude Opus 4.6 e227983a9f feat(proxy): add PROXY_CREATEHOME_CACHE_DISABLED env var
Allow operators to disable the in-memory CreateHome cache via
PROXY_CREATEHOME_CACHE_DISABLED as a fallback if the cache causes
unexpected behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 10:50:36 -04:00
Martin 9336a1bfed Automated changelog update [skip ci] 2026-03-16 10:30:08 +00:00
Martin df4b6a337a Merge pull request #12114 from paul43210/fix/idp-babel-freebsd
fix(idp): disable absolute Babel runtime paths for FreeBSD compatibility
2026-03-16 11:21:16 +01:00
Paul FaureandClaude Opus 4.6 0e5233dd50 docs: update changelog with PR number
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 00:28:24 -04:00
Paul FaureandClaude Opus 4.6 2cc1640085 fix(search): always descend into directories during IndexSpace walk
The SkipDir optimization skipped entire subtrees when a directory was
already indexed with a matching mtime. After a failed indexing run
(e.g. Tika crash), this permanently prevented unindexed children from
being visited since the parent directory's mtime doesn't change when
child extraction fails. With O(1) DocID lookups the per-file skip
check is negligible, making SkipDir unnecessary for correctness.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 00:23:36 -04:00
Martin 0cfa1ad3f0 Automated changelog update [skip ci] 2026-03-14 09:04:49 +00:00
Martin eb9fae42fd Merge pull request #12060 from paul43210/fix/uploadready-add-resourceid
[docs-only] fix: add ResourceID field to UploadReady event with file's node ID
2026-03-14 10:02:27 +01:00
Paul FaureandClaude Opus 4.6 4a2004784c docs: add reva #560 link to changelog
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 09:52:46 +01:00
Paul FaureandClaude Opus 4.6 c778609044 fix: add ResourceID field to UploadReady event with file's node ID
The UploadReady event's FileRef.ResourceId.OpaqueId is set to the space
root ID (required for CS3 gateway path resolution via WalkPath). This
means consumers that need the file's actual node ID for Graph API URLs
get the space root instead.

Add a separate ResourceID field (following the BytesReceived pattern)
that carries the file's actual resource identifier with the correct
OpaqueId set to session.NodeID().

Upstream: https://github.com/owncloud/reva/pull/XXXXX

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 09:52:46 +01:00
Paul FaureandClaude Opus 4.6 a087a99da0 fix: address SonarCloud linter issues in CreateHome middleware
- Use canonical header casing "X-Access-Token" (canonicalheader)
- Return true instead of nil on success to avoid nilnil (nilnil)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 00:50:05 -04:00
Paul FaureandClaude Opus 4.6 eb9cc2bffd docs: update changelog with actual PR number
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 23:40:55 -04:00
Paul FaureandClaude Opus 4.6 3c51128d3e enhancement: log effective data and config paths at startup
Log the resolved OCIS_BASE_DATA_PATH and OCIS_CONFIG_DIR at startup
so operators can immediately see where data is being written. This
catches misconfigured Docker volume mounts where data silently falls
back to ~/.ocis inside the container instead of /var/lib/ocis.

Fixes: #12044

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 23:38:42 -04:00
Paul FaureandClaude Opus 4.6 b588579ff7 docs: update changelog with PR number
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 23:34:33 -04:00
Paul FaureandClaude Opus 4.6 31ce8a68a7 fix(proxy): deduplicate CreateHome calls with singleflight and sync.Map
The CreateHome middleware fired a gRPC CreateHome request on every
authenticated HTTP request. On first login the browser sends ~11
parallel requests, each triggering a redundant call. Use singleflight
to collapse concurrent calls for the same user and sync.Map to cache
successful results so subsequent requests skip the gRPC call entirely.

Fixes: #12068

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 23:34:10 -04:00
Paul FaureandClaude Opus 4.6 0be2bd11aa docs: update changelog with PR number
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 23:21:51 -04:00
Paul FaureandClaude Opus 4.6 3030491395 fix(idp): disable absolute Babel runtime paths for FreeBSD compatibility
babel-preset-react-app defaults to absoluteRuntime: true, which
hardcodes Linux-specific absolute paths to @babel/runtime helpers.
This breaks builds on FreeBSD. Setting absoluteRuntime: false makes
Babel resolve the runtime relative to the source file instead.

Fixes: #12065

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 23:21:23 -04:00
Martin Mattel 5308fb916c [docs-only] Update extended_vars.yaml and env_vars.yaml 2026-03-13 11:07:55 +01:00
Martin 3ac19ca463 Merge pull request #12112 from owncloud/fix/ci-codacy-2
fix: ci, codacy, skip artifact upload when no tests run i.e. doc only…
2026-03-13 11:07:30 +01:00
Michal Klos 297a00fc44 fix: ci, codacy, skip artifact upload when no tests run i.e. doc only change 2026-03-13 10:26:25 +01:00
Martin 953dc0f319 Automated changelog update [skip ci] 2026-03-13 08:59:47 +00:00
Martin e687a05800 Merge pull request #12103 from paul43210/fix/search-indexspace-docid-lookup
perf(search): use O(1) DocID lookup instead of full search in IndexSpace
2026-03-13 09:57:18 +01:00
Martin 0c6e574d15 Merge pull request #12104 from paul43210/fix/search-bleve-optimize
enhancement(search): optimize bleve index after bulk reindexing
2026-03-13 09:57:15 +01:00
Paul FaureandClaude Opus 4.6 0d95d40f7c docs: add doc comments to Lookup mock call methods
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 20:37:48 -04:00
kobergj 90655c56a3 Automated changelog update [skip ci] 2026-03-12 07:30:11 +00:00
kobergj dd99e6daf1 Merge pull request #12102 from kobergj/TestBlobstoreCli
Add CLI command to test Blobstore
2026-03-12 08:27:18 +01:00
Paul FaureandClaude Opus 4.6 eb357f820d perf(search): use O(1) DocID lookup instead of full search in IndexSpace
Replace the per-file Search() call in IndexSpace with a direct Lookup()
using Bleve's DocIDQuery. The old approach parsed a KQL query string,
compiled it, and ran a full-text search for each file — taking 600-950ms
per file on large indexes. The new approach does an O(1) document lookup
by ID and compares mtime/Extracted fields in memory.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 07:45:15 +01:00
Paul FaureandClaude Opus 4.6 728a7b4d8d fix: name parameters in forceMerger interface to satisfy inamedparam linter
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 07:44:29 +01:00
Paul FaureandClaude Opus 4.6 6270553209 enhancement(search): optimize bleve index after bulk reindexing
Add an Optimizer optional interface and Bleve.Optimize() method that
triggers ForceMerge to compact all index segments into one. Called
automatically after IndexSpace completes its walk. Over time, writes
create multiple segments that degrade query performance — compaction
consolidates them for faster searches.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 07:44:29 +01:00
Sawjan Gurung 1a5aeeb2e9 Automated changelog update [skip ci] 2026-03-12 05:03:56 +00:00
Sawjan Gurung 39192c7bea ci: use existing servers (#12100)
* ci: enable k8s setup for remaining suites

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: use existing servers

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: increase timeout

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix mail setup

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: increase timeout

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix tika

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix csp directives

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: merge ocm provider configs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix notification tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix script file

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: enable ocm server logs

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix pattern

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: fix cluster wait

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: run auth-app only when required

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix sharing tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* test: fix tests

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-03-12 10:46:13 +05:45
Julian Koberg 15b1c38e38 fix: adjust to comments from CR
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-03-11 08:55:54 +01:00
Martin 0ca881b400 Automated changelog update [skip ci] 2026-03-11 07:49:51 +00:00
Martin c65dff7fac Merge pull request #12070 from paul43210/fix/csp-font-src
fix(proxy): add data: to font-src CSP to allow bundled KaTeX fonts
2026-03-11 08:47:29 +01:00
Paul FaureandClaude Opus 4.6 d4367fb224 fix(proxy): update tests and example configs for font-src data: CSP change
Update acceptance tests and all deployment example CSP configs to include
'data:' in font-src, consistent with the default csp.yaml change.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 22:22:17 -04:00
Julian Koberg 1d2c329e66 feat: add cli command to test the blobstore
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-03-10 16:40:00 +01:00
Paul FaureandClaude Opus 4.6 d8984c4c06 docs: add changelog for CSP font-src fix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 11:08:52 +01:00
Paul FaureandClaude Opus 4.6 ece1043ca2 fix(proxy): add data: to font-src CSP to allow bundled KaTeX fonts
The bundled Web UI CSS (from owncloud/web) inlines the KaTeX_Size3 font
as a base64 data:font/woff2 URI. The default CSP sets font-src to 'self'
only, which blocks these data URIs and produces a console error on every
page load:

  Loading the font 'data:font/woff2;base64,...' violates the following
  Content Security Policy directive: "font-src 'self'".

Add 'data:' to font-src, matching the existing pattern where img-src
already permits data: URIs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 11:08:52 +01:00
Martin 4fba74c1f7 Automated changelog update [skip ci] 2026-03-10 08:20:45 +00:00
Martin 296609da98 Merge pull request #12095 from paul43210/fix/search-incomplete-extraction
fix(search): prevent incomplete Tika extractions from blocking re-index
2026-03-10 09:18:11 +01:00
Martin 03bfabec55 Merge pull request #12094 from paul43210/feature/kql-numeric-range-queries
feat(kql): support numeric range queries
2026-03-10 09:17:38 +01:00
Michal Klos 983dc5f7b5 fix: X-XSS-Protection header (#12092) 2026-03-10 09:15:35 +01:00
Sawjan Gurung d65dd806de ci: use script to prepare ocis charts (#12081)
ci: fix path



ci: fix wopi servers



ci: conditional resources

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-03-10 12:58:43 +05:45
Paul FaureandClaude Opus 4.6 b52af29f8e refactor(kql): extract dateTimeQuery helper to further reduce walk() complexity
Extracts DateTimeNode handling into dateTimeQuery(), same pattern as
numericQuery(). Brings walk() cyclomatic complexity from 36 to ~30,
well below the SonarCloud threshold of 35.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 17:45:13 -04:00
Paul FaureandClaude Opus 4.6 b1218d868a docs: add changelog for incomplete extraction fix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 17:38:23 -04:00
Paul FaureandClaude Opus 4.6 8471094c1d fix(search): prevent incomplete Tika extractions from blocking re-index
Two changes to fix permanently stuck index entries:

1. (Option D) Validate Tika responses: if MetaRecursive() returns an
   empty metadata list, treat it as an error. This prevents Tika HTTP 200
   responses with no actual content from being accepted as successful
   extractions.

2. (Option B) Add Extracted field to Resource: a boolean that is set to
   true only when UpsertItem completes successfully. The IndexSpace skip
   check now requires Extracted:true in addition to matching id+mtime.
   Documents that were written with incomplete extraction data will be
   automatically re-processed on the next reindex.

Background: When Tika returns HTTP 200 but its child processes (OCR,
ImageMagick) fail due to resource limits (EAGAIN, OOM), the Go Tika
client receives metadata headers but no X-TIKA:content. The doc gets
written to Bleve with the correct mtime, and subsequent reindexes skip
it forever because the id+mtime check passes.

Fixes: #12093

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 17:36:30 -04:00
Paul FaureandClaude Opus 4.6 d5e3e16397 refactor(kql): extract numericQuery helper to reduce walk() complexity
Fixes SonarCloud gocyclo finding — walk() cyclomatic complexity
was 40 (threshold 35). Extracted numeric range query building
into a separate numericQuery() function.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 00:16:15 -05:00
Paul FaureandClaude Opus 4.6 4b7349037f feat(kql): support numeric range queries (>=, <=, >, <)
Add NumericRestrictionNode to the KQL PEG grammar so that range
operators work with numeric values, not just DateTimes. This enables
queries like `size>=1048576`, `photo.iso>=100`, `photo.fNumber>=2.8`,
and `photo.focalLength<50`.

Changes:
- ast: add NumericNode with Key, Operator, Value (float64)
- kql/dictionary.peg: add NumericRestrictionNode and Number rules
- kql/factory.go: add buildNumericNode()
- kql/cast.go: add toFloat64()
- bleve/compiler.go: compile NumericNode to NumericRangeQuery

Fixes: #12093

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 23:51:08 -05:00
ownClouders 8b5bffcff9 Automated changelog update [skip ci] 2026-03-08 00:38:03 +00:00
ownClouders 928b8d4823 [tx] updated from transifex 2026-03-08 00:35:19 +00:00
Roman Perekhod 0ee201628c Automated changelog update [skip ci] 2026-03-06 13:07:59 +00:00
Roman Perekhod b5b4d25e45 Merge pull request #12087 from owncloud/feat/bump-reva-ce3149532498
[full-ci] feat: bump reva to latest
2026-03-06 14:05:21 +01:00
kobergj 26587468e7 Merge pull request #12090 from owncloud/DeepDiver1975-patch-1
[full-ci] ci: use plugins/s3:1.4.0
2026-03-06 13:58:06 +01:00
Martin 3fc236be96 Merge pull request #12000 from paul43210/fix/search-skip-tika-reindex
fix(search): skip Tika re-extraction when file content has not changed
2026-03-06 11:39:25 +01:00
Thomas Müller 4106776808 ci: use plugins/s3:1.4.0 2026-03-06 11:20:24 +01:00
Paul FaureandClaude Opus 4.6 1163f51496 fix(search): guard uint64-to-int64 conversion to prevent overflow (gosec G115)
Clamp ContentExtractionSizeLimit to math.MaxInt64 before casting to
int64 for io.LimitReader.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:52:30 +01:00
Paul FaureandClaude Opus 4.6 d54727c9ea docs(search): note race condition in engine.Update GoDoc
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:52:30 +01:00
Paul FaureandClaude Opus 4.6 329482e8ec refactor(search): address review — tags-only update, sentinel error, GoDoc
- UpdateTags now updates only the tags field instead of all basic
  metadata (name, size, mimetype, path, parentID), per reviewer
  feedback that those are structural fields not metadata.
- Removed refreshMetadata helper that was over-reaching.
- Introduced ErrResourceNotFound sentinel in engine package so
  UpdateTags can distinguish "not indexed" (fallback to UpsertItem)
  from connectivity or other errors (log and stop).
- Added GoDoc example for the Update mutateFn callback.
- Added test for non-retriable error path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:52:30 +01:00
Paul FaureandClaude Opus 4.6 ee9b6f3007 refactor(search): replace Retrieve with Update, remove checksum guard
Address reviewer feedback:
- Remove checksum field from index (bloats index, not searched)
- Remove skipUnchangedContent guard (not needed with UpdateTags path)
- Replace engine.Retrieve() with engine.Update(id, mutateFn) that does
  get+mutate+set internally, avoiding public exposure of raw retrieval
- Simplify UpdateTags to use engine.Update() with mutation function

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:52:30 +01:00
Paul FaureandClaude Opus 4.6 dd0d8fe923 refactor(search): extract storeExtractedMetadata to reduce UpsertItem complexity
Moves the metadata-storage block from UpsertItem into a dedicated helper
method to bring cognitive complexity below the SonarCloud threshold of 15.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:52:30 +01:00
Paul FaureandClaude Opus 4.6 de7cc1670b refactor(search): extract skipUnchangedContent to reduce cognitive complexity
Move the checksum fast-path logic into a dedicated helper method to
bring UpsertItem below the SonarCloud cognitive complexity threshold
of 15.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:52:30 +01:00
Paul FaureandClaude Opus 4.6 d7df509043 test(search): add coverage for checksum fast-path and UpdateTags
Add tests for:
- UpsertItem skips Tika when checksum unchanged
- UpsertItem runs Tika when checksum differs
- UpsertItem runs Tika when resource not yet indexed
- UpdateTags preserves Tika content when resource is indexed
- UpdateTags falls back to full UpsertItem when not indexed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:52:30 +01:00
Paul FaureandClaude Opus 4.6 eaa02c3d4d fix(search): skip Tika re-extraction when file content has not changed
Tag events (TagsAdded/TagsRemoved) previously called UpsertItem which
triggered a full Tika content extraction for metadata-only changes.
Additionally, UpsertItem's SetArbitraryMetadata writeback bumped the
mtime, causing IndexSpace to call UpsertItem again — running Tika
twice per file. On servers with large libraries this caused a
denial-of-service from runaway convert/tesseract processes.

Fix by:
- Adding UpdateTags() to the Searcher interface for tag-only updates
  that preserve existing Tika-extracted content
- Adding Retrieve() to the Engine interface to load indexed resources
- Comparing the content checksum (already computed by decomposedfs on
  upload) in UpsertItem to skip Tika and the metadata writeback when
  the blob has not been written to
- Extracting refreshMetadata() helper shared by both code paths

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 10:52:30 +01:00
Martin f11c315607 Automated changelog update [skip ci] 2026-03-06 09:08:38 +00:00
Martin 1333fe7c13 Merge pull request #12078 from paul43210/fix/search-photo-case-sensitive
fix(search): use case-insensitive analyzer for photo metadata fields
2026-03-06 10:06:05 +01:00
ownClouders cfa5bb9ebc Automated changelog update [skip ci] 2026-03-05 14:48:41 +00:00
ownClouders 23e5bed778 [tx] updated from transifex 2026-03-05 14:45:28 +00:00
ownClouders 7edacfcb0e [tx] updated from transifex 2026-03-05 00:05:30 +00:00
Roman Perekhod 837fff3ab6 feat: bump reva to latest 2026-03-04 16:02:26 +01:00
Martin a970a9d675 Automated changelog update [skip ci] 2026-03-04 12:25:00 +00:00
Martin b9bfb96257 Merge pull request #12001 from paul43210/fix/idempotent-tag-unassign
fix(graph): make tag unassignment idempotent
2026-03-04 13:22:23 +01:00
Martin ded657caaf Merge pull request #12055 from paul43210/fix/search-tika-oversized-iso
fix(search): extract metadata from oversized files and fix ISO field
2026-03-04 13:21:18 +01:00
Sawjan Gurung 8851c17a7d ci: manageable API test pipeline steps (#12073)
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-03-04 09:30:20 +05:45
Paul FaureandClaude Opus 4.6 ceaff680a8 refactor(search): extract lowercaseKeyword analyzer name to constant
Addresses SonarCloud goconst finding — the string "lowercaseKeyword"
appeared 4 times without a named constant.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 22:36:22 -05:00
Paul FaureandClaude Opus 4.6 452f7bce34 docs: update changelog with PR number
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 21:13:15 -05:00
Paul FaureandClaude Opus 4.6 0e8eb927f3 fix(search): use case-insensitive analyzer for photo metadata fields
Bleve's query string parser lowercases search terms, but the keyword
analyzer stores values as-is. This made photo field searches like
cameraMake:google fail to match "Google". Switch from keyword to
lowercaseKeyword analyzer so both sides are lowercased.

Note: existing Bleve indexes need to be rebuilt after this change.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 21:12:52 -05:00
Pradip Subedi e081ce390b test: add WOPI collaboration test suite to k8s CI pipeline (#12018) 2026-03-03 16:49:43 +05:45
Michal Klos 5e508e530a chore: bump service/idp packges (#12076) 2026-03-03 11:55:44 +01:00
kobergj efaddab8ad Automated changelog update [skip ci] 2026-03-03 10:08:24 +00:00
kobergj d9fcd92862 Merge pull request #12063 from kobergj/FixGroupObjectClass
[OCISDEV-672] Don't use hardcoded groupOfNames
2026-03-03 11:05:58 +01:00
kobergjandMartin 799ebe421f docs: update changelog item
Co-authored-by: Martin <github@diemattels.at>
2026-03-03 09:46:55 +01:00
Michal Klos c605fa6702 Automated changelog update [skip ci] 2026-03-03 08:28:09 +00:00
Michal Klos e6488ea1ef feat: ci, weekly pipeline report, 2 weeks window to gather drone pipeline logs before expiry (#12053) 2026-03-03 09:25:40 +01:00
nirajacharya2 8addbceed7 Automated changelog update [skip ci] 2026-02-27 16:21:39 +00:00
nirajacharya2 c84e674133 ci: direct services logs to a single file (#12041) 2026-02-27 22:03:45 +05:45
Ashim Shrestha 2a89fec331 Automated changelog update [skip ci] 2026-02-27 10:43:40 +00:00
Ashim Shrestha d6ab9216b0 [tests-only][full-ci] Test: run ocm test suite over k8s (#11869)
* test: run ocm tests over k8s setup

Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>

* address review

Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>

---------

Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>
2026-02-27 16:26:20 +05:45
Julian Koberg 23b2082a61 fix: adjust ocis-multi example
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-02-26 11:42:20 +01:00
Michal Klos 043fa7a129 chore: bump minimatch (#12062) 2026-02-26 00:17:13 +01:00
Julian Koberg 1dc6fa096c test: let (ai) add a test for it
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-02-25 16:12:57 +01:00
Julian Koberg 7d30c8fc6e fix(graph): (ai) fix other groupOfNames and comment
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-02-25 15:55:12 +01:00
Gwilherm Folliot d43e23e5f0 fix(graph): Don't use hardcoded groupOfNames in group creation 2026-02-25 15:43:36 +01:00
dependabot[bot] bd3df93cc7 chore(deps): bump golang.org/x/image from 0.35.0 to 0.36.0 (#12061)
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/image/compare/v0.35.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-version: 0.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-25 09:33:29 +01:00
Roman Perekhod 3abbfc0f38 Automated changelog update [skip ci] 2026-02-24 15:27:07 +00:00
Roman Perekhod a14c304f75 Merge pull request #12051 from owncloud/feat/bump-reva-61ee39d95d5f
feat: bump reva to latest
2026-02-24 16:22:58 +01:00
Roman Perekhod 99160020db Merge branch 'master' into feat/bump-reva-61ee39d95d5f 2026-02-24 11:10:42 +01:00
Roman Perekhod 9ce86cf1f2 Merge pull request #12032 from owncloud/feat/ocissec-681
chore: bump services/idp ajv
2026-02-24 11:05:33 +01:00
Paul Faure 911bada4d1 ci: retry drone build 2026-02-24 00:17:18 -05:00
Paul FaureandClaude Opus 4.6 83db638a7b docs: add changelog for oversized file and ISO extraction fixes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 23:22:09 -05:00
Paul FaureandClaude Opus 4.6 6973f7db93 fix(search): truncate oversized files for Tika and fix ISO extraction
Send truncated stream via io.LimitReader instead of skipping Tika
entirely for files exceeding ContentExtractionSizeLimit. EXIF metadata
lives in the JPEG header, so even a truncated read extracts all photo
data from large files like Pixel Motion Photos.

Also prefer the standard exif:IsoSpeedRatings field over the Canon-
specific "Base ISO", falling back to the latter when absent.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 23:22:03 -05:00
Michal Klos 2b2272c340 Merge branch 'master' into feat/ocissec-681 2026-02-23 17:41:51 +01:00
Roman Perekhod 16f14898e1 feat: bump reva to latest 2026-02-23 17:40:18 +01:00
Michal Klos 95ba2da3fb fix: run test coverage upload only on dependent pipelines success (#12049) 2026-02-23 16:55:32 +01:00
Michal Klos edf0f0d0fb Merge branch 'master' into feat/ocissec-681 2026-02-23 16:17:19 +01:00
Michal Klos 85b0c3b598 fix: codacy deprecated reporter (#12050) 2026-02-23 16:14:59 +01:00
Michal Klos 4f4fb4a3fb fix: flaky cli test (#12038) 2026-02-23 12:31:12 +01:00
Lukas Hirt 0d690c4b8b Merge pull request #12043 from owncloud/chore/use-kpop-without-dependency
chore(idp): use kpop without dependency
2026-02-20 11:10:33 +01:00
Lukas Hirt bc78197a2b chore(idp): use kpop without dependency
Instead of trying to download kpop every time, bring in the specific
code that we are using. There is very little code that we are actually
using from kpop so pulling it as a dependency is not really necessary
and it should fix the current CI issues.
2026-02-20 10:30:33 +01:00
Michal Klos c1a771ede0 chore: bump services/idp ajv 2026-02-18 11:51:24 +01:00
Michal Klos 7429b6ca92 Automated changelog update [skip ci] 2026-02-18 08:39:52 +00:00
Michal Klosanddependabot[bot] c0daae28bf chore: consolidated dependabot (#12029)
* chore(deps): bump github.com/kovidgoyal/imaging from 1.8.7 to 1.8.19

Bumps [github.com/kovidgoyal/imaging](https://github.com/kovidgoyal/imaging) from 1.8.7 to 1.8.19.
- [Release notes](https://github.com/kovidgoyal/imaging/releases)
- [Commits](https://github.com/kovidgoyal/imaging/compare/v1.8.7...v1.8.19)

---
updated-dependencies:
- dependency-name: github.com/kovidgoyal/imaging
  dependency-version: 1.8.19
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump golang.org/x/net from 0.48.0 to 0.49.0

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.48.0 to 0.49.0.
- [Commits](https://github.com/golang/net/compare/v0.48.0...v0.49.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-version: 0.49.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
# Conflicts:
#	go.mod

* chore(deps-dev): bump @babel/runtime in /services/idp

Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.28.2 to 7.28.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.28.6/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-version: 7.28.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-18 09:37:09 +01:00
Michal Klos d70ae42427 fix: security issue with webpack buildHttp (#12027) 2026-02-17 14:19:35 +01:00
Lukas Hirt d9c5ec826f Automated changelog update [skip ci] 2026-02-17 11:10:43 +00:00
Lukas Hirt 23517e12a2 Merge pull request #12028 from owncloud/feat/report-spaceid
feat(webdav): [OCISDEV-602] add spaceid to report
2026-02-17 12:07:49 +01:00
Michal Klos 9c877bcd02 fix: make generate, bump go version in bingo (#12026) 2026-02-17 11:26:26 +01:00
Lukas Hirt 11e013d080 feat(webdav): [OCISDEV-602] add spaceid to report
Added the `spaceid` to the REPORT responses. This is aligning the
`REPORT` method with the `PROPFIND` method.
2026-02-17 11:25:42 +01:00
Martin 36cd3d1caf Automated changelog update [skip ci] 2026-02-17 09:28:18 +00:00
Martin 3d6f1a9dd7 Merge pull request #12025 from owncloud/doc_related_updates
[docs-only] Some doc related updates
2026-02-17 10:26:06 +01:00
Michal Klos 8ae527dda3 Merge branch 'master' into doc_related_updates 2026-02-17 09:46:53 +01:00
ownClouders 6cfbaa3214 Automated changelog update [skip ci] 2026-02-17 00:29:57 +00:00
ownClouders 87a899873c [tx] updated from transifex 2026-02-17 00:27:04 +00:00
Michal Klos 8f41aa794d Merge branch 'master' into doc_related_updates 2026-02-16 17:22:03 +01:00
dependabot[bot] ec6412a882 Automated changelog update [skip ci] 2026-02-16 15:40:15 +00:00
Michal Klos 12d867244a Merge branch 'master' into doc_related_updates 2026-02-16 16:35:59 +01:00
dependabot[bot]andMichal Klos afa156cc51 chore(deps): bump github.com/go-git/go-git/v5 from 5.13.0 to 5.16.5 (#12005)
Bumps [github.com/go-git/go-git/v5](https://github.com/go-git/go-git) from 5.13.0 to 5.16.5.
- [Release notes](https://github.com/go-git/go-git/releases)
- [Commits](https://github.com/go-git/go-git/compare/v5.13.0...v5.16.5)

---
updated-dependencies:
- dependency-name: github.com/go-git/go-git/v5
  dependency-version: 5.16.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Michal Klos <michal.klos@kiteworks.com>
2026-02-16 16:35:44 +01:00
Martin Mattel 31c89b5eaa [docs-only] Some doc related updates 2026-02-16 16:04:42 +01:00
Roman Perekhod 7d6aa0ea02 Automated changelog update [skip ci] 2026-02-16 14:32:50 +00:00
Roman Perekhod b5eea58594 Merge pull request #12024 from owncloud/feat/add-space-id-to-incoming-shares
feat(graph): [OCISDEV-602] add space ID to incoming shares
2026-02-16 15:30:23 +01:00
Lukas Hirt db06952566 feat(graph): [OCISDEV-602] add space ID to incoming shares
Added the `spaceId` to the incoming shares. This is aligning the graph
API with the WebDAV API where the clients can use `spaceid` property.
This change allows clients to get the space ID directly instead of
having to parse the resource ID.
2026-02-16 14:21:38 +01:00
dependabot[bot] abba43dbd1 Automated changelog update [skip ci] 2026-02-16 13:09:36 +00:00
dependabot[bot] 50029622e6 chore(deps): bump axios from 1.12.2 to 1.13.5 in /services/idp (#12006)
Bumps [axios](https://github.com/axios/axios) from 1.12.2 to 1.13.5.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.12.2...v1.13.5)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.13.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-16 14:06:52 +01:00
kobergj f77b41104c Automated changelog update [skip ci] 2026-02-16 11:37:20 +00:00
kobergj 249b962992 Merge pull request #12022 from owncloud/8.0.0-backport
[full-ci] Backport 8.0.0 Release
2026-02-16 12:34:34 +01:00
Julian Koberg 93d9fe1812 chore: adjustments for master branch
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-02-16 11:43:45 +01:00
Julian Koberg 71388d966f fix: add v8 to production versions
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-02-16 11:19:01 +01:00
Julian Koberg 40f59e3158 chore: release 8.0.0
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-02-16 11:18:59 +01:00
Julian Koberg dc9d9b70bc fix: ocis-multi deployment example groups
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-02-16 11:17:55 +01:00
Matteo 8a93ab20ec chore: bump web to v12.3.1 2026-02-16 11:17:55 +01:00
Roman Perekhod a4257176e7 feat: bump go to 1.25
feat: bump mockery to v2.53.5

feat: bump govulncheck

feat: bump bingo to v0.10.0

force go-1.25.7

update thumbnail images for test
2026-02-16 11:17:51 +01:00
Martin Mattel 5778357e56 [docs-only][stable-8.0] Update web-extensions image versions in ocis_full 2026-02-16 11:14:58 +01:00
Martin Mattel e806f0b98b [docs-only] Fix of storage-publiclink readme 2026-02-16 11:14:58 +01:00
Julian Koberg 0f59a0965a chore: release 8.0.0-rc.1
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-02-16 11:14:56 +01:00
ownClouders ce02eb83b4 Automated changelog update [skip ci] 2026-02-16 00:23:11 +00:00
ownClouders 8973093410 [tx] updated from transifex 2026-02-16 00:20:25 +00:00
Martin 470e3c24d4 Automated changelog update [skip ci] 2026-02-14 11:35:51 +00:00
Martin 615ea36396 Merge pull request #11940 from paul43210/feat/web-extensions-deployment-config
feat(deployment): add photo-addon and advanced-search web extensions
2026-02-14 12:33:23 +01:00
Martin f43e6a0283 Apply suggestion from @mmattel 2026-02-13 20:15:44 +01:00
Martin dd2cca5745 Apply suggestion from @mmattel 2026-02-13 20:15:44 +01:00
Martin 342fd72d05 Apply suggestion from @mmattel 2026-02-13 20:15:44 +01:00
Paul Faure a2518aa678 docs: add changelog for web extensions deployment config 2026-02-13 20:15:44 +01:00
Paul Faure 825c1c4c29 feat(deployment): add photo-addon and advanced-search web extensions
Add deployment configuration for the new web extensions:
- photo-addon: Photo gallery with timeline view, EXIF metadata, and map view
- advanced-search: Comprehensive search filtering with KQL query builder

Files added:
- web_extensions/photo-addon.yml
- web_extensions/advanced-search.yml

Files modified:
- config/ocis/csp.yaml: Added OpenStreetMap CSP entries for photo-addon map
- .env: Added PHOTOADDON and ADVANCEDSEARCH variables

Related PRs:
- owncloud/web-extensions#305 (photo-addon)
- owncloud/web-extensions#306 (advanced-search)
- owncloud/ocis#11912 (photo metadata search backend)
2026-02-13 20:15:44 +01:00
Roman Perekhod 1ec05f2a20 Automated changelog update [skip ci] 2026-02-13 13:41:59 +00:00
Roman Perekhod cff87308e2 Merge pull request #12017 from owncloud/fix/OCISDEV-617
fix:[OCISDEV-617] Expose the signature-auth attribute
2026-02-13 14:39:12 +01:00
kobergj 7773ef2925 Automated changelog update [skip ci] 2026-02-13 13:35:32 +00:00
kobergj 4d6b6815d4 Merge pull request #12015 from owncloud/chore/bump-web-to-12.3.1
[full-ci] chore: bump web to v12.3.1
2026-02-13 14:32:54 +01:00
Roman Perekhod 5be7db71b9 fix:[OCISDEV-617] Expose the signature-auth attribute 2026-02-13 12:20:12 +01:00
Matteo 5fee4ec47a chore: bump web to v12.3.1 2026-02-13 10:26:07 +01:00
ownClouders 76b9843d08 Automated changelog update [skip ci] 2026-02-13 00:24:44 +00:00
ownClouders 09d95e4cec [tx] updated from transifex 2026-02-13 00:20:54 +00:00
ownClouders 30a1c60c85 Automated changelog update [skip ci] 2026-02-12 00:26:12 +00:00
ownClouders 3ba0d5cb6b [tx] updated from transifex 2026-02-12 00:22:17 +00:00
Roman Perekhod 0d20a329fb Automated changelog update [skip ci] 2026-02-11 08:07:04 +00:00
Roman Perekhod 3f5ceb066d Merge pull request #12011 from owncloud/feat/bump-go1.25-to-master
[full-ci][k6-test] feat: bump go to 1.25
2026-02-11 09:04:28 +01:00
Paul FaureandClaude Opus 4.6 c53a985c2c fix: gofmt formatting in tags.go
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 16:02:39 -05:00
Paul FaureandClaude Opus 4.6 1fea569cea refactor(graph): pass TagsRemoved event to publishTagsRemoved
Build the event at the call site and pass it directly, removing
three parameters (removedTags, rid, sres) from the helper as
suggested in review.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 13:15:49 -05:00
Paul FaureandClaude Opus 4.6 cc66f2a651 fix: address SonarCloud code smells in tags.go
- Inline error check in publishTagsRemoved call (godre:S8193)
- Change FIXME to NOTE for intentional non-atomic rollback comment (go:S1134)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 11:42:33 -05:00
Roman Perekhod da5e63dfe3 feat: bump go to 1.25
feat: bump mockery to v2.53.5

feat: bump govulncheck

feat: bump bingo to v0.10.0

force go-1.25.7

update thumbnail images for test

bump reva to latest
2026-02-10 16:27:52 +01:00
kobergj 568620a3cd Automated changelog update [skip ci] 2026-02-10 14:47:07 +00:00
kobergj 3d1b50c5cd Merge pull request #12002 from paul43210/fix/postprocessing-resume-output
fix(postprocessing): add output and fix --restart flag for resume command
2026-02-10 15:46:28 +01:00
Paul FaureandClaude Opus 4.6 cf8425337c refactor(graph): extract publishTagsRemoved to reduce cognitive complexity
Move the event publishing and rollback logic into a dedicated helper
method to bring UnassignTags below the SonarCloud cognitive complexity
threshold of 15.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 09:26:26 -05:00
Paul FaureandClaude Opus 4.6 a0e7d38e84 fix(graph): rollback metadata and return 500 on publish failure
Address review feedback: if the TagsRemoved event fails to publish,
attempt to restore the original tags metadata and return HTTP 500
instead of silently succeeding. This avoids leaving the system in
an inconsistent state where metadata is updated but the search
index is not notified.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 09:05:23 -05:00
nirajacharya2 bc2a601eed Merge pull request #12003 from owncloud/test/fix-thumbnail-previews
[tests-only][full-ci] test: fix previews test for coreApiWebdavPreviews suite
2026-02-10 16:46:27 +05:45
pradip 108b8c6b56 test: skip unit tests and release helpers 2026-02-10 15:23:11 +05:45
Paul FaureandClaude Opus 4.6 1e8d411896 fix(postprocessing): fix --restart flag for resume command
The `--restart` / `-r` flag checked `c.Bool("retrigger")` instead of
`c.Bool("restart")`, so it silently did nothing. Fix the flag name and
add a simple confirmation message on success.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 18:32:11 -05:00
pradip 88b364fea0 test: fix previews test for coreApiWebdavPreviews suite 2026-02-09 18:13:48 +05:45
nirajacharya2 9b6a08fdf9 Merge pull request #11986 from owncloud/increase-attempts-k8s
[tests-only][full-ci] test: fix public link related test for k8s deployment
2026-02-09 12:13:00 +05:45
Paul FaureandClaude Opus 4.6 f2b9c09cec fix(graph): make tag unassignment idempotent
The DELETE tags endpoint returned HTTP 400 with a misleading error
message ("no new tags in createtagsrequest or maximum reached") when
the requested tag was absent from the file's ArbitraryMetadata.  This
made it impossible to clean up stale tags that exist in the search
index but not in the file metadata.

Change UnassignTags to:
- skip the SetArbitraryMetadata call when nothing was removed
- always publish the TagsRemoved event so the search index stays in sync

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 00:09:28 -05:00
Juan Pablo Villafañez 294453e31f Automated changelog update [skip ci] 2026-02-06 09:31:54 +00:00
Juan Pablo Villafañez af8c14f124 Merge pull request #11979 from owncloud/notifications_calltoaction_empty
fix: some notifications were translated wrong due to an empty l10n key
2026-02-06 10:31:20 +01:00
Martin 6f4552eb99 Automated changelog update [skip ci] 2026-02-06 08:46:22 +00:00
Martin 7bade0a76b Merge pull request #11995 from owncloud/update_ocis_full_monitoring_base
[docs-only] Update ocis full monitoring base
2026-02-06 09:45:47 +01:00
Martin Mattel 9ec70585cc update changlog text 2026-02-06 09:07:23 +01:00
Martin Mattel 430fdb5c2a add changelog 2026-02-06 09:07:23 +01:00
Martin Mattel 47c96bf8ee [docs-only] Update ocis_full with a new monitoring base setup 2026-02-06 09:07:23 +01:00
Niraj Acharya 89d028edbd test: fix public link related test for k8s deployment 2026-02-06 11:41:20 +05:45
Martin f73b3a524e Automated changelog update [skip ci] 2026-02-05 11:03:48 +00:00
Martin 9553d80d41 Merge pull request #11941 from paul43210/patch-1
Create ai-assisted-dev
2026-02-05 12:02:43 +01:00
Martin Mattel d81e26b1f6 document review 2026-02-05 11:55:44 +01:00
MartinandCopilot 68fb545935 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-04 09:38:31 +01:00
paul43210 6bcc233282 Add files via upload 2026-02-04 09:38:31 +01:00
paul43210 c117c5513f Update ai-assisted-dev
Background section: Removed entirely - was too personal/motivational
Throughout: Changed personal pronouns ("I", "my", "we") to neutral language ("the developer", "contributors", passive voice)
"What I Built": Renamed to "Example Extensions Built with This Approach"
"My contributions": Changed to "Contributions made by this approach" and removed status indicators (Merged/Under review)
Resources table: Removed "My Extensions" row (personal fork link)
Author bio: Removed the personal bio ("Paul Faure is a computer engineer...")
Disclosure: Simplified to just "This guide was written with AI assistance and reviewed for accuracy."
2026-02-04 09:38:31 +01:00
paul43210 641dd4d2e8 Create ai-assisted-dev
Guide on how to do vibe coding. A walkthrough using Claude AI.
2026-02-04 09:38:31 +01:00
Juan Pablo Villafáñez d5de682266 chore: add changelog entry 2026-01-28 17:19:24 +01:00
Juan Pablo Villafáñez 265e63a70d fix: some notifications were translated wrong due to an empty l10n key
The expected translatable message was empty, which caused the
translation system to use the empty key, which contains "weird"
unrelated data.
With the fix, if there is no translatable message, the related output
will remain empty.
2026-01-28 13:45:21 +01:00
ownClouders 2c918627b3 [tx] updated from transifex 2026-01-24 00:07:57 +00:00
2766 changed files with 130288 additions and 275733 deletions

No files matched your search

+1 -3
View File
@@ -1,7 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.24
toolchain go1.24.0
go 1.25.10
require github.com/vektra/mockery/v2 v2.53.5
-3
View File
@@ -1,3 +0,0 @@
# The test runner source for UI tests
WEB_COMMITID=39d6215da6daa184cd2365966915a659bdbd2c8b
WEB_BRANCH=stable-12.3
-3993
View File
File diff suppressed because it is too large. Load diff
-1
View File
@@ -1,4 +1,3 @@
services/settings/ @lukashirt
services/web/ @lukashirt
.drone.star @kobergj @phil-davis @individual-it
assets/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf @kobergj @hodyroff
+60 -9
View File
@@ -1,22 +1,73 @@
version: 2
updates:
- package-ecosystem: "gomod"
- package-ecosystem: gomod
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 2
interval: weekly
day: sunday
time: '22:00'
timezone: Etc/UTC
open-pull-requests-limit: 5
groups:
minor-and-patch:
update-types:
- minor
- patch
- package-ecosystem: "npm"
- package-ecosystem: composer
directory: "/"
schedule:
interval: weekly
day: sunday
time: '22:00'
timezone: Etc/UTC
open-pull-requests-limit: 5
groups:
minor-and-patch:
update-types:
- minor
- patch
- package-ecosystem: npm
directory: "/services/idp"
schedule:
interval: "weekly"
open-pull-requests-limit: 2
interval: weekly
day: sunday
time: '22:00'
timezone: Etc/UTC
open-pull-requests-limit: 5
groups:
minor-and-patch:
update-types:
- minor
- patch
- package-ecosystem: "docker"
- package-ecosystem: docker
directories:
- "/"
- "/ocis/docker"
schedule:
interval: "weekly"
open-pull-requests-limit: 2
interval: weekly
day: sunday
time: '22:00'
timezone: Etc/UTC
open-pull-requests-limit: 5
groups:
minor-and-patch:
update-types:
- minor
- patch
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
day: sunday
time: '22:00'
timezone: Etc/UTC
open-pull-requests-limit: 5
groups:
minor-and-patch:
update-types:
- minor
- patch
-1
View File
@@ -8,7 +8,6 @@
* [ ] DEV/QA: Check new strings and align with clients
* [ ] DEV/DOCS: Create list of pending docs tasks
* [ ] DEV: Create branch `release-x.x.x-rc.x` -> CODEFREEZE
* [ ] DEV: specify if it is a production release in [.drone.star](https://github.com/owncloud/ocis/blob/b4cf38fa1ba180c58519026dfe762b7c45695466/.drone.star#L8) (if needed)
* [ ] DEV: bump ocis version in necessary files
* [ ] DEV: `changelog/CHANGELOG.tmpl`
* [ ] DEV: `ocis-pkg/version/version.go`
+25 -122
View File
@@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24"
@@ -41,7 +41,6 @@ jobs:
make govulncheck > /tmp/govulncheck.log 2>&1 & PIDS+=($!)
make ci-node-generate > /tmp/node-gen.log 2>&1 & PIDS+=($!)
make ci-go-generate > /tmp/go-gen.log 2>&1 & PIDS+=($!)
make changelog-lint > /tmp/changelog-lint.log 2>&1 & PIDS+=($!)
FAILED=0
for PID in "${PIDS[@]}"; do wait "$PID" || FAILED=1; done
@@ -64,7 +63,6 @@ jobs:
echo "=== govulncheck ===" && cat /tmp/govulncheck.log
echo "=== ci-node-generate ===" && cat /tmp/node-gen.log
echo "=== ci-go-generate ===" && cat /tmp/go-gen.log
echo "=== changelog-lint ===" && cat /tmp/changelog-lint.log
exit $FAILED
@@ -148,12 +146,12 @@ jobs:
- apiCollaboration
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24"
@@ -168,7 +166,7 @@ jobs:
- name: Cache libcurl 8.12.0
id: cache-libcurl
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: /opt/libcurl
key: libcurl-8.12.0-${{ runner.os }}
@@ -221,15 +219,15 @@ jobs:
fail-fast: false
matrix:
suite:
- cliCommands,apiServiceAvailability # grouped like drone; needs ClamAV + email
- cliCommands,apiServiceAvailability # grouped: both need ClamAV + email services
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24"
@@ -245,38 +243,6 @@ 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@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
- uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f # v2.37.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip, ldap, gd
tools: composer
- name: Run ${{ matrix.suite }} with OCIS_LDAP_POOL_ENABLED=true
run: BEHAT_SUITES="${{ matrix.suite }}" OCIS_LDAP_POOL_ENABLED=true python3 tests/acceptance/run-github.py
core-api-tests:
name: ${{ matrix.suite }}
needs: [build-and-test]
@@ -296,12 +262,12 @@ jobs:
- "coreApiWebdavMove1,coreApiWebdavPreviews,coreApiWebdavUpload,coreApiWebdavUploadTUS"
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "24"
@@ -316,7 +282,7 @@ jobs:
- name: Cache libcurl 8.12.0
id: cache-libcurl
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: /opt/libcurl
key: libcurl-8.12.0-${{ runner.os }}
@@ -389,15 +355,13 @@ jobs:
keycloak: true
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
# 24.16.0 breaks playwright install (yauzl zip extraction hangs); pin to last known good.
# https://github.com/microsoft/playwright/issues/40724
node-version: "24.15.0"
node-version: "24"
- name: Enable pnpm
run: corepack enable && corepack prepare pnpm@10.28.1 --activate
- name: Generate code
@@ -408,10 +372,10 @@ jobs:
CHROMEDRIVER_SKIP_DOWNLOAD: "true"
- name: Cache Playwright Chromium
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ~/.cache/ms-playwright
key: playwright-chromium-${{ hashFiles('.drone.env') }}
key: playwright-chromium-${{ hashFiles('ci.env') }}
# --- Tika (search suite only) ---
- name: Start Tika
@@ -445,9 +409,10 @@ jobs:
- name: Start Keycloak
if: matrix.keycloak == true
run: |
# Patch realm: replace Drone Docker hostname with localhost IP
# Patch realm: ocis-ci-realm.dist.json uses ocis-server:9200 as hostname.
# GitHub Actions runs on the host network so patch it to 127.0.0.1.
sed 's|https://ocis-server:9200|https://127.0.0.1:9200|g' \
tests/config/drone/ocis-ci-realm.dist.json > /tmp/ocis-realm.json
tests/config/ci/ocis-ci-realm.dist.json > /tmp/ocis-realm.json
docker run -d --name keycloak --network host \
-e OCIS_DOMAIN=https://127.0.0.1:9200 \
-e KC_HOSTNAME=localhost \
@@ -483,7 +448,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
@@ -496,7 +461,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
@@ -509,7 +474,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
@@ -522,77 +487,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
cache: true
- 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: [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]
needs: [local-api-tests, cli-tests, core-api-tests, litmus, cs3api, wopi-builtin, wopi-cs3, e2e-tests]
runs-on: ubuntu-latest
if: always()
steps:
@@ -600,4 +503,4 @@ jobs:
run: |
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
exit 1
fi
fi
+79
View File
@@ -0,0 +1,79 @@
name: test deployment example
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # every day at 00:00 UTC
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- example: ocis_full
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"
- example: ocis_ocm
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"
steps:
- name: Checkout ocis repo
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: owncloud/ocis
- name: Set up Docker Compose
uses: docker/setup-compose-action@8cccb8c14b6500aaffebff1aa49c502c34d2e5e6 # v2.1.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 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 }} ==="
docker compose up -d
- name: Wait for services
run: |
set -e
URLS="${{ matrix.urls }}"
for url in $URLS; do
echo "=== Waiting for $url ==="
end=$((SECONDS+150))
ready=false
while [ $SECONDS -lt $end ]; do
echo "Trying $url"
if curl -kfsS --max-time 5 "$url" > /dev/null; then
echo "✅ $url is ready"
ready=true
break
fi
echo "⏳ Not ready yet, retrying in 5s..."
sleep 5
done
if [ "$ready" = false ]; then
echo "❌ $url never became ready"
exit 1
fi
done
- name: Tear down
if: always()
working-directory: deployments/examples/${{ matrix.example }}
run: docker compose down -v
+9 -4
View File
@@ -2,14 +2,18 @@ name: k6 Load Test
on:
pull_request:
types: [opened, synchronize, reopened, edited]
types: [opened, synchronize, reopened]
schedule:
- cron: '0 4 * * *'
- cron: '0 1 * * *'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: k6-load-test-server
cancel-in-progress: false
jobs:
k6-load-test:
name: k6-load-test
@@ -37,13 +41,14 @@ jobs:
run: apk add --no-cache openssh-client sshpass
- name: Run k6 load tests
if: ${{ !cancelled() }}
run: sh tests/config/drone/run_k6_tests.sh
- name: Retrieve OCIS logs
if: always()
if: ${{ !cancelled() }}
run: sh tests/config/drone/run_k6_tests.sh --ocis-log
- name: Show Grafana dashboard link
if: always()
if: ${{ !cancelled() }}
run: |
echo "Grafana Dashboard: https://grafana.k6.infra.owncloud.works"
+130 -61
View File
@@ -14,16 +14,20 @@ on:
default: ''
env:
PRODUCTION_RELEASE_TAGS: '5.0,7,8'
DOCKER_REPO_ROLLING: owncloud/ocis-rolling
DOCKER_REPO_PRODUCTION: owncloud/ocis
NODE_VERSION: '24'
PNPM_VERSION: '10.28.1'
GOLANG_BUILD_IMAGE: 'golang:1.25.13-alpine3.23@sha256:42fc3368d1c50170a452f2bf4a1dfd292a065870c3f258d799aad4316671cb69'
jobs:
determine-release-type:
runs-on: ubuntu-latest
outputs:
version: ${{ steps.info.outputs.version }}
is_production: ${{ steps.info.outputs.is_production }}
is_prerelease: ${{ steps.info.outputs.is_prerelease }}
docker_repos: ${{ steps.info.outputs.docker_repos }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
if: ${{ github.ref_type == 'branch' || (github.event_name == 'workflow_dispatch' && inputs.version_override == '') }}
@@ -56,24 +60,37 @@ jobs:
VERSION="${GITHUB_REF#refs/tags/v}"
fi
IS_PRODUCTION=false
for TAG in ${PRODUCTION_RELEASE_TAGS//,/ }; do
[[ "$VERSION" == "$TAG"* ]] && IS_PRODUCTION=true && break
done
[[ "$VERSION" == *"-"* ]] && IS_PRERELEASE=true || IS_PRERELEASE=false
if [[ "$IS_PRODUCTION" == "true" && "$IS_PRERELEASE" == "false" ]]; then
REPOS=[\"$DOCKER_REPO_ROLLING\",\"$DOCKER_REPO_PRODUCTION\"]
else
REPOS=[\"$DOCKER_REPO_ROLLING\"]
fi
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "is_production=$IS_PRODUCTION" >> $GITHUB_OUTPUT
echo "is_prerelease=$IS_PRERELEASE" >> $GITHUB_OUTPUT
echo "docker_repos=$REPOS" >> $GITHUB_OUTPUT
generate-code:
runs-on: ubuntu-latest
needs: [determine-release-type]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm install --silent -g yarn npx --force
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v4
with:
version: ${{ env.PNPM_VERSION }}
- run: pnpm config set store-dir ./.pnpm-store && make ci-node-generate
@@ -86,7 +103,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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: generated-code
path: |
@@ -94,23 +111,25 @@ jobs:
!.git
retention-days: 1
# Builds the release image locally and runs the Trivy security gate against it.
# Image publishing to Docker Hub happens in a separate repository; this job only
# builds (load, no push) so the vulnerability gate still blocks a bad release.
docker-build:
name: docker-build (${{ matrix.arch }})
name: docker-build (${{ matrix.arch }}, ${{ matrix.repo }})
runs-on: ${{ matrix.arch == 'amd64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}
needs: [determine-release-type, generate-code, security-scan-trivy]
strategy:
matrix:
arch: [amd64, arm64]
repo: ${{ fromJSON(needs.determine-release-type.outputs.docker_repos) }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: generated-code
path: .
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- id: goversion
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
@@ -128,11 +147,12 @@ jobs:
- id: tags
run: |
VERSION="${{ needs.determine-release-type.outputs.version }}"
REPO="${{ matrix.repo }}"
ARCH="${{ matrix.arch }}"
printf "tags<<EOF\n%s\nEOF\n" \
"owncloud/ocis:${VERSION}-linux-${ARCH}" >> $GITHUB_OUTPUT
"${REPO}:${VERSION}-linux-${ARCH}" >> $GITHUB_OUTPUT
- id: build
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0
with:
context: ocis
file: ocis/docker/Dockerfile.linux.${{ matrix.arch }}
@@ -145,7 +165,7 @@ jobs:
VERSION=${{ needs.determine-release-type.outputs.version }}
tags: ${{ steps.tags.outputs.tags }}
- id: trivy
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
continue-on-error: true
with:
image-ref: ${{ steps.tags.outputs.tags }}
@@ -162,6 +182,80 @@ jobs:
run: |
echo "::error title=Security scan blocked release::Image ${{ steps.tags.outputs.tags }} has HIGH or CRITICAL vulnerabilities (see Trivy report above). Fix all findings before releasing."
exit 1
- name: push
if: steps.trivy.outcome == 'success'
run: docker push ${{ steps.tags.outputs.tags }}
docker-scan:
name: docker-scan (${{ matrix.arch }}, ${{ matrix.repo }})
runs-on: ubuntu-latest
needs: [determine-release-type, docker-build]
strategy:
matrix:
arch: [amd64]
repo: ${{ fromJSON(needs.determine-release-type.outputs.docker_repos) }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
id: trivy
continue-on-error: true
with:
image-ref: ${{ matrix.repo }}:${{ needs.determine-release-type.outputs.version }}-linux-${{ matrix.arch }}
format: table
exit-code: 1
severity: HIGH,CRITICAL
ignore-unfixed: true
skip-files: /usr/bin/gomplate,/usr/bin/wait-for
hide-progress: true
env:
TRIVY_IGNOREFILE: .trivyignore
- name: Block on vulnerabilities
if: steps.trivy.outcome == 'failure'
run: |
echo "::error title=Security scan blocked release::Image ${{ matrix.repo }}:${{ needs.determine-release-type.outputs.version }}-linux-${{ matrix.arch }} has HIGH or CRITICAL vulnerabilities (see Trivy report above). Fix all findings before releasing."
exit 1
docker-manifest:
name: docker-manifest (${{ matrix.repo }})
runs-on: ubuntu-latest
needs: [determine-release-type, docker-build, docker-scan]
strategy:
matrix:
repo: ${{ fromJSON(needs.determine-release-type.outputs.docker_repos) }}
steps:
- uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- if: ${{ contains(matrix.repo, 'rolling') }}
run: |
docker buildx imagetools create \
-t "${{ matrix.repo }}:${{ needs.determine-release-type.outputs.version }}" \
"${{ matrix.repo }}:${{ needs.determine-release-type.outputs.version }}-linux-amd64" \
"${{ matrix.repo }}:${{ needs.determine-release-type.outputs.version }}-linux-arm64"
- if: ${{ !contains(matrix.repo, 'rolling') }}
run: |
docker buildx imagetools create \
-t "${{ matrix.repo }}:${{ needs.determine-release-type.outputs.version }}" \
"${{ matrix.repo }}:${{ needs.determine-release-type.outputs.version }}-linux-amd64" \
"${{ matrix.repo }}:${{ needs.determine-release-type.outputs.version }}-linux-arm64"
docker-readme:
name: docker-readme (${{ matrix.repo }})
runs-on: ubuntu-latest
needs: [determine-release-type, docker-manifest]
strategy:
matrix:
repo: ${{ fromJSON(needs.determine-release-type.outputs.docker_repos) }}
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5.0.0
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${{ matrix.repo }}
readme-filepath: ocis/README.md
build-binaries:
name: build-binaries (${{ matrix.os }})
@@ -172,11 +266,11 @@ jobs:
os: [linux, darwin]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: generated-code
path: .
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- run: |
@@ -185,7 +279,7 @@ jobs:
if [[ "${{ matrix.os }}" == "linux" ]]; then
cp assets/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf ocis/dist/release/
fi
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: binaries-${{ matrix.os }}
path: ocis/dist/release/*
@@ -195,7 +289,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # v0.35.0
- uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
with:
scan-type: fs
format: table
@@ -208,21 +302,21 @@ jobs:
needs: [determine-release-type, generate-code]
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: generated-code
path: .
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- run: npm install --silent -g yarn npx "pnpm@$PNPM_VERSION" --force
- 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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: third-party-licenses
path: third-party-licenses.tar.gz
@@ -235,7 +329,7 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- run: |
@@ -245,7 +339,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@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: changelog
path: ocis/dist/CHANGELOG.md
@@ -253,25 +347,25 @@ jobs:
create-github-release:
runs-on: ubuntu-latest
needs: [determine-release-type, build-binaries, license-check, generate-changelog, security-scan-trivy, docker-build]
needs: [determine-release-type, build-binaries, license-check, generate-changelog, security-scan-trivy, docker-readme]
steps:
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: binaries-linux
path: release-assets
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: binaries-darwin
path: release-assets
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: third-party-licenses
path: release-assets
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: changelog
path: .
- uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # v2.6.1
- uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
with:
tag_name: v${{ needs.determine-release-type.outputs.version }}
name: v${{ needs.determine-release-type.outputs.version }}
@@ -285,6 +379,9 @@ jobs:
- determine-release-type
- generate-code
- docker-build
- docker-scan
- docker-manifest
- docker-readme
- build-binaries
- security-scan-trivy
- license-check
@@ -292,15 +389,15 @@ jobs:
- create-github-release
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: binaries-linux
path: release-assets
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: binaries-darwin
path: release-assets
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
name: third-party-licenses
path: release-assets
@@ -308,35 +405,7 @@ jobs:
python3 scripts/audit-release.py \
--version "${{ needs.determine-release-type.outputs.version }}" \
--dir release-assets/ \
--github-release
--github-release --docker
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
notify:
runs-on: ubuntu-latest
if: always()
needs:
- determine-release-type
- generate-code
- docker-build
- build-binaries
- security-scan-trivy
- license-check
- generate-changelog
- create-github-release
- audit-release
steps:
- run: |
[[ "${{ contains(needs.*.result, 'failure') }}" == "true" ]] \
&& STATUS="FAILURE" || STATUS="SUCCESS"
[[ "${{ github.event_name }}" == "schedule" ]] \
&& SOURCE="nightly-${{ github.ref_name }}" \
|| SOURCE="${{ github.ref_type == 'tag' && format('tag {0}', github.ref_name) || github.ref_name }}"
SHA="${{ github.sha }}"
MSG="${STATUS} [${{ github.repository }}#${SHA:0:8}](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}) (${SOURCE}) by **${{ github.triggering_actor }}**"
[[ -z "${{ secrets.MATRIX_HOMESERVER }}" ]] && { echo "MATRIX_HOMESERVER not set, skipping notification"; exit 0; }
curl -sf -X PUT \
-H "Authorization: Bearer ${{ secrets.MATRIX_TOKEN }}" \
-H "Content-Type: application/json" \
-d "{\"msgtype\":\"m.text\",\"body\":\"${MSG}\"}" \
"${{ secrets.MATRIX_HOMESERVER }}/_matrix/client/r0/rooms/${{ secrets.MATRIX_ROOMID }}/send/m.room.message/$(date +%s)"
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
name: Remove Stale Branches
runs-on: ubuntu-latest
steps:
- uses: fpicalausa/remove-stale-branches@v1.6.0
- uses: fpicalausa/remove-stale-branches@9b829bc2975ade0c61e64e9613def53ec0732440 # v2.6.1
with:
ignore-unknown-authors: true
default-recipient: "kobergj"
+22
View File
@@ -0,0 +1,22 @@
name: Translation Sync
on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:
permissions:
contents: read
jobs:
sync:
uses: owncloud/reusable-workflows/.github/workflows/translation-sync.yml@main
with:
mode: make
reviewers: kobergj,mmattel # individual users
# team_reviewers: owncloud/ocis-team # and/or a GitHub team slug if exists
sub_path: .
secrets:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
TRANSLATION_APP_ID: ${{ secrets.TRANSLATION_APP_ID }}
TRANSLATION_APP_PRIVATE_KEY: ${{ secrets.TRANSLATION_APP_PRIVATE_KEY }}
@@ -0,0 +1,31 @@
name: Weekly Pipeline Report
on:
workflow_dispatch:
pull_request:
branches:
- feat/ci-report-tool
schedule:
- cron: "0 8 * * 1" # Every Monday at 8:00 AM UTC
permissions:
contents: read
jobs:
generate-report:
name: Generate Pipeline Report
runs-on: ubuntu-latest
container: golang:1.25-alpine
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Run CI Reporter
working-directory: tools/ci-reporter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
GOWORK=off go run ./cmd/list-flaky-tests \
--github-token "$GITHUB_TOKEN" \
--workflow acceptance-tests.yml \
--since 4w
+2 -2
View File
@@ -45,8 +45,6 @@ vendor-php
# QA activity reports
tests/qa-activity-report/reports/
# drone CI is in .drone.star, do not let someone accidentally commit a local .drone.yml
.drone.yml
**/l10n/template.pot
@@ -64,3 +62,5 @@ go.work.sum
.envrc
CLAUDE.md
.claude/
GEMINI.md
.agents/
+79 -30
View File
@@ -1,55 +1,104 @@
#!/bin/bash
# The following grep will filter out every line containing an `env` annotation
# it will ignore every line that already has a valid `introductionVersion` annotation
#
# valid examples:
#
# introductionVersion:"pre5.0"
# introductionVersion:"5.0"
# introductionVersion:"4.9.3-rc5"
# introductionVersion:"5.0.1-cheesecake"
# introductionVersion:"5.10.100.15"
# introductionVersion:"0.0"
# introductionVersion:"releaseX" # acceptable alphabetical version
# introductionVersion:"Addams" # another alphabetical example
#
# invalid examples:
#
# introductionVersion:"5.0cheesecake"
# introductionVersion:"5"
# introductionVersion:"5blueberry"
# introductionVersion:"5-lasagna"
# introductionVersion:"4.9.3rc5"
# the following grep will filter out every line containing an `env` annotation
# and prints all entries found that are invalid. this is required to see where CI might fail
RED=$(echo -e "\033[0;31m")
GREEN=$(echo -e "\033[0;32m")
NORM=$(echo -e "\033[0m")
# create a here doc function to be printed in case of introductionVersion annotation errors
# note that tabs are used intentionally. they are removed by cat but are required to make the code readable.
print_introduction_version_examples() {
cat <<-EOL
${GREEN}Valid examples:${NORM}
introductionVersion:"pre5.0"
introductionVersion:"5.0" deprecationVersion:"7.0.0"
introductionVersion:"4.9.3-rc5"
introductionVersion:"5.10.100.15"
introductionVersion:"0.0"
introductionVersion:"release" deprecationVersion:"7.0.0"
introductionVersion:"releaseX" deprecationVersion:"7.0.0"
introductionVersion:"Addams" deprecationVersion:"7.0.0"
${RED}Invalid examples:${NORM}
introductionVersion:""
introductionVersion:" "
introductionVersion:"-"
introductionVersion:"--"
introductionVersion:"51.0cheesecake" deprecationVersion:"7.0.0"
introductionVersion:"50..0.1-cheesecake"
introductionVersion:"15"
introductionVersion:"54blueberry"
introductionVersion:"5-lasagna"
introductionVersion:"5.lasagna-rc1"
introductionVersion:"4.9.3rc-5" deprecationVersion:"7.0.0"
introductionVersion:"5B-rc1" deprecationVersion:"7.0.0"
See the envvar life cycle in the dev docs for more details:
https://owncloud.dev/services/general-info/envvars/envvar-naming-scopes/
EOL
}
ERROR=0
SEMVER_REGEX="([0-9]|[1-9][0-9]*)(\.([0-9]|[1-9][0-9]*)){1,2}(?:-([0-9A-Za-z-]+(?:\.[0-9A-Za-z-]+)*))?(?:\+[0-9A-Za-z-]+)?"
ALPHA_REGEX="[A-Za-z]+[A-Za-z0-9-]*"
# note that our semver is not fully compliant because we do not have a patch version for new envvars
# if you want to test, use the examples above and take the blocks separated by `|` (or)
SEMVER_REGEX='(?:introductionVersion:\")(?:(?:[^\dA-Za-z]*?)\"|(?:\d+[A-z]+).*?\"|(?:\d*?\")|(?:\d*?[-\.]+\D.*?\")|(?:\d*?[\.]{2,}.*?\")|(?:\d+\.\d+[A-z]+\")|(?:(?:\d+\.)+\d+[A-z]+.*?\"))'
# filter out the the following paths
EXCLUDE_PATHS='_test.go|vendor/'
# query the code
QI=$(git grep -n "env:" -- '*.go' | grep -v -E "${EXCLUDE_PATHS}" | grep --color=always -P "${SEMVER_REGEX}")
# count the results found
RESULTS_INTRO=$(echo "${QI}"|wc -l)
# add a new line after each hit, eol identified via "´ which only appears at the end of each envvar string definition
QUERY_INTRO=$(echo "${QI}" | sed "s#\"\`#\"\`\n#g")
echo "Checking introductionVersion annotations"
QUERY_INTRO=$(git grep -n "env:" -- '*.go' |grep -v -P "introductionVersion:\"($SEMVER_REGEX|(pre5\\.0)|($ALPHA_REGEX))\""|grep -v "_test.go"|grep -v "vendor/")
RESULTS_INTRO=$(echo "${QUERY_INTRO}"|wc -l)
if [ "${QUERY_INTRO}" != "" ] && [ "${RESULTS_INTRO}" -gt 0 ]; then
echo
echo "==============================================================================================="
echo "The following ${RESULTS_INTRO} items contain an invalid or missing introductionVersion annotation:"
echo ${RED}"The following item(s) contain invalid or missing introductionVersion annotation(s):"${NORM}
echo "==============================================================================================="
echo
echo "$QUERY_INTRO"
echo
echo ${GREEN}"${RESULTS_INTRO} items found"${NORM}
echo
print_introduction_version_examples
echo
ERROR=1
else
echo "All introductionVersion annotations are valid"
echo
fi
# The following grep will filter out every line containing an `env` annotation
# it will ignore every line that has allready a valid `desc` annotation
# the following grep will filter out every line containing an `env` annotation and
# will print each line that has an invalid `desc` annotation.
QUERY_DESC=$(git grep -n "env:" -- '*.go' |grep -v -P "desc:\".{10,}\""|grep -v "_test.go"|grep -v "vendor/")
# query the code
QUERY_DESC=$(git grep -n "env:" -- '*.go' | grep -v -E "${EXCLUDE_PATHS}" | grep -v --color=always -P "desc:\".{10,}\"")
# count the results found
RESULTS_DESC=$(echo "${QUERY_DESC}"|wc -l)
echo "Checking description annotations"
if [ "${QUERY_DESC}" != "" ] && [ "${RESULTS_DESC}" -gt 0 ]; then
echo
echo "==============================================================================================="
echo "The following ${RESULTS_DESC} items contain an invalid or missing description annotation:"
echo ${RED}"The following item(s) contain invalid or missing description annotation:"${NORM}
echo "==============================================================================================="
echo "$QUERY_DESC"
echo
echo ${GREEN}"${RESULTS_DESC} items found"${NORM}
ERROR=1
else
echo "All description annotations are valid"
-2
View File
@@ -114,7 +114,6 @@ debug-linux-docker-amd64: release-dirs
-gcflags="all=-N -l" \
-tags 'netgo $(TAGS)' \
-buildmode=exe \
-trimpath \
-ldflags '-extldflags "-static" $(DEBUG_LDFLAGS) $(DOCKER_LDFLAGS)' \
-o '$(DIST)/binaries/$(EXECUTABLE)-linux-amd64' \
./cmd/$(NAME)
@@ -126,7 +125,6 @@ debug-linux-docker-arm64: release-dirs
-gcflags="all=-N -l" \
-tags 'netgo $(TAGS)' \
-buildmode=exe \
-trimpath \
-ldflags '-extldflags "-static" $(DEBUG_LDFLAGS) $(DOCKER_LDFLAGS)' \
-o '$(DIST)/binaries/$(EXECUTABLE)-linux-arm64' \
./cmd/$(NAME)
+297 -440
View File
@@ -1,12 +1,6 @@
# Table of Contents
* [Changelog for 8.0.8](#changelog-for-808-2026-08-20)
* [Changelog for 8.0.7](#changelog-for-807-2026-07-31)
* [Changelog for 8.0.6](#changelog-for-806-2026-07-15)
* [Changelog for 8.0.5](#changelog-for-805-2026-06-18)
* [Changelog for 8.0.4](#changelog-for-804-2026-05-22)
* [Changelog for 8.0.2](#changelog-for-802-2026-04-30)
* [Changelog for 8.0.1](#changelog-for-801-2026-03-09)
* [Changelog for unreleased](#changelog-for-unreleased-unreleased)
* [Changelog for 8.0.0](#changelog-for-800-2026-02-13)
* [Changelog for 7.3.1](#changelog-for-731-2025-11-24)
* [Changelog for 7.3.0](#changelog-for-730-2025-10-13)
@@ -67,423 +61,62 @@
* [Changelog for 1.1.0](#changelog-for-110-2021-01-22)
* [Changelog for 1.0.0](#changelog-for-100-2020-12-17)
# Changelog for [8.0.8] (2026-08-20)
# Changelog for [unreleased] (UNRELEASED)
The following sections list the changes for 8.0.8.
The following sections list the changes for unreleased.
[8.0.8]: https://github.com/owncloud/ocis/compare/v8.0.7...v8.0.8
## Summary
* Security - Bump golang.org/x/image to v0.45.0: [#12808](https://github.com/owncloud/ocis/pull/12808)
* Security - Bump Go to 1.25.13: [#12832](https://github.com/owncloud/ocis/pull/12832)
* Bugfix - Cache LDAP instance mapper lookups: [#12823](https://github.com/owncloud/ocis/pull/12823)
* Bugfix - Fix share metadata corruption during concurrent share operations: [#12621](https://github.com/owncloud/ocis/pull/12621)
* Enhancement - Add TLS support for NATS store and registry connections: [#12765](https://github.com/owncloud/ocis/pull/12765)
## Details
* Security - Bump golang.org/x/image to v0.45.0: [#12808](https://github.com/owncloud/ocis/pull/12808)
Upgraded golang.org/x/image from v0.44.0 to v0.45.0 to address
GO-2026-6222: excessive memory allocation during VP8L decoding.
https://github.com/owncloud/ocis/pull/12808
* Security - Bump Go to 1.25.13: [#12832](https://github.com/owncloud/ocis/pull/12832)
Fixes a stdlib CVE vulnerability flagged by the release image scan.
https://github.com/owncloud/ocis/pull/12832
* Bugfix - Cache LDAP instance mapper lookups: [#12823](https://github.com/owncloud/ocis/pull/12823)
In multi-instance deployments, resolving a user's instance name/ID during
`GET /graph/v1.0/users` (and group member expansion) issued a fresh, uncached
LDAP search per instance/guest attribute value on every request. Under load
this multiplied into large numbers of redundant LDAP round-trips per page of
users, saturating the LDAP connection pool and causing request timeouts. The
LDAP identity backend now caches instance mapper lookups, including negative
(not-found) results, for a configurable TTL
(`OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL`, default 60s).
https://github.com/owncloud/ocis/pull/12823
* Bugfix - Fix share metadata corruption during concurrent share operations: [#12621](https://github.com/owncloud/ocis/pull/12621)
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
* Enhancement - Add TLS support for NATS store and registry connections: [#12765](https://github.com/owncloud/ocis/pull/12765)
All `nats-js-kv` store, cache, and service registry connections now support
TLS. Configure via `OCIS_CACHE_ENABLE_TLS`, `OCIS_PERSISTENT_STORE_ENABLE_TLS`,
and `MICRO_REGISTRY_ENABLE_TLS`, with corresponding `*_TLS_INSECURE` and
`*_TLS_ROOT_CA_CERTIFICATE` variants per connection type.
https://github.com/owncloud/ocis/pull/12765
# Changelog for [8.0.7] (2026-07-31)
The following sections list the changes for 8.0.7.
[8.0.7]: https://github.com/owncloud/ocis/compare/v8.0.6...v8.0.7
## Summary
* Bugfix - Return correct issuerAssignedId on /me: [#12635](https://github.com/owncloud/ocis/pull/12635)
* Bugfix - Log unmapped thumbnail errors and always report a sabredav exception: [#12663](https://github.com/owncloud/ocis/pull/12663)
* Enhancement - Eliminate redundant LDAP read-after-write on create and update: [#12618](https://github.com/owncloud/ocis/pull/12618)
* Enhancement - Add an opt-in bounded LDAP connection pool: [#12660](https://github.com/owncloud/ocis/pull/12660)
* Enhancement - Retry LDAP operations against a lagging replica: [#12672](https://github.com/owncloud/ocis/pull/12672)
## Details
* Bugfix - Return correct issuerAssignedId on /me: [#12635](https://github.com/owncloud/ocis/pull/12635)
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
* Bugfix - Log unmapped thumbnail errors and always report a sabredav exception: [#12663](https://github.com/owncloud/ocis/pull/12663)
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/12663
* Enhancement - Eliminate redundant LDAP read-after-write on create and update: [#12618](https://github.com/owncloud/ocis/pull/12618)
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
* Enhancement - Add an opt-in bounded LDAP connection pool: [#12660](https://github.com/owncloud/ocis/pull/12660)
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
* Enhancement - Retry LDAP operations against a lagging replica: [#12672](https://github.com/owncloud/ocis/pull/12672)
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
# Changelog for [8.0.6] (2026-07-15)
The following sections list the changes for 8.0.6.
[8.0.6]: https://github.com/owncloud/ocis/compare/v8.0.5...v8.0.6
## Summary
* Security - Upgrade libvips to 8.18.4: [#12596](https://github.com/owncloud/ocis/pull/12596)
* Security - Upgrade Go to 1.25.12: [#12602](https://github.com/owncloud/ocis/pull/12602)
* Enhancement - Allow disabling the last sign-in timestamp update: [#12522](https://github.com/owncloud/ocis/pull/12522)
## Details
* Security - Upgrade libvips to 8.18.4: [#12596](https://github.com/owncloud/ocis/pull/12596)
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
* Security - Upgrade Go to 1.25.12: [#12602](https://github.com/owncloud/ocis/pull/12602)
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
* Enhancement - Allow disabling the last sign-in timestamp update: [#12522](https://github.com/owncloud/ocis/pull/12522)
The graph service maintains the 'oCLastSignInTimestamp' LDAP attribute of a user
on every sign-in (when the LDAP identity backend has write access). This can
cause a significant amount of LDAP write load, especially when the proxy's OIDC
userinfo cache has a short TTL and sign-in events are emitted frequently.
A new setting 'OCIS_LDAP_UPDATE_LAST_SIGNIN_DATE' /
'GRAPH_LDAP_UPDATE_LAST_SIGNIN_DATE' (default 'true') allows disabling the
update of the last sign-in timestamp without having to disable all LDAP writes
('OCIS_LDAP_SERVER_WRITE_ENABLED') or the graph events consumer. When set to
'false' the graph service no longer listens for 'UserSignedIn' events and does
not write the 'oCLastSignInTimestamp' attribute.
https://github.com/owncloud/ocis/issues/9942
https://github.com/owncloud/ocis/pull/12522
# Changelog for [8.0.5] (2026-06-18)
The following sections list the changes for 8.0.5.
[8.0.5]: https://github.com/owncloud/ocis/compare/v8.0.4...v8.0.5
## Summary
* Security - Bump Go to 1.25.11: [#12446](https://github.com/owncloud/ocis/pull/12446)
* Security - Upgrade libvips to 8.18.3: [#12446](https://github.com/owncloud/ocis/pull/12446)
* Bugfix - Education user delete no longer 404s and leaves the LDAP entry behind: [#12395](https://github.com/owncloud/ocis/pull/12395)
* Bugfix - Recover from permanently-closed NATS connections in the nats-js-kv store: [#12401](https://github.com/owncloud/ocis/pull/12401)
## Details
* Security - Bump Go to 1.25.11: [#12446](https://github.com/owncloud/ocis/pull/12446)
Fixes CVE-2026-42504, a stdlib MIME header decoding vulnerability flagged by the
release image scan.
https://github.com/owncloud/ocis/pull/12446
* Security - Upgrade libvips to 8.18.3: [#12446](https://github.com/owncloud/ocis/pull/12446)
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
* Bugfix - Education user delete no longer 404s and leaves the LDAP entry behind: [#12395](https://github.com/owncloud/ocis/pull/12395)
`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
* Bugfix - Recover from permanently-closed NATS connections in the nats-js-kv store: [#12401](https://github.com/owncloud/ocis/pull/12401)
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
# Changelog for [8.0.4] (2026-05-22)
The following sections list the changes for 8.0.4.
[8.0.4]: https://github.com/owncloud/ocis/compare/v8.0.2...v8.0.4
## Summary
* Security - Upgrade libvips to 8.18.2: [#12301](https://github.com/owncloud/ocis/pull/12301)
* Security - Bump Go to 1.25.10: [#12306](https://github.com/owncloud/ocis/pull/12306)
* Bugfix - SpaceEditorWithoutTrashbin roles now correctly allow file editing: [#12346](https://github.com/owncloud/ocis/pull/12346)
## Details
* Security - Upgrade libvips to 8.18.2: [#12301](https://github.com/owncloud/ocis/pull/12301)
Bumped libvips to 8.18.2 in all Docker images to pick up the fix for a stack
buffer overflow.
https://github.com/owncloud/ocis/pull/12301
* Security - Bump Go to 1.25.10: [#12306](https://github.com/owncloud/ocis/pull/12306)
Fixes CVE-2026-33811, CVE-2026-33814, CVE-2026-39820, CVE-2026-39836,
CVE-2026-42499.
https://github.com/owncloud/ocis/pull/12306
* Bugfix - SpaceEditorWithoutTrashbin roles now correctly allow file editing: [#12346](https://github.com/owncloud/ocis/pull/12346)
Fixed a bug where the *WithoutTrashbin space editor roles were rendered as
read-only in the Web frontend. The OCS PermissionWrite bit was not set for these
roles because the RoleFromResourcePermissions round-trip required
RestoreRecycleItem, which these roles intentionally omit.
https://github.com/owncloud/ocis/pull/12346
# Changelog for [8.0.2] (2026-04-30)
The following sections list the changes for 8.0.2.
[8.0.2]: https://github.com/owncloud/ocis/compare/v8.0.1...v8.0.2
## Summary
* Bugfix - Fix OCM share permission change notification: [#12190](https://github.com/owncloud/ocis/pull/12190)
* Bugfix - Fix the internal links: [#12231](https://github.com/owncloud/ocis/pull/12231)
* Bugfix - Return 200 OK for WOPI Lock requests in read-only and view-only modes: [#12257](https://github.com/owncloud/ocis/pull/12257)
* Bugfix - Fix space management middleware removing users from spaces on download: [#12285](https://github.com/owncloud/ocis/pull/12285)
* Enhancement - Add spaceid to REPORT: [#12241](https://github.com/owncloud/ocis/pull/12241)
* Enhancement - Allow multiple objectClasses on group creation: [#12242](https://github.com/owncloud/ocis/pull/12242)
* Enhancement - Add SpaceEditorWithoutVersionsWithoutTrashbin space membership role: [#12245](https://github.com/owncloud/ocis/pull/12245)
* Enhancement - Bump Web to 12.3.3: [#13705](https://github.com/owncloud/web/pull/13705)
## Details
* Bugfix - Fix OCM share permission change notification: [#12190](https://github.com/owncloud/ocis/pull/12190)
Fix the OCM share permission change notification handling.
https://github.com/owncloud/ocis/pull/12190
* Bugfix - Fix the internal links: [#12231](https://github.com/owncloud/ocis/pull/12231)
We fixed the internal links access control
https://github.com/owncloud/ocis/pull/12231
* Bugfix - Return 200 OK for WOPI Lock requests in read-only and view-only modes: [#12257](https://github.com/owncloud/ocis/pull/12257)
OnlyOffice sends a WOPI Lock request when opening any document, even when the
user only has read access. The WOPI Lock handler was attempting to acquire a CS3
write lock regardless of the view mode, causing a permission error for read-only
tokens that OnlyOffice displayed as an error message on load.
The Lock handler now returns 200 OK immediately for READ_ONLY and VIEW_ONLY view
modes without attempting to acquire a lock, consistent with the WOPI spec.
https://github.com/owncloud/ocis/pull/12257
* Bugfix - Fix space management middleware removing users from spaces on download: [#12285](https://github.com/owncloud/ocis/pull/12285)
The space management middleware ran on every authenticated request, including
signed URL requests used for file downloads. Since signed URL auth does not
carry OIDC claims, the middleware interpreted the absence of claims as "user
should have no space access" and removed the user from all project spaces. On
the next OIDC request the user was re-added, causing an oscillating add/remove
cycle that led to intermittent download failures and transient "space not found"
errors.
The middleware now skips reconciliation entirely when no OIDC claims are present
in the request context.
https://github.com/owncloud/ocis/issues/12285
https://github.com/owncloud/ocis/pull/12285
* Enhancement - Add spaceid to REPORT: [#12241](https://github.com/owncloud/ocis/pull/12241)
Added the `spaceid` to the REPORT responses. This is aligning the `REPORT`
method with the `PROPFIND` method.
https://github.com/owncloud/ocis/pull/12241
* Enhancement - Allow multiple objectClasses on group creation: [#12242](https://github.com/owncloud/ocis/pull/12242)
Added support for configuring additional LDAP objectClasses when creating
groups. The new `OCIS_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES` /
`GRAPH_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES` environment variable accepts a list
of extra objectClasses that are set alongside the primary
`GRAPH_LDAP_GROUP_OBJECTCLASS` when a new group is created in LDAP.
https://github.com/owncloud/ocis/pull/12242
* Enhancement - Add SpaceEditorWithoutVersionsWithoutTrashbin space membership role: [#12245](https://github.com/owncloud/ocis/pull/12245)
Added a new space membership role "Can edit"
(SpaceEditorWithoutVersionsWithoutTrashbin) that grants full editor permissions
(create, upload, download, edit, move, delete) on a space without access to file
versions or the trashbin.
https://github.com/owncloud/ocis/pull/12245
* Enhancement - Bump Web to 12.3.3: [#13705](https://github.com/owncloud/web/pull/13705)
- Bugfix [owncloud/web#13638](https://github.com/owncloud/web/pull/13638): Share
button not usable when role dropdown text is too long - Bugfix
[owncloud/web#13667](https://github.com/owncloud/web/pull/13667): Shared with
does not show members - Bugfix
[owncloud/web#13680](https://github.com/owncloud/web/pull/13680): Escape strings
when returned from server
https://github.com/owncloud/web/pull/13705
https://github.com/owncloud/web/releases/tag/v12.3.3
# Changelog for [8.0.1] (2026-03-09)
The following sections list the changes for 8.0.1.
[8.0.1]: https://github.com/owncloud/ocis/compare/v8.0.0...v8.0.1
[unreleased]: https://github.com/owncloud/ocis/compare/v8.0.0...master
## Summary
* Security - Add X-XSS-Protection header: [#12092](https://github.com/owncloud/ocis/pull/12092)
* Bugfix - Fix postprocessing resume command --restart flag: [#11692](https://github.com/owncloud/ocis/issues/11692)
* Bugfix - Don't use hardcoded groupOfNames in group creation: [#11776](https://github.com/owncloud/ocis/pull/11776)
* Bugfix - Expose the signature-auth attribute: [#12052](https://github.com/owncloud/ocis/pull/12052)
* Bugfix - Don't write empty externalID to LDAP: [#12085](https://github.com/owncloud/ocis/pull/12085)
* Enhancement - Bump Web to 12.3.2: [#12074](https://github.com/owncloud/ocis/pull/12074)
* Enhancement - Bump reva: [#12097](https://github.com/owncloud/ocis/pull/12097)
* Bugfix - Translation for some email notifications: [#11979](https://github.com/owncloud/ocis/pull/11979)
* Bugfix - Rework monitoring in the ocis_full deployment example: [#11995](https://github.com/owncloud/ocis/pull/11995)
* Bugfix - Extract metadata from oversized files and fix ISO field: [#12000](https://github.com/owncloud/ocis/pull/12000)
* Bugfix - Make tag unassignment idempotent and handle publish failures: [#12001](https://github.com/owncloud/ocis/pull/12001)
* Bugfix - Expose the signature-auth attribute: [#12016](https://github.com/owncloud/ocis/pull/12016)
* Bugfix - Fix CSP blocking bundled KaTeX font: [#12070](https://github.com/owncloud/ocis/pull/12070)
* Bugfix - Fix case-sensitive photo metadata search: [#12078](https://github.com/owncloud/ocis/pull/12078)
* Bugfix - Prevent incomplete Tika extractions from permanently blocking re-index: [#12095](https://github.com/owncloud/ocis/pull/12095)
* Bugfix - Use O(1) document lookup instead of full search during reindexing: [#12096](https://github.com/owncloud/ocis/pull/12096)
* Bugfix - Fix IDP build on FreeBSD by disabling absolute Babel runtime: [#12114](https://github.com/owncloud/ocis/pull/12114)
* Bugfix - Don't index failed uploads: [#12121](https://github.com/owncloud/ocis/pull/12121)
* Enhancement - Add web extensions deployment configuration: [#11940](https://github.com/owncloud/ocis/pull/11940)
* Enhancement - Add AI-assisted development guide: [#11941](https://github.com/owncloud/ocis/pull/11941)
* Enhancement - Bump Web to 12.3.1: [#12015](https://github.com/owncloud/ocis/pull/12015)
* Enhancement - Add space ID to incoming shares: [#12024](https://github.com/owncloud/ocis/pull/12024)
* Enhancement - Add spaceid to REPORT: [#12028](https://github.com/owncloud/ocis/pull/12028)
* Enhancement - Bump Reva version: [#12051](https://github.com/owncloud/ocis/pull/12051)
* Enhancement - Add ResourceID field to UploadReady event: [#12060](https://github.com/owncloud/ocis/pull/12060)
* Enhancement - Support numeric range queries in KQL: [#12094](https://github.com/owncloud/ocis/pull/12094)
* Enhancement - Add blobstore CLI commands to storage-users service: [#12102](https://github.com/owncloud/ocis/pull/12102)
* Enhancement - Optimize search index after bulk reindexing: [#12104](https://github.com/owncloud/ocis/pull/12104)
* Enhancement - Update images in the ocis_full deployment example: [#12123](https://github.com/owncloud/ocis/pull/12123)
## Details
* Security - Add X-XSS-Protection header: [#12092](https://github.com/owncloud/ocis/pull/12092)
Added the X-XSS-Protection header set to "0" to explicitly disable the
deprecated browser XSS filter, which can introduce side-channel vulnerabilities.
Modern XSS protection is provided through the Content-Security-Policy header.
This change addresses security audit findings requiring explicit configuration
of HTTP security headers per OWASP recommendations.
https://github.com/owncloud/ocis/pull/12092
* Bugfix - Fix postprocessing resume command --restart flag: [#11692](https://github.com/owncloud/ocis/issues/11692)
The `--restart` / `-r` flag for `ocis postprocessing resume` was broken due to a
flag name mismatch (`retrigger` vs `restart`) and silently did nothing. This has
been fixed and the command now prints a confirmation message on success.
https://github.com/owncloud/ocis/issues/11692
https://github.com/owncloud/ocis/pull/12002
* Bugfix - Don't use hardcoded groupOfNames in group creation: [#11776](https://github.com/owncloud/ocis/pull/11776)
Formerly, when creating a group with a different objectClass, it will always use
@@ -492,39 +125,262 @@ The following sections list the changes for 8.0.1.
https://github.com/owncloud/ocis/pull/11776
* Bugfix - Expose the signature-auth attribute: [#12052](https://github.com/owncloud/ocis/pull/12052)
* Bugfix - Translation for some email notifications: [#11979](https://github.com/owncloud/ocis/pull/11979)
Some email notifications showed a wrong translated message that shouldn't
appear. It's fixed so that message won't appear anymore.
https://github.com/owncloud/ocis/pull/11979
* Bugfix - Rework monitoring in the ocis_full deployment example: [#11995](https://github.com/owncloud/ocis/pull/11995)
The ocis_full deployment example has been basically reworked for how to provide
monitoring.
We now have: - a singe place for the definition of the tracing envvars for all
ocis related container services - an easy and modular setup defining which
sources should be inlcuded in monitoring via .env - comments describing the
setup for the ease extending it - the monitoring definition in .env has been
moved to the bottom and the compose_file assembly has monitoring as last entry
now to guarantee nothing gets overwritten by accident
https://github.com/owncloud/ocis/pull/11995
* Bugfix - Extract metadata from oversized files and fix ISO field: [#12000](https://github.com/owncloud/ocis/pull/12000)
Two issues were found in the Tika content extractor:
1. Files exceeding `SEARCH_CONTENT_EXTRACTION_SIZE_LIMIT` (default 20MB) were
skipped entirely — no EXIF, no photo metadata, no image dimensions were
extracted. This particularly affected Pixel Motion Photos (`.MP.jpg`) which
embed an MP4 video making them 3-9MB. Since EXIF metadata lives in the JPEG
header (first few KB), a truncated stream is sufficient. The extractor now wraps
the download in `io.LimitReader` instead of skipping Tika, sending only the
first N bytes for metadata extraction.
2. The ISO speed field was read from `"Base ISO"`, a Canon-specific Tika field
(sensor base sensitivity). Most cameras — Pixel, iPhone, Samsung — provide
ISO via the standard `"exif:IsoSpeedRatings"` field. The extractor now checks
`exif:IsoSpeedRatings` first and falls back to `Base ISO` for Canon
compatibility.
https://github.com/owncloud/ocis/pull/12000
* Bugfix - Make tag unassignment idempotent and handle publish failures: [#12001](https://github.com/owncloud/ocis/pull/12001)
The DELETE tags endpoint now returns success when the requested tag is already
absent from the file's metadata, instead of returning HTTP 400 with a misleading
error message. The TagsRemoved event is always published so the search index
stays in sync even when file metadata and the search index are out of sync. If
event publishing fails, the metadata change is rolled back and HTTP 500 is
returned to avoid leaving the system in an inconsistent state.
https://github.com/owncloud/ocis/pull/12001
* Bugfix - Expose the signature-auth attribute: [#12016](https://github.com/owncloud/ocis/pull/12016)
Expose the "oc:signature-auth" attribute for the subfolders in the public link
propfinds. This is a necessary change to be able to support archive downloads in
password protected public links.
https://github.com/owncloud/ocis/pull/12052
https://github.com/owncloud/ocis/pull/12016
* Bugfix - Don't write empty externalID to LDAP: [#12085](https://github.com/owncloud/ocis/pull/12085)
* Bugfix - Fix CSP blocking bundled KaTeX font: [#12070](https://github.com/owncloud/ocis/pull/12070)
When creating new users in the graph service, the externalID attribute was being
written to LDAP even when it was empty. Now, the externalID attribute is only
written when it has a non-empty value.
The default Content Security Policy blocked the bundled KaTeX math font (used by
the md-editor) because it is inlined as a `data:` URI in the Web UI CSS. Added
`data:` to the `font-src` directive to resolve the console error on every page
load. Users with custom CSP files (`PROXY_CSP_CONFIG_FILE_LOCATION`) will need
to add `data:` to their `font-src` directive manually.
https://github.com/owncloud/ocis/pull/12085
https://github.com/owncloud/ocis/pull/12070
* Enhancement - Bump Web to 12.3.2: [#12074](https://github.com/owncloud/ocis/pull/12074)
* Bugfix - Fix case-sensitive photo metadata search: [#12078](https://github.com/owncloud/ocis/pull/12078)
- Enhancement
[owncloud/ocis#11963](https://github.com/owncloud/ocis/issues/11963): Use
signature auth
Searching for photo metadata fields like camera make/model was case-sensitive,
so searching for "google" would not match a camera make stored as "Google".
Changed the photo string field analyzer from `keyword` to `lowercaseKeyword` so
both indexed values and search terms are lowercased. Existing Bleve indexes need
to be rebuilt after this change.
https://github.com/owncloud/ocis/pull/12074
https://github.com/owncloud/web/releases/tag/v12.3.2
https://github.com/owncloud/ocis/pull/12078
* Enhancement - Bump reva: [#12097](https://github.com/owncloud/ocis/pull/12097)
* Bugfix - Prevent incomplete Tika extractions from permanently blocking re-index: [#12095](https://github.com/owncloud/ocis/pull/12095)
Bumped reva to the latest version. This includes a refactoring of the scope
expansion and verification logic, as well as a fix for the signature-auth
propfind attribute that now correctly supports archive downloads in
password-protected public links.
When Tika returned HTTP 200 but its child processes (OCR, ImageMagick) failed
due to resource limits, the search index received metadata but no content. The
document was written to Bleve with the correct mtime, and subsequent reindexes
skipped it because the id+mtime check passed. This left files permanently stuck
as "indexed" with no searchable content.
https://github.com/owncloud/ocis/pull/12097
Two fixes are applied:
1. Validate Tika responses: if `MetaRecursive()` returns an empty metadata list,
it is now treated as an extraction error so the document is not written to the
index.
2. Add an `Extracted` field to indexed resources. It is set to `true` only after
successful extraction. The reindex skip check now requires `Extracted:true`, so
incompletely indexed documents are automatically re-processed on the next
reindex run.
Note: existing search indexes will trigger a full re-extraction on the next
reindex because documents written before this change lack the `Extracted` field.
https://github.com/owncloud/ocis/issues/12093
https://github.com/owncloud/ocis/pull/12095
* Bugfix - Use O(1) document lookup instead of full search during reindexing: [#12096](https://github.com/owncloud/ocis/pull/12096)
The `IndexSpace` bulk reindexer was using a full KQL search query per file to
check whether re-extraction was needed. On large indexes this query took
600–950ms each, making a 61,000-file space take ~13.5 hours just to walk.
Replaced the per-file `Search()` call with an O(1) `Lookup()` using Bleve's
`DocIDQuery`, then comparing mtime and extraction status in memory. This reduces
per-file check time from ~800ms to <1ms.
https://github.com/owncloud/ocis/issues/12093
https://github.com/owncloud/ocis/pull/12096
* Bugfix - Fix IDP build on FreeBSD by disabling absolute Babel runtime: [#12114](https://github.com/owncloud/ocis/pull/12114)
The `babel-preset-react-app` preset defaults to `absoluteRuntime: true`, which
hardcodes absolute paths to `@babel/runtime` helpers. These paths fail to
resolve on non-Linux platforms like FreeBSD. Setting `absoluteRuntime: false`
makes Babel resolve the runtime relative to the source file, which works across
all platforms.
https://github.com/owncloud/ocis/issues/12065
https://github.com/owncloud/ocis/pull/12114
* Bugfix - Don't index failed uploads: [#12121](https://github.com/owncloud/ocis/pull/12121)
The search service was indexing uploads even when they failed. This caused
unnecessary index operations for incomplete or errored file transfers. The fix
skips indexing when the UploadReady event indicates the upload has failed.
https://github.com/owncloud/ocis/pull/12121
* Enhancement - Add web extensions deployment configuration: [#11940](https://github.com/owncloud/ocis/pull/11940)
We added deployment configuration for the photo-addon and advanced-search web
extensions to the ocis_full example. This includes Docker compose files for both
extensions and CSP configuration for OpenStreetMap tiles required by the
photo-addon map feature.
https://github.com/owncloud/ocis/pull/11940
* Enhancement - Add AI-assisted development guide: [#11941](https://github.com/owncloud/ocis/pull/11941)
A new guide has been added to the oCIS documentation demonstrating how to build
web extensions using AI-assisted development with Claude AI. The guide covers
MCP connector setup, a five-phase development workflow, debugging techniques,
and contribution workflows.
This approach has been validated through real contributions including PR #11912
(photo metadata search backend) and web extensions PRs #305 and #306.
https://github.com/owncloud/ocis/pull/11941
* Enhancement - Bump Web to 12.3.1: [#12015](https://github.com/owncloud/ocis/pull/12015)
Bugfix [owncloud/web#13553](https://github.com/owncloud/web/pull/13553): Search
Text Overalps With Search Icon In The Search Bar
https://github.com/owncloud/ocis/pull/12015
https://github.com/owncloud/web/releases/tag/v12.3.1
* Enhancement - Add space ID to incoming shares: [#12024](https://github.com/owncloud/ocis/pull/12024)
Added the `spaceId` to the incoming shares. This is aligning the graph API with
the WebDAV API where the clients can use `spaceid` property. This change allows
clients to get the space ID directly instead of having to parse the resource ID.
https://github.com/owncloud/ocis/pull/12024
* Enhancement - Add spaceid to REPORT: [#12028](https://github.com/owncloud/ocis/pull/12028)
Added the `spaceid` to the REPORT responses. This is aligning the `REPORT`
method with the `PROPFIND` method.
https://github.com/owncloud/ocis/pull/12028
* Enhancement - Bump Reva version: [#12051](https://github.com/owncloud/ocis/pull/12051)
Bumped reva version
https://github.com/owncloud/ocis/pull/12051
https://github.com/owncloud/ocis/pull/12087
* Enhancement - Add ResourceID field to UploadReady event: [#12060](https://github.com/owncloud/ocis/pull/12060)
The UploadReady NATS event now includes a `ResourceID` field containing the
file's actual resource identifier (with the correct node OpaqueId). Previously,
only `FileRef` was available, whose `ResourceId.OpaqueId` is set to the space
root ID (required for CS3 gateway path resolution). Consumers that need the
file's unique identifier for Graph API or WebDAV operations can now use
`ResourceID.OpaqueId` directly.
https://github.com/owncloud/ocis/issues/12056
https://github.com/owncloud/ocis/pull/12060
https://github.com/owncloud/reva/pull/547
https://github.com/owncloud/reva/pull/560
* Enhancement - Support numeric range queries in KQL: [#12094](https://github.com/owncloud/ocis/pull/12094)
The KQL parser now supports numeric range queries using comparison operators
(>=, <=, >, <) on numeric fields. Previously, range operators only worked with
DateTime values, causing queries like `size>=1048576` or `photo.iso>=100` to
silently fail by falling through to free-text search.
Affected numeric fields: Size, photo.iso, photo.fNumber, photo.focalLength,
photo.orientation.
https://github.com/owncloud/ocis/issues/12093
https://github.com/owncloud/ocis/pull/12094
* Enhancement - Add blobstore CLI commands to storage-users service: [#12102](https://github.com/owncloud/ocis/pull/12102)
Added two new CLI commands under `ocis storage-users blobstore` to help
operators verify and inspect the configured blobstore without needing direct
access to the underlying storage system.
`blobstore check` performs a full upload/download/delete round-trip using a
random payload. The payload size is configurable via `--blob-size` and accepts
human-readable values such as `64`, `1KB` or `4MiB` (default: 64 bytes).
`blobstore get` downloads a specific blob by its ID to verify it is readable.
The blob can be identified either with `--blob-id` and `--space-id`, or by
passing the raw blob path from a log line directly via `--path`. Both the s3ng
key format (`<spaceID>/<pathified_blobID>`) and the ocis filesystem path format
(`…/spaces/<pathified_spaceID>/blobs/<pathified_blobID>`) are accepted. When
using the s3ng driver without a known blob size, an automatic retry with the
actual size is performed on a size mismatch.
Both commands read the existing service configuration, so they always target the
same blobstore as the running service. Only the `ocis` and `s3ng` storage
drivers are supported.
https://github.com/owncloud/ocis/pull/12102
* Enhancement - Optimize search index after bulk reindexing: [#12104](https://github.com/owncloud/ocis/pull/12104)
After an `IndexSpace` walk completes, the search engine now triggers a segment
merge (compaction) on the bleve index. Over time, writes create multiple index
segments that degrade query performance. The new `Optimize()` method calls
bleve's `ForceMerge` to consolidate all segments into one, improving subsequent
search and lookup speed. This is especially beneficial after bulk reindexing
large spaces.
https://github.com/owncloud/ocis/issues/12093
https://github.com/owncloud/ocis/pull/12104
* Enhancement - Update images in the ocis_full deployment example: [#12123](https://github.com/owncloud/ocis/pull/12123)
- Update the docker images for core services and web-extensions - Moving all
default image definitions (latest) into the .env file for consistency
https://github.com/owncloud/ocis/pull/12123
# Changelog for [8.0.0] (2026-02-13)
@@ -566,7 +422,7 @@ The following sections list the changes for 8.0.0.
* Enhancement - Update the traefik image for some deployment examples: [#11915](https://github.com/owncloud/ocis/pull/11915)
* Enhancement - Add users instances: [#11925](https://github.com/owncloud/ocis/pull/11925)
* Enhancement - Introduce external shares permission: [#11931](https://github.com/owncloud/ocis/pull/11931)
* Enhancement - Update to go 1.25: [#12004](https://github.com/owncloud/ocis/pull/12004)
* Enhancement - Update to go 1.25: [#12011](https://github.com/owncloud/ocis/pull/12011)
* Enhancement - Bump Web to 12.3.1: [#12016](https://github.com/owncloud/ocis/pull/12016)
* Enhancement - Bump Web to 12.3.0: [#13519](https://github.com/owncloud/web/pull/13519)
@@ -869,10 +725,11 @@ The following sections list the changes for 8.0.0.
https://github.com/owncloud/ocis/pull/11931
* Enhancement - Update to go 1.25: [#12004](https://github.com/owncloud/ocis/pull/12004)
* Enhancement - Update to go 1.25: [#12011](https://github.com/owncloud/ocis/pull/12011)
We have updated go to version 1.25 and alpine to version 3.23.3
https://github.com/owncloud/ocis/pull/12011
https://github.com/owncloud/ocis/pull/12004
* Enhancement - Bump Web to 12.3.1: [#12016](https://github.com/owncloud/ocis/pull/12016)
@@ -10501,7 +10358,7 @@ The following sections list the changes for 2.0.0.
* Enhancement - Update linkshare capabilities: [#3579](https://github.com/owncloud/ocis/pull/3579)
* Enhancement - Wrap metadata storage with dedicated reva gateway: [#3602](https://github.com/owncloud/ocis/pull/3602)
* Enhancement - Align service naming: [#3606](https://github.com/owncloud/ocis/pull/3606)
* Enhancement - Added share_jail and projects feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
* Enhancement - Added `share_jail` and `projects` feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
* Enhancement - Add initial version of the search extensions: [#3635](https://github.com/owncloud/ocis/pull/3635)
* Enhancement - Don't setup demo role assignments on default: [#3661](https://github.com/owncloud/ocis/issues/3661)
* Enhancement - Restrict admins from self-removal: [#3713](https://github.com/owncloud/ocis/issues/3713)
@@ -11626,7 +11483,7 @@ The following sections list the changes for 2.0.0.
https://github.com/owncloud/ocis/issues/3603
https://github.com/owncloud/ocis/pull/3606
* Enhancement - Added share_jail and projects feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
* Enhancement - Added `share_jail` and `projects` feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
We've added feature flags to the `spaces` capability to indicate to clients
which features are supposed to be shown to users.
@@ -15742,7 +15599,7 @@ The following sections list the changes for 1.2.0.
* Change - Update ownCloud Web to v2.0.0: [#1661](https://github.com/owncloud/ocis/pull/1661)
* Enhancement - Introduce ADR: [#1042](https://github.com/owncloud/ocis/pull/1042)
* Enhancement - Functionality to map home directory to different storage providers: [#1186](https://github.com/owncloud/ocis/pull/1186)
* Enhancement - Use default upload protocol instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
* Enhancement - Use a default protocol parameter instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
* Enhancement - Switch to opencontainers annotation scheme: [#1381](https://github.com/owncloud/ocis/pull/1381)
* Enhancement - Update reva to v1.5.2-0.20210125114636-0c10b333ee69: [#1482](https://github.com/owncloud/ocis/pull/1482)
* Enhancement - Migrate ocis-graph to ocis monorepo: [#1594](https://github.com/owncloud/ocis/pull/1594)
@@ -15826,7 +15683,7 @@ The following sections list the changes for 1.2.0.
https://github.com/owncloud/ocis/pull/1186
https://github.com/cs3org/reva/pull/1142
* Enhancement - Use default upload protocol instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
* Enhancement - Use a default protocol parameter instead of explicitly disabling tus: [#1331](https://github.com/cs3org/reva/pull/1331)
https://github.com/cs3org/reva/pull/1331
https://github.com/owncloud/ocis/pull/1374
+2 -2
View File
@@ -28,10 +28,10 @@ COPY --from=generate /ocis /ocis
WORKDIR /ocis/ocis
RUN make ci-go-generate build ENABLE_VIPS=true
FROM alpine:3.23.3
FROM alpine:3.23.4
RUN apk add --no-cache attr ca-certificates curl mailcap tree \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community "vips=8.18.5-r0" \
&& apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community "vips=8.18.2-r0" \
&& echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
+4 -16
View File
@@ -20,7 +20,6 @@ L10N_MODULES := \
services/userlog \
services/settings
# if you add a module here please also add it to the .drone.star file
OCIS_MODULES = \
services/activitylog \
services/antivirus \
@@ -206,7 +205,10 @@ docs-serve:
docs-clean:
@$(MAKE) --no-print-directory -C docs docs-clean
# imitate a full drone run locally to build docs without pushing to the web.
# docs-local imitates the 3-step docs build pipeline (generate → copy → build)
# locally without pushing. docs-hugo-drone-prep creates the ../hugo symlink required by
# the Hugo Docker image (hugomods/hugo:base-0.129.0).
# imitate a full docs build run locally without pushing to the web.
# this can help identify uncaught issues when running `make docs-serve` only.
.PHONY: docs-local # run all steps as drone would do it (1, 2, 3)
docs-local:
@@ -326,17 +328,6 @@ endif
mkdir -p ocis/dist
$(CALENS) --version $(CHANGELOG_VERSION) -o ocis/dist/CHANGELOG.md
.PHONY: changelog-lint
changelog-lint:
@FAILED=0; \
while IFS= read -r -d '' f; do \
title=$$(head -1 "$$f"); \
if [ $${#title} -gt 80 ]; then \
echo "$$f: title too long ($${#title}/80)"; FAILED=1; \
fi; \
done < <(find changelog -mindepth 2 -name "*.md" -print0); \
exit $$FAILED
.PHONY: changelog-csv
changelog-csv: $(CALENS)
mkdir -p ocis/dist
@@ -376,9 +367,6 @@ l10n-write:
$(MAKE) -C $$extension l10n-write || exit 1; \
done
.PHONY: ci-format
ci-format: $(BUILDIFIER)
$(BUILDIFIER) --mode=fix .drone.star
.PHONY: test-php-style
test-php-style: vendor-bin/owncloud-codestyle/vendor vendor-bin/php_codesniffer/vendor
+2 -2
View File
@@ -1,7 +1,7 @@
# ownCloud Infinite Scale
[![Matrix](https://img.shields.io/matrix/ocis%3Amatrix.org?logo=matrix)](https://app.element.io/#/room/#ocis:matrix.org)
[![Build Status](https://drone.owncloud.com/api/badges/owncloud/ocis/status.svg)](https://drone.owncloud.com/owncloud/ocis)
[![Build Status](https://github.com/owncloud/ocis/actions/workflows/acceptance-tests.yml/badge.svg)](https://github.com/owncloud/ocis/actions/workflows/acceptance-tests.yml)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=owncloud_ocis&metric=security_rating)](https://sonarcloud.io/dashboard?id=owncloud_ocis)
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=owncloud_ocis&metric=coverage)](https://sonarcloud.io/dashboard?id=owncloud_ocis)
[![Acceptance Test Coverage](https://sonarcloud.io/api/project_badges/measure?project=owncloud-1_ocis_acceptance-tests&metric=coverage)](https://sonarcloud.io/summary/new_code?id=owncloud-1_ocis_acceptance-tests)
@@ -108,7 +108,7 @@ See the [Install Infinite Scale on a Server](https://doc.owncloud.com/ocis/next/
Use this method to build and run an instance with the latest code. This is only recommended for development purposes.
The minimum go version required is `1.25.7`.\
The minimum go version required is `1.25.10`.\
Note that you need a C compile environment installed as a prerequisite because some dependencies, like reva, have components that require C-Go libraries and toolchains. The command installing for debian based systems is: `sudo apt install build-essential`.
To build and run a local instance with demo users:
@@ -1,4 +1,4 @@
Enhancement: Use default upload protocol instead of explicitly disabling tus
Enhancement: Use a default protocol parameter instead of explicitly disabling tus
https://github.com/cs3org/reva/pull/1331
https://github.com/owncloud/ocis/pull/1374
@@ -1,4 +1,4 @@
Enhancement: Added share_jail and projects feature flags in spaces capability
Enhancement: Added `share_jail` and `projects` feature flags in spaces capability
We've added feature flags to the `spaces` capability to indicate to clients which features are supposed to be shown to users.
@@ -2,4 +2,5 @@ Enhancement: Update to go 1.25
We have updated go to version 1.25 and alpine to version 3.23.3
https://github.com/owncloud/ocis/pull/12011
https://github.com/owncloud/ocis/pull/12004
@@ -1,8 +0,0 @@
Enhancement: Bump reva
Bumped reva to the latest version. This includes a refactoring of the
scope expansion and verification logic, as well as a fix for the
signature-auth propfind attribute that now correctly supports archive
downloads in password-protected public links.
https://github.com/owncloud/ocis/pull/12097
@@ -1,6 +0,0 @@
Enhancement: Bump Web to 12.3.2
- Enhancement [owncloud/ocis#11963](https://github.com/owncloud/ocis/issues/11963): Use signature auth
https://github.com/owncloud/ocis/pull/12074
https://github.com/owncloud/web/releases/tag/v12.3.2
@@ -1,6 +0,0 @@
Bugfix: Don't write empty externalID to LDAP
When creating new users in the graph service, the externalID attribute was being written to LDAP even when it was empty.
Now, the externalID attribute is only written when it has a non-empty value.
https://github.com/owncloud/ocis/pull/12085
@@ -1,5 +0,0 @@
Bugfix: Fix the internal links
We fixed the internal links access control
https://github.com/owncloud/ocis/pull/12231
@@ -1,5 +0,0 @@
Bugfix: Fix OCM share permission change notification
Fix the OCM share permission change notification handling.
https://github.com/owncloud/ocis/pull/12190
@@ -1,15 +0,0 @@
Bugfix: Fix space management middleware removing users from spaces on download
The space management middleware ran on every authenticated request, including
signed URL requests used for file downloads. Since signed URL auth does not
carry OIDC claims, the middleware interpreted the absence of claims as "user
should have no space access" and removed the user from all project spaces.
On the next OIDC request the user was re-added, causing an oscillating
add/remove cycle that led to intermittent download failures and transient
"space not found" errors.
The middleware now skips reconciliation entirely when no OIDC claims are
present in the request context.
https://github.com/owncloud/ocis/pull/12285
https://github.com/owncloud/ocis/issues/12285
@@ -1,6 +0,0 @@
Security: Bump Go to 1.25.10
Fixes CVE-2026-33811, CVE-2026-33814, CVE-2026-39820, CVE-2026-39836,
CVE-2026-42499.
https://github.com/owncloud/ocis/pull/12306
@@ -1,8 +0,0 @@
Bugfix: SpaceEditorWithoutTrashbin roles now correctly allow file editing
Fixed a bug where the *WithoutTrashbin space editor roles were rendered as read-only
in the Web frontend. The OCS PermissionWrite bit was not set for these roles because
the RoleFromResourcePermissions round-trip required RestoreRecycleItem, which these
roles intentionally omit.
https://github.com/owncloud/ocis/pull/12346
@@ -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,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
@@ -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,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,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,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/12663
@@ -1,12 +0,0 @@
Bugfix: Cache LDAP instance mapper lookups
In multi-instance deployments, resolving a user's instance name/ID during
`GET /graph/v1.0/users` (and group member expansion) issued a fresh, uncached
LDAP search per instance/guest attribute value on every request. Under load
this multiplied into large numbers of redundant LDAP round-trips per page of
users, saturating the LDAP connection pool and causing request timeouts. The
LDAP identity backend now caches instance mapper lookups, including negative
(not-found) results, for a configurable TTL
(`OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL`, default 60s).
https://github.com/owncloud/ocis/pull/12823
@@ -1,9 +0,0 @@
Bugfix: Fix share metadata corruption during concurrent share operations
When multiple sharing service replicas processed share operations concurrently
for the same user, the share metadata could become corrupted with references to
missing data, making all shares inaccessible to that user. The received share
cache now uses compare-and-swap (etag) validation to detect concurrent writes
and retries gracefully, preventing metadata corruption.
https://github.com/owncloud/ocis/pull/12621
@@ -1,8 +0,0 @@
Enhancement: Add TLS support for NATS store and registry connections
All `nats-js-kv` store, cache, and service registry connections now support
TLS. Configure via `OCIS_CACHE_ENABLE_TLS`, `OCIS_PERSISTENT_STORE_ENABLE_TLS`,
and `MICRO_REGISTRY_ENABLE_TLS`, with corresponding `*_TLS_INSECURE` and
`*_TLS_ROOT_CA_CERTIFICATE` variants per connection type.
https://github.com/owncloud/ocis/pull/12765
@@ -1,5 +0,0 @@
Security: Bump Go to 1.25.13
Fixes a stdlib CVE vulnerability flagged by the release image scan.
https://github.com/owncloud/ocis/pull/12832
@@ -1,6 +0,0 @@
Security: Bump golang.org/x/image to v0.45.0
Upgraded golang.org/x/image from v0.44.0 to v0.45.0 to address
GO-2026-6222: excessive memory allocation during VP8L decoding.
https://github.com/owncloud/ocis/pull/12808
@@ -4,4 +4,4 @@ Added a new space membership role "Can edit" (SpaceEditorWithoutVersionsWithoutT
that grants full editor permissions (create, upload, download, edit, move, delete) on a
space without access to file versions or the trashbin.
https://github.com/owncloud/ocis/pull/12245
https://github.com/owncloud/ocis/pull/12261
@@ -0,0 +1,7 @@
Enhancement: Add VaultMode permission
Add a new `VaultMode.ReadWriteEnabled` permission that gates the visibility of the
vault mode switcher in the web UI. The permission is assigned to the admin,
space admin and user roles. The user light role does not receive it.
https://github.com/owncloud/ocis/pull/12328
@@ -0,0 +1,7 @@
Bugfix: Don't index failed uploads
The search service was indexing uploads even when they failed. This caused
unnecessary index operations for incomplete or errored file transfers. The fix
skips indexing when the UploadReady event indicates the upload has failed.
https://github.com/owncloud/ocis/pull/12121
@@ -1,13 +0,0 @@
Bugfix: Remove the unmarshalable request body field from graph log messages
We've removed the `body` field from the log messages of the graph service's HTTP
handlers. The field was set from `http.Request.Body`, an `io.ReadCloser`, which
can never be serialized into a useful log value.
The tracing middleware replaces the request body with a wrapper that carries an
exported function field, so serializing it failed outright and the log line was
emitted with `"body": "marshaling error: json: unsupported type: func(int64)"`
instead of the payload. Without the tracing middleware the field serialized to an
empty object. In both cases the intended payload was never logged.
https://github.com/owncloud/ocis/pull/12918
@@ -1,28 +0,0 @@
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
@@ -1,25 +0,0 @@
Bugfix: Keep shares visible in sharedWithMe when a resource cannot be statted
The graph `sharedWithMe` handler resolves each received share by fanning out a per-resource
`Stat` call with a concurrency limit, all sharing the request context. When a `Stat` failed
for any reason (slow or stuck downstream, deleted space, gateway error, deadline exceeded)
the worker logged at debug and returned without emitting a drive item, so the share was
silently omitted from the response and the handler still returned `200 OK` with a partial,
non-deterministic list. A single chronically-slow share could therefore make other,
recently-accepted shares intermittently invisible, and repeated calls returned different
subsets of the user's shares.
The handler now:
- bounds each per-share `Stat` with its own timeout derived from the request context, so one
slow resource can no longer consume the deadline shared by all the other shares. The bound
is configurable via `GRAPH_RECEIVED_SHARES_STAT_TIMEOUT` (default `10s`);
- returns a degraded drive item built from the data already present in the share record
(ids, permissions, grantees, timestamps, mountpoint name) when the resource cannot be statted
due to a transient or indeterminate failure (timeout, slow or unavailable downstream), so the
share stays visible instead of intermittently disappearing. A genuinely missing resource or
revoked access (for example after the sharer was deleted) still drops the share, as before;
- logs the dropped/degraded shares at warning level with a per-request count for operator
visibility.
https://github.com/owncloud/ocis/pull/12430
@@ -0,0 +1,10 @@
Bugfix: Skip indexing of files still in postprocessing
When the search service re-indexed a space in response to an UploadReady
event, the walker visited sibling nodes whose blobs were not yet finalized
in the blobstore. Content extraction for those in-flight nodes triggered
spurious storage-users error logs (S3 NoSuchKey). The walker now skips
nodes marked as processing; they are indexed when their own UploadReady
event arrives.
https://github.com/owncloud/ocis/pull/00000
+8
View File
@@ -0,0 +1,8 @@
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
@@ -0,0 +1,5 @@
Enhancement: Add Keycloak to the ocis_full deployment example
Added Keycloak to the ocis_full deployment example.
https://github.com/owncloud/ocis/pull/12139
@@ -0,0 +1,6 @@
Enhancement: Add space ID to incoming shares
Added the `spaceId` to the incoming shares. This is aligning the graph API with the WebDAV API where the clients can use `spaceid` property.
This change allows clients to get the space ID directly instead of having to parse the resource ID.
https://github.com/owncloud/ocis/pull/12024
@@ -2,4 +2,4 @@ Enhancement: Add spaceid to REPORT
Added the `spaceid` to the REPORT responses. This is aligning the `REPORT` method with the `PROPFIND` method.
https://github.com/owncloud/ocis/pull/12241
https://github.com/owncloud/ocis/pull/12028
@@ -0,0 +1,5 @@
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.
https://github.com/owncloud/ocis/pull/12329
@@ -0,0 +1,11 @@
Enhancement: Add AI-assisted development guide
A new guide has been added to the oCIS documentation demonstrating how to build
web extensions using AI-assisted development with Claude AI. The guide covers
MCP connector setup, a five-phase development workflow, debugging techniques,
and contribution workflows.
This approach has been validated through real contributions including PR #11912
(photo metadata search backend) and web extensions PRs #305 and #306.
https://github.com/owncloud/ocis/pull/11941
@@ -0,0 +1,13 @@
Enhancement: Bump dependencies
Bumped Go and npm dependencies, including security fixes:
- `github.com/owncloud/reva/v2` to `v2.0.0-20260519092700-9da01c6fb954`
- `github.com/shamaton/msgpack/v2` v2.4.0 → v2.4.1 (CVE: denial of service)
- `filippo.io/edwards25519` v1.1.0 → v1.1.1
- `github.com/cloudflare/circl` v1.6.1 → v1.6.3
- `github.com/russellhaering/goxmldsig` v1.5.0 → v1.6.0
- `postcss`, `fast-uri`, `@babel/plugin-transform-modules-systemjs` (npm, via pnpm lock regen)
- GitHub Actions: `actions/upload-artifact` 4→7, `actions/download-artifact` 4→8, `pnpm/action-setup` 5→6, `fpicalausa/remove-stale-branches` 2.4→2.6
https://github.com/owncloud/ocis/pull/12325
@@ -0,0 +1,6 @@
Enhancement: Bump Web to 12.3.1
Bugfix [owncloud/web#13553](https://github.com/owncloud/web/pull/13553): Search Text Overalps With Search Icon In The Search Bar
https://github.com/owncloud/ocis/pull/12015
https://github.com/owncloud/web/releases/tag/v12.3.1
@@ -0,0 +1,8 @@
Enhancement: Disable public link sharing for vault resources
The `graph` service now rejects creating, updating, and setting passwords on
public links when the target resource lives in the vault storage provider.
Requests targeting a vault resource return `400 Bad Request` with the message
`public links are not allowed for vault resources`.
https://github.com/owncloud/ocis/pull/12321
@@ -0,0 +1,13 @@
Enhancement: Support numeric range queries in KQL
The KQL parser now supports numeric range queries using comparison
operators (>=, <=, >, <) on numeric fields. Previously, range operators
only worked with DateTime values, causing queries like `size>=1048576`
or `photo.iso>=100` to silently fail by falling through to free-text
search.
Affected numeric fields: Size, photo.iso, photo.fNumber,
photo.focalLength, photo.orientation.
https://github.com/owncloud/ocis/pull/12094
https://github.com/owncloud/ocis/issues/12093
@@ -5,4 +5,4 @@ The new `OCIS_LDAP_GROUP_ADDITIONAL_OBJECTCLASSES` / `GRAPH_LDAP_GROUP_ADDITIONA
environment variable accepts a list of extra objectClasses that are set alongside the
primary `GRAPH_LDAP_GROUP_OBJECTCLASS` when a new group is created in LDAP.
https://github.com/owncloud/ocis/pull/12242
https://github.com/owncloud/ocis/pull/12229
@@ -1,10 +0,0 @@
Enhancement: Add TLS support for the frontend stat cache store connection
The frontend service was the only remaining place where a `nats-js-kv` store
connection could not be secured. Its OCS stat cache forwarded the store type,
nodes, database, table, TTL and credentials to reva, but not the TLS settings,
so the connection stayed plaintext with no operator toggle to change it. The
stat cache now honours `OCIS_CACHE_ENABLE_TLS`, `OCIS_CACHE_TLS_INSECURE` and
`OCIS_CACHE_TLS_ROOT_CA_CERTIFICATE` like every other cache and store.
https://github.com/owncloud/ocis/pull/12777
@@ -0,0 +1,6 @@
Enhancement: Update web-extension images in ocis_fuill
The imgages for web-extensions have been updated for
the ocis_full deployment example.
https://github.com/owncloud/ocis/pull/12324
@@ -0,0 +1,11 @@
Enhancement: Optimize search index after bulk reindexing
After an `IndexSpace` walk completes, the search engine now triggers a
segment merge (compaction) on the bleve index. Over time, writes create
multiple index segments that degrade query performance. The new
`Optimize()` method calls bleve's `ForceMerge` to consolidate all
segments into one, improving subsequent search and lookup speed. This is
especially beneficial after bulk reindexing large spaces.
https://github.com/owncloud/ocis/pull/12104
https://github.com/owncloud/ocis/issues/12093
@@ -0,0 +1,12 @@
Enhancement: Add `ocis search optimize` CLI command
Added a new `ocis search optimize` command that compacts the search index
by merging Bleve segments, without re-indexing content. The command opens
the index directly (without requiring the search service to be running),
making it safe to run during maintenance windows without blocking search
queries.
This is useful after bulk reindexing operations that create many small
index segments, which can degrade search performance over time.
https://github.com/owncloud/ocis/pull/12136
@@ -0,0 +1,24 @@
Enhancement: Add blobstore CLI commands to storage-users service
Added two new CLI commands under `ocis storage-users blobstore` to help
operators verify and inspect the configured blobstore without needing
direct access to the underlying storage system.
`blobstore check` performs a full upload/download/delete round-trip using
a random payload. The payload size is configurable via `--blob-size` and
accepts human-readable values such as `64`, `1KB` or `4MiB` (default: 64 bytes).
`blobstore get` downloads a specific blob by its ID to verify it is
readable. The blob can be identified either with `--blob-id` and
`--space-id`, or by passing the raw blob path from a log line directly
via `--path`. Both the s3ng key format
(`<spaceID>/<pathified_blobID>`) and the ocis filesystem path format
(`…/spaces/<pathified_spaceID>/blobs/<pathified_blobID>`) are accepted.
When using the s3ng driver without a known blob size, an automatic retry
with the actual size is performed on a size mismatch.
Both commands read the existing service configuration, so they always
target the same blobstore as the running service. Only the `ocis` and
`s3ng` storage drivers are supported.
https://github.com/owncloud/ocis/pull/12102
@@ -0,0 +1,10 @@
Enhancement: Add vault capabilities to the OCS capabilities endpoint
Added `OCIS_ENABLE_VAULT_MODE` / `FRONTEND_ENABLE_VAULT_MODE` config option to
the frontend service. When enabled, the OCS capabilities endpoint advertises
`vault.enabled = true`. Clients can request vault-specific capabilities via
`/ocs/v2.php/cloud/capabilities?vault=true`, which returns a response with
public sharing and federation sharing disabled.
https://github.com/owncloud/ocis/pull/12283
https://github.com/owncloud/reva/pull/584
@@ -0,0 +1,15 @@
Enhancement: Add vault storage with MFA-protected access
Added a dedicated vault storage that can be protected with MFA. A separate
`storage-users` service instance configured in vault mode runs and serves
`/vault/users` and `/vault/projects` mount points with a dedicated
`VaultStorageProviderID`. The `graph` service gained a new vault mode
(`OCIS_ENABLE_VAULT_MODE`) that serves the vault API under the `/vault`
prefix. The storage registry now routes vault-specific requests exclusively to
the vault storage provider, preventing accidental access to vault spaces when
no explicit storage ID is provided.
MFA status is propagated through gRPC metadata
and forwarded in HTTP headers for WOPI/collaboration flows.
https://github.com/owncloud/ocis/pull/12108
@@ -0,0 +1,8 @@
Enhancement: Add web extensions deployment configuration
We added deployment configuration for the photo-addon and advanced-search web
extensions to the ocis_full example. This includes Docker compose files for
both extensions and CSP configuration for OpenStreetMap tiles required by the
photo-addon map feature.
https://github.com/owncloud/ocis/pull/11940
@@ -0,0 +1,11 @@
Bugfix: Skip corrupt 0-byte .mpk metadata files instead of aborting list operations
Listing a folder that contained a node with a 0-byte `.mpk` metadata file
previously aborted the entire list operation, which could break a COPY of a
large folder structure partway through. The metadata read now returns an
error for empty `.mpk` files, allowing the existing skip-on-error logic in
the tree walker to log a warning and skip the broken node instead of
aborting the listing.
https://github.com/owncloud/reva/pull/599
https://github.com/owncloud/ocis/pull/12326
+6
View File
@@ -0,0 +1,6 @@
Bugfix: Fix CreateHome cache
Move the CreateHome middleware cache to the proxy.
https://github.com/owncloud/ocis/pull/12128
https://github.com/owncloud/reva/pull/562
+5
View File
@@ -0,0 +1,5 @@
Bugfix: Fix CSP blocking bundled KaTeX font
The default Content Security Policy blocked the bundled KaTeX math font (used by the md-editor) because it is inlined as a `data:` URI in the Web UI CSS. Added `data:` to the `font-src` directive to resolve the console error on every page load. Users with custom CSP files (`PROXY_CSP_CONFIG_FILE_LOCATION`) will need to add `data:` to their `font-src` directive manually.
https://github.com/owncloud/ocis/pull/12070
@@ -0,0 +1,9 @@
Bugfix: Avoid superfluous GetPublicShare call when deleting space permissions
We fixed `DeletePermission` to recognise space permission IDs (prefixed with
`u:` or `g:`) by their format before making any gateway calls. Previously,
deleting a space member always triggered a `GetPublicShare` lookup that was
guaranteed to fail, producing a confusing error log.
https://github.com/owncloud/ocis/pull/12122
https://github.com/owncloud/ocis/issues/12012
@@ -0,0 +1,5 @@
Bugfix: Make tag unassignment idempotent and handle publish failures
The DELETE tags endpoint now returns success when the requested tag is already absent from the file's metadata, instead of returning HTTP 400 with a misleading error message. The TagsRemoved event is always published so the search index stays in sync even when file metadata and the search index are out of sync. If event publishing fails, the metadata change is rolled back and HTTP 500 is returned to avoid leaving the system in an inconsistent state.
https://github.com/owncloud/ocis/pull/12001
@@ -0,0 +1,11 @@
Enhancement: Allow resetting IDM service user passwords
The `ocis idm resetpassword` command now supports a `--user-type` flag
to select the account type: `user` (default, ou=users) or `service`
(ou=sysusers). This allows resetting passwords for service accounts
(libregraph, idp, reva) which live in `ou=sysusers`. Previously, the
DN was hardcoded to `ou=users`, making it impossible to reset service
user passwords via the CLI.
https://github.com/owncloud/ocis/pull/12118
https://github.com/owncloud/ocis/issues/12106
@@ -0,0 +1,10 @@
Bugfix: Fix IDP build on FreeBSD by disabling absolute Babel runtime
The `babel-preset-react-app` preset defaults to `absoluteRuntime: true`,
which hardcodes absolute paths to `@babel/runtime` helpers. These paths
fail to resolve on non-Linux platforms like FreeBSD. Setting
`absoluteRuntime: false` makes Babel resolve the runtime relative to
the source file, which works across all platforms.
https://github.com/owncloud/ocis/pull/12114
https://github.com/owncloud/ocis/issues/12065
@@ -1,6 +0,0 @@
Bugfix: Correct introduction version for OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL
We changed the documented introduction version of the
OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL from 8.0.0 to 8.3.0.
https://github.com/owncloud/ocis/pull/12949
@@ -0,0 +1,10 @@
Enhancement: Log effective data and config paths at startup
oCIS now logs the effective data path and config path at startup so
operators can immediately verify that data is written to the expected
location. This helps catch misconfigured Docker volume mounts where
data silently falls back to an ephemeral container path instead of
the intended persistent mount.
https://github.com/owncloud/ocis/pull/12117
https://github.com/owncloud/ocis/issues/12044
@@ -0,0 +1,6 @@
Bugfix: Translation for some email notifications
Some email notifications showed a wrong translated message that shouldn't appear.
It's fixed so that message won't appear anymore.
https://github.com/owncloud/ocis/pull/11979
@@ -0,0 +1,8 @@
Bugfix: Fix postprocessing resume command --restart flag
The `--restart` / `-r` flag for `ocis postprocessing resume` was broken due to a flag
name mismatch (`retrigger` vs `restart`) and silently did nothing. This has been fixed
and the command now prints a confirmation message on success.
https://github.com/owncloud/ocis/issues/11692
https://github.com/owncloud/ocis/pull/12002
@@ -0,0 +1,7 @@
Bugfix: Search no longer disabled when OCIS_DISABLE_PREVIEWS=true
Setting OCIS_DISABLE_PREVIEWS=true removed the WebDAV REPORT routes from
the router, breaking search on /dav/files, /dav/spaces and /webdav. The
search routes are now registered independently of the preview flag.
https://github.com/owncloud/ocis/pull/12303
@@ -0,0 +1,26 @@
Bugfix: Prevent incomplete Tika extractions from permanently blocking re-index
When Tika returned HTTP 200 but its child processes (OCR, ImageMagick)
failed due to resource limits, the search index received metadata but
no content. The document was written to Bleve with the correct mtime,
and subsequent reindexes skipped it because the id+mtime check passed.
This left files permanently stuck as "indexed" with no searchable
content.
Two fixes are applied:
1. Validate Tika responses: if `MetaRecursive()` returns an empty
metadata list, it is now treated as an extraction error so the
document is not written to the index.
2. Add an `Extracted` field to indexed resources. It is set to `true`
only after successful extraction. The reindex skip check now requires
`Extracted:true`, so incompletely indexed documents are automatically
re-processed on the next reindex run.
Note: existing search indexes will trigger a full re-extraction on the
next reindex because documents written before this change lack the
`Extracted` field.
https://github.com/owncloud/ocis/pull/12095
https://github.com/owncloud/ocis/issues/12093
@@ -0,0 +1,11 @@
Bugfix: Use O(1) document lookup instead of full search during reindexing
The `IndexSpace` bulk reindexer was using a full KQL search query per file
to check whether re-extraction was needed. On large indexes this query
took 600–950ms each, making a 61,000-file space take ~13.5 hours just to
walk. Replaced the per-file `Search()` call with an O(1) `Lookup()` using
Bleve's `DocIDQuery`, then comparing mtime and extraction status in memory.
This reduces per-file check time from ~800ms to <1ms.
https://github.com/owncloud/ocis/pull/12096
https://github.com/owncloud/ocis/issues/12093
@@ -0,0 +1,5 @@
Bugfix: Fix case-sensitive photo metadata search
Searching for photo metadata fields like camera make/model was case-sensitive, so searching for "google" would not match a camera make stored as "Google". Changed the photo string field analyzer from `keyword` to `lowercaseKeyword` so both indexed values and search terms are lowercased. Existing Bleve indexes need to be rebuilt after this change.
https://github.com/owncloud/ocis/pull/12078
@@ -0,0 +1,11 @@
Bugfix: Always descend into directories during space reindexing
The search indexer's `IndexSpace` walk previously used `filepath.SkipDir`
to skip entire directory subtrees when the directory itself was already
indexed. After a failed or interrupted indexing run (e.g. Tika crash),
this caused thousands of unindexed files to be permanently skipped
because the parent directory's mtime had not changed. The indexer now
always descends into directories, relying on the O(1) per-file DocID
lookup to skip already-indexed files efficiently.
https://github.com/owncloud/ocis/pull/12119
@@ -0,0 +1,19 @@
Bugfix: Extract metadata from oversized files and fix ISO field
Two issues were found in the Tika content extractor:
1. Files exceeding `SEARCH_CONTENT_EXTRACTION_SIZE_LIMIT` (default 20MB)
were skipped entirely — no EXIF, no photo metadata, no image dimensions
were extracted. This particularly affected Pixel Motion Photos (`.MP.jpg`)
which embed an MP4 video making them 3-9MB. Since EXIF metadata lives in
the JPEG header (first few KB), a truncated stream is sufficient. The
extractor now wraps the download in `io.LimitReader` instead of skipping
Tika, sending only the first N bytes for metadata extraction.
2. The ISO speed field was read from `"Base ISO"`, a Canon-specific Tika
field (sensor base sensitivity). Most cameras — Pixel, iPhone, Samsung —
provide ISO via the standard `"exif:IsoSpeedRatings"` field. The extractor
now checks `exif:IsoSpeedRatings` first and falls back to `Base ISO` for
Canon compatibility.
https://github.com/owncloud/ocis/pull/12000
@@ -0,0 +1,11 @@
Security: Add X-XSS-Protection header
Added the X-XSS-Protection header set to "0" to explicitly disable the
deprecated browser XSS filter, which can introduce side-channel
vulnerabilities. Modern XSS protection is provided through the
Content-Security-Policy header.
This change addresses security audit findings requiring explicit
configuration of HTTP security headers per OWASP recommendations.
https://github.com/owncloud/ocis/pull/12092
@@ -0,0 +1,5 @@
Bugfix: Fix typo in README
Fixed a typo in the README documentation.
https://github.com/owncloud/ocis/pull/12263
@@ -0,0 +1,13 @@
Enhancement: Add ResourceID field to UploadReady event
The UploadReady NATS event now includes a `ResourceID` field containing the
file's actual resource identifier (with the correct node OpaqueId). Previously,
only `FileRef` was available, whose `ResourceId.OpaqueId` is set to the space
root ID (required for CS3 gateway path resolution). Consumers that need the
file's unique identifier for Graph API or WebDAV operations can now use
`ResourceID.OpaqueId` directly.
https://github.com/owncloud/ocis/pull/12060
https://github.com/owncloud/ocis/issues/12056
https://github.com/owncloud/reva/pull/547
https://github.com/owncloud/reva/pull/560
@@ -0,0 +1,12 @@
Bugfix: Rework monitoring in the ocis_full deployment example
The ocis_full deployment example has been basically reworked for how to provide monitoring.
We now have:
- a singe place for the definition of the tracing envvars for all ocis related container services
- an easy and modular setup defining which sources should be inlcuded in monitoring via .env
- comments describing the setup for the ease extending it
- the monitoring definition in .env has been moved to the bottom and the compose_file assembly
has monitoring as last entry now to guarantee nothing gets overwritten by accident
https://github.com/owncloud/ocis/pull/11995
@@ -0,0 +1,6 @@
Enhancement: Update images in the ocis_full deployment example
- Update the docker images for core services and web-extensions
- Moving all default image definitions (latest) into the .env file for consistency
https://github.com/owncloud/ocis/pull/12123
@@ -3,4 +3,4 @@ Bugfix: Expose the signature-auth attribute
Expose the "oc:signature-auth" attribute for the subfolders in the public link propfinds.
This is a necessary change to be able to support archive downloads in password protected public links.
https://github.com/owncloud/ocis/pull/12052
https://github.com/owncloud/ocis/pull/12016
Loaded 100 of 2766 files, more files were not shown because too many files have changed in this diff. Show more