Commit Graph
24718 Commits
Author SHA1 Message Date
oauth bae4c27127 🎉 Release 9.3.0 2026-11-27 15:23:45 +00:00
oauth 5f016612ee Merge branch 'origin/main' into 'next-release/main' 2026-11-27 15:23:44 +00:00
Dominik Schmidt 7021ce1c2b Merge pull request #3686 from opencloud-eu/feat/proxy-csp-config-globs
feat(proxy): accept lists and globs for the CSP config file locations
2026-11-27 16:20:32 +01:00
Dominik Schmidt 3f2355d76b Merge pull request #3836 from opencloud-eu/chore/search-drop-index-provider-proto
chore(search): drop the IndexProvider service from the proto
2026-11-27 15:28:08 +01:00
Dominik Schmidt 25f536563a feat(proxy): accept lists and globs for the CSP config file locations 2026-11-27 15:09:18 +01:00
Dominik Schmidt df18630f19 chore(search): drop the IndexProvider messages from the proto 2026-11-27 14:53:50 +01:00
Dominik Schmidt 84d85b5660 refactor(search): give the engine Go types instead of the proto messages 2026-11-27 14:53:19 +01:00
Dominik Schmidt 46630ef1d8 chore(search): drop the IndexProvider service from the proto 2026-11-27 14:52:58 +01:00
Florian Schade d65aa3270c Merge pull request #4130 from dragonchaser/backport-wp3-793
fix(graph): keep shares visible in sharedWithMe when a resource cannot be statted
2026-11-27 13:40:01 +01:00
oauth 02aed1b8c0 🎉 Release 9.3.0 2026-11-27 11:23:20 +00:00
oauth 6b67a62820 Merge branch 'origin/main' into 'next-release/main' 2026-11-27 11:23:19 +00:00
Jörn Friedrich Dreyer d6c15b2f5e Merge pull request #4141 from opencloud-eu/fix/audit-legacy-upgrade
[full-ci] fix: audit log follow-ups from the review
2026-11-27 12:20:18 +01:00
Andre Duffeck fd9bb83f78 Merge pull request #3243 from opencloud-eu/fix/graph-get-user-drive-id-or-name
feat(graph): accept user name or id in GetUserDrive
2026-11-27 11:27:19 +01:00
micbar fe15575227 fix(audit): report ignored file settings, audit members added by PATCH
Assisted-by: Claude Code:claude-opus-5-5
2026-11-27 11:20:58 +01:00
oauth 2f74e44a69 🎉 Release 9.3.0 2026-11-27 09:17:25 +00:00
oauth 8e8a18dc10 Merge branch 'origin/main' into 'next-release/main' 2026-11-27 09:17:24 +00:00
Andre Duffeck b68b12d487 Merge pull request #4149 from opencloud-eu/feat/graph-link-creator
feat(graph): return the creator of a public link
2026-11-27 10:14:30 +01:00
oauth e9df96bf4a 🎉 Release 9.3.0 2026-11-27 08:21:13 +00:00
oauth 3ccf36c50e Merge branch 'origin/main' into 'next-release/main' 2026-11-27 08:21:13 +00:00
Andre Duffeck a7cfefecaf Merge pull request #3270 from opencloud-eu/extract-config-binder
refactor(config): extract BindSourcesToStructs into pkg/config/binder
2026-11-27 09:18:20 +01:00
oauth 0c2106ce4f 🎉 Release 9.3.0 2026-11-27 08:05:21 +00:00
oauth a0deda4bc3 Merge branch 'origin/main' into 'next-release/main' 2026-11-27 08:05:20 +00:00
Viktor Scharf ce5643786e test(guest-link): check share types of resources shared with a guest (#4128)
* test(guest-link): check share types of resources shared with a guest

* test(guest-link): rename the share types scenarios as suggested in the review

Assisted-by: Claude Code:claude-opus-5-5
2026-11-27 08:02:29 +00:00
Viktor Scharf 67d63d608e tests: remove unused tags, run the search properties scenarios as expected failures (#4142)
* tests: remove unused tags from the acceptance tests

Remove the tags that neither the CI of opencloud nor the one of reva
filters on, and that no hook uses: @smokeTest, @skipOnStorage:ceph,
@skipOnStorage:scality, @skipOnOpencloud-decomposeds3-Storage (the CI only
runs posix and decomposed), @sqliteDB, @notification and @skip-local-run.
A tag line left empty becomes an empty line, so that the line numbers of
the scenarios, which the expected failures of opencloud and reva refer to,
stay the same.

Also fix the typo @@skipOnReva, and write the issue tags the same way:
@issues-<n> becomes @issue-<n>, @web-issue-<n> becomes @issue-web-<n>.

Assisted-by: Claude Code:claude-opus-5-5

* tests: run the search properties scenarios as expected failures

The two scenarios that check the properties of search results were
skipped, since the search REPORT returns an empty d:getetag (#3501) and
the step retried the whole check for 20 seconds, which made them too slow
as expected failures.

- retry the search only until the entry is indexed, then check its
  properties once: once found, the entry is complete, so a wrong value
  fails right away
- check what the search returns: d:getcontentlength for files, the real
  size of 12 bytes, a file id of the form <uuid>$<uuid>!<uuid>, anchored
  patterns, and no oc:owner-id and oc:owner-display-name, which the
  search response never contains
- list them as expected failures of #3501 instead of skipping them

Without the d:getetag check, both scenarios pass.

Assisted-by: Claude Code:claude-opus-5-5

* lint fix
2026-11-27 08:01:41 +00:00
Alexander Ackermann 175d5681bc feat(graph): return the creator of a public link
Link permissions now carry their creator as invitation.invitedBy.user,
like user and group shares do.

Fixes #4148

Assisted-by: Claude Code:claude-opus-5-5
2026-11-27 08:24:20 +01:00
oauth 39e6c94d87 🎉 Release 9.3.0 2026-11-26 19:18:56 +00:00
oauth 03031d2670 Merge branch 'origin/main' into 'next-release/main' 2026-11-26 19:18:55 +00:00
Florian Schade 8315120894 Merge pull request #4136 from fschade/search-optimize-index
feat(search): add a command to optimize the search index
2026-11-26 20:15:41 +01:00
oauth 0554e58111 🎉 Release 9.3.0 2026-11-26 16:29:37 +00:00
oauth 3d677fa52b Merge branch 'origin/main' into 'next-release/main' 2026-11-26 16:29:37 +00:00
Viktor Scharf 1a9ae68995 tests: use mailpit instead of inbucket as the email server (#4138)
The local dev setup of web switched from inbucket to mailpit
(opencloud-eu/web#4059). Use mailpit for the acceptance tests too, in the
CI, the docker setup and the README, so that one mail catcher is used
everywhere.

The tests now read and delete the emails through the API of mailpit
(port 8025), and the server sends them via SMTP to port 1025. mailpit's
search also matches parts of addresses, so EmailHelper narrows the results
down to the mailbox (the local part of the address), as inbucket did.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-26 17:26:47 +01:00
micbar 0a36e91f0c fix: audit log follow-ups from the review
Assisted-by: Claude Code:claude-opus-5-5
2026-11-26 17:26:25 +01:00
oauth be5680987f 🎉 Release 9.3.0 2026-11-26 15:55:46 +00:00
oauth 58186a054d Merge branch 'origin/main' into 'next-release/main' 2026-11-26 15:55:45 +00:00
micbar 8d42270543 refactor(audit): build the audit emitter in one place 2026-11-26 16:52:55 +01:00
micbar 6b21f018dc docs(adr): add the audit decisions from the first implementation
target and path semantics, the public link as actor, roles and recipients in share records, one login per OIDC session, the link access dedupe, the output ordering and why strict comes later.
2026-11-26 16:52:55 +01:00
micbar 1b3790e6f1 feat: pass the audit settings to the reva services
frontend, sharing and storage-users pass the audit settings and the service version to the reva audit emitters. `best_effort` is the only mode for now, any other value stops the service. The frontend keeps the events endpoint the archiver needs for its records.
2026-11-26 16:52:55 +01:00
micbar c684897e3e feat(graph): audit user, group and role changes
Also records denied space creation and data exports of other users.
2026-11-26 16:52:55 +01:00
micbar 1edcc57d88 feat(proxy): audit logins, public link access and backchannel logouts
The proxy builds the audit request context: client address (PROXY_CLIENT_IP_HEADER behind trusted proxies), user agent, auth method, session and OIDC client. A value a client sent in X-Audit-Context is dropped.

A login is recorded once per OIDC session and client, not per access token. Public link access is recorded with the client address, failed attempts every time.
2026-11-26 16:52:55 +01:00
micbar a12cca9a5f feat: read the audit request context in the HTTP services
The HTTP services put the X-Audit-Context header of the proxy into the request context, so it reaches reva with the next call.
2026-11-26 16:52:55 +01:00
micbar 2b8bd6c51a feat(audit): write audit records from the audit stream
The audit service reads the JetStream stream `audit` and writes every record as one line of JSON to stdout and, if configured, to an OTLP endpoint, with the emitting service in the resource. A record is acknowledged only when all outputs have it, so an output outage keeps the records in the stream, in order and without duplicates. The old audit log stays available with AUDIT_LEGACY_ENABLED.

Adds the OpenTelemetry log packages for the OTLP output.
2026-11-26 16:52:55 +01:00
Florian Schade d275718077 feat(search): add a command to optimize the search index 2026-11-26 15:24:55 +01:00
Michael Barzandv.scharf 0629702ecf docs: label reva bumps by the changes they bring in (#4135)
* docs: label reva bumps by the changes they bring in

Assisted-by: Claude Code:claude-opus-5-5

* docs: label web bumps by the changes they bring in

Assisted-by: Claude Code:claude-opus-5-5

---------

Co-authored-by: v.scharf <v.scharf@opencloud.eu>
2026-11-26 15:00:36 +01:00
Michael Barz 8a88976436 build: bump reva to the first part of the audit log (#4134)
Assisted-by: Claude Code:claude-opus-5-5
2026-11-26 13:28:08 +00:00
oauth 272791e91f 🎉 Release 9.3.0 2026-11-26 12:49:52 +00:00
oauth d68c00adae Merge branch 'origin/main' into 'next-release/main' 2026-11-26 12:49:52 +00:00
Florian Schade 335e482a96 Merge pull request #4133 from fschade/search-oversized-metadata
fix(search): extract the metadata of files over the size limit
2026-11-26 13:46:59 +01:00
oauth c8d1a99a8d 🎉 Release 9.3.0 2026-11-26 12:45:58 +00:00
oauth 767881501c Merge branch 'origin/main' into 'next-release/main' 2026-11-26 12:45:57 +00:00
Viktor Scharf 993a616ae9 tests: renew the bearer token on 401 instead of checking it before each request (#4126)
Before each request with a bearer token, the test helper sent a
GET /graph/v1.0/me to check that the cached token is still valid, which
doubled the number of requests. Now the request is sent with the cached
token right away, and on a 401 the token is renewed and the request sent
once more.

Also drop the retry while the share manager is migrating, which is no
longer needed.
2026-11-26 13:43:10 +01:00