v3.4.0
Changelog for reva 3.4.0 (2025-12-12)
The following sections list the changes in reva 3.4.0 relevant to reva users. The changes are ordered by importance.
Summary
- Fix #5425: Make public file PROPFIND response proper again
- Fix #5421: Eosfs: SetLock now checks existing locks
- Fix #5424: Make href properly formed on PROPFIND requests to /v endpoints
- Fix #5418: Fix inverted expiry check in JSON invite repository
- Fix #5412: Nilpointer in logline when addGrant fails
- Fix #5415: Set correct user type when accepting OCM invites
- Fix #5422: Do not give delete permission to root of public links
- Fix #5409: Bring back proper DAV support
- Fix #5430: Fix trashbin restores
- Fix #5427: Fix upload notifications
- Fix #5423: Make href proper in REPORT
- Enh #5385: Add OCM Where Are You From capability
- Enh #5403: Add Acess-Control-Expose-Headers for Range requests
- Enh #5323: Add database config to sharedconf
- Enh #5432: Add support for embedded view mode in apps
- Enh #5408: Modernize codebase
- Enh #5407: Add musl-based fully static build target
- Enh #5401: Adapt gateway and corresponding driver to CS3API changes
- Enh #5363: Include OCM shares in SharedByMe view
- Enh #5285: Remove EOS EnableHome parameter
- Enh #5405: Add support for signed URLs
- Enh #5381: Convert SQL tables to gorm, corresponding driver, and tests
Details
Bugfix #5425: Make public file PROPFIND response proper again
Bugfix #5421: Eosfs: SetLock now checks existing locks
Bugfix #5424: Make href properly formed on PROPFIND requests to /v endpoints
Bugfix #5418: Fix inverted expiry check in JSON invite repository
The
tokenIsExpiredfunction in the JSON invite repository had the comparison operator inverted, causing valid (non-expired) tokens to be incorrectly filtered out when listing invite tokens.The check
token.Expiration.Seconds > Now()was returning true for tokens expiring in the future, effectively hiding all valid tokens. Fixed to use<instead of>.Bugfix #5412: Nilpointer in logline when addGrant fails
Bugfix #5415: Set correct user type when accepting OCM invites
When a remote user accepts an OCM invite, they were being stored with USER_TYPE_PRIMARY instead of USER_TYPE_FEDERATED. This caused federated user searches to fail and OCM share creation to break because the user ID was not properly formatted with the @domain suffix required for OCM address resolution.
Bugfix #5422: Do not give delete permission to root of public links
Otherwise, a folder shared through a public link could itself be deleted
Bugfix #5409: Bring back proper DAV support
Spaces broke proper DAV support, because returned hrefs in the PROPFIND always contained space IDs, even if these were not present in the incoming request. This is fixed now, by writing the href based in the incoming URL
Bugfix #5430: Fix trashbin restores
Bugfix #5427: Fix upload notifications
The registration of notifications for uploads in a public link folder was until now only handled in the OCS HTTP layer; this is the responsibility of the public share provider. Since it was also missing from the OCGraph layer, this has been moved to the “gRPC” part of reva
Bugfix #5423: Make href proper in REPORT
Github.com/cs3org/reva/pull/5409 broke REPORT calls, which are used for favorites. This is now fixed
Enhancement #5385: Add OCM Where Are You From capability
Implements WAYF specific discovery endpoints for the ScienceMesh package, enabling dynamic OCM provider discovery and federation management.
Enhancement #5403: Add Acess-Control-Expose-Headers for Range requests
We add the necessary headers for multipart range requests to Acess-Control-Expose-Headers to expose these, so that clients can read them
Enhancement #5323: Add database config to sharedconf
Add database configuration to
sharedconf, so that it doesn’t have to be repeated for every driverEnhancement #5432: Add support for embedded view mode in apps
Enhancement #5408: Modernize codebase
This PR modernizes the codebase: it removes syntax that used to be idiomatic but now has better alternatives
Enhancement #5407: Add musl-based fully static build target
Added a new
revad-static-muslMakefile target that produces a fully statically linked binary using musl libc instead of glibc. This eliminates the linker warnings that appeared with the standard static build and creates a truly portable binary that runs on any Linux distribution without requiring matching glibc versions.Also fixed the build info injection by correcting the package path in BUILD_FLAGS to include the
/v3module version, ensuring version, commit, and build date information are properly displayed in the binary.Enhancement #5401: Adapt gateway and corresponding driver to CS3API changes
The OCM Core API has been renamed to OCM Incoming API
Enhancement #5363: Include OCM shares in SharedByMe view
- The CS3APis verison has been updated to include “ListExistingOcmShares”. - The OCM shares are now included in the getSharedByMe call. - The filters have been updated to adapt to changes from the updated CS3APIs. - Fixed bug where only ocm users were queried if it was enabled. - Consolidated OCM Address resolutions in a single function, fixes #5383
Enhancement #5285: Remove EOS EnableHome parameter
This change removes the
EnableHomeparameter, which was a source of bugs and was unused in production.Enhancement #5405: Add support for signed URLs
Enhancement #5381: Convert SQL tables to gorm, corresponding driver, and tests
- Conversion of the SQL tables to a GORM model, IDs are unique across public links, normal shares, and OCM shares. - Some refactoring of the OCM tables (protocols and access methods) - Corresponding SQL driver for access has been implemented using GORM - Tests with basic coverage have been implemented.