* 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
* 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
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
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.
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.
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.
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.
* 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>
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.
Helpers and Given/Then steps no longer store their response, so a Then
step can't pass on a response left over from an earlier step:
- favorite helpers, used by Given steps too, return the response
- the preview Given/Then steps and the space entry Then steps pass their
response explicitly instead of storing it
- the rename by file id and set property steps are When steps
- the wopi, trashbin, colon path and revisions cleanup helpers return the
response to their When steps