Compare commits

..
Author SHA1 Message Date
dependabot[bot] bc97ff2cae build(deps): bump the minor-and-patch group across 1 directory with 13 updates
Bumps the minor-and-patch group with 13 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github.com/davidbyttow/govips/v2](https://github.com/davidbyttow/govips) | `2.19.0` | `2.20.0` |
| [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) | `1.4.15` | `1.4.16` |
| [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) | `5.3.2` | `5.5.0` |
| [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) | `2.31.0` | `2.32.0` |
| [github.com/kovidgoyal/imaging](https://github.com/kovidgoyal/imaging) | `1.8.23` | `1.9.0` |
| [github.com/leonelquinteros/gotext](https://github.com/leonelquinteros/gotext) | `1.7.2` | `1.8.0` |
| [github.com/libregraph/lico](https://github.com/libregraph/lico) | `0.68.0` | `0.69.0` |
| [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) | `2.33.0` | `2.33.1` |
| [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) | `1.21.1` | `1.21.4` |
| [github.com/shamaton/msgpack/v2](https://github.com/shamaton/msgpack) | `2.4.2` | `2.4.4` |
| [golang.org/x/exp](https://github.com/golang/exp) | `0.0.0-20260908205506-85c1c2202aba` | `0.0.0-20261014143641-f0251eb4aa3e` |
| [golang.org/x/image](https://github.com/golang/image) | `0.46.0` | `0.47.0` |
| [google.golang.org/genproto/googleapis/api](https://github.com/googleapis/go-genproto) | `0.0.0-20260928230214-8a89bd6388cc` | `0.0.0-20261012220534-4341edf3f941` |



Updates `github.com/davidbyttow/govips/v2` from 2.19.0 to 2.20.0
- [Release notes](https://github.com/davidbyttow/govips/releases)
- [Commits](https://github.com/davidbyttow/govips/compare/v2.19.0...v2.20.0)

Updates `github.com/gabriel-vasile/mimetype` from 1.4.15 to 1.4.16
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases)
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.4.15...v1.4.16)

Updates `github.com/go-chi/chi/v5` from 5.3.2 to 5.5.0
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.3.2...v5.5.0)

Updates `github.com/grpc-ecosystem/grpc-gateway/v2` from 2.31.0 to 2.32.0
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.31.0...v2.32.0)

Updates `github.com/kovidgoyal/imaging` from 1.8.23 to 1.9.0
- [Release notes](https://github.com/kovidgoyal/imaging/releases)
- [Commits](https://github.com/kovidgoyal/imaging/compare/v1.8.23...v1.9.0)

Updates `github.com/leonelquinteros/gotext` from 1.7.2 to 1.8.0
- [Release notes](https://github.com/leonelquinteros/gotext/releases)
- [Commits](https://github.com/leonelquinteros/gotext/compare/v1.7.2...v1.8.0)

Updates `github.com/libregraph/lico` from 0.68.0 to 0.69.0
- [Changelog](https://github.com/libregraph/lico/blob/master/CHANGELOG.md)
- [Commits](https://github.com/libregraph/lico/compare/v0.68.0...v0.69.0)

Updates `github.com/onsi/ginkgo/v2` from 2.33.0 to 2.33.1
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.33.0...v2.33.1)

Updates `github.com/open-policy-agent/opa` from 1.21.1 to 1.21.4
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v1.21.1...v1.21.4)

Updates `github.com/shamaton/msgpack/v2` from 2.4.2 to 2.4.4
- [Release notes](https://github.com/shamaton/msgpack/releases)
- [Changelog](https://github.com/shamaton/msgpack/blob/v2.4.4/CHANGELOG.md)
- [Commits](https://github.com/shamaton/msgpack/compare/v2.4.2...v2.4.4)

Updates `golang.org/x/exp` from 0.0.0-20260908205506-85c1c2202aba to 0.0.0-20261014143641-f0251eb4aa3e
- [Commits](https://github.com/golang/exp/commits)

Updates `golang.org/x/image` from 0.46.0 to 0.47.0
- [Commits](https://github.com/golang/image/compare/v0.46.0...v0.47.0)

Updates `google.golang.org/genproto/googleapis/api` from 0.0.0-20260928230214-8a89bd6388cc to 0.0.0-20261012220534-4341edf3f941
- [Commits](https://github.com/googleapis/go-genproto/commits)

---
updated-dependencies:
- dependency-name: github.com/davidbyttow/govips/v2
  dependency-version: 2.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/gabriel-vasile/mimetype
  dependency-version: 1.4.16
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/go-chi/chi/v5
  dependency-version: 5.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-version: 2.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/kovidgoyal/imaging
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/leonelquinteros/gotext
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/libregraph/lico
  dependency-version: 0.69.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-version: 2.33.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/open-policy-agent/opa
  dependency-version: 1.21.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/shamaton/msgpack/v2
  dependency-version: 2.4.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: golang.org/x/exp
  dependency-version: 0.0.0-20261014143641-f0251eb4aa3e
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: golang.org/x/image
  dependency-version: 0.47.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: google.golang.org/genproto/googleapis/api
  dependency-version: 0.0.0-20261012220534-4341edf3f941
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-30 13:58:52 +00:00
7d9b63b856 ci: add zizmor workflow audit (#13232)
* ci: add zizmor workflow audit

Runs zizmor over this repository's workflows and Dependabot config on
every pull request, on pushes to the default branch and weekly, through
owncloud/reusable-workflows' zizmor.yml. Any finding fails the check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <323649642+oc-tmueller@users.noreply.github.com>

* fix(ci): resolve zizmor findings

- excessive-permissions: workflows without a permissions block ran
  with the repository default, which is read/write. They now default
  to contents: read; only create-github-release gets contents: write,
  for softprops/action-gh-release. audit-release only GETs the
  published release, which read covers.
- cache-poisoning: the release workflow's setup-node steps opt out of
  package-manager caching, so a tag build cannot restore a cache that a
  branch build wrote.
- artipacked: checkouts do not persist credentials. No job runs a git
  operation after checkout.
- dependabot-cooldown: every ecosystem waits 7 days, as github-actions
  already does.
- ref-version-mismatch: setup-php's tag is 2.40.0, without the v.
- self-repository: local reusable workflows and actions are called as
  $/... instead of ./... .
- Suppressed inline, with the reason on the line: the unpinned
  `npm install -g yarn npx` in the release workflow (pre-existing, left
  to the maintainers), the version-pinned gherlint install, and the
  softprops release step, which CI cannot exercise.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <323649642+oc-tmueller@users.noreply.github.com>

* fix(ci): undo two zizmor auto-fix slips, keep scheduled runs

- zizmor's template-injection auto-fix read `${{ }}` inside a shell
  comment in determine-release-type as an expansion: it added an env
  entry reading that job's own output, which is always empty, and
  rewrote the comment to describe something no longer true. The entry
  is gone and the comment describes the env indirection the later jobs
  now use, with the version check as a second safeguard.
- Only pull request runs of the zizmor audit cancel each other now; a
  push to master and the weekly run share a ref.

The previous commit's message is incomplete: it lists a self-repository
change this repository did not need, and omits the auto-fixed
template-injection findings (expressions in run: moved to env: in
release.yml, release-npm-packages.yml and acceptance-tests.yml) and the
cache-poisoning fix also turning off setup-go's cache in the release
jobs, so a tag build cannot restore a cache a branch build wrote.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Thomas Müller <323649642+oc-tmueller@users.noreply.github.com>

---------

Signed-off-by: Thomas Müller <323649642+oc-tmueller@users.noreply.github.com>
Co-authored-by: Thomas Müller <323649642+oc-tmueller@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:55:39 +01:00
Firas Frikha 913e9b83bf fix(graph): [OCISDEV-1601] let teachers of other schools receive vault shares before their first login (#13273)
* fix(graph): [OCISDEV-1601] let teachers of other schools receive vault shares before their first login

* chore: [OCISDEV-1601] add changelog entry

* fix(graph): [OCISDEV-1601] harden the guest vault role assignment

* docs(graph): [OCISDEV-1601] shorten the description of the guest role mapping

* fix(graph): [OCISDEV-1601] read the userClass with a separate backend method

* fix(graph): [OCISDEV-1601] assign the guest vault role around the share creation

* docs(graph): [OCISDEV-1601] describe that only the guest role mapping is used

* docs(graph): [OCISDEV-1601] document how graph applies the guest role mapping

* refactor: [OCISDEV-1601] share the guest role mapping between proxy and graph

* refactor(graph): [OCISDEV-1601] fix the linter findings of the guest vault role

* fix(graph): [OCISDEV-1601] keep the guest vault role once the share exists
2026-10-30 11:44:40 +01:00
Kavita gautam 15dacf5295 [tests-only][full-ci][k8s] test: Run e2e vault-storage on K8s deployment (#13088)
* test: run e2e vault-storage on K8s deployment

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

* test: add suite specific external services and proxy readyz

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

* test: directly specifying the readyz url

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

---------

Signed-off-by: Kavita Gautam <kavita@jankaritech.com>
2026-10-30 14:18:46 +05:45
LarsJurgensen ef9b4f7fc9 chore(deps): [OCISDEV-1392] bump reva (#13272) 2026-10-29 13:18:22 +01:00
Matteo 633837b3e1 revert(web): restore go redirect link in help menus (#13254)
* revert(web): restore go redirect link in help menus

Reverts the hard-coded documentation URLs from #13241. The help menus link to doc.owncloud.com/go?to=webui-users-sharing again, so the target can be maintained by the docs redirect instead of in web.

Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>

* chore: remove changelog of reverted help menu link fix

Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>

---------

Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-29 11:52:26 +01:00
Michal Klos 6b28863fa5 fix(graph): [OCISDEV-1542] LDAP user search: make email, surname configurable (#13219)
Signed-off-by: Michal Klos <michal.klos@kiteworks.com>
2026-10-29 09:48:00 +00:00
Roman PerekhodandClaude Sonnet 5.5 579249bd1e ci: ignore CVE-2026-116587 for go-jose/v3 in the Trivy scan (#13267)
Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-29 09:38:41 +01:00
Pujitha PaladuguandPujitha Paladugu f6df02372c fix(deployments): pass SMTP password and authentication in ocis_full example (#13222)
Motivation: the ocis_full example defines SMTP_PASSWORD and SMTP_AUTHENTICATION
in .env but the ocis service did not forward them, so an SMTP server requiring
authentication could not be configured through this example.

Approach: add NOTIFICATIONS_SMTP_PASSWORD and NOTIFICATIONS_SMTP_AUTHENTICATION
to the ocis environment block next to the other NOTIFICATIONS_SMTP_* entries,
document accepted authentication values in .env, and add a changelog entry.
An empty SMTP_AUTHENTICATION is treated as 'auto' by the notifications service,
so existing setups that leave it unset behave as before.

Validation: parsed ocis.yml with python yaml and confirmed both variables are
present in the ocis environment. I could not run docker compose or an
authenticated SMTP server here (docker is not installed), so end-to-end mail
delivery was not exercised; I checked the variable names against the env tags
in services/notifications/pkg/config/config.go and the empty-value handling in
services/notifications/pkg/channels/channels.go.

Report: https://github.com/owncloud/ocis/issues/11757

Assisted-by: claude-sonnet-5-5 (via Claude Code)

Signed-off-by: Pujitha Paladugu <10557236+pujitha24@users.noreply.github.com>
Co-authored-by: Pujitha Paladugu <10557236+pujitha24@users.noreply.github.com>
2026-10-28 17:51:10 +01:00
Firas Frikha 9469149f39 fix(deps): bump go-jose/v4 to v4.1.6 for CVE-2026-116587 (#13256)
* fix(deps): bump go-jose/v4 to v4.1.6 for CVE-2026-116587

* fix(deps): bump golang.org/x/net to v0.62.0 for GO-2026-6860 and GO-2026-6866
2026-10-28 10:08:47 +01:00
Roman PerekhodandClaude Opus 5.5 4680d9d905 fix(proxy): [OCISDEV-1464] fix the role assignment of multi-instance guests (#13250)
* fix(proxy): [OCISDEV-1464] fail on an unknown multi-instance guest role

The OIDC role assigner did not check that OCIS_MULTI_INSTANCE_GUEST_ROLE
exists. When the guest role name is wrong, the role name has no role id.
The proxy then sent AssignRoleToUser with an empty RoleId on each request.

The role assigner now returns an "unknown role" error and does not change
the role assignment. A test covers a guest that no guest role mapping
matches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(proxy): [OCISDEV-1464] check the guest role mapping more strictly

GuestRoleMapping now trims the spaces around the claim value and the
role name. The env var parser trims list elements, but the yaml parser
does not. Before this change, the yaml entry "spaceadmin: user-light-vault"
gave the role name " user-light-vault", and each matching guest login
failed with "unknown role".

GuestRoleMapping now also rejects a mapping when
OCIS_MULTI_INSTANCE_GUEST_ROLE is empty. The role assigner applies the
mapping only to users that get the guest role. Without a guest role, the
proxy ignored the mapping and gave guests a member role.

gofmt also fixes the indent of a TODO comment in the same file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(proxy): [OCISDEV-1464] log why the guest role mapping does not apply

mapGuestRole dropped the extractRoles error without a log line. When
PROXY_ROLE_ASSIGNMENT_OIDC_CLAIM had a wrong claim name, each guest kept
the guest role, and the admin could not find the cause.

mapGuestRole now writes a debug log line with the claim name and the
error. A guest without a roles claim is valid, and the role assigner runs
on each request, so the log level is debug and not warning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(proxy): [OCISDEV-1464] tell that guest claim values are regexes

The guest role mapping uses the same claim matcher as the role mapping.
A claim value is an exact string or a regular expression that must match
the full claim value. The description of
OCIS_MULTI_INSTANCE_GUEST_ROLE_MAPPING did not tell this. An admin who
writes 'school.admin' also matches the claim 'schoolXadmin', and that
guest can get a role with more permissions.

The description now tells that claim values are regexes. It also tells
the admin to escape regex metacharacters in an exact string.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(proxy): [OCISDEV-1464] read the roles again for an unknown guest role

The OIDC role assigner checks the guest role and the mapped guest role
against a role cache with a 5 minute TTL. A role that an admin created
after the last cache read was unknown. For up to 5 minutes, each request
of a matching guest failed with "unknown role" and HTTP 500.

The new function guestRoleName reads the roles again one time when the
role is unknown. It reads the roles again only when the cache is older
than 30 seconds. Thus a role that does not exist causes a maximum of one
ListRoles request in 30 seconds, and not one request for each guest
request. The check for an unknown guest role moves into guestRoleName.

roleNamesToRoleIDs now has a maxAge parameter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs: [OCISDEV-1464] add the changelog for the guest role mapping fixes

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 09:44:32 +01:00
Matteo 64b18f5432 fix(web): [OCISDEV-1581] fix copy link in EPUB library book details (#13239)
Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-28 08:23:08 +01:00
Michal Klos a065ed0962 fix(graph): [OCISDEV-1519] include OCM federated users in vault-eligible sharee search (#13135) 2026-10-27 13:44:45 +00:00
Matteo 887145f143 fix(web): [OCISDEV-1583] restore trash items with the same name without conflicts (#13238)
* fix(web): [OCISDEV-1583] restore trash items with the same name without conflicts

Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-27 13:28:08 +01:00
Matteo 1986da8657 fix(web): [OCISDEV-1589] fix broken Read more link in help menus (#13241)
Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-27 13:27:34 +01:00
Roman Perekhod 36a034fa83 feat: [OCISDEV-1586] added the vault support to the ocis_multi (#13243)
Added the vault support to the ocis_multi deployment exaple
2026-10-27 09:57:36 +01:00
Firas Frikha dd6fa31ac9 feat: [OCISDEV-1464] Assign multi-instance guests a role based on their claims (#13231) 2026-10-27 07:50:55 +00:00
Gaurav Soni cdaba15e35 fix(web): [OCISDEV-1183] stop logging OAuth tokens to the browser console (#13233)
* fix(web): [OCISDEV-1183] stop logging OAuth tokens to the browser console

On every login and silent token renewal, the web client wrote the user's raw
access and refresh tokens to the browser console via console.debug. The
userLoaded handler now logs a static message without any token or user data.

Signed-off-by: Gaurav Soni <sonigaurav119@gmail.com>

* docs: [OCISDEV-1183] add PR link to changelog

Signed-off-by: Gaurav Soni <sonigaurav119@gmail.com>

---------

Signed-off-by: Gaurav Soni <sonigaurav119@gmail.com>
2026-10-26 15:54:06 +00:00
Gaurav Soni efe85baed9 fix(web): [OCISDEV-1187] disable confirm in link password dialog when empty (#13218)
The link "Add password" / "Edit password" dialog could be confirmed, by
button or Enter, while the field was still empty, which removed the
password from the link. Confirm now starts disabled, and Enter only
confirms when the password policy is fulfilled, same as the button.

Signed-off-by: Gaurav Soni <sonigaurav119@gmail.com>
2026-10-26 14:24:14 +01:00
Matteo 486fa4811c chore: bump zod to 4.6.7 and happy-dom to 21.0.4 (#13227)
happy-dom 21 serializes var() fallbacks with a space after the comma,
so adjust the tag colour style assertions accordingly.

Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-26 11:40:32 +01:00
Lukas Hirt bacd899092 test: [OCISDEV-1558] wait for account page content before running a11y checks (#13161) 2026-10-25 12:16:22 +01:00
Matteo 6c1dfdc38c fix(web): [OCISDEV-1579] show a definitive no-permission message for inaccessible space trash (#13217) 2026-10-25 03:14:26 +01:00
owncloud-translations-bot[bot] 390614e9d0 chore: update translations from transifex (#13212)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-23 16:56:50 +00:00
Matteo 45e2b94b5e chore: bump dompurify to version 3.4.17 (#13216)
Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-23 09:30:08 +02:00
Gaurav Soni e609fefa8c feat(web): [OCISDEV-1417] make "Shared by" sortable in Shared with me (#13213)
The "Shared by" column in Shared with me could not be sorted. It now sorts
A to Z (Z to A on a second click) by all sharers' names in alphabetical
order, the same rule as "Shared with", so items shared by several people
stay in a stable place while the avatars keep their current order. Sorting
by "Shared with" also no longer reorders that column's avatars.

Signed-off-by: Gaurav Soni <sonigaurav119@gmail.com>
2026-10-22 11:31:47 +02:00
Matteo 2d8841f490 chore(web): bump vite to 7.3.7 and markdown-it to 14.3.3 (#13206)
Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-21 10:45:18 +02:00
Roman PerekhodandClaude Sonnet 5.5 00567fa575 feat: [full-ci] [OCISDEV-1563] remove the owncloudsql driver (#13191)
Remove the deprecated owncloudsql driver configuration from the storage-users,
auth-basic, users, groups and sharing services and from the migrate command.

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 09:53:26 +02:00
owncloud-translations-bot[bot] 4f7de832a8 chore: update translations from transifex (#13196)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-21 07:06:16 +00:00
Matteo 46684067e9 fix(collaboration): [OCISDEV-1550] fix closing a shared document from the office editor (#13198)
Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-21 08:19:05 +02:00
Lukas Hirt dcdf6d4854 fix(web): [OCISDEV-1036] point npm package repository metadata to ocis (#13201)
The packages are now published from owncloud/ocis, but their repository
and homepage fields still referenced owncloud/web. npm trusted publishing
requires repository.url to exactly match the publishing repository, and
the first publish attempt (tsconfig 0.0.7) failed with a 404.

Also disable setup-node package manager caching in the release workflow,
as recommended for release builds.

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-10-20 11:31:55 +02:00
Lukas Hirt 3a62b3aafc chore(web): bump npm package versions for release (#13194)
Bump versions of the published @ownclouders packages to verify the npm
trusted publisher setup.

- web-client, web-pkg, web-test-helpers, design-system: 13.0.0
  (axios replaced by native fetch, vue3-gettext 2 -> 4)
- eslint-config, extension-sdk: 12.5.1
- babel-preset, prettier-config: 0.0.2
- tsconfig: 0.0.7

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-10-20 10:27:22 +02:00
Matteo dd3989444d fix(web): [OCISDEV-1541] redirect vault root to default app (#13192)
* fix(web): [OCISDEV-1541] redirect vault root to default app

Signed-off-by: Matteo <matteo.sonnenholzner@kiteworks.com>
2026-10-20 08:28:22 +02:00
LarsJurgensen 5ed476c35e fix(graph): [OCISDEV-1561] tolerate preferred language lookup failures 2026-10-19 15:03:25 +02:00
owncloud-translations-bot[bot] 1ed8498d7d chore: update translations from transifex (#13183)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-19 09:51:00 +00:00
Lukas Hirt f6a3aa694e test: [OCISDEV-1559] mark project spaces e2e journey as slow (#13162)
The 'unstructured collection of testable space interactions' test runs about 80 UI steps across two spaces and takes ~150s of its 180s budget, so slow CI runners made it time out. Mark it with test.slow(), as done for the other long journeys.

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-10-19 09:39:19 +02:00
MartinandMichal Klos d2d82ba95e docs: final removal of any docs related content (#13165)
* feat: final removal of any docs related content

* docs: fixes from codereview

* chore: remove dead protoc-gen-doc references, drop stale buf.gen.yaml warning

The buf.gen.yaml warning comment is incorrect: the bare plugin paths are
intentional, resolved at build time by the symlink protoc-deps creates via
`bingo get -l` before buf generate ever runs.

Removing the doc plugin block left protoc-gen-doc dead: nothing generates
with it anymore, but protoc-deps still installed/symlinked it and its
.bingo lock files were still committed.

See: https://github.com/owncloud/ocis/pull/13165#issuecomment-6218074157

---------

Co-authored-by: Michal Klos <michal.klos@kiteworks.com>
2026-10-16 17:04:41 +00:00
13d3481cfb chore(ci): set dependabot cooldown for github-actions (#13177)
A 7-day cooldown is already imposed before a newly-released GitHub
action may be used, but Dependabot's default cooldown is only 3 days,
so it raises github-actions PRs whose CI fails. Same change as
owncloud/core#41905.

Signed-off-by: Thomas Müller <323649642+oc-tmueller@users.noreply.github.com>
Co-authored-by: Thomas Müller <323649642+oc-tmueller@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 18:33:05 +02:00
Roman PerekhodandClaude Opus 4.8 ee5da2733f fix: [OCISDEV-1053] Warn when resetting a service user password locks out login (#13176)
fix(idm): sync bind config when resetting a service user password

Resetting an IDM service user password with `ocis idm resetpassword
--user-type service` only changed the entry in the IDM directory. Services
such as auth-basic, users and groups still bound to LDAP as the reva service
user using the old bind_password from their configuration, so after a restart
those binds failed and regular admin login started returning 401 Unauthorized.

The command now rewrites the matching bind_password and service_user_passwords
keys in ocis.yaml when it is present, and always prints the environment
variables that must carry the new password for env-var and distributed
deployments it cannot rewrite.

Fixes: https://github.com/owncloud/ocis/issues/12569

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-16 15:20:41 +00:00
Roman Perekhod 720e1ee0b3 fix: Remove the unmarshalable request body field from graph log messages (#12915) 2026-10-16 14:07:44 +00:00
Michal Klos 08b6313c8b fix(graph): [OCISDEV-1506] enforce $filter before cross-instance user resolution (#13154) 2026-10-16 14:39:40 +02:00
Prajwol Amatya 0cbd7d3401 [tests-only][full-ci][k8s] test: run e2e ocm test suite with k8s deployment (#13104)
test: run e2e ocm test suite with k8s deployment

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-10-16 16:54:21 +05:45
owncloud-translations-bot[bot] 342f5eb0f1 chore: update translations from transifex (#13163)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-16 07:51:57 +00:00
Matteo 70f4e504b6 fix(web): [OCISDEV-1539] show a clear error for deleted public links and files (#13156) 2026-10-16 08:03:15 +02:00
dependabot[bot] 2db76a1c4e build(deps): bump shivammathur/setup-php from 2.37.2 to 2.40.0 in the minor-and-patch group across 1 directory (#13116) 2026-10-15 23:03:02 +02:00
Matteo 408c41dc83 fix(web): [OCISDEV-1555] remove federated connections in the OCM connections panel (#13160) 2026-10-15 18:38:31 +02:00
Matteo c9856ef000 fix(web): [OCISDEV-1540] mark all notifications as read in the notifications menu (#13157) 2026-10-15 18:38:17 +02:00
Lukas Hirt 63fced12a6 fix(collaboration): retry rename and upload while file is processing (#13141)
* fix(collaboration): retry rename and upload while file is processing

RenameFile and PutFile failed with a 500 when the storage answered with CODE_TOO_EARLY because the file was still in postprocessing, e.g. right after PutRelativeFile. This made the wopi-builtin validator flaky. Share the retry-with-backoff logic that DeleteFile already had and apply it to Move and InitiateFileUpload as well. The retries are now bounded.

Signed-off-by: Lukas Hirt <info@hirt.cz>

* fix(collaboration): return context error when retry is cancelled

Return ctx.Err() from retryWhileTooEarly when the context is cancelled, document the intentional no-op after the wait, and add a test for it.

Signed-off-by: Lukas Hirt <info@hirt.cz>

---------

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-10-15 16:41:05 +02:00
Roman Perekhod e76dc49698 fix: [OCISDEV-1502] The global variable OCIS_CACHE_DATABASE was replaced (#13158) 2026-10-15 13:29:49 +02:00
Pradip Subedi c17c33b6d8 [full-ci][tests-only] test: fix flaky cliCommands tests (#13133)
* test: fix flaky blobstore test

* test: fix flaky backupconsistency test
2026-10-15 14:03:05 +05:45
owncloud-translations-bot[bot] 66e93ceaf3 chore: update translations from transifex (#13143)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-15 07:28:51 +00:00
Matteo fba139fdec fix(web): [OCISDEV-1543] show details preview for public link files with spaces in the name (#13150) 2026-10-14 14:03:08 +02:00
Lukas Hirt e0dd0e4348 fix(web): [OCISDEV-1527] disable vertical page overscroll in file apps (#13140)
Scrolling inside an app such as OnlyOffice could make the whole page bounce
with it, exposing the blank page background behind the app frame. Set
overscroll-behavior-y: none on the root element while AppWrapper is mounted
and restore the previous value on unmount. The logic lives in a new
useDisableRootOverscroll composable, which is covered by unit tests.

Signed-off-by: Lukas Hirt <info@hirt.cz>
2026-10-13 21:18:12 +02:00
Matteo 710bdf380a fix(web): [OCISDEV-1513] clean up trash view in the Safe (#13136) 2026-10-13 15:42:01 +02:00
Michal Klos 7b83f36060 fix(proxy): [OCISDEV-1517] add missing /vault/graph routes for activities and invitations (#13109) 2026-10-13 13:15:20 +00:00
Michal Klos 2a23956a8b fix(web): [OCISDEV-1518] show correct message when Safe access is denied for lacking permission (#13111)
* fix(web): [OCISDEV-1518] show correct message when Safe access is denied for lacking permission

* chore: changelog
2026-10-13 11:29:58 +00:00
Prajwol Amatya 9269643c0e [tests-only][full-ci][k8s] test: run e2e app-provider with k8s setup (#13046)
* test: run e2e app-provider with k8s setup

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: limit app-registry mimetypes

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add host for onlyoffice

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: enable secure view

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

* test: add available unified roles

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>

---------

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-10-13 16:23:20 +05:45
Matteo 6c8fe4ebf7 fix(web): [OCISDEV-1511] refresh files stuck in processing after upload or copy (#13134)
* fix(web): [OCISDEV-1511] refresh files stuck in processing after upload or copy

A postprocessing-finished event that arrives while a folder reload or a
fetch after copy is still in flight is dropped, because the resource is
not in the store yet. The response then adds the resource as processing
and nothing clears it until a page reload.

Remember finished items for a short time and refetch them when they show
up in the store as processing.

* chore: [OCISDEV-1511] add changelog
2026-10-13 12:22:01 +02:00
kobergjandClaude Opus 5 037ac76d26 ci(release): remove the disabled docker jobs from the release pipeline (#13129)
ci(release): remove the disabled docker jobs from the release pipeline (#13128)

Tagging v9.0.0-rc.1 produced a startup_failure: the workflow was rejected
before any job ran. owncloud pins Actions to an org allowlist
(owncloud/admin:actions-allowlist.yml, allowed_actions: selected with
sha_pinning_required), and three pins in this file are not on it:

  docker/setup-buildx-action @f87e5991 v4.4.1 (allowlist has v4.0.0)
  docker/login-action        @dbcb8138 v4.6.0 (allowlist has v4.1.0)
  docker/build-push-action   @c3c9e263 v7.4.0 (allowlist has v7.0.0)

Allowlist validation happens at parse time, so it does not care that all
three only appear in jobs already marked `if: false`.

Rather than pin them back, drop the jobs. Building, scanning and publishing
the production image moved to owncloud-docker/ocis, which is why these were
disabled in the first place; the image Trivy scan now runs there on every PR.
That leaves nothing to maintain here and removes all three offending pins.

Removes docker-build, docker-scan (dead too: it needs docker-build),
docker-manifest and docker-readme. Nothing outside that subgraph depended on
them, so the `docker_repos` and `is_production` outputs, the
PRODUCTION_RELEASE_TAGS / DOCKER_REPO_ROLLING / DOCKER_REPO_PRODUCTION env
vars and the REPOS computation go with them. is_prerelease stays, as
create-github-release still reads it.

The filesystem scan in security-scan-trivy is untouched.



(cherry picked from commit aab12d018e)

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-10-13 09:12:10 +02:00
owncloud-translations-bot[bot] 9faaefa83a chore: update translations from transifex (#13130)
Co-authored-by: owncloud-translations-bot[bot] <274778013+owncloud-translations-bot[bot]@users.noreply.github.com>
2026-10-13 07:11:18 +00:00
Prajwol Amatya 85700efcd1 [tests-ony][full-ci][k8s] test: update storageusersvault setup for k8s (#13131)
test: update storageusersvault settings for k8s

Signed-off-by: Prajwol Amatya <prajwolamatya11@gmail.com>
2026-10-13 10:52:53 +05:45
dependabot[bot] 91a8c76bdb build(deps): bump actions/setup-node from 6.4.0 to 7.1.0 (#13118)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.4.0 to 7.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v6.4.0...949feb2413d6458794dcd2491c4babbbce0c15c1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.1.0
  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-10-12 19:44:39 +02:00
dependabot[bot] 88e2780a54 build(deps): bump actions/upload-artifact from 4.6.2 to 7.0.2 (#13117)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 7.0.2.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4.6.2...cf430e030ddbb5b0abf93d22962f4752f3646cd9)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.2
  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-10-12 16:22:42 +02:00
dependabot[bot] 60fcb2e214 build(deps): bump actions/download-artifact from 4.3.0 to 8.0.2 (#13119)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4.3.0 to 8.0.2.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4.3.0...9000827ccba6bdab643e8b6fd33ac0654aef8333)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: 8.0.2
  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-10-12 16:22:20 +02:00
dependabot[bot] c8224fd434 build(deps): bump the minor-and-patch group across 1 directory with 7 updates (#13126)
Bumps the minor-and-patch group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [github.com/go-chi/httprate](https://github.com/go-chi/httprate) | `0.16.0` | `0.16.1` |
| [github.com/go-ldap/ldap/v3](https://github.com/go-ldap/ldap) | `3.4.14` | `3.4.15` |
| [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) | `2.15.0` | `2.15.1` |
| [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) | `1.24.1` | `1.25.0` |
| [github.com/tidwall/gjson](https://github.com/tidwall/gjson) | `1.19.1` | `1.20.0` |
| [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) | `0.71.0` | `0.72.0` |
| [golang.org/x/sync](https://github.com/golang/sync) | `0.23.0` | `0.24.0` |



Updates `github.com/go-chi/httprate` from 0.16.0 to 0.16.1
- [Release notes](https://github.com/go-chi/httprate/releases)
- [Commits](https://github.com/go-chi/httprate/compare/v0.16.0...v0.16.1)

Updates `github.com/go-ldap/ldap/v3` from 3.4.14 to 3.4.15
- [Release notes](https://github.com/go-ldap/ldap/releases)
- [Commits](https://github.com/go-ldap/ldap/compare/v3.4.14...v3.4.15)

Updates `github.com/nats-io/nats-server/v2` from 2.15.0 to 2.15.1
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/RELEASES.md)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.15.0...v2.15.1)

Updates `github.com/prometheus/client_golang` from 1.24.1 to 1.25.0
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.25.0/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.24.1...v1.25.0)

Updates `github.com/tidwall/gjson` from 1.19.1 to 1.20.0
- [Commits](https://github.com/tidwall/gjson/compare/v1.19.1...v1.20.0)

Updates `go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp` from 0.71.0 to 0.72.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.71.0...zpages/v0.72.0)

Updates `golang.org/x/sync` from 0.23.0 to 0.24.0
- [Commits](https://github.com/golang/sync/compare/v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: github.com/go-chi/httprate
  dependency-version: 0.16.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/go-ldap/ldap/v3
  dependency-version: 3.4.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-version: 2.15.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: github.com/prometheus/client_golang
  dependency-version: 1.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: github.com/tidwall/gjson
  dependency-version: 1.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-version: 0.72.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: golang.org/x/sync
  dependency-version: 0.24.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-10-12 16:13:34 +02:00
624 changed files with 38612 additions and 10352 deletions

No files matched your search

+10
View File
@@ -7,6 +7,8 @@ updates:
day: sunday
time: '22:00'
timezone: Etc/UTC
cooldown:
default-days: 7
open-pull-requests-limit: 5
groups:
minor-and-patch:
@@ -21,6 +23,8 @@ updates:
day: sunday
time: '22:00'
timezone: Etc/UTC
cooldown:
default-days: 7
open-pull-requests-limit: 5
groups:
minor-and-patch:
@@ -35,6 +39,8 @@ updates:
day: sunday
time: '22:00'
timezone: Etc/UTC
cooldown:
default-days: 7
open-pull-requests-limit: 5
groups:
minor-and-patch:
@@ -51,6 +57,8 @@ updates:
day: sunday
time: '22:00'
timezone: Etc/UTC
cooldown:
default-days: 7
open-pull-requests-limit: 5
groups:
minor-and-patch:
@@ -65,6 +73,8 @@ updates:
day: sunday
time: '22:00'
timezone: Etc/UTC
cooldown:
default-days: 7
open-pull-requests-limit: 5
groups:
minor-and-patch:
+62 -29
View File
@@ -4,6 +4,9 @@ on:
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
detect-changes:
name: detect-changes
@@ -15,6 +18,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: Check if changes are docs-only
id: check
@@ -57,19 +61,21 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "24"
- name: Enable pnpm
run: corepack enable && corepack prepare pnpm@10.33.3 --activate
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip, ldap, gd
@@ -82,6 +88,7 @@ jobs:
sudo NEEDRESTART_MODE=a apt-get install -y libvips-dev
- name: Pre-checks and generate
# zizmor: ignore[adhoc-packages] gherlint is version-pinned (@1.1.0)
run: |
# Phase 1 — I/O + light CPU, no contention between tasks.
# wa (I/O wait) will spike during npm/pnpm downloads.
@@ -165,7 +172,7 @@ jobs:
exit $FAILED
- name: Upload build artifacts
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: ocis-build-artifacts
path: |
@@ -230,8 +237,10 @@ jobs:
- apiVault
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip, ldap, gd
@@ -280,7 +289,7 @@ jobs:
'
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: ocis-build-artifacts
@@ -294,7 +303,7 @@ jobs:
- name: Upload raw coverage data
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: api-coverage-${{ matrix.suite }}
path: ${{ env.GOCOVERDIR }}
@@ -314,8 +323,10 @@ jobs:
- cliCommands,apiServiceAvailability # grouped: both need ClamAV + email services
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip, ldap, gd
@@ -328,7 +339,7 @@ jobs:
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: ocis-build-artifacts
@@ -342,7 +353,7 @@ jobs:
- name: Upload raw coverage data
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: api-coverage-cli-${{ matrix.suite }}
path: ${{ env.GOCOVERDIR }}
@@ -362,8 +373,10 @@ jobs:
- apiGraphUser,apiGraph,apiGraphGroup
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip, ldap, gd
@@ -376,7 +389,7 @@ jobs:
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: ocis-build-artifacts
@@ -390,7 +403,7 @@ jobs:
- name: Upload raw coverage data
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: api-coverage-ldap-pool-${{ matrix.suite }}
path: ${{ env.GOCOVERDIR }}
@@ -418,8 +431,10 @@ jobs:
- "coreApiWebdavMove1,coreApiWebdavPreviews,coreApiWebdavUpload,coreApiWebdavUploadTUS"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
- uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: "8.4"
extensions: curl, xml, mbstring, zip, ldap, gd
@@ -468,7 +483,7 @@ jobs:
'
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: ocis-build-artifacts
@@ -485,7 +500,7 @@ jobs:
- name: Upload raw coverage data
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: api-coverage-core-${{ matrix.suite }}
path: ${{ env.GOCOVERDIR }}
@@ -534,7 +549,9 @@ jobs:
vault_storage: true
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
# 24.16.0 breaks playwright install (yauzl zip extraction hangs); pin to last known good.
# https://github.com/microsoft/playwright/issues/40724
@@ -551,7 +568,7 @@ jobs:
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: ocis-build-artifacts
@@ -683,7 +700,7 @@ jobs:
- name: Upload tracing result
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: playwright-traces-${{ matrix.suite }}-${{ github.run_attempt }}
path: web/reports/e2e
@@ -691,7 +708,7 @@ jobs:
- name: Upload a11y result
if: ${{ !cancelled() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: playwright-a11y-result-${{ matrix.suite }}-${{ github.run_attempt }}
path: web/reports/e2e/a11y-report.json
@@ -704,6 +721,8 @@ jobs:
timeout-minutes: 120
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install libvips runtime
run: |
@@ -712,7 +731,7 @@ jobs:
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: ocis-build-artifacts
@@ -729,6 +748,8 @@ jobs:
timeout-minutes: 120
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install libvips runtime
run: |
@@ -737,7 +758,7 @@ jobs:
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: ocis-build-artifacts
@@ -754,6 +775,8 @@ jobs:
timeout-minutes: 120
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install libvips runtime
run: |
@@ -762,7 +785,7 @@ jobs:
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: ocis-build-artifacts
@@ -779,6 +802,8 @@ jobs:
timeout-minutes: 120
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install libvips runtime
run: |
@@ -787,7 +812,7 @@ jobs:
sudo NEEDRESTART_MODE=a apt-get install -y libvips42t64
- name: Download build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: ocis-build-artifacts
@@ -804,12 +829,14 @@ jobs:
timeout-minutes: 120
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "24"
@@ -837,12 +864,14 @@ jobs:
timeout-minutes: 120
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache: true
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: "24"
@@ -870,27 +899,29 @@ jobs:
GOCOVERDIR: ${{ github.workspace }}/coverage-reports
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache: true
- name: Download raw coverage data
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: api-coverage-*
path: ${{ env.GOCOVERDIR }}
merge-multiple: true
- name: Convert coverage counters to profile
run: go tool covdata textfmt -i=${{ env.GOCOVERDIR }} -o=coverage.out
run: go tool covdata textfmt -i=${GOCOVERDIR} -o=coverage.out
- name: Publish coverage summary
run: |
{
echo "## Acceptance test coverage"
echo '```'
go tool covdata percent -i=${{ env.GOCOVERDIR }}
go tool covdata percent -i=${GOCOVERDIR}
echo '```'
echo
echo "<details>"
@@ -911,10 +942,12 @@ jobs:
- name: Check all jobs passed
run: |
# If docs-only, all test jobs are expected to be skipped — that's a pass
if [[ "${{ needs.detect-changes.outputs.docs-only }}" == "true" ]]; then
if [[ "${NEEDS_DETECT_CHANGES_OUTPUTS_DOCS_ONLY}" == "true" ]]; then
echo "Docs-only change — skipping tests is expected."
exit 0
fi
if [[ "${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
exit 1
fi
env:
NEEDS_DETECT_CHANGES_OUTPUTS_DOCS_ONLY: ${{ needs.detect-changes.outputs.docs-only }}
+5
View File
@@ -4,6 +4,9 @@ on:
push:
branches: [master, stable-*]
permissions:
contents: read
jobs:
license-check:
runs-on: ubuntu-latest
@@ -11,6 +14,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Install REUSE tool
run: pip install reuse
+4
View File
@@ -5,6 +5,9 @@ on:
schedule:
- cron: "0 1 * * *"
permissions:
contents: read
jobs:
test:
name: ${{ matrix.example }}
@@ -37,6 +40,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: owncloud/ocis
persist-credentials: false
- name: Prepare hosts entry
run: |
+227 -43
View File
@@ -18,6 +18,9 @@ env:
OCIS_WRAPPER_URL: http://localhost:5200
K8S: true
permissions:
contents: read
jobs:
api-tests:
name: ${{ matrix.suite }}-k8s
@@ -80,9 +83,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup PHP ${{ env.PHP_VERSION }}
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # v2.37.2
uses: shivammathur/setup-php@eb7c497e18156a6bbabfef1d3a82760b9eda3962 # 2.40.0
with:
php-version: ${{ env.PHP_VERSION }}
extensions: curl, xml, mbstring, zip, ldap, gd
@@ -482,22 +487,24 @@ jobs:
# - suite: oidc-iframe
# args: "--type playwright specs/oidc/iframeTokenRenewal.spec.ts"
# oidc_iframe: true
# - suite: app-provider
# args: "--type playwright --suites app-provider"
# collaboration: true
# - suite: ocm
# args: "--type playwright --suites ocm"
# federated: true
# - suite: vault-storage
# args: "--type playwright --suites vault-storage"
# vault_storage: true
- suite: app-provider
args: "--type playwright --suites app-provider"
collaboration: true
- suite: ocm
args: "--type playwright --suites ocm"
federated: true
- suite: vault-storage
args: "--type playwright --suites vault-storage"
vault_storage: true
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
# 24.16.0 breaks playwright install (yauzl zip extraction hangs); pin to last known good.
# https://github.com/microsoft/playwright/issues/40724
@@ -540,14 +547,181 @@ jobs:
run: make -C tests/config/k8s create-cluster
- name: Prepare Helm Charts
run: make -C tests/config/k8s prepare-charts
env:
ENABLE_TIKA: ${{ matrix.suite == 'vault-storage' }}
ENABLE_VAULT: ${{ matrix.suite == 'vault-storage' }}
ENABLE_WOPI: ${{ matrix.suite == 'app-provider' }}
ENABLE_OCM: ${{ matrix.suite == 'ocm' }}
run: |
cd tests/config/k8s
make prepare-charts
if [[ "${{ matrix.suite }}" == "ocm" ]]; then
OCM=true make prepare-charts
fi
- name: Deploy Suite-Specific External Backends
run: |
if [[ "${{ matrix.suite }}" == "vault-storage" ]]; then
docker run -d \
-p 9998:9998 \
--name tika \
apache/tika:3.2.2.0-full
for i in {1..60}; do
if curl -sf http://localhost:9998 > /dev/null; then
break
fi
echo "Waiting for tika... ($i/60)"
sleep 2
done
curl -sf http://localhost:9998 > /dev/null
bash tests/config/k8s/expose-external-svc.sh tika:9998
# GitHub runners ship PostgreSQL pre-installed on 5432, but not always
# already running - reuse it for keycloak's DB instead of running our
# own container for it, once it's up.
sudo systemctl start postgresql
for i in {1..30}; do
sudo -u postgres pg_isready && break
echo "Waiting for postgres... ($i/30)"
sleep 2
done
sudo -u postgres pg_isready
sudo -u postgres psql -c "CREATE USER keycloak WITH PASSWORD 'keycloak';"
sudo -u postgres psql -c "CREATE DATABASE keycloak OWNER keycloak;"
mkdir -p keycloak-certs
openssl req -x509 -newkey rsa:2048 \
-keyout keycloak-certs/keycloakkey.pem \
-out keycloak-certs/keycloakcrt.pem \
-nodes -days 365 -subj "/CN=keycloak"
chmod 777 keycloak-certs/*
# patch the realm so the "web" client's redirect/origin URLs match
# the k8s ingress domain instead of the non-k8s "localhost:9200" one
sed "s|https://localhost:9200|${TEST_SERVER_URL}|g" \
tests/config/ci/ocis-mfa-ci-realm.dist.json > /tmp/ocis-realm.json
docker run -d --name keycloak --network host \
-e OCIS_DOMAIN="$TEST_SERVER_URL" \
-e KC_HOSTNAME=keycloak \
-e KC_PORT=8443 \
-e KC_DB=postgres \
-e KC_DB_URL=jdbc:postgresql://localhost:5432/keycloak \
-e KC_DB_USERNAME=keycloak \
-e KC_DB_PASSWORD=keycloak \
-e KC_FEATURES=impersonation \
-e KC_BOOTSTRAP_ADMIN_USERNAME=admin \
-e KC_BOOTSTRAP_ADMIN_PASSWORD=admin \
-e KC_HTTPS_CERTIFICATE_FILE=/keycloak-certs/keycloakcrt.pem \
-e KC_HTTPS_CERTIFICATE_KEY_FILE=/keycloak-certs/keycloakkey.pem \
-v "$(pwd)/keycloak-certs:/keycloak-certs:ro" \
-v /tmp/ocis-realm.json:/opt/keycloak/data/import/ocis-mfa-ci-realm.dist.json:ro \
quay.io/keycloak/keycloak:26.5.6 \
start-dev --proxy-headers xforwarded \
--spi-connections-http-client-default-disable-trust-manager=true \
--import-realm --health-enabled=true
keycloak_ready=false
for i in {1..60}; do
if curl -skf https://localhost:9000/health/ready > /dev/null; then
keycloak_ready=true
break
fi
echo "Waiting for keycloak... ($i/60)"
sleep 5
done
if [[ "$keycloak_ready" != "true" ]]; then
docker logs keycloak --tail 80
exit 1
fi
bash tests/config/k8s/expose-external-svc.sh keycloak:8443
fi
if [[ "${{ matrix.suite }}" == "app-provider" ]]; then
# Start Collabora
docker run -d \
--name collabora \
--network host \
--entrypoint bash \
-e DONT_GEN_SSL_CERT=set \
-e "extra_params=--o:ssl.enable=true --o:ssl.termination=true --o:welcome.enable=false --o:net.frame_ancestors=https://127.0.0.1:9200" \
collabora/code:25.04.7.3.1 \
-c "coolconfig generate-proof-key && bash /start-collabora-online.sh"
timeout 150 bash -c 'until curl -kfsSL https://localhost:9980/hosting/discovery > /dev/null; do sleep 5; done'
echo "collabora ready."
# Start OnlyOffice
docker run -d \
--name onlyoffice \
-p 7443:443 \
--add-host "$TEST_SERVER_DOMAIN:host-gateway" \
-e WOPI_ENABLED=true \
-e USE_UNAUTHORIZED_STORAGE=true \
-v "$(pwd)/tests/config/ci/only-office.json:/tmp/local.json:ro" \
--entrypoint /bin/sh \
onlyoffice/documentserver:9.2.1 \
-c "set -e
cp /tmp/local.json /etc/onlyoffice/documentserver/local.json
openssl req -x509 -newkey rsa:4096 -keyout onlyoffice.key -out onlyoffice.crt -sha256 -days 365 -batch -nodes
mkdir -p /var/www/onlyoffice/Data/certs
cp onlyoffice.key /var/www/onlyoffice/Data/certs/
cp onlyoffice.crt /var/www/onlyoffice/Data/certs/
chmod 400 /var/www/onlyoffice/Data/certs/onlyoffice.key
/app/ds/run-document-server.sh"
timeout 150 bash -c 'until curl -kfsSL https://localhost:7443/hosting/discovery > /dev/null; do sleep 5; done'
echo "onlyoffice ready."
#Start FakeOffice
docker run -d --name fakeoffice --network host \
-v "$(pwd):/ocis:ro" \
python:3-alpine \
python3 -c "
import http.server, pathlib
body = pathlib.Path('/ocis/tests/config/ci/hosting-discovery.xml').read_bytes()
class H(http.server.BaseHTTPRequestHandler):
def do_GET(self):
self.send_response(200)
self.send_header('Content-Type', 'text/xml')
self.end_headers()
self.wfile.write(body)
def log_message(self, *a): pass
http.server.HTTPServer(('', 8080), H).serve_forever()
"
timeout 60 bash -c 'until curl -fsSL http://localhost:8080/hosting/discovery > /dev/null; do sleep 5; done'
echo "fakeoffice ready."
bash tests/config/k8s/expose-external-svc.sh collabora:9980
bash tests/config/k8s/expose-external-svc.sh onlyoffice:7443
bash tests/config/k8s/expose-external-svc.sh fakeoffice:8080
fi
- name: Deploy oCIS
run: |
cd tests/config/k8s
kubectl get pods -n "$TEST_SERVER_DOMAIN" -Aw &
make deploy-ocis
if [[ "${{ matrix.suite }}" == "ocm" ]]; then
OCM=true make deploy-ocis
fi
- name: Expose node ports
if: ${{ matrix.suite == 'app-provider' }}
run: |
bash tests/config/k8s/expose-nodeports.sh collaboration-collabora 9300 30300
bash tests/config/k8s/expose-nodeports.sh collaboration-fakeoffice 9300 30301
bash tests/config/k8s/expose-nodeports.sh collaboration-onlyoffice 9300 30302
bash tests/config/k8s/expose-nodeports.sh collaboration-fakeoffice 9304 30304
- name: Expose proxy readyz
if: ${{ matrix.suite == 'vault-storage' }}
run: |
(
while true; do
kubectl -n "$TEST_SERVER_DOMAIN" port-forward deployment/proxy 19205:9205 >> /tmp/proxy-readyz-portforward.log 2>&1
sleep 1
done
) &
- name: Wait for oCIS to be ready
env:
FILE_URL: ${{ env.TEST_SERVER_URL }}/remote.php/dav/files/admin/hello1.txt
@@ -583,46 +757,56 @@ jobs:
return 1
}
echo "Creating test file in oCIS..."
if [[ "${{ matrix.suite }}" == "vault-storage" ]]; then
retry "proxy readyz" curl -sf http://localhost:19205/readyz || exit 1
else
echo "Creating test file in oCIS..."
request() {
local method=$1
shift
curl -ks -o /dev/null -w "%{http_code}" \
-X "$method" \
-u admin:admin \
"$@" \
"$FILE_URL"
}
put_file() {
request PUT \
-H "Content-Type: text/plain" \
--data "Hello from GitHub Actions!"
}
delete_file() {
request DELETE
}
check_status() {
local expected=$1
shift
status=$("$@")
[ "$status" = "$expected" ]
}
echo "Creating test file..."
retry "create file (HTTP 201)" check_status 201 put_file || exit 1
echo "Deleting test file..."
retry "delete file (HTTP 204)" check_status 204 delete_file || exit 1
request() {
local method=$1
shift
curl -ks -o /dev/null -w "%{http_code}" \
-X "$method" \
-u admin:admin \
"$@" \
"$FILE_URL"
}
put_file() {
request PUT \
-H "Content-Type: text/plain" \
--data "Hello from GitHub Actions!"
}
delete_file() {
request DELETE
}
check_status() {
local expected=$1
shift
status=$("$@")
[ "$status" = "$expected" ]
}
echo "Creating test file..."
retry "create file (HTTP 201)" check_status 201 put_file || exit 1
echo "Deleting test file..."
retry "delete file (HTTP 204)" check_status 204 delete_file || exit 1
fi
- name: Run e2e ${{ matrix.suite }} tests
env:
E2E_ARGS: "${{ matrix.args }}"
K8S: ${{ env.K8S }}
TEST_SERVER_URL: ${{ env.TEST_SERVER_URL }}
KEYCLOAK: ${{ matrix.suite == 'vault-storage' }}
KEYCLOAK_HOST: keycloak:8443
VAULT_MODE: ${{ matrix.suite == 'vault-storage' }}
COLLABORATION_NEEDED: ${{ matrix.collaboration == true && 'true' || 'false' }}
FED_SERVER_URL: ${{ env.FED_SERVER_URL }}
FEDERATED_NEEDED: ${{ matrix.federated == true && 'true' || 'false' }}
run: python3 tests/acceptance/run-e2e.py
- name: Upload Playwright traces
if: failure()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: playwright-traces-${{ matrix.suite }}-k8s-${{ github.run_attempt }}
path: web/reports/e2e
@@ -630,7 +814,7 @@ jobs:
- name: Upload a11y result
if: ${{ !cancelled() }}
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: playwright-a11y-result-${{ matrix.suite }}-k8s-${{ github.run_attempt }}
path: web/reports/e2e/a11y-report.json
@@ -638,7 +822,7 @@ jobs:
- name: Upload oCIS logs
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: ocis-logs-${{ matrix.suite }}-k8s-${{ github.run_attempt }}
path: tests/config/k8s/logs
+16 -6
View File
@@ -27,12 +27,15 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24.15.0
registry-url: "https://registry.npmjs.org"
package-manager-cache: false
- name: Setup pnpm
run: corepack enable && corepack prepare pnpm@10.33.3 --activate
@@ -43,7 +46,7 @@ jobs:
- name: Determine package
id: package
run: |
TAG="${{ github.ref_name }}"
TAG="${GITHUB_REF_NAME}"
PACKAGES="babel-preset design-system eslint-config extension-sdk prettier-config tsconfig web-client web-pkg web-test-helpers"
for pkg in $PACKAGES; do
if [[ "$TAG" == "${pkg}-v"* ]]; then
@@ -57,29 +60,36 @@ jobs:
- name: Verify package version
run: |
PKG="${{ steps.package.outputs.name }}"
VERSION="${{ steps.package.outputs.version }}"
PKG="${STEPS_PACKAGE_OUTPUTS_NAME}"
VERSION="${STEPS_PACKAGE_OUTPUTS_VERSION}"
ACTUAL_VERSION=$(jq -r '.version' < "packages/${PKG}/package.json")
echo "Build ${PKG} ${VERSION} package.json: ${ACTUAL_VERSION}"
if [ "${ACTUAL_VERSION}" != "${VERSION}" ]; then
echo "git tag does not match version in web/packages/${PKG}/package.json"
exit 1
fi
env:
STEPS_PACKAGE_OUTPUTS_NAME: ${{ steps.package.outputs.name }}
STEPS_PACKAGE_OUTPUTS_VERSION: ${{ steps.package.outputs.version }}
- name: Build tokens
run: pnpm build:tokens
- name: Build package
run: |
PKG="${{ steps.package.outputs.name }}"
PKG="${STEPS_PACKAGE_OUTPUTS_NAME}"
case "$PKG" in
design-system|web-client|web-pkg|web-test-helpers)
pnpm --filter "@ownclouders/${PKG}" vite build
;;
esac
env:
STEPS_PACKAGE_OUTPUTS_NAME: ${{ steps.package.outputs.name }}
- name: Publish to NPM
run: |
pnpm publish \
--no-git-checks --filter "@ownclouders/${{ steps.package.outputs.name }}" \
--no-git-checks --filter "@ownclouders/${STEPS_PACKAGE_OUTPUTS_NAME}" \
--access public --tag latest
env:
STEPS_PACKAGE_OUTPUTS_NAME: ${{ steps.package.outputs.name }}
+62 -30
View File
@@ -18,6 +18,9 @@ env:
PNPM_VERSION: '10.28.1'
GOLANG_BUILD_IMAGE: 'golang:1.26.8-alpine3.23@sha256:a8fa79c5bd40d880b52bd3b6d7669ecdcfd00e85facdd427d279efb5ddd79cb1'
permissions:
contents: read
jobs:
determine-release-type:
runs-on: ubuntu-latest
@@ -31,6 +34,7 @@ jobs:
with:
fetch-depth: 0
fetch-tags: true
persist-credentials: false
- id: info
env:
@@ -53,18 +57,17 @@ jobs:
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
VERSION="$VERSION_OVERRIDE"
[[ -z "$VERSION" ]] && VERSION=$(next_dev)
elif [[ "${{ github.ref_type }}" == "branch" ]]; then
elif [[ "${GITHUB_REF_TYPE}" == "branch" ]]; then
VERSION=$(next_dev)
else
VERSION="${GITHUB_REF#refs/tags/v}"
fi
# `version` below is read back by nine `run:` blocks in this file (thirteen
# interpolations) as ${{ needs.determine-release-type.outputs.version }}, and each
# of those is substituted into the script text before bash sees it. Refusing
# anything that is not a version token here is what keeps those nine safe, instead
# of nine more env: blocks -- and a release version that is not a version token is
# a bug in its own right.
# `version` below is read back by the later jobs' `run:` blocks through
# NEEDS_DETERMINE_RELEASE_TYPE_OUTPUTS_VERSION in their env:, so it is never
# substituted into script text. Refusing anything that is not a version token
# here is a second safeguard -- and a release version that is not a version
# token is a bug in its own right.
if [[ ! "$VERSION" =~ ^[0-9A-Za-z][0-9A-Za-z.+-]*$ ]]; then
echo "::error title=Invalid release version::'$VERSION' is not a version string (expected ^[0-9A-Za-z][0-9A-Za-z.+-]*$)"
exit 1
@@ -81,14 +84,18 @@ jobs:
needs: [determine-release-type]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
cache: false
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm install --silent -g yarn npx --force
- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v4
package-manager-cache: false
- run: npm install --silent -g yarn npx --force # zizmor: ignore[adhoc-packages] pre-existing unpinned install, left to the maintainers
- uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
with:
version: ${{ env.PNPM_VERSION }}
- run: pnpm config set store-dir ./.pnpm-store && make ci-node-generate
@@ -99,9 +106,11 @@ jobs:
BUF_TOKEN: ${{ secrets.BUF_API_TOKEN }}
- name: bump LatestTag
run: |
VERSION="${{ needs.determine-release-type.outputs.version }}"
VERSION="${NEEDS_DETERMINE_RELEASE_TYPE_OUTPUTS_VERSION}"
sed -i "s/LatestTag = \".*\"/LatestTag = \"$VERSION\"/" ocis-pkg/version/version.go
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
env:
NEEDS_DETERMINE_RELEASE_TYPE_OUTPUTS_VERSION: ${{ needs.determine-release-type.outputs.version }}
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: generated-code
path: |
@@ -120,17 +129,25 @@ jobs:
os: [linux, darwin]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
persist-credentials: false
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: generated-code
path: .
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache: false
- run: |
make -C ocis release-${{ matrix.os }} OUTPUT=${{ needs.determine-release-type.outputs.version }}
make -C ocis release-${{ matrix.os }} OUTPUT=${NEEDS_DETERMINE_RELEASE_TYPE_OUTPUTS_VERSION}
make -C ocis release-finish
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if [[ "${{ matrix.os }}" == "linux" ]]; then
cp assets/End-User-License-Agreement-for-ownCloud-Infinite-Scale.pdf ocis/dist/release/
fi
env:
NEEDS_DETERMINE_RELEASE_TYPE_OUTPUTS_VERSION: ${{ needs.determine-release-type.outputs.version }}
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: binaries-${{ matrix.os }}
path: ocis/dist/release/*
@@ -141,6 +158,8 @@ jobs:
timeout-minutes: 30
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
with:
scan-type: fs
@@ -155,17 +174,21 @@ jobs:
needs: [determine-release-type, generate-code]
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
persist-credentials: false
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: generated-code
path: .
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
package-manager-cache: false
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
- run: npm install --silent -g yarn npx "pnpm@$PNPM_VERSION" --force
cache: false
- run: npm install --silent -g yarn npx "pnpm@$PNPM_VERSION" --force # zizmor: ignore[adhoc-packages] pre-existing unpinned install, left to the maintainers
# web is excluded from the generated-code artifact (see generate-code) to
# avoid OOM on upload, so its node_modules — which provides the
# license-checker-rseidelsohn binary — must be reinstalled here.
@@ -173,7 +196,7 @@ jobs:
- run: make ci-node-check-licenses && make ci-node-save-licenses
- run: make ci-go-check-licenses && make ci-go-save-licenses
- run: tar -czf third-party-licenses.tar.gz -C third-party-licenses .
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: third-party-licenses
path: third-party-licenses.tar.gz
@@ -187,17 +210,21 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
cache: false
- run: |
make changelog CHANGELOG_VERSION=$(echo "${{ needs.determine-release-type.outputs.version }}" | cut -d'-' -f1)
make changelog CHANGELOG_VERSION=$(echo "${NEEDS_DETERMINE_RELEASE_TYPE_OUTPUTS_VERSION}" | cut -d'-' -f1)
# calens produces empty output when no versioned changelog directory exists (e.g. dev builds).
# Fall back to a pointer to the unreleased entries.
if [[ $(wc -l < ocis/dist/CHANGELOG.md) -lt 5 ]]; then
echo "Development release — no release notes yet. See [unreleased changes](https://github.com/owncloud/ocis/tree/master/changelog/unreleased/)." > ocis/dist/CHANGELOG.md
fi
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
env:
NEEDS_DETERMINE_RELEASE_TYPE_OUTPUTS_VERSION: ${{ needs.determine-release-type.outputs.version }}
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: changelog
path: ocis/dist/CHANGELOG.md
@@ -205,27 +232,29 @@ jobs:
create-github-release:
runs-on: ubuntu-latest
permissions:
contents: write
timeout-minutes: 30
needs: [determine-release-type, build-binaries, license-check, generate-changelog, security-scan-trivy]
steps:
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: binaries-linux
path: release-assets
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: binaries-darwin
path: release-assets
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: third-party-licenses
path: release-assets
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: changelog
path: .
- uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3
with:
with: # zizmor: ignore[superfluous-actions] the publish path only runs on a real release, CI cannot exercise a rewrite
tag_name: v${{ needs.determine-release-type.outputs.version }}
name: v${{ needs.determine-release-type.outputs.version }}
body_path: CHANGELOG.md
@@ -245,23 +274,26 @@ jobs:
- create-github-release
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
with:
persist-credentials: false
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: binaries-linux
path: release-assets
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: binaries-darwin
path: release-assets
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: third-party-licenses
path: release-assets
- run: |
python3 scripts/audit-release.py \
--version "${{ needs.determine-release-type.outputs.version }}" \
--version "${NEEDS_DETERMINE_RELEASE_TYPE_OUTPUTS_VERSION}" \
--dir release-assets/ \
--github-release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NEEDS_DETERMINE_RELEASE_TYPE_OUTPUTS_VERSION: ${{ needs.determine-release-type.outputs.version }}
+6 -1
View File
@@ -5,6 +5,9 @@ on:
push:
branches: [master, stable-*]
permissions:
contents: read
jobs:
detect-web-changes:
name: detect-web-changes
@@ -18,6 +21,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: Check if web/ changed
id: check
@@ -70,6 +74,7 @@ jobs:
with:
# nx affected --base=<pr-base-sha> (used below) needs that commit present locally
fetch-depth: 0
persist-credentials: false
- name: Setup pnpm
uses: pnpm/action-setup@ea17c68df8912ef543352723c149a84f56e3d413 # v6.1.0
@@ -77,7 +82,7 @@ jobs:
version: 10.33.3
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24.15.0
cache: pnpm
+3 -1
View File
@@ -19,7 +19,9 @@ jobs:
container: golang:1.25-alpine
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v6
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Run CI Reporter
working-directory: tools/ci-reporter
+30
View File
@@ -0,0 +1,30 @@
name: Zizmor
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
- reopened
schedule:
# Weekly: online audits (known-vulnerable actions, impostor commits) can
# start failing without a code change.
- cron: '0 4 * * 1'
workflow_dispatch:
permissions:
contents: read
# Only pull request runs cancel each other: a push to the default branch and
# the weekly run share a ref, and neither should cancel the other.
concurrency:
group: zizmor-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
zizmor:
name: Zizmor
uses: owncloud/reusable-workflows/.github/workflows/zizmor.yml@main
+5
View File
@@ -27,6 +27,7 @@
- [Development Documentation](#development-documentation)
- [Security](#security)
- [Contributing](#contributing)
- [End User License Agreement](#end-user-license-agreement)
- [Copyright](#copyright)
## Introduction
@@ -160,6 +161,10 @@ Infinite Scale is carefully internationalized so that everyone, no matter what l
Please always refer to our [Contribution Guidelines](https://github.com/owncloud/ocis/blob/master/CONTRIBUTING.md).
## End User License Agreement
Some builds of stable ownCloud Infinite Scale releases provided by ownCloud GmbH are subject to an [End User License Agreement](https://owncloud.com/license-owncloud-infinite-scale/).
## Copyright
```console
@@ -10,4 +10,4 @@ emitted with `"body": "marshaling error: json: unsupported type: func(int64)"`
instead of the payload. Without the tracing middleware the field serialized to an
empty object. In both cases the intended payload was never logged.
https://github.com/owncloud/ocis/pull/13175
https://github.com/owncloud/ocis/pull/12915
@@ -0,0 +1,10 @@
Bugfix: Keep /me working when the preferred language lookup fails
The graph service returned HTTP 500 for the whole `GET /graph/v1.0/me` response
whenever the settings lookup for the user's preferred language failed, including
on a transient timeout. Since `/me` is the first request the Web UI makes after
login, that locked affected users out of oCIS entirely. The lookup failure is
now logged at warn level and `preferredLanguage` falls back to
`OCIS_DEFAULT_LANGUAGE`.
https://github.com/owncloud/ocis/pull/13188
@@ -11,5 +11,5 @@ The command now rewrites the matching `bind_password` and
prints the environment variables that must carry the new password for env-var
and distributed deployments it cannot rewrite.
https://github.com/owncloud/ocis/pull/13084
https://github.com/owncloud/ocis/pull/13176
https://github.com/owncloud/ocis/issues/12569
@@ -8,5 +8,3 @@ users, saturating the LDAP connection pool and causing request timeouts. The
LDAP identity backend now caches instance mapper lookups, including negative
(not-found) results, for a configurable TTL
(`OCIS_LDAP_INSTANCE_MAPPER_CACHE_TTL`, default 60s).
https://github.com/owncloud/ocis/pull/12899
@@ -0,0 +1,9 @@
Bugfix: Pass SMTP password and authentication to ocis in the ocis_full example
The `ocis_full` deployment example defined `SMTP_PASSWORD` and
`SMTP_AUTHENTICATION` in its `.env` file but did not forward them to the `ocis`
container, so an SMTP server requiring authentication could not be configured.
`NOTIFICATIONS_SMTP_PASSWORD` and `NOTIFICATIONS_SMTP_AUTHENTICATION` are now
passed through.
https://github.com/owncloud/ocis/issues/11757
@@ -7,4 +7,4 @@ sync client retrying a request, look like server errors. The restore
operation now reports 404 for this case, matching the existing behavior of
purging an already-purged item.
https://github.com/owncloud/ocis/pull/12969
https://github.com/owncloud/ocis/pull/TODO
@@ -0,0 +1,14 @@
Bugfix: Retry WOPI rename and upload while the file is processing
Renaming a file or uploading its contents through the collaboration service
failed with a 500 when the file was still being processed, for example right
after it had been created by a PutRelativeFile request. The storage answers
with a "too early" status in that case, which was only handled when deleting
files.
The collaboration service now retries the rename and upload requests with an
increasing waiting time until the file is ready. The delete request uses the
same retry logic, which is now limited to 10 retries instead of waiting
indefinitely.
https://github.com/owncloud/ocis/pull/13141
@@ -1,13 +0,0 @@
Change: Remove the EULA from the release pipeline
Release builds attached an End User License Agreement PDF to the published
assets, and the README stated that stable builds provided by ownCloud GmbH are
subject to that agreement. A non OSS agreement on the distributed binaries
contradicts the Apache 2.0 licensing of Infinite Scale.
We removed the EULA from the release pipeline. The release workflow no longer
copies the PDF into the release assets, the release audit no longer expects it,
the PDF itself was dropped from the repository and the README section was
removed. Releases now ship under Apache 2.0 only.
https://github.com/owncloud/ocis/pull/13262
@@ -6,4 +6,4 @@ The services `storage-users`, `auth-basic`, `users`, `groups`, and `sharing` no
longer accept the value `owncloudsql` for their driver. The related
configuration sections and environment variables are removed.
https://github.com/owncloud/ocis/pull/13189
https://github.com/owncloud/ocis/pull/13191
@@ -0,0 +1,8 @@
Enhancement: Make the user search attributes configurable
Which attributes user search matches against is now configurable via
`GRAPH_LDAP_USER_SEARCH_ATTRIBUTES`, defaulting to name, display name and
e-mail. Deployments that need stricter matching (e.g. for data protection)
can restrict it to name, surname and username, excluding e-mail.
https://github.com/owncloud/ocis/pull/13219
Loaded 100 of 624 files, more files were not shown because too many files have changed in this diff. Show more