From 12f1b1b13322a2a7067984595eb72301fa933625 Mon Sep 17 00:00:00 2001 From: Hugo Gonzalez Labrador Date: Tue, 14 Sep 2021 15:01:55 +0200 Subject: [PATCH] v1.13.0 --- CHANGELOG.md | 210 +++++++++++++++ RELEASE_DATE | 2 +- VERSION | 2 +- .../{unreleased => 1.13.0_2021-09-14}/.keep | 0 .../appprovider-unsupported.md | 0 .../appprovider-url-object-fixes.md | 0 .../appprovider-url-object.md | 0 .../archiver-service.md | 0 .../delete-share-response.md | 0 .../escape-ldap-filter.md | 0 .../fix-move-of-shared-file.md | 0 .../fix-revad-logging.md | 0 .../fix-sharing-paths.md | 0 .../fix-storageid-shares.md | 0 .../fix-user-manager-println.md | 0 .../fix-wopi-discovery.md | 0 .../fix-zero-file-size.md | 0 .../machine-auth.md | 0 .../nextcloud-user-backend.md | 0 .../owncloud-ocs-move-to-go-chi-routing.md | 0 .../owncloudsql-userprovider.md | 0 .../remove-share-reference.md | 0 .../runtime-plugins-docs.md | 0 .../sharing-filter-methods.md | 0 .../sharing-manager-role.md | 0 .../spaces-capabilities.md | 0 .../spaces-creation.md | 0 .../superfluous-response-write-header.md | 0 .../tracing-agent-config.md | 0 changelog/NOTE.md | 252 +++++++++--------- .../en/docs/changelog/1.13.0/_index.md | 219 +++++++++++++++ 31 files changed, 558 insertions(+), 127 deletions(-) rename changelog/{unreleased => 1.13.0_2021-09-14}/.keep (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/appprovider-unsupported.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/appprovider-url-object-fixes.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/appprovider-url-object.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/archiver-service.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/delete-share-response.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/escape-ldap-filter.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/fix-move-of-shared-file.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/fix-revad-logging.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/fix-sharing-paths.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/fix-storageid-shares.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/fix-user-manager-println.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/fix-wopi-discovery.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/fix-zero-file-size.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/machine-auth.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/nextcloud-user-backend.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/owncloud-ocs-move-to-go-chi-routing.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/owncloudsql-userprovider.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/remove-share-reference.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/runtime-plugins-docs.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/sharing-filter-methods.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/sharing-manager-role.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/spaces-capabilities.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/spaces-creation.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/superfluous-response-write-header.md (100%) rename changelog/{unreleased => 1.13.0_2021-09-14}/tracing-agent-config.md (100%) create mode 100644 docs/content/en/docs/changelog/1.13.0/_index.md diff --git a/CHANGELOG.md b/CHANGELOG.md index bca9e692058..a4a3b5cb10c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,213 @@ +Changelog for reva 1.13.0 (2021-09-14) +======================================= + +The following sections list the changes in reva 1.13.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + + * Fix #2024: Fixes for http appprovider endpoints + * Fix #2054: Fix the response after deleting a share + * Fix #2026: Fix moving of a shared file + * Fix #2047: Do not truncate logs on restart + * Fix #1605: Allow to expose full paths in OCS API + * Fix #2033: Fix the storage id of shares + * Fix #2059: Remove "Got registration for user manager" print statements + * Fix #2051: Remove malformed parameters from WOPI discovery URLs + * Fix #2055: Fix uploads of empty files + * Fix #1991: Remove share references when declining shares + * Fix #2030: Fix superfluous WriteHeader on file upload + * Enh #2034: Fail initialization of a WOPI AppProvider if + * Enh #1968: Use a URL object in OpenInAppResponse + * Enh #1698: Implement folder download as archive + * Enh #2042: Escape ldap filters + * Enh #2028: Machine auth provider + * Enh #2043: Nextcloud user backend + * Enh #2006: Move ocs API to go-chi/chi based URL routing + * Enh #1994: Add owncloudsql driver for the userprovider + * Enh #1971: Add documentation for runtime-plugins + * Enh #2044: Add utility methods for creating share filters + * Enh #2065: New sharing role Manager + * Enh #2015: Add spaces to the list of capabilities + * Enh #2041: Create operations for Spaces + * Enh #2029: Tracing agent configuration + +Details +------- + + * Bugfix #2024: Fixes for http appprovider endpoints + + https://github.com/cs3org/reva/pull/2024 + https://github.com/cs3org/reva/pull/1968 + + * Bugfix #2054: Fix the response after deleting a share + + Added the deleted share to the response after deleting it. + + https://github.com/cs3org/reva/pull/2054 + + * Bugfix #2026: Fix moving of a shared file + + As the share receiver, moving a shared file to another share was not possible. + + https://github.com/cs3org/reva/pull/2026 + + * Bugfix #2047: Do not truncate logs on restart + + This change fixes the way log files were opened. Before they were truncated and now the log file + will be open in append mode and created it if it does not exist. + + https://github.com/cs3org/reva/pull/2047 + + * Bugfix #1605: Allow to expose full paths in OCS API + + Before this fix a share file_target was always harcoded to use a base path. This fix provides the + possiblity to expose full paths in the OCIS API and asymptotically in OCIS web. + + https://github.com/cs3org/reva/pull/1605 + + * Bugfix #2033: Fix the storage id of shares + + The storageid in the share object contained an incorrect value. + + https://github.com/cs3org/reva/pull/2033 + + * Bugfix #2059: Remove "Got registration for user manager" print statements + + Removed the "Got registration for user manager" print statements which spams the log output + without respecting any log level. + + https://github.com/cs3org/reva/pull/2059 + + * Bugfix #2051: Remove malformed parameters from WOPI discovery URLs + + This change fixes the parsing of WOPI discovery URLs for MSOffice /hosting/discovery + endpoint. This endpoint is known to contain malformed query paramters and therefore this fix + removes them. + + https://github.com/cs3org/reva/pull/2051 + + * Bugfix #2055: Fix uploads of empty files + + This change fixes upload of empty files. Previously this was broken and only worked for the + owncloud filesystem as it bypasses the semantics of the InitiateFileUpload call to touch a + local file. + + https://github.com/cs3org/reva/pull/2055 + + * Bugfix #1991: Remove share references when declining shares + + Implemented the removal of share references when a share gets declined. Now when a user + declines a share it will no longer be listed in their `Shares` directory. + + https://github.com/cs3org/reva/pull/1991 + + * Bugfix #2030: Fix superfluous WriteHeader on file upload + + Removes superfluous Writeheader on file upload and therefore removes the error message + "http: superfluous response.WriteHeader call from + github.com/cs3org/reva/internal/http/interceptors/log.(*responseLogger).WriteHeader + (log.go:154)" + + https://github.com/cs3org/reva/pull/2030 + + * Enhancement #2034: Fail initialization of a WOPI AppProvider if + + The underlying app is not WOPI-compliant nor it is supported by the WOPI bridge extensions + + https://github.com/cs3org/reva/pull/2034 + + * Enhancement #1968: Use a URL object in OpenInAppResponse + + https://github.com/cs3org/reva/pull/1968 + + * Enhancement #1698: Implement folder download as archive + + Adds a new http service which will create an archive (platform dependent, zip in windows and tar + in linux) given a list of file. + + https://github.com/cs3org/reva/issues/1698 + https://github.com/cs3org/reva/pull/2066 + + * Enhancement #2042: Escape ldap filters + + Added ldap filter escaping to increase the security of reva. + + https://github.com/cs3org/reva/pull/2042 + + * Enhancement #2028: Machine auth provider + + Adds a new authentication method used to impersonate users, using a shared secret, called + api-key. + + https://github.com/cs3org/reva/pull/2028 + + * Enhancement #2043: Nextcloud user backend + + Adds Nextcloud as a user backend (Nextcloud drivers for 'auth' and 'user'). Also adds back the + Nextcloud storage integration tests. + + https://github.com/cs3org/reva/pull/2043 + + * Enhancement #2006: Move ocs API to go-chi/chi based URL routing + + https://github.com/cs3org/reva/issues/1986 + https://github.com/cs3org/reva/pull/2006 + + * Enhancement #1994: Add owncloudsql driver for the userprovider + + We added a new backend for the userprovider that is backed by an owncloud 10 database. By default + the `user_id` column is used as the reva user username and reva user opaque id. When setting + `join_username=true` the reva user username is joined from the `oc_preferences` table + (`appid='core' AND configkey='username'`) instead. When setting + `join_ownclouduuid=true` the reva user opaqueid is joined from the `oc_preferences` table + (`appid='core' AND configkey='ownclouduuid'`) instead. This allows more flexible + migration strategies. It also supports a `enable_medial_search` config option when + searching users that will enclose the query with `%`. + + https://github.com/cs3org/reva/pull/1994 + + * Enhancement #1971: Add documentation for runtime-plugins + + https://github.com/cs3org/reva/pull/1971 + + * Enhancement #2044: Add utility methods for creating share filters + + Updated the CS3 API to include the new share grantee filter and added utility methods for + creating share filters. This will help making the code more concise. + + https://github.com/cs3org/reva/pull/2044 + + * Enhancement #2065: New sharing role Manager + + The new Manager role is equivalent to a Co-Owner with the difference that a Manager can create + grants on the root of the Space. This means inviting a user to a space will not require an action + from them, as the Manager assigns the grants. + + https://github.com/cs3org/reva/pull/2065 + + * Enhancement #2015: Add spaces to the list of capabilities + + In order for clients to be aware of the new spaces feature we need to enable the `spaces` flag on + the capabilities' endpoint. + + https://github.com/cs3org/reva/pull/2015 + + * Enhancement #2041: Create operations for Spaces + + DecomposedFS is aware now of the concept of Spaces, and supports for creating them. + + https://github.com/cs3org/reva/pull/2041 + + * Enhancement #2029: Tracing agent configuration + + Earlier we could only use the collector URL directly, but since an agent can be deployed as a + sidecar process it makes much more sense to use it instead of the collector directly. + + https://github.com/cs3org/reva/pull/2029 + + Changelog for reva 1.12.0 (2021-08-24) ======================================= diff --git a/RELEASE_DATE b/RELEASE_DATE index ff6afaabb01..664b3074ecb 100644 --- a/RELEASE_DATE +++ b/RELEASE_DATE @@ -1 +1 @@ -2021-08-24 \ No newline at end of file +2021-09-14 \ No newline at end of file diff --git a/VERSION b/VERSION index 32bd932f355..f88cf52e6ef 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.12.0 \ No newline at end of file +1.13.0 \ No newline at end of file diff --git a/changelog/unreleased/.keep b/changelog/1.13.0_2021-09-14/.keep similarity index 100% rename from changelog/unreleased/.keep rename to changelog/1.13.0_2021-09-14/.keep diff --git a/changelog/unreleased/appprovider-unsupported.md b/changelog/1.13.0_2021-09-14/appprovider-unsupported.md similarity index 100% rename from changelog/unreleased/appprovider-unsupported.md rename to changelog/1.13.0_2021-09-14/appprovider-unsupported.md diff --git a/changelog/unreleased/appprovider-url-object-fixes.md b/changelog/1.13.0_2021-09-14/appprovider-url-object-fixes.md similarity index 100% rename from changelog/unreleased/appprovider-url-object-fixes.md rename to changelog/1.13.0_2021-09-14/appprovider-url-object-fixes.md diff --git a/changelog/unreleased/appprovider-url-object.md b/changelog/1.13.0_2021-09-14/appprovider-url-object.md similarity index 100% rename from changelog/unreleased/appprovider-url-object.md rename to changelog/1.13.0_2021-09-14/appprovider-url-object.md diff --git a/changelog/unreleased/archiver-service.md b/changelog/1.13.0_2021-09-14/archiver-service.md similarity index 100% rename from changelog/unreleased/archiver-service.md rename to changelog/1.13.0_2021-09-14/archiver-service.md diff --git a/changelog/unreleased/delete-share-response.md b/changelog/1.13.0_2021-09-14/delete-share-response.md similarity index 100% rename from changelog/unreleased/delete-share-response.md rename to changelog/1.13.0_2021-09-14/delete-share-response.md diff --git a/changelog/unreleased/escape-ldap-filter.md b/changelog/1.13.0_2021-09-14/escape-ldap-filter.md similarity index 100% rename from changelog/unreleased/escape-ldap-filter.md rename to changelog/1.13.0_2021-09-14/escape-ldap-filter.md diff --git a/changelog/unreleased/fix-move-of-shared-file.md b/changelog/1.13.0_2021-09-14/fix-move-of-shared-file.md similarity index 100% rename from changelog/unreleased/fix-move-of-shared-file.md rename to changelog/1.13.0_2021-09-14/fix-move-of-shared-file.md diff --git a/changelog/unreleased/fix-revad-logging.md b/changelog/1.13.0_2021-09-14/fix-revad-logging.md similarity index 100% rename from changelog/unreleased/fix-revad-logging.md rename to changelog/1.13.0_2021-09-14/fix-revad-logging.md diff --git a/changelog/unreleased/fix-sharing-paths.md b/changelog/1.13.0_2021-09-14/fix-sharing-paths.md similarity index 100% rename from changelog/unreleased/fix-sharing-paths.md rename to changelog/1.13.0_2021-09-14/fix-sharing-paths.md diff --git a/changelog/unreleased/fix-storageid-shares.md b/changelog/1.13.0_2021-09-14/fix-storageid-shares.md similarity index 100% rename from changelog/unreleased/fix-storageid-shares.md rename to changelog/1.13.0_2021-09-14/fix-storageid-shares.md diff --git a/changelog/unreleased/fix-user-manager-println.md b/changelog/1.13.0_2021-09-14/fix-user-manager-println.md similarity index 100% rename from changelog/unreleased/fix-user-manager-println.md rename to changelog/1.13.0_2021-09-14/fix-user-manager-println.md diff --git a/changelog/unreleased/fix-wopi-discovery.md b/changelog/1.13.0_2021-09-14/fix-wopi-discovery.md similarity index 100% rename from changelog/unreleased/fix-wopi-discovery.md rename to changelog/1.13.0_2021-09-14/fix-wopi-discovery.md diff --git a/changelog/unreleased/fix-zero-file-size.md b/changelog/1.13.0_2021-09-14/fix-zero-file-size.md similarity index 100% rename from changelog/unreleased/fix-zero-file-size.md rename to changelog/1.13.0_2021-09-14/fix-zero-file-size.md diff --git a/changelog/unreleased/machine-auth.md b/changelog/1.13.0_2021-09-14/machine-auth.md similarity index 100% rename from changelog/unreleased/machine-auth.md rename to changelog/1.13.0_2021-09-14/machine-auth.md diff --git a/changelog/unreleased/nextcloud-user-backend.md b/changelog/1.13.0_2021-09-14/nextcloud-user-backend.md similarity index 100% rename from changelog/unreleased/nextcloud-user-backend.md rename to changelog/1.13.0_2021-09-14/nextcloud-user-backend.md diff --git a/changelog/unreleased/owncloud-ocs-move-to-go-chi-routing.md b/changelog/1.13.0_2021-09-14/owncloud-ocs-move-to-go-chi-routing.md similarity index 100% rename from changelog/unreleased/owncloud-ocs-move-to-go-chi-routing.md rename to changelog/1.13.0_2021-09-14/owncloud-ocs-move-to-go-chi-routing.md diff --git a/changelog/unreleased/owncloudsql-userprovider.md b/changelog/1.13.0_2021-09-14/owncloudsql-userprovider.md similarity index 100% rename from changelog/unreleased/owncloudsql-userprovider.md rename to changelog/1.13.0_2021-09-14/owncloudsql-userprovider.md diff --git a/changelog/unreleased/remove-share-reference.md b/changelog/1.13.0_2021-09-14/remove-share-reference.md similarity index 100% rename from changelog/unreleased/remove-share-reference.md rename to changelog/1.13.0_2021-09-14/remove-share-reference.md diff --git a/changelog/unreleased/runtime-plugins-docs.md b/changelog/1.13.0_2021-09-14/runtime-plugins-docs.md similarity index 100% rename from changelog/unreleased/runtime-plugins-docs.md rename to changelog/1.13.0_2021-09-14/runtime-plugins-docs.md diff --git a/changelog/unreleased/sharing-filter-methods.md b/changelog/1.13.0_2021-09-14/sharing-filter-methods.md similarity index 100% rename from changelog/unreleased/sharing-filter-methods.md rename to changelog/1.13.0_2021-09-14/sharing-filter-methods.md diff --git a/changelog/unreleased/sharing-manager-role.md b/changelog/1.13.0_2021-09-14/sharing-manager-role.md similarity index 100% rename from changelog/unreleased/sharing-manager-role.md rename to changelog/1.13.0_2021-09-14/sharing-manager-role.md diff --git a/changelog/unreleased/spaces-capabilities.md b/changelog/1.13.0_2021-09-14/spaces-capabilities.md similarity index 100% rename from changelog/unreleased/spaces-capabilities.md rename to changelog/1.13.0_2021-09-14/spaces-capabilities.md diff --git a/changelog/unreleased/spaces-creation.md b/changelog/1.13.0_2021-09-14/spaces-creation.md similarity index 100% rename from changelog/unreleased/spaces-creation.md rename to changelog/1.13.0_2021-09-14/spaces-creation.md diff --git a/changelog/unreleased/superfluous-response-write-header.md b/changelog/1.13.0_2021-09-14/superfluous-response-write-header.md similarity index 100% rename from changelog/unreleased/superfluous-response-write-header.md rename to changelog/1.13.0_2021-09-14/superfluous-response-write-header.md diff --git a/changelog/unreleased/tracing-agent-config.md b/changelog/1.13.0_2021-09-14/tracing-agent-config.md similarity index 100% rename from changelog/unreleased/tracing-agent-config.md rename to changelog/1.13.0_2021-09-14/tracing-agent-config.md diff --git a/changelog/NOTE.md b/changelog/NOTE.md index ee027e59d07..7eeef122e2c 100644 --- a/changelog/NOTE.md +++ b/changelog/NOTE.md @@ -1,208 +1,210 @@ -Changelog for reva 1.12.0 (2021-08-24) +Changelog for reva 1.13.0 (2021-09-14) ======================================= -The following sections list the changes in reva 1.12.0 relevant to +The following sections list the changes in reva 1.13.0 relevant to reva users. The changes are ordered by importance. Summary ------- - * Fix #1819: Disable notifications - * Fix #2000: Fix dependency on tests - * Fix #1957: Fix etag propagation on deletes - * Fix #1960: Return the updated share after updating - * Fix #1993: Fix owncloudsql GetMD - * Fix #1954: Fix response format of the sharees API - * Fix #1965: Fix the file target of user and group shares - * Fix #1956: Fix trashbin listing with depth 0 - * Fix #1987: Fix windows build - * Fix #1990: Increase oc10 compatibility of owncloudsql - * Fix #1978: Owner type is optional - * Fix #1980: Propagate the etag after restoring a file version - * Fix #1985: Add quota stubs - * Fix #1992: Check if symlink exists instead of spamming the console - * Fix #1913: Logic to restore files to readonly nodes - * Chg #1982: Move user context methods into a separate `userctx` package - * Enh #1946: Add share manager that connects to oc10 databases - * Enh #1983: Add Codacy unit test coverage - * Enh #1803: Introduce new webdav spaces endpoint - * Enh #1998: Initial version of the Nextcloud storage driver - * Enh #1984: Replace OpenCensus with OpenTelemetry - * Enh #1861: Add support for runtime plugins - * Enh #2008: Site account extensions + * Fix #2024: Fixes for http appprovider endpoints + * Fix #2054: Fix the response after deleting a share + * Fix #2026: Fix moving of a shared file + * Fix #2047: Do not truncate logs on restart + * Fix #1605: Allow to expose full paths in OCS API + * Fix #2033: Fix the storage id of shares + * Fix #2059: Remove "Got registration for user manager" print statements + * Fix #2051: Remove malformed parameters from WOPI discovery URLs + * Fix #2055: Fix uploads of empty files + * Fix #1991: Remove share references when declining shares + * Fix #2030: Fix superfluous WriteHeader on file upload + * Enh #2034: Fail initialization of a WOPI AppProvider if + * Enh #1968: Use a URL object in OpenInAppResponse + * Enh #1698: Implement folder download as archive + * Enh #2042: Escape ldap filters + * Enh #2028: Machine auth provider + * Enh #2043: Nextcloud user backend + * Enh #2006: Move ocs API to go-chi/chi based URL routing + * Enh #1994: Add owncloudsql driver for the userprovider + * Enh #1971: Add documentation for runtime-plugins + * Enh #2044: Add utility methods for creating share filters + * Enh #2065: New sharing role Manager + * Enh #2015: Add spaces to the list of capabilities + * Enh #2041: Create operations for Spaces + * Enh #2029: Tracing agent configuration Details ------- - * Bugfix #1819: Disable notifications + * Bugfix #2024: Fixes for http appprovider endpoints - The presence of the key `notifications` in the capabilities' response would cause clients to - attempt to poll the notifications endpoint, which is not yet supported. To prevent the - unnecessary bandwidth we are disabling this altogether. + https://github.com/cs3org/reva/pull/2024 + https://github.com/cs3org/reva/pull/1968 - https://github.com/cs3org/reva/pull/1819 + * Bugfix #2054: Fix the response after deleting a share - * Bugfix #2000: Fix dependency on tests + Added the deleted share to the response after deleting it. - The Nextcloud storage driver depended on a mock http client from the tests/ folder This broke - the Docker build The dependency was removed A check was added to test the Docker build on each PR + https://github.com/cs3org/reva/pull/2054 - https://github.com/cs3org/reva/pull/2000 + * Bugfix #2026: Fix moving of a shared file - * Bugfix #1957: Fix etag propagation on deletes + As the share receiver, moving a shared file to another share was not possible. - When deleting a file the etag propagation would skip the parent of the deleted file. + https://github.com/cs3org/reva/pull/2026 - https://github.com/cs3org/reva/pull/1957 + * Bugfix #2047: Do not truncate logs on restart - * Bugfix #1960: Return the updated share after updating + This change fixes the way log files were opened. Before they were truncated and now the log file + will be open in append mode and created it if it does not exist. - When updating the state of a share in the in-memory share manager the old share state was - returned instead of the updated state. + https://github.com/cs3org/reva/pull/2047 - https://github.com/cs3org/reva/pull/1960 + * Bugfix #1605: Allow to expose full paths in OCS API - * Bugfix #1993: Fix owncloudsql GetMD + Before this fix a share file_target was always harcoded to use a base path. This fix provides the + possiblity to expose full paths in the OCIS API and asymptotically in OCIS web. - The GetMD call internally was not prefixing the path when looking up resources by id. + https://github.com/cs3org/reva/pull/1605 - https://github.com/cs3org/reva/pull/1993 + * Bugfix #2033: Fix the storage id of shares - * Bugfix #1954: Fix response format of the sharees API + The storageid in the share object contained an incorrect value. - The sharees API wasn't returning the users and groups arrays correctly. + https://github.com/cs3org/reva/pull/2033 - https://github.com/cs3org/reva/pull/1954 + * Bugfix #2059: Remove "Got registration for user manager" print statements - * Bugfix #1965: Fix the file target of user and group shares + Removed the "Got registration for user manager" print statements which spams the log output + without respecting any log level. - In some cases the file target of user and group shares was not properly prefixed. + https://github.com/cs3org/reva/pull/2059 - https://github.com/cs3org/reva/pull/1965 - https://github.com/cs3org/reva/pull/1967 + * Bugfix #2051: Remove malformed parameters from WOPI discovery URLs - * Bugfix #1956: Fix trashbin listing with depth 0 + This change fixes the parsing of WOPI discovery URLs for MSOffice /hosting/discovery + endpoint. This endpoint is known to contain malformed query paramters and therefore this fix + removes them. - The trashbin API handled requests with depth 0 the same as request with a depth of 1. + https://github.com/cs3org/reva/pull/2051 - https://github.com/cs3org/reva/pull/1956 + * Bugfix #2055: Fix uploads of empty files - * Bugfix #1987: Fix windows build + This change fixes upload of empty files. Previously this was broken and only worked for the + owncloud filesystem as it bypasses the semantics of the InitiateFileUpload call to touch a + local file. - Add the necessary `golang.org/x/sys/windows` package import to `owncloud` and - `owncloudsql` storage drivers. + https://github.com/cs3org/reva/pull/2055 - https://github.com/cs3org/reva/pull/1987 + * Bugfix #1991: Remove share references when declining shares - * Bugfix #1990: Increase oc10 compatibility of owncloudsql + Implemented the removal of share references when a share gets declined. Now when a user + declines a share it will no longer be listed in their `Shares` directory. - We added a few changes to the owncloudsql storage driver to behave more like oc10. + https://github.com/cs3org/reva/pull/1991 - https://github.com/cs3org/reva/pull/1990 + * Bugfix #2030: Fix superfluous WriteHeader on file upload - * Bugfix #1978: Owner type is optional + Removes superfluous Writeheader on file upload and therefore removes the error message + "http: superfluous response.WriteHeader call from + github.com/cs3org/reva/internal/http/interceptors/log.(*responseLogger).WriteHeader + (log.go:154)" - When reading the user from the extended attributes the user type might not be set, in this case we - now return a user with an invalid type, which correctly reflects the state on disk. + https://github.com/cs3org/reva/pull/2030 - https://github.com/cs3org/reva/pull/1978 + * Enhancement #2034: Fail initialization of a WOPI AppProvider if - * Bugfix #1980: Propagate the etag after restoring a file version + The underlying app is not WOPI-compliant nor it is supported by the WOPI bridge extensions - The decomposedfs didn't propagate after restoring a file version. + https://github.com/cs3org/reva/pull/2034 - https://github.com/cs3org/reva/pull/1980 + * Enhancement #1968: Use a URL object in OpenInAppResponse - * Bugfix #1985: Add quota stubs + https://github.com/cs3org/reva/pull/1968 - The `owncloud` and `owncloudsql` drivers now read the available quota from disk to no longer - always return 0, which causes the web UI to disable uploads. + * Enhancement #1698: Implement folder download as archive - https://github.com/cs3org/reva/pull/1985 + Adds a new http service which will create an archive (platform dependent, zip in windows and tar + in linux) given a list of file. - * Bugfix #1992: Check if symlink exists instead of spamming the console + https://github.com/cs3org/reva/issues/1698 + https://github.com/cs3org/reva/pull/2066 - The logs have been spammed with messages like `could not create symlink for ...` when using the - decomposedfs, eg. with the oCIS storage. We now check if the link exists before trying to create - it. + * Enhancement #2042: Escape ldap filters - https://github.com/cs3org/reva/pull/1992 + Added ldap filter escaping to increase the security of reva. - * Bugfix #1913: Logic to restore files to readonly nodes + https://github.com/cs3org/reva/pull/2042 - This impacts solely the DecomposedFS. Prior to these changes there was no validation when a - user tried to restore a file from the trashbin to a share location (i.e any folder under - `/Shares`). + * Enhancement #2028: Machine auth provider - With this patch if the user restoring the resource has write permissions on the share, restore - is possible. + Adds a new authentication method used to impersonate users, using a shared secret, called + api-key. - https://github.com/cs3org/reva/pull/1913 + https://github.com/cs3org/reva/pull/2028 - * Change #1982: Move user context methods into a separate `userctx` package + * Enhancement #2043: Nextcloud user backend - https://github.com/cs3org/reva/pull/1982 + Adds Nextcloud as a user backend (Nextcloud drivers for 'auth' and 'user'). Also adds back the + Nextcloud storage integration tests. - * Enhancement #1946: Add share manager that connects to oc10 databases + https://github.com/cs3org/reva/pull/2043 - https://github.com/cs3org/reva/pull/1946 + * Enhancement #2006: Move ocs API to go-chi/chi based URL routing - * Enhancement #1983: Add Codacy unit test coverage + https://github.com/cs3org/reva/issues/1986 + https://github.com/cs3org/reva/pull/2006 - This PR adds unit test coverage upload to Codacy. + * Enhancement #1994: Add owncloudsql driver for the userprovider - https://github.com/cs3org/reva/pull/1983 + We added a new backend for the userprovider that is backed by an owncloud 10 database. By default + the `user_id` column is used as the reva user username and reva user opaque id. When setting + `join_username=true` the reva user username is joined from the `oc_preferences` table + (`appid='core' AND configkey='username'`) instead. When setting + `join_ownclouduuid=true` the reva user opaqueid is joined from the `oc_preferences` table + (`appid='core' AND configkey='ownclouduuid'`) instead. This allows more flexible + migration strategies. It also supports a `enable_medial_search` config option when + searching users that will enclose the query with `%`. - * Enhancement #1803: Introduce new webdav spaces endpoint + https://github.com/cs3org/reva/pull/1994 - Clients can now use a new webdav endpoint - `/dav/spaces//relative/path/to/file` to directly access storage - spaces. + * Enhancement #1971: Add documentation for runtime-plugins - The `` can be retrieved using the ListStorageSpaces CS3 api call. + https://github.com/cs3org/reva/pull/1971 - https://github.com/cs3org/reva/pull/1803 + * Enhancement #2044: Add utility methods for creating share filters - * Enhancement #1998: Initial version of the Nextcloud storage driver + Updated the CS3 API to include the new share grantee filter and added utility methods for + creating share filters. This will help making the code more concise. - This is not usable yet in isolation, but it's a first component of - https://github.com/pondersource/sciencemesh-nextcloud + https://github.com/cs3org/reva/pull/2044 - https://github.com/cs3org/reva/pull/1998 + * Enhancement #2065: New sharing role Manager - * Enhancement #1984: Replace OpenCensus with OpenTelemetry + The new Manager role is equivalent to a Co-Owner with the difference that a Manager can create + grants on the root of the Space. This means inviting a user to a space will not require an action + from them, as the Manager assigns the grants. - OpenTelemetry](https://opentelemetry.io/docs/concepts/what-is-opentelemetry/) is - an [open standard](https://github.com/open-telemetry/opentelemetry-specification) a - sandbox CNCF project and it was formed through a merger of the OpenTracing and OpenCensus. + https://github.com/cs3org/reva/pull/2065 - > OpenCensus and OpenTracing have merged to form OpenTelemetry, which serves as the next major - version of OpenCensus and OpenTracing. OpenTelemetry will offer backwards compatibility - with existing OpenCensus integrations, and we will continue to make security patches to - existing OpenCensus libraries for two years. + * Enhancement #2015: Add spaces to the list of capabilities - There is a lot of outdated documentation as a result of this merger, and we will be better off - adopting the latest standard and libraries. + In order for clients to be aware of the new spaces feature we need to enable the `spaces` flag on + the capabilities' endpoint. - https://github.com/cs3org/reva/pull/1984 + https://github.com/cs3org/reva/pull/2015 - * Enhancement #1861: Add support for runtime plugins + * Enhancement #2041: Create operations for Spaces - This PR introduces a new plugin package, that allows loading external plugins into Reva at - runtime. The hashicorp go-plugin framework was used to facilitate the plugin loading and - communication. + DecomposedFS is aware now of the concept of Spaces, and supports for creating them. - https://github.com/cs3org/reva/pull/1861 + https://github.com/cs3org/reva/pull/2041 - * Enhancement #2008: Site account extensions + * Enhancement #2029: Tracing agent configuration - This PR heavily extends the site accounts service: * Extended the accounts information (not - just email and name) * Accounts now have a password * Users can now "log in" to their accounts and - edit it * Ability to grant access to the GOCDB + Earlier we could only use the collector URL directly, but since an agent can be deployed as a + sidecar process it makes much more sense to use it instead of the collector directly. - Furthermore, these accounts can now be used to authenticate for logging in to our customized - GOCDB. More use cases for these accounts are also planned. - - https://github.com/cs3org/reva/pull/2008 + https://github.com/cs3org/reva/pull/2029 diff --git a/docs/content/en/docs/changelog/1.13.0/_index.md b/docs/content/en/docs/changelog/1.13.0/_index.md new file mode 100644 index 00000000000..c5c18931d3e --- /dev/null +++ b/docs/content/en/docs/changelog/1.13.0/_index.md @@ -0,0 +1,219 @@ + +--- +title: "v1.13.0" +linkTitle: "v1.13.0" +weight: 40 +description: > + Changelog for Reva v1.13.0 (2021-09-14) +--- + +Changelog for reva 1.13.0 (2021-09-14) +======================================= + +The following sections list the changes in reva 1.13.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + + * Fix #2024: Fixes for http appprovider endpoints + * Fix #2054: Fix the response after deleting a share + * Fix #2026: Fix moving of a shared file + * Fix #2047: Do not truncate logs on restart + * Fix #1605: Allow to expose full paths in OCS API + * Fix #2033: Fix the storage id of shares + * Fix #2059: Remove "Got registration for user manager" print statements + * Fix #2051: Remove malformed parameters from WOPI discovery URLs + * Fix #2055: Fix uploads of empty files + * Fix #1991: Remove share references when declining shares + * Fix #2030: Fix superfluous WriteHeader on file upload + * Enh #2034: Fail initialization of a WOPI AppProvider if + * Enh #1968: Use a URL object in OpenInAppResponse + * Enh #1698: Implement folder download as archive + * Enh #2042: Escape ldap filters + * Enh #2028: Machine auth provider + * Enh #2043: Nextcloud user backend + * Enh #2006: Move ocs API to go-chi/chi based URL routing + * Enh #1994: Add owncloudsql driver for the userprovider + * Enh #1971: Add documentation for runtime-plugins + * Enh #2044: Add utility methods for creating share filters + * Enh #2065: New sharing role Manager + * Enh #2015: Add spaces to the list of capabilities + * Enh #2041: Create operations for Spaces + * Enh #2029: Tracing agent configuration + +Details +------- + + * Bugfix #2024: Fixes for http appprovider endpoints + + https://github.com/cs3org/reva/pull/2024 + https://github.com/cs3org/reva/pull/1968 + + * Bugfix #2054: Fix the response after deleting a share + + Added the deleted share to the response after deleting it. + + https://github.com/cs3org/reva/pull/2054 + + * Bugfix #2026: Fix moving of a shared file + + As the share receiver, moving a shared file to another share was not possible. + + https://github.com/cs3org/reva/pull/2026 + + * Bugfix #2047: Do not truncate logs on restart + + This change fixes the way log files were opened. Before they were truncated and now the log file + will be open in append mode and created it if it does not exist. + + https://github.com/cs3org/reva/pull/2047 + + * Bugfix #1605: Allow to expose full paths in OCS API + + Before this fix a share file_target was always harcoded to use a base path. This fix provides the + possiblity to expose full paths in the OCIS API and asymptotically in OCIS web. + + https://github.com/cs3org/reva/pull/1605 + + * Bugfix #2033: Fix the storage id of shares + + The storageid in the share object contained an incorrect value. + + https://github.com/cs3org/reva/pull/2033 + + * Bugfix #2059: Remove "Got registration for user manager" print statements + + Removed the "Got registration for user manager" print statements which spams the log output + without respecting any log level. + + https://github.com/cs3org/reva/pull/2059 + + * Bugfix #2051: Remove malformed parameters from WOPI discovery URLs + + This change fixes the parsing of WOPI discovery URLs for MSOffice /hosting/discovery + endpoint. This endpoint is known to contain malformed query paramters and therefore this fix + removes them. + + https://github.com/cs3org/reva/pull/2051 + + * Bugfix #2055: Fix uploads of empty files + + This change fixes upload of empty files. Previously this was broken and only worked for the + owncloud filesystem as it bypasses the semantics of the InitiateFileUpload call to touch a + local file. + + https://github.com/cs3org/reva/pull/2055 + + * Bugfix #1991: Remove share references when declining shares + + Implemented the removal of share references when a share gets declined. Now when a user + declines a share it will no longer be listed in their `Shares` directory. + + https://github.com/cs3org/reva/pull/1991 + + * Bugfix #2030: Fix superfluous WriteHeader on file upload + + Removes superfluous Writeheader on file upload and therefore removes the error message + "http: superfluous response.WriteHeader call from + github.com/cs3org/reva/internal/http/interceptors/log.(*responseLogger).WriteHeader + (log.go:154)" + + https://github.com/cs3org/reva/pull/2030 + + * Enhancement #2034: Fail initialization of a WOPI AppProvider if + + The underlying app is not WOPI-compliant nor it is supported by the WOPI bridge extensions + + https://github.com/cs3org/reva/pull/2034 + + * Enhancement #1968: Use a URL object in OpenInAppResponse + + https://github.com/cs3org/reva/pull/1968 + + * Enhancement #1698: Implement folder download as archive + + Adds a new http service which will create an archive (platform dependent, zip in windows and tar + in linux) given a list of file. + + https://github.com/cs3org/reva/issues/1698 + https://github.com/cs3org/reva/pull/2066 + + * Enhancement #2042: Escape ldap filters + + Added ldap filter escaping to increase the security of reva. + + https://github.com/cs3org/reva/pull/2042 + + * Enhancement #2028: Machine auth provider + + Adds a new authentication method used to impersonate users, using a shared secret, called + api-key. + + https://github.com/cs3org/reva/pull/2028 + + * Enhancement #2043: Nextcloud user backend + + Adds Nextcloud as a user backend (Nextcloud drivers for 'auth' and 'user'). Also adds back the + Nextcloud storage integration tests. + + https://github.com/cs3org/reva/pull/2043 + + * Enhancement #2006: Move ocs API to go-chi/chi based URL routing + + https://github.com/cs3org/reva/issues/1986 + https://github.com/cs3org/reva/pull/2006 + + * Enhancement #1994: Add owncloudsql driver for the userprovider + + We added a new backend for the userprovider that is backed by an owncloud 10 database. By default + the `user_id` column is used as the reva user username and reva user opaque id. When setting + `join_username=true` the reva user username is joined from the `oc_preferences` table + (`appid='core' AND configkey='username'`) instead. When setting + `join_ownclouduuid=true` the reva user opaqueid is joined from the `oc_preferences` table + (`appid='core' AND configkey='ownclouduuid'`) instead. This allows more flexible + migration strategies. It also supports a `enable_medial_search` config option when + searching users that will enclose the query with `%`. + + https://github.com/cs3org/reva/pull/1994 + + * Enhancement #1971: Add documentation for runtime-plugins + + https://github.com/cs3org/reva/pull/1971 + + * Enhancement #2044: Add utility methods for creating share filters + + Updated the CS3 API to include the new share grantee filter and added utility methods for + creating share filters. This will help making the code more concise. + + https://github.com/cs3org/reva/pull/2044 + + * Enhancement #2065: New sharing role Manager + + The new Manager role is equivalent to a Co-Owner with the difference that a Manager can create + grants on the root of the Space. This means inviting a user to a space will not require an action + from them, as the Manager assigns the grants. + + https://github.com/cs3org/reva/pull/2065 + + * Enhancement #2015: Add spaces to the list of capabilities + + In order for clients to be aware of the new spaces feature we need to enable the `spaces` flag on + the capabilities' endpoint. + + https://github.com/cs3org/reva/pull/2015 + + * Enhancement #2041: Create operations for Spaces + + DecomposedFS is aware now of the concept of Spaces, and supports for creating them. + + https://github.com/cs3org/reva/pull/2041 + + * Enhancement #2029: Tracing agent configuration + + Earlier we could only use the collector URL directly, but since an agent can be deployed as a + sidecar process it makes much more sense to use it instead of the collector directly. + + https://github.com/cs3org/reva/pull/2029 + +