Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-2.19.9 #4861

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 51 additions & 21 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
Changelog for reva 2.19.9 (2024-09-23)
=======================================

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

Summary
-------

* Fix #4842: Fix micro ocdav service init and registration
* Fix #4862: Fix nats encoding

Details
-------

* Bugfix #4842: Fix micro ocdav service init and registration

We no longer call Init to configure default options because it was replacing the existing
options.

https://github.com/cs3org/reva/pull/4842
https://github.com/cs3org/reva/pull/4774

* Bugfix #4862: Fix nats encoding

Encode nats-js-kv keys. This got lost by a dependency bump.

https://github.com/cs3org/reva/pull/4862
https://github.com/cs3org/reva/pull/4678

Changelog for reva 2.19.8 (2024-09-23)
=======================================

Expand Down Expand Up @@ -4526,27 +4556,6 @@ 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)
=======================================

Expand Down Expand Up @@ -4690,6 +4699,27 @@ 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)
=======================================

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.19.8
2.19.9
37 changes: 13 additions & 24 deletions changelog/NOTE.md
Original file line number Diff line number Diff line change
@@ -1,41 +1,30 @@
Changelog for reva 2.19.8 (2024-09-23)
Changelog for reva 2.19.9 (2024-09-23)
=======================================

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

Summary
-------

* Fix #4761: Quotes in dav Content-Disposition header
* Fix #4853: Write upload session info atomically
* Enh #4701: Extend service account permissions
* Fix #4842: Fix micro ocdav service init and registration
* Fix #4862: Fix nats encoding

Details
-------

* Bugfix #4761: Quotes in dav Content-Disposition header
* Bugfix #4842: Fix micro ocdav service init and registration

We've fixed the the quotes in the dav `Content-Disposition` header. They caused an issue where
certain browsers would decode the quotes and falsely prepend them to the filename.
We no longer call Init to configure default options because it was replacing the existing
options.

https://github.com/owncloud/web/issues/11031
https://github.com/owncloud/web/issues/11169
https://github.com/cs3org/reva/pull/4761
https://github.com/cs3org/reva/pull/4842
https://github.com/cs3org/reva/pull/4774

* Bugfix #4853: Write upload session info atomically
* Bugfix #4862: Fix nats encoding

We now use a lock and atomic write on upload session metadata to prevent empty reads. A virus scan
event might cause the file to be truncated and then a finished event might try to read the file,
just getting an empty string.
Encode nats-js-kv keys. This got lost by a dependency bump.

Backport of https://github.com/cs3org/reva/pull/4850

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

* Enhancement #4701: Extend service account permissions

Adds AddGrant permisson

https://github.com/cs3org/reva/pull/4701
https://github.com/cs3org/reva/pull/4862
https://github.com/cs3org/reva/pull/4678

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

---
title: "v2.19.9"
linkTitle: "v2.19.9"
weight: 40
description: >
Changelog for Reva v2.19.9 (2024-09-23)
---

Changelog for reva 2.19.9 (2024-09-23)
=======================================

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

Summary
-------

* Fix #4842: Fix micro ocdav service init and registration
* Fix #4862: Fix nats encoding

Details
-------

* Bugfix #4842: Fix micro ocdav service init and registration

We no longer call Init to configure default options because it was replacing the existing
options.

https://github.com/cs3org/reva/pull/4842
https://github.com/cs3org/reva/pull/4774

* Bugfix #4862: Fix nats encoding

Encode nats-js-kv keys. This got lost by a dependency bump.

https://github.com/cs3org/reva/pull/4862
https://github.com/cs3org/reva/pull/4678

106 changes: 53 additions & 53 deletions docs/content/en/docs/config/grpc/services/storageprovider/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,130 +6,130 @@ description: >
Configuration for the storageprovider service
---

# _struct: eventconfig_
# _struct: config_

{{% 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="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]
nats_address = "address of the nats server"
driver = "localhome"
{{< /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="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_clusterid = "clusterid of the nats server"
[grpc.services.storageprovider.drivers.localhome]
root = "/var/tmp/reva/"
share_folder = "/MyShares"
user_layout = "{{.Username}}"

{{< /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="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]
tls_insecure = Whether to verify the server TLS certificates.
data_server_url = "http://localhost/data"
{{< /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="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_root_ca_cert = "The root CA certificate used to validate the server's TLS certificate."
expose_data_server = false
{{< /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="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]
nats_enable_tls = events tls switch
available_checksums = 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="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_username = "event stream username"
custom_mimetypes_json = "nil"
{{< /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="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_password = "event stream password"
upload_expiration = 0
{{< /highlight >}}
{{% /dir %}}

# _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)
{{% 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]
driver = "localhome"
events = 0
{{< /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)
{{< highlight toml >}}
[grpc.services.storageprovider.drivers.localhome]
root = "/var/tmp/reva/"
share_folder = "/MyShares"
user_layout = "{{.Username}}"
# _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)
{{< highlight toml >}}
[grpc.services.storageprovider]
nats_address = "address 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="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]
data_server_url = "http://localhost/data"
nats_clusterid = "clusterid of the nats server"
{{< /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_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]
expose_data_server = false
tls_insecure = Whether to verify the server TLS certificates.
{{< /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="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]
available_checksums = nil
tls_root_ca_cert = "The root CA certificate used to validate the server's TLS certificate."
{{< /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_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]
custom_mimetypes_json = "nil"
nats_enable_tls = events tls switch
{{< /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_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]
upload_expiration = 0
nats_username = "event stream username"
{{< /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)
{{% 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]
events = 0
nats_password = "event stream password"
{{< /highlight >}}
{{% /dir %}}

Loading