v1.1.0

Changelog for Reva v1.1.0 (2020-08-11)

Changelog for reva 1.1.0 (2020-08-11)

The following sections list the changes in reva 1.1.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

Details

  • Bugfix #1069: Pass build time variables while compiling

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.

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

  • Bugfix #1047: Fix missing idp check in GetUser of demo userprovider

We’ve added a check for matching idp in the GetUser function of the demo userprovider

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

  • Bugfix #1038: Do not stat shared resources when downloading

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.

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

  • Bugfix #1034: Fixed some error reporting strings and corresponding logs

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

  • Bugfix #1046: Fixed resolution of fileid in GetPathByID

Following refactoring of fileid generations in the local storage provider, this ensures fileid to path resolution works again.

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

  • Bugfix #1052: Ocfs: Lookup user to render template properly

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

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

  • Bugfix #1024: Take care of trailing slashes in OCM package

Previously, we assumed that the OCM endpoints would have trailing slashes, failing in case they didn’t. This PR fixes that.

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

  • Bugfix #1025: Use lower-case name for changelog directory

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.

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

  • Bugfix #1042: List public shares only created by the current user

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.

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

  • Bugfix #1051: Disallow sharing the shares directory

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/1051

  • Enhancement #1035: Refactor AppProvider workflow

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/1035

  • Enhancement #1059: Improve timestamp precision while logging

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/1059

  • Enhancement #1037: System information HTTP service

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.

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

  • Enhancement #995: Add UID and GID to the user object from user package

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.

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


Last modified August 11, 2020: v1.1.0 (fd1ac137)