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.27.6 #5098

Merged
merged 1 commit into from
Feb 25, 2025
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
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
Changelog for reva 2.27.6 (2025-02-25)
=======================================

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

Summary
-------

* Fix #5096: Fix update grants for the OCM share

Details
-------

* Bugfix #5096: Fix update grants for the OCM share

Fix update grants for the OCM share

https://github.com/owncloud/ocis/issues/11022
https://github.com/cs3org/reva/pull/5096

Changelog for reva 2.27.5 (2025-02-24)
=======================================

Expand Down
2 changes: 1 addition & 1 deletion RELEASE_DATE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-02-24
2025-02-25
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.27.5
2.27.6
52 changes: 7 additions & 45 deletions changelog/NOTE.md
Original file line number Diff line number Diff line change
@@ -1,59 +1,21 @@
Changelog for reva 2.27.5 (2025-02-24)
Changelog for reva 2.27.6 (2025-02-25)
=======================================

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

Summary
-------

* Fix #5093: Fix OCM create share
* Fix #5077: Deny Users invite themselves to their own federated connection
* Fix #5071: Role conversion
* Enh #5075: Add the ocm notification handler
* Enh #5083: Add the ocm notification ShareChangePermission
* Enh #5063: Add roles
* Fix #5096: Fix update grants for the OCM share

Details
-------

* Bugfix #5093: Fix OCM create share
* Bugfix #5096: Fix update grants for the OCM share

We fixed the OCM share fails on share creating if the federated instance is not reachable.
Fix update grants for the OCM share

https://github.com/owncloud/ocis/issues/11046
https://github.com/cs3org/reva/pull/5093

* Bugfix #5077: Deny Users invite themselves to their own federated connection

Deny Users invite themselves to their own federated connection

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

* Bugfix #5071: Role conversion

Fix role from resource permission conversion

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

* Enhancement #5075: Add the ocm notification handler

Added the ocm notification handler that allows receiving a notification from a remote party
about changes to a previously known entity.

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

* Enhancement #5083: Add the ocm notification ShareChangePermission

Added the ocm notification ShareChangePermission that allows to synchronize the
permissions of a share between the federated instances.

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

* Enhancement #5063: Add roles

Add EditorListGrantsWithVersions and FileEditorListGrantsWithVersions roles.

https://github.com/owncloud/ocis/issues/10747
https://github.com/cs3org/reva/pull/5063
https://github.com/owncloud/ocis/issues/11022
https://github.com/cs3org/reva/pull/5096

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

---
title: "v2.27.6"
linkTitle: "v2.27.6"
weight: 40
description: >
Changelog for Reva v2.27.6 (2025-02-25)
---

Changelog for reva 2.27.6 (2025-02-25)
=======================================

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

Summary
-------

* Fix #5096: Fix update grants for the OCM share

Details
-------

* Bugfix #5096: Fix update grants for the OCM share

Fix update grants for the OCM share

https://github.com/owncloud/ocis/issues/11022
https://github.com/cs3org/reva/pull/5096

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: >
# _struct: config_

{{% dir name="provider_domain" type="string" default="The same domain registered in the provider authorizer" %}}
[[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/ocmshareprovider/ocmshareprovider.go#L66)
[[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/ocmshareprovider/ocmshareprovider.go#L67)
{{< highlight toml >}}
[grpc.services.ocmshareprovider]
provider_domain = "The same domain registered in the provider authorizer"
Expand Down
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#L77)
{{% 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#L65)
{{< 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#L78)
{{% 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#L66)
{{< 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#L79)
{{% 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#L67)
{{< 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#L80)
{{% 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#L68)
{{< 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#L81)
{{% 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#L69)
{{< 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#L82)
{{% 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#L70)
{{< 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#L83)
{{% 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#L72)
{{< 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#L65)
{{% dir name="events" type="eventconfig" default=0 %}}
Event stream configuration [[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L73)
{{< 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#L66)
{{< 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#L77)
{{< 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#L67)
{{% 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#L78)
{{< 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#L68)
{{% 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#L79)
{{< 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#L69)
{{% 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#L80)
{{< 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#L70)
{{% 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#L81)
{{< 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#L72)
{{% dir name="nats_username" type="string" default="event stream username" %}}
[[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L82)
{{< 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#L73)
{{% dir name="nats_password" type="string" default="event stream password" %}}
[[Ref]](https://github.com/cs3org/reva/tree/master/internal/grpc/services/storageprovider/storageprovider.go#L83)
{{< highlight toml >}}
[grpc.services.storageprovider]
events = 0
nats_password = "event stream password"
{{< /highlight >}}
{{% /dir %}}

Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ description: >
# _struct: ShareManagerConfig_

{{% dir name="endpoint" type="string" default="" %}}
The Nextcloud backend endpoint for user check [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/ocm/share/repository/nextcloud/nextcloud.go#L59)
The Nextcloud backend endpoint for user check [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/ocm/share/repository/nextcloud/nextcloud.go#L60)
{{< highlight toml >}}
[ocm.share.repository.nextcloud]
endpoint = ""
Expand Down
Loading