3.2 KiB
Changelog for unreleased
The following sections list the changes for unreleased.
Summary
- Fix #75: Set correct flag type in the flagsets
- Fix #68: Allow different namespaces for /webdav and /dav/files
- Chg #68: Use /home as default namespace
- Chg #1: Initial release of basic version
- Chg #6: Start multiple services with dedicated commands
Details
-
Bugfix #75: Set correct flag type in the flagsets
While upgrading to the micro/cli version 2 there where two instances of
StringFlagwhich had not been changed toStringSliceFlag. This causedocis-reva usersandocis-reva storage-rootto fail on startup.https://github.com/owncloud/ocis-reva/issues/75 https://github.com/owncloud/ocis-reva/pull/76
-
Bugfix #68: Allow different namespaces for /webdav and /dav/files
After
fbf131cthe path for the "new" webdav path does not contain a username/remote.php/dav/files/textfile0.txt. It used to be/remote.php/dav/files/oc/einstein/textfile0.txtSo it lostoc/einstein.This PR allows setting up different namespaces for
/webavand/dav/files:/webdavis jailed into/home- which uses the home storage driver and uses the logged in user to construct the path/dav/filesis jailed into/oc- which uses the owncloud storage driver and expects a username as the first path segmentThis mimics oc10
The
WEBDAV_NAMESPACE_JAILenvironment variable is split into -WEBDAV_NAMESPACEand -DAV_FILES_NAMESPACEaccordingly. -
Change #68: Use /home as default namespace
Currently, cross storage etag propagation is not yet implemented, which prevents the desktop client from detecting changes via the PROPFIND to /. / is managed by the root storage provider which is independend of the home and oc storage providers. If a file changes in /home/foo, the etag change will only be propagated to the root of the home storage provider.
This change jails users into the
/homenamespace, and allows configuring the namespace to use for the two webdav endpoints using the new environment variableWEBDAV_NAMESPACE_JAILwhich affects both endpoints/dav/filesand/webdav.This will allow us to focus on getting a single storage driver like eos or owncloud tested and better resembles what owncloud 10 does.
To get back the global namespace, which ultimately is the goal, just set the above environment variable to
/. -
Change #1: Initial release of basic version
Just prepared an initial basic version to start a reva server and start integrating with the go-micro base dextension framework of ownCloud Infinite Scale.
-
Change #6: Start multiple services with dedicated commands
The initial version would only allow us to use a set of reva configurations to start multiple services. We use a more opinionated set of commands to start dedicated services that allows us to configure them individually. It allowcs us to switch eg. the user backend to LDAP and fully it on the cli.