diff --git a/CHANGELOG.md b/CHANGELOG.md index 26f88164..d5dc848b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). ## [Unreleased] - XXXX-XX-XX + + +## [2.6.1] - 2021-06-17 + +### Changed + +- Add shareExpire-param to indicate if a share was removed due to its expiry - [#944](https://github.com/owncloud/activity/issues/944) +- Automations in activity stream - [#942](https://github.com/owncloud/activity/issues/942) + +### Fixed + +- Expired public share has wrong activity message - [#965](https://github.com/owncloud/activity/issues/965) + + ## [2.6.0] - 2020-10-16 ### Added @@ -117,7 +131,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - Show displayName instead of group id - [#582](https://github.com/owncloud/activity/issues/582) - Catch mail exceptions and still remove sent emails from queue - [#574](https://github.com/owncloud/activity/issues/574) -[Unreleased]: https://github.com/owncloud/activity/compare/v2.6.0...master + +[Unreleased]: https://github.com/owncloud/activity/compare/v2.6.1...master +[2.6.1]: https://github.com/owncloud/activity/compare/v2.6.0...v2.6.1 [2.6.0]: https://github.com/owncloud/activity/compare/v2.5.4...v2.6.0 [2.5.4]: https://github.com/owncloud/activity/compare/v2.5.3...v2.5.4 [2.5.3]: https://github.com/owncloud/activity/compare/v2.5.2...v2.5.3 diff --git a/appinfo/info.xml b/appinfo/info.xml index 765e815b..a1b79842 100755 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -15,7 +15,7 @@ Never again miss an important event related to content in ownCloud and always be AGPL Thomas Müller, Frank Karlitschek, Joas Schilling, Tom Needham, Vincent Petry - 2.6.0 + 2.6.1 @@ -30,7 +30,7 @@ Never again miss an important event related to content in ownCloud and always be https://raw.githubusercontent.com/owncloud/screenshots/68550c2b7c53e6309132ca1c7b177adca976db0b/activity/activity.png tools - + OCA\Activity\BackgroundJob\EmailNotification diff --git a/lib/FilesHooks.php b/lib/FilesHooks.php index 848c9bb6..2dc95fcd 100755 --- a/lib/FilesHooks.php +++ b/lib/FilesHooks.php @@ -436,7 +436,7 @@ protected function shareFileOrFolderByLink($fileSource, $itemType, $linkOwner, $ if ($isSharing) { $actionSharer = 'shared_link_self'; $actionOwner = 'reshared_link_by'; - } elseif ($this->currentUser !== $linkOwner) { + } elseif ($shareExpired === true) { // Link expired $actionSharer = 'link_expired'; $actionOwner = 'link_by_expired'; diff --git a/sonar-project.properties b/sonar-project.properties index 936139ca..aeb7208f 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,7 +1,7 @@ # Organization and project keys are displayed in the right sidebar of the project homepage sonar.organization=owncloud-1 sonar.projectKey=owncloud_activity -sonar.projectVersion=1.0 +sonar.projectVersion=2.6.1 sonar.host.url=https://sonarcloud.io # =====================================================