From ae0ed9595117b37a686bdb267f509abdbdf3a67a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Thu, 22 Feb 2024 15:04:22 +0100 Subject: [PATCH] chore: bump version, prepare changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- CHANGELOG.md | 448 ++++++++++++++++-- RELEASE_DATE | 2 +- VERSION | 2 +- .../allow-changing-grants-when-locked.md | 0 .../allow-disabling-resharing.md | 0 .../allow-multiple-event-user-ids.md | 0 .../bump-dependencies.md | 0 .../concurrence-defaults.md | 0 .../configurable-s3-put-options.md | 0 .../disabled-password-policy-rework.md | 0 ...uish-failure-and-node-metadata-reversal.md | 0 .../do-not-lose-revisions.md | 0 .../extend-resumepp-event.md | 0 .../fileincrementor-for-secret-file-drops.md | 0 .../fix-concurrent-access-to-map.md | 0 .../fix-concurrent-map-access.md | 0 .../fix-content-disposition-header.md | 0 .../fix-cors-handling.md | 0 .../fix-create-share-precheck.md | 0 .../fix-creating-documents.md | 0 .../fix-dav-meta.md | 0 .../fix-deleting-during-postprocessing.md | 0 .../fix-duplicate-sharejail-items.md | 0 .../fix-listing-sessions.md | 0 .../fix-metadata-storage-upload-ifnotexist.md | 0 .../fix-move.md | 0 .../fix-nats-store.md | 0 .../fix-recusrive-trashcan-purge | 0 .../fix-resource-name-dav.md | 0 .../fix-resource-name.md | 0 .../fix-truncating-files.md | 0 .../fix-upload-postprocessing.md | 0 .../handle-interrupted-uploads.md | 0 .../jsoncs3-cache-fixes.md | 0 .../keep-failed-processing-status.md | 0 .../lazy-initialize-publicsharemanager.md | 0 .../legacy-return-code.md | 0 .../make-tusd-cors-configurable.md | 0 .../more-efficient-share-jail.md | 0 ...-postprocessing-when-it-was-not-started.md | 0 .../posixfs.md | 0 ...ip-unnecessary-received-share-retrieval.md | 0 .../spaceindex-addall.md | 0 .../unify-datagateway-method-handling.md | 0 .../unnecessary-grant-exists-check.md | 0 .../uploadsession-specific-processing-flag.md | 0 changelog/NOTE.md | 368 +++++++++++--- .../en/docs/changelog/2.19.0/_index.md | 359 ++++++++++++++ 48 files changed, 1054 insertions(+), 125 deletions(-) rename changelog/{unreleased => 2.19.0_2024-02-22}/allow-changing-grants-when-locked.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/allow-disabling-resharing.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/allow-multiple-event-user-ids.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/bump-dependencies.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/concurrence-defaults.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/configurable-s3-put-options.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/disabled-password-policy-rework.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/distinguish-failure-and-node-metadata-reversal.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/do-not-lose-revisions.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/extend-resumepp-event.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fileincrementor-for-secret-file-drops.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-concurrent-access-to-map.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-concurrent-map-access.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-content-disposition-header.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-cors-handling.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-create-share-precheck.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-creating-documents.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-dav-meta.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-deleting-during-postprocessing.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-duplicate-sharejail-items.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-listing-sessions.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-metadata-storage-upload-ifnotexist.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-move.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-nats-store.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-recusrive-trashcan-purge (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-resource-name-dav.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-resource-name.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-truncating-files.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/fix-upload-postprocessing.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/handle-interrupted-uploads.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/jsoncs3-cache-fixes.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/keep-failed-processing-status.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/lazy-initialize-publicsharemanager.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/legacy-return-code.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/make-tusd-cors-configurable.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/more-efficient-share-jail.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/no-need-to-unmark-postprocessing-when-it-was-not-started.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/posixfs.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/skip-unnecessary-received-share-retrieval.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/spaceindex-addall.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/unify-datagateway-method-handling.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/unnecessary-grant-exists-check.md (100%) rename changelog/{unreleased => 2.19.0_2024-02-22}/uploadsession-specific-processing-flag.md (100%) create mode 100644 docs/content/en/docs/changelog/2.19.0/_index.md diff --git a/CHANGELOG.md b/CHANGELOG.md index bc925c9452..bc6eab6de2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,353 @@ +Changelog for reva 2.19.0 (2024-02-22) +======================================= + +The following sections list the changes in reva 2.19.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + +* Fix #4464: Do not lose revisions when restoring the first revision +* Fix #4516: The sharemanager can now reject grants with resharing permissions +* Fix #4512: Bump dependencies +* Fix #4481: Distinguish failure and node metadata reversal +* Fix #4456: Do not lose revisions when restoring the first revision +* Fix #4472: Fix concurrent access to a map +* Fix #4457: Fix concurrent map access in sharecache +* Fix #4498: Fix Content-Disposition header in dav +* Fix #4461: CORS handling for WebDAV requests fixed +* Fix #4462: Prevent setting container specific permissions on files +* Fix #4479: Fix creating documents in the approvider +* Fix #4474: Make /dav/meta consistent +* Fix #4446: Disallow to delete a file during the processing +* Fix #4517: Fix duplicated items in the sharejail root +* Fix #4473: Decomposedfs now correctly lists sessions +* Fix #4528: Respect IfNotExist option when uploading in cs3 metadata storage +* Fix #4503: Fix an error when move +* Fix #4466: Fix natsjskv store +* Fix #4533: Fix recursive trashcan purge +* Fix #4492: Fix the resource name +* Fix #4463: Fix the resource name +* Fix #4448: Fix truncating existing files +* Fix #4434: Fix the upload postprocessing +* Fix #4469: Handle interrupted uploads +* Fix #4532: Jsoncs3 cache fixes +* Fix #4449: Keep failed processing status +* Fix #4529: We aligned some OCS return codes with oc10 +* Fix #4507: Make tusd CORS headers configurable +* Fix #4452: More efficient share jail +* Fix #4476: No need to unmark postprocessing when it was not started +* Fix #4454: Skip unnecessary share retrieval +* Fix #4527: Unify datagateway method handling +* Fix #4530: Drop unnecessary grant exists check +* Fix #4475: Upload session specific processing flag +* Enh #4501: Allow sending multiple user ids in one sse event +* Enh #4485: Modify the concurrency default +* Enh #4526: Configurable s3 put options +* Enh #4453: Disable the password policy +* Enh #4477: Extend ResumePostprocessing event +* Enh #4491: Add filename incrementor for secret filedrops +* Enh #4490: Lazy initialize public share manager +* Enh #4494: Start implementation of a plain posix storage driver +* Enh #4502: Add spaceindex.AddAll() + +Details +------- + +* Bugfix #4464: Do not lose revisions when restoring the first revision + + We no longer prevent modifying grants on locked resources. + + https://github.com/cs3org/reva/pull/4464 + +* Bugfix #4516: The sharemanager can now reject grants with resharing permissions + + When disabling resharing we also need to prevent grants from allowing any grant permissions. + + https://github.com/cs3org/reva/pull/4516 + +* Bugfix #4512: Bump dependencies + + We updated the dependencies to at least match the ones used in ocis. + + https://github.com/cs3org/reva/pull/4512 + +* Bugfix #4481: Distinguish failure and node metadata reversal + + When the final blob move fails we must not remove the node metadata to be able to restart the + postprocessing process. + + https://github.com/cs3org/reva/pull/4481 + +* Bugfix #4456: Do not lose revisions when restoring the first revision + + We fixed a problem where restoring the very first version of a file could delete the current + version. + + https://github.com/cs3org/reva/pull/4456 + +* Bugfix #4472: Fix concurrent access to a map + + We fixed the race condition that led to concurrent map access in a publicshare manager. + + https://github.com/owncloud/ocis/issues/8255 + https://github.com/cs3org/reva/pull/4472 + +* Bugfix #4457: Fix concurrent map access in sharecache + + We fixed a problem where the sharecache map would sometimes cause a panic when being accessed + concurrently. + + https://github.com/cs3org/reva/pull/4457 + +* Bugfix #4498: Fix Content-Disposition header in dav + + We have added missing quotes to the Content-Disposition header in the dav service. This fixes + an issue with files containing special characters in their names. + + https://github.com/owncloud/ocis/issues/8361 + https://github.com/cs3org/reva/pull/4498 + +* Bugfix #4461: CORS handling for WebDAV requests fixed + + We now correctly handle CORS headers for WebDAV requests. + + https://github.com/owncloud/ocis/issues/8231 + https://github.com/cs3org/reva/pull/4461 + +* Bugfix #4462: Prevent setting container specific permissions on files + + It was possible to set the 'CreateContainer', 'Move' or 'Delete' permissions on file + resources with a CreateShare request. These permissions are meant to be only set on container + resources. The UpdateShare request already has a similar check. + + https://github.com/owncloud/ocis/issues/8131 + https://github.com/cs3org/reva/pull/4462 + +* Bugfix #4479: Fix creating documents in the approvider + + We fixed a problem with the approvider where an error was reported to the user even though the + file was created properly. + + https://github.com/cs3org/reva/pull/4479 + +* Bugfix #4474: Make /dav/meta consistent + + We now also return absolute paths for shares in the share jail in the /dav/meta endpoint. + + https://github.com/cs3org/reva/pull/4474 + +* Bugfix #4446: Disallow to delete a file during the processing + + We want to disallow deleting a file during the processing to prevent collecting the orphan + uploads. + + https://github.com/cs3org/reva/pull/4446 + +* Bugfix #4517: Fix duplicated items in the sharejail root + + We fixed a bug, that caused duplicate items to listed in the sharejail, when a user received + multiple shares for the same resource. + + https://github.com/owncloud/ocis/issues/8080 + https://github.com/cs3org/reva/pull/4517 + +* Bugfix #4473: Decomposedfs now correctly lists sessions + + https://github.com/cs3org/reva/pull/4473 + +* Bugfix #4528: Respect IfNotExist option when uploading in cs3 metadata storage + + https://github.com/cs3org/reva/pull/4528 + +* Bugfix #4503: Fix an error when move + + We fixed a bug that caused Internal Server Error when move using destination id + + https://github.com/owncloud/ocis/issues/6739 + https://github.com/cs3org/reva/pull/4503 + +* Bugfix #4466: Fix natsjskv store + + Small mistake in last iteration made authorization not working. + + https://github.com/cs3org/reva/pull/4466 + +* Bugfix #4533: Fix recursive trashcan purge + + We have fixed a bug in the trashcan purge process that did not delete folder structures + recursively. + + https://github.com/owncloud/ocis/issues/8473 + https://github.com/cs3org/reva/pull/4533 + +* Bugfix #4492: Fix the resource name + + We fixed a problem where after renaming resource as sharer the receiver see a new name for dav and + wedav endpoints. + + https://github.com/owncloud/ocis/issues/8242 + https://github.com/cs3org/reva/pull/4492 + +* Bugfix #4463: Fix the resource name + + We fixed a problem where after renaming resource as sharer the receiver see a new name. + + https://github.com/owncloud/ocis/issues/8242 + https://github.com/cs3org/reva/pull/4463 + +* Bugfix #4448: Fix truncating existing files + + We fixed a problem where existing files kept their content when being overwritten by a 0-byte + file. + + https://github.com/cs3org/reva/pull/4448 + +* Bugfix #4434: Fix the upload postprocessing + + We fixed the upload postprocessing when the destination file does not exist anymore. + + https://github.com/cs3org/reva/pull/4434 + +* Bugfix #4469: Handle interrupted uploads + + We fixed a bug where interrupted uploads were not discarded properly. + + https://github.com/cs3org/reva/pull/4469 + +* Bugfix #4532: Jsoncs3 cache fixes + + The jsoncs3 share manager now retries persisting if the file already existed and picks up the + etag of the upload response in all cases. + + https://github.com/cs3org/reva/pull/4532 + +* Bugfix #4449: Keep failed processing status + + We now keep tho postprocessing status when a blob could not be copied to the blobstore. + + https://github.com/cs3org/reva/pull/4449 + +* Bugfix #4529: We aligned some OCS return codes with oc10 + + https://github.com/owncloud/ocis/issues/1233 + https://github.com/cs3org/reva/pull/4529 + +* Bugfix #4507: Make tusd CORS headers configurable + + We bumped tusd to 1.13.0 and made CORS headers configurable via mapstructure. + + https://github.com/cs3org/reva/pull/4507 + +* Bugfix #4452: More efficient share jail + + The share jail was stating every shared recource twice when listing the share jail root. For no + good reason. And it was not sending filters when it could. + + https://github.com/cs3org/reva/pull/4452 + +* Bugfix #4476: No need to unmark postprocessing when it was not started + + https://github.com/cs3org/reva/pull/4476 + +* Bugfix #4454: Skip unnecessary share retrieval + + https://github.com/cs3org/reva/pull/4454 + +* Bugfix #4527: Unify datagateway method handling + + The datagateway now unpacks and forwards all HTTP methods + + https://github.com/cs3org/reva/pull/4527 + +* Bugfix #4530: Drop unnecessary grant exists check + + At least the jsoncs3 share manager properly returns an ALREADY_EXISTS response when trying to + add a share to a resource that has already been shared with the grantee. + + https://github.com/cs3org/reva/pull/4530 + +* Bugfix #4475: Upload session specific processing flag + + To make every upload session have a dedicated processing status, upload sessions are now + treated as in processing when all bytes have been received instead of checking the node + metadata. + + https://github.com/cs3org/reva/pull/4475 + +* Enhancement #4501: Allow sending multiple user ids in one sse event + + Sending multiple user ids in one sse event is now possible which reduces the number of sent + events. + + https://github.com/cs3org/reva/pull/4501 + +* Enhancement #4485: Modify the concurrency default + + We have changed the default MaxConcurrency value from 100 to 5 to prevent too frequent gc runs on + low memory systems. + + https://github.com/owncloud/ocis/issues/8257 + https://github.com/cs3org/reva/pull/4485 + +* Enhancement #4526: Configurable s3 put options + + The s3ng blobstore can now be configured with several options: + `s3.disable_content_sha254`, `s3.disable_multipart`, `s3.send_content_md5`, + `s3.concurrent_stream_parts`, `s3.num_threads` and `s3.part_size`. If unset we default + to `s3.send_content_md5: true`, which was hardcoded before. We also default to + `s3.concurrent_stream_parts: true` and `s3.num_threads: 4` to allow concurrent uploads + even when `s3.send_content_md5` is set to `true`. When tweaking the uploads try setting + `s3.send_content_md5: false` and `s3.concurrent_stream_parts: false` first, as this will + try to concurrently stream an uploaded file to the s3 store without cutting it into parts first. + + https://github.com/cs3org/reva/pull/4526 + +* Enhancement #4453: Disable the password policy + + We reworked and moved disabling the password policy logic to the ocis. + + https://github.com/owncloud/ocis/issues/7916 + https://github.com/cs3org/reva/pull/4453 + +* Enhancement #4477: Extend ResumePostprocessing event + + Instead of just sending an uploadID, one can set a postprocessing step now to restart all + uploads in this step Also adds a new postprocessing step - "finished" - which means that + postprocessing is finished but the storage provider hasn't acknowledged it yet. + + https://github.com/cs3org/reva/pull/4477 + +* Enhancement #4491: Add filename incrementor for secret filedrops + + We have added a function that appends a number to the filename if the file already exists in a + secret filedrop. This is useful if you want to upload a file with the same name multiple times. + + https://github.com/owncloud/ocis/issues/8291 + https://github.com/cs3org/reva/pull/4491 + +* Enhancement #4490: Lazy initialize public share manager + + Unlike the share manager the public share manager was initializing its data structure on + startup. This can lead to failed ocis starts (in single binary case) or to restarting `sharing` + pods when running in containerized environment. + + https://github.com/cs3org/reva/pull/4490 + +* Enhancement #4494: Start implementation of a plain posix storage driver + + We started to lay the groundwork for a new posixfs storage driver based on decomposedfs. We also + refactored decomposedfs to be a bit more modular and cleaned up the initialization. + + https://github.com/cs3org/reva/pull/4494 + +* Enhancement #4502: Add spaceindex.AddAll() + + We now expose an AddAll() function that allows adding multiple entries to a space index with a + single lock. + + https://github.com/cs3org/reva/pull/4502 + Changelog for reva 2.18.0 (2023-12-22) ======================================= @@ -3342,6 +3692,34 @@ 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) ======================================= @@ -3474,34 +3852,6 @@ 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) ======================================= @@ -3869,6 +4219,27 @@ Details https://github.com/cs3org/reva/pull/2922 +Changelog for reva 2.4.1 (2022-05-24) +======================================= + +The following sections list the changes in reva 2.4.1 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + +* Fix #2891: Add missing http status code + +Details +------- + +* Bugfix #2891: Add missing http status code + + This Fix adds a missing status code to the InsufficientStorage error in reva, to allow tus to + pass it through. + + https://github.com/cs3org/reva/pull/2891 + Changelog for reva 2.4.0 (2022-05-24) ======================================= @@ -4012,27 +4383,6 @@ Details https://github.com/cs3org/reva/pull/2792 -Changelog for reva 2.4.1 (2022-05-24) -======================================= - -The following sections list the changes in reva 2.4.1 relevant to -reva users. The changes are ordered by importance. - -Summary -------- - -* Fix #2891: Add missing http status code - -Details -------- - -* Bugfix #2891: Add missing http status code - - This Fix adds a missing status code to the InsufficientStorage error in reva, to allow tus to - pass it through. - - https://github.com/cs3org/reva/pull/2891 - Changelog for reva 2.3.1 (2022-05-08) ======================================= diff --git a/RELEASE_DATE b/RELEASE_DATE index 95c519bfbf..53dec55f85 100644 --- a/RELEASE_DATE +++ b/RELEASE_DATE @@ -1 +1 @@ -2023-12-22 \ No newline at end of file +2024-02-22 \ No newline at end of file diff --git a/VERSION b/VERSION index 5b84073899..92aa628bc3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.18.0 \ No newline at end of file +2.19.0 \ No newline at end of file diff --git a/changelog/unreleased/allow-changing-grants-when-locked.md b/changelog/2.19.0_2024-02-22/allow-changing-grants-when-locked.md similarity index 100% rename from changelog/unreleased/allow-changing-grants-when-locked.md rename to changelog/2.19.0_2024-02-22/allow-changing-grants-when-locked.md diff --git a/changelog/unreleased/allow-disabling-resharing.md b/changelog/2.19.0_2024-02-22/allow-disabling-resharing.md similarity index 100% rename from changelog/unreleased/allow-disabling-resharing.md rename to changelog/2.19.0_2024-02-22/allow-disabling-resharing.md diff --git a/changelog/unreleased/allow-multiple-event-user-ids.md b/changelog/2.19.0_2024-02-22/allow-multiple-event-user-ids.md similarity index 100% rename from changelog/unreleased/allow-multiple-event-user-ids.md rename to changelog/2.19.0_2024-02-22/allow-multiple-event-user-ids.md diff --git a/changelog/unreleased/bump-dependencies.md b/changelog/2.19.0_2024-02-22/bump-dependencies.md similarity index 100% rename from changelog/unreleased/bump-dependencies.md rename to changelog/2.19.0_2024-02-22/bump-dependencies.md diff --git a/changelog/unreleased/concurrence-defaults.md b/changelog/2.19.0_2024-02-22/concurrence-defaults.md similarity index 100% rename from changelog/unreleased/concurrence-defaults.md rename to changelog/2.19.0_2024-02-22/concurrence-defaults.md diff --git a/changelog/unreleased/configurable-s3-put-options.md b/changelog/2.19.0_2024-02-22/configurable-s3-put-options.md similarity index 100% rename from changelog/unreleased/configurable-s3-put-options.md rename to changelog/2.19.0_2024-02-22/configurable-s3-put-options.md diff --git a/changelog/unreleased/disabled-password-policy-rework.md b/changelog/2.19.0_2024-02-22/disabled-password-policy-rework.md similarity index 100% rename from changelog/unreleased/disabled-password-policy-rework.md rename to changelog/2.19.0_2024-02-22/disabled-password-policy-rework.md diff --git a/changelog/unreleased/distinguish-failure-and-node-metadata-reversal.md b/changelog/2.19.0_2024-02-22/distinguish-failure-and-node-metadata-reversal.md similarity index 100% rename from changelog/unreleased/distinguish-failure-and-node-metadata-reversal.md rename to changelog/2.19.0_2024-02-22/distinguish-failure-and-node-metadata-reversal.md diff --git a/changelog/unreleased/do-not-lose-revisions.md b/changelog/2.19.0_2024-02-22/do-not-lose-revisions.md similarity index 100% rename from changelog/unreleased/do-not-lose-revisions.md rename to changelog/2.19.0_2024-02-22/do-not-lose-revisions.md diff --git a/changelog/unreleased/extend-resumepp-event.md b/changelog/2.19.0_2024-02-22/extend-resumepp-event.md similarity index 100% rename from changelog/unreleased/extend-resumepp-event.md rename to changelog/2.19.0_2024-02-22/extend-resumepp-event.md diff --git a/changelog/unreleased/fileincrementor-for-secret-file-drops.md b/changelog/2.19.0_2024-02-22/fileincrementor-for-secret-file-drops.md similarity index 100% rename from changelog/unreleased/fileincrementor-for-secret-file-drops.md rename to changelog/2.19.0_2024-02-22/fileincrementor-for-secret-file-drops.md diff --git a/changelog/unreleased/fix-concurrent-access-to-map.md b/changelog/2.19.0_2024-02-22/fix-concurrent-access-to-map.md similarity index 100% rename from changelog/unreleased/fix-concurrent-access-to-map.md rename to changelog/2.19.0_2024-02-22/fix-concurrent-access-to-map.md diff --git a/changelog/unreleased/fix-concurrent-map-access.md b/changelog/2.19.0_2024-02-22/fix-concurrent-map-access.md similarity index 100% rename from changelog/unreleased/fix-concurrent-map-access.md rename to changelog/2.19.0_2024-02-22/fix-concurrent-map-access.md diff --git a/changelog/unreleased/fix-content-disposition-header.md b/changelog/2.19.0_2024-02-22/fix-content-disposition-header.md similarity index 100% rename from changelog/unreleased/fix-content-disposition-header.md rename to changelog/2.19.0_2024-02-22/fix-content-disposition-header.md diff --git a/changelog/unreleased/fix-cors-handling.md b/changelog/2.19.0_2024-02-22/fix-cors-handling.md similarity index 100% rename from changelog/unreleased/fix-cors-handling.md rename to changelog/2.19.0_2024-02-22/fix-cors-handling.md diff --git a/changelog/unreleased/fix-create-share-precheck.md b/changelog/2.19.0_2024-02-22/fix-create-share-precheck.md similarity index 100% rename from changelog/unreleased/fix-create-share-precheck.md rename to changelog/2.19.0_2024-02-22/fix-create-share-precheck.md diff --git a/changelog/unreleased/fix-creating-documents.md b/changelog/2.19.0_2024-02-22/fix-creating-documents.md similarity index 100% rename from changelog/unreleased/fix-creating-documents.md rename to changelog/2.19.0_2024-02-22/fix-creating-documents.md diff --git a/changelog/unreleased/fix-dav-meta.md b/changelog/2.19.0_2024-02-22/fix-dav-meta.md similarity index 100% rename from changelog/unreleased/fix-dav-meta.md rename to changelog/2.19.0_2024-02-22/fix-dav-meta.md diff --git a/changelog/unreleased/fix-deleting-during-postprocessing.md b/changelog/2.19.0_2024-02-22/fix-deleting-during-postprocessing.md similarity index 100% rename from changelog/unreleased/fix-deleting-during-postprocessing.md rename to changelog/2.19.0_2024-02-22/fix-deleting-during-postprocessing.md diff --git a/changelog/unreleased/fix-duplicate-sharejail-items.md b/changelog/2.19.0_2024-02-22/fix-duplicate-sharejail-items.md similarity index 100% rename from changelog/unreleased/fix-duplicate-sharejail-items.md rename to changelog/2.19.0_2024-02-22/fix-duplicate-sharejail-items.md diff --git a/changelog/unreleased/fix-listing-sessions.md b/changelog/2.19.0_2024-02-22/fix-listing-sessions.md similarity index 100% rename from changelog/unreleased/fix-listing-sessions.md rename to changelog/2.19.0_2024-02-22/fix-listing-sessions.md diff --git a/changelog/unreleased/fix-metadata-storage-upload-ifnotexist.md b/changelog/2.19.0_2024-02-22/fix-metadata-storage-upload-ifnotexist.md similarity index 100% rename from changelog/unreleased/fix-metadata-storage-upload-ifnotexist.md rename to changelog/2.19.0_2024-02-22/fix-metadata-storage-upload-ifnotexist.md diff --git a/changelog/unreleased/fix-move.md b/changelog/2.19.0_2024-02-22/fix-move.md similarity index 100% rename from changelog/unreleased/fix-move.md rename to changelog/2.19.0_2024-02-22/fix-move.md diff --git a/changelog/unreleased/fix-nats-store.md b/changelog/2.19.0_2024-02-22/fix-nats-store.md similarity index 100% rename from changelog/unreleased/fix-nats-store.md rename to changelog/2.19.0_2024-02-22/fix-nats-store.md diff --git a/changelog/unreleased/fix-recusrive-trashcan-purge b/changelog/2.19.0_2024-02-22/fix-recusrive-trashcan-purge similarity index 100% rename from changelog/unreleased/fix-recusrive-trashcan-purge rename to changelog/2.19.0_2024-02-22/fix-recusrive-trashcan-purge diff --git a/changelog/unreleased/fix-resource-name-dav.md b/changelog/2.19.0_2024-02-22/fix-resource-name-dav.md similarity index 100% rename from changelog/unreleased/fix-resource-name-dav.md rename to changelog/2.19.0_2024-02-22/fix-resource-name-dav.md diff --git a/changelog/unreleased/fix-resource-name.md b/changelog/2.19.0_2024-02-22/fix-resource-name.md similarity index 100% rename from changelog/unreleased/fix-resource-name.md rename to changelog/2.19.0_2024-02-22/fix-resource-name.md diff --git a/changelog/unreleased/fix-truncating-files.md b/changelog/2.19.0_2024-02-22/fix-truncating-files.md similarity index 100% rename from changelog/unreleased/fix-truncating-files.md rename to changelog/2.19.0_2024-02-22/fix-truncating-files.md diff --git a/changelog/unreleased/fix-upload-postprocessing.md b/changelog/2.19.0_2024-02-22/fix-upload-postprocessing.md similarity index 100% rename from changelog/unreleased/fix-upload-postprocessing.md rename to changelog/2.19.0_2024-02-22/fix-upload-postprocessing.md diff --git a/changelog/unreleased/handle-interrupted-uploads.md b/changelog/2.19.0_2024-02-22/handle-interrupted-uploads.md similarity index 100% rename from changelog/unreleased/handle-interrupted-uploads.md rename to changelog/2.19.0_2024-02-22/handle-interrupted-uploads.md diff --git a/changelog/unreleased/jsoncs3-cache-fixes.md b/changelog/2.19.0_2024-02-22/jsoncs3-cache-fixes.md similarity index 100% rename from changelog/unreleased/jsoncs3-cache-fixes.md rename to changelog/2.19.0_2024-02-22/jsoncs3-cache-fixes.md diff --git a/changelog/unreleased/keep-failed-processing-status.md b/changelog/2.19.0_2024-02-22/keep-failed-processing-status.md similarity index 100% rename from changelog/unreleased/keep-failed-processing-status.md rename to changelog/2.19.0_2024-02-22/keep-failed-processing-status.md diff --git a/changelog/unreleased/lazy-initialize-publicsharemanager.md b/changelog/2.19.0_2024-02-22/lazy-initialize-publicsharemanager.md similarity index 100% rename from changelog/unreleased/lazy-initialize-publicsharemanager.md rename to changelog/2.19.0_2024-02-22/lazy-initialize-publicsharemanager.md diff --git a/changelog/unreleased/legacy-return-code.md b/changelog/2.19.0_2024-02-22/legacy-return-code.md similarity index 100% rename from changelog/unreleased/legacy-return-code.md rename to changelog/2.19.0_2024-02-22/legacy-return-code.md diff --git a/changelog/unreleased/make-tusd-cors-configurable.md b/changelog/2.19.0_2024-02-22/make-tusd-cors-configurable.md similarity index 100% rename from changelog/unreleased/make-tusd-cors-configurable.md rename to changelog/2.19.0_2024-02-22/make-tusd-cors-configurable.md diff --git a/changelog/unreleased/more-efficient-share-jail.md b/changelog/2.19.0_2024-02-22/more-efficient-share-jail.md similarity index 100% rename from changelog/unreleased/more-efficient-share-jail.md rename to changelog/2.19.0_2024-02-22/more-efficient-share-jail.md diff --git a/changelog/unreleased/no-need-to-unmark-postprocessing-when-it-was-not-started.md b/changelog/2.19.0_2024-02-22/no-need-to-unmark-postprocessing-when-it-was-not-started.md similarity index 100% rename from changelog/unreleased/no-need-to-unmark-postprocessing-when-it-was-not-started.md rename to changelog/2.19.0_2024-02-22/no-need-to-unmark-postprocessing-when-it-was-not-started.md diff --git a/changelog/unreleased/posixfs.md b/changelog/2.19.0_2024-02-22/posixfs.md similarity index 100% rename from changelog/unreleased/posixfs.md rename to changelog/2.19.0_2024-02-22/posixfs.md diff --git a/changelog/unreleased/skip-unnecessary-received-share-retrieval.md b/changelog/2.19.0_2024-02-22/skip-unnecessary-received-share-retrieval.md similarity index 100% rename from changelog/unreleased/skip-unnecessary-received-share-retrieval.md rename to changelog/2.19.0_2024-02-22/skip-unnecessary-received-share-retrieval.md diff --git a/changelog/unreleased/spaceindex-addall.md b/changelog/2.19.0_2024-02-22/spaceindex-addall.md similarity index 100% rename from changelog/unreleased/spaceindex-addall.md rename to changelog/2.19.0_2024-02-22/spaceindex-addall.md diff --git a/changelog/unreleased/unify-datagateway-method-handling.md b/changelog/2.19.0_2024-02-22/unify-datagateway-method-handling.md similarity index 100% rename from changelog/unreleased/unify-datagateway-method-handling.md rename to changelog/2.19.0_2024-02-22/unify-datagateway-method-handling.md diff --git a/changelog/unreleased/unnecessary-grant-exists-check.md b/changelog/2.19.0_2024-02-22/unnecessary-grant-exists-check.md similarity index 100% rename from changelog/unreleased/unnecessary-grant-exists-check.md rename to changelog/2.19.0_2024-02-22/unnecessary-grant-exists-check.md diff --git a/changelog/unreleased/uploadsession-specific-processing-flag.md b/changelog/2.19.0_2024-02-22/uploadsession-specific-processing-flag.md similarity index 100% rename from changelog/unreleased/uploadsession-specific-processing-flag.md rename to changelog/2.19.0_2024-02-22/uploadsession-specific-processing-flag.md diff --git a/changelog/NOTE.md b/changelog/NOTE.md index 01a7ad12be..88baf3431b 100644 --- a/changelog/NOTE.md +++ b/changelog/NOTE.md @@ -1,130 +1,350 @@ -Changelog for reva 2.18.0 (2023-12-22) +Changelog for reva 2.19.0 (2024-02-22) ======================================= -The following sections list the changes in reva 2.18.0 relevant to +The following sections list the changes in reva 2.19.0 relevant to reva users. The changes are ordered by importance. Summary ------- -* Fix #4424: Fixed panic in receivedsharecache pkg -* Fix #4425: Fix overwriting files with empty files -* Fix #4432: Fix /dav/meta endpoint for shares -* Fix #4422: Fix disconnected traces -* Fix #4429: Internal link creation -* Fix #4407: Make ocdav return correct oc:spaceid -* Fix #4410: Improve OCM support -* Fix #4402: Refactor upload session -* Enh #4421: Check permissions before adding, deleting or updating shares -* Enh #4403: Add validation to update public share -* Enh #4409: Disable the password policy -* Enh #4412: Allow authentication for nats connections -* Enh #4411: Add option to configure streams non durable -* Enh #4406: Rework cache configuration -* Enh #4414: Track more upload session metrics +* Fix #4464: Do not lose revisions when restoring the first revision +* Fix #4516: The sharemanager can now reject grants with resharing permissions +* Fix #4512: Bump dependencies +* Fix #4481: Distinguish failure and node metadata reversal +* Fix #4456: Do not lose revisions when restoring the first revision +* Fix #4472: Fix concurrent access to a map +* Fix #4457: Fix concurrent map access in sharecache +* Fix #4498: Fix Content-Disposition header in dav +* Fix #4461: CORS handling for WebDAV requests fixed +* Fix #4462: Prevent setting container specific permissions on files +* Fix #4479: Fix creating documents in the approvider +* Fix #4474: Make /dav/meta consistent +* Fix #4446: Disallow to delete a file during the processing +* Fix #4517: Fix duplicated items in the sharejail root +* Fix #4473: Decomposedfs now correctly lists sessions +* Fix #4528: Respect IfNotExist option when uploading in cs3 metadata storage +* Fix #4503: Fix an error when move +* Fix #4466: Fix natsjskv store +* Fix #4533: Fix recursive trashcan purge +* Fix #4492: Fix the resource name +* Fix #4463: Fix the resource name +* Fix #4448: Fix truncating existing files +* Fix #4434: Fix the upload postprocessing +* Fix #4469: Handle interrupted uploads +* Fix #4532: Jsoncs3 cache fixes +* Fix #4449: Keep failed processing status +* Fix #4529: We aligned some OCS return codes with oc10 +* Fix #4507: Make tusd CORS headers configurable +* Fix #4452: More efficient share jail +* Fix #4476: No need to unmark postprocessing when it was not started +* Fix #4454: Skip unnecessary share retrieval +* Fix #4527: Unify datagateway method handling +* Fix #4530: Drop unnecessary grant exists check +* Fix #4475: Upload session specific processing flag +* Enh #4501: Allow sending multiple user ids in one sse event +* Enh #4485: Modify the concurrency default +* Enh #4526: Configurable s3 put options +* Enh #4453: Disable the password policy +* Enh #4477: Extend ResumePostprocessing event +* Enh #4491: Add filename incrementor for secret filedrops +* Enh #4490: Lazy initialize public share manager +* Enh #4494: Start implementation of a plain posix storage driver +* Enh #4502: Add spaceindex.AddAll() Details ------- -* Bugfix #4424: Fixed panic in receivedsharecache pkg +* Bugfix #4464: Do not lose revisions when restoring the first revision - The receivedsharecache pkg would sometime run into concurrent map writes. This is fixed by - using maptimesyncedcache pkg instead of a plain map. + We no longer prevent modifying grants on locked resources. - https://github.com/cs3org/reva/pull/4424 + https://github.com/cs3org/reva/pull/4464 -* Bugfix #4425: Fix overwriting files with empty files +* Bugfix #4516: The sharemanager can now reject grants with resharing permissions - We fixed a bug where files could not be overwritten with empty files using the desktop client. + When disabling resharing we also need to prevent grants from allowing any grant permissions. - https://github.com/cs3org/reva/pull/4425 + https://github.com/cs3org/reva/pull/4516 -* Bugfix #4432: Fix /dav/meta endpoint for shares +* Bugfix #4512: Bump dependencies - We fixed a bug in the /dav/meta endpoint leading to internal server errors when used with - shares. + We updated the dependencies to at least match the ones used in ocis. - https://github.com/cs3org/reva/pull/4432 + https://github.com/cs3org/reva/pull/4512 -* Bugfix #4422: Fix disconnected traces +* Bugfix #4481: Distinguish failure and node metadata reversal - We fixed a problem where the appctx logger was using a new traceid instead of picking up the one - from the trace parent. + When the final blob move fails we must not remove the node metadata to be able to restart the + postprocessing process. - https://github.com/cs3org/reva/pull/4422 + https://github.com/cs3org/reva/pull/4481 -* Bugfix #4429: Internal link creation +* Bugfix #4456: Do not lose revisions when restoring the first revision - We fix the permission checks for creating and updating public share so that it is possible again - to create internal links for received shares. + We fixed a problem where restoring the very first version of a file could delete the current + version. - https://github.com/owncloud/ocis/issues/8039 - https://github.com/cs3org/reva/pull/4429 + https://github.com/cs3org/reva/pull/4456 -* Bugfix #4407: Make ocdav return correct oc:spaceid +* Bugfix #4472: Fix concurrent access to a map - Propfinds now return `oc:spaceid` in the form of `{providerid}${spaceid}` + We fixed the race condition that led to concurrent map access in a publicshare manager. - https://github.com/cs3org/reva/pull/4407 + https://github.com/owncloud/ocis/issues/8255 + https://github.com/cs3org/reva/pull/4472 -* Bugfix #4410: Improve OCM support +* Bugfix #4457: Fix concurrent map access in sharecache - We fixed several bugs with OCM support. + We fixed a problem where the sharecache map would sometimes cause a panic when being accessed + concurrently. - https://github.com/cs3org/reva/pull/4410 - https://github.com/cs3org/reva/pull/4333 + https://github.com/cs3org/reva/pull/4457 -* Bugfix #4402: Refactor upload session +* Bugfix #4498: Fix Content-Disposition header in dav - We refactored the upload session code to make it reusable, kill a lot of code and save some stat - requests + We have added missing quotes to the Content-Disposition header in the dav service. This fixes + an issue with files containing special characters in their names. - https://github.com/cs3org/reva/pull/4402 + https://github.com/owncloud/ocis/issues/8361 + https://github.com/cs3org/reva/pull/4498 -* Enhancement #4421: Check permissions before adding, deleting or updating shares +* Bugfix #4461: CORS handling for WebDAV requests fixed - The user share provider now checks if the user has sufficient permissions to add, delete or - update a share. + We now correctly handle CORS headers for WebDAV requests. - https://github.com/cs3org/reva/pull/4421 - https://github.com/cs3org/reva/pull/4405 + https://github.com/owncloud/ocis/issues/8231 + https://github.com/cs3org/reva/pull/4461 -* Enhancement #4403: Add validation to update public share +* Bugfix #4462: Prevent setting container specific permissions on files - We added validation to update public share provider to move the logic from the handlers to the - implementing server. + It was possible to set the 'CreateContainer', 'Move' or 'Delete' permissions on file + resources with a CreateShare request. These permissions are meant to be only set on container + resources. The UpdateShare request already has a similar check. - https://github.com/cs3org/reva/pull/4403 + https://github.com/owncloud/ocis/issues/8131 + https://github.com/cs3org/reva/pull/4462 -* Enhancement #4409: Disable the password policy +* Bugfix #4479: Fix creating documents in the approvider - We add the environment variable that allow to disable the password policy. + We fixed a problem with the approvider where an error was reported to the user even though the + file was created properly. - https://github.com/cs3org/reva/pull/4409 + https://github.com/cs3org/reva/pull/4479 -* Enhancement #4412: Allow authentication for nats connections +* Bugfix #4474: Make /dav/meta consistent - Allows configuring username/password for nats connections + We now also return absolute paths for shares in the share jail in the /dav/meta endpoint. - https://github.com/cs3org/reva/pull/4412 + https://github.com/cs3org/reva/pull/4474 -* Enhancement #4411: Add option to configure streams non durable +* Bugfix #4446: Disallow to delete a file during the processing - Adds an option to disable persistence of event streams + We want to disallow deleting a file during the processing to prevent collecting the orphan + uploads. - https://github.com/cs3org/reva/pull/4411 + https://github.com/cs3org/reva/pull/4446 -* Enhancement #4406: Rework cache configuration +* Bugfix #4517: Fix duplicated items in the sharejail root - Reworks configuration of the cache package allowing easier configuration. Also adds a new - config value allow to not persist cache entries (nats only) + We fixed a bug, that caused duplicate items to listed in the sharejail, when a user received + multiple shares for the same resource. - https://github.com/cs3org/reva/pull/4406 + https://github.com/owncloud/ocis/issues/8080 + https://github.com/cs3org/reva/pull/4517 -* Enhancement #4414: Track more upload session metrics +* Bugfix #4473: Decomposedfs now correctly lists sessions - We added a gauge for the number of uploads currently in postprocessing as well as counters for - different postprocessing outcomes. + https://github.com/cs3org/reva/pull/4473 - https://github.com/cs3org/reva/pull/4414 +* Bugfix #4528: Respect IfNotExist option when uploading in cs3 metadata storage + + https://github.com/cs3org/reva/pull/4528 + +* Bugfix #4503: Fix an error when move + + We fixed a bug that caused Internal Server Error when move using destination id + + https://github.com/owncloud/ocis/issues/6739 + https://github.com/cs3org/reva/pull/4503 + +* Bugfix #4466: Fix natsjskv store + + Small mistake in last iteration made authorization not working. + + https://github.com/cs3org/reva/pull/4466 + +* Bugfix #4533: Fix recursive trashcan purge + + We have fixed a bug in the trashcan purge process that did not delete folder structures + recursively. + + https://github.com/owncloud/ocis/issues/8473 + https://github.com/cs3org/reva/pull/4533 + +* Bugfix #4492: Fix the resource name + + We fixed a problem where after renaming resource as sharer the receiver see a new name for dav and + wedav endpoints. + + https://github.com/owncloud/ocis/issues/8242 + https://github.com/cs3org/reva/pull/4492 + +* Bugfix #4463: Fix the resource name + + We fixed a problem where after renaming resource as sharer the receiver see a new name. + + https://github.com/owncloud/ocis/issues/8242 + https://github.com/cs3org/reva/pull/4463 + +* Bugfix #4448: Fix truncating existing files + + We fixed a problem where existing files kept their content when being overwritten by a 0-byte + file. + + https://github.com/cs3org/reva/pull/4448 + +* Bugfix #4434: Fix the upload postprocessing + + We fixed the upload postprocessing when the destination file does not exist anymore. + + https://github.com/cs3org/reva/pull/4434 + +* Bugfix #4469: Handle interrupted uploads + + We fixed a bug where interrupted uploads were not discarded properly. + + https://github.com/cs3org/reva/pull/4469 + +* Bugfix #4532: Jsoncs3 cache fixes + + The jsoncs3 share manager now retries persisting if the file already existed and picks up the + etag of the upload response in all cases. + + https://github.com/cs3org/reva/pull/4532 + +* Bugfix #4449: Keep failed processing status + + We now keep tho postprocessing status when a blob could not be copied to the blobstore. + + https://github.com/cs3org/reva/pull/4449 + +* Bugfix #4529: We aligned some OCS return codes with oc10 + + https://github.com/owncloud/ocis/issues/1233 + https://github.com/cs3org/reva/pull/4529 + +* Bugfix #4507: Make tusd CORS headers configurable + + We bumped tusd to 1.13.0 and made CORS headers configurable via mapstructure. + + https://github.com/cs3org/reva/pull/4507 + +* Bugfix #4452: More efficient share jail + + The share jail was stating every shared recource twice when listing the share jail root. For no + good reason. And it was not sending filters when it could. + + https://github.com/cs3org/reva/pull/4452 + +* Bugfix #4476: No need to unmark postprocessing when it was not started + + https://github.com/cs3org/reva/pull/4476 + +* Bugfix #4454: Skip unnecessary share retrieval + + https://github.com/cs3org/reva/pull/4454 + +* Bugfix #4527: Unify datagateway method handling + + The datagateway now unpacks and forwards all HTTP methods + + https://github.com/cs3org/reva/pull/4527 + +* Bugfix #4530: Drop unnecessary grant exists check + + At least the jsoncs3 share manager properly returns an ALREADY_EXISTS response when trying to + add a share to a resource that has already been shared with the grantee. + + https://github.com/cs3org/reva/pull/4530 + +* Bugfix #4475: Upload session specific processing flag + + To make every upload session have a dedicated processing status, upload sessions are now + treated as in processing when all bytes have been received instead of checking the node + metadata. + + https://github.com/cs3org/reva/pull/4475 + +* Enhancement #4501: Allow sending multiple user ids in one sse event + + Sending multiple user ids in one sse event is now possible which reduces the number of sent + events. + + https://github.com/cs3org/reva/pull/4501 + +* Enhancement #4485: Modify the concurrency default + + We have changed the default MaxConcurrency value from 100 to 5 to prevent too frequent gc runs on + low memory systems. + + https://github.com/owncloud/ocis/issues/8257 + https://github.com/cs3org/reva/pull/4485 + +* Enhancement #4526: Configurable s3 put options + + The s3ng blobstore can now be configured with several options: + `s3.disable_content_sha254`, `s3.disable_multipart`, `s3.send_content_md5`, + `s3.concurrent_stream_parts`, `s3.num_threads` and `s3.part_size`. If unset we default + to `s3.send_content_md5: true`, which was hardcoded before. We also default to + `s3.concurrent_stream_parts: true` and `s3.num_threads: 4` to allow concurrent uploads + even when `s3.send_content_md5` is set to `true`. When tweaking the uploads try setting + `s3.send_content_md5: false` and `s3.concurrent_stream_parts: false` first, as this will + try to concurrently stream an uploaded file to the s3 store without cutting it into parts first. + + https://github.com/cs3org/reva/pull/4526 + +* Enhancement #4453: Disable the password policy + + We reworked and moved disabling the password policy logic to the ocis. + + https://github.com/owncloud/ocis/issues/7916 + https://github.com/cs3org/reva/pull/4453 + +* Enhancement #4477: Extend ResumePostprocessing event + + Instead of just sending an uploadID, one can set a postprocessing step now to restart all + uploads in this step Also adds a new postprocessing step - "finished" - which means that + postprocessing is finished but the storage provider hasn't acknowledged it yet. + + https://github.com/cs3org/reva/pull/4477 + +* Enhancement #4491: Add filename incrementor for secret filedrops + + We have added a function that appends a number to the filename if the file already exists in a + secret filedrop. This is useful if you want to upload a file with the same name multiple times. + + https://github.com/owncloud/ocis/issues/8291 + https://github.com/cs3org/reva/pull/4491 + +* Enhancement #4490: Lazy initialize public share manager + + Unlike the share manager the public share manager was initializing its data structure on + startup. This can lead to failed ocis starts (in single binary case) or to restarting `sharing` + pods when running in containerized environment. + + https://github.com/cs3org/reva/pull/4490 + +* Enhancement #4494: Start implementation of a plain posix storage driver + + We started to lay the groundwork for a new posixfs storage driver based on decomposedfs. We also + refactored decomposedfs to be a bit more modular and cleaned up the initialization. + + https://github.com/cs3org/reva/pull/4494 + +* Enhancement #4502: Add spaceindex.AddAll() + + We now expose an AddAll() function that allows adding multiple entries to a space index with a + single lock. + + https://github.com/cs3org/reva/pull/4502 diff --git a/docs/content/en/docs/changelog/2.19.0/_index.md b/docs/content/en/docs/changelog/2.19.0/_index.md new file mode 100644 index 0000000000..74a561234e --- /dev/null +++ b/docs/content/en/docs/changelog/2.19.0/_index.md @@ -0,0 +1,359 @@ + +--- +title: "v2.19.0" +linkTitle: "v2.19.0" +weight: 40 +description: > + Changelog for Reva v2.19.0 (2024-02-22) +--- + +Changelog for reva 2.19.0 (2024-02-22) +======================================= + +The following sections list the changes in reva 2.19.0 relevant to +reva users. The changes are ordered by importance. + +Summary +------- + +* Fix #4464: Do not lose revisions when restoring the first revision +* Fix #4516: The sharemanager can now reject grants with resharing permissions +* Fix #4512: Bump dependencies +* Fix #4481: Distinguish failure and node metadata reversal +* Fix #4456: Do not lose revisions when restoring the first revision +* Fix #4472: Fix concurrent access to a map +* Fix #4457: Fix concurrent map access in sharecache +* Fix #4498: Fix Content-Disposition header in dav +* Fix #4461: CORS handling for WebDAV requests fixed +* Fix #4462: Prevent setting container specific permissions on files +* Fix #4479: Fix creating documents in the approvider +* Fix #4474: Make /dav/meta consistent +* Fix #4446: Disallow to delete a file during the processing +* Fix #4517: Fix duplicated items in the sharejail root +* Fix #4473: Decomposedfs now correctly lists sessions +* Fix #4528: Respect IfNotExist option when uploading in cs3 metadata storage +* Fix #4503: Fix an error when move +* Fix #4466: Fix natsjskv store +* Fix #4533: Fix recursive trashcan purge +* Fix #4492: Fix the resource name +* Fix #4463: Fix the resource name +* Fix #4448: Fix truncating existing files +* Fix #4434: Fix the upload postprocessing +* Fix #4469: Handle interrupted uploads +* Fix #4532: Jsoncs3 cache fixes +* Fix #4449: Keep failed processing status +* Fix #4529: We aligned some OCS return codes with oc10 +* Fix #4507: Make tusd CORS headers configurable +* Fix #4452: More efficient share jail +* Fix #4476: No need to unmark postprocessing when it was not started +* Fix #4454: Skip unnecessary share retrieval +* Fix #4527: Unify datagateway method handling +* Fix #4530: Drop unnecessary grant exists check +* Fix #4475: Upload session specific processing flag +* Enh #4501: Allow sending multiple user ids in one sse event +* Enh #4485: Modify the concurrency default +* Enh #4526: Configurable s3 put options +* Enh #4453: Disable the password policy +* Enh #4477: Extend ResumePostprocessing event +* Enh #4491: Add filename incrementor for secret filedrops +* Enh #4490: Lazy initialize public share manager +* Enh #4494: Start implementation of a plain posix storage driver +* Enh #4502: Add spaceindex.AddAll() + +Details +------- + +* Bugfix #4464: Do not lose revisions when restoring the first revision + + We no longer prevent modifying grants on locked resources. + + https://github.com/cs3org/reva/pull/4464 + +* Bugfix #4516: The sharemanager can now reject grants with resharing permissions + + When disabling resharing we also need to prevent grants from allowing any grant permissions. + + https://github.com/cs3org/reva/pull/4516 + +* Bugfix #4512: Bump dependencies + + We updated the dependencies to at least match the ones used in ocis. + + https://github.com/cs3org/reva/pull/4512 + +* Bugfix #4481: Distinguish failure and node metadata reversal + + When the final blob move fails we must not remove the node metadata to be able to restart the + postprocessing process. + + https://github.com/cs3org/reva/pull/4481 + +* Bugfix #4456: Do not lose revisions when restoring the first revision + + We fixed a problem where restoring the very first version of a file could delete the current + version. + + https://github.com/cs3org/reva/pull/4456 + +* Bugfix #4472: Fix concurrent access to a map + + We fixed the race condition that led to concurrent map access in a publicshare manager. + + https://github.com/owncloud/ocis/issues/8255 + https://github.com/cs3org/reva/pull/4472 + +* Bugfix #4457: Fix concurrent map access in sharecache + + We fixed a problem where the sharecache map would sometimes cause a panic when being accessed + concurrently. + + https://github.com/cs3org/reva/pull/4457 + +* Bugfix #4498: Fix Content-Disposition header in dav + + We have added missing quotes to the Content-Disposition header in the dav service. This fixes + an issue with files containing special characters in their names. + + https://github.com/owncloud/ocis/issues/8361 + https://github.com/cs3org/reva/pull/4498 + +* Bugfix #4461: CORS handling for WebDAV requests fixed + + We now correctly handle CORS headers for WebDAV requests. + + https://github.com/owncloud/ocis/issues/8231 + https://github.com/cs3org/reva/pull/4461 + +* Bugfix #4462: Prevent setting container specific permissions on files + + It was possible to set the 'CreateContainer', 'Move' or 'Delete' permissions on file + resources with a CreateShare request. These permissions are meant to be only set on container + resources. The UpdateShare request already has a similar check. + + https://github.com/owncloud/ocis/issues/8131 + https://github.com/cs3org/reva/pull/4462 + +* Bugfix #4479: Fix creating documents in the approvider + + We fixed a problem with the approvider where an error was reported to the user even though the + file was created properly. + + https://github.com/cs3org/reva/pull/4479 + +* Bugfix #4474: Make /dav/meta consistent + + We now also return absolute paths for shares in the share jail in the /dav/meta endpoint. + + https://github.com/cs3org/reva/pull/4474 + +* Bugfix #4446: Disallow to delete a file during the processing + + We want to disallow deleting a file during the processing to prevent collecting the orphan + uploads. + + https://github.com/cs3org/reva/pull/4446 + +* Bugfix #4517: Fix duplicated items in the sharejail root + + We fixed a bug, that caused duplicate items to listed in the sharejail, when a user received + multiple shares for the same resource. + + https://github.com/owncloud/ocis/issues/8080 + https://github.com/cs3org/reva/pull/4517 + +* Bugfix #4473: Decomposedfs now correctly lists sessions + + https://github.com/cs3org/reva/pull/4473 + +* Bugfix #4528: Respect IfNotExist option when uploading in cs3 metadata storage + + https://github.com/cs3org/reva/pull/4528 + +* Bugfix #4503: Fix an error when move + + We fixed a bug that caused Internal Server Error when move using destination id + + https://github.com/owncloud/ocis/issues/6739 + https://github.com/cs3org/reva/pull/4503 + +* Bugfix #4466: Fix natsjskv store + + Small mistake in last iteration made authorization not working. + + https://github.com/cs3org/reva/pull/4466 + +* Bugfix #4533: Fix recursive trashcan purge + + We have fixed a bug in the trashcan purge process that did not delete folder structures + recursively. + + https://github.com/owncloud/ocis/issues/8473 + https://github.com/cs3org/reva/pull/4533 + +* Bugfix #4492: Fix the resource name + + We fixed a problem where after renaming resource as sharer the receiver see a new name for dav and + wedav endpoints. + + https://github.com/owncloud/ocis/issues/8242 + https://github.com/cs3org/reva/pull/4492 + +* Bugfix #4463: Fix the resource name + + We fixed a problem where after renaming resource as sharer the receiver see a new name. + + https://github.com/owncloud/ocis/issues/8242 + https://github.com/cs3org/reva/pull/4463 + +* Bugfix #4448: Fix truncating existing files + + We fixed a problem where existing files kept their content when being overwritten by a 0-byte + file. + + https://github.com/cs3org/reva/pull/4448 + +* Bugfix #4434: Fix the upload postprocessing + + We fixed the upload postprocessing when the destination file does not exist anymore. + + https://github.com/cs3org/reva/pull/4434 + +* Bugfix #4469: Handle interrupted uploads + + We fixed a bug where interrupted uploads were not discarded properly. + + https://github.com/cs3org/reva/pull/4469 + +* Bugfix #4532: Jsoncs3 cache fixes + + The jsoncs3 share manager now retries persisting if the file already existed and picks up the + etag of the upload response in all cases. + + https://github.com/cs3org/reva/pull/4532 + +* Bugfix #4449: Keep failed processing status + + We now keep tho postprocessing status when a blob could not be copied to the blobstore. + + https://github.com/cs3org/reva/pull/4449 + +* Bugfix #4529: We aligned some OCS return codes with oc10 + + https://github.com/owncloud/ocis/issues/1233 + https://github.com/cs3org/reva/pull/4529 + +* Bugfix #4507: Make tusd CORS headers configurable + + We bumped tusd to 1.13.0 and made CORS headers configurable via mapstructure. + + https://github.com/cs3org/reva/pull/4507 + +* Bugfix #4452: More efficient share jail + + The share jail was stating every shared recource twice when listing the share jail root. For no + good reason. And it was not sending filters when it could. + + https://github.com/cs3org/reva/pull/4452 + +* Bugfix #4476: No need to unmark postprocessing when it was not started + + https://github.com/cs3org/reva/pull/4476 + +* Bugfix #4454: Skip unnecessary share retrieval + + https://github.com/cs3org/reva/pull/4454 + +* Bugfix #4527: Unify datagateway method handling + + The datagateway now unpacks and forwards all HTTP methods + + https://github.com/cs3org/reva/pull/4527 + +* Bugfix #4530: Drop unnecessary grant exists check + + At least the jsoncs3 share manager properly returns an ALREADY_EXISTS response when trying to + add a share to a resource that has already been shared with the grantee. + + https://github.com/cs3org/reva/pull/4530 + +* Bugfix #4475: Upload session specific processing flag + + To make every upload session have a dedicated processing status, upload sessions are now + treated as in processing when all bytes have been received instead of checking the node + metadata. + + https://github.com/cs3org/reva/pull/4475 + +* Enhancement #4501: Allow sending multiple user ids in one sse event + + Sending multiple user ids in one sse event is now possible which reduces the number of sent + events. + + https://github.com/cs3org/reva/pull/4501 + +* Enhancement #4485: Modify the concurrency default + + We have changed the default MaxConcurrency value from 100 to 5 to prevent too frequent gc runs on + low memory systems. + + https://github.com/owncloud/ocis/issues/8257 + https://github.com/cs3org/reva/pull/4485 + +* Enhancement #4526: Configurable s3 put options + + The s3ng blobstore can now be configured with several options: + `s3.disable_content_sha254`, `s3.disable_multipart`, `s3.send_content_md5`, + `s3.concurrent_stream_parts`, `s3.num_threads` and `s3.part_size`. If unset we default + to `s3.send_content_md5: true`, which was hardcoded before. We also default to + `s3.concurrent_stream_parts: true` and `s3.num_threads: 4` to allow concurrent uploads + even when `s3.send_content_md5` is set to `true`. When tweaking the uploads try setting + `s3.send_content_md5: false` and `s3.concurrent_stream_parts: false` first, as this will + try to concurrently stream an uploaded file to the s3 store without cutting it into parts first. + + https://github.com/cs3org/reva/pull/4526 + +* Enhancement #4453: Disable the password policy + + We reworked and moved disabling the password policy logic to the ocis. + + https://github.com/owncloud/ocis/issues/7916 + https://github.com/cs3org/reva/pull/4453 + +* Enhancement #4477: Extend ResumePostprocessing event + + Instead of just sending an uploadID, one can set a postprocessing step now to restart all + uploads in this step Also adds a new postprocessing step - "finished" - which means that + postprocessing is finished but the storage provider hasn't acknowledged it yet. + + https://github.com/cs3org/reva/pull/4477 + +* Enhancement #4491: Add filename incrementor for secret filedrops + + We have added a function that appends a number to the filename if the file already exists in a + secret filedrop. This is useful if you want to upload a file with the same name multiple times. + + https://github.com/owncloud/ocis/issues/8291 + https://github.com/cs3org/reva/pull/4491 + +* Enhancement #4490: Lazy initialize public share manager + + Unlike the share manager the public share manager was initializing its data structure on + startup. This can lead to failed ocis starts (in single binary case) or to restarting `sharing` + pods when running in containerized environment. + + https://github.com/cs3org/reva/pull/4490 + +* Enhancement #4494: Start implementation of a plain posix storage driver + + We started to lay the groundwork for a new posixfs storage driver based on decomposedfs. We also + refactored decomposedfs to be a bit more modular and cleaned up the initialization. + + https://github.com/cs3org/reva/pull/4494 + +* Enhancement #4502: Add spaceindex.AddAll() + + We now expose an AddAll() function that allows adding multiple entries to a space index with a + single lock. + + https://github.com/cs3org/reva/pull/4502 +