v1.2.0

Changelog for Reva v1.2.0 (2020-08-25)

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


Last modified August 25, 2020: v1.2.0 (3033a1fb)