Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ishank011 committed Sep 15, 2020
1 parent b76e0d5 commit 65eb2f2
Show file tree
Hide file tree
Showing 9 changed files with 130 additions and 119 deletions.
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,51 @@
Changelog for reva 1.2.1 (2020-09-15)
=======================================

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

Summary
-------

* Fix #1124: Do not swallow 'not found' errors in Stat
* Enh #1125: Rewire dav files to the home storage
* Enh #559: Introduce ocis storage driver
* Enh #1118: Metrics module can be configured to retrieve metrics data from file

Details
-------

* Bugfix #1124: Do not swallow 'not found' errors in Stat

Webdav needs to determine if a file exists to return 204 or 201 response codes. When stating a non
existing resource the NOT_FOUND code was replaced with an INTERNAL error code. This PR passes
on a NOT_FOUND status code in the gateway.

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

* Enhancement #1125: Rewire dav files to the home storage

If the user specified in the dav files URL matches the current one, rewire it to use the
webDavHandler which is wired to the home storage.

This fixes path mapping issues.

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

* Enhancement #559: Introduce ocis storage driver

We introduced a now storage driver `ocis` that deconstructs a filesystem and uses a node first
approach to implement an efficient lookup of files by path as well as by file id.

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

* Enhancement #1118: Metrics module can be configured to retrieve metrics data from file

- Export site metrics in Prometheus #698

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


Changelog for reva 1.2.0 (2020-08-25)
=======================================

Expand Down
2 changes: 1 addition & 1 deletion RELEASE_DATE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2020-08-25
2020-09-15
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.0
1.2.1
File renamed without changes.
140 changes: 23 additions & 117 deletions changelog/NOTE.md
Original file line number Diff line number Diff line change
@@ -1,142 +1,48 @@
Changelog for reva 1.2.0 (2020-08-25)
Changelog for reva 1.2.1 (2020-09-15)
=======================================

The following sections list the changes in reva 1.2.0 relevant to
The following sections list the changes in reva 1.2.1 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
* Fix #1124: Do not swallow 'not found' errors in Stat
* Enh #1125: Rewire dav files to the home storage
* Enh #559: Introduce ocis storage driver
* Enh #1118: Metrics module can be configured to retrieve metrics data from file

Details
-------

* Bugfix #1099: Do not restore recycle entry on purge
* Bugfix #1124: Do not swallow 'not found' errors in Stat

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.
Webdav needs to determine if a file exists to return 204 or 201 response codes. When stating a non
existing resource the NOT_FOUND code was replaced with an INTERNAL error code. This PR passes
on a NOT_FOUND status code in the gateway.

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

* Bugfix #1091: Allow listing the trashbin
* Enhancement #1125: Rewire dav files to the home storage

The trashbin endpoint expects the userid, not the username.
If the user specified in the dav files URL matches the current one, rewire it to use the
webDavHandler which is wired to the home storage.

https://github.com/cs3org/reva/pull/1091
This fixes path mapping issues.

* Bugfix #1103: Restore and delete trash items via ocs
https://github.com/cs3org/reva/pull/1125

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.
* Enhancement #559: Introduce ocis storage driver

https://github.com/cs3org/reva/pull/1103
We introduced a now storage driver `ocis` that deconstructs a filesystem and uses a node first
approach to implement an efficient lookup of files by path as well as by file id.

* Bugfix #1090: Ensure ignoring public stray shares
https://github.com/cs3org/reva/pull/559

When using the json public shares manager, it can be the case we found a share with a resource_id
that no longer exists.
* Enhancement #1118: Metrics module can be configured to retrieve metrics data from file

https://github.com/cs3org/reva/pull/1090
- Export site metrics in Prometheus #698

* 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
https://github.com/cs3org/reva/pull/1118


57 changes: 57 additions & 0 deletions docs/content/en/docs/changelog/1.2.1/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@

---
title: "v1.2.1"
linkTitle: "v1.2.1"
weight: 40
description: >
Changelog for Reva v1.2.1 (2020-09-15)
---

Changelog for reva 1.2.1 (2020-09-15)
=======================================

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

Summary
-------

* Fix #1124: Do not swallow 'not found' errors in Stat
* Enh #1125: Rewire dav files to the home storage
* Enh #559: Introduce ocis storage driver
* Enh #1118: Metrics module can be configured to retrieve metrics data from file

Details
-------

* Bugfix #1124: Do not swallow 'not found' errors in Stat

Webdav needs to determine if a file exists to return 204 or 201 response codes. When stating a non
existing resource the NOT_FOUND code was replaced with an INTERNAL error code. This PR passes
on a NOT_FOUND status code in the gateway.

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

* Enhancement #1125: Rewire dav files to the home storage

If the user specified in the dav files URL matches the current one, rewire it to use the
webDavHandler which is wired to the home storage.

This fixes path mapping issues.

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

* Enhancement #559: Introduce ocis storage driver

We introduced a now storage driver `ocis` that deconstructs a filesystem and uses a node first
approach to implement an efficient lookup of files by path as well as by file id.

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

* Enhancement #1118: Metrics module can be configured to retrieve metrics data from file

- Export site metrics in Prometheus #698

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


0 comments on commit 65eb2f2

Please sign in to comment.