From 777c29fc35bc02a88fc8ecf8506b59f13427655a Mon Sep 17 00:00:00 2001 From: Ilja Neumann Date: Thu, 21 Jan 2021 10:21:54 +0100 Subject: [PATCH] Update reva to v1.5.1 --- accounts/go.mod | 2 +- accounts/go.sum | 2 + changelog/unreleased/update-reva-to-1.5.1.md | 76 ++++++++++++++++++++ ocs/go.mod | 2 +- ocs/go.sum | 2 + proxy/go.mod | 2 +- proxy/go.sum | 2 + storage/go.mod | 2 +- storage/go.sum | 2 + 9 files changed, 88 insertions(+), 4 deletions(-) create mode 100644 changelog/unreleased/update-reva-to-1.5.1.md diff --git a/accounts/go.mod b/accounts/go.mod index 0de5040a69..157c63c8ee 100644 --- a/accounts/go.mod +++ b/accounts/go.mod @@ -7,7 +7,7 @@ require ( contrib.go.opencensus.io/exporter/ocagent v0.6.0 contrib.go.opencensus.io/exporter/zipkin v0.1.1 github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21 - github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825 + github.com/cs3org/reva v1.5.1 github.com/go-chi/chi v4.1.2+incompatible github.com/go-chi/render v1.0.1 github.com/gofrs/uuid v3.3.0+incompatible diff --git a/accounts/go.sum b/accounts/go.sum index 7e8d684d23..2d30192c7e 100644 --- a/accounts/go.sum +++ b/accounts/go.sum @@ -187,6 +187,8 @@ github.com/cs3org/reva v1.2.2-0.20200924071957-e6676516e61e h1:khITGSnfDXtByQsLe github.com/cs3org/reva v1.2.2-0.20200924071957-e6676516e61e/go.mod h1:DOV5SjpOBKN+aWfOHLdA4KiLQkpyC786PQaXEdRAZ0M= github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825 h1:U6pAVGTjesstz+EXd8+YpIG1xwKH1ovOXdWrMCvnopw= github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic= +github.com/cs3org/reva v1.5.1 h1:GebunCjhHfA3lFLXjQT+3jOUjEXUubk9sr3otOIDGac= +github.com/cs3org/reva v1.5.1/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= diff --git a/changelog/unreleased/update-reva-to-1.5.1.md b/changelog/unreleased/update-reva-to-1.5.1.md new file mode 100644 index 0000000000..4ea6f224a8 --- /dev/null +++ b/changelog/unreleased/update-reva-to-1.5.1.md @@ -0,0 +1,76 @@ +Enhancement: Update reva to v1.5.1 + +Summary +------- + +* Fix #1401: Use the user in request for deciding the layout for non-home DAV requests +* Fix #1413: Re-include the '.git' dir in the Docker images to pass the version tag +* Fix #1399: Fix ocis trash-bin purge +* Enh #1397: Bump the Copyright date to 2021 +* Enh #1398: Support site authorization status in Mentix +* Enh #1393: Allow setting favorites, mtime and a temporary etag +* Enh #1403: Support remote cloud gathering metrics + +Details +------- + +* Bugfix #1401: Use the user in request for deciding the layout for non-home DAV requests + + For the incoming /dav/files/userID requests, we have different namespaces depending on + whether the request is for the logged-in user's namespace or not. Since in the storage drivers, + we specify the layout depending only on the user whose resources are to be accessed, this fails + when a user wants to access another user's namespace when the storage provider depends on the + logged in user's namespace. This PR fixes that. + + For example, consider the following case. The owncloud fs uses a layout {{substr 0 1 + .Id.OpaqueId}}/{{.Id.OpaqueId}}. The user einstein sends a request to access a resource + shared with him, say /dav/files/marie/abcd, which should be allowed. However, based on the + way we applied the layout, there's no way in which this can be translated to /m/marie/. + + https://github.com/cs3org/reva/pull/1401 + +* Bugfix #1413: Re-include the '.git' dir in the Docker images to pass the version tag + + And git SHA to the release tool. + + https://github.com/cs3org/reva/pull/1413 + +* Bugfix #1399: Fix ocis trash-bin purge + + Fixes the empty trash-bin functionality for ocis-storage + + https://github.com/owncloud/product/issues/254 + https://github.com/cs3org/reva/pull/1399 + +* Enhancement #1397: Bump the Copyright date to 2021 + + https://github.com/cs3org/reva/pull/1397 + +* Enhancement #1398: Support site authorization status in Mentix + + This enhancement adds support for a site authorization status to Mentix. This way, sites + registered via a web app can now be excluded until authorized manually by an administrator. + + Furthermore, Mentix now sets the scheme for Prometheus targets. This allows us to also support + monitoring of sites that do not support the default HTTPS scheme. + + https://github.com/cs3org/reva/pull/1398 + +* Enhancement #1393: Allow setting favorites, mtime and a temporary etag + + We now let the ocis driver persist favorites, set temporary etags and the mtime as arbitrary + metadata. + + https://github.com/owncloud/ocis/issues/567 + https://github.com/cs3org/reva/issues/1394 + https://github.com/cs3org/reva/pull/1393 + +* Enhancement #1403: Support remote cloud gathering metrics + + The current metrics package can only gather metrics either from json files. With this feature, + the metrics can be gathered polling the http endpoints exposed by the owncloud/nextcloud + sciencemesh apps. + + https://github.com/cs3org/reva/pull/1403 + +https://github.com/owncloud/ocis/pull/1372 diff --git a/ocs/go.mod b/ocs/go.mod index 39e026add5..035cb45546 100644 --- a/ocs/go.mod +++ b/ocs/go.mod @@ -8,7 +8,7 @@ require ( contrib.go.opencensus.io/exporter/zipkin v0.1.1 github.com/UnnoTed/fileb0x v1.1.4 github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21 - github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825 + github.com/cs3org/reva v1.5.1 github.com/go-chi/chi v4.1.2+incompatible github.com/go-chi/render v1.0.1 github.com/golang/protobuf v1.4.3 diff --git a/ocs/go.sum b/ocs/go.sum index 9d50ace268..ad1d3e3400 100644 --- a/ocs/go.sum +++ b/ocs/go.sum @@ -198,6 +198,8 @@ github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21/go.mod h1:UXha4T github.com/cs3org/reva v1.2.2-0.20200924071957-e6676516e61e/go.mod h1:DOV5SjpOBKN+aWfOHLdA4KiLQkpyC786PQaXEdRAZ0M= github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825 h1:U6pAVGTjesstz+EXd8+YpIG1xwKH1ovOXdWrMCvnopw= github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic= +github.com/cs3org/reva v1.5.1 h1:GebunCjhHfA3lFLXjQT+3jOUjEXUubk9sr3otOIDGac= +github.com/cs3org/reva v1.5.1/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic= github.com/cznic/b v0.0.0-20181122101859-a26611c4d92d/go.mod h1:URriBxXwVq5ijiJ12C7iIZqlA69nTlI+LgI6/pwftG8= github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548/go.mod h1:e6NPNENfs9mPDVNRekM7lKScauxd5kXTr1Mfyig6TDM= github.com/cznic/strutil v0.0.0-20181122101858-275e90344537/go.mod h1:AHHPPPXTw0h6pVabbcbyGRK1DckRn7r/STdZEeIDzZc= diff --git a/proxy/go.mod b/proxy/go.mod index ade7f60b3c..aa75e4b6ab 100644 --- a/proxy/go.mod +++ b/proxy/go.mod @@ -8,7 +8,7 @@ require ( contrib.go.opencensus.io/exporter/zipkin v0.1.1 github.com/coreos/go-oidc v2.2.1+incompatible github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21 - github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825 + github.com/cs3org/reva v1.5.1 github.com/dgrijalva/jwt-go v3.2.0+incompatible github.com/golang/mock v1.4.4 // indirect github.com/justinas/alice v1.2.0 diff --git a/proxy/go.sum b/proxy/go.sum index d6d933e5fe..524895e269 100644 --- a/proxy/go.sum +++ b/proxy/go.sum @@ -196,6 +196,8 @@ github.com/cs3org/go-cs3apis v0.0.0-20201118090759-87929f5bae21/go.mod h1:UXha4T github.com/cs3org/reva v1.2.2-0.20200924071957-e6676516e61e/go.mod h1:DOV5SjpOBKN+aWfOHLdA4KiLQkpyC786PQaXEdRAZ0M= github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825 h1:U6pAVGTjesstz+EXd8+YpIG1xwKH1ovOXdWrMCvnopw= github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic= +github.com/cs3org/reva v1.5.1 h1:GebunCjhHfA3lFLXjQT+3jOUjEXUubk9sr3otOIDGac= +github.com/cs3org/reva v1.5.1/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic= github.com/cznic/b v0.0.0-20181122101859-a26611c4d92d/go.mod h1:URriBxXwVq5ijiJ12C7iIZqlA69nTlI+LgI6/pwftG8= github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548/go.mod h1:e6NPNENfs9mPDVNRekM7lKScauxd5kXTr1Mfyig6TDM= github.com/cznic/strutil v0.0.0-20181122101858-275e90344537/go.mod h1:AHHPPPXTw0h6pVabbcbyGRK1DckRn7r/STdZEeIDzZc= diff --git a/storage/go.mod b/storage/go.mod index d0d253b868..aeca7beb93 100644 --- a/storage/go.mod +++ b/storage/go.mod @@ -3,7 +3,7 @@ module github.com/owncloud/ocis/storage go 1.15 require ( - github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825 + github.com/cs3org/reva v1.5.1 github.com/gofrs/uuid v3.3.0+incompatible github.com/micro/cli/v2 v2.1.2 github.com/micro/go-micro/v2 v2.9.1 diff --git a/storage/go.sum b/storage/go.sum index ffdf9146be..9e9a2462e6 100644 --- a/storage/go.sum +++ b/storage/go.sum @@ -199,6 +199,8 @@ github.com/cs3org/reva v1.1.0/go.mod h1:fBzTrNuAKdQ62ybjpdu8nyhBin90/3/3s6DGQDCd github.com/cs3org/reva v1.2.2-0.20200924071957-e6676516e61e/go.mod h1:DOV5SjpOBKN+aWfOHLdA4KiLQkpyC786PQaXEdRAZ0M= github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825 h1:U6pAVGTjesstz+EXd8+YpIG1xwKH1ovOXdWrMCvnopw= github.com/cs3org/reva v1.4.1-0.20210111080247-f2b63bfd6825/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic= +github.com/cs3org/reva v1.5.1 h1:GebunCjhHfA3lFLXjQT+3jOUjEXUubk9sr3otOIDGac= +github.com/cs3org/reva v1.5.1/go.mod h1:abC1Lo0ZKwkKloomTPZWunV/lUJvewkty1pI41zn2Ic= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=