From 4a0faecec2359c262c3e11d1a38bb0c491d9bed8 Mon Sep 17 00:00:00 2001 From: Roman Perekhod Date: Mon, 28 Oct 2024 15:07:07 +0100 Subject: [PATCH] release-2.26.2 --- CHANGELOG.md | 118 ++++++++++-------- RELEASE_DATE | 2 +- VERSION | 2 +- .../fix-quota-calculation.md | 0 changelog/NOTE.md | 12 +- .../en/docs/changelog/2.26.2/_index.md | 29 +++++ .../grpc/services/storageprovider/_index.md | 106 ++++++++-------- 7 files changed, 159 insertions(+), 110 deletions(-) rename changelog/{unreleased => 2.26.2_2024-10-28}/fix-quota-calculation.md (100%) create mode 100644 docs/content/en/docs/changelog/2.26.2/_index.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b6e0ca94d..77e33e4274 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +Changelog for reva 2.26.2 (2024-10-28) +======================================= + +The following sections list the changes in reva 2.26.2 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + +* Fix #4902: Fix quota calculation + +Details +------- + +* Bugfix #4902: Fix quota calculation + + Quota would show "exceeded" when remaining quota was 0 because total was 0. + + https://github.com/cs3org/reva/pull/4902 + Changelog for reva 2.26.1 (2024-10-25) ======================================= @@ -4934,34 +4954,6 @@ Details https://github.com/cs3org/reva/pull/3083 -Changelog for reva 2.7.1 (2022-07-15) -======================================= - -The following sections list the changes in reva 2.7.1 relevant to -reva users. The changes are ordered by importance. - -Summary -------- - -* Fix #3080: Make dataproviders return more headers -* Enh #3046: Add user filter - -Details -------- - -* Bugfix #3080: Make dataproviders return more headers - - Instead of ocdav doing an additional Stat request we now rely on the dataprovider to return the - necessary metadata information as headers. - - https://github.com/owncloud/reva/issues/3080 - -* Enhancement #3046: Add user filter - - This PR adds the ability to filter spaces by user-id - - https://github.com/cs3org/reva/pull/3046 - Changelog for reva 2.7.0 (2022-07-15) ======================================= @@ -5094,6 +5086,34 @@ Details https://github.com/owncloud/ocis/issues/3073 https://github.com/cs3org/reva/pull/2977 +Changelog for reva 2.7.1 (2022-07-15) +======================================= + +The following sections list the changes in reva 2.7.1 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + +* Fix #3080: Make dataproviders return more headers +* Enh #3046: Add user filter + +Details +------- + +* Bugfix #3080: Make dataproviders return more headers + + Instead of ocdav doing an additional Stat request we now rely on the dataprovider to return the + necessary metadata information as headers. + + https://github.com/owncloud/reva/issues/3080 + +* Enhancement #3046: Add user filter + + This PR adds the ability to filter spaces by user-id + + https://github.com/cs3org/reva/pull/3046 + Changelog for reva 2.6.1 (2022-06-27) ======================================= @@ -5461,27 +5481,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) ======================================= @@ -5625,6 +5624,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) ======================================= diff --git a/RELEASE_DATE b/RELEASE_DATE index d9f28e7a5a..2df21e7f77 100644 --- a/RELEASE_DATE +++ b/RELEASE_DATE @@ -1 +1 @@ -2024-10-25 \ No newline at end of file +2024-10-28 \ No newline at end of file diff --git a/VERSION b/VERSION index 53effa101a..cd74b3e810 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.26.1 \ No newline at end of file +2.26.2 \ No newline at end of file diff --git a/changelog/unreleased/fix-quota-calculation.md b/changelog/2.26.2_2024-10-28/fix-quota-calculation.md similarity index 100% rename from changelog/unreleased/fix-quota-calculation.md rename to changelog/2.26.2_2024-10-28/fix-quota-calculation.md diff --git a/changelog/NOTE.md b/changelog/NOTE.md index 596b1989c2..0adef77370 100644 --- a/changelog/NOTE.md +++ b/changelog/NOTE.md @@ -1,20 +1,20 @@ -Changelog for reva 2.26.1 (2024-10-25) +Changelog for reva 2.26.2 (2024-10-28) ======================================= -The following sections list the changes in reva 2.26.1 relevant to +The following sections list the changes in reva 2.26.2 relevant to reva users. The changes are ordered by importance. Summary ------- -* Enh #4897: Fix remaining quota calculation +* Fix #4902: Fix quota calculation Details ------- -* Enhancement #4897: Fix remaining quota calculation +* Bugfix #4902: Fix quota calculation - Remaining quota should only be total - used and not take disk space into account. + Quota would show "exceeded" when remaining quota was 0 because total was 0. - https://github.com/cs3org/reva/pull/4897 + https://github.com/cs3org/reva/pull/4902 diff --git a/docs/content/en/docs/changelog/2.26.2/_index.md b/docs/content/en/docs/changelog/2.26.2/_index.md new file mode 100644 index 0000000000..c2b6939091 --- /dev/null +++ b/docs/content/en/docs/changelog/2.26.2/_index.md @@ -0,0 +1,29 @@ + +--- +title: "v2.26.2" +linkTitle: "v2.26.2" +weight: 40 +description: > + Changelog for Reva v2.26.2 (2024-10-28) +--- + +Changelog for reva 2.26.2 (2024-10-28) +======================================= + +The following sections list the changes in reva 2.26.2 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + +* Fix #4902: Fix quota calculation + +Details +------- + +* Bugfix #4902: Fix quota calculation + + Quota would show "exceeded" when remaining quota was 0 because total was 0. + + https://github.com/cs3org/reva/pull/4902 + 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 b7ba942ea3..8584f9dd07 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#L64) +{{% 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#L76) {{< 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#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#L77) {{< 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#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#L78) {{< 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#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#L79) {{< 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#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#L80) {{< 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#L69) +{{% dir name="nats_username" type="string" default="event stream username" %}} + [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L81) {{< 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#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#L82) {{< 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#L72) +# _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#L64) {{< 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#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#L65) {{< 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#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#L66) {{< 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#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#L67) {{< 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#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#L68) {{< 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#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#L69) {{< 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#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#L71) {{< 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#L82) +{{% dir name="events" type="eventconfig" default=0 %}} +Event stream configuration [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L72) {{< highlight toml >}} [grpc.services.storageprovider] -nats_password = "event stream password" +events = 0 {{< /highlight >}} {{% /dir %}}