From fe35bd17f3af3e2d5662001d329d21280f7cdfca Mon Sep 17 00:00:00 2001 From: Ishank Arora Date: Tue, 26 Oct 2021 11:33:33 +0200 Subject: [PATCH] v1.15.0 --- CHANGELOG.md | 170 ++++++++ RELEASE_DATE | 2 +- VERSION | 2 +- .../add-prom-webhook.md | 0 .../appregistry-register-once.md | 0 .../archiver-fix-max-size.md | 0 .../codeowners.md | 0 .../decomposedfs-nil-quota.md | 0 .../eos-file-perms.md | 0 .../eos-projects-share-perm.md | 0 .../fix-webdav-upload-permissions.md | 0 .../full-path-on-share-info.md | 0 .../get-quota-storage-space.md | 0 .../machine-auth-claim.md | 0 .../nextcloud-ocm-share-manager.md | 0 .../nextcloud-test-improvements.md | 0 .../ocdav-remove-options-namespace.md | 0 .../ocs-first-req-warmup.md | 0 .../propfind-files.md | 0 .../public-share-app-auth.md | 0 .../recycle-bin-arbitrary-paths.md | 0 .../storage-ua-filtering.md | 0 .../update-storage-spaces.md | 0 .../user-setting-capability.md | 0 changelog/NOTE.md | 382 +++++------------- .../en/docs/changelog/1.15.0/_index.md | 179 ++++++++ 26 files changed, 452 insertions(+), 283 deletions(-) rename changelog/{unreleased => 1.15.0_2021-10-26}/add-prom-webhook.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/appregistry-register-once.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/archiver-fix-max-size.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/codeowners.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/decomposedfs-nil-quota.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/eos-file-perms.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/eos-projects-share-perm.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/fix-webdav-upload-permissions.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/full-path-on-share-info.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/get-quota-storage-space.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/machine-auth-claim.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/nextcloud-ocm-share-manager.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/nextcloud-test-improvements.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/ocdav-remove-options-namespace.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/ocs-first-req-warmup.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/propfind-files.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/public-share-app-auth.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/recycle-bin-arbitrary-paths.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/storage-ua-filtering.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/update-storage-spaces.md (100%) rename changelog/{unreleased => 1.15.0_2021-10-26}/user-setting-capability.md (100%) create mode 100644 docs/content/en/docs/changelog/1.15.0/_index.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 3200459c08..f8275a8a5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,173 @@ +Changelog for reva 1.15.0 (2021-10-26) +======================================= + +The following sections list the changes in reva 1.15.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + + * Fix #2168: Override provider if was previously registered + * Fix #2173: Fix archiver max size reached error + * Fix #2167: Handle nil quota in decomposedfs + * Fix #2153: Restrict EOS project spaces sharing permissions to admins and writers + * Fix #2179: Fix the returned permissions for webdav uploads + * Fix #2177: Retrieve the full path of a share when setting as + * Chg #2479: Make apps able to work with public shares + * Enh #2203: Add alerting webhook to SiteAcc service + * Enh #2190: Update CODEOWNERS + * Enh #2174: Inherit ACLs for files from parent directories + * Enh #2152: Add a reference parameter to the getQuota request + * Enh #2171: Add optional claim parameter to machine auth + * Enh #2163: Nextcloud-based share manager for pkg/ocm/share + * Enh #2135: Nextcloud test improvements + * Enh #2180: Remove OCDAV options namespace parameter + * Enh #2117: Add ocs cache warmup strategy for first request from the user + * Enh #2170: Handle propfind requests for existing files + * Enh #2165: Allow access to recycle bin for arbitrary paths outside homes + * Enh #2193: Filter root paths according to user agent + * Enh #2162: Implement the UpdateStorageSpace method + * Enh #2189: Add user setting capability + +Details +------- + + * Bugfix #2168: Override provider if was previously registered + + Previously if an AppProvider registered himself two times, for example after a failure, the + mime types supported by the provider contained multiple times the same provider. Now this has + been fixed, overriding the previous one. + + https://github.com/cs3org/reva/pull/2168 + + * Bugfix #2173: Fix archiver max size reached error + + Previously in the total size count of the files being archived, the folders were taken into + account, and this could cause a false max size reached error because the size of a directory is + recursive-computed, causing the archive to be truncated. Now in the size count, the + directories are skipped. + + https://github.com/cs3org/reva/pull/2173 + + * Bugfix #2167: Handle nil quota in decomposedfs + + Do not nil pointer derefenrence when sending nil quota to decomposedfs + + https://github.com/cs3org/reva/issues/2167 + + * Bugfix #2153: Restrict EOS project spaces sharing permissions to admins and writers + + https://github.com/cs3org/reva/pull/2153 + + * Bugfix #2179: Fix the returned permissions for webdav uploads + + We've fixed the returned permissions for webdav uploads. It did not consider shares and public + links for the permission calculation, but does so now. + + https://github.com/cs3org/reva/pull/2179 + https://github.com/cs3org/reva/pull/2151 + + * Bugfix #2177: Retrieve the full path of a share when setting as + + Accepted or on shared by me + + https://github.com/cs3org/reva/pull/2177 + + * Change #2479: Make apps able to work with public shares + + Public share receivers were not possible to use apps in public shares because the apps couldn't + load the files in the public shares. This has now been made possible by changing the scope checks + for public shares. + + https://github.com/owncloud/ocis/issues/2479 + https://github.com/cs3org/reva/pull/2143 + + * Enhancement #2203: Add alerting webhook to SiteAcc service + + To integrate email alerting with the monitoring pipeline, a Prometheus webhook has been added + to the SiteAcc service. Furthermore account settings have been extended/modified + accordingly. + + https://github.com/cs3org/reva/pull/2203 + + * Enhancement #2190: Update CODEOWNERS + + https://github.com/cs3org/reva/pull/2190 + + * Enhancement #2174: Inherit ACLs for files from parent directories + + https://github.com/cs3org/reva/pull/2174 + + * Enhancement #2152: Add a reference parameter to the getQuota request + + Implementation of [cs3org/cs3apis#147](https://github.com/cs3org/cs3apis/pull/147) + + Make the cs3apis accept a Reference in the getQuota Request to limit the call to a specific + storage space. + + https://github.com/cs3org/reva/pull/2152 + https://github.com/cs3org/reva/pull/2178 + https://github.com/cs3org/reva/pull/2187 + + * Enhancement #2171: Add optional claim parameter to machine auth + + https://github.com/cs3org/reva/issues/2171 + https://github.com/cs3org/reva/pull/2176 + + * Enhancement #2163: Nextcloud-based share manager for pkg/ocm/share + + Note that pkg/ocm/share is very similar to pkg/share, but it deals with cs3/sharing/ocm + whereas pkg/share deals with cs3/sharing/collaboration + + https://github.com/cs3org/reva/pull/2163 + + * Enhancement #2135: Nextcloud test improvements + + https://github.com/cs3org/reva/pull/2135 + + * Enhancement #2180: Remove OCDAV options namespace parameter + + We dropped the namespace parameter, as it is not used in the options handler. + + https://github.com/cs3org/reva/pull/2180 + + * Enhancement #2117: Add ocs cache warmup strategy for first request from the user + + https://github.com/cs3org/reva/pull/2117 + + * Enhancement #2170: Handle propfind requests for existing files + + https://github.com/cs3org/reva/pull/2170 + + * Enhancement #2165: Allow access to recycle bin for arbitrary paths outside homes + + https://github.com/cs3org/reva/pull/2165 + https://github.com/cs3org/reva/pull/2188 + + * Enhancement #2193: Filter root paths according to user agent + + Adds a new rule setting in the storage registry ("allowed_user_agents"), that allows a user to + specify which storage provider shows according to the user agent that made the request. + + https://github.com/cs3org/reva/pull/2193 + + * Enhancement #2162: Implement the UpdateStorageSpace method + + Added the UpdateStorageSpace method to the decomposedfs. + + https://github.com/cs3org/reva/pull/2162 + https://github.com/cs3org/reva/pull/2195 + https://github.com/cs3org/reva/pull/2196 + + * Enhancement #2189: Add user setting capability + + We've added a capability to communicate the existance of a user settings service to clients. + + https://github.com/owncloud/web/issues/5926 + https://github.com/cs3org/reva/pull/2189 + https://github.com/owncloud/ocis/pull/2655 + + Changelog for reva 1.14.0 (2021-10-12) ======================================= diff --git a/RELEASE_DATE b/RELEASE_DATE index 3dda9ff3d8..8a716fcc80 100644 --- a/RELEASE_DATE +++ b/RELEASE_DATE @@ -1 +1 @@ -2021-10-12 \ No newline at end of file +2021-10-26 \ No newline at end of file diff --git a/VERSION b/VERSION index cd99d386a8..d19d089012 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.14.0 \ No newline at end of file +1.15.0 \ No newline at end of file diff --git a/changelog/unreleased/add-prom-webhook.md b/changelog/1.15.0_2021-10-26/add-prom-webhook.md similarity index 100% rename from changelog/unreleased/add-prom-webhook.md rename to changelog/1.15.0_2021-10-26/add-prom-webhook.md diff --git a/changelog/unreleased/appregistry-register-once.md b/changelog/1.15.0_2021-10-26/appregistry-register-once.md similarity index 100% rename from changelog/unreleased/appregistry-register-once.md rename to changelog/1.15.0_2021-10-26/appregistry-register-once.md diff --git a/changelog/unreleased/archiver-fix-max-size.md b/changelog/1.15.0_2021-10-26/archiver-fix-max-size.md similarity index 100% rename from changelog/unreleased/archiver-fix-max-size.md rename to changelog/1.15.0_2021-10-26/archiver-fix-max-size.md diff --git a/changelog/unreleased/codeowners.md b/changelog/1.15.0_2021-10-26/codeowners.md similarity index 100% rename from changelog/unreleased/codeowners.md rename to changelog/1.15.0_2021-10-26/codeowners.md diff --git a/changelog/unreleased/decomposedfs-nil-quota.md b/changelog/1.15.0_2021-10-26/decomposedfs-nil-quota.md similarity index 100% rename from changelog/unreleased/decomposedfs-nil-quota.md rename to changelog/1.15.0_2021-10-26/decomposedfs-nil-quota.md diff --git a/changelog/unreleased/eos-file-perms.md b/changelog/1.15.0_2021-10-26/eos-file-perms.md similarity index 100% rename from changelog/unreleased/eos-file-perms.md rename to changelog/1.15.0_2021-10-26/eos-file-perms.md diff --git a/changelog/unreleased/eos-projects-share-perm.md b/changelog/1.15.0_2021-10-26/eos-projects-share-perm.md similarity index 100% rename from changelog/unreleased/eos-projects-share-perm.md rename to changelog/1.15.0_2021-10-26/eos-projects-share-perm.md diff --git a/changelog/unreleased/fix-webdav-upload-permissions.md b/changelog/1.15.0_2021-10-26/fix-webdav-upload-permissions.md similarity index 100% rename from changelog/unreleased/fix-webdav-upload-permissions.md rename to changelog/1.15.0_2021-10-26/fix-webdav-upload-permissions.md diff --git a/changelog/unreleased/full-path-on-share-info.md b/changelog/1.15.0_2021-10-26/full-path-on-share-info.md similarity index 100% rename from changelog/unreleased/full-path-on-share-info.md rename to changelog/1.15.0_2021-10-26/full-path-on-share-info.md diff --git a/changelog/unreleased/get-quota-storage-space.md b/changelog/1.15.0_2021-10-26/get-quota-storage-space.md similarity index 100% rename from changelog/unreleased/get-quota-storage-space.md rename to changelog/1.15.0_2021-10-26/get-quota-storage-space.md diff --git a/changelog/unreleased/machine-auth-claim.md b/changelog/1.15.0_2021-10-26/machine-auth-claim.md similarity index 100% rename from changelog/unreleased/machine-auth-claim.md rename to changelog/1.15.0_2021-10-26/machine-auth-claim.md diff --git a/changelog/unreleased/nextcloud-ocm-share-manager.md b/changelog/1.15.0_2021-10-26/nextcloud-ocm-share-manager.md similarity index 100% rename from changelog/unreleased/nextcloud-ocm-share-manager.md rename to changelog/1.15.0_2021-10-26/nextcloud-ocm-share-manager.md diff --git a/changelog/unreleased/nextcloud-test-improvements.md b/changelog/1.15.0_2021-10-26/nextcloud-test-improvements.md similarity index 100% rename from changelog/unreleased/nextcloud-test-improvements.md rename to changelog/1.15.0_2021-10-26/nextcloud-test-improvements.md diff --git a/changelog/unreleased/ocdav-remove-options-namespace.md b/changelog/1.15.0_2021-10-26/ocdav-remove-options-namespace.md similarity index 100% rename from changelog/unreleased/ocdav-remove-options-namespace.md rename to changelog/1.15.0_2021-10-26/ocdav-remove-options-namespace.md diff --git a/changelog/unreleased/ocs-first-req-warmup.md b/changelog/1.15.0_2021-10-26/ocs-first-req-warmup.md similarity index 100% rename from changelog/unreleased/ocs-first-req-warmup.md rename to changelog/1.15.0_2021-10-26/ocs-first-req-warmup.md diff --git a/changelog/unreleased/propfind-files.md b/changelog/1.15.0_2021-10-26/propfind-files.md similarity index 100% rename from changelog/unreleased/propfind-files.md rename to changelog/1.15.0_2021-10-26/propfind-files.md diff --git a/changelog/unreleased/public-share-app-auth.md b/changelog/1.15.0_2021-10-26/public-share-app-auth.md similarity index 100% rename from changelog/unreleased/public-share-app-auth.md rename to changelog/1.15.0_2021-10-26/public-share-app-auth.md diff --git a/changelog/unreleased/recycle-bin-arbitrary-paths.md b/changelog/1.15.0_2021-10-26/recycle-bin-arbitrary-paths.md similarity index 100% rename from changelog/unreleased/recycle-bin-arbitrary-paths.md rename to changelog/1.15.0_2021-10-26/recycle-bin-arbitrary-paths.md diff --git a/changelog/unreleased/storage-ua-filtering.md b/changelog/1.15.0_2021-10-26/storage-ua-filtering.md similarity index 100% rename from changelog/unreleased/storage-ua-filtering.md rename to changelog/1.15.0_2021-10-26/storage-ua-filtering.md diff --git a/changelog/unreleased/update-storage-spaces.md b/changelog/1.15.0_2021-10-26/update-storage-spaces.md similarity index 100% rename from changelog/unreleased/update-storage-spaces.md rename to changelog/1.15.0_2021-10-26/update-storage-spaces.md diff --git a/changelog/unreleased/user-setting-capability.md b/changelog/1.15.0_2021-10-26/user-setting-capability.md similarity index 100% rename from changelog/unreleased/user-setting-capability.md rename to changelog/1.15.0_2021-10-26/user-setting-capability.md diff --git a/changelog/NOTE.md b/changelog/NOTE.md index c3a1a2515f..7bc36f0988 100644 --- a/changelog/NOTE.md +++ b/changelog/NOTE.md @@ -1,350 +1,170 @@ -Changelog for reva 1.14.0 (2021-10-12) +Changelog for reva 1.15.0 (2021-10-26) ======================================= -The following sections list the changes in reva 1.14.0 relevant to +The following sections list the changes in reva 1.15.0 relevant to reva users. The changes are ordered by importance. Summary ------- - * Fix #2103: AppProvider: propagate back errors reported by WOPI - * Fix #2149: Remove excess info from the http list app providers endpoint - * Fix #2114: Add as default app while registering and skip unset mimetypes - * Fix #2095: Fix app open when multiple app providers are present - * Fix #2135: Make TUS capabilities configurable - * Fix #2076: Fix chi routing - * Fix #2077: Fix concurrent registration of mimetypes - * Fix #2154: Return OK when trying to delete a non existing reference - * Fix #2078: Fix nil pointer exception in stat - * Fix #2073: Fix opening a readonly filetype with WOPI - * Fix #2140: Map GRPC error codes to REVA errors - * Fix #2147: Follow up of #2138: this is the new expected format - * Fix #2116: Differentiate share types when retrieving received shares in sql driver - * Fix #2074: Fix Stat() for EOS storage provider - * Fix #2151: Fix return code for webdav uploads when the token expired - * Chg #2121: Sharemanager API change - * Enh #2090: Return space name during list storage spaces - * Enh #2138: Default AppProvider on top of the providers list - * Enh #2137: Revamp app registry and add parameter to control file creation - * Enh #145: UI improvements for the AppProviders - * Enh #2088: Add archiver and app provider to ocs capabilities - * Enh #2537: Add maximum files and size to archiver capabilities - * Enh #2100: Add support for resource id to the archiver - * Enh #2158: Augment the Id of new spaces - * Enh #2085: Make encoding user groups in access tokens configurable - * Enh #146: Filter the denial shares (permission = 0) out of - * Enh #2141: Use golang v1.17 - * Enh #2053: Safer defaults for TLS verification on LDAP connections - * Enh #2115: Reduce code duplication in LDAP related drivers - * Enh #1989: Add redirects from OC10 URL formats - * Enh #2479: Limit publicshare and resourceinfo scope content - * Enh #2071: Implement listing favorites via the dav report API - * Enh #2091: Nextcloud share managers - * Enh #2070: More unit tests for the Nextcloud storage provider - * Enh #2087: More unit tests for the Nextcloud auth and user managers - * Enh #2075: Make owncloudsql leverage existing filecache index - * Enh #2050: Add a share types filter to the OCS API - * Enh #2134: Use space Type from request - * Enh #2132: Align local tests with drone setup - * Enh #2095: Whitelisting for apps - * Enh #2155: Pass an extra query parameter to WOPI /openinapp with a + * Fix #2168: Override provider if was previously registered + * Fix #2173: Fix archiver max size reached error + * Fix #2167: Handle nil quota in decomposedfs + * Fix #2153: Restrict EOS project spaces sharing permissions to admins and writers + * Fix #2179: Fix the returned permissions for webdav uploads + * Fix #2177: Retrieve the full path of a share when setting as + * Chg #2479: Make apps able to work with public shares + * Enh #2203: Add alerting webhook to SiteAcc service + * Enh #2190: Update CODEOWNERS + * Enh #2174: Inherit ACLs for files from parent directories + * Enh #2152: Add a reference parameter to the getQuota request + * Enh #2171: Add optional claim parameter to machine auth + * Enh #2163: Nextcloud-based share manager for pkg/ocm/share + * Enh #2135: Nextcloud test improvements + * Enh #2180: Remove OCDAV options namespace parameter + * Enh #2117: Add ocs cache warmup strategy for first request from the user + * Enh #2170: Handle propfind requests for existing files + * Enh #2165: Allow access to recycle bin for arbitrary paths outside homes + * Enh #2193: Filter root paths according to user agent + * Enh #2162: Implement the UpdateStorageSpace method + * Enh #2189: Add user setting capability Details ------- - * Bugfix #2103: AppProvider: propagate back errors reported by WOPI + * Bugfix #2168: Override provider if was previously registered - On /app/open and return base64-encoded fileids on /app/new + Previously if an AppProvider registered himself two times, for example after a failure, the + mime types supported by the provider contained multiple times the same provider. Now this has + been fixed, overriding the previous one. - https://github.com/cs3org/reva/pull/2103 + https://github.com/cs3org/reva/pull/2168 - * Bugfix #2149: Remove excess info from the http list app providers endpoint + * Bugfix #2173: Fix archiver max size reached error - We've removed excess info from the http list app providers endpoint. The app provider section - contained all mime types supported by a certain app provider, which led to a very big JSON - payload and since they are not used they have been removed again. Mime types not on the mime type - configuration list always had `application/octet-stream` as a file extension and - `APPLICATION/OCTET-STREAM file` as name and description. Now these information are just - omitted. + Previously in the total size count of the files being archived, the folders were taken into + account, and this could cause a false max size reached error because the size of a directory is + recursive-computed, causing the archive to be truncated. Now in the size count, the + directories are skipped. - https://github.com/cs3org/reva/pull/2149 - https://github.com/owncloud/ocis/pull/2603 - https://github.com/cs3org/reva/pull/2138 + https://github.com/cs3org/reva/pull/2173 - * Bugfix #2114: Add as default app while registering and skip unset mimetypes + * Bugfix #2167: Handle nil quota in decomposedfs - We fixed that app providers will be set as default app while registering if configured. Also we - changed the behaviour that listing supported mimetypes only displays allowed / configured - mimetypes. + Do not nil pointer derefenrence when sending nil quota to decomposedfs - https://github.com/cs3org/reva/pull/2114 - https://github.com/cs3org/reva/pull/2095 + https://github.com/cs3org/reva/issues/2167 - * Bugfix #2095: Fix app open when multiple app providers are present + * Bugfix #2153: Restrict EOS project spaces sharing permissions to admins and writers - We've fixed the gateway behavior, that when multiple app providers are present, it always - returned that we have duplicate names for app providers. This was due the call to - GetAllProviders() without any subsequent filtering by name. Now this filter mechanism is in - place and the duplicate app providers error will only appear if a real duplicate is found. + https://github.com/cs3org/reva/pull/2153 - https://github.com/cs3org/reva/issues/2095 - https://github.com/cs3org/reva/pull/2117 - - * Bugfix #2135: Make TUS capabilities configurable - - We've fixed the configuration for the TUS capabilities, which will now take the given - configuration instead of always using hardcoded defaults. - - https://github.com/cs3org/reva/pull/2135 - - * Bugfix #2076: Fix chi routing - - Chi routes based on the URL.RawPath, which is not updated by the shiftPath based routing used in - reva. By setting the RawPath to an empty string chi will fall pack to URL.Path, allowing it to - match percent encoded path segments, e.g. when trying to match emails or multibyte - characters. - - https://github.com/cs3org/reva/pull/2076 - - * Bugfix #2077: Fix concurrent registration of mimetypes - - We fixed registering mimetypes in the mime package when starting multiple storage providers - in the same process. - - https://github.com/cs3org/reva/pull/2077 - - * Bugfix #2154: Return OK when trying to delete a non existing reference - - When the gateway declines a share we can ignore a non existing reference. - - https://github.com/cs3org/reva/pull/2154 - https://github.com/owncloud/ocis/pull/2603 - - * Bugfix #2078: Fix nil pointer exception in stat - - https://github.com/cs3org/reva/pull/2078 - - * Bugfix #2073: Fix opening a readonly filetype with WOPI - - This change fixes the opening of filetypes that are only supported to be viewed and not to be - edited by some WOPI compliant office suites. + * Bugfix #2179: Fix the returned permissions for webdav uploads - https://github.com/cs3org/reva/pull/2073 - - * Bugfix #2140: Map GRPC error codes to REVA errors - - We've fixed the error return behaviour in the gateway which would return GRPC error codes from - the auth middleware. Now it returns REVA errors which other parts of REVA are also able to - understand. - - https://github.com/cs3org/reva/pull/2140 - - * Bugfix #2147: Follow up of #2138: this is the new expected format - - For the mime types configuration for the AppRegistry. - - https://github.com/cs3org/reva/pull/2147 - - * Bugfix #2116: Differentiate share types when retrieving received shares in sql driver - - https://github.com/cs3org/reva/pull/2116 - - * Bugfix #2074: Fix Stat() for EOS storage provider - - This change fixes the convertion between the eosclient.FileInfo to ResourceInfo, in which - the field ArbitraryMetadata was missing. Moreover, to be consistent with - SetArbitraryMetadata() EOS implementation, all the "user." prefix are stripped out from the - xattrs. - - https://github.com/cs3org/reva/pull/2074 - - * Bugfix #2151: Fix return code for webdav uploads when the token expired - - We've fixed the behavior webdav uploads when the token expired before the final stat. - Previously clients would receive a http 500 error which is wrong, because the file was - successfully uploaded and only the stat couldn't be performed. Now we return a http 200 ok and - the clients will fetch the file info in a separate propfind request. - - Also we introduced the upload expires header on the webdav/TUS and datagateway endpoints, to - signal clients how long an upload can be performed. + We've fixed the returned permissions for webdav uploads. It did not consider shares and public + links for the permission calculation, but does so now. + https://github.com/cs3org/reva/pull/2179 https://github.com/cs3org/reva/pull/2151 - * Change #2121: Sharemanager API change - - This PR updates reva to reflect the share manager CS3 API changes. - - https://github.com/cs3org/reva/pull/2121 - - * Enhancement #2090: Return space name during list storage spaces + * Bugfix #2177: Retrieve the full path of a share when setting as - In the decomposedfs we return now the space name in the response which is stored in the extended - attributes. + Accepted or on shared by me - https://github.com/cs3org/reva/issues/2090 + https://github.com/cs3org/reva/pull/2177 - * Enhancement #2138: Default AppProvider on top of the providers list + * Change #2479: Make apps able to work with public shares - For each mime type + Public share receivers were not possible to use apps in public shares because the apps couldn't + load the files in the public shares. This has now been made possible by changing the scope checks + for public shares. - Now for each mime type, when asking for the list of mime types, the default AppProvider, set both - using the config and the SetDefaultProviderForMimeType method, is always in the top of the - list of AppProviders. The config for the Providers and Mime Types for the AppRegistry changed, - using a list instead of a map. In fact the list of mime types returned by ListSupportedMimeTypes - is now ordered according the config. - - https://github.com/cs3org/reva/pull/2138 - - * Enhancement #2137: Revamp app registry and add parameter to control file creation - - https://github.com/cs3org/reva/pull/2137 - - * Enhancement #145: UI improvements for the AppProviders - - Mime types and their friendly names are now handled in the /app/list HTTP endpoint, and an - additional /app/new endpoint is made available to create new files for apps. - - https://github.com/cs3org/cs3apis/pull/145 - https://github.com/cs3org/reva/pull/2067 - - * Enhancement #2088: Add archiver and app provider to ocs capabilities - - The archiver and app provider has been added to the ocs capabilities. - - https://github.com/cs3org/reva/pull/2088 - https://github.com/owncloud/ocis/pull/2529 - - * Enhancement #2537: Add maximum files and size to archiver capabilities - - We added the maximum files count and maximum archive size of the archiver to the capabilities - endpoint. Clients can use this to generate warnings before the actual archive creation fails. - - https://github.com/owncloud/ocis/issues/2537 - https://github.com/cs3org/reva/pull/2105 - - * Enhancement #2100: Add support for resource id to the archiver - - Before the archiver only supported resources provided by a path. Now also the resources ID are - supported in order to specify the content of the archive to download. The parameters accepted - by the archiver are two: an optional list of `path` (containing the paths of the resources) and - an optional list of `id` (containing the resources IDs of the resources). - - https://github.com/cs3org/reva/issues/2097 - https://github.com/cs3org/reva/pull/2100 - - * Enhancement #2158: Augment the Id of new spaces - - Newly created spaces were missing the Root reference and the storage id in the space id. - - https://github.com/cs3org/reva/issues/2158 - - * Enhancement #2085: Make encoding user groups in access tokens configurable - - https://github.com/cs3org/reva/pull/2085 - - * Enhancement #146: Filter the denial shares (permission = 0) out of - - The Shared-with-me UI view. Also they work regardless whether they are accepted or not, - therefore there's no point to expose them. - - https://github.com/cs3org/cs3apis/pull/146 - https://github.com/cs3org/reva/pull/2072 - - * Enhancement #2141: Use golang v1.17 - - https://github.com/cs3org/reva/pull/2141 - - * Enhancement #2053: Safer defaults for TLS verification on LDAP connections - - The LDAP client connections were hardcoded to ignore certificate validation errors. Now - verification is enabled by default and a new config parameter 'insecure' is introduced to - override that default. It is also possible to add trusted Certificates by using the new - 'cacert' config paramter. - - https://github.com/cs3org/reva/pull/2053 - - * Enhancement #2115: Reduce code duplication in LDAP related drivers - - https://github.com/cs3org/reva/pull/2115 + https://github.com/owncloud/ocis/issues/2479 + https://github.com/cs3org/reva/pull/2143 - * Enhancement #1989: Add redirects from OC10 URL formats + * Enhancement #2203: Add alerting webhook to SiteAcc service - Added redirectors for ownCloud 10 URLs. This allows users to continue to use their bookmarks - from ownCloud 10 in ocis. + To integrate email alerting with the monitoring pipeline, a Prometheus webhook has been added + to the SiteAcc service. Furthermore account settings have been extended/modified + accordingly. - https://github.com/cs3org/reva/pull/1989 + https://github.com/cs3org/reva/pull/2203 - * Enhancement #2479: Limit publicshare and resourceinfo scope content + * Enhancement #2190: Update CODEOWNERS - We changed the publicshare and resourceinfo scopes to contain only necessary values. This - reduces the size of the resulting token and also limits the amount of data which can be leaked. + https://github.com/cs3org/reva/pull/2190 - https://github.com/owncloud/ocis/issues/2479 - https://github.com/cs3org/reva/pull/2093 + * Enhancement #2174: Inherit ACLs for files from parent directories - * Enhancement #2071: Implement listing favorites via the dav report API + https://github.com/cs3org/reva/pull/2174 - Added filter-files to the dav REPORT API. This enables the listing of favorites. + * Enhancement #2152: Add a reference parameter to the getQuota request - https://github.com/cs3org/reva/pull/2071 - https://github.com/cs3org/reva/pull/2086 + Implementation of [cs3org/cs3apis#147](https://github.com/cs3org/cs3apis/pull/147) - * Enhancement #2091: Nextcloud share managers + Make the cs3apis accept a Reference in the getQuota Request to limit the call to a specific + storage space. - Share manager that uses Nextcloud as a backend + https://github.com/cs3org/reva/pull/2152 + https://github.com/cs3org/reva/pull/2178 + https://github.com/cs3org/reva/pull/2187 - https://github.com/cs3org/reva/pull/2091 + * Enhancement #2171: Add optional claim parameter to machine auth - * Enhancement #2070: More unit tests for the Nextcloud storage provider + https://github.com/cs3org/reva/issues/2171 + https://github.com/cs3org/reva/pull/2176 - Adds more unit tests for the Nextcloud storage provider. + * Enhancement #2163: Nextcloud-based share manager for pkg/ocm/share - https://github.com/cs3org/reva/pull/2070 + Note that pkg/ocm/share is very similar to pkg/share, but it deals with cs3/sharing/ocm + whereas pkg/share deals with cs3/sharing/collaboration - * Enhancement #2087: More unit tests for the Nextcloud auth and user managers + https://github.com/cs3org/reva/pull/2163 - Adds more unit tests for the Nextcloud auth manager and the Nextcloud user manager + * Enhancement #2135: Nextcloud test improvements - https://github.com/cs3org/reva/pull/2087 + https://github.com/cs3org/reva/pull/2135 - * Enhancement #2075: Make owncloudsql leverage existing filecache index + * Enhancement #2180: Remove OCDAV options namespace parameter - When listing folders the SQL query now uses an existing index on the filecache table. + We dropped the namespace parameter, as it is not used in the options handler. - https://github.com/cs3org/reva/pull/2075 + https://github.com/cs3org/reva/pull/2180 - * Enhancement #2050: Add a share types filter to the OCS API + * Enhancement #2117: Add ocs cache warmup strategy for first request from the user - Added a filter to the OCS API to filter the received shares by type. + https://github.com/cs3org/reva/pull/2117 - https://github.com/cs3org/reva/pull/2050 + * Enhancement #2170: Handle propfind requests for existing files - * Enhancement #2134: Use space Type from request + https://github.com/cs3org/reva/pull/2170 - In the decomposedfs we now use the space type from the request when creating a new space. + * Enhancement #2165: Allow access to recycle bin for arbitrary paths outside homes - https://github.com/cs3org/reva/issues/2134 + https://github.com/cs3org/reva/pull/2165 + https://github.com/cs3org/reva/pull/2188 - * Enhancement #2132: Align local tests with drone setup + * Enhancement #2193: Filter root paths according to user agent - We fixed running the tests locally and align it with the drone setup. + Adds a new rule setting in the storage registry ("allowed_user_agents"), that allows a user to + specify which storage provider shows according to the user agent that made the request. - https://github.com/cs3org/reva/issues/2132 + https://github.com/cs3org/reva/pull/2193 - * Enhancement #2095: Whitelisting for apps + * Enhancement #2162: Implement the UpdateStorageSpace method - AppProvider supported mime types are now overridden in its configuration. A friendly name, a - description, an extension, an icon and a default app, can be configured in the AppRegistry for - each mime type. + Added the UpdateStorageSpace method to the decomposedfs. - https://github.com/cs3org/reva/pull/2095 + https://github.com/cs3org/reva/pull/2162 + https://github.com/cs3org/reva/pull/2195 + https://github.com/cs3org/reva/pull/2196 - * Enhancement #2155: Pass an extra query parameter to WOPI /openinapp with a + * Enhancement #2189: Add user setting capability - Unique and consistent over time user identifier. The Reva token used so far is not consistent - (it's per session) and also too long. + We've added a capability to communicate the existance of a user settings service to clients. - https://github.com/cs3org/reva/pull/2155 - https://github.com/cs3org/wopiserver/pull/48 + https://github.com/owncloud/web/issues/5926 + https://github.com/cs3org/reva/pull/2189 + https://github.com/owncloud/ocis/pull/2655 diff --git a/docs/content/en/docs/changelog/1.15.0/_index.md b/docs/content/en/docs/changelog/1.15.0/_index.md new file mode 100644 index 0000000000..57950106e9 --- /dev/null +++ b/docs/content/en/docs/changelog/1.15.0/_index.md @@ -0,0 +1,179 @@ + +--- +title: "v1.15.0" +linkTitle: "v1.15.0" +weight: 40 +description: > + Changelog for Reva v1.15.0 (2021-10-26) +--- + +Changelog for reva 1.15.0 (2021-10-26) +======================================= + +The following sections list the changes in reva 1.15.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + + * Fix #2168: Override provider if was previously registered + * Fix #2173: Fix archiver max size reached error + * Fix #2167: Handle nil quota in decomposedfs + * Fix #2153: Restrict EOS project spaces sharing permissions to admins and writers + * Fix #2179: Fix the returned permissions for webdav uploads + * Fix #2177: Retrieve the full path of a share when setting as + * Chg #2479: Make apps able to work with public shares + * Enh #2203: Add alerting webhook to SiteAcc service + * Enh #2190: Update CODEOWNERS + * Enh #2174: Inherit ACLs for files from parent directories + * Enh #2152: Add a reference parameter to the getQuota request + * Enh #2171: Add optional claim parameter to machine auth + * Enh #2163: Nextcloud-based share manager for pkg/ocm/share + * Enh #2135: Nextcloud test improvements + * Enh #2180: Remove OCDAV options namespace parameter + * Enh #2117: Add ocs cache warmup strategy for first request from the user + * Enh #2170: Handle propfind requests for existing files + * Enh #2165: Allow access to recycle bin for arbitrary paths outside homes + * Enh #2193: Filter root paths according to user agent + * Enh #2162: Implement the UpdateStorageSpace method + * Enh #2189: Add user setting capability + +Details +------- + + * Bugfix #2168: Override provider if was previously registered + + Previously if an AppProvider registered himself two times, for example after a failure, the + mime types supported by the provider contained multiple times the same provider. Now this has + been fixed, overriding the previous one. + + https://github.com/cs3org/reva/pull/2168 + + * Bugfix #2173: Fix archiver max size reached error + + Previously in the total size count of the files being archived, the folders were taken into + account, and this could cause a false max size reached error because the size of a directory is + recursive-computed, causing the archive to be truncated. Now in the size count, the + directories are skipped. + + https://github.com/cs3org/reva/pull/2173 + + * Bugfix #2167: Handle nil quota in decomposedfs + + Do not nil pointer derefenrence when sending nil quota to decomposedfs + + https://github.com/cs3org/reva/issues/2167 + + * Bugfix #2153: Restrict EOS project spaces sharing permissions to admins and writers + + https://github.com/cs3org/reva/pull/2153 + + * Bugfix #2179: Fix the returned permissions for webdav uploads + + We've fixed the returned permissions for webdav uploads. It did not consider shares and public + links for the permission calculation, but does so now. + + https://github.com/cs3org/reva/pull/2179 + https://github.com/cs3org/reva/pull/2151 + + * Bugfix #2177: Retrieve the full path of a share when setting as + + Accepted or on shared by me + + https://github.com/cs3org/reva/pull/2177 + + * Change #2479: Make apps able to work with public shares + + Public share receivers were not possible to use apps in public shares because the apps couldn't + load the files in the public shares. This has now been made possible by changing the scope checks + for public shares. + + https://github.com/owncloud/ocis/issues/2479 + https://github.com/cs3org/reva/pull/2143 + + * Enhancement #2203: Add alerting webhook to SiteAcc service + + To integrate email alerting with the monitoring pipeline, a Prometheus webhook has been added + to the SiteAcc service. Furthermore account settings have been extended/modified + accordingly. + + https://github.com/cs3org/reva/pull/2203 + + * Enhancement #2190: Update CODEOWNERS + + https://github.com/cs3org/reva/pull/2190 + + * Enhancement #2174: Inherit ACLs for files from parent directories + + https://github.com/cs3org/reva/pull/2174 + + * Enhancement #2152: Add a reference parameter to the getQuota request + + Implementation of [cs3org/cs3apis#147](https://github.com/cs3org/cs3apis/pull/147) + + Make the cs3apis accept a Reference in the getQuota Request to limit the call to a specific + storage space. + + https://github.com/cs3org/reva/pull/2152 + https://github.com/cs3org/reva/pull/2178 + https://github.com/cs3org/reva/pull/2187 + + * Enhancement #2171: Add optional claim parameter to machine auth + + https://github.com/cs3org/reva/issues/2171 + https://github.com/cs3org/reva/pull/2176 + + * Enhancement #2163: Nextcloud-based share manager for pkg/ocm/share + + Note that pkg/ocm/share is very similar to pkg/share, but it deals with cs3/sharing/ocm + whereas pkg/share deals with cs3/sharing/collaboration + + https://github.com/cs3org/reva/pull/2163 + + * Enhancement #2135: Nextcloud test improvements + + https://github.com/cs3org/reva/pull/2135 + + * Enhancement #2180: Remove OCDAV options namespace parameter + + We dropped the namespace parameter, as it is not used in the options handler. + + https://github.com/cs3org/reva/pull/2180 + + * Enhancement #2117: Add ocs cache warmup strategy for first request from the user + + https://github.com/cs3org/reva/pull/2117 + + * Enhancement #2170: Handle propfind requests for existing files + + https://github.com/cs3org/reva/pull/2170 + + * Enhancement #2165: Allow access to recycle bin for arbitrary paths outside homes + + https://github.com/cs3org/reva/pull/2165 + https://github.com/cs3org/reva/pull/2188 + + * Enhancement #2193: Filter root paths according to user agent + + Adds a new rule setting in the storage registry ("allowed_user_agents"), that allows a user to + specify which storage provider shows according to the user agent that made the request. + + https://github.com/cs3org/reva/pull/2193 + + * Enhancement #2162: Implement the UpdateStorageSpace method + + Added the UpdateStorageSpace method to the decomposedfs. + + https://github.com/cs3org/reva/pull/2162 + https://github.com/cs3org/reva/pull/2195 + https://github.com/cs3org/reva/pull/2196 + + * Enhancement #2189: Add user setting capability + + We've added a capability to communicate the existance of a user settings service to clients. + + https://github.com/owncloud/web/issues/5926 + https://github.com/cs3org/reva/pull/2189 + https://github.com/owncloud/ocis/pull/2655 + +