diff --git a/CHANGELOG.md b/CHANGELOG.md index 86e628ae64..42b7de3fb2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,111 @@ +Changelog for reva 2.23.0 (2024-08-19) +======================================= + +The following sections list the changes in reva 2.23.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + +* Fix #4802: Block overwriting mountpoints +* Fix #4782: Fixed the response code when copying from a share to a personal space +* Fix #4805: Fix creating spaces +* Fix #4651: Fix deleting space shares +* Fix #4808: Fixed bugs in the owncloudsql storage driver +* Enh #4772: Allow configuring grpc max connection age +* Enh #4784: Bump tusd to v2 +* Enh #4478: Hellofs +* Enh #4744: Respect service transport +* Enh #4812: Concurrent stat requests when listing shares +* Enh #4798: Update go-ldap to v3.4.8 + +Details +------- + +* Bugfix #4802: Block overwriting mountpoints + + This blocks overwriting mountpoints through the webdav COPY api. It is now returning a bad + request when attempting to overwrite a mountpoint. + + https://github.com/cs3org/reva/pull/4802 + https://github.com/cs3org/reva/pull/4796 + https://github.com/cs3org/reva/pull/4786 + https://github.com/cs3org/reva/pull/4785 + +* Bugfix #4782: Fixed the response code when copying from a share to a personal space + + We fixed the response code when copying a file from a share to a personal space with a secure view + role. + + https://github.com/owncloud/ocis/issues/9482 + https://github.com/cs3org/reva/pull/4782 + +* Bugfix #4805: Fix creating spaces + + We fixed a problem where it wasn't possible to create new spaces when running on a non-writable + working directory. + + https://github.com/cs3org/reva/pull/4805 + +* Bugfix #4651: Fix deleting space shares + + We no longer check if a share is an ocm sharee if listng ocm shares has been disabled anyway. This + allows unsharing space shares. + + https://github.com/cs3org/reva/pull/4651 + +* Bugfix #4808: Fixed bugs in the owncloudsql storage driver + + https://github.com/cs3org/reva/pull/4808 + +* Enhancement #4772: Allow configuring grpc max connection age + + We added a GRPC_MAX_CONNECTION_AGE env var that allows limiting the lifespan of connections. + A closed connection triggers grpc clients to do a new DNS lookup to pick up new IPs. + + https://github.com/cs3org/reva/pull/4772 + +* Enhancement #4784: Bump tusd to v2 + + Bump tusd pkg to v2.4.0 + + https://github.com/cs3org/reva/pull/4784 + +* Enhancement #4478: Hellofs + + We added a minimal hello world filesystem as an example for a read only storage driver. + + https://github.com/cs3org/reva/pull/4478 + +* Enhancement #4744: Respect service transport + + The service registry now takes into account the service transport when creating grpc clients. + This allows using `dns`, `unix` and `kubernetes` as the protocol in addition to `tcp`. `dns` + will turn the gRPC client into a [Thick + Client](https://grpc.io/blog/grpc-load-balancing/#thick-client) that can look up + multiple endpoints via DNS. `kubernetes` will use + [github.com/sercand/kuberesolver](https://github.com/sercand/kuberesolver) to + connect to the kubernetes API and pick up service changes. Furthermore, we enabled round robin + load balancing for the [default transparent retry configuration of + gRPC](https://grpc.io/docs/guides/retry/#retry-configuration). + + https://github.com/cs3org/reva/pull/4744 + +* Enhancement #4812: Concurrent stat requests when listing shares + + The sharesstorageprovider now concurrently stats the accepted shares when listing the share + jail. The default number of 5 workers can be changed by setting the `max_concurrency` value in + the config map. + + https://github.com/cs3org/reva/pull/4812 + +* Enhancement #4798: Update go-ldap to v3.4.8 + + Update go-ldap/ldap/v3 to the latest upstream release to include the latest bugfixes and + enhancements. + + https://github.com/cs3org/reva/pull/4798 + Changelog for reva 2.22.0 (2024-07-29) ======================================= @@ -4955,6 +5063,27 @@ Details https://github.com/cs3org/reva/pull/2922 +Changelog for reva 2.4.1 (2022-05-24) +======================================= + +The following sections list the changes in reva 2.4.1 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + +* Fix #2891: Add missing http status code + +Details +------- + +* Bugfix #2891: Add missing http status code + + This Fix adds a missing status code to the InsufficientStorage error in reva, to allow tus to + pass it through. + + https://github.com/cs3org/reva/pull/2891 + Changelog for reva 2.4.0 (2022-05-24) ======================================= @@ -5098,27 +5227,6 @@ Details https://github.com/cs3org/reva/pull/2792 -Changelog for reva 2.4.1 (2022-05-24) -======================================= - -The following sections list the changes in reva 2.4.1 relevant to -reva users. The changes are ordered by importance. - -Summary -------- - -* Fix #2891: Add missing http status code - -Details -------- - -* Bugfix #2891: Add missing http status code - - This Fix adds a missing status code to the InsufficientStorage error in reva, to allow tus to - pass it through. - - https://github.com/cs3org/reva/pull/2891 - Changelog for reva 2.3.1 (2022-05-08) ======================================= diff --git a/RELEASE_DATE b/RELEASE_DATE index f77fa4790f..cbba70a0ab 100644 --- a/RELEASE_DATE +++ b/RELEASE_DATE @@ -1 +1 @@ -2024-07-29 \ No newline at end of file +2024-08-19 \ No newline at end of file diff --git a/VERSION b/VERSION index f1270b4e4e..da266122d4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.22.0 \ No newline at end of file +2.23.0 \ No newline at end of file diff --git a/changelog/unreleased/add-grpc-max-connection-age-env.md b/changelog/2.23.0_2024-08-19/add-grpc-max-connection-age-env.md similarity index 100% rename from changelog/unreleased/add-grpc-max-connection-age-env.md rename to changelog/2.23.0_2024-08-19/add-grpc-max-connection-age-env.md diff --git a/changelog/unreleased/block-overwriting-mountpoints.md b/changelog/2.23.0_2024-08-19/block-overwriting-mountpoints.md similarity index 100% rename from changelog/unreleased/block-overwriting-mountpoints.md rename to changelog/2.23.0_2024-08-19/block-overwriting-mountpoints.md diff --git a/changelog/unreleased/bump-tusd.md b/changelog/2.23.0_2024-08-19/bump-tusd.md similarity index 100% rename from changelog/unreleased/bump-tusd.md rename to changelog/2.23.0_2024-08-19/bump-tusd.md diff --git a/changelog/unreleased/fix-copy-responce-webdav.md b/changelog/2.23.0_2024-08-19/fix-copy-responce-webdav.md similarity index 100% rename from changelog/unreleased/fix-copy-responce-webdav.md rename to changelog/2.23.0_2024-08-19/fix-copy-responce-webdav.md diff --git a/changelog/unreleased/fix-creating-spaces.md b/changelog/2.23.0_2024-08-19/fix-creating-spaces.md similarity index 100% rename from changelog/unreleased/fix-creating-spaces.md rename to changelog/2.23.0_2024-08-19/fix-creating-spaces.md diff --git a/changelog/unreleased/fix-deleting-shares.md b/changelog/2.23.0_2024-08-19/fix-deleting-shares.md similarity index 100% rename from changelog/unreleased/fix-deleting-shares.md rename to changelog/2.23.0_2024-08-19/fix-deleting-shares.md diff --git a/changelog/unreleased/fix-owncloudsql.md b/changelog/2.23.0_2024-08-19/fix-owncloudsql.md similarity index 100% rename from changelog/unreleased/fix-owncloudsql.md rename to changelog/2.23.0_2024-08-19/fix-owncloudsql.md diff --git a/changelog/unreleased/hellofs.md b/changelog/2.23.0_2024-08-19/hellofs.md similarity index 100% rename from changelog/unreleased/hellofs.md rename to changelog/2.23.0_2024-08-19/hellofs.md diff --git a/changelog/unreleased/respect-service-transport.md b/changelog/2.23.0_2024-08-19/respect-service-transport.md similarity index 100% rename from changelog/unreleased/respect-service-transport.md rename to changelog/2.23.0_2024-08-19/respect-service-transport.md diff --git a/changelog/unreleased/sharesstorageprovider-concurrent-stat.md b/changelog/2.23.0_2024-08-19/sharesstorageprovider-concurrent-stat.md similarity index 100% rename from changelog/unreleased/sharesstorageprovider-concurrent-stat.md rename to changelog/2.23.0_2024-08-19/sharesstorageprovider-concurrent-stat.md diff --git a/changelog/unreleased/update-go-ldap.md b/changelog/2.23.0_2024-08-19/update-go-ldap.md similarity index 100% rename from changelog/unreleased/update-go-ldap.md rename to changelog/2.23.0_2024-08-19/update-go-ldap.md diff --git a/changelog/NOTE.md b/changelog/NOTE.md index 3a05b11da8..314033beee 100644 --- a/changelog/NOTE.md +++ b/changelog/NOTE.md @@ -1,137 +1,108 @@ -Changelog for reva 2.22.0 (2024-07-29) +Changelog for reva 2.23.0 (2024-08-19) ======================================= -The following sections list the changes in reva 2.22.0 relevant to +The following sections list the changes in reva 2.23.0 relevant to reva users. The changes are ordered by importance. Summary ------- -* Fix #4741: Always find unique providers -* Fix #4762: Blanks in dav Content-Disposition header -* Fix #4775: Fixed the response code when copying the shared from to personal -* Fix #4633: Allow all users to create internal links -* Fix #4771: Deleting resources via their id -* Fix #4768: Fixed the file name validation if nodeid is used -* Fix #4758: Fix moving locked files, enable handling locked files via ocdav -* Fix #4774: Fix micro ocdav service init and registration -* Fix #4776: Fix response code for DEL file that in postprocessing -* Fix #4746: Uploading the same file multiple times leads to orphaned blobs -* Fix #4778: Zero byte uploads -* Chg #4759: Updated to the latest version of the go-cs3apis -* Chg #4773: Ocis bumped -* Enh #4766: Set archiver output format via query parameter -* Enh #4763: Improve posixfs storage driver +* Fix #4802: Block overwriting mountpoints +* Fix #4782: Fixed the response code when copying from a share to a personal space +* Fix #4805: Fix creating spaces +* Fix #4651: Fix deleting space shares +* Fix #4808: Fixed bugs in the owncloudsql storage driver +* Enh #4772: Allow configuring grpc max connection age +* Enh #4784: Bump tusd to v2 +* Enh #4478: Hellofs +* Enh #4744: Respect service transport +* Enh #4812: Concurrent stat requests when listing shares +* Enh #4798: Update go-ldap to v3.4.8 Details ------- -* Bugfix #4741: Always find unique providers +* Bugfix #4802: Block overwriting mountpoints - The gateway will now always try to find a single unique provider. It has stopped aggregating - multiple ListContainer responses when we removed any business logic from it. + This blocks overwriting mountpoints through the webdav COPY api. It is now returning a bad + request when attempting to overwrite a mountpoint. - https://github.com/cs3org/reva/pull/4741 - https://github.com/cs3org/reva/pull/4740 - https://github.com/cs3org/reva/pull/2394 + https://github.com/cs3org/reva/pull/4802 + https://github.com/cs3org/reva/pull/4796 + https://github.com/cs3org/reva/pull/4786 + https://github.com/cs3org/reva/pull/4785 -* Bugfix #4762: Blanks in dav Content-Disposition header +* Bugfix #4782: Fixed the response code when copying from a share to a personal space - We've fixed the encoding of blanks in the dav `Content-Disposition` header. - - https://github.com/owncloud/web/issues/11169 - https://github.com/cs3org/reva/pull/4762 - -* Bugfix #4775: Fixed the response code when copying the shared from to personal - - We fixed the response code when copying the file from shares to personal space with a secure view + We fixed the response code when copying a file from a share to a personal space with a secure view role. https://github.com/owncloud/ocis/issues/9482 - https://github.com/cs3org/reva/pull/4775 - -* Bugfix #4633: Allow all users to create internal links - - Due to a bug, not all space members were allowed to create internal links. This has been fixed. - - https://github.com/owncloud/ocis/issues/8960 - https://github.com/cs3org/reva/pull/4633 - -* Bugfix #4771: Deleting resources via their id - - We fixed a bug where deleting resources by using their id via the `/dav/spaces/` endpoint would - not work. - - https://github.com/owncloud/ocis/issues/9619 - https://github.com/cs3org/reva/pull/4771 - -* Bugfix #4768: Fixed the file name validation if nodeid is used - - We have fixed the file name validation if nodeid is used - - https://github.com/owncloud/ocis/issues/9568 - https://github.com/cs3org/reva/pull/4768 - -* Bugfix #4758: Fix moving locked files, enable handling locked files via ocdav + https://github.com/cs3org/reva/pull/4782 - We fixed a problem when trying to move locked files. We also enabled the ocdav service to handle - locked files. +* Bugfix #4805: Fix creating spaces - https://github.com/cs3org/reva/pull/4758 + We fixed a problem where it wasn't possible to create new spaces when running on a non-writable + working directory. -* Bugfix #4774: Fix micro ocdav service init and registration + https://github.com/cs3org/reva/pull/4805 - We no longer call Init to configure default options because it was replacing the existing - options. +* Bugfix #4651: Fix deleting space shares - https://github.com/cs3org/reva/pull/4774 + We no longer check if a share is an ocm sharee if listng ocm shares has been disabled anyway. This + allows unsharing space shares. -* Bugfix #4776: Fix response code for DEL file that in postprocessing + https://github.com/cs3org/reva/pull/4651 - We fixed the response code when DELETE and MOVE requests to the file that is still in - post-processing. +* Bugfix #4808: Fixed bugs in the owncloudsql storage driver - https://github.com/owncloud/ocis/issues/9432 - https://github.com/cs3org/reva/pull/4776 + https://github.com/cs3org/reva/pull/4808 -* Bugfix #4746: Uploading the same file multiple times leads to orphaned blobs +* Enhancement #4772: Allow configuring grpc max connection age - Fixed a bug where multiple uploads of the same file would lead to orphaned blobs in the - blobstore. These orphaned blobs will now be deleted. + We added a GRPC_MAX_CONNECTION_AGE env var that allows limiting the lifespan of connections. + A closed connection triggers grpc clients to do a new DNS lookup to pick up new IPs. - https://github.com/cs3org/reva/pull/4746 + https://github.com/cs3org/reva/pull/4772 -* Bugfix #4778: Zero byte uploads +* Enhancement #4784: Bump tusd to v2 - Zero byte uploads would trigger postprocessing which lead to breaking pipelines. + Bump tusd pkg to v2.4.0 - https://github.com/cs3org/reva/pull/4778 + https://github.com/cs3org/reva/pull/4784 -* Change #4759: Updated to the latest version of the go-cs3apis +* Enhancement #4478: Hellofs - The go-cs3apis dependency was updated to the latest version + We added a minimal hello world filesystem as an example for a read only storage driver. - https://github.com/owncloud/ocis/issues/9554 - https://github.com/cs3org/reva/pull/4759 + https://github.com/cs3org/reva/pull/4478 -* Change #4773: Ocis bumped +* Enhancement #4744: Respect service transport - Ocis bumped. The expected failures removed. + The service registry now takes into account the service transport when creating grpc clients. + This allows using `dns`, `unix` and `kubernetes` as the protocol in addition to `tcp`. `dns` + will turn the gRPC client into a [Thick + Client](https://grpc.io/blog/grpc-load-balancing/#thick-client) that can look up + multiple endpoints via DNS. `kubernetes` will use + [github.com/sercand/kuberesolver](https://github.com/sercand/kuberesolver) to + connect to the kubernetes API and pick up service changes. Furthermore, we enabled round robin + load balancing for the [default transparent retry configuration of + gRPC](https://grpc.io/docs/guides/retry/#retry-configuration). - https://github.com/cs3org/reva/pull/4773 + https://github.com/cs3org/reva/pull/4744 -* Enhancement #4766: Set archiver output format via query parameter +* Enhancement #4812: Concurrent stat requests when listing shares - Sets the archive output format e.G "tar" via the url query parameter "output-format", - possible params are "zip" and "tar", falls back to "zip". + The sharesstorageprovider now concurrently stats the accepted shares when listing the share + jail. The default number of 5 workers can be changed by setting the `max_concurrency` value in + the config map. - https://github.com/owncloud/ocis/issues/9399 - https://github.com/owncloud/web/issues/11080 - https://github.com/cs3org/reva/pull/4766 + https://github.com/cs3org/reva/pull/4812 -* Enhancement #4763: Improve posixfs storage driver +* Enhancement #4798: Update go-ldap to v3.4.8 - Improve the posixfs storage driver by fixing several issues and corner cases. + Update go-ldap/ldap/v3 to the latest upstream release to include the latest bugfixes and + enhancements. - https://github.com/cs3org/reva/pull/4763 + https://github.com/cs3org/reva/pull/4798 diff --git a/docs/content/en/docs/changelog/2.23.0/_index.md b/docs/content/en/docs/changelog/2.23.0/_index.md new file mode 100644 index 0000000000..89d3da893c --- /dev/null +++ b/docs/content/en/docs/changelog/2.23.0/_index.md @@ -0,0 +1,117 @@ + +--- +title: "v2.23.0" +linkTitle: "v2.23.0" +weight: 40 +description: > + Changelog for Reva v2.23.0 (2024-08-19) +--- + +Changelog for reva 2.23.0 (2024-08-19) +======================================= + +The following sections list the changes in reva 2.23.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + +* Fix #4802: Block overwriting mountpoints +* Fix #4782: Fixed the response code when copying from a share to a personal space +* Fix #4805: Fix creating spaces +* Fix #4651: Fix deleting space shares +* Fix #4808: Fixed bugs in the owncloudsql storage driver +* Enh #4772: Allow configuring grpc max connection age +* Enh #4784: Bump tusd to v2 +* Enh #4478: Hellofs +* Enh #4744: Respect service transport +* Enh #4812: Concurrent stat requests when listing shares +* Enh #4798: Update go-ldap to v3.4.8 + +Details +------- + +* Bugfix #4802: Block overwriting mountpoints + + This blocks overwriting mountpoints through the webdav COPY api. It is now returning a bad + request when attempting to overwrite a mountpoint. + + https://github.com/cs3org/reva/pull/4802 + https://github.com/cs3org/reva/pull/4796 + https://github.com/cs3org/reva/pull/4786 + https://github.com/cs3org/reva/pull/4785 + +* Bugfix #4782: Fixed the response code when copying from a share to a personal space + + We fixed the response code when copying a file from a share to a personal space with a secure view + role. + + https://github.com/owncloud/ocis/issues/9482 + https://github.com/cs3org/reva/pull/4782 + +* Bugfix #4805: Fix creating spaces + + We fixed a problem where it wasn't possible to create new spaces when running on a non-writable + working directory. + + https://github.com/cs3org/reva/pull/4805 + +* Bugfix #4651: Fix deleting space shares + + We no longer check if a share is an ocm sharee if listng ocm shares has been disabled anyway. This + allows unsharing space shares. + + https://github.com/cs3org/reva/pull/4651 + +* Bugfix #4808: Fixed bugs in the owncloudsql storage driver + + https://github.com/cs3org/reva/pull/4808 + +* Enhancement #4772: Allow configuring grpc max connection age + + We added a GRPC_MAX_CONNECTION_AGE env var that allows limiting the lifespan of connections. + A closed connection triggers grpc clients to do a new DNS lookup to pick up new IPs. + + https://github.com/cs3org/reva/pull/4772 + +* Enhancement #4784: Bump tusd to v2 + + Bump tusd pkg to v2.4.0 + + https://github.com/cs3org/reva/pull/4784 + +* Enhancement #4478: Hellofs + + We added a minimal hello world filesystem as an example for a read only storage driver. + + https://github.com/cs3org/reva/pull/4478 + +* Enhancement #4744: Respect service transport + + The service registry now takes into account the service transport when creating grpc clients. + This allows using `dns`, `unix` and `kubernetes` as the protocol in addition to `tcp`. `dns` + will turn the gRPC client into a [Thick + Client](https://grpc.io/blog/grpc-load-balancing/#thick-client) that can look up + multiple endpoints via DNS. `kubernetes` will use + [github.com/sercand/kuberesolver](https://github.com/sercand/kuberesolver) to + connect to the kubernetes API and pick up service changes. Furthermore, we enabled round robin + load balancing for the [default transparent retry configuration of + gRPC](https://grpc.io/docs/guides/retry/#retry-configuration). + + https://github.com/cs3org/reva/pull/4744 + +* Enhancement #4812: Concurrent stat requests when listing shares + + The sharesstorageprovider now concurrently stats the accepted shares when listing the share + jail. The default number of 5 workers can be changed by setting the `max_concurrency` value in + the config map. + + https://github.com/cs3org/reva/pull/4812 + +* Enhancement #4798: Update go-ldap to v3.4.8 + + Update go-ldap/ldap/v3 to the latest upstream release to include the latest bugfixes and + enhancements. + + https://github.com/cs3org/reva/pull/4798 + diff --git a/docs/content/en/docs/config/grpc/services/storageprovider/_index.md b/docs/content/en/docs/config/grpc/services/storageprovider/_index.md index fe6e717d5f..4fa5683f5c 100644 --- a/docs/content/en/docs/config/grpc/services/storageprovider/_index.md +++ b/docs/content/en/docs/config/grpc/services/storageprovider/_index.md @@ -6,130 +6,130 @@ description: > Configuration for the storageprovider service --- -# _struct: config_ +# _struct: eventconfig_ -{{% dir name="driver" type="string" default="localhome" %}} -The storage driver to be used. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L63) +{{% dir name="nats_address" type="string" default="address of the nats server" %}} + [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L75) {{< highlight toml >}} [grpc.services.storageprovider] -driver = "localhome" +nats_address = "address of the nats server" {{< /highlight >}} {{% /dir %}} -{{% dir name="drivers" type="map[string]map[string]interface{}" default="localhome" %}} - [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L64) +{{% dir name="nats_clusterid" type="string" default="clusterid of the nats server" %}} + [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L76) {{< highlight toml >}} -[grpc.services.storageprovider.drivers.localhome] -root = "/var/tmp/reva/" -share_folder = "/MyShares" -user_layout = "{{.Username}}" - +[grpc.services.storageprovider] +nats_clusterid = "clusterid of the nats server" {{< /highlight >}} {{% /dir %}} -{{% dir name="data_server_url" type="string" default="http://localhost/data" %}} -The URL for the data server. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L65) +{{% dir name="tls_insecure" type="bool" default=Whether to verify the server TLS certificates. %}} + [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L77) {{< highlight toml >}} [grpc.services.storageprovider] -data_server_url = "http://localhost/data" +tls_insecure = Whether to verify the server TLS certificates. {{< /highlight >}} {{% /dir %}} -{{% dir name="expose_data_server" type="bool" default=false %}} -Whether to expose data server. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L66) +{{% dir name="tls_root_ca_cert" type="string" default="The root CA certificate used to validate the server's TLS certificate." %}} + [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L78) {{< highlight toml >}} [grpc.services.storageprovider] -expose_data_server = false +tls_root_ca_cert = "The root CA certificate used to validate the server's TLS certificate." {{< /highlight >}} {{% /dir %}} -{{% dir name="available_checksums" type="map[string]uint32" default=nil %}} -List of available checksums. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L67) +{{% dir name="nats_enable_tls" type="bool" default=events tls switch %}} + [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L79) {{< highlight toml >}} [grpc.services.storageprovider] -available_checksums = nil +nats_enable_tls = events tls switch {{< /highlight >}} {{% /dir %}} -{{% dir name="custom_mimetypes_json" type="string" default="nil" %}} -An optional mapping file with the list of supported custom file extensions and corresponding mime types. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L68) +{{% dir name="nats_username" type="string" default="event stream username" %}} + [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L80) {{< highlight toml >}} [grpc.services.storageprovider] -custom_mimetypes_json = "nil" +nats_username = "event stream username" {{< /highlight >}} {{% /dir %}} -{{% dir name="upload_expiration" type="int64" default=0 %}} -Duration for how long uploads will be valid. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L70) +{{% dir name="nats_password" type="string" default="event stream password" %}} + [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L81) {{< highlight toml >}} [grpc.services.storageprovider] -upload_expiration = 0 +nats_password = "event stream password" {{< /highlight >}} {{% /dir %}} -{{% dir name="events" type="eventconfig" default=0 %}} -Event stream configuration [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L71) +# _struct: config_ + +{{% dir name="driver" type="string" default="localhome" %}} +The storage driver to be used. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L63) {{< highlight toml >}} [grpc.services.storageprovider] -events = 0 +driver = "localhome" {{< /highlight >}} {{% /dir %}} -# _struct: eventconfig_ - -{{% dir name="nats_address" type="string" default="address of the nats server" %}} - [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L75) +{{% dir name="drivers" type="map[string]map[string]interface{}" default="localhome" %}} + [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L64) {{< highlight toml >}} -[grpc.services.storageprovider] -nats_address = "address of the nats server" +[grpc.services.storageprovider.drivers.localhome] +root = "/var/tmp/reva/" +share_folder = "/MyShares" +user_layout = "{{.Username}}" + {{< /highlight >}} {{% /dir %}} -{{% dir name="nats_clusterid" type="string" default="clusterid of the nats server" %}} - [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L76) +{{% dir name="data_server_url" type="string" default="http://localhost/data" %}} +The URL for the data server. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L65) {{< highlight toml >}} [grpc.services.storageprovider] -nats_clusterid = "clusterid of the nats server" +data_server_url = "http://localhost/data" {{< /highlight >}} {{% /dir %}} -{{% dir name="tls_insecure" type="bool" default=Whether to verify the server TLS certificates. %}} - [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L77) +{{% dir name="expose_data_server" type="bool" default=false %}} +Whether to expose data server. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L66) {{< highlight toml >}} [grpc.services.storageprovider] -tls_insecure = Whether to verify the server TLS certificates. +expose_data_server = false {{< /highlight >}} {{% /dir %}} -{{% dir name="tls_root_ca_cert" type="string" default="The root CA certificate used to validate the server's TLS certificate." %}} - [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L78) +{{% dir name="available_checksums" type="map[string]uint32" default=nil %}} +List of available checksums. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L67) {{< highlight toml >}} [grpc.services.storageprovider] -tls_root_ca_cert = "The root CA certificate used to validate the server's TLS certificate." +available_checksums = nil {{< /highlight >}} {{% /dir %}} -{{% dir name="nats_enable_tls" type="bool" default=events tls switch %}} - [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L79) +{{% dir name="custom_mimetypes_json" type="string" default="nil" %}} +An optional mapping file with the list of supported custom file extensions and corresponding mime types. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L68) {{< highlight toml >}} [grpc.services.storageprovider] -nats_enable_tls = events tls switch +custom_mimetypes_json = "nil" {{< /highlight >}} {{% /dir %}} -{{% dir name="nats_username" type="string" default="event stream username" %}} - [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L80) +{{% dir name="upload_expiration" type="int64" default=0 %}} +Duration for how long uploads will be valid. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L70) {{< highlight toml >}} [grpc.services.storageprovider] -nats_username = "event stream username" +upload_expiration = 0 {{< /highlight >}} {{% /dir %}} -{{% dir name="nats_password" type="string" default="event stream password" %}} - [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L81) +{{% dir name="events" type="eventconfig" default=0 %}} +Event stream configuration [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L71) {{< highlight toml >}} [grpc.services.storageprovider] -nats_password = "event stream password" +events = 0 {{< /highlight >}} {{% /dir %}}