Skip to content

Commit

Permalink
v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Alfageme Sainz committed Aug 25, 2020
1 parent 0808d01 commit 3033a1f
Show file tree
Hide file tree
Showing 21 changed files with 384 additions and 81 deletions.
142 changes: 142 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,145 @@
Changelog for reva 1.2.0 (2020-08-25)
=======================================

The following sections list the changes in reva 1.2.0 relevant to
reva users. The changes are ordered by importance.

Summary
-------

* Fix #1099: Do not restore recycle entry on purge
* Fix #1091: Allow listing the trashbin
* Fix #1103: Restore and delete trash items via ocs
* Fix #1090: Ensure ignoring public stray shares
* Fix #1064: Ensure ignoring stray shares
* Fix #1082: Minor fixes in reva cmd, gateway uploads and smtpclient
* Fix #1115: Owncloud driver - propagate mtime on RemoveGrant
* Fix #1111: Handle redirection prefixes when extracting destination from URL
* Enh #1101: Add UID and GID in ldap auth driver
* Enh #1077: Add calens check to verify changelog entries in CI
* Enh #1072: Refactor Reva CLI with prompts
* Enh #1079: Get file info using fxids from EOS
* Enh #1088: Update LDAP user driver
* Enh #1114: System information metrics cleanup
* Enh #1071: System information included in Prometheus metrics
* Enh #1094: Add logic for resolving storage references over webdav

Details
-------

* Bugfix #1099: Do not restore recycle entry on purge

This PR fixes a bug in the EOSFS driver that was restoring a deleted entry when asking for its
permanent purge. EOS does not have the functionality to purge individual files, but the whole
recycle of the user.

https://github.com/cs3org/reva/pull/1099

* Bugfix #1091: Allow listing the trashbin

The trashbin endpoint expects the userid, not the username.

https://github.com/cs3org/reva/pull/1091

* Bugfix #1103: Restore and delete trash items via ocs

The OCS api was not passing the correct key and references to the CS3 API. Furthermore, the
owncloud storage driver was constructing the wrong target path when restoring.

https://github.com/cs3org/reva/pull/1103

* Bugfix #1090: Ensure ignoring public stray shares

When using the json public shares manager, it can be the case we found a share with a resource_id
that no longer exists.

https://github.com/cs3org/reva/pull/1090

* Bugfix #1064: Ensure ignoring stray shares

When using the json shares manager, it can be the case we found a share with a resource_id that no
longer exists. This PR aims to address his case by changing the contract of getPath and return
the result of the STAT call instead of a generic error, so we can check the cause.

https://github.com/cs3org/reva/pull/1064

* Bugfix #1082: Minor fixes in reva cmd, gateway uploads and smtpclient

https://github.com/cs3org/reva/pull/1082
https://github.com/cs3org/reva/pull/1116

* Bugfix #1115: Owncloud driver - propagate mtime on RemoveGrant

When removing a grant the mtime change also needs to be propagated. Only affectsn the owncluod
storage driver.

https://github.com/cs3org/reva/pull/1115

* Bugfix #1111: Handle redirection prefixes when extracting destination from URL

The move function handler in ocdav extracts the destination path from the URL by removing the
base URL prefix from the URL path. This would fail in case there is a redirection prefix. This PR
takes care of that and it also allows zero-size uploads for localfs.

https://github.com/cs3org/reva/pull/1111

* Enhancement #1101: Add UID and GID in ldap auth driver

The PR https://github.com/cs3org/reva/pull/1088/ added the functionality to lookup UID
and GID from the ldap user provider. This PR adds the same to the ldap auth manager.

https://github.com/cs3org/reva/pull/1101

* Enhancement #1077: Add calens check to verify changelog entries in CI

https://github.com/cs3org/reva/pull/1077

* Enhancement #1072: Refactor Reva CLI with prompts

The current CLI is a bit cumbersome to use with users having to type commands containing all the
associated config with no prompts or auto-completes. This PR refactors the CLI with these
functionalities.

https://github.com/cs3org/reva/pull/1072

* Enhancement #1079: Get file info using fxids from EOS

This PR supports getting file information from EOS using the fxid value.

https://github.com/cs3org/reva/pull/1079

* Enhancement #1088: Update LDAP user driver

The LDAP user driver can now fetch users by a single claim / attribute. Use an `attributefilter`
like `(&(objectclass=posixAccount)({{attr}}={{value}}))` in the driver section.

It also adds the uid and gid to the users opaque properties so that eos can use them for chown and
acl operations.

https://github.com/cs3org/reva/pull/1088

* Enhancement #1114: System information metrics cleanup

The system information metrics are now based on OpenCensus instead of the Prometheus client
library. Furthermore, its initialization was moved out of the Prometheus HTTP service to keep
things clean.

https://github.com/cs3org/reva/pull/1114

* Enhancement #1071: System information included in Prometheus metrics

System information is now included in the main Prometheus metrics exposed at `/metrics`.

https://github.com/cs3org/reva/pull/1071

* Enhancement #1094: Add logic for resolving storage references over webdav

This PR adds the functionality to resolve webdav references using the ocs webdav service by
passing the resource's owner's token. This would need to be changed in production.

https://github.com/cs3org/reva/pull/1094


Changelog for reva 1.1.0 (2020-08-11)
=======================================

Expand Down
2 changes: 1 addition & 1 deletion RELEASE_DATE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-08-11
2020-08-25
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0
1.2.0
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
168 changes: 89 additions & 79 deletions changelog/NOTE.md
Original file line number Diff line number Diff line change
@@ -1,132 +1,142 @@
Changelog for reva 1.1.0 (2020-08-11)
Changelog for reva 1.2.0 (2020-08-25)
=======================================

The following sections list the changes in reva 1.1.0 relevant to
The following sections list the changes in reva 1.2.0 relevant to
reva users. The changes are ordered by importance.

Summary
-------

* Fix #1069: Pass build time variables while compiling
* Fix #1047: Fix missing idp check in GetUser of demo userprovider
* Fix #1038: Do not stat shared resources when downloading
* Fix #1034: Fixed some error reporting strings and corresponding logs
* Fix #1046: Fixed resolution of fileid in GetPathByID
* Fix #1052: Ocfs: Lookup user to render template properly
* Fix #1024: Take care of trailing slashes in OCM package
* Fix #1025: Use lower-case name for changelog directory
* Fix #1042: List public shares only created by the current user
* Fix #1051: Disallow sharing the shares directory
* Enh #1035: Refactor AppProvider workflow
* Enh #1059: Improve timestamp precision while logging
* Enh #1037: System information HTTP service
* Enh #995: Add UID and GID to the user object from user package
* Fix #1099: Do not restore recycle entry on purge
* Fix #1091: Allow listing the trashbin
* Fix #1103: Restore and delete trash items via ocs
* Fix #1090: Ensure ignoring public stray shares
* Fix #1064: Ensure ignoring stray shares
* Fix #1082: Minor fixes in reva cmd, gateway uploads and smtpclient
* Fix #1115: Owncloud driver - propagate mtime on RemoveGrant
* Fix #1111: Handle redirection prefixes when extracting destination from URL
* Enh #1101: Add UID and GID in ldap auth driver
* Enh #1077: Add calens check to verify changelog entries in CI
* Enh #1072: Refactor Reva CLI with prompts
* Enh #1079: Get file info using fxids from EOS
* Enh #1088: Update LDAP user driver
* Enh #1114: System information metrics cleanup
* Enh #1071: System information included in Prometheus metrics
* Enh #1094: Add logic for resolving storage references over webdav

Details
-------

* Bugfix #1069: Pass build time variables while compiling
* Bugfix #1099: Do not restore recycle entry on purge

We provide the option of viewing various configuration and version options in both reva CLI as
well as the reva daemon, but we didn't actually have these values in the first place. This PR adds
that info at compile time.
This PR fixes a bug in the EOSFS driver that was restoring a deleted entry when asking for its
permanent purge. EOS does not have the functionality to purge individual files, but the whole
recycle of the user.

https://github.com/cs3org/reva/pull/1069
https://github.com/cs3org/reva/pull/1099

* Bugfix #1047: Fix missing idp check in GetUser of demo userprovider
* Bugfix #1091: Allow listing the trashbin

We've added a check for matching idp in the GetUser function of the demo userprovider
The trashbin endpoint expects the userid, not the username.

https://github.com/cs3org/reva/issues/1047
https://github.com/cs3org/reva/pull/1091

* Bugfix #1038: Do not stat shared resources when downloading
* Bugfix #1103: Restore and delete trash items via ocs

Previously, we statted the resources in all download requests resulting in failures when
downloading references. This PR fixes that by statting only in case the resource is not present
in the shares folder. It also fixes a bug where we allowed uploading to the mount path, resulting
in overwriting the user home directory.
The OCS api was not passing the correct key and references to the CS3 API. Furthermore, the
owncloud storage driver was constructing the wrong target path when restoring.

https://github.com/cs3org/reva/pull/1038
https://github.com/cs3org/reva/pull/1103

* Bugfix #1034: Fixed some error reporting strings and corresponding logs
* Bugfix #1090: Ensure ignoring public stray shares

https://github.com/cs3org/reva/pull/1034
When using the json public shares manager, it can be the case we found a share with a resource_id
that no longer exists.

* Bugfix #1046: Fixed resolution of fileid in GetPathByID
https://github.com/cs3org/reva/pull/1090

Following refactoring of fileid generations in the local storage provider, this ensures
fileid to path resolution works again.
* Bugfix #1064: Ensure ignoring stray shares

https://github.com/cs3org/reva/pull/1046
When using the json shares manager, it can be the case we found a share with a resource_id that no
longer exists. This PR aims to address his case by changing the contract of getPath and return
the result of the STAT call instead of a generic error, so we can check the cause.

* Bugfix #1052: Ocfs: Lookup user to render template properly
https://github.com/cs3org/reva/pull/1064

Currently, the username is used to construct paths, which breaks when mounting the `owncloud`
storage driver at `/oc` and then expecting paths that use the username like
`/oc/einstein/foo` to work, because they will mismatch the path that is used from propagation
which uses `/oc/u-u-i-d` as the root, giving an `internal path outside root` error
* Bugfix #1082: Minor fixes in reva cmd, gateway uploads and smtpclient

https://github.com/cs3org/reva/pull/1052
https://github.com/cs3org/reva/pull/1082
https://github.com/cs3org/reva/pull/1116

* Bugfix #1024: Take care of trailing slashes in OCM package
* Bugfix #1115: Owncloud driver - propagate mtime on RemoveGrant

Previously, we assumed that the OCM endpoints would have trailing slashes, failing in case
they didn't. This PR fixes that.
When removing a grant the mtime change also needs to be propagated. Only affectsn the owncluod
storage driver.

https://github.com/cs3org/reva/pull/1024
https://github.com/cs3org/reva/pull/1115

* Bugfix #1025: Use lower-case name for changelog directory
* Bugfix #1111: Handle redirection prefixes when extracting destination from URL

When preparing a new release, the changelog entries need to be copied to the changelog folder
under docs. In a previous change, all these folders were made to have lower case names,
resulting in creation of a separate folder.
The move function handler in ocdav extracts the destination path from the URL by removing the
base URL prefix from the URL path. This would fail in case there is a redirection prefix. This PR
takes care of that and it also allows zero-size uploads for localfs.

https://github.com/cs3org/reva/pull/1025
https://github.com/cs3org/reva/pull/1111

* Bugfix #1042: List public shares only created by the current user
* Enhancement #1101: Add UID and GID in ldap auth driver

When running ocis, the public links created by a user are visible to all the users under the
'Shared with others' tab. This PR fixes that by returning only those links which are created by a
user themselves.
The PR https://github.com/cs3org/reva/pull/1088/ added the functionality to lookup UID
and GID from the ldap user provider. This PR adds the same to the ldap auth manager.

https://github.com/cs3org/reva/pull/1042
https://github.com/cs3org/reva/pull/1101

* Bugfix #1051: Disallow sharing the shares directory
* Enhancement #1077: Add calens check to verify changelog entries in CI

Previously, it was possible to create public links for and share the shares directory itself.
However, when the recipient tried to accept the share, it failed. This PR prevents the creation
of such shares in the first place.
https://github.com/cs3org/reva/pull/1077

https://github.com/cs3org/reva/pull/1051
* Enhancement #1072: Refactor Reva CLI with prompts

* Enhancement #1035: Refactor AppProvider workflow
The current CLI is a bit cumbersome to use with users having to type commands containing all the
associated config with no prompts or auto-completes. This PR refactors the CLI with these
functionalities.

Simplified the app-provider configuration: storageID is worked out automatically and UIURL
is suppressed for now. Implemented the new gRPC protocol from the gateway to the appprovider.
https://github.com/cs3org/reva/pull/1072

https://github.com/cs3org/reva/pull/1035
* Enhancement #1079: Get file info using fxids from EOS

* Enhancement #1059: Improve timestamp precision while logging
This PR supports getting file information from EOS using the fxid value.

Previously, the timestamp associated with a log just had the hour and minute, which made
debugging quite difficult. This PR increases the precision of the associated timestamp.
https://github.com/cs3org/reva/pull/1079

https://github.com/cs3org/reva/pull/1059
* Enhancement #1088: Update LDAP user driver

* Enhancement #1037: System information HTTP service
The LDAP user driver can now fetch users by a single claim / attribute. Use an `attributefilter`
like `(&(objectclass=posixAccount)({{attr}}={{value}}))` in the driver section.

This service exposes system information via an HTTP endpoint. This currently only includes
Reva version information but can be extended easily. The information are exposed in the form of
Prometheus metrics so that we can gather these in a streamlined way.
It also adds the uid and gid to the users opaque properties so that eos can use them for chown and
acl operations.

https://github.com/cs3org/reva/pull/1037
https://github.com/cs3org/reva/pull/1088

* Enhancement #995: Add UID and GID to the user object from user package
* Enhancement #1114: System information metrics cleanup

Currently, the UID and GID for users need to be read from the local system which requires local
users to be present. This change retrieves that information from the user and auth packages and
adds methods to retrieve it.
The system information metrics are now based on OpenCensus instead of the Prometheus client
library. Furthermore, its initialization was moved out of the Prometheus HTTP service to keep
things clean.

https://github.com/cs3org/reva/pull/995
https://github.com/cs3org/reva/pull/1114

* Enhancement #1071: System information included in Prometheus metrics

System information is now included in the main Prometheus metrics exposed at `/metrics`.

https://github.com/cs3org/reva/pull/1071

* Enhancement #1094: Add logic for resolving storage references over webdav

This PR adds the functionality to resolve webdav references using the ocs webdav service by
passing the resource's owner's token. This would need to be changed in production.

https://github.com/cs3org/reva/pull/1094


Loading

0 comments on commit 3033a1f

Please sign in to comment.