From 8078ac6b59116928452d1d4958cd1737a93d91ab Mon Sep 17 00:00:00 2001 From: Gianmaria Del Monte Date: Wed, 7 Dec 2022 18:04:58 +0100 Subject: [PATCH] v1.21.0 --- CHANGELOG.md | 132 +++++++ RELEASE_DATE | 2 +- VERSION | 2 +- .../apps-opaque.md | 0 .../auth-registry.md | 0 .../dockerfile.revad-eos.md | 0 .../enhancement-build-publish-docker.md | 0 .../enhancement-buildonly.md | 0 .../enhancement-test-integration.md | 0 .../eos-default-quota-fix.md | 0 .../eos-grpc-fixes.md | 0 .../errors-public-share-provider.md | 0 .../folderurl-for-apps.md | 0 .../get-user-language.md | 0 .../improve-ocmd-error-logs.md | 0 .../rclone-tpc.md | 0 .../refresh-lock-cephfs.md | 0 .../set-user-language.md | 0 changelog/NOTE.md | 352 ++++-------------- .../en/docs/changelog/1.21.0/_index.md | 141 +++++++ 20 files changed, 353 insertions(+), 276 deletions(-) rename changelog/{unreleased => 1.21.0_2022-12-07}/apps-opaque.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/auth-registry.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/dockerfile.revad-eos.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/enhancement-build-publish-docker.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/enhancement-buildonly.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/enhancement-test-integration.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/eos-default-quota-fix.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/eos-grpc-fixes.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/errors-public-share-provider.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/folderurl-for-apps.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/get-user-language.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/improve-ocmd-error-logs.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/rclone-tpc.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/refresh-lock-cephfs.md (100%) rename changelog/{unreleased => 1.21.0_2022-12-07}/set-user-language.md (100%) create mode 100644 docs/content/en/docs/changelog/1.21.0/_index.md diff --git a/CHANGELOG.md b/CHANGELOG.md index fc11237d62..bf893fb647 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,135 @@ +Changelog for reva 1.21.0 (2022-12-07) +======================================= + +The following sections list the changes in reva 1.21.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + + * Fix #3492: Fixes the DefaultQuotaBytes in EOS + * Fix #3420: EOS grpc fixes + * Fix #3501: Fix errors of public share provider according to cs3apis + * Fix #3504: Fix RefreshLock method for cephfs storage driver + * Enh #3502: Appproviders: pass other query parameters as Opaque + * Enh #3028: Access directly auth registry rules map when getting provider + * Enh #3197: Bring back multi-stage build to save on image size + * Enh #3506: Migrate the buildAndPublishDocker job from Drone to GitHub Actions + * Enh #3500: Migrate the BuildOnly job from Drone to GitHub Actions + * Enh #3513: Migrate the testIntegration job from Drone to GitHub Actions + * Enh #3494: Implemented folderurl for WOPI apps + * Enh #3507: Get user preferred language + * Enh #3530: Improve error logging in ocmd flow + * Enh #3491: Implement rclone third-party copy push option + * Enh #3508: Allow an user to set a preferred language + +Details +------- + + * Bugfix #3492: Fixes the DefaultQuotaBytes in EOS + + We were setting the default logical quota to 1T, resulting on only 500GB available to the user. + + https://github.com/cs3org/reva/pull/3492 + + * Bugfix #3420: EOS grpc fixes + + The shares and the applications were not working with the EOS grpc storage driver. This fixes + both. + + https://github.com/cs3org/reva/pull/3420 + + * Bugfix #3501: Fix errors of public share provider according to cs3apis + + All the errors returned by the public share provider where internal errors. Now this has been + fixed and the returned errors are the one defined in the cs3apis. + + https://github.com/cs3org/reva/pull/3501 + + * Bugfix #3504: Fix RefreshLock method for cephfs storage driver + + https://github.com/cs3org/reva/pull/3504 + + * Enhancement #3502: Appproviders: pass other query parameters as Opaque + + This allows to send any other HTTP query parameter passed to /app/open to the underlying + appprovider drivers via GRPC + + https://github.com/cs3org/reva/pull/3502 + + * Enhancement #3028: Access directly auth registry rules map when getting provider + + https://github.com/cs3org/reva/pull/3028 + + * Enhancement #3197: Bring back multi-stage build to save on image size + + - Use EOS 4.8.91 as base image - Bring back multi-stage build - Build revad on the eos 4.8.91 image + due to missing dependency (`ld-musl-x86_64.so.1`, typical of alpine) - Copy the resulting + revad from the builder container + + Resulting image size (unpacked on disk) is 2.59GB - eos-all:4.8.91 is 2.47GB - existing + revad:latest-eos is 6.18GB + + https://github.com/cs3org/reva/pull/3197 + + * Enhancement #3506: Migrate the buildAndPublishDocker job from Drone to GitHub Actions + + We've migrated the buildAndPublishDocker job from Drone to GitHub Actions workflow. We've + updated the Golang version used to build the Docker images to go1.19. We've fixed the Cephfs + storage module. We've improved the Makefile. We've refactored the build-docker workflow. + + https://github.com/cs3org/reva/pull/3506 + + * Enhancement #3500: Migrate the BuildOnly job from Drone to GitHub Actions + + We've migrated the BuildOnly job from Drone to GitHub Actions workflow. The Workflow builds + and Tests Reva, builds a Revad Docker Image and checks the license headers. The license header + tools was removed since the goheader linter provides the same functionality. + + https://github.com/cs3org/reva/pull/3500 + + * Enhancement #3513: Migrate the testIntegration job from Drone to GitHub Actions + + https://github.com/cs3org/reva/pull/3513 + + * Enhancement #3494: Implemented folderurl for WOPI apps + + The folderurl is now populated for WOPI apps, such that for owners and named shares it points to + the containing folder, and for public links it points to the appropriate public link URL. + + On the way, functions to manipulate the user's scope and extract the eventual public link + token(s) have been added, coauthored with @gmgigi96. + + https://github.com/cs3org/reva/pull/3494 + + * Enhancement #3507: Get user preferred language + + The only way for an OCIS web user to change language was to set it into the browser settings. In the + ocs user info response, a field `language` is added, to change their language in the UI, + regardless of the browser settings. + + https://github.com/cs3org/reva/pull/3507 + + * Enhancement #3530: Improve error logging in ocmd flow + + https://github.com/cs3org/reva/issues/3365 + https://github.com/cs3org/reva/pull/3530 + https://github.com/cs3org/reva/pull/3526 + https://github.com/cs3org/reva/pull/3419 + https://github.com/cs3org/reva/pull/3369 + + * Enhancement #3491: Implement rclone third-party copy push option + + This enhancement gives the option to use third-party copy push with rclone between two + different user accounts. + + https://github.com/cs3org/reva/pull/3491 + + * Enhancement #3508: Allow an user to set a preferred language + + https://github.com/cs3org/reva/pull/3508 + + Changelog for reva 1.20.0 (2022-11-24) ======================================= diff --git a/RELEASE_DATE b/RELEASE_DATE index 685a3f20a8..0554d86991 100644 --- a/RELEASE_DATE +++ b/RELEASE_DATE @@ -1 +1 @@ -2022-11-24 \ No newline at end of file +2022-12-07 \ No newline at end of file diff --git a/VERSION b/VERSION index f1e7f0650f..e4264e9848 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.20.0 \ No newline at end of file +1.21.0 \ No newline at end of file diff --git a/changelog/unreleased/apps-opaque.md b/changelog/1.21.0_2022-12-07/apps-opaque.md similarity index 100% rename from changelog/unreleased/apps-opaque.md rename to changelog/1.21.0_2022-12-07/apps-opaque.md diff --git a/changelog/unreleased/auth-registry.md b/changelog/1.21.0_2022-12-07/auth-registry.md similarity index 100% rename from changelog/unreleased/auth-registry.md rename to changelog/1.21.0_2022-12-07/auth-registry.md diff --git a/changelog/unreleased/dockerfile.revad-eos.md b/changelog/1.21.0_2022-12-07/dockerfile.revad-eos.md similarity index 100% rename from changelog/unreleased/dockerfile.revad-eos.md rename to changelog/1.21.0_2022-12-07/dockerfile.revad-eos.md diff --git a/changelog/unreleased/enhancement-build-publish-docker.md b/changelog/1.21.0_2022-12-07/enhancement-build-publish-docker.md similarity index 100% rename from changelog/unreleased/enhancement-build-publish-docker.md rename to changelog/1.21.0_2022-12-07/enhancement-build-publish-docker.md diff --git a/changelog/unreleased/enhancement-buildonly.md b/changelog/1.21.0_2022-12-07/enhancement-buildonly.md similarity index 100% rename from changelog/unreleased/enhancement-buildonly.md rename to changelog/1.21.0_2022-12-07/enhancement-buildonly.md diff --git a/changelog/unreleased/enhancement-test-integration.md b/changelog/1.21.0_2022-12-07/enhancement-test-integration.md similarity index 100% rename from changelog/unreleased/enhancement-test-integration.md rename to changelog/1.21.0_2022-12-07/enhancement-test-integration.md diff --git a/changelog/unreleased/eos-default-quota-fix.md b/changelog/1.21.0_2022-12-07/eos-default-quota-fix.md similarity index 100% rename from changelog/unreleased/eos-default-quota-fix.md rename to changelog/1.21.0_2022-12-07/eos-default-quota-fix.md diff --git a/changelog/unreleased/eos-grpc-fixes.md b/changelog/1.21.0_2022-12-07/eos-grpc-fixes.md similarity index 100% rename from changelog/unreleased/eos-grpc-fixes.md rename to changelog/1.21.0_2022-12-07/eos-grpc-fixes.md diff --git a/changelog/unreleased/errors-public-share-provider.md b/changelog/1.21.0_2022-12-07/errors-public-share-provider.md similarity index 100% rename from changelog/unreleased/errors-public-share-provider.md rename to changelog/1.21.0_2022-12-07/errors-public-share-provider.md diff --git a/changelog/unreleased/folderurl-for-apps.md b/changelog/1.21.0_2022-12-07/folderurl-for-apps.md similarity index 100% rename from changelog/unreleased/folderurl-for-apps.md rename to changelog/1.21.0_2022-12-07/folderurl-for-apps.md diff --git a/changelog/unreleased/get-user-language.md b/changelog/1.21.0_2022-12-07/get-user-language.md similarity index 100% rename from changelog/unreleased/get-user-language.md rename to changelog/1.21.0_2022-12-07/get-user-language.md diff --git a/changelog/unreleased/improve-ocmd-error-logs.md b/changelog/1.21.0_2022-12-07/improve-ocmd-error-logs.md similarity index 100% rename from changelog/unreleased/improve-ocmd-error-logs.md rename to changelog/1.21.0_2022-12-07/improve-ocmd-error-logs.md diff --git a/changelog/unreleased/rclone-tpc.md b/changelog/1.21.0_2022-12-07/rclone-tpc.md similarity index 100% rename from changelog/unreleased/rclone-tpc.md rename to changelog/1.21.0_2022-12-07/rclone-tpc.md diff --git a/changelog/unreleased/refresh-lock-cephfs.md b/changelog/1.21.0_2022-12-07/refresh-lock-cephfs.md similarity index 100% rename from changelog/unreleased/refresh-lock-cephfs.md rename to changelog/1.21.0_2022-12-07/refresh-lock-cephfs.md diff --git a/changelog/unreleased/set-user-language.md b/changelog/1.21.0_2022-12-07/set-user-language.md similarity index 100% rename from changelog/unreleased/set-user-language.md rename to changelog/1.21.0_2022-12-07/set-user-language.md diff --git a/changelog/NOTE.md b/changelog/NOTE.md index c7bcac7fc8..ed3b30111a 100644 --- a/changelog/NOTE.md +++ b/changelog/NOTE.md @@ -1,328 +1,132 @@ -Changelog for reva 1.20.0 (2022-11-24) +Changelog for reva 1.21.0 (2022-12-07) ======================================= -The following sections list the changes in reva 1.20.0 relevant to +The following sections list the changes in reva 1.21.0 relevant to reva users. The changes are ordered by importance. Summary ------- - * Sec #3316: Mitigate XSS - * Fix #3455: Fixes panic in case of empty configuration - * Fix #3311: Remove FIXME - * Fix #3396: Fix the Ceph Docker image repository URL - * Fix #3055: Fix quota for LW accounts - * Fix #3361: Use custom reva logger in ocs - * Fix #3344: Fix quota percentage - * Fix #2979: Removed unused datatx code - * Fix #2973: Fix datatxtarget uri when prefix is used - * Fix #3319: Fix oidc provider crash when custom claims are provided - * Fix #3481: OIDC: resolve users with no uid/gid by username - * Fix #3055: Get user from user provider in oidc driver - * Fix #3053: Temporary read user acl instead of sys acl - * Enh #3401: Make WOPI bridged apps (CodiMD) configuration non hard-coded - * Enh #3402: Block users - * Enh #3098: App provider http endpoint uses Form instead of Query - * Enh #3116: Implementation of cback storage driver for REVA - * Enh #3422: Migrate Codacy from Drone to Codacy/GitHub integration - * Enh #3412: Migrate Fossa from Drone to Github Integration - * Enh #3367: Update go version - * Enh #3467: Enable gocritic linter in golangci-lint and solve issues - * Enh #3463: Enable gofmt linter in golangci-lint and apply gofmt - * Enh #3471: Enable goimports and usestdlibvars in golangci-lint - * Enh #3466: Migrate golangci-lint from Drone to GitHub Actions - * Enh #3465: Enable revive linter in golangci-lint and solve issues - * Enh #3487: Enable staticcheck linter in golangci-lint and solve issues - * Enh #3475: Enable the style linters - * Enh #3070: Allow http service to expose prefixes containing / - * Enh #2986: Better display name in apps for all user types - * Enh #3303: Added support for configuring language locales in apps - * Enh #3348: Revamp lightweigth accounts - * Enh #3304: Add http service to send email for shares - * Enh #3072: Mesh meta data operators - * Enh #3313: Fix content-type for OCM sharing - * Enh #3234: Add post create home hook for eos storage driver - * Enh #3347: Implemented PROPFIND with 0 depth - * Enh #3056: Add public share auth provider - * Enh #3305: Add description to public link - * Enh #3163: Add support for quicklinks for public shares - * Enh #3289: Make Refresh Lock operation WOPI compliant - * Enh #3315: Accept reva token as a bearer authentication - * Enh #3438: Sanitize non-utf8 characters in xattr values in EOS - * Enh #3221: Site Accounts improvements - * Enh #3404: Site accounts & Mentix updates - * Enh #3424: Expire tokens on sunday - * Enh #2986: Use email as display name for external users opening WOPI apps + * Fix #3492: Fixes the DefaultQuotaBytes in EOS + * Fix #3420: EOS grpc fixes + * Fix #3501: Fix errors of public share provider according to cs3apis + * Fix #3504: Fix RefreshLock method for cephfs storage driver + * Enh #3502: Appproviders: pass other query parameters as Opaque + * Enh #3028: Access directly auth registry rules map when getting provider + * Enh #3197: Bring back multi-stage build to save on image size + * Enh #3506: Migrate the buildAndPublishDocker job from Drone to GitHub Actions + * Enh #3500: Migrate the BuildOnly job from Drone to GitHub Actions + * Enh #3513: Migrate the testIntegration job from Drone to GitHub Actions + * Enh #3494: Implemented folderurl for WOPI apps + * Enh #3507: Get user preferred language + * Enh #3530: Improve error logging in ocmd flow + * Enh #3491: Implement rclone third-party copy push option + * Enh #3508: Allow an user to set a preferred language Details ------- - * Security #3316: Mitigate XSS + * Bugfix #3492: Fixes the DefaultQuotaBytes in EOS - We've mitigated an XSS vulnerability resulting from unescaped HTTP responses containing - user-provided values in pkg/siteacc/siteacc.go and - internal/http/services/ocmd/invites.go. This patch uses html.EscapeString to escape the - user-provided values in the HTTP responses of pkg/siteacc/siteacc.go and - internal/http/services/ocmd/invites.go. + We were setting the default logical quota to 1T, resulting on only 500GB available to the user. - https://github.com/cs3org/reva/pull/3316 + https://github.com/cs3org/reva/pull/3492 - * Bugfix #3455: Fixes panic in case of empty configuration + * Bugfix #3420: EOS grpc fixes - Makes sure the config map is allocated prior to setting it + The shares and the applications were not working with the EOS grpc storage driver. This fixes + both. - https://github.com/cs3org/reva/pull/3455 + https://github.com/cs3org/reva/pull/3420 - * Bugfix #3311: Remove FIXME + * Bugfix #3501: Fix errors of public share provider according to cs3apis - Issue https://github.com/cs3org/reva/issues/2402 is closed. + All the errors returned by the public share provider where internal errors. Now this has been + fixed and the returned errors are the one defined in the cs3apis. - https://github.com/cs3org/reva/pull/3311 + https://github.com/cs3org/reva/pull/3501 - * Bugfix #3396: Fix the Ceph Docker image repository URL + * Bugfix #3504: Fix RefreshLock method for cephfs storage driver - https://github.com/cs3org/reva/pull/3396 + https://github.com/cs3org/reva/pull/3504 - * Bugfix #3055: Fix quota for LW accounts + * Enhancement #3502: Appproviders: pass other query parameters as Opaque - LW accounts do not have quota assigned. + This allows to send any other HTTP query parameter passed to /app/open to the underlying + appprovider drivers via GRPC - https://github.com/cs3org/reva/pull/3055 + https://github.com/cs3org/reva/pull/3502 - * Bugfix #3361: Use custom reva logger in ocs + * Enhancement #3028: Access directly auth registry rules map when getting provider - https://github.com/cs3org/reva/pull/3361 + https://github.com/cs3org/reva/pull/3028 - * Bugfix #3344: Fix quota percentage + * Enhancement #3197: Bring back multi-stage build to save on image size - https://github.com/cs3org/reva/pull/3344 + - Use EOS 4.8.91 as base image - Bring back multi-stage build - Build revad on the eos 4.8.91 image + due to missing dependency (`ld-musl-x86_64.so.1`, typical of alpine) - Copy the resulting + revad from the builder container - * Bugfix #2979: Removed unused datatx code + Resulting image size (unpacked on disk) is 2.59GB - eos-all:4.8.91 is 2.47GB - existing + revad:latest-eos is 6.18GB - An OCM reference is not created for a data transfer type share. + https://github.com/cs3org/reva/pull/3197 - https://github.com/cs3org/reva/pull/2979 + * Enhancement #3506: Migrate the buildAndPublishDocker job from Drone to GitHub Actions - * Bugfix #2973: Fix datatxtarget uri when prefix is used + We've migrated the buildAndPublishDocker job from Drone to GitHub Actions workflow. We've + updated the Golang version used to build the Docker images to go1.19. We've fixed the Cephfs + storage module. We've improved the Makefile. We've refactored the build-docker workflow. - When a webdav prefix is used it appears in both host and name parameter of the target uri for data - transfer. This PR fixes that. + https://github.com/cs3org/reva/pull/3506 - https://github.com/cs3org/reva/pull/2973 + * Enhancement #3500: Migrate the BuildOnly job from Drone to GitHub Actions - * Bugfix #3319: Fix oidc provider crash when custom claims are provided + We've migrated the BuildOnly job from Drone to GitHub Actions workflow. The Workflow builds + and Tests Reva, builds a Revad Docker Image and checks the license headers. The license header + tools was removed since the goheader linter provides the same functionality. - https://github.com/cs3org/reva/pull/3319 + https://github.com/cs3org/reva/pull/3500 - * Bugfix #3481: OIDC: resolve users with no uid/gid by username + * Enhancement #3513: Migrate the testIntegration job from Drone to GitHub Actions - Previously we resolved such users (so called "lightweight" or "external" accounts in the CERN - realm) by email, but it turns out that the same email may have multiple accounts associated to - it. + https://github.com/cs3org/reva/pull/3513 - Therefore we now resolve them by username, that is the upn, which is unique. + * Enhancement #3494: Implemented folderurl for WOPI apps - https://github.com/cs3org/reva/pull/3481 + The folderurl is now populated for WOPI apps, such that for owners and named shares it points to + the containing folder, and for public links it points to the appropriate public link URL. - * Bugfix #3055: Get user from user provider in oidc driver + On the way, functions to manipulate the user's scope and extract the eventual public link + token(s) have been added, coauthored with @gmgigi96. - For oidc providers that only respond with standard claims, use the user provider to get the - user. + https://github.com/cs3org/reva/pull/3494 - https://github.com/cs3org/reva/pull/3055 + * Enhancement #3507: Get user preferred language - * Bugfix #3053: Temporary read user acl instead of sys acl + The only way for an OCIS web user to change language was to set it into the browser settings. In the + ocs user info response, a field `language` is added, to change their language in the UI, + regardless of the browser settings. - We read the user acl in EOS until the migration of all user acls to sys acls are done + https://github.com/cs3org/reva/pull/3507 - https://github.com/cs3org/reva/pull/3053 + * Enhancement #3530: Improve error logging in ocmd flow - * Enhancement #3401: Make WOPI bridged apps (CodiMD) configuration non hard-coded + https://github.com/cs3org/reva/issues/3365 + https://github.com/cs3org/reva/pull/3530 + https://github.com/cs3org/reva/pull/3526 + https://github.com/cs3org/reva/pull/3419 + https://github.com/cs3org/reva/pull/3369 - The configuration of the custom mimetypes has been moved to the AppProvider, and the given - mimetypes are used to configure bridged apps by sharing the corresponding config item to the - drivers. + * Enhancement #3491: Implement rclone third-party copy push option - https://github.com/cs3org/reva/pull/3401 + This enhancement gives the option to use third-party copy push with rclone between two + different user accounts. - * Enhancement #3402: Block users + https://github.com/cs3org/reva/pull/3491 - Allows an operator to set a list of users that are banned for every operation in reva. + * Enhancement #3508: Allow an user to set a preferred language - https://github.com/cs3org/reva/pull/3402 - - * Enhancement #3098: App provider http endpoint uses Form instead of Query - - We've improved the http endpoint now uses the Form instead of Query to also support - `application/x-www-form-urlencoded` parameters on the app provider http endpoint. - - https://github.com/cs3org/reva/pull/3098 - https://github.com/cs3org/reva/pull/3101 - - * Enhancement #3116: Implementation of cback storage driver for REVA - - This is a read only fs interface. - - https://github.com/cs3org/reva/pull/3116 - - * Enhancement #3422: Migrate Codacy from Drone to Codacy/GitHub integration - - https://github.com/cs3org/reva/pull/3422 - - * Enhancement #3412: Migrate Fossa from Drone to Github Integration - - https://github.com/cs3org/reva/pull/3412 - - * Enhancement #3367: Update go version - - Update go version to 1.19 in go.mod - - https://github.com/cs3org/reva/pull/3367 - - * Enhancement #3467: Enable gocritic linter in golangci-lint and solve issues - - https://github.com/cs3org/reva/pull/3467 - - * Enhancement #3463: Enable gofmt linter in golangci-lint and apply gofmt - - https://github.com/cs3org/reva/pull/3463 - - * Enhancement #3471: Enable goimports and usestdlibvars in golangci-lint - - We've enabled the goimports and usestdlibvars linters in golangci-lint and solved the - related issues. - - https://github.com/cs3org/reva/pull/3471 - - * Enhancement #3466: Migrate golangci-lint from Drone to GitHub Actions - - https://github.com/cs3org/reva/pull/3466 - - * Enhancement #3465: Enable revive linter in golangci-lint and solve issues - - https://github.com/cs3org/reva/pull/3465 - - * Enhancement #3487: Enable staticcheck linter in golangci-lint and solve issues - - https://github.com/cs3org/reva/pull/3487 - - * Enhancement #3475: Enable the style linters - - We've enabled the stylecheck, whitespace, dupword, godot and dogsled linters in - golangci-lint and solved the related issues. - - https://github.com/cs3org/reva/pull/3475 - - * Enhancement #3070: Allow http service to expose prefixes containing / - - https://github.com/cs3org/reva/pull/3070 - - * Enhancement #2986: Better display name in apps for all user types - - This includes a `FirstName FamilyName (domain)` format for non-primary accounts, and a - sanitization of the email address claim for such non-primary accounts. - - https://github.com/cs3org/reva/pull/2986 - https://github.com/cs3org/reva/pull/3280 - - * Enhancement #3303: Added support for configuring language locales in apps - - This is a partial backport from edge: we introduce a language option in the appprovider, which - if set is passed as appropriate parameter to the external apps in order to force a given - localization. In particular, for Microsoft Office 365 the DC_LLCC option is set as well. The - default behavior is unset, where apps try and resolve the localization from the browser - headers. - - https://github.com/cs3org/reva/pull/3303 - - * Enhancement #3348: Revamp lightweigth accounts - - Re-implements the lighweight account scope check, making it more efficient. Also, the ACLs - for the EOS storage driver for the lw accounts are set atomically. - - https://github.com/cs3org/reva/pull/3348 - - * Enhancement #3304: Add http service to send email for shares - - https://github.com/cs3org/reva/pull/3304 - - * Enhancement #3072: Mesh meta data operators - - To better support sites that run multiple instances, the meta data have been extended to - include a new hierarchy layer called 'operators'. This PR brings all necessary changes in the - Mentix and site accounts services. - - https://github.com/cs3org/reva/pull/3072 - - * Enhancement #3313: Fix content-type for OCM sharing - - This fix change the content type to just "application/json" - - https://github.com/cs3org/reva/pull/3313 - - * Enhancement #3234: Add post create home hook for eos storage driver - - https://github.com/cs3org/reva/pull/3234 - - * Enhancement #3347: Implemented PROPFIND with 0 depth - - https://github.com/cs3org/reva/pull/3347 - - * Enhancement #3056: Add public share auth provider - - Add a public share auth middleware - - https://github.com/cs3org/reva/pull/3056 - - * Enhancement #3305: Add description to public link - - https://github.com/cs3org/reva/pull/3305 - - * Enhancement #3163: Add support for quicklinks for public shares - - https://github.com/cs3org/reva/pull/3163 - https://github.com/cs3org/reva/pull/2715 - - * Enhancement #3289: Make Refresh Lock operation WOPI compliant - - We now support the WOPI compliant `UnlockAndRelock` operation. This has been implemented in - the Eos FS. To make use of it, we need a compatible WOPI server. - - https://github.com/cs3org/reva/pull/3289 - https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/files/unlockandrelock - - * Enhancement #3315: Accept reva token as a bearer authentication - - https://github.com/cs3org/reva/pull/3315 - - * Enhancement #3438: Sanitize non-utf8 characters in xattr values in EOS - - https://github.com/cs3org/reva/pull/3438 - - * Enhancement #3221: Site Accounts improvements - - The site accounts admin panel has been reworked and now also shows which sites aren't - configured properly yet. Furthermore, a bug that prevented users from changing site - configurations has been fixed. - - https://github.com/cs3org/reva/pull/3221 - - * Enhancement #3404: Site accounts & Mentix updates - - Some small improvements to the Site Accounts and Mentix services, including normalization of - data exposed at the `/cs3` endpoint of Mentix. - - https://github.com/cs3org/reva/pull/3404 - - * Enhancement #3424: Expire tokens on sunday - - https://github.com/cs3org/reva/pull/3424 - - * Enhancement #2986: Use email as display name for external users opening WOPI apps - - We use now the email claim for external/federated accounts as the `username` that is then - passed to the wopiserver and used as `displayName` in the WOPI context. - - https://github.com/cs3org/reva/pull/2986 + https://github.com/cs3org/reva/pull/3508 diff --git a/docs/content/en/docs/changelog/1.21.0/_index.md b/docs/content/en/docs/changelog/1.21.0/_index.md new file mode 100644 index 0000000000..104236b850 --- /dev/null +++ b/docs/content/en/docs/changelog/1.21.0/_index.md @@ -0,0 +1,141 @@ + +--- +title: "v1.21.0" +linkTitle: "v1.21.0" +weight: 40 +description: > + Changelog for Reva v1.21.0 (2022-12-07) +--- + +Changelog for reva 1.21.0 (2022-12-07) +======================================= + +The following sections list the changes in reva 1.21.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + + * Fix #3492: Fixes the DefaultQuotaBytes in EOS + * Fix #3420: EOS grpc fixes + * Fix #3501: Fix errors of public share provider according to cs3apis + * Fix #3504: Fix RefreshLock method for cephfs storage driver + * Enh #3502: Appproviders: pass other query parameters as Opaque + * Enh #3028: Access directly auth registry rules map when getting provider + * Enh #3197: Bring back multi-stage build to save on image size + * Enh #3506: Migrate the buildAndPublishDocker job from Drone to GitHub Actions + * Enh #3500: Migrate the BuildOnly job from Drone to GitHub Actions + * Enh #3513: Migrate the testIntegration job from Drone to GitHub Actions + * Enh #3494: Implemented folderurl for WOPI apps + * Enh #3507: Get user preferred language + * Enh #3530: Improve error logging in ocmd flow + * Enh #3491: Implement rclone third-party copy push option + * Enh #3508: Allow an user to set a preferred language + +Details +------- + + * Bugfix #3492: Fixes the DefaultQuotaBytes in EOS + + We were setting the default logical quota to 1T, resulting on only 500GB available to the user. + + https://github.com/cs3org/reva/pull/3492 + + * Bugfix #3420: EOS grpc fixes + + The shares and the applications were not working with the EOS grpc storage driver. This fixes + both. + + https://github.com/cs3org/reva/pull/3420 + + * Bugfix #3501: Fix errors of public share provider according to cs3apis + + All the errors returned by the public share provider where internal errors. Now this has been + fixed and the returned errors are the one defined in the cs3apis. + + https://github.com/cs3org/reva/pull/3501 + + * Bugfix #3504: Fix RefreshLock method for cephfs storage driver + + https://github.com/cs3org/reva/pull/3504 + + * Enhancement #3502: Appproviders: pass other query parameters as Opaque + + This allows to send any other HTTP query parameter passed to /app/open to the underlying + appprovider drivers via GRPC + + https://github.com/cs3org/reva/pull/3502 + + * Enhancement #3028: Access directly auth registry rules map when getting provider + + https://github.com/cs3org/reva/pull/3028 + + * Enhancement #3197: Bring back multi-stage build to save on image size + + - Use EOS 4.8.91 as base image - Bring back multi-stage build - Build revad on the eos 4.8.91 image + due to missing dependency (`ld-musl-x86_64.so.1`, typical of alpine) - Copy the resulting + revad from the builder container + + Resulting image size (unpacked on disk) is 2.59GB - eos-all:4.8.91 is 2.47GB - existing + revad:latest-eos is 6.18GB + + https://github.com/cs3org/reva/pull/3197 + + * Enhancement #3506: Migrate the buildAndPublishDocker job from Drone to GitHub Actions + + We've migrated the buildAndPublishDocker job from Drone to GitHub Actions workflow. We've + updated the Golang version used to build the Docker images to go1.19. We've fixed the Cephfs + storage module. We've improved the Makefile. We've refactored the build-docker workflow. + + https://github.com/cs3org/reva/pull/3506 + + * Enhancement #3500: Migrate the BuildOnly job from Drone to GitHub Actions + + We've migrated the BuildOnly job from Drone to GitHub Actions workflow. The Workflow builds + and Tests Reva, builds a Revad Docker Image and checks the license headers. The license header + tools was removed since the goheader linter provides the same functionality. + + https://github.com/cs3org/reva/pull/3500 + + * Enhancement #3513: Migrate the testIntegration job from Drone to GitHub Actions + + https://github.com/cs3org/reva/pull/3513 + + * Enhancement #3494: Implemented folderurl for WOPI apps + + The folderurl is now populated for WOPI apps, such that for owners and named shares it points to + the containing folder, and for public links it points to the appropriate public link URL. + + On the way, functions to manipulate the user's scope and extract the eventual public link + token(s) have been added, coauthored with @gmgigi96. + + https://github.com/cs3org/reva/pull/3494 + + * Enhancement #3507: Get user preferred language + + The only way for an OCIS web user to change language was to set it into the browser settings. In the + ocs user info response, a field `language` is added, to change their language in the UI, + regardless of the browser settings. + + https://github.com/cs3org/reva/pull/3507 + + * Enhancement #3530: Improve error logging in ocmd flow + + https://github.com/cs3org/reva/issues/3365 + https://github.com/cs3org/reva/pull/3530 + https://github.com/cs3org/reva/pull/3526 + https://github.com/cs3org/reva/pull/3419 + https://github.com/cs3org/reva/pull/3369 + + * Enhancement #3491: Implement rclone third-party copy push option + + This enhancement gives the option to use third-party copy push with rclone between two + different user accounts. + + https://github.com/cs3org/reva/pull/3491 + + * Enhancement #3508: Allow an user to set a preferred language + + https://github.com/cs3org/reva/pull/3508 + +