diff --git a/CHANGELOG.md b/CHANGELOG.md index 94ee3f1520..7964cc28da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,405 @@ +Changelog for reva 2.15.0 (2023-07-17) +======================================= + +The following sections list the changes in reva 2.15.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + +* Fix #4004: Add path to public link POST +* Fix #3993: Add token to LinkAccessedEvent +* Fix #4007: Close archive writer properly +* Fix #3982: Fixed couple of smaller space lookup issues +* Fix #3963: Treesize interger overflows +* Fix #3943: When removing metadata always use correct database and table +* Fix #4003: Don't connect ldap on startup +* Fix #3978: Decomposedfs no longer os.Stats when reading node metadata +* Fix #3959: Drop unnecessary stat +* Fix #4032: Temporarily exclude ceph-iscsi when building revad-ceph image +* Fix #4042: Fix writing 0 byte msgpack metadata +* Fix #3948: Handle the bad request status +* Fix #3970: Fix enforce-password issue +* Fix #4057: Properly handle not-found errors when getting a public share +* Fix #4048: Fix messagepack propagation +* Fix #4056: Fix destroys data destination when moving issue +* Fix #4012: Fix mtime if 0 size file uploaded +* Fix #3955: Fix panic +* Fix #3977: Prevent direct access to trash items +* Fix #3933: Concurrently invalidate mtime cache in jsoncs3 share manager +* Fix #3985: Reduce jsoncs3 lock congestion +* Fix #3960: Add trace span details +* Fix #3951: Link context in metadata client +* Fix #4010: Omit spaceroot when archiving +* Fix #3950: Use plain otel tracing in metadata client +* Fix #3975: Decomposedfs now resolves the parent without an os.Stat +* Fix #4047: Publish events synchrously +* Fix #4039: Restart Postprocessing +* Chg #3947: Bump golangci-lint to 1.51.2 +* Chg #3945: Revert golangci-lint back to 1.50.1 +* Enh #4060: We added a go-micro based app-provider registry +* Enh #4013: Add new WebDAV permissions +* Enh #3966: Add space metadata to ocs shares list +* Enh #3987: Cache space indexes +* Enh #3953: Client selector pool +* Enh #3973: More logging for metadata propagation +* Enh #4059: Improve space index performance +* Enh #3994: Load matching spaces concurrently +* Enh #4049: Do not invalidate filemetadata cache early +* Enh #4040: Allow to use external trace provider in micro service +* Enh #4019: Allow to use external trace provider +* Enh #4045: Log error message in grpc interceptor +* Enh #3989: Parallelization of jsoncs3 operations +* Enh #3941: Adding tracing for jsoncs3 +* Enh #3965: ResumePostprocessing Event +* Enh #3809: Trace decomposedfs syscalls +* Enh #4067: Trace upload progress +* Enh #3887: Trace requests through datagateway +* Enh #3981: We have updated the UserFeatureChangedEvent to reflect value changes +* Enh #4052: Update go-ldap to v3.4.5 +* Enh #4065: Upload directly to dataprovider +* Enh #4046: Use correct tracer name +* Enh #3986: Allow disabling wopi chat + +Details +------- + +* Bugfix #4004: Add path to public link POST + + When POSTing a public link, the response would not contain the complete path to the resource. + This is fixed now. + + https://github.com/cs3org/reva/pull/4004 + +* Bugfix #3993: Add token to LinkAccessedEvent + + We added the link token to the LinkAccessedEvent + + https://github.com/owncloud/ocis/issues/3753 + https://github.com/cs3org/reva/pull/3993 + +* Bugfix #4007: Close archive writer properly + + When running into max size error (or random other error) the archiver would not close the + writer. Only it success case it would. This resulted in broken archives on the client. We now + `defer` the writer close. + + https://github.com/cs3org/reva/pull/4007 + +* Bugfix #3982: Fixed couple of smaller space lookup issues + + https://github.com/cs3org/reva/pull/3982 + +* Bugfix #3963: Treesize interger overflows + + Reading the treesize was parsing the string value as a signed integer while setting the + treesize used unsigned integers this could cause failures (out of range errors) when reading + very large treesizes. + + https://github.com/cs3org/reva/pull/3963 + +* Bugfix #3943: When removing metadata always use correct database and table + + https://github.com/cs3org/reva/pull/3943 + +* Bugfix #4003: Don't connect ldap on startup + + This leads to misleading error messages. Instead connect on first request. + + https://github.com/cs3org/reva/pull/4003 + +* Bugfix #3978: Decomposedfs no longer os.Stats when reading node metadata + + https://github.com/cs3org/reva/pull/3978 + +* Bugfix #3959: Drop unnecessary stat + + https://github.com/cs3org/reva/pull/3959 + +* Bugfix #4032: Temporarily exclude ceph-iscsi when building revad-ceph image + + Due to `Package ceph-iscsi-3.6-1.el8.noarch.rpm is not signed` error when building the + revad-ceph docker image, the package `ceph-iscsi` has been excluded from the dnf update. It + will be included again once the pkg will be signed again. + + https://github.com/cs3org/reva/pull/4032 + +* Bugfix #4042: Fix writing 0 byte msgpack metadata + + File metadata is now written atomically to be more resilient during timeouts + + https://github.com/cs3org/reva/pull/4042 + https://github.com/cs3org/reva/pull/4034 + https://github.com/cs3org/reva/pull/4033 + +* Bugfix #3948: Handle the bad request status + + Handle the bad request status for the CreateStorageSpace function + + https://github.com/cs3org/reva/pull/3948 + +* Bugfix #3970: Fix enforce-password issue + + Fix updating public share without password when enforce-password is enabled + + https://github.com/owncloud/ocis/issues/6476 + https://github.com/cs3org/reva/pull/3970 + +* Bugfix #4057: Properly handle not-found errors when getting a public share + + We fixed a problem where not-found errors caused a hard error instead of a proper RPC error + state. + + https://github.com/cs3org/reva/pull/4057 + +* Bugfix #4048: Fix messagepack propagation + + We cannot read from the lockfile. The data is in the metadata file. + + https://github.com/cs3org/reva/pull/4048 + +* Bugfix #4056: Fix destroys data destination when moving issue + + Fix moving a file and providing the fileID of the destination destroys data + + https://github.com/owncloud/ocis/issues/6739 + https://github.com/cs3org/reva/pull/4056 + +* Bugfix #4012: Fix mtime if 0 size file uploaded + + Fix mtime if 0 size file uploaded + + https://github.com/owncloud/ocis/issues/1248 + https://github.com/cs3org/reva/pull/4012 + +* Bugfix #3955: Fix panic + + https://github.com/cs3org/reva/pull/3955 + +* Bugfix #3977: Prevent direct access to trash items + + Decomposedfs now prevents direct access to trash items + + https://github.com/cs3org/reva/pull/3977 + +* Bugfix #3933: Concurrently invalidate mtime cache in jsoncs3 share manager + + https://github.com/cs3org/reva/pull/3933 + +* Bugfix #3985: Reduce jsoncs3 lock congestion + + We changed the locking strategy in the jsoncs3 share manager to cause less lock congestion + increasing the performance in certain scenarios. + + https://github.com/cs3org/reva/pull/3985 + https://github.com/cs3org/reva/pull/3964 + +* Bugfix #3960: Add trace span details + + https://github.com/cs3org/reva/pull/3960 + +* Bugfix #3951: Link context in metadata client + + We now disconnect the existing outgoing grpc metadata when making calls in the metadata + client. To keep track of related spans we link the two contexts. + + https://github.com/cs3org/reva/pull/3951 + +* Bugfix #4010: Omit spaceroot when archiving + + When archiving a space there was an empty folder named `.` added. This was because of the + spaceroot which was wrongly interpreted. We now omit the space root when creating an archive. + + https://github.com/cs3org/reva/pull/4010 + https://github.com/cs3org/reva/pull/3999 + +* Bugfix #3950: Use plain otel tracing in metadata client + + In some cases there was no tracer provider in the context. Since the otel tracing has settled we + will fix problems by moving to the recommended best practices. A good starting point is + https://lightstep.com/blog/opentelemetry-go-all-you-need-to-know + + https://github.com/cs3org/reva/pull/3950 + +* Bugfix #3975: Decomposedfs now resolves the parent without an os.Stat + + https://github.com/cs3org/reva/pull/3975 + +* Bugfix #4047: Publish events synchrously + + Async publishing can lead to loss of events under some circumstances + + https://github.com/cs3org/reva/pull/4047 + +* Bugfix #4039: Restart Postprocessing + + Resend the `BytesReady` event if instructed. + + https://github.com/cs3org/reva/pull/4039 + +* Change #3947: Bump golangci-lint to 1.51.2 + + The 1.50.1 release had memory issues with go1.20 + + https://github.com/cs3org/reva/pull/3947 + +* Change #3945: Revert golangci-lint back to 1.50.1 + + https://github.com/cs3org/reva/pull/3945 + +* Enhancement #4060: We added a go-micro based app-provider registry + + We added a dynamic go-micro based app-provider registry with a dynamic TTL + + https://github.com/owncloud/ocis/issues/3832 + https://github.com/cs3org/reva/pull/4060 + +* Enhancement #4013: Add new WebDAV permissions + + We added the permission "PurgeRecycle" to the WebDAV permissions list. I is represented by the + capital letter `P`. + + https://github.com/cs3org/reva/pull/4013 + +* Enhancement #3966: Add space metadata to ocs shares list + + We needed to add the space ID and the space alias of the original space to the share metadata when + we are listing shares. This is needed to directly navigate to the originating space location. + + https://github.com/cs3org/reva/pull/3966 + +* Enhancement #3987: Cache space indexes + + Decomposedfs now caches the different space indexes in memory which greatly improves the + performance of ListStorageSpaces on slow storages. + + https://github.com/cs3org/reva/pull/3987 + +* Enhancement #3953: Client selector pool + + Add the ability to use iterable client pools for the grpc service communication, the + underlying grpc client and connection is fetched randomly from the available services. + + https://github.com/cs3org/reva/pull/3953 + https://github.com/cs3org/reva/pull/3939 + +* Enhancement #3973: More logging for metadata propagation + + In order to detect possible issues with the treesize propagation we made the logging a bit more + verbose. + + https://github.com/cs3org/reva/pull/3973 + +* Enhancement #4059: Improve space index performance + + The directory tree based decomposedfs space indexes have been replaced with messagepack base + indexes which improves performance when reading the index, especially on slow storages. + + https://github.com/cs3org/reva/pull/4059 + https://github.com/cs3org/reva/pull/4058 + https://github.com/cs3org/reva/pull/3995 + +* Enhancement #3994: Load matching spaces concurrently + + Matching spaces in a ListStorageSpace call are now loaded concurrently which reduces the + response time. + + https://github.com/cs3org/reva/pull/3994 + +* Enhancement #4049: Do not invalidate filemetadata cache early + + We can postpone overwriting the cache until the metadata has ben written to disk. This prevents + other requests trying to read metadata from having to wait for a readlock for the metadata file. + + https://github.com/cs3org/reva/pull/4049 + +* Enhancement #4040: Allow to use external trace provider in micro service + + Allow injecting of external trace provider in the micro service instead of forcing the + initialisation of an internal one. + + https://github.com/cs3org/reva/pull/4040 + +* Enhancement #4019: Allow to use external trace provider + + Allow injecting of external trace provider instead of forcing the initialisation of an + internal one. + + https://github.com/cs3org/reva/pull/4019 + +* Enhancement #4045: Log error message in grpc interceptor + + The grpc log interceptor now logs the actual error message + + https://github.com/cs3org/reva/pull/4045 + +* Enhancement #3989: Parallelization of jsoncs3 operations + + Run removeShare and share create storage operations in parallel. + + https://github.com/cs3org/reva/pull/3989 + +* Enhancement #3941: Adding tracing for jsoncs3 + + https://github.com/cs3org/reva/pull/3941 + +* Enhancement #3965: ResumePostprocessing Event + + Add a new event: `ResumePostprocessing`. It can be emitted to repair broken postprocessing + + https://github.com/cs3org/reva/pull/3965 + +* Enhancement #3809: Trace decomposedfs syscalls + + To investigate performance characteristics of the underlying storage when the system is + under load we wrapped the related syscalls in decomposedfs with trace spans. + + https://github.com/cs3org/reva/pull/3809 + +* Enhancement #4067: Trace upload progress + + https://github.com/cs3org/reva/pull/4067 + +* Enhancement #3887: Trace requests through datagateway + + The datagateway now forwards tracing headers. + + https://github.com/cs3org/reva/pull/3887 + +* Enhancement #3981: We have updated the UserFeatureChangedEvent to reflect value changes + + A UserFeatureChanged Event can now contain an old and a new value to reflect value changes in + audit logs. + + https://github.com/owncloud/ocis/issues/3753 + https://github.com/cs3org/reva/pull/3981 + +* Enhancement #4052: Update go-ldap to v3.4.5 + + Updated go-ldap/ldap/v3 to the latest upstream release to get back to a released version (we + were targeting a specific bugfix commit previously) + + https://github.com/cs3org/reva/pull/4052 + +* Enhancement #4065: Upload directly to dataprovider + + The ocdav service can now bypass the datagateway if it is configured with a transfer secret. + This prevents unnecessary roundtrips and halves the network traffic during uploads for the + proxy. + + https://github.com/owncloud/ocis/issues/6296 + https://github.com/cs3org/reva/pull/4065 + +* Enhancement #4046: Use correct tracer name + + https://github.com/cs3org/reva/pull/4046 + +* Enhancement #3986: Allow disabling wopi chat + + Allow disabling the chat in wopi (support for onlyoffice only) + + https://github.com/cs3org/reva/pull/3986 + Changelog for reva 2.14.0 (2023-06-05) ======================================= @@ -2540,27 +2942,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) ======================================= @@ -2704,6 +3085,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 9fc505c6aa..90447b94f4 100644 --- a/RELEASE_DATE +++ b/RELEASE_DATE @@ -1 +1 @@ -2023-06-05 \ No newline at end of file +2023-07-17 \ No newline at end of file diff --git a/VERSION b/VERSION index 575a07b9f9..c910885a00 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.14.0 \ No newline at end of file +2.15.0 \ No newline at end of file diff --git a/changelog/unreleased/add-go-micro-appprovider-registry.md b/changelog/2.15.0_2023-07-17/add-go-micro-appprovider-registry.md similarity index 100% rename from changelog/unreleased/add-go-micro-appprovider-registry.md rename to changelog/2.15.0_2023-07-17/add-go-micro-appprovider-registry.md diff --git a/changelog/unreleased/add-new-webdav-permission.md b/changelog/2.15.0_2023-07-17/add-new-webdav-permission.md similarity index 100% rename from changelog/unreleased/add-new-webdav-permission.md rename to changelog/2.15.0_2023-07-17/add-new-webdav-permission.md diff --git a/changelog/unreleased/add-path-to-publiclink-post.md b/changelog/2.15.0_2023-07-17/add-path-to-publiclink-post.md similarity index 100% rename from changelog/unreleased/add-path-to-publiclink-post.md rename to changelog/2.15.0_2023-07-17/add-path-to-publiclink-post.md diff --git a/changelog/unreleased/add-space-metadata-to-ocs.md b/changelog/2.15.0_2023-07-17/add-space-metadata-to-ocs.md similarity index 100% rename from changelog/unreleased/add-space-metadata-to-ocs.md rename to changelog/2.15.0_2023-07-17/add-space-metadata-to-ocs.md diff --git a/changelog/unreleased/add-token-to-linkAccessed-event.md b/changelog/2.15.0_2023-07-17/add-token-to-linkAccessed-event.md similarity index 100% rename from changelog/unreleased/add-token-to-linkAccessed-event.md rename to changelog/2.15.0_2023-07-17/add-token-to-linkAccessed-event.md diff --git a/changelog/unreleased/bump-linter.md b/changelog/2.15.0_2023-07-17/bump-linter.md similarity index 100% rename from changelog/unreleased/bump-linter.md rename to changelog/2.15.0_2023-07-17/bump-linter.md diff --git a/changelog/unreleased/cache-space-indexes.md b/changelog/2.15.0_2023-07-17/cache-space-indexes.md similarity index 100% rename from changelog/unreleased/cache-space-indexes.md rename to changelog/2.15.0_2023-07-17/cache-space-indexes.md diff --git a/changelog/unreleased/client-selector-pool.md b/changelog/2.15.0_2023-07-17/client-selector-pool.md similarity index 100% rename from changelog/unreleased/client-selector-pool.md rename to changelog/2.15.0_2023-07-17/client-selector-pool.md diff --git a/changelog/unreleased/close-archive-writer-properly.md b/changelog/2.15.0_2023-07-17/close-archive-writer-properly.md similarity index 100% rename from changelog/unreleased/close-archive-writer-properly.md rename to changelog/2.15.0_2023-07-17/close-archive-writer-properly.md diff --git a/changelog/unreleased/decomposedfs-metadata-propagation-log.md b/changelog/2.15.0_2023-07-17/decomposedfs-metadata-propagation-log.md similarity index 100% rename from changelog/unreleased/decomposedfs-metadata-propagation-log.md rename to changelog/2.15.0_2023-07-17/decomposedfs-metadata-propagation-log.md diff --git a/changelog/unreleased/decomposedfs-space-index.md b/changelog/2.15.0_2023-07-17/decomposedfs-space-index.md similarity index 100% rename from changelog/unreleased/decomposedfs-space-index.md rename to changelog/2.15.0_2023-07-17/decomposedfs-space-index.md diff --git a/changelog/unreleased/decomposedfs-space-listing-performance.md b/changelog/2.15.0_2023-07-17/decomposedfs-space-listing-performance.md similarity index 100% rename from changelog/unreleased/decomposedfs-space-listing-performance.md rename to changelog/2.15.0_2023-07-17/decomposedfs-space-listing-performance.md diff --git a/changelog/unreleased/decomposedfs-spacelookup-overflow.md b/changelog/2.15.0_2023-07-17/decomposedfs-spacelookup-overflow.md similarity index 100% rename from changelog/unreleased/decomposedfs-spacelookup-overflow.md rename to changelog/2.15.0_2023-07-17/decomposedfs-spacelookup-overflow.md diff --git a/changelog/unreleased/decomposedfs-treesize-overflow.md b/changelog/2.15.0_2023-07-17/decomposedfs-treesize-overflow.md similarity index 100% rename from changelog/unreleased/decomposedfs-treesize-overflow.md rename to changelog/2.15.0_2023-07-17/decomposedfs-treesize-overflow.md diff --git a/changelog/unreleased/delete-correct-cache-entry.md b/changelog/2.15.0_2023-07-17/delete-correct-cache-entry.md similarity index 100% rename from changelog/unreleased/delete-correct-cache-entry.md rename to changelog/2.15.0_2023-07-17/delete-correct-cache-entry.md diff --git a/changelog/unreleased/do-not-invalidate-filemetdadata-cache-early.md b/changelog/2.15.0_2023-07-17/do-not-invalidate-filemetdadata-cache-early.md similarity index 100% rename from changelog/unreleased/do-not-invalidate-filemetdadata-cache-early.md rename to changelog/2.15.0_2023-07-17/do-not-invalidate-filemetdadata-cache-early.md diff --git a/changelog/unreleased/dont-connect-ldap-on-startup.md b/changelog/2.15.0_2023-07-17/dont-connect-ldap-on-startup.md similarity index 100% rename from changelog/unreleased/dont-connect-ldap-on-startup.md rename to changelog/2.15.0_2023-07-17/dont-connect-ldap-on-startup.md diff --git a/changelog/unreleased/drop-stat-in-readnode.md b/changelog/2.15.0_2023-07-17/drop-stat-in-readnode.md similarity index 100% rename from changelog/unreleased/drop-stat-in-readnode.md rename to changelog/2.15.0_2023-07-17/drop-stat-in-readnode.md diff --git a/changelog/unreleased/drop-unnecessary-stat.md b/changelog/2.15.0_2023-07-17/drop-unnecessary-stat.md similarity index 100% rename from changelog/unreleased/drop-unnecessary-stat.md rename to changelog/2.15.0_2023-07-17/drop-unnecessary-stat.md diff --git a/changelog/unreleased/exclude-ceph-iscsi.md b/changelog/2.15.0_2023-07-17/exclude-ceph-iscsi.md similarity index 100% rename from changelog/unreleased/exclude-ceph-iscsi.md rename to changelog/2.15.0_2023-07-17/exclude-ceph-iscsi.md diff --git a/changelog/unreleased/external-traceprovider-micro.md b/changelog/2.15.0_2023-07-17/external-traceprovider-micro.md similarity index 100% rename from changelog/unreleased/external-traceprovider-micro.md rename to changelog/2.15.0_2023-07-17/external-traceprovider-micro.md diff --git a/changelog/unreleased/external-traceprovider.md b/changelog/2.15.0_2023-07-17/external-traceprovider.md similarity index 100% rename from changelog/unreleased/external-traceprovider.md rename to changelog/2.15.0_2023-07-17/external-traceprovider.md diff --git a/changelog/unreleased/fix-0-byte-msgpack.md b/changelog/2.15.0_2023-07-17/fix-0-byte-msgpack.md similarity index 100% rename from changelog/unreleased/fix-0-byte-msgpack.md rename to changelog/2.15.0_2023-07-17/fix-0-byte-msgpack.md diff --git a/changelog/unreleased/fix-drive-response.md b/changelog/2.15.0_2023-07-17/fix-drive-response.md similarity index 100% rename from changelog/unreleased/fix-drive-response.md rename to changelog/2.15.0_2023-07-17/fix-drive-response.md diff --git a/changelog/unreleased/fix-enforce-password.md b/changelog/2.15.0_2023-07-17/fix-enforce-password.md similarity index 100% rename from changelog/unreleased/fix-enforce-password.md rename to changelog/2.15.0_2023-07-17/fix-enforce-password.md diff --git a/changelog/unreleased/fix-error-handling-in-publicshareprovider.md b/changelog/2.15.0_2023-07-17/fix-error-handling-in-publicshareprovider.md similarity index 100% rename from changelog/unreleased/fix-error-handling-in-publicshareprovider.md rename to changelog/2.15.0_2023-07-17/fix-error-handling-in-publicshareprovider.md diff --git a/changelog/unreleased/fix-messagepack-propagation.md b/changelog/2.15.0_2023-07-17/fix-messagepack-propagation.md similarity index 100% rename from changelog/unreleased/fix-messagepack-propagation.md rename to changelog/2.15.0_2023-07-17/fix-messagepack-propagation.md diff --git a/changelog/unreleased/fix-moving.md b/changelog/2.15.0_2023-07-17/fix-moving.md similarity index 100% rename from changelog/unreleased/fix-moving.md rename to changelog/2.15.0_2023-07-17/fix-moving.md diff --git a/changelog/unreleased/fix-mtime.md b/changelog/2.15.0_2023-07-17/fix-mtime.md similarity index 100% rename from changelog/unreleased/fix-mtime.md rename to changelog/2.15.0_2023-07-17/fix-mtime.md diff --git a/changelog/unreleased/fix-panic.md b/changelog/2.15.0_2023-07-17/fix-panic.md similarity index 100% rename from changelog/unreleased/fix-panic.md rename to changelog/2.15.0_2023-07-17/fix-panic.md diff --git a/changelog/unreleased/hide-trash-items.md b/changelog/2.15.0_2023-07-17/hide-trash-items.md similarity index 100% rename from changelog/unreleased/hide-trash-items.md rename to changelog/2.15.0_2023-07-17/hide-trash-items.md diff --git a/changelog/unreleased/improve-log-messages.md b/changelog/2.15.0_2023-07-17/improve-log-messages.md similarity index 100% rename from changelog/unreleased/improve-log-messages.md rename to changelog/2.15.0_2023-07-17/improve-log-messages.md diff --git a/changelog/unreleased/jsoncs3-concurrency.md b/changelog/2.15.0_2023-07-17/jsoncs3-concurrency.md similarity index 100% rename from changelog/unreleased/jsoncs3-concurrency.md rename to changelog/2.15.0_2023-07-17/jsoncs3-concurrency.md diff --git a/changelog/unreleased/jsoncs3-lock-congestion.md b/changelog/2.15.0_2023-07-17/jsoncs3-lock-congestion.md similarity index 100% rename from changelog/unreleased/jsoncs3-lock-congestion.md rename to changelog/2.15.0_2023-07-17/jsoncs3-lock-congestion.md diff --git a/changelog/unreleased/jsoncs3-operation-parallelization.md b/changelog/2.15.0_2023-07-17/jsoncs3-operation-parallelization.md similarity index 100% rename from changelog/unreleased/jsoncs3-operation-parallelization.md rename to changelog/2.15.0_2023-07-17/jsoncs3-operation-parallelization.md diff --git a/changelog/unreleased/jsoncs3-trace-span-details.md b/changelog/2.15.0_2023-07-17/jsoncs3-trace-span-details.md similarity index 100% rename from changelog/unreleased/jsoncs3-trace-span-details.md rename to changelog/2.15.0_2023-07-17/jsoncs3-trace-span-details.md diff --git a/changelog/unreleased/jsoncs3-tracing.md b/changelog/2.15.0_2023-07-17/jsoncs3-tracing.md similarity index 100% rename from changelog/unreleased/jsoncs3-tracing.md rename to changelog/2.15.0_2023-07-17/jsoncs3-tracing.md diff --git a/changelog/unreleased/link-context.md b/changelog/2.15.0_2023-07-17/link-context.md similarity index 100% rename from changelog/unreleased/link-context.md rename to changelog/2.15.0_2023-07-17/link-context.md diff --git a/changelog/unreleased/omit-spaceroot-when-archiving.md b/changelog/2.15.0_2023-07-17/omit-spaceroot-when-archiving.md similarity index 100% rename from changelog/unreleased/omit-spaceroot-when-archiving.md rename to changelog/2.15.0_2023-07-17/omit-spaceroot-when-archiving.md diff --git a/changelog/unreleased/otlp-trace-metadata-client.md b/changelog/2.15.0_2023-07-17/otlp-trace-metadata-client.md similarity index 100% rename from changelog/unreleased/otlp-trace-metadata-client.md rename to changelog/2.15.0_2023-07-17/otlp-trace-metadata-client.md diff --git a/changelog/unreleased/parent-without-stat.md b/changelog/2.15.0_2023-07-17/parent-without-stat.md similarity index 100% rename from changelog/unreleased/parent-without-stat.md rename to changelog/2.15.0_2023-07-17/parent-without-stat.md diff --git a/changelog/unreleased/publish-events-synchronously.md b/changelog/2.15.0_2023-07-17/publish-events-synchronously.md similarity index 100% rename from changelog/unreleased/publish-events-synchronously.md rename to changelog/2.15.0_2023-07-17/publish-events-synchronously.md diff --git a/changelog/unreleased/restart-postprocessing.md b/changelog/2.15.0_2023-07-17/restart-postprocessing.md similarity index 100% rename from changelog/unreleased/restart-postprocessing.md rename to changelog/2.15.0_2023-07-17/restart-postprocessing.md diff --git a/changelog/unreleased/resume-postprocessing-event.md b/changelog/2.15.0_2023-07-17/resume-postprocessing-event.md similarity index 100% rename from changelog/unreleased/resume-postprocessing-event.md rename to changelog/2.15.0_2023-07-17/resume-postprocessing-event.md diff --git a/changelog/unreleased/revert-linter-bump.md b/changelog/2.15.0_2023-07-17/revert-linter-bump.md similarity index 100% rename from changelog/unreleased/revert-linter-bump.md rename to changelog/2.15.0_2023-07-17/revert-linter-bump.md diff --git a/changelog/unreleased/trace-syscalls.md b/changelog/2.15.0_2023-07-17/trace-syscalls.md similarity index 100% rename from changelog/unreleased/trace-syscalls.md rename to changelog/2.15.0_2023-07-17/trace-syscalls.md diff --git a/changelog/unreleased/trace-upload-progress.md b/changelog/2.15.0_2023-07-17/trace-upload-progress.md similarity index 100% rename from changelog/unreleased/trace-upload-progress.md rename to changelog/2.15.0_2023-07-17/trace-upload-progress.md diff --git a/changelog/unreleased/trace-uploads-through-datagateway.md b/changelog/2.15.0_2023-07-17/trace-uploads-through-datagateway.md similarity index 100% rename from changelog/unreleased/trace-uploads-through-datagateway.md rename to changelog/2.15.0_2023-07-17/trace-uploads-through-datagateway.md diff --git a/changelog/unreleased/updaet-userFeatureChangedEvent.md b/changelog/2.15.0_2023-07-17/updaet-userFeatureChangedEvent.md similarity index 100% rename from changelog/unreleased/updaet-userFeatureChangedEvent.md rename to changelog/2.15.0_2023-07-17/updaet-userFeatureChangedEvent.md diff --git a/changelog/unreleased/update-go-ldap.md b/changelog/2.15.0_2023-07-17/update-go-ldap.md similarity index 100% rename from changelog/unreleased/update-go-ldap.md rename to changelog/2.15.0_2023-07-17/update-go-ldap.md diff --git a/changelog/unreleased/upload-directly-to-dataprovider.md b/changelog/2.15.0_2023-07-17/upload-directly-to-dataprovider.md similarity index 100% rename from changelog/unreleased/upload-directly-to-dataprovider.md rename to changelog/2.15.0_2023-07-17/upload-directly-to-dataprovider.md diff --git a/changelog/unreleased/use-correct-tracer-name.md b/changelog/2.15.0_2023-07-17/use-correct-tracer-name.md similarity index 100% rename from changelog/unreleased/use-correct-tracer-name.md rename to changelog/2.15.0_2023-07-17/use-correct-tracer-name.md diff --git a/changelog/unreleased/wopi-disable-chat.md b/changelog/2.15.0_2023-07-17/wopi-disable-chat.md similarity index 100% rename from changelog/unreleased/wopi-disable-chat.md rename to changelog/2.15.0_2023-07-17/wopi-disable-chat.md diff --git a/changelog/NOTE.md b/changelog/NOTE.md index fd69985990..2e9ed3dc38 100644 --- a/changelog/NOTE.md +++ b/changelog/NOTE.md @@ -1,165 +1,402 @@ -Changelog for reva 2.14.0 (2023-06-05) +Changelog for reva 2.15.0 (2023-07-17) ======================================= -The following sections list the changes in reva 2.14.0 relevant to +The following sections list the changes in reva 2.15.0 relevant to reva users. The changes are ordered by importance. Summary ------- -* Fix #3919: We added missing timestamps to events -* Fix #3911: Clean IDCache properly -* Fix #3896: Do not lose old revisions when overwriting a file during copy -* Fix #3918: Dont enumerate users -* Fix #3902: Do not try to use the cache for empty node -* Fix #3877: Empty exact list while searching for a sharee -* Fix #3906: Fix preflight requests -* Fix #3934: Fix the space editor permissions -* Fix #3899: Harden uploads -* Fix #3917: Prevent last space manager from leaving -* Fix #3866: Fix public link lookup performance -* Fix #3904: Improve performance of directory listings -* Enh #3893: Cleanup Space Delete permissions -* Enh #3894: Fix err when the user share the locked file -* Enh #3913: Introduce FullTextSearch Capability -* Enh #3898: Add Graph User capabilities -* Enh #3496: Add otlp tracing exporter -* Enh #3922: Rename permissions +* Fix #4004: Add path to public link POST +* Fix #3993: Add token to LinkAccessedEvent +* Fix #4007: Close archive writer properly +* Fix #3982: Fixed couple of smaller space lookup issues +* Fix #3963: Treesize interger overflows +* Fix #3943: When removing metadata always use correct database and table +* Fix #4003: Don't connect ldap on startup +* Fix #3978: Decomposedfs no longer os.Stats when reading node metadata +* Fix #3959: Drop unnecessary stat +* Fix #4032: Temporarily exclude ceph-iscsi when building revad-ceph image +* Fix #4042: Fix writing 0 byte msgpack metadata +* Fix #3948: Handle the bad request status +* Fix #3970: Fix enforce-password issue +* Fix #4057: Properly handle not-found errors when getting a public share +* Fix #4048: Fix messagepack propagation +* Fix #4056: Fix destroys data destination when moving issue +* Fix #4012: Fix mtime if 0 size file uploaded +* Fix #3955: Fix panic +* Fix #3977: Prevent direct access to trash items +* Fix #3933: Concurrently invalidate mtime cache in jsoncs3 share manager +* Fix #3985: Reduce jsoncs3 lock congestion +* Fix #3960: Add trace span details +* Fix #3951: Link context in metadata client +* Fix #4010: Omit spaceroot when archiving +* Fix #3950: Use plain otel tracing in metadata client +* Fix #3975: Decomposedfs now resolves the parent without an os.Stat +* Fix #4047: Publish events synchrously +* Fix #4039: Restart Postprocessing +* Chg #3947: Bump golangci-lint to 1.51.2 +* Chg #3945: Revert golangci-lint back to 1.50.1 +* Enh #4060: We added a go-micro based app-provider registry +* Enh #4013: Add new WebDAV permissions +* Enh #3966: Add space metadata to ocs shares list +* Enh #3987: Cache space indexes +* Enh #3953: Client selector pool +* Enh #3973: More logging for metadata propagation +* Enh #4059: Improve space index performance +* Enh #3994: Load matching spaces concurrently +* Enh #4049: Do not invalidate filemetadata cache early +* Enh #4040: Allow to use external trace provider in micro service +* Enh #4019: Allow to use external trace provider +* Enh #4045: Log error message in grpc interceptor +* Enh #3989: Parallelization of jsoncs3 operations +* Enh #3941: Adding tracing for jsoncs3 +* Enh #3965: ResumePostprocessing Event +* Enh #3809: Trace decomposedfs syscalls +* Enh #4067: Trace upload progress +* Enh #3887: Trace requests through datagateway +* Enh #3981: We have updated the UserFeatureChangedEvent to reflect value changes +* Enh #4052: Update go-ldap to v3.4.5 +* Enh #4065: Upload directly to dataprovider +* Enh #4046: Use correct tracer name +* Enh #3986: Allow disabling wopi chat Details ------- -* Bugfix #3919: We added missing timestamps to events +* Bugfix #4004: Add path to public link POST - We added missing timestamps to events + When POSTing a public link, the response would not contain the complete path to the resource. + This is fixed now. + + https://github.com/cs3org/reva/pull/4004 + +* Bugfix #3993: Add token to LinkAccessedEvent + + We added the link token to the LinkAccessedEvent https://github.com/owncloud/ocis/issues/3753 - https://github.com/cs3org/reva/pull/3919 + https://github.com/cs3org/reva/pull/3993 + +* Bugfix #4007: Close archive writer properly + + When running into max size error (or random other error) the archiver would not close the + writer. Only it success case it would. This resulted in broken archives on the client. We now + `defer` the writer close. + + https://github.com/cs3org/reva/pull/4007 + +* Bugfix #3982: Fixed couple of smaller space lookup issues + + https://github.com/cs3org/reva/pull/3982 + +* Bugfix #3963: Treesize interger overflows + + Reading the treesize was parsing the string value as a signed integer while setting the + treesize used unsigned integers this could cause failures (out of range errors) when reading + very large treesizes. + + https://github.com/cs3org/reva/pull/3963 + +* Bugfix #3943: When removing metadata always use correct database and table + + https://github.com/cs3org/reva/pull/3943 + +* Bugfix #4003: Don't connect ldap on startup + + This leads to misleading error messages. Instead connect on first request. + + https://github.com/cs3org/reva/pull/4003 + +* Bugfix #3978: Decomposedfs no longer os.Stats when reading node metadata + + https://github.com/cs3org/reva/pull/3978 + +* Bugfix #3959: Drop unnecessary stat + + https://github.com/cs3org/reva/pull/3959 + +* Bugfix #4032: Temporarily exclude ceph-iscsi when building revad-ceph image + + Due to `Package ceph-iscsi-3.6-1.el8.noarch.rpm is not signed` error when building the + revad-ceph docker image, the package `ceph-iscsi` has been excluded from the dnf update. It + will be included again once the pkg will be signed again. + + https://github.com/cs3org/reva/pull/4032 + +* Bugfix #4042: Fix writing 0 byte msgpack metadata + + File metadata is now written atomically to be more resilient during timeouts + + https://github.com/cs3org/reva/pull/4042 + https://github.com/cs3org/reva/pull/4034 + https://github.com/cs3org/reva/pull/4033 + +* Bugfix #3948: Handle the bad request status + + Handle the bad request status for the CreateStorageSpace function + + https://github.com/cs3org/reva/pull/3948 + +* Bugfix #3970: Fix enforce-password issue + + Fix updating public share without password when enforce-password is enabled + + https://github.com/owncloud/ocis/issues/6476 + https://github.com/cs3org/reva/pull/3970 + +* Bugfix #4057: Properly handle not-found errors when getting a public share + + We fixed a problem where not-found errors caused a hard error instead of a proper RPC error + state. + + https://github.com/cs3org/reva/pull/4057 + +* Bugfix #4048: Fix messagepack propagation + + We cannot read from the lockfile. The data is in the metadata file. + + https://github.com/cs3org/reva/pull/4048 + +* Bugfix #4056: Fix destroys data destination when moving issue + + Fix moving a file and providing the fileID of the destination destroys data + + https://github.com/owncloud/ocis/issues/6739 + https://github.com/cs3org/reva/pull/4056 + +* Bugfix #4012: Fix mtime if 0 size file uploaded + + Fix mtime if 0 size file uploaded + + https://github.com/owncloud/ocis/issues/1248 + https://github.com/cs3org/reva/pull/4012 + +* Bugfix #3955: Fix panic + + https://github.com/cs3org/reva/pull/3955 -* Bugfix #3911: Clean IDCache properly +* Bugfix #3977: Prevent direct access to trash items - Decomposedfs' subpackage `tree` uses an idCache to avoid reading too often from disc. In case - of a `move` or `delete` this cache was properly cleaned, but when renaming a file (= move with - same parent) the cache wasn't cleaned. This lead to strange behaviour when uploading files - with the same name and renaming them + Decomposedfs now prevents direct access to trash items - https://github.com/cs3org/reva/pull/3911 - https://github.com/cs3org/reva/pull/3903 + https://github.com/cs3org/reva/pull/3977 -* Bugfix #3896: Do not lose old revisions when overwriting a file during copy +* Bugfix #3933: Concurrently invalidate mtime cache in jsoncs3 share manager - We no longer delete-and-upload targets of copy operations but rather add a new version with the - source content. + https://github.com/cs3org/reva/pull/3933 - This makes "overwrite when copying" behave the same as "overwrite when uploading". +* Bugfix #3985: Reduce jsoncs3 lock congestion - Overwriting when moving a file still deletes the old file (moves it into the trash) and replaces - the whole file including the revisions of the source file. + We changed the locking strategy in the jsoncs3 share manager to cause less lock congestion + increasing the performance in certain scenarios. - https://github.com/cs3org/reva/pull/3896 + https://github.com/cs3org/reva/pull/3985 + https://github.com/cs3org/reva/pull/3964 -* Bugfix #3918: Dont enumerate users +* Bugfix #3960: Add trace span details - Fixes a user enumeration via DELETE share endpoint + https://github.com/cs3org/reva/pull/3960 - https://github.com/cs3org/reva/pull/3918 - https://github.com/cs3org/reva/pull/3916 +* Bugfix #3951: Link context in metadata client -* Bugfix #3902: Do not try to use the cache for empty node + We now disconnect the existing outgoing grpc metadata when making calls in the metadata + client. To keep track of related spans we link the two contexts. - We fixed a problem where nodes that did not have an ID set were still trying to use the cache for - their metadata resulting in clashing cache keys. + https://github.com/cs3org/reva/pull/3951 - https://github.com/cs3org/reva/pull/3902 +* Bugfix #4010: Omit spaceroot when archiving -* Bugfix #3877: Empty exact list while searching for a sharee + When archiving a space there was an empty folder named `.` added. This was because of the + spaceroot which was wrongly interpreted. We now omit the space root when creating an archive. - We fixed a bug in the sharing api, it always returns an empty exact list while searching for a - sharee + https://github.com/cs3org/reva/pull/4010 + https://github.com/cs3org/reva/pull/3999 - https://github.com/owncloud/ocis/issues/4265 - https://github.com/cs3org/reva/pull/3877 +* Bugfix #3950: Use plain otel tracing in metadata client -* Bugfix #3906: Fix preflight requests + In some cases there was no tracer provider in the context. Since the otel tracing has settled we + will fix problems by moving to the recommended best practices. A good starting point is + https://lightstep.com/blog/opentelemetry-go-all-you-need-to-know - The datagateway now correctly overwrites the preconfigured CORS related headers with the - headers returned by a dataprovider. + https://github.com/cs3org/reva/pull/3950 - https://github.com/cs3org/reva/pull/3906 +* Bugfix #3975: Decomposedfs now resolves the parent without an os.Stat -* Bugfix #3934: Fix the space editor permissions + https://github.com/cs3org/reva/pull/3975 - We fixed the permissions of a space editor which accidentally granted the permission to purge - the trash bin. +* Bugfix #4047: Publish events synchrously - https://github.com/cs3org/reva/pull/3934 + Async publishing can lead to loss of events under some circumstances -* Bugfix #3899: Harden uploads + https://github.com/cs3org/reva/pull/4047 - Uploads now check response headers for a file id and omit a subsequent stat request which might - land on a storage provider that does not yet see the new file due to latency, eg. when NFS caches - direntries. +* Bugfix #4039: Restart Postprocessing - https://github.com/cs3org/reva/pull/3899 + Resend the `BytesReady` event if instructed. -* Bugfix #3917: Prevent last space manager from leaving + https://github.com/cs3org/reva/pull/4039 - It should not be possible for the last remaining space manager to change his role or get changed - by others. +* Change #3947: Bump golangci-lint to 1.51.2 - https://github.com/cs3org/reva/pull/3917 + The 1.50.1 release had memory issues with go1.20 -* Bugfix #3866: Fix public link lookup performance + https://github.com/cs3org/reva/pull/3947 - Fix inefficient path based space lookup for public links +* Change #3945: Revert golangci-lint back to 1.50.1 - https://github.com/cs3org/reva/pull/3866 + https://github.com/cs3org/reva/pull/3945 -* Bugfix #3904: Improve performance of directory listings +* Enhancement #4060: We added a go-micro based app-provider registry - We improved the performance of directory listing by rendering the propfind XML concurrently. + We added a dynamic go-micro based app-provider registry with a dynamic TTL - https://github.com/cs3org/reva/pull/3904 + https://github.com/owncloud/ocis/issues/3832 + https://github.com/cs3org/reva/pull/4060 -* Enhancement #3893: Cleanup Space Delete permissions +* Enhancement #4013: Add new WebDAV permissions - Space Delete and Disable permissions ("Drive.ReadWriteEnabled", "delete-all-spaces", - "delete-all-home-spaces") were overlapping and not clear differentiatable. The new logic - is as follows: - "Drive.ReadWriteEnabled" allows enabling or disabling a project space - - "delete-all-home-spaces" allows deleting personal spaces of users - "delete-all-spaces" - allows deleting a project space - Space Mangers can still disable/enable a drive + We added the permission "PurgeRecycle" to the WebDAV permissions list. I is represented by the + capital letter `P`. - https://github.com/cs3org/reva/pull/3893 + https://github.com/cs3org/reva/pull/4013 -* Enhancement #3894: Fix err when the user share the locked file +* Enhancement #3966: Add space metadata to ocs shares list - Fix unexpected behavior when the user try to share the locked file + We needed to add the space ID and the space alias of the original space to the share metadata when + we are listing shares. This is needed to directly navigate to the originating space location. - https://github.com/owncloud/ocis/issues/6197 - https://github.com/cs3org/reva/pull/3894 + https://github.com/cs3org/reva/pull/3966 -* Enhancement #3913: Introduce FullTextSearch Capability +* Enhancement #3987: Cache space indexes + + Decomposedfs now caches the different space indexes in memory which greatly improves the + performance of ListStorageSpaces on slow storages. + + https://github.com/cs3org/reva/pull/3987 + +* Enhancement #3953: Client selector pool + + Add the ability to use iterable client pools for the grpc service communication, the + underlying grpc client and connection is fetched randomly from the available services. + + https://github.com/cs3org/reva/pull/3953 + https://github.com/cs3org/reva/pull/3939 + +* Enhancement #3973: More logging for metadata propagation + + In order to detect possible issues with the treesize propagation we made the logging a bit more + verbose. + + https://github.com/cs3org/reva/pull/3973 + +* Enhancement #4059: Improve space index performance + + The directory tree based decomposedfs space indexes have been replaced with messagepack base + indexes which improves performance when reading the index, especially on slow storages. + + https://github.com/cs3org/reva/pull/4059 + https://github.com/cs3org/reva/pull/4058 + https://github.com/cs3org/reva/pull/3995 + +* Enhancement #3994: Load matching spaces concurrently + + Matching spaces in a ListStorageSpace call are now loaded concurrently which reduces the + response time. + + https://github.com/cs3org/reva/pull/3994 + +* Enhancement #4049: Do not invalidate filemetadata cache early + + We can postpone overwriting the cache until the metadata has ben written to disk. This prevents + other requests trying to read metadata from having to wait for a readlock for the metadata file. + + https://github.com/cs3org/reva/pull/4049 + +* Enhancement #4040: Allow to use external trace provider in micro service + + Allow injecting of external trace provider in the micro service instead of forcing the + initialisation of an internal one. + + https://github.com/cs3org/reva/pull/4040 + +* Enhancement #4019: Allow to use external trace provider + + Allow injecting of external trace provider instead of forcing the initialisation of an + internal one. + + https://github.com/cs3org/reva/pull/4019 + +* Enhancement #4045: Log error message in grpc interceptor + + The grpc log interceptor now logs the actual error message + + https://github.com/cs3org/reva/pull/4045 + +* Enhancement #3989: Parallelization of jsoncs3 operations + + Run removeShare and share create storage operations in parallel. + + https://github.com/cs3org/reva/pull/3989 + +* Enhancement #3941: Adding tracing for jsoncs3 + + https://github.com/cs3org/reva/pull/3941 + +* Enhancement #3965: ResumePostprocessing Event + + Add a new event: `ResumePostprocessing`. It can be emitted to repair broken postprocessing + + https://github.com/cs3org/reva/pull/3965 + +* Enhancement #3809: Trace decomposedfs syscalls + + To investigate performance characteristics of the underlying storage when the system is + under load we wrapped the related syscalls in decomposedfs with trace spans. + + https://github.com/cs3org/reva/pull/3809 + +* Enhancement #4067: Trace upload progress + + https://github.com/cs3org/reva/pull/4067 + +* Enhancement #3887: Trace requests through datagateway + + The datagateway now forwards tracing headers. + + https://github.com/cs3org/reva/pull/3887 + +* Enhancement #3981: We have updated the UserFeatureChangedEvent to reflect value changes + + A UserFeatureChanged Event can now contain an old and a new value to reflect value changes in + audit logs. + + https://github.com/owncloud/ocis/issues/3753 + https://github.com/cs3org/reva/pull/3981 - Add a capability that shows if fulltextsearch is supported by the server +* Enhancement #4052: Update go-ldap to v3.4.5 - https://github.com/cs3org/reva/pull/3913 + Updated go-ldap/ldap/v3 to the latest upstream release to get back to a released version (we + were targeting a specific bugfix commit previously) -* Enhancement #3898: Add Graph User capabilities + https://github.com/cs3org/reva/pull/4052 - Add capabilities to show if user can be created or deleted and if they can change their password - on self service +* Enhancement #4065: Upload directly to dataprovider - https://github.com/cs3org/reva/pull/3898 + The ocdav service can now bypass the datagateway if it is configured with a transfer secret. + This prevents unnecessary roundtrips and halves the network traffic during uploads for the + proxy. -* Enhancement #3496: Add otlp tracing exporter + https://github.com/owncloud/ocis/issues/6296 + https://github.com/cs3org/reva/pull/4065 - We can now use `tracing_exporter=otlp` to send traces using the otlp exporter. +* Enhancement #4046: Use correct tracer name - https://github.com/cs3org/reva/pull/3496 + https://github.com/cs3org/reva/pull/4046 -* Enhancement #3922: Rename permissions +* Enhancement #3986: Allow disabling wopi chat - Rename permissions to be consistent and future proof + Allow disabling the chat in wopi (support for onlyoffice only) - https://github.com/cs3org/reva/pull/3922 + https://github.com/cs3org/reva/pull/3986 diff --git a/docs/content/en/docs/changelog/2.15.0/_index.md b/docs/content/en/docs/changelog/2.15.0/_index.md new file mode 100644 index 0000000000..36082b948f --- /dev/null +++ b/docs/content/en/docs/changelog/2.15.0/_index.md @@ -0,0 +1,411 @@ + +--- +title: "v2.15.0" +linkTitle: "v2.15.0" +weight: 40 +description: > + Changelog for Reva v2.15.0 (2023-07-17) +--- + +Changelog for reva 2.15.0 (2023-07-17) +======================================= + +The following sections list the changes in reva 2.15.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + +* Fix #4004: Add path to public link POST +* Fix #3993: Add token to LinkAccessedEvent +* Fix #4007: Close archive writer properly +* Fix #3982: Fixed couple of smaller space lookup issues +* Fix #3963: Treesize interger overflows +* Fix #3943: When removing metadata always use correct database and table +* Fix #4003: Don't connect ldap on startup +* Fix #3978: Decomposedfs no longer os.Stats when reading node metadata +* Fix #3959: Drop unnecessary stat +* Fix #4032: Temporarily exclude ceph-iscsi when building revad-ceph image +* Fix #4042: Fix writing 0 byte msgpack metadata +* Fix #3948: Handle the bad request status +* Fix #3970: Fix enforce-password issue +* Fix #4057: Properly handle not-found errors when getting a public share +* Fix #4048: Fix messagepack propagation +* Fix #4056: Fix destroys data destination when moving issue +* Fix #4012: Fix mtime if 0 size file uploaded +* Fix #3955: Fix panic +* Fix #3977: Prevent direct access to trash items +* Fix #3933: Concurrently invalidate mtime cache in jsoncs3 share manager +* Fix #3985: Reduce jsoncs3 lock congestion +* Fix #3960: Add trace span details +* Fix #3951: Link context in metadata client +* Fix #4010: Omit spaceroot when archiving +* Fix #3950: Use plain otel tracing in metadata client +* Fix #3975: Decomposedfs now resolves the parent without an os.Stat +* Fix #4047: Publish events synchrously +* Fix #4039: Restart Postprocessing +* Chg #3947: Bump golangci-lint to 1.51.2 +* Chg #3945: Revert golangci-lint back to 1.50.1 +* Enh #4060: We added a go-micro based app-provider registry +* Enh #4013: Add new WebDAV permissions +* Enh #3966: Add space metadata to ocs shares list +* Enh #3987: Cache space indexes +* Enh #3953: Client selector pool +* Enh #3973: More logging for metadata propagation +* Enh #4059: Improve space index performance +* Enh #3994: Load matching spaces concurrently +* Enh #4049: Do not invalidate filemetadata cache early +* Enh #4040: Allow to use external trace provider in micro service +* Enh #4019: Allow to use external trace provider +* Enh #4045: Log error message in grpc interceptor +* Enh #3989: Parallelization of jsoncs3 operations +* Enh #3941: Adding tracing for jsoncs3 +* Enh #3965: ResumePostprocessing Event +* Enh #3809: Trace decomposedfs syscalls +* Enh #4067: Trace upload progress +* Enh #3887: Trace requests through datagateway +* Enh #3981: We have updated the UserFeatureChangedEvent to reflect value changes +* Enh #4052: Update go-ldap to v3.4.5 +* Enh #4065: Upload directly to dataprovider +* Enh #4046: Use correct tracer name +* Enh #3986: Allow disabling wopi chat + +Details +------- + +* Bugfix #4004: Add path to public link POST + + When POSTing a public link, the response would not contain the complete path to the resource. + This is fixed now. + + https://github.com/cs3org/reva/pull/4004 + +* Bugfix #3993: Add token to LinkAccessedEvent + + We added the link token to the LinkAccessedEvent + + https://github.com/owncloud/ocis/issues/3753 + https://github.com/cs3org/reva/pull/3993 + +* Bugfix #4007: Close archive writer properly + + When running into max size error (or random other error) the archiver would not close the + writer. Only it success case it would. This resulted in broken archives on the client. We now + `defer` the writer close. + + https://github.com/cs3org/reva/pull/4007 + +* Bugfix #3982: Fixed couple of smaller space lookup issues + + https://github.com/cs3org/reva/pull/3982 + +* Bugfix #3963: Treesize interger overflows + + Reading the treesize was parsing the string value as a signed integer while setting the + treesize used unsigned integers this could cause failures (out of range errors) when reading + very large treesizes. + + https://github.com/cs3org/reva/pull/3963 + +* Bugfix #3943: When removing metadata always use correct database and table + + https://github.com/cs3org/reva/pull/3943 + +* Bugfix #4003: Don't connect ldap on startup + + This leads to misleading error messages. Instead connect on first request. + + https://github.com/cs3org/reva/pull/4003 + +* Bugfix #3978: Decomposedfs no longer os.Stats when reading node metadata + + https://github.com/cs3org/reva/pull/3978 + +* Bugfix #3959: Drop unnecessary stat + + https://github.com/cs3org/reva/pull/3959 + +* Bugfix #4032: Temporarily exclude ceph-iscsi when building revad-ceph image + + Due to `Package ceph-iscsi-3.6-1.el8.noarch.rpm is not signed` error when building the + revad-ceph docker image, the package `ceph-iscsi` has been excluded from the dnf update. It + will be included again once the pkg will be signed again. + + https://github.com/cs3org/reva/pull/4032 + +* Bugfix #4042: Fix writing 0 byte msgpack metadata + + File metadata is now written atomically to be more resilient during timeouts + + https://github.com/cs3org/reva/pull/4042 + https://github.com/cs3org/reva/pull/4034 + https://github.com/cs3org/reva/pull/4033 + +* Bugfix #3948: Handle the bad request status + + Handle the bad request status for the CreateStorageSpace function + + https://github.com/cs3org/reva/pull/3948 + +* Bugfix #3970: Fix enforce-password issue + + Fix updating public share without password when enforce-password is enabled + + https://github.com/owncloud/ocis/issues/6476 + https://github.com/cs3org/reva/pull/3970 + +* Bugfix #4057: Properly handle not-found errors when getting a public share + + We fixed a problem where not-found errors caused a hard error instead of a proper RPC error + state. + + https://github.com/cs3org/reva/pull/4057 + +* Bugfix #4048: Fix messagepack propagation + + We cannot read from the lockfile. The data is in the metadata file. + + https://github.com/cs3org/reva/pull/4048 + +* Bugfix #4056: Fix destroys data destination when moving issue + + Fix moving a file and providing the fileID of the destination destroys data + + https://github.com/owncloud/ocis/issues/6739 + https://github.com/cs3org/reva/pull/4056 + +* Bugfix #4012: Fix mtime if 0 size file uploaded + + Fix mtime if 0 size file uploaded + + https://github.com/owncloud/ocis/issues/1248 + https://github.com/cs3org/reva/pull/4012 + +* Bugfix #3955: Fix panic + + https://github.com/cs3org/reva/pull/3955 + +* Bugfix #3977: Prevent direct access to trash items + + Decomposedfs now prevents direct access to trash items + + https://github.com/cs3org/reva/pull/3977 + +* Bugfix #3933: Concurrently invalidate mtime cache in jsoncs3 share manager + + https://github.com/cs3org/reva/pull/3933 + +* Bugfix #3985: Reduce jsoncs3 lock congestion + + We changed the locking strategy in the jsoncs3 share manager to cause less lock congestion + increasing the performance in certain scenarios. + + https://github.com/cs3org/reva/pull/3985 + https://github.com/cs3org/reva/pull/3964 + +* Bugfix #3960: Add trace span details + + https://github.com/cs3org/reva/pull/3960 + +* Bugfix #3951: Link context in metadata client + + We now disconnect the existing outgoing grpc metadata when making calls in the metadata + client. To keep track of related spans we link the two contexts. + + https://github.com/cs3org/reva/pull/3951 + +* Bugfix #4010: Omit spaceroot when archiving + + When archiving a space there was an empty folder named `.` added. This was because of the + spaceroot which was wrongly interpreted. We now omit the space root when creating an archive. + + https://github.com/cs3org/reva/pull/4010 + https://github.com/cs3org/reva/pull/3999 + +* Bugfix #3950: Use plain otel tracing in metadata client + + In some cases there was no tracer provider in the context. Since the otel tracing has settled we + will fix problems by moving to the recommended best practices. A good starting point is + https://lightstep.com/blog/opentelemetry-go-all-you-need-to-know + + https://github.com/cs3org/reva/pull/3950 + +* Bugfix #3975: Decomposedfs now resolves the parent without an os.Stat + + https://github.com/cs3org/reva/pull/3975 + +* Bugfix #4047: Publish events synchrously + + Async publishing can lead to loss of events under some circumstances + + https://github.com/cs3org/reva/pull/4047 + +* Bugfix #4039: Restart Postprocessing + + Resend the `BytesReady` event if instructed. + + https://github.com/cs3org/reva/pull/4039 + +* Change #3947: Bump golangci-lint to 1.51.2 + + The 1.50.1 release had memory issues with go1.20 + + https://github.com/cs3org/reva/pull/3947 + +* Change #3945: Revert golangci-lint back to 1.50.1 + + https://github.com/cs3org/reva/pull/3945 + +* Enhancement #4060: We added a go-micro based app-provider registry + + We added a dynamic go-micro based app-provider registry with a dynamic TTL + + https://github.com/owncloud/ocis/issues/3832 + https://github.com/cs3org/reva/pull/4060 + +* Enhancement #4013: Add new WebDAV permissions + + We added the permission "PurgeRecycle" to the WebDAV permissions list. I is represented by the + capital letter `P`. + + https://github.com/cs3org/reva/pull/4013 + +* Enhancement #3966: Add space metadata to ocs shares list + + We needed to add the space ID and the space alias of the original space to the share metadata when + we are listing shares. This is needed to directly navigate to the originating space location. + + https://github.com/cs3org/reva/pull/3966 + +* Enhancement #3987: Cache space indexes + + Decomposedfs now caches the different space indexes in memory which greatly improves the + performance of ListStorageSpaces on slow storages. + + https://github.com/cs3org/reva/pull/3987 + +* Enhancement #3953: Client selector pool + + Add the ability to use iterable client pools for the grpc service communication, the + underlying grpc client and connection is fetched randomly from the available services. + + https://github.com/cs3org/reva/pull/3953 + https://github.com/cs3org/reva/pull/3939 + +* Enhancement #3973: More logging for metadata propagation + + In order to detect possible issues with the treesize propagation we made the logging a bit more + verbose. + + https://github.com/cs3org/reva/pull/3973 + +* Enhancement #4059: Improve space index performance + + The directory tree based decomposedfs space indexes have been replaced with messagepack base + indexes which improves performance when reading the index, especially on slow storages. + + https://github.com/cs3org/reva/pull/4059 + https://github.com/cs3org/reva/pull/4058 + https://github.com/cs3org/reva/pull/3995 + +* Enhancement #3994: Load matching spaces concurrently + + Matching spaces in a ListStorageSpace call are now loaded concurrently which reduces the + response time. + + https://github.com/cs3org/reva/pull/3994 + +* Enhancement #4049: Do not invalidate filemetadata cache early + + We can postpone overwriting the cache until the metadata has ben written to disk. This prevents + other requests trying to read metadata from having to wait for a readlock for the metadata file. + + https://github.com/cs3org/reva/pull/4049 + +* Enhancement #4040: Allow to use external trace provider in micro service + + Allow injecting of external trace provider in the micro service instead of forcing the + initialisation of an internal one. + + https://github.com/cs3org/reva/pull/4040 + +* Enhancement #4019: Allow to use external trace provider + + Allow injecting of external trace provider instead of forcing the initialisation of an + internal one. + + https://github.com/cs3org/reva/pull/4019 + +* Enhancement #4045: Log error message in grpc interceptor + + The grpc log interceptor now logs the actual error message + + https://github.com/cs3org/reva/pull/4045 + +* Enhancement #3989: Parallelization of jsoncs3 operations + + Run removeShare and share create storage operations in parallel. + + https://github.com/cs3org/reva/pull/3989 + +* Enhancement #3941: Adding tracing for jsoncs3 + + https://github.com/cs3org/reva/pull/3941 + +* Enhancement #3965: ResumePostprocessing Event + + Add a new event: `ResumePostprocessing`. It can be emitted to repair broken postprocessing + + https://github.com/cs3org/reva/pull/3965 + +* Enhancement #3809: Trace decomposedfs syscalls + + To investigate performance characteristics of the underlying storage when the system is + under load we wrapped the related syscalls in decomposedfs with trace spans. + + https://github.com/cs3org/reva/pull/3809 + +* Enhancement #4067: Trace upload progress + + https://github.com/cs3org/reva/pull/4067 + +* Enhancement #3887: Trace requests through datagateway + + The datagateway now forwards tracing headers. + + https://github.com/cs3org/reva/pull/3887 + +* Enhancement #3981: We have updated the UserFeatureChangedEvent to reflect value changes + + A UserFeatureChanged Event can now contain an old and a new value to reflect value changes in + audit logs. + + https://github.com/owncloud/ocis/issues/3753 + https://github.com/cs3org/reva/pull/3981 + +* Enhancement #4052: Update go-ldap to v3.4.5 + + Updated go-ldap/ldap/v3 to the latest upstream release to get back to a released version (we + were targeting a specific bugfix commit previously) + + https://github.com/cs3org/reva/pull/4052 + +* Enhancement #4065: Upload directly to dataprovider + + The ocdav service can now bypass the datagateway if it is configured with a transfer secret. + This prevents unnecessary roundtrips and halves the network traffic during uploads for the + proxy. + + https://github.com/owncloud/ocis/issues/6296 + https://github.com/cs3org/reva/pull/4065 + +* Enhancement #4046: Use correct tracer name + + https://github.com/cs3org/reva/pull/4046 + +* Enhancement #3986: Allow disabling wopi chat + + Allow disabling the chat in wopi (support for onlyoffice only) + + https://github.com/cs3org/reva/pull/3986 + diff --git a/docs/content/en/docs/config/packages/ocm/share/manager/nextcloud/_index.md b/docs/content/en/docs/config/packages/ocm/share/manager/nextcloud/_index.md index 2c9bfffe85..d0f287332c 100644 --- a/docs/content/en/docs/config/packages/ocm/share/manager/nextcloud/_index.md +++ b/docs/content/en/docs/config/packages/ocm/share/manager/nextcloud/_index.md @@ -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/manager/nextcloud/nextcloud.go#L75) +The Nextcloud backend endpoint for user check [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/ocm/share/manager/nextcloud/nextcloud.go#L74) {{< highlight toml >}} [ocm.share.manager.nextcloud] endpoint = ""