HttpLogger assigned each header instead of appending it, so the request
log only showed the last header of each request and response, usually
Date. Format all headers, with all their values and the indentation of
the rest of the log. Mask Authorization and Cookie: the logs are public
in the CI.
Fixes#4104
Assisted-by: Claude Code:claude-opus-5-5
We bump reva to 2b2b8732790b, the merge of
https://github.com/opencloud-eu/reva/pull/1053 on reva main. The
gateway now issues a view only token only to users who may stat a
file but not download it. Users who may download the file open it in
view mode with their own access token, so the collaboration service
no longer treats their session as a secure view, and files of
received federated shares can be opened in view mode again.
It also brings in https://github.com/opencloud-eu/reva/pull/1037
(only the WebDAV permissions are taken from OCM permission change
notifications) and the test change of
https://github.com/opencloud-eu/reva/pull/1050.
Assisted-by: Claude Code:claude-opus-5-5
The search service returns audio, location, image, photo, video, motion photo and live photo with every hit, the REPORT response only carried photo and location, as flat oc:photo-* props. All facets are now rendered in the xml shape PROPFIND uses, so a client reads both the same way. This replaces the flat props.
A public link token carries the link owner as user. If a link visitor
ever reaches GetSigningKey they get the owner's signing key and can sign
urls for everything the owner can read, until the key expires. Today the
proxy public paths and the reva link scope keep visitors away from the
endpoint, this adds the check in the handler itself.
We now refuse guests and users with a public-share-role in the opaque,
before reading or creating the key.
ported from https://github.com/owncloud/ocis/pull/12332
related: https://github.com/opencloud-eu/omega/issues/879
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Replace the .mise-go-version.sh script and the templated GO_VERSION
env variable with mise's built-in support for go.mod as an idiomatic
version file. mise uses the toolchain directive if there is one and
falls back to the go directive, like the script did.
The exec() template ran the script relative to the current directory,
which broke config parsing in mise commands that load the config from
elsewhere, such as upgrading tools.
Assisted-by: Claude Code:claude-opus-5-5
The received OCM storage and the ocmshares auth manager both resolved
a single gateway client at startup and kept using it. They now keep a
gateway selector and get a client per call, like the other reva
services.
related: https://github.com/opencloud-eu/reva/pull/1034
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
A federated editor share of a folder now carries the permissions of
the Editor role, so the graph API returns a role for it instead of a
list of permission actions. Changing the role of a federated share now
notifies the remote, so the remote user can write to the file after
the sharer upgraded the share to File Editor. Accepting an expired
invitation returns the actual reason, "token not valid", instead of
always claiming the token expired.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
We bump reva to 0093d72f4c9d, the merge of
https://github.com/opencloud-eu/reva/pull/1035 on reva main. This
brings in the OCM unshare and permission change notifications, the ocm
core share events and the fixes to the permissions of OCM shares, on
top of the invite and provider fixes already on reva main.
It also pulls in the revision cleanup from
https://github.com/opencloud-eu/reva/pull/895. Its strategy defaults
to empty, which keeps all revisions, so nothing changes until we wire
up the option.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>