Compare commits

...
Author SHA1 Message Date
Roman Perekhod 3cb9a3e0ef release-7.1.0-rc.4 2025-02-04 15:43:39 +01:00
kobergj bf6221a7ab Automated changelog update [skip ci] 2025-02-04 09:15:48 +00:00
kobergj 571e3a0314 Merge pull request #10957 from kobergj/BumpReva
[full-ci] Bump Reva
2025-02-04 09:57:45 +01:00
Sawjan Gurung ba3cf9f3d0 Merge pull request #10959 from owncloud/avoid-flakiness-due-to-post-processing
[tests-only][full-ci] Re-order tests step to avoid post processing flakiness
2025-02-04 14:30:01 +05:45
amrita-shrestha 319f6e1911 re-order step to avoid post processing flakiness 2025-02-04 13:42:30 +05:45
Prashant Gurung 4f8f4dd060 Merge pull request #10955 from owncloud/test/fix-email-assertion
[tests-only][full-ci] cleanup inbucket emails of all created users after test
2025-02-04 10:34:10 +05:45
Roman Perekhod 0a03410039 Automated changelog update [skip ci] 2025-02-04 00:56:28 +00:00
jkoberg 5355ae5ce7 feat(reva): bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2025-02-03 15:18:27 +01:00
Roman Perekhod 71f5a1b16a Automated changelog update [skip ci] 2025-02-03 11:19:15 +00:00
Roman Perekhod c800315d6a Merge pull request #10944 from kobergj/ViewOCMShares
[full-ci] Bump Reva
2025-02-03 12:18:41 +01:00
prashant-gurung899 9bf869abf4 test: refactor inbucket email cleanup function
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-02-03 17:00:19 +05:45
Roman Perekhod f651e67e44 Automated changelog update [skip ci] 2025-02-03 10:21:30 +00:00
Roman Perekhod e9bea992e9 Merge pull request #10949 from 2403905/issue-10947
Fixed Collaboration file extension check to case-insensitive comparison
2025-02-03 11:18:47 +01:00
jkoberg b7bc406221 feat(reva): bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2025-02-03 11:09:50 +01:00
ownClouders 527cddbc64 Automated changelog update [skip ci] 2025-01-31 01:26:39 +00:00
ownClouders 838b5e9f16 [tx] updated from transifex 2025-01-31 00:57:03 +00:00
Roman Perekhod db91d35238 Fixed Collaboration file extension check to case-insensitive comparison 2025-01-30 18:31:43 +01:00
Willy Kloucek d1bf85e140 Automated changelog update [skip ci] 2025-01-30 08:34:16 +00:00
Willy Kloucek eddb4eb8e9 Merge pull request #10943 from wkloucek/update-govips
update govips to 2.16.0
2025-01-30 00:33:36 -08:00
Willy Kloucek 200a1ba460 update govips to 2.16.0 2025-01-30 08:24:58 +01:00
ownClouders 1aeaebd924 Automated changelog update [skip ci] 2025-01-30 01:55:30 +00:00
ownClouders 478860d2ac [tx] updated from transifex 2025-01-30 00:56:18 +00:00
kobergj 0a25063cd6 Automated changelog update [skip ci] 2025-01-29 00:54:32 +00:00
kobergj 1c73f8c78d Automated changelog update [skip ci] 2025-01-28 14:27:14 +00:00
kobergj 0666a020e5 Merge pull request #10938 from kobergj/release-7.1.0-rc.3
[full-ci][k6-test] Release 7.1.0-rc.3
2025-01-28 15:26:21 +01:00
Bastian Beier 88582ec8fb Automated changelog update [skip ci] 2025-01-28 13:10:02 +00:00
Bastian Beier c33afb7a85 Merge pull request #10940 from bastianbeier/feat/docker-arm64-debug
feat: Implement debug docker for arm64 platform
2025-01-28 14:09:26 +01:00
Bastian Beier dd2d6ad5c2 feat: Implement debug docker for arm64 platform 2025-01-28 13:23:23 +01:00
jkoberg 88cbcce100 prepare release 7.1.0-rc.3
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2025-01-28 12:15:49 +01:00
Bastian Beier 453debefe3 Automated changelog update [skip ci] 2025-01-28 00:55:06 +00:00
Bastian Beier b7892923bb Automated changelog update [skip ci] 2025-01-27 16:12:44 +00:00
Bastian Beier c0366670a2 Merge pull request #10932 from bastianbeier/fix/issue-10906
Add fallback for folder names
2025-01-27 17:12:11 +01:00
Lukas Hirt 3fdbb6e443 Automated changelog update [skip ci] 2025-01-27 15:50:44 +00:00
Lukas Hirt 515c2938df Merge pull request #10930 from owncloud/chore/bump-web-to-1.11.2
[full-ci] chore: bump web to 1.11.2
2025-01-27 16:49:35 +01:00
Bastian Beier f6b569767e Merge pull request #10931 from bastianbeier/chore/bump-reva-2.27.3
chore: Bump reva version to 2.27.3
2025-01-27 16:43:11 +01:00
Bastian Beier b8e8d15439 fix(activitylog): Add fallback for folder names 2025-01-27 16:12:27 +01:00
Bastian Beier d91970357d chore: Bump reva version to 2.27.3 2025-01-27 14:10:32 +01:00
Lukas Hirt fee60fa356 chore: bump web to 1.11.2 2025-01-27 11:31:55 +01:00
nirajacharya2 51369fde10 Merge pull request #10895 from owncloud/test-notification-space-disabled
[tests-only][full-ci] adding test for disabling in-app notifications for space disabled event
2025-01-27 14:04:30 +05:45
Sawjan Gurung 7e50f1bf23 Automated changelog update [skip ci] 2025-01-27 04:24:24 +00:00
Sawjan Gurung 3a53b9cfec Merge pull request #10926 from owncloud/update-relese-template
[docs] update release template
2025-01-27 10:08:51 +05:45
Niraj Acharya 2bbc4d6177 adding test for disabling mail notifications for space disabled event 2025-01-27 09:24:14 +05:45
Niraj Acharya f4dcca159e update release template 2025-01-27 09:20:31 +05:45
ownClouders 98f5df181d Automated changelog update [skip ci] 2025-01-27 00:56:11 +00:00
ownClouders 2e9a930c57 [tx] updated from transifex 2025-01-26 00:57:39 +00:00
Prashant Gurung 2d18f6bab4 Automated changelog update [skip ci] 2025-01-25 00:54:59 +00:00
Prashant Gurung a8137a4bef Merge pull request #10925 from owncloud/test/share-removed-email
[tests-only][full-ci] refactor scenario to disable mail notification for `Share removed` event
2025-01-24 17:17:44 +05:45
kobergj 3d92096d14 Automated changelog update [skip ci] 2025-01-24 09:59:21 +00:00
kobergj 99458292d4 Merge pull request #10866 from owncloud/dependabot/npm_and_yarn/services/idp/nanoid-3.3.8
build(deps): bump nanoid from 3.3.7 to 3.3.8 in /services/idp
2025-01-24 10:57:23 +01:00
prashant-gurung899 2b3925fea8 refactor scenario to disable mail notification for Share removed event
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-01-24 14:16:17 +05:45
Prashant Gurung d7156bce94 Merge pull request #10910 from owncloud/test/antivirus-notifications
[tests-only][full-ci] add test to disable in-app notification for `File rejected` event
2025-01-24 09:56:07 +05:45
ownClouders 4eb397b5e4 Automated changelog update [skip ci] 2025-01-24 00:56:06 +00:00
ownClouders 51237058fb [tx] updated from transifex 2025-01-23 16:31:43 +00:00
Bastian Beier 98a03f05e6 Automated changelog update [skip ci] 2025-01-23 15:57:32 +00:00
Bastian Beier bf10a05c33 Merge pull request #10915 from bastianbeier/feat/issue-10904
feat: Add email notification for share removed
2025-01-23 16:55:54 +01:00
Roman Perekhod e65eade963 Merge pull request #10916 from 2403905/issue-10846
[full-ci] Fix the ocm gateway connection pool
2025-01-23 16:55:13 +01:00
Martin 49f2c4ff36 Automated changelog update [skip ci] 2025-01-23 14:39:10 +00:00
Martin 05bbf75d0c Merge pull request #10922 from owncloud/mmattel-patch-1
[docs-only] Update ocis_full collabora image version
2025-01-23 15:38:38 +01:00
Martin 0fc5c174bc Update ocis_full collabora image version
Update the collabora image.

Backport to 7.0
2025-01-23 15:27:18 +01:00
prashant-gurung899 7f458f7047 add test to disable in-app notification for File rejected event
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-01-23 17:06:23 +05:45
Lukas Hirt d0ddc61af8 Automated changelog update [skip ci] 2025-01-23 08:54:40 +00:00
Lukas Hirt 508db66e0a Merge pull request #10918 from owncloud/chore/bump-web-to-1.11.1 2025-01-23 09:53:40 +01:00
Amrita 671c229d98 Automated changelog update [skip ci] 2025-01-23 04:19:31 +00:00
Lukas Hirt 5bd93206a1 chore: bump web to 11.1.1 2025-01-22 17:39:54 +01:00
Roman Perekhod ea0e098c46 [full-ci] Fix the ocm gateway connection pool 2025-01-22 16:53:21 +01:00
Bastian Beier e3876dba13 feat: Add email notification for share removed 2025-01-22 14:23:49 +01:00
Amrita f041b6a4a2 Automated changelog update [skip ci] 2025-01-22 10:58:26 +00:00
Amrita b6482b4090 Merge pull request #10877 from owncloud/add-tests-for-fillter-permission-project-space
[tests-only][full-ci] Add tests for filtering permission on project space resource
2025-01-22 16:42:49 +05:45
Sawjan Gurung 7c206f3b45 Automated changelog update [skip ci] 2025-01-22 10:13:38 +00:00
Sawjan Gurung b783444017 Merge pull request #10721 from owncloud/list-all-drives
[tests-only][full-ci] Tests for availability of resources shared with Denied role while listing all drives
2025-01-22 15:58:06 +05:45
amrita 645be12b32 address review 2025-01-22 13:55:11 +05:45
amrita ba2706cdf1 add tests to filter permission of item on project space 2025-01-22 13:55:11 +05:45
Phil Davis 665072d86d Automated changelog update [skip ci] 2025-01-22 07:24:25 +00:00
Phil Davis b1305ffdc0 Merge pull request #10911 from owncloud/update-changelog-rc2
[docs-only] update PR number in `fix-mail-notifications-for-user-light.md` changelog
2025-01-22 13:08:53 +05:45
prashant-gurung899 6753b88d4a update PR number in rc-2 changelog
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-01-22 12:39:21 +05:45
Sawjan Gurung e492662e77 Automated changelog update [skip ci] 2025-01-22 06:01:44 +00:00
Sawjan Gurung 40f84a7ffa Merge pull request #10901 from owncloud/debug/check-email-tests
[full-ci][tests-only] check mails with wait if the mailbox is empty
2025-01-22 11:46:03 +05:45
Prashant Gurung ecf1a1b230 Merge pull request #10893 from owncloud/test/share-received-notifications
[full-ci][tests-only] add test to disable in-app notification for `Share Removed` event
2025-01-22 11:44:12 +05:45
Saw-jan 0bfa82806f test: wait and retry once if the mailbox is empty
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-01-22 09:53:56 +05:45
ownClouders 326efe3be0 Automated changelog update [skip ci] 2025-01-22 00:30:59 +00:00
ownClouders cde942cbd5 [tx] updated from transifex 2025-01-22 00:27:08 +00:00
prashant-gurung899 1cc23a9f47 add test to disable in-app notification for Share Removed event
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-01-21 17:14:51 +05:45
pradip 484e576ce4 test: check drives list after sharing with denied permission role 2025-01-21 16:36:08 +05:45
Sawjan Gurung fd9de3ec8e Merge pull request #10900 from owncloud/fix-nightly-notification
[tests-only][full-ci] fixing body for disabling email notification
2025-01-21 15:55:18 +05:45
Sawjan Gurung e739797cde Merge pull request #10899 from owncloud/test/space-link-perm-role
[tests-only][full-ci] use displayname of permissions role in space link share creation step
2025-01-21 15:21:04 +05:45
Niraj Acharya 118d29dc7a fixing body for disabling email notification 2025-01-21 14:39:32 +05:45
prashant-gurung899 64e3381fab use displayname of permissions role in space link share creation step
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-01-21 14:11:19 +05:45
Sawjan Gurung 3fc5ae96b0 Merge pull request #10894 from owncloud/remove-duplication-of-os-env
[tests-only][full-ci]Remove os enviroment duplication from ocis wrapper
2025-01-21 13:04:12 +05:45
Prashant Gurung c8b542e6d0 Automated changelog update [skip ci] 2025-01-21 04:53:33 +00:00
Prashant Gurung 7185fe2d39 Merge pull request #10850 from owncloud/test/use-displayname-perm-role
[tests-only][full-ci] use displayname of permissions role in resource link share creation step
2025-01-21 10:38:03 +05:45
prashant-gurung899 e02171d8be use displayname of permissions role in steps
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-01-21 09:56:38 +05:45
nirajacharya2 fdde88b46f Automated changelog update [skip ci] 2025-01-21 00:27:38 +00:00
amrita c8bb438534 remove os enviroment duplication 2025-01-20 14:55:21 +05:45
nirajacharya2 5cc79d962f Automated changelog update [skip ci] 2025-01-20 08:17:45 +00:00
nirajacharya2 87747e66b3 Merge pull request #10828 from owncloud/test-notification-share-created
[tests-only][full-ci] adding test for disabling mail and in-app notifications for share create event
2025-01-20 14:01:47 +05:45
ownClouders 8dd1789821 Automated changelog update [skip ci] 2025-01-20 03:55:21 +00:00
ownClouders ba924e757d [tx] updated from transifex 2025-01-20 00:28:22 +00:00
Roman Perekhod d5e6d284b5 Automated changelog update [skip ci] 2025-01-19 00:26:58 +00:00
Roman Perekhod f6f9644485 Automated changelog update [skip ci] 2025-01-18 00:27:04 +00:00
Roman Perekhod 3e7c500027 Automated changelog update [skip ci] 2025-01-17 17:56:22 +00:00
Roman Perekhod 77becb5cf2 Merge pull request #10890 from 2403905/release-7.1.0-rc.2
[full-ci][k6-test]  Release-7.1.0-rc.2
2025-01-17 18:55:44 +01:00
Roman Perekhod 9c24f9fe00 release-7.1.0-rc.2 2025-01-17 17:19:29 +01:00
Bastian Beier 57d70979c6 Automated changelog update [skip ci] 2025-01-17 14:31:04 +00:00
Bastian Beier 0632d3ee63 Merge pull request #10885 from bastianbeier/issue-10793-tests
Issue 10793 tests
2025-01-17 15:30:27 +01:00
Bastian Beier bc443e7894 test: Add tests for grouped emails 2025-01-17 14:42:15 +01:00
Roman Perekhod 39ba505b67 Automated changelog update [skip ci] 2025-01-17 12:51:54 +00:00
Roman Perekhod 483e564602 Merge pull request #10887 from 2403905/bump-reva-v2.27.2
[full-ci] bump reva
2025-01-17 13:51:23 +01:00
Roman Perekhod 5a0d460e53 [full-ci] bump reva 2025-01-17 12:21:53 +01:00
Bastian Beier 5f448e1b8a Automated changelog update [skip ci] 2025-01-16 22:01:45 +00:00
Bastian Beier 090ab9f577 Merge pull request #10884 from bastianbeier/fix/email-templates
fix: Email templates to not contain white spaces / new lines
2025-01-16 23:01:13 +01:00
kobergj 38e244f5ea Automated changelog update [skip ci] 2025-01-16 18:13:53 +00:00
kobergj 3e553383ef Merge pull request #10886 from kobergj/SwitchForks
Switch Unmaintained Forks
2025-01-16 19:13:16 +01:00
jkoberg 7c861f3742 feat(ocis): remove unmaintained forks
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2025-01-16 18:36:12 +01:00
Bastian Beier 7d58877888 Automated changelog update [skip ci] 2025-01-16 14:42:16 +00:00
Bastian Beier c9c42e990e Merge pull request #10883 from bastianbeier/fix/missing-new-lines-grouped-email
fix: Missing new lines in grouped email
2025-01-16 15:41:16 +01:00
Bastian Beier 0c84fe8b36 fix: Email templates to not contain white spaces / new lines if .CallToAction is nil 2025-01-16 14:22:08 +01:00
Bastian Beier a34b0b20f4 fix: Missing new lines in grouped email 2025-01-16 13:12:51 +01:00
Niraj Acharya 2af539847a adding test for disabling mail and in app notifications for share create event 2025-01-16 15:36:02 +05:45
Phil Davis 95913469ad Automated changelog update [skip ci] 2025-01-16 04:18:21 +00:00
Phil Davis 63a75035b3 Merge pull request #10876 from owncloud/update-changelog
[docs-only] update PR number in `fix-graph-invite-createddatetime.md` changelog
2025-01-16 10:02:24 +05:45
prashant-gurung899 44b485d9cc update PR number in changelog
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-01-16 09:53:59 +05:45
Sawjan Gurung fcb98f4df4 Automated changelog update [skip ci] 2025-01-16 00:27:25 +00:00
Sawjan Gurung b4586aa650 Merge pull request #10874 from owncloud/chore/mark-7-production-release
chore: mark 7 production release
2025-01-15 15:04:58 +05:45
Sawjan Gurung 44c2a4154a Merge pull request #10841 from owncloud/test/shift-settings-scenarios
[tests-only][full-ci] shift existing settings api test scenarios to `apiSettings` test suite
2025-01-15 14:07:54 +05:45
prashant-gurung899 5744b6fdad shift existing settings api test scenarios
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2025-01-15 13:02:46 +05:45
Amrita 46dd3979d0 Merge pull request #10817 from owncloud/add-tests-for-lists-permission-with-query
[tests-only][full-ci]Add tests for lists permission with query for personal space
2025-01-15 12:43:28 +05:45
Bastian Beier 7ba20d543c Automated changelog update [skip ci] 2025-01-14 12:10:49 +00:00
Bastian Beier 872d858e73 Merge pull request #10873 from bastianbeier/issue-10793-missing-underscore
fix: Grouped email notifications store key
2025-01-14 13:05:22 +01:00
Saw-jan 84d7632c43 chore: update release template 2025-01-14 16:37:51 +05:45
Saw-jan 690bbcf2e3 chore: mark ocis 7 as production release 2025-01-14 16:32:58 +05:45
Bastian Beier 556f78c73a fix: Grouped email notifications store key 2025-01-14 11:17:15 +01:00
amrita 8800a08210 add tests for filter permission 2025-01-14 15:43:25 +05:45
Prajwol Amatya 2279b8fb8c Merge pull request #10760 from owncloud/update-share-role
[tests-only][full-ci] added test to update share role to existing role after the assigned share role is disabled
2025-01-14 15:16:39 +05:45
Roman Perekhod f035740b4a Automated changelog update [skip ci] 2025-01-14 08:50:21 +00:00
Roman Perekhod ce1cf9c6d2 Merge pull request #10871 from owncloud/rename_bunlde_for_consistency
Rename role for consistency (leftover from change in v3)
2025-01-14 09:48:22 +01:00
Prajwol Amatya 7bf3f725be added test to update role to existing roles after assigned role is disabled 2025-01-14 12:09:58 +05:45
ownClouders b4cf38fa1b [tx] updated from transifex 2025-01-14 00:32:51 +00:00
Martin Mattel 4aab3a250d Rename role for consistency (leftover from change in v3) 2025-01-13 16:22:37 +01:00
Bastian Beier 9e1fe81069 Automated changelog update [skip ci] 2025-01-13 14:06:43 +00:00
Bastian Beier c58a26e4ed Merge pull request #10869 from bastianbeier/issue-10793-prevent-empty-body
fix: Empty email body for grouped email
2025-01-13 15:06:12 +01:00
Bastian Beier 9822e84863 Automated changelog update [skip ci] 2025-01-13 13:42:52 +00:00
Bastian Beier 42140764d3 Merge pull request #10868 from bastianbeier/issue-10867
fix: Filtering of PostprocessingStepFinished events
2025-01-13 14:42:18 +01:00
Bastian Beier ef2744a203 fix: Empty email body for grouped email 2025-01-13 14:29:39 +01:00
Bastian Beier 5a5f25aaa1 fix: Filtering of PostprocessingStepFinished events 2025-01-13 14:04:56 +01:00
Roman Perekhod 7940557ff6 Automated changelog update [skip ci] 2025-01-13 12:49:20 +00:00
Roman Perekhod 1d008a8e86 Merge pull request #10865 from 2403905/issue-10864
Fix the mail notifications for the user light
2025-01-13 13:48:48 +01:00
dependabot[bot] e0638d24f8 build(deps): bump nanoid from 3.3.7 to 3.3.8 in /services/idp
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-13 11:09:39 +00:00
Roman Perekhod 6054b7919f Fix the mail notifications for the user light 2025-01-13 12:08:43 +01:00
Amrita f419e538b6 Merge pull request #10863 from owncloud/update-wrapper-go-version
[tests-only][full-ci]Update go version for wrapper
2025-01-13 16:53:17 +05:45
amrita efe329e858 update go version 2025-01-13 16:12:54 +05:45
Sawjan Gurung 2d30d12eec Merge pull request #10820 from owncloud/test-notification-disable-setting
[tests-only][full-ci] adding test for disabling mail notifications
2025-01-13 14:04:04 +05:45
Niraj Acharya e1d80664f1 adding test for disabling mail and in-app notifications 2025-01-13 09:02:39 +05:45
ownClouders 6ac2eb2cb9 [tx] updated from transifex 2025-01-11 00:28:37 +00:00
Roman Perekhod 5854df4961 Automated changelog update [skip ci] 2025-01-10 20:27:19 +00:00
Roman Perekhod ceb58b7e19 Merge pull request #10855 from owncloud/release-7.1.0-rc.1
[full-ci][k6-tests] chore: prepare release, bump version
2025-01-10 21:26:46 +01:00
208 changed files with 6640 additions and 2963 deletions

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
# The test runner source for UI tests
WEB_COMMITID=8222156ec19d5a201ba3eb9293c1cd4516329400
WEB_COMMITID=add80176512a06c3c9a6c96aa955f00f019c85c3
WEB_BRANCH=stable-11.0
+20 -1
View File
@@ -5,7 +5,7 @@
# NOTE: need to be updated if new production releases are determined
# - follow semver
# - omit 'v' prefix
PRODUCTION_RELEASE_TAGS = ["5.0", "7.0"]
PRODUCTION_RELEASE_TAGS = ["5.0", "7"]
# images
ALPINE_GIT = "alpine/git:latest"
@@ -88,9 +88,28 @@ config = {
"apiDepthInfinity",
"apiLocks",
"apiActivities",
],
"skip": False,
},
"settings": {
"suites": [
"apiSettings",
],
"skip": False,
"withRemotePhp": [True],
"emailNeeded": True,
"extraEnvironment": {
"EMAIL_HOST": "email",
"EMAIL_PORT": "9000",
},
"extraServerEnvironment": {
"OCIS_ADD_RUN_SERVICES": "notifications",
"NOTIFICATIONS_SMTP_HOST": "email",
"NOTIFICATIONS_SMTP_PORT": "2500",
"NOTIFICATIONS_SMTP_INSECURE": "true",
"NOTIFICATIONS_SMTP_SENDER": "ownCloud <noreply@example.com>",
"NOTIFICATIONS_DEBUG_ADDR": "0.0.0.0:9174",
},
},
"graph": {
"suites": [
+3 -2
View File
@@ -8,6 +8,7 @@
* [ ] DEV/QA: Check new strings and align with clients
* [ ] DEV/DOCS: Create list of pending docs tasks
* [ ] DEV: Create branch `release-x.x.x-rc.x` -> CODEFREEZE
* [ ] DEV: specify if it is a production release in [.drone.star](https://github.com/owncloud/ocis/blob/b4cf38fa1ba180c58519026dfe762b7c45695466/.drone.star#L8) (if needed)
* [ ] DEV: bump ocis version in necessary files
* [ ] DEV: `changelog/CHANGELOG.tmpl`
* [ ] DEV: `ocis-pkg/version/version.go`
@@ -47,8 +48,8 @@
* [ ] QA: against linux (use auto tests)
* [ ] QA: android (define version) https://github.com/owncloud/android/releases
* [ ] QA: ios (define version)
* [ ] QA: [Smoke test](https://github.com/owncloud/QA/blob/master/Server/Test_Plan_OCIS_Smoke_Web_Office_Test.md) on Web Office (Collabora, Onlyoffice, Microsoft office)
* [ ] QA: Smoke test Hello extension
* [ ] QA: [Web Office Smoke test](https://github.com/owncloud/QA/blob/master/Server/Test_Plan_OCIS_Smoke_Web_Office_Test.md) on Web Office (Collabora, Onlyoffice, Microsoft office)
* [ ] QA: [Smoke test](https://github.com/owncloud/QA/blob/master/Server/Test_Plan_OCIS_Smoke_Test.md) on pre-production server
* [ ] QA: [Smoke test](https://github.com/owncloud/QA/blob/master/Server/Test_Plan_OCIS_Smoke_Ldap_Test.md) ldap
* [ ] QA: Collecting errors found
+12
View File
@@ -119,3 +119,15 @@ debug-linux-docker-amd64: release-dirs
-ldflags '-extldflags "-static" $(DEBUG_LDFLAGS) $(DOCKER_LDFLAGS)' \
-o '$(DIST)/binaries/$(EXECUTABLE)-linux-amd64' \
./cmd/$(NAME)
debug-linux-docker-arm64: release-dirs
GOOS=linux \
GOARCH=arm64 \
go build \
-gcflags="all=-N -l" \
-tags 'netgo $(TAGS)' \
-buildmode=exe \
-trimpath \
-ldflags '-extldflags "-static" $(DEBUG_LDFLAGS) $(DOCKER_LDFLAGS)' \
-o '$(DIST)/binaries/$(EXECUTABLE)-linux-arm64' \
./cmd/$(NAME)
+203 -12
View File
@@ -1,6 +1,9 @@
# Table of Contents
* [Changelog for unreleased](#changelog-for-unreleased-unreleased)
* [Changelog for 7.1.0-rc.3](#changelog-for-710-rc3-2025-01-28)
* [Changelog for 7.1.0-rc.2](#changelog-for-710-rc2-2025-01-17)
* [Changelog for 7.1.0-rc.1](#changelog-for-710-rc1-2025-01-10)
* [Changelog for 7.0.0](#changelog-for-700-2024-12-17)
* [Changelog for 5.0.9](#changelog-for-509-2024-11-14)
* [Changelog for 6.6.1](#changelog-for-661-2024-10-24)
@@ -57,29 +60,218 @@
The following sections list the changes for unreleased.
[unreleased]: https://github.com/owncloud/ocis/compare/v7.0.0...master
[unreleased]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.3...master
## Summary
* Bugfix - Share creation date is missing in invite response: [#10780](https://github.com/owncloud/ocis/pull/10780)
* Bugfix - Update govips to 2.16.0: [#10378](https://github.com/owncloud/ocis/issues/10378)
* Bugfix - Allow view ocm shares: [#10944](https://github.com/owncloud/ocis/pull/10944)
* Bugfix - Fix Collaboration file extension check: [#10947](https://github.com/owncloud/ocis/issues/10947)
* Enhancement - Implement debug docker for arm64 platform: [#10940](https://github.com/owncloud/ocis/pull/10940)
* Enhancement - Bump Reva: [#10956](https://github.com/owncloud/ocis/pull/10956)
## Details
* Bugfix - Update govips to 2.16.0: [#10378](https://github.com/owncloud/ocis/issues/10378)
The update to govips 2.16.0 removes temporary access to /tmp that was introduced
by govips.
https://github.com/owncloud/ocis/issues/10378
https://github.com/owncloud/ocis/pull/10943
* Bugfix - Allow view ocm shares: [#10944](https://github.com/owncloud/ocis/pull/10944)
OCM shares with `view` permissions did not work. When opening them in weboffice
an error would occur. This has been fixed.
https://github.com/owncloud/ocis/pull/10944
* Bugfix - Fix Collaboration file extension check: [#10947](https://github.com/owncloud/ocis/issues/10947)
Fixed Collaboration file extension check to case-insensitive comparison.
https://github.com/owncloud/ocis/issues/10947
https://github.com/owncloud/ocis/pull/10945
* Enhancement - Implement debug docker for arm64 platform: [#10940](https://github.com/owncloud/ocis/pull/10940)
https://github.com/owncloud/ocis/pull/10940
* Enhancement - Bump Reva: [#10956](https://github.com/owncloud/ocis/pull/10956)
Bumps reva version
https://github.com/owncloud/ocis/pull/10956
https://github.com/owncloud/ocis/pull/10944
# Changelog for [7.1.0-rc.3] (2025-01-28)
The following sections list the changes for 7.1.0-rc.3.
[7.1.0-rc.3]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.2...v7.1.0-rc.3
## Summary
* Bugfix - Fix the ocm gateway connection pool: [#10916](https://github.com/owncloud/ocis/pull/10916)
* Bugfix - Add fallback for folder names: [#10932](https://github.com/owncloud/ocis/pull/10932)
* Enhancement - Add email notification for share removed event: [#10915](https://github.com/owncloud/ocis/pull/10915)
* Enhancement - Update Web to v1.11.1: [#10918](https://github.com/owncloud/ocis/pull/10918)
* Enhancement - Update Web to v1.11.2: [#10930](https://github.com/owncloud/ocis/pull/10930)
## Details
* Bugfix - Fix the ocm gateway connection pool: [#10916](https://github.com/owncloud/ocis/pull/10916)
Fix the ocm gateway connection pool. Fix ocis dependency in the reva go.mod
file. Bump the ocis version accordingly to the major version.
https://github.com/owncloud/ocis/issues/10846
https://github.com/owncloud/ocis/issues/10878
https://github.com/owncloud/ocis/pull/10916
* Bugfix - Add fallback for folder names: [#10932](https://github.com/owncloud/ocis/pull/10932)
Add translated `shared-with-me` fallback for folder names in the activitylog to
avoid `{folder}` in the output.
https://github.com/owncloud/ocis/issues/10906
https://github.com/owncloud/ocis/pull/10932
* Enhancement - Add email notification for share removed event: [#10915](https://github.com/owncloud/ocis/pull/10915)
https://github.com/owncloud/ocis/issues/10904
https://github.com/owncloud/ocis/pull/10915
* Enhancement - Update Web to v1.11.1: [#10918](https://github.com/owncloud/ocis/pull/10918)
- Bugfix [owncloud/web#12112](https://github.com/owncloud/web/pull/12112):
Optionally access preview app route query: #12112 - Bugfix
[owncloud/web#12118](https://github.com/owncloud/web/pull/12118): Change
federated share icon: #12118 - Bugfix
[owncloud/web#12118](https://github.com/owncloud/web/pull/12118): Improve
federated share icon contrast: #12118 - Bugfix
[owncloud/web#12119](https://github.com/owncloud/web/pull/12119): Show external
share indicator: #12119
https://github.com/owncloud/ocis/pull/10918
https://github.com/owncloud/web/releases/tag/v11.1.1
* Enhancement - Update Web to v1.11.2: [#10930](https://github.com/owncloud/ocis/pull/10930)
- Bugfix [owncloud/ocis#10891](https://github.com/owncloud/ocis/issues/10891):
Rename ScienceMesh: #10891
https://github.com/owncloud/ocis/pull/10930
https://github.com/owncloud/web/releases/tag/v11.1.2
# Changelog for [7.1.0-rc.2] (2025-01-17)
The following sections list the changes for 7.1.0-rc.2.
[7.1.0-rc.2]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.1...v7.1.0-rc.2
## Summary
* Bugfix - Fix the mail notifications for the user light: [#10865](https://github.com/owncloud/ocis/pull/10865)
* Bugfix - Fix filtering of PostprocessingStepFinished events: [#10868](https://github.com/owncloud/ocis/pull/10868)
* Bugfix - Prevent empty email body for grouped email notifications: [#10869](https://github.com/owncloud/ocis/pull/10869)
* Bugfix - Consistently name roles: [#10871](https://github.com/owncloud/ocis/pull/10871)
* Bugfix - Fix grouped email notifications store key: [#10873](https://github.com/owncloud/ocis/pull/10873)
* Bugfix - Fix missing newline in grouped email: [#10883](https://github.com/owncloud/ocis/pull/10883)
* Bugfix - Fix email templates white spaces & new lines: [#10884](https://github.com/owncloud/ocis/pull/10884)
* Enhancement - Add tests for grouped emails: [#10885](https://github.com/owncloud/ocis/pull/10885)
* Enhancement - Use maintained forks: [#10886](https://github.com/owncloud/ocis/pull/10886)
* Enhancement - Bump Reva: [#10887](https://github.com/owncloud/ocis/pull/10887)
## Details
* Bugfix - Fix the mail notifications for the user light: [#10865](https://github.com/owncloud/ocis/pull/10865)
Fix the default bundle-list for mail notification settings for the user light.
https://github.com/owncloud/ocis/issues/10864
https://github.com/owncloud/ocis/pull/10865
* Bugfix - Fix filtering of PostprocessingStepFinished events: [#10868](https://github.com/owncloud/ocis/pull/10868)
https://github.com/owncloud/ocis/issues/10867
https://github.com/owncloud/ocis/pull/10868
* Bugfix - Prevent empty email body for grouped email notifications: [#10869](https://github.com/owncloud/ocis/pull/10869)
https://github.com/owncloud/ocis/pull/10869
* Bugfix - Consistently name roles: [#10871](https://github.com/owncloud/ocis/pull/10871)
BundleUUIDRoleGuest has been renamed to BundleUUIDRoleUserLight for consistency
reasons
https://github.com/owncloud/ocis/pull/10871
* Bugfix - Fix grouped email notifications store key: [#10873](https://github.com/owncloud/ocis/pull/10873)
Interval and user id is now separated by `_` (key schema:
`${INTERVAL}_${USER_ID}`).
https://github.com/owncloud/ocis/pull/10873
* Bugfix - Fix missing newline in grouped email: [#10883](https://github.com/owncloud/ocis/pull/10883)
`\n` is now replaced by `<br>` in the HTML email body
https://github.com/owncloud/ocis/pull/10883
* Bugfix - Fix email templates white spaces & new lines: [#10884](https://github.com/owncloud/ocis/pull/10884)
Email templates now contain no unwanted white spaces & new lines if
.CallToAction is nil
https://github.com/owncloud/ocis/pull/10884
* Enhancement - Add tests for grouped emails: [#10885](https://github.com/owncloud/ocis/pull/10885)
https://github.com/owncloud/ocis/pull/10885
* Enhancement - Use maintained forks: [#10886](https://github.com/owncloud/ocis/pull/10886)
Switches away from unmainatained forks.
https://github.com/owncloud/ocis/pull/10886
* Enhancement - Bump Reva: [#10887](https://github.com/owncloud/ocis/pull/10887)
Bumps the reva version
https://github.com/owncloud/ocis/pull/10887
# Changelog for [7.1.0-rc.1] (2025-01-10)
The following sections list the changes for 7.1.0-rc.1.
[7.1.0-rc.1]: https://github.com/owncloud/ocis/compare/v7.0.0...v7.1.0-rc.1
## Summary
* Bugfix - Share creation date is missing in invite response: [#10781](https://github.com/owncloud/ocis/pull/10781)
* Bugfix - Bump some golang dependencies: [#10795](https://github.com/owncloud/ocis/pull/10795)
* Bugfix - Allow to accepted invite after it was once deleted: [#10834](https://github.com/owncloud/ocis/pull/10834)
* Enhancement - Part I: The user settings are extended by notifications preferences: [#10706](https://github.com/owncloud/ocis/pull/10706)
* Enhancement - Part II: Filtering of in-app notifications: [#10779](https://github.com/owncloud/ocis/pull/10779)
* Enhancement - Part III: Filtering of mail notifications: [#10792](https://github.com/owncloud/ocis/pull/10792)
* Enhancement - Translate Notification Settings: [#10812](https://github.com/owncloud/ocis/pull/10812)
* Enhancement - Bump Reva: [#10830](https://github.com/owncloud/ocis/pull/10830)
* Enhancement - Part IV: Grouping of mail notifications: [#10838](https://github.com/owncloud/ocis/pull/10838)
* Enhancement - Bump Reva: [#10842](https://github.com/owncloud/ocis/pull/10842)
* Enhancement - Update web to v11.1.0: [#10853](https://github.com/owncloud/ocis/pull/10853)
## Details
* Bugfix - Share creation date is missing in invite response: [#10780](https://github.com/owncloud/ocis/pull/10780)
* Bugfix - Share creation date is missing in invite response: [#10781](https://github.com/owncloud/ocis/pull/10781)
The graph drives invite response now includes the `createdDateTime` field.
https://github.com/owncloud/ocis/issues/10739
https://github.com/owncloud/ocis/pull/10780
https://github.com/owncloud/ocis/pull/10781
* Bugfix - Bump some golang dependencies: [#10795](https://github.com/owncloud/ocis/pull/10795)
@@ -124,13 +316,6 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/10812
* Enhancement - Bump Reva: [#10830](https://github.com/owncloud/ocis/pull/10830)
Bumps the reva version
https://github.com/owncloud/ocis/pull/10830
https://github.com/owncloud/ocis/pull/10842
* Enhancement - Part IV: Grouping of mail notifications: [#10838](https://github.com/owncloud/ocis/pull/10838)
Part IV: Mail notifications can now be grouped on a daily or weekly basis
@@ -138,6 +323,12 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/issues/10793
https://github.com/owncloud/ocis/pull/10838
* Enhancement - Bump Reva: [#10842](https://github.com/owncloud/ocis/pull/10842)
Bumps the reva version
https://github.com/owncloud/ocis/pull/10842
* Enhancement - Update web to v11.1.0: [#10853](https://github.com/owncloud/ocis/pull/10853)
- Bugfix [owncloud/web#12040](https://github.com/owncloud/web/pull/12040):
@@ -2,5 +2,5 @@ Bugfix: Share creation date is missing in invite response
The graph drives invite response now includes the `createdDateTime` field.
https://github.com/owncloud/ocis/pull/10780
https://github.com/owncloud/ocis/pull/10781
https://github.com/owncloud/ocis/issues/10739
@@ -0,0 +1,5 @@
Enhancement: Bump Reva
Bumps the reva version
https://github.com/owncloud/ocis/pull/10887
@@ -0,0 +1,5 @@
Bugfix: Consistently name roles
BundleUUIDRoleGuest has been renamed to BundleUUIDRoleUserLight for consistency reasons
https://github.com/owncloud/ocis/pull/10871
@@ -0,0 +1,3 @@
Enhancement: Add tests for grouped emails
https://github.com/owncloud/ocis/pull/10885
@@ -0,0 +1,5 @@
Bugfix: Fix email templates white spaces & new lines
Email templates now contain no unwanted white spaces & new lines if .CallToAction is nil
https://github.com/owncloud/ocis/pull/10884
@@ -0,0 +1,5 @@
Bugfix: Fix missing newline in grouped email
`\n` is now replaced by `<br>` in the HTML email body
https://github.com/owncloud/ocis/pull/10883
@@ -0,0 +1,3 @@
Bugfix: Prevent empty email body for grouped email notifications
https://github.com/owncloud/ocis/pull/10869
@@ -0,0 +1,5 @@
Bugfix: Fix grouped email notifications store key
Interval and user id is now separated by `_` (key schema: `${INTERVAL}_${USER_ID}`).
https://github.com/owncloud/ocis/pull/10873
@@ -0,0 +1,4 @@
Bugfix: Fix filtering of PostprocessingStepFinished events
https://github.com/owncloud/ocis/pull/10868
https://github.com/owncloud/ocis/issues/10867
@@ -0,0 +1,6 @@
Bugfix: Fix the mail notifications for the user light
Fix the default bundle-list for mail notification settings for the user light.
https://github.com/owncloud/ocis/pull/10865
https://github.com/owncloud/ocis/issues/10864
@@ -0,0 +1,5 @@
Enhancement: Use maintained forks
Switches away from unmainatained forks.
https://github.com/owncloud/ocis/pull/10886
@@ -0,0 +1,4 @@
Enhancement: Add email notification for share removed event
https://github.com/owncloud/ocis/pull/10915
https://github.com/owncloud/ocis/issues/10904
@@ -0,0 +1,9 @@
Enhancement: Update Web to v1.11.1
- Bugfix [owncloud/web#12112](https://github.com/owncloud/web/pull/12112): Optionally access preview app route query: #12112
- Bugfix [owncloud/web#12118](https://github.com/owncloud/web/pull/12118): Change federated share icon: #12118
- Bugfix [owncloud/web#12118](https://github.com/owncloud/web/pull/12118): Improve federated share icon contrast: #12118
- Bugfix [owncloud/web#12119](https://github.com/owncloud/web/pull/12119): Show external share indicator: #12119
https://github.com/owncloud/ocis/pull/10918
https://github.com/owncloud/web/releases/tag/v11.1.1
@@ -0,0 +1,6 @@
Enhancement: Update Web to v1.11.2
- Bugfix [owncloud/ocis#10891](https://github.com/owncloud/ocis/issues/10891): Rename ScienceMesh: #10891
https://github.com/owncloud/ocis/pull/10930
https://github.com/owncloud/web/releases/tag/v11.1.2
@@ -0,0 +1,6 @@
Bugfix: Add fallback for folder names
Add translated `shared-with-me` fallback for folder names in the activitylog to avoid `{folder}` in the output.
https://github.com/owncloud/ocis/pull/10932
https://github.com/owncloud/ocis/issues/10906
@@ -0,0 +1,8 @@
Bugfix: Fix the ocm gateway connection pool
Fix the ocm gateway connection pool.
Fix ocis dependency in the reva go.mod file. Bump the ocis version accordingly to the major version.
https://github.com/owncloud/ocis/pull/10916
https://github.com/owncloud/ocis/issues/10846
https://github.com/owncloud/ocis/issues/10878
@@ -0,0 +1,8 @@
Enhancement: Bump Reva
Changelog for reva 2.27.4
* Bugfix [cs3org/reva#5061](https://github.com/cs3org/reva/pull/5061): OCM Wildcards
* Bugfix [cs3org/reva#5055](https://github.com/cs3org/reva/pull/5055): Fix view&download permission issue
https://github.com/owncloud/ocis/pull/10957
@@ -0,0 +1,3 @@
Enhancement: Implement debug docker for arm64 platform
https://github.com/owncloud/ocis/pull/10940
@@ -0,0 +1,6 @@
Bugfix: Fix Collaboration file extension check
Fixed Collaboration file extension check to case-insensitive comparison.
https://github.com/owncloud/ocis/issues/10947
https://github.com/owncloud/ocis/pull/10945
@@ -0,0 +1,6 @@
Bugfix: Update govips to 2.16.0
The update to govips 2.16.0 removes temporary access to /tmp that was introduced by govips.
https://github.com/owncloud/ocis/issues/10378
https://github.com/owncloud/ocis/pull/10943
@@ -0,0 +1,5 @@
Bugfix: Allow view ocm shares
OCM shares with `view` permissions did not work. When opening them in weboffice an error would occur. This has been fixed.
https://github.com/owncloud/ocis/pull/10944
+1 -1
View File
@@ -53,7 +53,7 @@ services:
restart: always
collabora:
image: collabora/code:24.04.11.1.1
image: collabora/code:24.04.11.3.1
# release notes: https://www.collaboraonline.com/release-notes/
networks:
ocis-net:
+4 -4
View File
@@ -17,8 +17,8 @@ require (
github.com/cenkalti/backoff v2.2.1+incompatible
github.com/coreos/go-oidc/v3 v3.11.0
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1
github.com/cs3org/reva/v2 v2.27.1-0.20250109115603-fe9caac22593
github.com/davidbyttow/govips/v2 v2.15.0
github.com/cs3org/reva/v2 v2.27.4
github.com/davidbyttow/govips/v2 v2.16.0
github.com/dhowden/tag v0.0.0-20240417053706-3d75831295e8
github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e
github.com/egirna/icap-client v0.1.1
@@ -342,13 +342,13 @@ require (
replace github.com/studio-b12/gowebdav => github.com/kobergj/gowebdav v0.0.0-20250102091030-aa65266db202
replace github.com/egirna/icap-client => github.com/fschade/icap-client v0.0.0-20240802074440-aade4a234387
replace github.com/egirna/icap-client => github.com/kobergj/icap-client v0.0.0-20250116172800-8eaa5022532b
replace github.com/unrolled/secure => github.com/DeepDiver1975/secure v0.0.0-20240611112133-abc838fb797c
replace github.com/go-micro/plugins/v4/store/nats-js-kv => github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240807130109-f62bb67e8c90
replace go-micro.dev/v4 => github.com/butonic/go-micro/v4 v4.11.1-0.20241115112658-b5d4de5ed9b3
replace go-micro.dev/v4 => github.com/kobergj/go-micro/v4 v4.0.0-20250117084952-d07d30666b7c
// exclude the v2 line of go-sqlite3 which was released accidentally and prevents pulling in newer versions of go-sqlite3
// see https://github.com/mattn/go-sqlite3/issues/965 for more details
+27 -10
View File
@@ -192,8 +192,6 @@ github.com/bombsimon/logrusr/v3 v3.1.0/go.mod h1:PksPPgSFEL2I52pla2glgCyyd2OqOHA
github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8=
github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA=
github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8=
github.com/butonic/go-micro/v4 v4.11.1-0.20241115112658-b5d4de5ed9b3 h1:h8Z0hBv5tg/uZMKu8V47+DKWYVQg0lYP8lXDQq7uRpE=
github.com/butonic/go-micro/v4 v4.11.1-0.20241115112658-b5d4de5ed9b3/go.mod h1:eE/tD53n3KbVrzrWxKLxdkGw45Fg1qaNLWjpJMvIUF4=
github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2 h1:3uZCA/BLTIu+DqCfguByNMJa2HVHpXvjfy0Dy7g6fuA=
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2/go.mod h1:RnUjnIXxEJcL6BgCvNyzCCRzZcxCgsZCi+RNlvYor5Q=
@@ -253,8 +251,8 @@ github.com/crewjam/saml v0.4.14 h1:g9FBNx62osKusnFzs3QTN5L9CVA/Egfgm+stJShzw/c=
github.com/crewjam/saml v0.4.14/go.mod h1:UVSZCf18jJkk6GpWNVqcyQJMD5HsRugBPf4I1nl2mME=
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1 h1:RU6LT6mkD16xZs011+8foU7T3LrPvTTSWeTQ9OgfhkA=
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1/go.mod h1:DedpcqXl193qF/08Y04IO0PpxyyMu8+GrkD6kWK2MEQ=
github.com/cs3org/reva/v2 v2.27.1-0.20250109115603-fe9caac22593 h1:bzRnLxh2Vj/Buy2AYv0KRmpxgkIYSpfs9ELbR7fhasY=
github.com/cs3org/reva/v2 v2.27.1-0.20250109115603-fe9caac22593/go.mod h1:OrCNgIFkp3ROHiEjNCj8eZHACmYCD4owtFRuYFlYZkU=
github.com/cs3org/reva/v2 v2.27.4 h1:pHcNsMVwBKAs6j4Q/faWRyelIGzrVtc7yCwxnO+Bd9Y=
github.com/cs3org/reva/v2 v2.27.4/go.mod h1:8yvuebW1eCKzRfzNXy+RSYYEESmMp5mCuM6MQ47zJow=
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg=
github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
@@ -262,8 +260,8 @@ github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davidbyttow/govips/v2 v2.15.0 h1:h3lF+rQElBzGXbQSSPqmE3XGySPhcQo2x3t5l/dZ+pU=
github.com/davidbyttow/govips/v2 v2.15.0/go.mod h1:3OQCHj0nf5Mnrplh5VlNvmx3IhJXyxbAoTJZPflUjmM=
github.com/davidbyttow/govips/v2 v2.16.0 h1:1nH/Rbx8qZP1hd+oYL9fYQjAnm1+KorX9s07ZGseQmo=
github.com/davidbyttow/govips/v2 v2.16.0/go.mod h1:clH5/IDVmG5eVyc23qYpyi7kmOT0B/1QNTKtci4RkyM=
github.com/deckarep/golang-set v1.8.0 h1:sk9/l/KqpunDwP7pSjUg0keiOOLEnOBHzykLrsPppp4=
github.com/deckarep/golang-set v1.8.0/go.mod h1:5nI87KwE7wgsBU1F4GKAw2Qod7p5kyS383rP6+o6qqo=
github.com/deepmap/oapi-codegen v1.3.11/go.mod h1:suMvK7+rKlx3+tpa8ByptmvoXbAV70wERKTOGH3hLp0=
@@ -326,8 +324,6 @@ github.com/foxcpp/go-mockdns v1.1.0 h1:jI0rD8M0wuYAxL7r/ynTrCQQq0BVqfB99Vgk7Dlme
github.com/foxcpp/go-mockdns v1.1.0/go.mod h1:IhLeSFGed3mJIAXPH2aiRQB+kqz7oqu8ld2qVbOu7Wk=
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
github.com/fschade/icap-client v0.0.0-20240802074440-aade4a234387 h1:Y3wZgTr29sLxWSMz4KF91o0x87EaJF6FIPNJFepRIiw=
github.com/fschade/icap-client v0.0.0-20240802074440-aade4a234387/go.mod h1:HpntrRsQA6RKNXy2Nbr4kVj+NO3OYWpAQUVxeya+3sU=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
@@ -702,8 +698,12 @@ github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90
github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM=
github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
github.com/kobergj/go-micro/v4 v4.0.0-20250117084952-d07d30666b7c h1:21N6rhk5dzUxYhJYiBsyqoRrIowpetooAS5mDwHayeE=
github.com/kobergj/go-micro/v4 v4.0.0-20250117084952-d07d30666b7c/go.mod h1:eE/tD53n3KbVrzrWxKLxdkGw45Fg1qaNLWjpJMvIUF4=
github.com/kobergj/gowebdav v0.0.0-20250102091030-aa65266db202 h1:A1xJ2NKgiYFiaHiLl9B5yw/gUBACSs9crDykTS3GuQI=
github.com/kobergj/gowebdav v0.0.0-20250102091030-aa65266db202/go.mod h1:bHA7t77X/QFExdeAnDzK6vKM34kEZAcE1OX4MfiwjkE=
github.com/kobergj/icap-client v0.0.0-20250116172800-8eaa5022532b h1:NBKEgFtIukCreWOEvtrgNQusqosGyhlxzyiHbba1zEI=
github.com/kobergj/icap-client v0.0.0-20250116172800-8eaa5022532b/go.mod h1:HpntrRsQA6RKNXy2Nbr4kVj+NO3OYWpAQUVxeya+3sU=
github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240807130109-f62bb67e8c90 h1:pfI8Z5yavO6fU6vDGlWhZ4BgDlvj8c6xB7J57HfTPwA=
github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240807130109-f62bb67e8c90/go.mod h1:pjcozWijkNPbEtX5SIQaxEW/h8VAVZYTLx+70bmB3LY=
github.com/kolo/xmlrpc v0.0.0-20200310150728-e0350524596b/go.mod h1:o03bZfuBwAXHetKXuInt4S7omeXUu62/A845kiycsSQ=
@@ -1226,9 +1226,11 @@ golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0
golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58=
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
golang.org/x/crypto v0.32.0 h1:euUpcYgM8WcP71gNpTqQCn6rC2t6ULUPiOzfWaXVVfc=
golang.org/x/crypto v0.32.0/go.mod h1:ZnnJkOaASj8g0AjIduWNlq2NRxL0PlBrbKVyZ6V/Ugc=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
@@ -1245,7 +1247,7 @@ golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c h1:7dEasQXItcW1xKJ2+gg5VOiBn
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:NQtJDoLvd6faHhE7m4T/1IY708gDefGGjR/iUW8yQQ8=
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/image v0.10.0/go.mod h1:jtrku+n79PfroUbvDdeUWMAI+heR786BofxrbiSF+J0=
golang.org/x/image v0.18.0/go.mod h1:4yyo5vMFQjVjUcVk4jEQcU9MGy/rulF5WvUILseCM2E=
golang.org/x/image v0.22.0 h1:UtK5yLUzilVrkjMAZAZ34DXGpASN8i8pj8g+O+yd10g=
golang.org/x/image v0.22.0/go.mod h1:9hPFhljd4zZ1GNSIZJ49sqbp45GKK9t6w+iXvGqZUz4=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
@@ -1269,6 +1271,9 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -1323,10 +1328,12 @@ golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk=
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I=
golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
@@ -1352,6 +1359,9 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=
golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20180622082034-63fc586f45fe/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -1434,9 +1444,11 @@ golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU=
golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
@@ -1444,9 +1456,11 @@ golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU=
golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U=
golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58=
golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY=
golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg=
golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -1462,9 +1476,10 @@ golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI=
golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
@@ -1527,6 +1542,8 @@ golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4f
golang.org/x/tools v0.0.0-20210112230658-8b4aab62c064/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58=
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk=
golang.org/x/tools v0.26.0 h1:v/60pFQmzmT9ExmjDv2gGIfi3OqfKoEP6I5+umXlbnQ=
golang.org/x/tools v0.26.0/go.mod h1:TPVVj70c7JJ3WCazhD8OdXcZg/og+b9+tH/KxylGwH0=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
+1 -1
View File
@@ -16,7 +16,7 @@ var (
// LatestTag is the latest released version plus the dev meta version.
// Will be overwritten by the release pipeline
// Needs a manual change for every tagged release
LatestTag = "7.1.0-rc.1+dev"
LatestTag = "7.1.0-rc.4+dev"
// Date indicates the build date.
// This has been removed, it looks like you can only replace static strings with recent go versions
+41
View File
@@ -0,0 +1,41 @@
FROM arm64v8/alpine:latest
ARG VERSION=""
ARG REVISION=""
RUN apk add --no-cache attr bash ca-certificates curl delve inotify-tools libc6-compat mailcap tree vips patch && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.opencontainers.image.title="ownCloud Infinite Scale" \
org.opencontainers.image.vendor="ownCloud GmbH" \
org.opencontainers.image.authors="ownCloud GmbH" \
org.opencontainers.image.description="oCIS - ownCloud Infinite Scale is a modern file-sync and share platform" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.documentation="https://github.com/owncloud/ocis" \
org.opencontainers.image.url="https://hub.docker.com/r/owncloud/ocis" \
org.opencontainers.image.source="https://github.com/owncloud/ocis" \
org.opencontainers.image.version="${VERSION}" \
org.opencontainers.image.revision="${REVISION}"
RUN addgroup -g 1000 -S ocis-group && \
adduser -S --ingroup ocis-group --uid 1000 ocis-user --home /var/lib/ocis
RUN mkdir -p /var/lib/ocis && \
chown -R ocis-user:ocis-group /var/lib/ocis && \
chmod -R 751 /var/lib/ocis && \
mkdir -p /etc/ocis && \
chown -R ocis-user:ocis-group /etc/ocis && \
chmod -R 751 /etc/ocis
VOLUME [ "/var/lib/ocis", "/etc/ocis" ]
WORKDIR /var/lib/ocis
USER 1000
EXPOSE 9200/tcp
ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]
COPY dist/binaries/ocis-linux-arm64 /usr/bin/ocis
+17 -11
View File
@@ -137,19 +137,23 @@ func (s *ActivitylogService) HandleGetItemActivities(w http.ResponseWriter, r *h
message = MessageResourceUpdated
}
ts = utils.TSToTime(ev.Timestamp)
vars, err = s.GetVars(ctx, WithResource(ev.FileRef, false, ""), WithUser(nil, ev.ExecutingUser, ev.ImpersonatingUser))
vars, err = s.GetVars(ctx, WithResource(ev.FileRef, false, "", &t, loc),
WithUser(nil, ev.ExecutingUser, ev.ImpersonatingUser))
case events.FileTouched:
message = MessageResourceCreated
ts = utils.TSToTime(ev.Timestamp)
vars, err = s.GetVars(ctx, WithResource(ev.Ref, false, ""), WithUser(ev.Executant, nil, ev.ImpersonatingUser))
vars, err = s.GetVars(ctx, WithResource(ev.Ref, false, "", &t, loc),
WithUser(ev.Executant, nil, ev.ImpersonatingUser))
case events.FileDownloaded:
message = MessageResourceDownloaded
ts = utils.TSToTime(ev.Timestamp)
vars, err = s.GetVars(ctx, WithResource(ev.Ref, false, ""), WithUser(ev.Executant, nil, ev.ImpersonatingUser), WithVar("token", "", ev.ImpersonatingUser.GetId().GetOpaqueId()))
vars, err = s.GetVars(ctx, WithResource(ev.Ref, false, "", &t, loc),
WithUser(ev.Executant, nil, ev.ImpersonatingUser), WithVar("token", "", ev.ImpersonatingUser.GetId().GetOpaqueId()))
case events.ContainerCreated:
message = MessageResourceCreated
ts = utils.TSToTime(ev.Timestamp)
vars, err = s.GetVars(ctx, WithResource(ev.Ref, false, ""), WithUser(ev.Executant, nil, ev.ImpersonatingUser))
vars, err = s.GetVars(ctx, WithResource(ev.Ref, false, "", &t, loc),
WithUser(ev.Executant, nil, ev.ImpersonatingUser))
case events.ItemTrashed:
message = MessageResourceTrashed
ts = utils.TSToTime(ev.Timestamp)
@@ -158,17 +162,19 @@ func (s *ActivitylogService) HandleGetItemActivities(w http.ResponseWriter, r *h
switch isRename(ev.OldReference, ev.Ref) {
case true:
message = MessageResourceRenamed
vars, err = s.GetVars(ctx, WithResource(ev.Ref, false, ""), WithOldResource(ev.OldReference), WithUser(ev.Executant, nil, ev.ImpersonatingUser))
vars, err = s.GetVars(ctx, WithResource(ev.Ref, false, "", &t, loc),
WithOldResource(ev.OldReference), WithUser(ev.Executant, nil, ev.ImpersonatingUser))
case false:
message = MessageResourceMoved
vars, err = s.GetVars(ctx, WithResource(ev.Ref, false, ""), WithUser(ev.Executant, nil, ev.ImpersonatingUser))
vars, err = s.GetVars(ctx, WithResource(ev.Ref, false, "", &t, loc),
WithUser(ev.Executant, nil, ev.ImpersonatingUser))
}
ts = utils.TSToTime(ev.Timestamp)
case events.ShareCreated:
message = MessageShareCreated
ts = utils.TSToTime(ev.CTime)
vars, err = s.GetVars(ctx,
WithResource(toRef(ev.ItemID), false, ev.ResourceName),
WithResource(toRef(ev.ItemID), false, ev.ResourceName, &t, loc),
WithUser(ev.Executant, nil, nil),
WithSharee(ev.GranteeUserID, ev.GranteeGroupID))
case events.ShareUpdated:
@@ -178,21 +184,21 @@ func (s *ActivitylogService) HandleGetItemActivities(w http.ResponseWriter, r *h
message = MessageShareUpdated
ts = utils.TSToTime(ev.MTime)
vars, err = s.GetVars(ctx,
WithResource(toRef(ev.ItemID), false, ev.ResourceName),
WithResource(toRef(ev.ItemID), false, ev.ResourceName, &t, loc),
WithUser(ev.Executant, nil, nil),
WithTranslation(&t, loc, "field", ev.UpdateMask))
case events.ShareRemoved:
message = MessageShareDeleted
ts = ev.Timestamp
vars, err = s.GetVars(ctx,
WithResource(toRef(ev.ItemID), false, ev.ResourceName),
WithResource(toRef(ev.ItemID), false, ev.ResourceName, &t, loc),
WithUser(ev.Executant, nil, nil),
WithSharee(ev.GranteeUserID, ev.GranteeGroupID))
case events.LinkCreated:
message = MessageLinkCreated
ts = utils.TSToTime(ev.CTime)
vars, err = s.GetVars(ctx,
WithResource(toRef(ev.ItemID), false, ev.ResourceName),
WithResource(toRef(ev.ItemID), false, ev.ResourceName, &t, loc),
WithUser(ev.Executant, nil, nil))
case events.LinkUpdated:
if ev.Sharer != nil && ev.ItemID != nil && ev.Sharer.GetOpaqueId() == ev.ItemID.GetSpaceId() {
@@ -208,7 +214,7 @@ func (s *ActivitylogService) HandleGetItemActivities(w http.ResponseWriter, r *h
case events.LinkRemoved:
message = MessageLinkDeleted
ts = utils.TSToTime(ev.Timestamp)
vars, err = s.GetVars(ctx, WithResource(toRef(ev.ItemID), false, ""), WithUser(ev.Executant, nil, nil))
vars, err = s.GetVars(ctx, WithResource(toRef(ev.ItemID), false, "", &t, loc), WithUser(ev.Executant, nil, nil))
case events.SpaceShared:
message = MessageSpaceShared
ts = ev.Timestamp
@@ -4,16 +4,16 @@
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Martin <github@diemattels.at>, 2024
# Martin <github@diemattels.at>, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-09 08:08+0000\n"
"POT-Creation-Date: 2025-01-29 00:54+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Martin <github@diemattels.at>, 2024\n"
"Last-Translator: Martin <github@diemattels.at>, 2025\n"
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -41,6 +41,10 @@ msgstr "Passwort"
msgid "permission"
msgstr "Berechtigung"
#: pkg/service/response.go:45
msgid "shared-with-me"
msgstr "Mit mir geteilt"
#: pkg/service/response.go:39
msgid "some field"
msgstr "ein Bereich"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-29 00:04+0000\n"
"POT-Creation-Date: 2025-01-28 00:54+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Andi Chandler <andi@gowling.com>, 2024\n"
"Language-Team: English (United Kingdom) (https://app.transifex.com/owncloud-org/teams/6149/en_GB/)\n"
@@ -41,6 +41,10 @@ msgstr "password"
msgid "permission"
msgstr "permission"
#: pkg/service/response.go:45
msgid "shared-with-me"
msgstr ""
#: pkg/service/response.go:39
msgid "some field"
msgstr "some field"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-06 00:03+0000\n"
"POT-Creation-Date: 2025-01-28 00:54+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Jesús Recio <jrecio@solidgear.es>, 2024\n"
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
@@ -41,6 +41,10 @@ msgstr "contraseña"
msgid "permission"
msgstr "permiso"
#: pkg/service/response.go:45
msgid "shared-with-me"
msgstr ""
#: pkg/service/response.go:39
msgid "some field"
msgstr "algun campo"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-02 00:05+0000\n"
"POT-Creation-Date: 2025-01-28 00:54+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: hoshi1800 <hoshi1800@gmail.com>, 2024\n"
"Language-Team: Japanese (Japan) (https://app.transifex.com/owncloud-org/teams/6149/ja_JP/)\n"
@@ -41,6 +41,10 @@ msgstr "パスワード"
msgid "permission"
msgstr "許可"
#: pkg/service/response.go:45
msgid "shared-with-me"
msgstr ""
#: pkg/service/response.go:39
msgid "some field"
msgstr ""
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-04 00:05+0000\n"
"POT-Creation-Date: 2025-01-28 00:54+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Flávio Veras <flaviove@gmail.com>, 2024\n"
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/owncloud-org/teams/6149/pt_BR/)\n"
@@ -42,6 +42,10 @@ msgstr "senha"
msgid "permission"
msgstr "permissão"
#: pkg/service/response.go:45
msgid "shared-with-me"
msgstr ""
#: pkg/service/response.go:39
msgid "some field"
msgstr "algum campo"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-08 04:19+0000\n"
"POT-Creation-Date: 2025-01-28 00:54+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Viktor Scharf, 2024\n"
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
@@ -41,6 +41,10 @@ msgstr "пароль"
msgid "permission"
msgstr "разрешения"
#: pkg/service/response.go:45
msgid "shared-with-me"
msgstr ""
#: pkg/service/response.go:39
msgid "some field"
msgstr "некоторое поле"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-08 04:19+0000\n"
"POT-Creation-Date: 2025-01-28 00:54+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2024\n"
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
@@ -41,6 +41,10 @@ msgstr "fjalëkalim"
msgid "permission"
msgstr "leje"
#: pkg/service/response.go:45
msgid "shared-with-me"
msgstr ""
#: pkg/service/response.go:39
msgid "some field"
msgstr "njëfarë fushe"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-05 00:05+0000\n"
"POT-Creation-Date: 2025-01-28 00:54+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Keram, 2024\n"
"Language-Team: Uyghur (https://app.transifex.com/owncloud-org/teams/6149/ug/)\n"
@@ -41,6 +41,10 @@ msgstr "پارول"
msgid "permission"
msgstr "ئىجازەت"
#: pkg/service/response.go:45
msgid "shared-with-me"
msgstr ""
#: pkg/service/response.go:39
msgid "some field"
msgstr "بەزى ساھە"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-04 00:05+0000\n"
"POT-Creation-Date: 2025-01-28 00:54+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Roman Perekhod, 2024\n"
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
@@ -41,6 +41,10 @@ msgstr "пароль"
msgid "permission"
msgstr "дозвіл"
#: pkg/service/response.go:45
msgid "shared-with-me"
msgstr ""
#: pkg/service/response.go:39
msgid "some field"
msgstr "деяке поле"
+5 -1
View File
@@ -42,6 +42,7 @@ var (
StrExpirationDate = l10n.Template("expiration date")
StrDisplayName = l10n.Template("display name")
StrDescription = l10n.Template("description")
StrFallbackFolder = l10n.Template("shared-with-me")
)
// GetActivitiesResponse is the response on GET activities requests
@@ -65,7 +66,7 @@ type Actor struct {
type ActivityOption func(context.Context, gateway.GatewayAPIClient, map[string]interface{}) error
// WithResource sets the resource variable for an activity
func WithResource(ref *provider.Reference, addSpace bool, explicitResourceName string) ActivityOption {
func WithResource(ref *provider.Reference, addSpace bool, explicitResourceName string, t *l10n.Translator, locale string) ActivityOption {
return func(ctx context.Context, gwc gateway.GatewayAPIClient, vars map[string]interface{}) error {
info, err := utils.GetResource(ctx, ref, gwc)
if err != nil {
@@ -99,6 +100,9 @@ func WithResource(ref *provider.Reference, addSpace bool, explicitResourceName s
parent, err := utils.GetResourceByID(ctx, info.GetParentId(), gwc)
if err != nil {
vars["folder"] = Resource{
Name: t.Translate(StrFallbackFolder, locale),
}
return err
}
vars["folder"] = Resource{
@@ -178,7 +178,7 @@ func (s *Service) OpenInApp(
// string will be returned.
func (s *Service) getAppUrlFor(action, fileExt string) string {
if actionURL, ok := s.appURLs[action]; ok {
if actionExtensionURL, ok := actionURL[fileExt]; ok {
if actionExtensionURL, ok := actionURL[strings.ToLower(fileExt)]; ok {
return actionExtensionURL
}
}
@@ -142,7 +142,7 @@ var _ = Describe("Discovery", func() {
DescribeTable(
"Success",
func(appName, lang string, disableChat bool, expectedAppUrl string) {
func(appName, path, lang string, disableChat bool, expectedAppUrl string) {
ctx := context.Background()
nowTime := time.Now()
@@ -161,6 +161,9 @@ var _ = Describe("Discovery", func() {
Username: "username",
}
if path == "" {
path = "/path/to/file.docx"
}
req := &appproviderv1beta1.OpenInAppRequest{
ResourceInfo: &providerv1beta1.ResourceInfo{
Id: &providerv1beta1.ResourceId{
@@ -168,7 +171,7 @@ var _ = Describe("Discovery", func() {
OpaqueId: "storageOpaque001",
SpaceId: "SpaceA",
},
Path: "/path/to/file.docx",
Path: path,
},
ViewMode: appproviderv1beta1.ViewMode_VIEW_MODE_READ_WRITE,
AccessToken: MintToken(myself, cfg.Wopi.Secret, nowTime),
@@ -189,18 +192,21 @@ var _ = Describe("Discovery", func() {
Expect(resp.GetAppUrl().GetAppUrl()).To(Equal(expectedAppUrl))
Expect(resp.GetAppUrl().GetFormParameters()["access_token_ttl"]).To(Equal(strconv.FormatInt(nowTime.Add(5*time.Hour).Unix()*1000, 10)))
},
Entry("Microsoft chat no lang", "Microsoft", "", false, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e"),
Entry("Collabora chat no lang", "Collabora", "", false, "https://test.server.prv/hosting/wopi/word/view?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e"),
Entry("OnlyOffice chat no lang", "OnlyOffice", "", false, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e"),
Entry("Microsoft chat lang", "Microsoft", "de", false, "https://test.server.prv/hosting/wopi/word/edit?UI_LLCC=de-DE&WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e"),
Entry("Collabora chat lang", "Collabora", "de", false, "https://test.server.prv/hosting/wopi/word/view?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&lang=de-DE"),
Entry("OnlyOffice chat lang", "OnlyOffice", "de", false, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&ui=de-DE"),
Entry("Microsoft no chat no lang", "Microsoft", "", true, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1"),
Entry("Collabora no chat no lang", "Collabora", "", true, "https://test.server.prv/hosting/wopi/word/view?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1"),
Entry("OnlyOffice no chat no lang", "OnlyOffice", "", true, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1"),
Entry("Microsoft no chat lang", "Microsoft", "de", true, "https://test.server.prv/hosting/wopi/word/edit?UI_LLCC=de-DE&WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1"),
Entry("Collabora no chat lang", "Collabora", "de", true, "https://test.server.prv/hosting/wopi/word/view?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1&lang=de-DE"),
Entry("OnlyOffice no chat lang", "OnlyOffice", "de", true, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1&ui=de-DE"),
Entry("Microsoft chat no lang", "Microsoft", "", "", false, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e"),
Entry("Collabora chat no lang", "Collabora", "", "", false, "https://test.server.prv/hosting/wopi/word/view?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e"),
Entry("OnlyOffice chat no lang", "OnlyOffice", "", "", false, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e"),
Entry("Microsoft chat lang", "Microsoft", "", "de", false, "https://test.server.prv/hosting/wopi/word/edit?UI_LLCC=de-DE&WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e"),
Entry("Collabora chat lang", "Collabora", "", "de", false, "https://test.server.prv/hosting/wopi/word/view?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&lang=de-DE"),
Entry("OnlyOffice chat lang", "OnlyOffice", "", "de", false, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&ui=de-DE"),
Entry("Microsoft no chat no lang", "Microsoft", "", "", true, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1"),
Entry("Collabora no chat no lang", "Collabora", "", "", true, "https://test.server.prv/hosting/wopi/word/view?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1"),
Entry("OnlyOffice no chat no lang", "OnlyOffice", "", "", true, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1"),
Entry("Microsoft no chat lang", "Microsoft", "", "de", true, "https://test.server.prv/hosting/wopi/word/edit?UI_LLCC=de-DE&WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1"),
Entry("Collabora no chat lang", "Collabora", "", "de", true, "https://test.server.prv/hosting/wopi/word/view?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1&lang=de-DE"),
Entry("OnlyOffice no chat lang", "OnlyOffice", "", "de", true, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1&ui=de-DE"),
Entry("Microsoft no chat lang", "Microsoft", "/path/to/file.DOCX", "de", true, "https://test.server.prv/hosting/wopi/word/edit?UI_LLCC=de-DE&WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1"),
Entry("Collabora no chat lang", "Collabora", "/path/to/file.DOCX", "de", true, "https://test.server.prv/hosting/wopi/word/view?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1&lang=de-DE"),
Entry("OnlyOffice no chat lang", "OnlyOffice", "/path/to/file.DOCX", "de", true, "https://test.server.prv/hosting/wopi/word/edit?WOPISrc=https%3A%2F%2Fwopiserver.test.prv%2Fwopi%2Ffiles%2F2f6ec18696dd1008106749bd94106e5cfad5c09e15de7b77088d03843e71b43e&dchat=1&ui=de-DE"),
)
It("Success with Wopi Proxy", func() {
ctx := context.Background()
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-06 00:03+0000\n"
"POT-Creation-Date: 2025-01-26 00:54+0000\n"
"PO-Revision-Date: 2024-04-04 00:17+0000\n"
"Last-Translator: Michael Barz <mbarz@owncloud.com>, 2024\n"
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-09 08:08+0000\n"
"POT-Creation-Date: 2025-01-30 00:53+0000\n"
"PO-Revision-Date: 2024-04-04 00:17+0000\n"
"Last-Translator: Andi Chandler <andi@gowling.com>, 2024\n"
"Language-Team: English (United Kingdom) (https://app.transifex.com/owncloud-org/teams/6149/en_GB/)\n"
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-09 08:08+0000\n"
"POT-Creation-Date: 2025-01-30 00:53+0000\n"
"PO-Revision-Date: 2024-04-04 00:17+0000\n"
"Last-Translator: Juan Carlos Garrote, 2024\n"
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-08 04:19+0000\n"
"POT-Creation-Date: 2025-01-29 00:54+0000\n"
"PO-Revision-Date: 2024-04-04 00:17+0000\n"
"Last-Translator: Allan Antoni, 2024\n"
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/owncloud-org/teams/6149/pt_BR/)\n"
@@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-08 04:19+0000\n"
"POT-Creation-Date: 2025-01-29 00:54+0000\n"
"PO-Revision-Date: 2024-04-04 00:17+0000\n"
"Last-Translator: Viktor Scharf, 2024\n"
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-09 00:26+0000\n"
"POT-Creation-Date: 2025-01-29 00:54+0000\n"
"PO-Revision-Date: 2024-04-04 00:17+0000\n"
"Last-Translator: dutty5, 2025\n"
"Language-Team: Russian (Russia) (https://app.transifex.com/owncloud-org/teams/6149/ru_RU/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-08 04:19+0000\n"
"POT-Creation-Date: 2025-01-29 00:54+0000\n"
"PO-Revision-Date: 2024-04-04 00:17+0000\n"
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2024\n"
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-06 00:03+0000\n"
"POT-Creation-Date: 2025-01-26 00:54+0000\n"
"PO-Revision-Date: 2024-04-04 00:17+0000\n"
"Last-Translator: Keram, 2024\n"
"Language-Team: Uyghur (https://app.transifex.com/owncloud-org/teams/6149/ug/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-06 00:03+0000\n"
"POT-Creation-Date: 2025-01-26 00:54+0000\n"
"PO-Revision-Date: 2024-04-04 00:17+0000\n"
"Last-Translator: Roman Perekhod, 2024\n"
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
+4 -4
View File
@@ -4233,8 +4233,8 @@ packages:
ms@2.1.3:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
nanoid@3.3.7:
resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==}
nanoid@3.3.8:
resolution: {integrity: sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==}
engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}
hasBin: true
@@ -11600,7 +11600,7 @@ snapshots:
ms@2.1.3: {}
nanoid@3.3.7: {}
nanoid@3.3.8: {}
natural-compare@1.4.0: {}
@@ -12301,7 +12301,7 @@ snapshots:
postcss@8.4.39:
dependencies:
nanoid: 3.3.7
nanoid: 3.3.8
picocolors: 1.0.1
source-map-js: 1.2.0
@@ -1,6 +1,7 @@
package command
import (
"fmt"
"github.com/cs3org/reva/v2/pkg/events"
"github.com/cs3org/reva/v2/pkg/events/stream"
"github.com/owncloud/ocis/v2/services/notifications/pkg/config"
@@ -51,6 +52,7 @@ func SendEmail(cfg *config.Config) *cli.Command {
return err
}
}
fmt.Println("successfully sent SendEmailsEvent")
return nil
},
}
@@ -81,6 +81,7 @@ func Server(cfg *config.Config) *cli.Command {
evs := []events.Unmarshaller{
events.ShareCreated{},
events.ShareExpired{},
events.ShareRemoved{},
events.SpaceShared{},
events.SpaceUnshared{},
events.SpaceMembershipExpired{},
+1 -1
View File
@@ -116,7 +116,7 @@ func NewGroupedHTMLTemplate(gmt GroupedMessageTemplate, vars map[string]string,
}
bodyParts = append(bodyParts, bodyPart)
}
gmt.MessageBody = strings.Join(bodyParts, "<br><br><br>")
gmt.MessageBody = newlineToBr(strings.Join(bodyParts, "<br><br><br>"))
return gmt, nil
}
@@ -7,16 +7,16 @@
# Edith Parzefall, 2023
# Florian Lenz <florian@owncloud.com>, 2023
# Michael Barz <mbarz@owncloud.com>, 2023
# Martin <github@diemattels.at>, 2024
# Martin <github@diemattels.at>, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-01 00:04+0000\n"
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
"Last-Translator: Martin <github@diemattels.at>, 2024\n"
"Last-Translator: Martin <github@diemattels.at>, 2025\n"
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -25,62 +25,73 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:60
#: pkg/email/templates.go:78
msgid "Click here to check it: {ShareLink}"
msgstr "Zum Überprüfen hier klicken: {ShareLink}"
#. ShareCreated email template, resolves via {{ .CallToAction }}
#. SharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:18 pkg/email/templates.go:45
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Zum Ansehen hier klicken: {ShareLink}"
#. ShareCreated email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:14
#: pkg/email/templates.go:19
msgid "Hello {ShareGrantee}"
msgstr "Hallo {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:27
#. ShareRemoved email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32 pkg/email/templates.go:45
msgid "Hello {ShareGrantee},"
msgstr "Hallo {ShareGrantee},"
#. SharedSpace email template, resolves via {{ .Greeting }}
#. UnsharedSpace email template, resolves via {{ .Greeting }}
#. MembershipExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:41 pkg/email/templates.go:54
#: pkg/email/templates.go:69
#: pkg/email/templates.go:59 pkg/email/templates.go:72
#: pkg/email/templates.go:87
msgid "Hello {SpaceGrantee},"
msgstr "Hallo {SpaceGrantee},"
#. Grouped email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr "Hallo {DisplayName},"
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:82 pkg/email/templates.go:99
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "Hallo,"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:67
#: pkg/email/templates.go:85
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
msgstr "Die Mitgliedschaft für '{SpaceName}' ist am {ExpiredAt} abgelaufen."
#. Grouped email template, Subject field (resolves directly)
#: pkg/email/templates.go:129
msgid "Report"
msgstr "Bericht"
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:80 pkg/email/templates.go:97
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr "ScienceMesh: {InitiatorName} möchte mir Ihnen gerne zusammenarbeiten"
msgstr "Vernetzung: {InitiatorName} möchte mit Ihnen gerne zusammenarbeiten"
#. ShareExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:25
#: pkg/email/templates.go:30
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Die Freigabe für '{ShareFolder}' ist am {ExpiredAt} abgelaufen."
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:71
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -90,7 +101,7 @@ msgstr ""
"Über eventuelle weitere Freigaben oder Space-Mitgliedschaften kann der Zugriff trotzdem weiterhin möglich sein."
#. ShareExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:29
#: pkg/email/templates.go:34
msgid ""
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
"\n"
@@ -102,7 +113,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:101
#: pkg/email/templates.go:119
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"Please visit your federation settings and use the following details:\n"
@@ -116,7 +127,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:84
#: pkg/email/templates.go:102
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"To accept the invite, please visit the following URL:\n"
@@ -136,22 +147,39 @@ msgstr ""
" ProviderDomain: {ProviderDomain}"
#. ShareCreated email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:16
#: pkg/email/templates.go:21
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
msgstr "{ShareSharer} hat \"{ShareFolder}\" mit Ihnen geteilt."
#. ShareRemoved email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:47
msgid ""
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
"\n"
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
msgstr ""
"{ShareSharer} hat den Ordner '{ShareFolder}' nicht mehr mit Dir geteilt.\n"
"\n"
"Auch wenn diese Freigabe widerrufen wurde, haben Sie möglicherweise noch Zugriff über andere Freigaben und/oder Space Mitgliedschaften."
#. ShareCreated email template, Subject field (resolves directly)
#: pkg/email/templates.go:12
#: pkg/email/templates.go:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} hat \"{ShareFolder}\" mit Ihnen geteilt"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#. ShareRemoved email template, Subject field (resolves directly)
#: pkg/email/templates.go:43
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
msgstr ""
"{ShareSharer} hat den Ordner '{ShareFolder}' nicht mehr mit Dir geteilt"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:61
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
msgstr "{SpaceSharer} hat Sie eingeladen, dem Space \"{SpaceName}\" beizutreten."
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:56
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -162,11 +190,11 @@ msgstr ""
"Über eventuelle weitere Freigaben oder Space-Mitgliedschaften kann der Zugriff trotzdem weiterhin möglich sein."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:39
#: pkg/email/templates.go:57
msgid "{SpaceSharer} invited you to join {SpaceName}"
msgstr "{SpaceSharer} hat Sie eingeladen, dem Space {SpaceName} beizutreten."
#. UnsharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:52
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} hat Sie aus dem Space {SpaceName} entfernt."
@@ -4,16 +4,16 @@
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Andi Chandler <andi@gowling.com>, 2024
# Andi Chandler <andi@gowling.com>, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-29 00:04+0000\n"
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
"Last-Translator: Andi Chandler <andi@gowling.com>, 2024\n"
"Last-Translator: Andi Chandler <andi@gowling.com>, 2025\n"
"Language-Team: English (United Kingdom) (https://app.transifex.com/owncloud-org/teams/6149/en_GB/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -22,62 +22,73 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:60
#: pkg/email/templates.go:78
msgid "Click here to check it: {ShareLink}"
msgstr "Click here to check it: {ShareLink}"
#. ShareCreated email template, resolves via {{ .CallToAction }}
#. SharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:18 pkg/email/templates.go:45
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Click here to view it: {ShareLink}"
#. ShareCreated email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:14
#: pkg/email/templates.go:19
msgid "Hello {ShareGrantee}"
msgstr "Hello {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:27
#. ShareRemoved email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32 pkg/email/templates.go:45
msgid "Hello {ShareGrantee},"
msgstr "Hello {ShareGrantee},"
#. SharedSpace email template, resolves via {{ .Greeting }}
#. UnsharedSpace email template, resolves via {{ .Greeting }}
#. MembershipExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:41 pkg/email/templates.go:54
#: pkg/email/templates.go:69
#: pkg/email/templates.go:59 pkg/email/templates.go:72
#: pkg/email/templates.go:87
msgid "Hello {SpaceGrantee},"
msgstr "Hello {SpaceGrantee},"
#. Grouped email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr "Hi {DisplayName},"
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:82 pkg/email/templates.go:99
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "Hi,"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:67
#: pkg/email/templates.go:85
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
msgstr "Membership of '{SpaceName}' expired at {ExpiredAt}"
#. Grouped email template, Subject field (resolves directly)
#: pkg/email/templates.go:129
msgid "Report"
msgstr "Report"
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:80 pkg/email/templates.go:97
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr "ScienceMesh: {InitiatorName} wants to collaborate with you"
#. ShareExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:25
#: pkg/email/templates.go:30
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Share to '{ShareFolder}' expired at {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:71
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -88,7 +99,7 @@ msgstr ""
"Even though this membership has expired you still might have access through other shares and/or space memberships"
#. ShareExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:29
#: pkg/email/templates.go:34
msgid ""
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
"\n"
@@ -100,7 +111,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:101
#: pkg/email/templates.go:119
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"Please visit your federation settings and use the following details:\n"
@@ -114,7 +125,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:84
#: pkg/email/templates.go:102
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"To accept the invite, please visit the following URL:\n"
@@ -133,22 +144,38 @@ msgstr ""
" ProviderDomain: {ProviderDomain}"
#. ShareCreated email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:16
#: pkg/email/templates.go:21
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
msgstr "{ShareSharer} has shared \"{ShareFolder}\" with you."
#. ShareRemoved email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:47
msgid ""
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
"\n"
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
msgstr ""
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
"\n"
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
#. ShareCreated email template, Subject field (resolves directly)
#: pkg/email/templates.go:12
#: pkg/email/templates.go:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} shared '{ShareFolder}' with you"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#. ShareRemoved email template, Subject field (resolves directly)
#: pkg/email/templates.go:43
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
msgstr "{ShareSharer} unshared '{ShareFolder}' with you"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:61
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
msgstr "{SpaceSharer} has invited you to join \"{SpaceName}\"."
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:56
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -159,11 +186,11 @@ msgstr ""
"You might still have access through your other groups or direct membership."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:39
#: pkg/email/templates.go:57
msgid "{SpaceSharer} invited you to join {SpaceName}"
msgstr "{SpaceSharer} invited you to join {SpaceName}"
#. UnsharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:52
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} removed you from {SpaceName}"
@@ -4,17 +4,18 @@
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Juan Carlos Garrote, 2023
# Jesús Recio <jrecio@solidgear.es>, 2024
# Martin <github@diemattels.at>, 2025
# Juan Carlos Garrote, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-06 00:03+0000\n"
"POT-Creation-Date: 2025-01-23 16:29+0000\n"
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
"Last-Translator: Jesús Recio <jrecio@solidgear.es>, 2024\n"
"Last-Translator: Juan Carlos Garrote, 2025\n"
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -23,62 +24,73 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:60
#: pkg/email/templates.go:78
msgid "Click here to check it: {ShareLink}"
msgstr "Click aquí para comprobarlo: {ShareLink}"
#. ShareCreated email template, resolves via {{ .CallToAction }}
#. SharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:18 pkg/email/templates.go:45
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Click aquí para verlo: {ShareLink}"
#. ShareCreated email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:14
#: pkg/email/templates.go:19
msgid "Hello {ShareGrantee}"
msgstr "Hola {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:27
#. ShareRemoved email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32 pkg/email/templates.go:45
msgid "Hello {ShareGrantee},"
msgstr "Hola {ShareGrantee},"
#. SharedSpace email template, resolves via {{ .Greeting }}
#. UnsharedSpace email template, resolves via {{ .Greeting }}
#. MembershipExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:41 pkg/email/templates.go:54
#: pkg/email/templates.go:69
#: pkg/email/templates.go:59 pkg/email/templates.go:72
#: pkg/email/templates.go:87
msgid "Hello {SpaceGrantee},"
msgstr "Hola {SpaceGrantee},"
#. Grouped email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr "Hola {DisplayName},"
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:82 pkg/email/templates.go:99
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "Hola,"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:67
#: pkg/email/templates.go:85
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
msgstr "La membresía de '{SpaceName}' caducó en {ExpiredAt}"
#. Grouped email template, Subject field (resolves directly)
#: pkg/email/templates.go:129
msgid "Report"
msgstr "Notificar"
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:80 pkg/email/templates.go:97
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr "ScienceMesh: {InitiatorName} quiere colaborar con usted"
#. ShareExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:25
#: pkg/email/templates.go:30
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "La compartición a '{ShareFolder}' caducó en {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:71
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -89,7 +101,7 @@ msgstr ""
"Aunque esta membresía ha caducado, aún puedes tener acceso a través de otras comparticiones y/o membresías al space"
#. ShareExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:29
#: pkg/email/templates.go:34
msgid ""
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
"\n"
@@ -101,7 +113,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:101
#: pkg/email/templates.go:119
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"Please visit your federation settings and use the following details:\n"
@@ -115,7 +127,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:84
#: pkg/email/templates.go:102
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"To accept the invite, please visit the following URL:\n"
@@ -134,22 +146,35 @@ msgstr ""
"ProviderDomain: {ProviderDomain}"
#. ShareCreated email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:16
#: pkg/email/templates.go:21
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
msgstr "{ShareSharer} ha compartido \"{ShareFolder}\" contigo."
#. ShareRemoved email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:47
msgid ""
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
"\n"
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
msgstr ""
#. ShareCreated email template, Subject field (resolves directly)
#: pkg/email/templates.go:12
#: pkg/email/templates.go:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} compartió '{ShareFolder}' contigo"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#. ShareRemoved email template, Subject field (resolves directly)
#: pkg/email/templates.go:43
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
msgstr ""
#. SharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:61
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
msgstr "{SpaceSharer} te ha invitado a unirte a \"{SpaceName}\"."
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:56
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -160,11 +185,11 @@ msgstr ""
"Aún puedes tener acceso a través de tus otros grupos o membresía directa."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:39
#: pkg/email/templates.go:57
msgid "{SpaceSharer} invited you to join {SpaceName}"
msgstr "{SpaceSharer} te invitó a unirte a {SpaceName}"
#. UnsharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:52
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} te eliminó de {SpaceName}"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-01 00:04+0000\n"
"POT-Creation-Date: 2025-01-23 16:29+0000\n"
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
"Last-Translator: Flávio Veras <flaviove@gmail.com>, 2024\n"
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/owncloud-org/teams/6149/pt_BR/)\n"
@@ -22,62 +22,73 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:60
#: pkg/email/templates.go:78
msgid "Click here to check it: {ShareLink}"
msgstr "Clique aqui para conferir: {ShareLink}"
#. ShareCreated email template, resolves via {{ .CallToAction }}
#. SharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:18 pkg/email/templates.go:45
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Clique aqui para visualizá-lo: {ShareLink}"
#. ShareCreated email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:14
#: pkg/email/templates.go:19
msgid "Hello {ShareGrantee}"
msgstr "Olá {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:27
#. ShareRemoved email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32 pkg/email/templates.go:45
msgid "Hello {ShareGrantee},"
msgstr "Olá {ShareGrantee},"
#. SharedSpace email template, resolves via {{ .Greeting }}
#. UnsharedSpace email template, resolves via {{ .Greeting }}
#. MembershipExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:41 pkg/email/templates.go:54
#: pkg/email/templates.go:69
#: pkg/email/templates.go:59 pkg/email/templates.go:72
#: pkg/email/templates.go:87
msgid "Hello {SpaceGrantee},"
msgstr "Olá {SpaceGrantee},"
#. Grouped email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:82 pkg/email/templates.go:99
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "Olá,"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:67
#: pkg/email/templates.go:85
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
msgstr "A assinatura de '{SpaceName}' expirou em {ExpiredAt}"
#. Grouped email template, Subject field (resolves directly)
#: pkg/email/templates.go:129
msgid "Report"
msgstr ""
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:80 pkg/email/templates.go:97
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr "ScienceMesh: {InitiatorName} quer colaborar com você"
#. ShareExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:25
#: pkg/email/templates.go:30
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Compartilhar em '{ShareFolder}' expirou em {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:71
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -88,7 +99,7 @@ msgstr ""
"Mesmo que esta assinatura tenha expirado, você ainda pode ter acesso por meio de outros compartilhamentos e/ou assinaturas de espaço"
#. ShareExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:29
#: pkg/email/templates.go:34
msgid ""
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
"\n"
@@ -100,7 +111,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:101
#: pkg/email/templates.go:119
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"Please visit your federation settings and use the following details:\n"
@@ -113,7 +124,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:84
#: pkg/email/templates.go:102
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"To accept the invite, please visit the following URL:\n"
@@ -132,22 +143,35 @@ msgstr ""
"ProviderDomain: {ProviderDomain}"
#. ShareCreated email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:16
#: pkg/email/templates.go:21
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
msgstr "{ShareSharer} compartilhou \"{ShareFolder}\" com você."
#. ShareRemoved email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:47
msgid ""
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
"\n"
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
msgstr ""
#. ShareCreated email template, Subject field (resolves directly)
#: pkg/email/templates.go:12
#: pkg/email/templates.go:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} compartilhou '{ShareFolder}' com você"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#. ShareRemoved email template, Subject field (resolves directly)
#: pkg/email/templates.go:43
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
msgstr ""
#. SharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:61
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
msgstr "{SpaceSharer} convidou você para participar de \"{SpaceName}\"."
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:56
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -158,11 +182,11 @@ msgstr ""
"Você ainda pode ter acesso por meio de outros grupos ou associação direta."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:39
#: pkg/email/templates.go:57
msgid "{SpaceSharer} invited you to join {SpaceName}"
msgstr "{SpaceSharer} convidou você para participar de {SpaceName}"
#. UnsharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:52
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} removeu você de {SpaceName}"
@@ -4,19 +4,19 @@
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Roman Perekhod, 2023
# I Robot, 2024
# dutty5, 2024
# Viktor Scharf, 2024
# Roman Perekhod, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-08 04:19+0000\n"
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
"Last-Translator: Viktor Scharf, 2024\n"
"Last-Translator: Roman Perekhod, 2025\n"
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -25,62 +25,73 @@ msgstr ""
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:60
#: pkg/email/templates.go:78
msgid "Click here to check it: {ShareLink}"
msgstr "Нажмите здесь, чтобы проверить: {ShareLink}"
#. ShareCreated email template, resolves via {{ .CallToAction }}
#. SharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:18 pkg/email/templates.go:45
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Нажмите здесь, чтобы посмотреть: {ShareLink}"
#. ShareCreated email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:14
#: pkg/email/templates.go:19
msgid "Hello {ShareGrantee}"
msgstr "Здравствуйте, {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:27
#. ShareRemoved email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32 pkg/email/templates.go:45
msgid "Hello {ShareGrantee},"
msgstr "Здравствуйте, {ShareGrantee},"
#. SharedSpace email template, resolves via {{ .Greeting }}
#. UnsharedSpace email template, resolves via {{ .Greeting }}
#. MembershipExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:41 pkg/email/templates.go:54
#: pkg/email/templates.go:69
#: pkg/email/templates.go:59 pkg/email/templates.go:72
#: pkg/email/templates.go:87
msgid "Hello {SpaceGrantee},"
msgstr "Здравствуйте, {SpaceGrantee},"
#. Grouped email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr "Привет {DisplayName},"
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:82 pkg/email/templates.go:99
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "Привет,"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:67
#: pkg/email/templates.go:85
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
msgstr "Членство в '{SpaceName}' истекло {ExpiredAt}"
#. Grouped email template, Subject field (resolves directly)
#: pkg/email/templates.go:129
msgid "Report"
msgstr "Отчет"
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:80 pkg/email/templates.go:97
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr "ScienceMesh: {InitiatorName} хочет сотрудничать с вами"
#. ShareExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:25
#: pkg/email/templates.go:30
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Доступ к '{ShareFolder}' истёк {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:71
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -91,7 +102,7 @@ msgstr ""
"Несмотря на то, что срок действия этого членства истёк, у вас всё еще может быть доступ через другие общие ресурсы и/или членства в пространстве."
#. ShareExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:29
#: pkg/email/templates.go:34
msgid ""
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
"\n"
@@ -103,7 +114,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:101
#: pkg/email/templates.go:119
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"Please visit your federation settings and use the following details:\n"
@@ -117,7 +128,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:84
#: pkg/email/templates.go:102
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"To accept the invite, please visit the following URL:\n"
@@ -136,22 +147,38 @@ msgstr ""
" ProviderDomain: {ProviderDomain}"
#. ShareCreated email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:16
#: pkg/email/templates.go:21
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
msgstr "{ShareSharer} поделился с вами \"{ShareFolder}\"."
#. ShareRemoved email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:47
msgid ""
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
"\n"
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
msgstr ""
"{ShareSharer} удалил ваш общий доступ к '{ShareFolder}'.\n"
"\n"
"Несмотря на то, что этот общий доступ удалён, у вас всё еще может быть доступ через другие общие ресурсы и/или членства в пространстве."
#. ShareCreated email template, Subject field (resolves directly)
#: pkg/email/templates.go:12
#: pkg/email/templates.go:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} поделился с вами '{ShareFolder}'"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#. ShareRemoved email template, Subject field (resolves directly)
#: pkg/email/templates.go:43
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
msgstr "{ShareSharer} удалил ваш общий доступ к '{ShareFolder}'"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:61
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
msgstr "{SpaceSharer} пригласил вас присоединиться к \"{SpaceName}\"."
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:56
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -162,11 +189,11 @@ msgstr ""
"У вас всё еще может быть доступ через другие группы или прямое членство."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:39
#: pkg/email/templates.go:57
msgid "{SpaceSharer} invited you to join {SpaceName}"
msgstr "{SpaceSharer} пригласил вас присоединиться к {SpaceName}"
#. UnsharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:52
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} удалил вас из {SpaceName}"
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-09 00:26+0000\n"
"POT-Creation-Date: 2025-01-23 16:29+0000\n"
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
"Last-Translator: dutty5, 2025\n"
"Language-Team: Russian (Russia) (https://app.transifex.com/owncloud-org/teams/6149/ru_RU/)\n"
@@ -23,64 +23,75 @@ msgstr ""
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:60
#: pkg/email/templates.go:78
msgid "Click here to check it: {ShareLink}"
msgstr "Нажмите здесь, чтобы посмотреть: {ShareLink}"
#. ShareCreated email template, resolves via {{ .CallToAction }}
#. SharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:18 pkg/email/templates.go:45
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Нажмите здесь, чтобы посмотреть: {ShareLink}"
#. ShareCreated email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:14
#: pkg/email/templates.go:19
msgid "Hello {ShareGrantee}"
msgstr "Здравствуйте, {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:27
#. ShareRemoved email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32 pkg/email/templates.go:45
msgid "Hello {ShareGrantee},"
msgstr "Здравствуйте, {ShareGrantee},"
#. SharedSpace email template, resolves via {{ .Greeting }}
#. UnsharedSpace email template, resolves via {{ .Greeting }}
#. MembershipExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:41 pkg/email/templates.go:54
#: pkg/email/templates.go:69
#: pkg/email/templates.go:59 pkg/email/templates.go:72
#: pkg/email/templates.go:87
msgid "Hello {SpaceGrantee},"
msgstr "Здравствуйте, {SpaceGrantee},"
#. Grouped email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:82 pkg/email/templates.go:99
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "Привет,"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:67
#: pkg/email/templates.go:85
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
msgstr "Членство в '{SpaceName}' истекло {ExpiredAt}"
#. Grouped email template, Subject field (resolves directly)
#: pkg/email/templates.go:129
msgid "Report"
msgstr ""
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:80 pkg/email/templates.go:97
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr ""
"ScienceMesh: {InitiatorName} хочет начать использование ресурсов совместной "
"работы с вами"
#. ShareExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:25
#: pkg/email/templates.go:30
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Доступ к '{ShareFolder}' истёк {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:71
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -91,7 +102,7 @@ msgstr ""
"Несмотря на то, что срок действия этого членства истёк, у вас всё ещё может быть доступ через другие общие ресурсы и/или членство в пространстве."
#. ShareExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:29
#: pkg/email/templates.go:34
msgid ""
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
"\n"
@@ -103,7 +114,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:101
#: pkg/email/templates.go:119
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"Please visit your federation settings and use the following details:\n"
@@ -117,7 +128,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:84
#: pkg/email/templates.go:102
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"To accept the invite, please visit the following URL:\n"
@@ -136,22 +147,35 @@ msgstr ""
" Домен провайдера: {ProviderDomain}"
#. ShareCreated email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:16
#: pkg/email/templates.go:21
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
msgstr "{ShareSharer} поделился с вами \"{ShareFolder}\"."
#. ShareRemoved email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:47
msgid ""
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
"\n"
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
msgstr ""
#. ShareCreated email template, Subject field (resolves directly)
#: pkg/email/templates.go:12
#: pkg/email/templates.go:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} поделился с вами '{ShareFolder}'"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#. ShareRemoved email template, Subject field (resolves directly)
#: pkg/email/templates.go:43
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
msgstr ""
#. SharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:61
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
msgstr "{SpaceSharer} пригласил вас присоединиться к участникам \"{SpaceName}\"."
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:56
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -162,11 +186,11 @@ msgstr ""
"У вас все еще может быть доступ через другие группы или прямое членство."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:39
#: pkg/email/templates.go:57
msgid "{SpaceSharer} invited you to join {SpaceName}"
msgstr "{SpaceSharer} пригласил вас присоединиться к участникам {SpaceName}"
#. UnsharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:52
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} удалил вас из участников {SpaceName}"
@@ -4,16 +4,16 @@
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Besnik Bleta <besnik@programeshqip.org>, 2024
# Besnik Bleta <besnik@programeshqip.org>, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-08 04:19+0000\n"
"POT-Creation-Date: 2025-01-24 00:55+0000\n"
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2024\n"
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2025\n"
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -22,62 +22,73 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:60
#: pkg/email/templates.go:78
msgid "Click here to check it: {ShareLink}"
msgstr ""
msgstr "Klikoni këtu që ta shihni: {ShareLink}"
#. ShareCreated email template, resolves via {{ .CallToAction }}
#. SharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:18 pkg/email/templates.go:45
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Klikoni këtu që ta shihni: {ShareLink}"
#. ShareCreated email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:14
#: pkg/email/templates.go:19
msgid "Hello {ShareGrantee}"
msgstr "Tungjatjeta {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:27
#. ShareRemoved email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32 pkg/email/templates.go:45
msgid "Hello {ShareGrantee},"
msgstr "Tungjatjeta {ShareGrantee},"
#. SharedSpace email template, resolves via {{ .Greeting }}
#. UnsharedSpace email template, resolves via {{ .Greeting }}
#. MembershipExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:41 pkg/email/templates.go:54
#: pkg/email/templates.go:69
#: pkg/email/templates.go:59 pkg/email/templates.go:72
#: pkg/email/templates.go:87
msgid "Hello {SpaceGrantee},"
msgstr "Tungjatjeta {SpaceGrantee},"
#. Grouped email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr "Njatjeta {DisplayName},"
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:82 pkg/email/templates.go:99
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "Njatjeta,"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:67
#: pkg/email/templates.go:85
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
msgstr "Anëtarësia në “{SpaceName}” skadoi më {ExpiredAt}"
#. Grouped email template, Subject field (resolves directly)
#: pkg/email/templates.go:129
msgid "Report"
msgstr "Raport "
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:80 pkg/email/templates.go:97
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr "ScienceMesh: {InitiatorName} dëshiron të bashkëpunojë me ju"
#. ShareExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:25
#: pkg/email/templates.go:30
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Pjesa te “{ShareFolder}” skadoi më {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:71
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -88,7 +99,7 @@ msgstr ""
"Edhe pse kjo anëtarësi ka skaduar, mundet që ende të keni hyrje në të përmes ndarjesh dhe/ose anëtarësish hapësirash të tjera"
#. ShareExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:29
#: pkg/email/templates.go:34
msgid ""
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
"\n"
@@ -100,7 +111,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:101
#: pkg/email/templates.go:119
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"Please visit your federation settings and use the following details:\n"
@@ -114,7 +125,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:84
#: pkg/email/templates.go:102
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"To accept the invite, please visit the following URL:\n"
@@ -133,22 +144,38 @@ msgstr ""
" ProviderDomain: {ProviderDomain}"
#. ShareCreated email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:16
#: pkg/email/templates.go:21
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
msgstr "{ShareSharer} ka ndarë “{ShareFolder}” me ju."
#. ShareRemoved email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:47
msgid ""
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
"\n"
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
msgstr ""
"{ShareSharer} ka hequr ndarjen e '{ShareFolder}' me ju.\n"
"\n"
"Edhe pse kjo ndarje është shfuqizuar, prapë mund ta përdorni përmes ndarjesh dhe/ose anëtarësish në hapësira."
#. ShareCreated email template, Subject field (resolves directly)
#: pkg/email/templates.go:12
#: pkg/email/templates.go:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} ndau “{ShareFolder}” me ju"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#. ShareRemoved email template, Subject field (resolves directly)
#: pkg/email/templates.go:43
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
msgstr "{ShareSharer} hoqi ndarjen e '{ShareFolder}' me ju"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:61
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
msgstr "{SpaceSharer} ju ka ftuar të merrni pjesë në “{SpaceName}”."
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:56
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -159,11 +186,11 @@ msgstr ""
"Mundet që ende të keni hyrje në të përmes grupeve tuaja të tjera, ose anëtarësimi të drejtpërdrejtë."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:39
#: pkg/email/templates.go:57
msgid "{SpaceSharer} invited you to join {SpaceName}"
msgstr "{SpaceSharer} ju ftoi të merrni pjesë në {SpaceName}"
#. UnsharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:52
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} ju hoqi nga {SpaceName}"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-05 00:05+0000\n"
"POT-Creation-Date: 2025-01-23 16:29+0000\n"
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
"Last-Translator: Keram, 2024\n"
"Language-Team: Uyghur (https://app.transifex.com/owncloud-org/teams/6149/ug/)\n"
@@ -22,62 +22,73 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:60
#: pkg/email/templates.go:78
msgid "Click here to check it: {ShareLink}"
msgstr "بۇ يەرنى چېكىپ تەكشۈرۈپ بېقىڭ: {ShareLink}"
#. ShareCreated email template, resolves via {{ .CallToAction }}
#. SharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:18 pkg/email/templates.go:45
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "بۇ يەرنى چېكىپ كۆرۈڭ: {ShareLink}"
#. ShareCreated email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:14
#: pkg/email/templates.go:19
msgid "Hello {ShareGrantee}"
msgstr "ياخشىمۇسىز {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:27
#. ShareRemoved email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32 pkg/email/templates.go:45
msgid "Hello {ShareGrantee},"
msgstr "ياخشىمۇسىز {ShareGrantee},"
#. SharedSpace email template, resolves via {{ .Greeting }}
#. UnsharedSpace email template, resolves via {{ .Greeting }}
#. MembershipExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:41 pkg/email/templates.go:54
#: pkg/email/templates.go:69
#: pkg/email/templates.go:59 pkg/email/templates.go:72
#: pkg/email/templates.go:87
msgid "Hello {SpaceGrantee},"
msgstr "ياخشىمۇسىز {SpaceGrantee},"
#. Grouped email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:82 pkg/email/templates.go:99
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "ياخشىمۇسىز ،"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:67
#: pkg/email/templates.go:85
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
msgstr "'{SpaceName}' نىڭ ئەزالىق مۇددىتى Exp ExpiredAt at دە ئاخىرلاشتى"
#. Grouped email template, Subject field (resolves directly)
#: pkg/email/templates.go:129
msgid "Report"
msgstr ""
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:80 pkg/email/templates.go:97
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr "ScienceMesh: {InitiatorName you سىز بىلەن ھەمكارلىشىشنى خالايدۇ"
#. ShareExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:25
#: pkg/email/templates.go:30
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "«{ShareFolder}» نىڭ ۋاقتى توشىدۇ {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:71
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -88,7 +99,7 @@ msgstr ""
"گەرچە بۇ ئەزالىق مۇددىتى توشقان بولسىمۇ ، سىز يەنىلا باشقا پايلار ۋە ياكى بوشلۇق ئەزالىرى ئارقىلىق زىيارەت قىلالايسىز"
#. ShareExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:29
#: pkg/email/templates.go:34
msgid ""
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
"\n"
@@ -100,7 +111,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:101
#: pkg/email/templates.go:119
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"Please visit your federation settings and use the following details:\n"
@@ -114,7 +125,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:84
#: pkg/email/templates.go:102
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"To accept the invite, please visit the following URL:\n"
@@ -133,22 +144,35 @@ msgstr ""
" ProviderDomain: {ProviderDomain}"
#. ShareCreated email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:16
#: pkg/email/templates.go:21
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
msgstr "{ShareSharer} سىز بىلەن «{ShareFolder}» نى ئورتاقلاشتى."
#. ShareRemoved email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:47
msgid ""
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
"\n"
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
msgstr ""
#. ShareCreated email template, Subject field (resolves directly)
#: pkg/email/templates.go:12
#: pkg/email/templates.go:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} ئورتاقلاشتى '{ShareFolder}'"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#. ShareRemoved email template, Subject field (resolves directly)
#: pkg/email/templates.go:43
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
msgstr ""
#. SharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:61
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
msgstr "{SpaceSharer} سىزنى «{SpaceName}» غا قاتنىشىشقا تەكلىپ قىلدى."
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:56
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -159,11 +183,11 @@ msgstr ""
"باشقا گۇرۇپپىلار ياكى بىۋاسىتە ئەزالىق سالاھىيىتىڭىز بىلەن يەنىلا زىيارەت قىلالايسىز."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:39
#: pkg/email/templates.go:57
msgid "{SpaceSharer} invited you to join {SpaceName}"
msgstr "{SpaceSharer} سىزنى {SpaceName to غا قاتنىشىشقا تەكلىپ قىلدى"
#. UnsharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:52
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} سىزنى {SpaceName from دىن ئۆچۈردى"
@@ -4,16 +4,16 @@
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Roman Perekhod, 2024
# Roman Perekhod, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-27 00:05+0000\n"
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
"Last-Translator: Roman Perekhod, 2024\n"
"Last-Translator: Roman Perekhod, 2025\n"
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -22,62 +22,73 @@ msgstr ""
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:60
#: pkg/email/templates.go:78
msgid "Click here to check it: {ShareLink}"
msgstr "Натисніть тут, щоб перевірити: {ShareLink}"
#. ShareCreated email template, resolves via {{ .CallToAction }}
#. SharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:18 pkg/email/templates.go:45
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Натисніть тут, щоб переглянути: {ShareLink}"
#. ShareCreated email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:14
#: pkg/email/templates.go:19
msgid "Hello {ShareGrantee}"
msgstr "Привіт {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:27
#. ShareRemoved email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32 pkg/email/templates.go:45
msgid "Hello {ShareGrantee},"
msgstr "Привіт {ShareGrantee},"
#. SharedSpace email template, resolves via {{ .Greeting }}
#. UnsharedSpace email template, resolves via {{ .Greeting }}
#. MembershipExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:41 pkg/email/templates.go:54
#: pkg/email/templates.go:69
#: pkg/email/templates.go:59 pkg/email/templates.go:72
#: pkg/email/templates.go:87
msgid "Hello {SpaceGrantee},"
msgstr "Привіт {SpaceGrantee},"
#. Grouped email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr "Привіт {DisplayName},"
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:82 pkg/email/templates.go:99
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "Привіт,"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:67
#: pkg/email/templates.go:85
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
msgstr "Членство в '{SpaceName}' закінчилося {ExpiredAt}"
#. Grouped email template, Subject field (resolves directly)
#: pkg/email/templates.go:129
msgid "Report"
msgstr "Звіт"
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:80 pkg/email/templates.go:97
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr "ScienceMesh: {InitiatorName} хоче співпрацювати з вами"
#. ShareExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:25
#: pkg/email/templates.go:30
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Спільний доступу до '{ShareFolder}' закінчився {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:71
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -88,7 +99,7 @@ msgstr ""
"Навіть якщо термін дії цього членства закінчився, ви все ще можете мати доступ через інші спільні ресурси та/або членство в просторі"
#. ShareExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:29
#: pkg/email/templates.go:34
msgid ""
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
"\n"
@@ -96,11 +107,11 @@ msgid ""
msgstr ""
"Термін дії вашого спільного доступу до {ShareFolder} закінчився {ExpiredAt}\n"
"\n"
"Навіть якщо цей спільний доступ було скасовано, ви все ще можете мати доступ через інші спільні ресурси та/або членство в групі."
"Навіть якщо цей спільний доступ було скасовано, ви все ще можете мати доступ через інші спільні ресурси та/або членство у просторі."
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:101
#: pkg/email/templates.go:119
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"Please visit your federation settings and use the following details:\n"
@@ -114,7 +125,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:84
#: pkg/email/templates.go:102
msgid ""
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
"To accept the invite, please visit the following URL:\n"
@@ -133,22 +144,38 @@ msgstr ""
" ProviderDomain: {ProviderDomain}"
#. ShareCreated email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:16
#: pkg/email/templates.go:21
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
msgstr "{ShareSharer} поділився \"{ShareFolder}\" з вами."
#. ShareRemoved email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:47
msgid ""
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
"\n"
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
msgstr ""
"{ShareSharer} скасував спільний доступ до '{ShareFolder}' для вас.\n"
"\n"
"Навіть якщо цей спільний доступ було скасовано, ви все ще можете мати доступ через інші спільні ресурси та/або членство у просторі."
#. ShareCreated email template, Subject field (resolves directly)
#: pkg/email/templates.go:12
#: pkg/email/templates.go:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} поділився '{ShareFolder}' з вами"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#. ShareRemoved email template, Subject field (resolves directly)
#: pkg/email/templates.go:43
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
msgstr "{ShareSharer} скасував спільний доступ до '{ShareFolder}' для вас"
#. SharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:61
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
msgstr "{SpaceSharer} запросив вас приєднатися до \"{SpaceName}\"."
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:56
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -159,11 +186,11 @@ msgstr ""
"Ви все ще можете мати доступ через інші групи або пряме членство."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:39
#: pkg/email/templates.go:57
msgid "{SpaceSharer} invited you to join {SpaceName}"
msgstr "{SpaceSharer} запросив вас приєднатися до {SpaceName}"
#. UnsharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:52
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} видалив вас із {SpaceName}"
@@ -33,6 +33,19 @@ var (
// ShareExpired email template, resolves via {{ .MessageBody }}
MessageBody: l10n.Template(`Your share to {ShareFolder} has expired at {ExpiredAt}
Even though this share has been revoked you still might have access through other shares and/or space memberships.`),
}
ShareRemoved = MessageTemplate{
textTemplate: _textTemplate,
htmlTemplate: _htmlTemplate,
// ShareRemoved email template, Subject field (resolves directly)
Subject: l10n.Template(`{ShareSharer} unshared '{ShareFolder}' with you`),
// ShareRemoved email template, resolves via {{ .Greeting }}
Greeting: l10n.Template(`Hello {ShareGrantee},`),
// ShareRemoved email template, resolves via {{ .MessageBody }}
MessageBody: l10n.Template(`{ShareSharer} has unshared '{ShareFolder}' with you.
Even though this share has been revoked you still might have access through other shares and/or space memberships.`),
}
@@ -11,8 +11,10 @@
{{ .Greeting }}
<br><br>
{{ .MessageBody }}
{{if ne .CallToAction "" }}<br><br>
{{ .CallToAction }}{{end}}
{{- if .CallToAction }}
<br><br>
{{ .CallToAction }}
{{- end }}
</td>
</tr>
<tr>
@@ -1,9 +1,11 @@
{{ .Greeting }}
{{ .MessageBody }}
{{if ne .CallToAction "" }}
{{- if .CallToAction }}
{{ .CallToAction }}
{{end}}
{{- end }}
---
ownCloud - Store. Share. Work.
+24 -1
View File
@@ -21,7 +21,8 @@ func (s eventsNotifier) sendGroupedEmailsJob(sendEmailsEvent events.SendEmailsEv
return
}
keys, err := s.userEventStore.listKeys(sendEmailsEvent.Interval)
prefix := sendEmailsEvent.Interval + "_"
keys, err := s.userEventStore.listKeys(prefix)
if err != nil {
logger.Error().Err(err).Msg("could not get list of keys")
return
@@ -129,8 +130,30 @@ func (s eventsNotifier) createGroupedMail(ctx context.Context, logger zerolog.Lo
"ShareFolder": shareFolder,
"ExpiredAt": te.ExpiredAt.Format("2006-01-02 15:04:05"),
})
case events.ShareRemoved:
logger := logger.With().
Str("event", "ShareRemoved").
Str("eventId", te.ItemID.OpaqueId).
Logger()
executant, shareFolder, _, err := s.prepareShareRemoved(logger, te)
if err != nil {
logger.Error().Err(err).Msg("could not prepare vars for grouped email")
continue
}
mts = append(mts, email.ShareRemoved)
mtsVars = append(mtsVars, map[string]string{
"ShareSharer": executant.GetDisplayName(),
"ShareFolder": shareFolder,
})
default:
logger.Error().Str("eventType", e.Type).Msg("unsupported event type for grouped email")
}
}
if len(mts) == 0 && len(mtsVars) == 0 {
logger.Error().Msg("no body content for grouped email present")
return
}
rendered, err := email.RenderGroupedEmailTemplate(email.Grouped, map[string]string{
"DisplayName": userEvents.User.GetDisplayName(),
@@ -39,7 +39,7 @@ func newUserEventStore(l log.Logger, s store.Store, hc ehsvc.EventHistoryService
func (s *userEventStore) persist(interval string, eventId string, users []*user.User) []*user.User {
var errorUsers []*user.User
for _, u := range users {
key := interval + u.Id.OpaqueId
key := interval + "_" + u.Id.OpaqueId
// Note: This is not thread safe and can result in missing events
records, err := s.store.Read(key)
@@ -80,8 +80,8 @@ func (s *userEventStore) persist(interval string, eventId string, users []*user.
return errorUsers
}
func (s *userEventStore) listKeys(interval string) ([]string, error) {
return s.store.List(store.ListPrefix(interval))
func (s *userEventStore) listKeys(prefix string) ([]string, error) {
return s.store.List(store.ListPrefix(prefix))
}
func (s *userEventStore) pop(ctx context.Context, key string) (*userEvents, error) {
@@ -0,0 +1,416 @@
package service
import (
"context"
"encoding/json"
user "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
collaboration "github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1"
"github.com/cs3org/reva/v2/pkg/events"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
event "github.com/owncloud/ocis/v2/protogen/gen/ocis/messages/eventhistory/v0"
ehsvc "github.com/owncloud/ocis/v2/protogen/gen/ocis/services/eventhistory/v0"
"github.com/owncloud/ocis/v2/protogen/gen/ocis/services/eventhistory/v0/mocks"
"github.com/stretchr/testify/mock"
"reflect"
"github.com/pkg/errors"
"github.com/stretchr/testify/assert"
"go-micro.dev/v4/store"
storemocks "go-micro.dev/v4/store/mocks"
"testing"
)
func Test_userEventStore_persist(t *testing.T) {
tEventId := "event id"
tUser := &user.User{Id: &user.UserId{OpaqueId: "userid"}}
tInterval := "interval"
tKey := tInterval + "_" + tUser.Id.OpaqueId
tErr := errors.New("some error")
tValueSingleEventId, err := json.Marshal(userEventIds{
User: tUser,
EventIds: []string{tEventId},
})
if err != nil {
t.Fatal(err)
}
type fields struct {
log log.Logger
store store.Store
historyClient ehsvc.EventHistoryService
}
type args struct {
interval string
eventId string
users []*user.User
}
tests := []struct {
name string
fields fields
args args
want []*user.User
}{
{
name: "new record",
fields: fields{
log: testLogger,
store: func() store.Store {
s := storemocks.NewStore(t)
s.EXPECT().Read(tKey).Return([]*store.Record{}, nil).Once()
s.EXPECT().Write(&store.Record{Key: tKey, Value: tValueSingleEventId}).Return(nil).Once()
return s
}(),
historyClient: nil,
},
args: args{
interval: tInterval,
eventId: tEventId,
users: []*user.User{tUser},
},
want: []*user.User(nil),
},
{
name: "append to record",
fields: fields{
log: testLogger,
store: func() store.Store {
s := storemocks.NewStore(t)
s.EXPECT().Read(tKey).Return([]*store.Record{{Key: tKey, Value: tValueSingleEventId}}, nil).Once()
b, err := json.Marshal(userEventIds{
User: tUser,
EventIds: []string{tEventId, tEventId},
})
if err != nil {
t.Fatal(err)
}
s.EXPECT().Write(&store.Record{Key: tKey, Value: b}).Return(nil).Once()
return s
}(),
historyClient: nil,
},
args: args{
interval: tInterval,
eventId: tEventId,
users: []*user.User{tUser},
},
want: []*user.User(nil),
},
{
name: "error on read",
fields: fields{
log: testLogger,
store: func() store.Store {
s := storemocks.NewStore(t)
s.EXPECT().Read(tKey).Return(nil, tErr).Once()
return s
}(),
historyClient: nil,
},
args: args{
interval: tInterval,
eventId: tEventId,
users: []*user.User{tUser},
},
want: []*user.User{tUser},
},
{
name: "error on write",
fields: fields{
log: testLogger,
store: func() store.Store {
s := storemocks.NewStore(t)
s.EXPECT().Read(tKey).Return([]*store.Record{}, nil).Once()
b, err := json.Marshal(userEventIds{
User: tUser,
EventIds: []string{tEventId},
})
if err != nil {
t.Fatal(err)
}
s.EXPECT().Write(&store.Record{Key: tKey, Value: b}).Return(tErr).Once()
return s
}(),
historyClient: nil,
},
args: args{
interval: tInterval,
eventId: tEventId,
users: []*user.User{tUser},
},
want: []*user.User{tUser},
},
{
name: "multiple users",
fields: fields{
log: testLogger,
store: func() store.Store {
s := storemocks.NewStore(t)
s.EXPECT().Read(tKey).Return([]*store.Record{}, nil).Once()
s.EXPECT().Write(&store.Record{Key: tKey, Value: tValueSingleEventId}).Return(nil).Once()
tUser2 := &user.User{Id: &user.UserId{OpaqueId: "userid2"}}
tKey2 := tInterval + "_" + tUser2.Id.OpaqueId
tValueSingleEventId2, err := json.Marshal(userEventIds{
User: tUser2,
EventIds: []string{tEventId},
})
if err != nil {
t.Fatal(err)
}
s.EXPECT().Read(tKey2).Return([]*store.Record{}, nil).Once()
s.EXPECT().Write(&store.Record{Key: tKey2, Value: tValueSingleEventId2}).Return(nil).Once()
return s
}(),
historyClient: nil,
},
args: args{
interval: tInterval,
eventId: tEventId,
users: []*user.User{tUser, {Id: &user.UserId{OpaqueId: "userid2"}}},
},
want: []*user.User(nil),
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
s := &userEventStore{
log: tt.fields.log,
store: tt.fields.store,
historyClient: tt.fields.historyClient,
}
assert.Equalf(t, tt.want, s.persist(tt.args.interval, tt.args.eventId, tt.args.users), "persist(%v, %v, %v)", tt.args.interval, tt.args.eventId, tt.args.users)
})
}
}
func Test_userEventStore_pop(t *testing.T) {
tCtx := context.TODO()
tUser := &user.User{Id: &user.UserId{OpaqueId: "userid"}}
tInterval := "interval"
tKey := tInterval + "_" + tUser.Id.OpaqueId
tErr := errors.New("some error")
// event 1
tEventId := "event id"
tValueSingleEventId, err := json.Marshal(userEventIds{
User: tUser,
EventIds: []string{tEventId},
})
if err != nil {
t.Fatal(err)
}
b, err := json.Marshal(events.ShareCreated{
ShareID: &collaboration.ShareId{OpaqueId: "shareid"},
})
tEvent := &event.Event{
Type: reflect.TypeOf(&events.ShareCreated{}).String(),
Id: tEventId,
Event: b,
}
tUserEvents := &userEvents{
User: tUser,
Events: []*event.Event{tEvent},
}
// event 2
tEventId2 := "event id2"
if err != nil {
t.Fatal(err)
}
b, err = json.Marshal(events.ShareRemoved{
ShareID: &collaboration.ShareId{OpaqueId: "shareid"},
})
if err != nil {
t.Fatal(err)
}
tEvent2 := &event.Event{
Type: reflect.TypeOf(&events.ShareRemoved{}).String(),
Id: tEventId,
Event: b,
}
tValueMultipleEventIds, err := json.Marshal(userEventIds{
User: tUser,
EventIds: []string{tEventId, tEventId2},
})
tUserMultipleEvents := &userEvents{
User: tUser,
Events: []*event.Event{tEvent, tEvent2},
}
type fields struct {
log log.Logger
store store.Store
historyClient ehsvc.EventHistoryService
}
type args struct {
ctx context.Context
key string
}
tests := []struct {
name string
fields fields
args args
want *userEvents
wantErr bool
}{
{
name: "single event",
fields: fields{
log: testLogger,
store: func() store.Store {
s := storemocks.NewStore(t)
s.EXPECT().Read(tKey).Return([]*store.Record{{Key: tKey, Value: tValueSingleEventId}}, nil).Once()
s.EXPECT().Delete(tKey).Return(nil).Once()
return s
}(),
historyClient: func() ehsvc.EventHistoryService {
hc := mocks.NewEventHistoryService(t)
hc.EXPECT().GetEvents(mock.Anything, &ehsvc.GetEventsRequest{Ids: []string{tEventId}}).
Return(&ehsvc.GetEventsResponse{Events: []*event.Event{tEvent}}, nil).Once()
return hc
}(),
},
args: args{
ctx: tCtx,
key: tKey,
},
want: tUserEvents,
wantErr: false,
},
{
name: "multiple events",
fields: fields{
log: testLogger,
store: func() store.Store {
s := storemocks.NewStore(t)
s.EXPECT().Read(tKey).Return([]*store.Record{{Key: tKey, Value: tValueMultipleEventIds}}, nil).Once()
s.EXPECT().Delete(tKey).Return(nil).Once()
return s
}(),
historyClient: func() ehsvc.EventHistoryService {
hc := mocks.NewEventHistoryService(t)
hc.EXPECT().GetEvents(tCtx, &ehsvc.GetEventsRequest{Ids: []string{tEventId, tEventId2}}).
Return(&ehsvc.GetEventsResponse{Events: []*event.Event{tEvent, tEvent2}}, nil).Once()
return hc
}(),
},
args: args{
ctx: tCtx,
key: tKey,
},
want: tUserMultipleEvents,
wantErr: false,
},
{
name: "error on read",
fields: fields{
log: testLogger,
store: func() store.Store {
s := storemocks.NewStore(t)
s.EXPECT().Read(tKey).Return(nil, tErr).Once()
return s
}(),
historyClient: nil,
},
args: args{
ctx: tCtx,
key: tKey,
},
want: nil,
wantErr: true,
},
{
name: "error on get events",
fields: fields{
log: testLogger,
store: func() store.Store {
s := storemocks.NewStore(t)
s.EXPECT().Read(tKey).Return([]*store.Record{{Key: tKey, Value: tValueSingleEventId}}, nil).Once()
return s
}(),
historyClient: func() ehsvc.EventHistoryService {
hc := mocks.NewEventHistoryService(t)
hc.EXPECT().GetEvents(mock.Anything, &ehsvc.GetEventsRequest{Ids: []string{tEventId}}).
Return(nil, tErr).Once()
return hc
}(),
},
args: args{
ctx: tCtx,
key: tKey,
},
want: nil,
wantErr: true,
},
{
name: "error on delete",
fields: fields{
log: testLogger,
store: func() store.Store {
s := storemocks.NewStore(t)
s.EXPECT().Read(tKey).Return([]*store.Record{{Key: tKey, Value: tValueSingleEventId}}, nil).Once()
s.EXPECT().Delete(tKey).Return(tErr).Once()
return s
}(),
historyClient: func() ehsvc.EventHistoryService {
hc := mocks.NewEventHistoryService(t)
hc.EXPECT().GetEvents(mock.Anything, &ehsvc.GetEventsRequest{Ids: []string{tEventId}}).
Return(&ehsvc.GetEventsResponse{Events: []*event.Event{tEvent}}, nil).Once()
return hc
}(),
},
args: args{
ctx: tCtx,
key: tKey,
},
want: nil,
wantErr: true,
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
s := &userEventStore{
log: tt.fields.log,
store: tt.fields.store,
historyClient: tt.fields.historyClient,
}
got, err := s.pop(tt.args.ctx, tt.args.key)
if tt.wantErr {
assert.NotNil(t, err)
}
assert.Equalf(t, tt.want, got, "pop(%v, %v)", tt.args.ctx, tt.args.key)
})
}
}
@@ -117,6 +117,8 @@ func (s eventsNotifier) Run() error {
s.handleShareCreated(e, evt.ID)
case events.ShareExpired:
s.handleShareExpired(e, evt.ID)
case events.ShareRemoved:
s.handleShareRemoved(e, evt.ID)
case events.ScienceMeshInviteTokenGenerated:
s.handleScienceMeshInviteTokenGenerated(e)
case events.SendEmailsEvent:
@@ -1,9 +1,22 @@
package service_test
package service
import (
"context"
"encoding/json"
"fmt"
group "github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1"
"github.com/cs3org/reva/v2/pkg/store"
ehmsg "github.com/owncloud/ocis/v2/protogen/gen/ocis/messages/eventhistory/v0"
settingsmsg "github.com/owncloud/ocis/v2/protogen/gen/ocis/messages/settings/v0"
v0 "github.com/owncloud/ocis/v2/protogen/gen/ocis/services/eventhistory/v0"
ehmocks "github.com/owncloud/ocis/v2/protogen/gen/ocis/services/eventhistory/v0/mocks"
settingsmocks "github.com/owncloud/ocis/v2/protogen/gen/ocis/services/settings/v0/mocks"
"reflect"
"strings"
microstore "go-micro.dev/v4/store"
storemocks "go-micro.dev/v4/store/mocks"
"time"
gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"
@@ -17,11 +30,8 @@ import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/ocis-pkg/shared"
settingssvc "github.com/owncloud/ocis/v2/protogen/gen/ocis/services/settings/v0"
"github.com/owncloud/ocis/v2/services/graph/pkg/config/defaults"
"github.com/owncloud/ocis/v2/services/notifications/pkg/channels"
"github.com/owncloud/ocis/v2/services/notifications/pkg/service"
"github.com/stretchr/testify/mock"
"go-micro.dev/v4/client"
"google.golang.org/grpc"
@@ -89,12 +99,10 @@ var _ = Describe("Notifications", func() {
}
})
DescribeTable("Sending userEventIds",
DescribeTable("Sending notifications",
func(tc testChannel, ev events.Event) {
cfg := defaults.FullDefaultConfig()
cfg.GRPCClientTLS = &shared.GRPCClientTLS{}
ch := make(chan events.Event)
evts := service.NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, vs, "",
evts := NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, vs, "",
"", "", "", "", "", "",
store.Create(), nil, nil)
go evts.Run()
@@ -158,6 +166,30 @@ https://owncloud.com
},
}),
Entry("Share Removed", testChannel{
expectedReceipients: []string{sharee.GetMail()},
expectedSubject: "Dr. S. Harer unshared 'secrets of the board' with you",
expectedTextBody: `Hello Eric Expireling,
Dr. S. Harer has unshared 'secrets of the board' with you.
Even though this share has been revoked you still might have access through other shares and/or space memberships.
---
ownCloud - Store. Share. Work.
https://owncloud.com
`,
expectedSender: sharer.GetDisplayName(),
done: make(chan struct{}),
}, events.Event{
Event: events.ShareRemoved{
Executant: sharer.GetId(),
GranteeUserID: sharee.GetId(),
ItemID: resourceid,
},
}),
Entry("Added to Space", testChannel{
expectedReceipients: []string{sharee.GetMail()},
expectedSubject: "Dr. S. Harer invited you to join secret space",
@@ -304,12 +336,10 @@ var _ = Describe("Notifications X-Site Scripting", func() {
}
})
DescribeTable("Sending userEventIds",
DescribeTable("Sending notifications",
func(tc testChannel, ev events.Event) {
cfg := defaults.FullDefaultConfig()
cfg.GRPCClientTLS = &shared.GRPCClientTLS{}
ch := make(chan events.Event)
evts := service.NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, vs, "",
evts := NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, vs, "",
"", "", "", "", "", "",
store.Create(), nil, nil)
go evts.Run()
@@ -460,7 +490,782 @@ https://owncloud.com
)
})
// NOTE: This is explictitly not testing the message itself. Should we?
var _ = Describe("Notifications grouped store", func() {
var (
gatewayClient *cs3mocks.GatewayAPIClient
gatewaySelector pool.Selectable[gateway.GatewayAPIClient]
valueService *settingsmocks.ValueService
store *storemocks.Store
executant = &user.User{
Id: &user.UserId{
OpaqueId: "executantId",
},
Mail: "executant@owncloud.com",
DisplayName: "executant",
}
receiverGrouped = &user.User{
Id: &user.UserId{
OpaqueId: "receiverGroupedId",
},
Mail: "receiverGrouped@owncloud.com",
DisplayName: "receiverGrouped",
}
// receiverInstant is used to trigger tc.done
receiverInstant = &user.User{
Id: &user.UserId{
OpaqueId: "receiverInstantId",
},
Mail: "receiverInstant@owncloud.com",
DisplayName: "receiverInstant",
}
resourceid = &provider.ResourceId{
StorageId: "storageid",
SpaceId: "spaceid",
OpaqueId: "itemid",
}
)
DescribeTable("Sending notifications",
func(tc testChannelGroupedStore, ev events.Event, interval string) {
// setup mocks
// Note: This is done here and not inside a BeforeEach, because some mocks need variables from entries.
pool.RemoveSelector("GatewaySelector" + "com.owncloud.api.gateway")
gatewayClient = &cs3mocks.GatewayAPIClient{}
gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient](
"GatewaySelector",
"com.owncloud.api.gateway",
func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient {
return gatewayClient
},
)
gatewayClient.EXPECT().Authenticate(mock.Anything, mock.Anything).Return(&gateway.AuthenticateResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: executant}, nil)
gatewayClient.EXPECT().Stat(mock.Anything, mock.Anything).Return(&provider.StatResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, Info: &provider.ResourceInfo{Name: "secrets of the board", Space: &provider.StorageSpace{Name: "secret space"}}}, nil)
gatewayClient.EXPECT().GetGroup(mock.Anything, mock.Anything).
Return(&group.GetGroupResponse{
Status: &rpc.Status{Code: rpc.Code_CODE_OK},
Group: &group.Group{
Members: []*user.UserId{receiverGrouped.GetId(), receiverInstant.GetId()},
},
}, nil)
gatewayClient.EXPECT().GetUser(mock.Anything, mock.Anything).
Return(&user.GetUserResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: executant}, nil).Once()
gatewayClient.EXPECT().GetUser(mock.Anything, mock.Anything).
Return(&user.GetUserResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: receiverGrouped}, nil).Once()
gatewayClient.EXPECT().GetUser(mock.Anything, mock.Anything).
Return(&user.GetUserResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: receiverInstant}, nil).Once()
valueService = settingsmocks.NewValueService(GinkgoT())
// disabled email
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).
Return(&settingssvc.GetValueResponse{Value: &settingsmsg.ValueWithIdentifier{
Value: &settingsmsg.Value{
Value: &settingsmsg.Value_BoolValue{
BoolValue: false,
},
},
}}, nil).Twice()
// filtering
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).Return(&settingssvc.GetValueResponse{
Value: &settingsmsg.ValueWithIdentifier{
Value: &settingsmsg.Value{
Value: &settingsmsg.Value_CollectionValue{
CollectionValue: &settingsmsg.CollectionValue{
Values: []*settingsmsg.CollectionOption{
{
Key: "mail",
Option: &settingsmsg.CollectionOption_BoolValue{BoolValue: true},
},
},
},
},
},
},
}, nil).Twice()
// interval
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).
Return(&settingssvc.GetValueResponse{Value: &settingsmsg.ValueWithIdentifier{
Value: &settingsmsg.Value{
Value: &settingsmsg.Value_StringValue{
StringValue: interval,
},
},
}}, nil).Once()
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).
Return(&settingssvc.GetValueResponse{Value: &settingsmsg.ValueWithIdentifier{
Value: &settingsmsg.Value{
Value: &settingsmsg.Value_StringValue{
StringValue: "instant",
},
},
}}, nil).Once()
// locale
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).Return(&settingssvc.GetValueResponse{
Value: &settingsmsg.ValueWithIdentifier{
Value: &settingsmsg.Value{
Value: &settingsmsg.Value_ListValue{
ListValue: &settingsmsg.ListValue{
Values: []*settingsmsg.ListOptionValue{
{
Option: &settingsmsg.ListOptionValue_StringValue{StringValue: "en"},
},
},
},
},
},
},
}, nil).Once()
// fail if mocked functions are not called
store = storemocks.NewStore(GinkgoT())
store.EXPECT().Read(mock.Anything).Return([]*microstore.Record{}, nil).Once()
store.EXPECT().Write(mock.Anything).Return(nil).Once()
// setup EventsNotifier
ch := make(chan events.Event)
evts := NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, valueService, "",
"", "", "", "", "", "",
store, nil, nil)
go evts.Run()
// test
ch <- ev
select {
case <-tc.done:
case <-time.Tick(3 * time.Second):
Fail("timeout waiting for notification")
}
},
Entry("Share Created daily", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.ShareCreated{
Sharer: executant.GetId(),
GranteeGroupID: &group.GroupId{},
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
ItemID: resourceid,
},
},
"daily"),
Entry("Share Expired daily", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.ShareExpired{
ShareOwner: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
ItemID: resourceid,
},
},
"daily"),
Entry("Share Removed daily", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.ShareRemoved{
Executant: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ItemID: resourceid,
},
},
"daily"),
Entry("Added to Space daily", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.SpaceShared{
Executant: executant.GetId(),
Creator: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
},
"daily"),
Entry("Removed from Space daily", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.SpaceUnshared{
Executant: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
},
"daily"),
Entry("Space Expired daily", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.SpaceMembershipExpired{
SpaceOwner: executant.GetId(),
GranteeGroupID: &group.GroupId{},
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
SpaceName: "secret space",
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
},
},
"daily"),
Entry("Share Created weekly", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.ShareCreated{
Sharer: executant.GetId(),
GranteeGroupID: &group.GroupId{},
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
ItemID: resourceid,
},
},
"weekly"),
Entry("Share Expired weekly", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.ShareExpired{
ShareOwner: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
ItemID: resourceid,
},
},
"weekly"),
Entry("Share Removed weekly", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.ShareRemoved{
Executant: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ItemID: resourceid,
},
},
"weekly"),
Entry("Added to Space weekly", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.SpaceShared{
Executant: executant.GetId(),
Creator: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
},
"weekly"),
Entry("Removed from Space weekly", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.SpaceUnshared{
Executant: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
},
"weekly"),
Entry("Space Expired weekly", testChannelGroupedStore{
done: make(chan struct{}),
}, events.Event{
Event: events.SpaceMembershipExpired{
SpaceOwner: executant.GetId(),
GranteeGroupID: &group.GroupId{},
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
SpaceName: "secret space",
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
},
},
"weekly"),
)
})
var _ = Describe("Notifications grouped send", func() {
const sender = "foo@bar.com"
const subject = "Report"
var (
gatewayClient *cs3mocks.GatewayAPIClient
gatewaySelector pool.Selectable[gateway.GatewayAPIClient]
valueService *settingsmocks.ValueService
store *storemocks.Store
historyClient *ehmocks.EventHistoryService
executant = &user.User{
Id: &user.UserId{
OpaqueId: "executantId",
},
Mail: "executant@owncloud.com",
DisplayName: "executant",
}
receiver = &user.User{
Id: &user.UserId{
OpaqueId: "receiver",
},
Mail: "receiver@owncloud.com",
DisplayName: "receiver",
}
resourceid = &provider.ResourceId{
StorageId: "storageid",
SpaceId: "spaceid",
OpaqueId: "itemid",
}
)
DescribeTable("Sending notifications",
func(tc testChannel, storedEvents []events.Event, interval string) {
// setup mocks
// Note: This is done here and not inside a BeforeEach, because some mocks need variables from entries.
b, err := json.Marshal(userEventIds{
User: receiver,
EventIds: []string{"event id"},
})
if err != nil {
Fail(err.Error())
}
store = &storemocks.Store{}
store.EXPECT().List(mock.Anything).Return([]string{"key"}, nil)
store.EXPECT().Read(mock.Anything).Return([]*microstore.Record{{Value: b}}, nil).Once()
store.EXPECT().Delete(mock.Anything).Return(nil).Once()
var hcEvs []*ehmsg.Event
for _, e := range storedEvents {
b, err = json.Marshal(e.Event)
if err != nil {
Fail(err.Error())
}
hcEvs = append(hcEvs, &ehmsg.Event{Type: e.Type, Event: b})
}
historyClient = &ehmocks.EventHistoryService{}
historyClient.EXPECT().GetEvents(mock.Anything, mock.Anything).Return(&v0.GetEventsResponse{Events: hcEvs}, nil)
// locale
valueService = &settingsmocks.ValueService{}
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).Return(&settingssvc.GetValueResponse{
Value: &settingsmsg.ValueWithIdentifier{
Value: &settingsmsg.Value{
Value: &settingsmsg.Value_ListValue{
ListValue: &settingsmsg.ListValue{
Values: []*settingsmsg.ListOptionValue{
{
Option: &settingsmsg.ListOptionValue_StringValue{StringValue: "en"},
},
},
},
},
},
},
}, nil).Once()
pool.RemoveSelector("GatewaySelector" + "com.owncloud.api.gateway")
gatewayClient = &cs3mocks.GatewayAPIClient{}
gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient](
"GatewaySelector",
"com.owncloud.api.gateway",
func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient {
return gatewayClient
},
)
gatewayClient.EXPECT().Authenticate(mock.Anything, mock.Anything).Return(&gateway.AuthenticateResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: executant}, nil)
gatewayClient.EXPECT().Stat(mock.Anything, mock.Anything).Return(&provider.StatResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, Info: &provider.ResourceInfo{Name: "secrets of the board", Space: &provider.StorageSpace{Name: "secret space"}}}, nil)
gatewayClient.EXPECT().GetUser(mock.Anything, mock.Anything).
Return(&user.GetUserResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: executant}, nil).Once()
// setup EventsNotifier
evs := []events.Unmarshaller{
events.ShareCreated{},
events.ShareExpired{},
events.ShareRemoved{},
events.SpaceShared{},
events.SpaceUnshared{},
events.SpaceMembershipExpired{},
events.SendEmailsEvent{},
}
registeredEvents := make(map[string]events.Unmarshaller)
for _, e := range evs {
typ := reflect.TypeOf(e)
registeredEvents[typ.String()] = e
}
ch := make(chan events.Event)
evts := NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, valueService, "",
"", "", "", "", "",
sender, store, historyClient, registeredEvents)
go evts.Run()
// trigger sending
ch <- events.Event{
Event: events.SendEmailsEvent{
Interval: interval,
},
}
select {
case <-tc.done:
case <-time.Tick(3 * time.Second):
Fail("timeout waiting for notification")
}
},
// daily
Entry("Share Created daily", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.ShareCreated{}).String(),
Event: events.ShareCreated{
Sharer: executant.GetId(),
GranteeUserID: receiver.GetId(),
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
ItemID: resourceid,
},
}}, "daily"),
Entry("Share Expired daily", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`Your share to secrets of the board has expired at 2023-04-17 16:42:00
Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`Your share to secrets of the board has expired at 2023-04-17 16:42:00<br><br>Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.ShareExpired{}).String(),
Event: events.ShareExpired{
ShareOwner: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
ItemID: resourceid,
},
}}, "daily"),
Entry("Share Removed daily", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has unshared 'secrets of the board' with you.
Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has unshared 'secrets of the board' with you.<br><br>Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.ShareRemoved{}).String(),
Event: events.ShareRemoved{
Executant: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ItemID: resourceid,
},
}}, "daily"),
Entry("Added to Space daily", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has invited you to join "secret space".`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has invited you to join "secret space".`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.SpaceShared{}).String(),
Event: events.SpaceShared{
Executant: executant.GetId(),
Creator: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
}}, "daily"),
Entry("Removed from Space daily", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has removed you from "secret space".
You might still have access through your other groups or direct membership.`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has removed you from "secret space".<br><br>You might still have access through your other groups or direct membership.`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.SpaceUnshared{}).String(),
Event: events.SpaceUnshared{
Executant: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
}}, "daily"),
Entry("Space Expired daily", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`Your membership of space secret space has expired at 2023-04-17 16:42:00
Even though this membership has expired you still might have access through other shares and/or space memberships`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`Your membership of space secret space has expired at 2023-04-17 16:42:00<br><br>Even though this membership has expired you still might have access through other shares and/or space memberships`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.SpaceMembershipExpired{}).String(),
Event: events.SpaceMembershipExpired{
SpaceOwner: executant.GetId(),
GranteeGroupID: &group.GroupId{},
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
SpaceName: "secret space",
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
},
}}, "daily"),
Entry("Share Created and Space Expired grouped daily", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.
Your membership of space secret space has expired at 2023-04-17 16:42:00
Even though this membership has expired you still might have access through other shares and/or space memberships`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.<br><br><br>Your membership of space secret space has expired at 2023-04-17 16:42:00<br><br>Even though this membership has expired you still might have access through other shares and/or space memberships`}),
done: make(chan struct{}),
}, []events.Event{
{
Type: reflect.TypeOf(events.ShareCreated{}).String(),
Event: events.ShareCreated{
Sharer: executant.GetId(),
GranteeUserID: receiver.GetId(),
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
ItemID: resourceid,
},
},
{
Type: reflect.TypeOf(events.SpaceMembershipExpired{}).String(),
Event: events.SpaceMembershipExpired{
SpaceOwner: executant.GetId(),
GranteeGroupID: &group.GroupId{},
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
SpaceName: "secret space",
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
},
},
}, "daily"),
// weekly
Entry("Share Created weekly", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.ShareCreated{}).String(),
Event: events.ShareCreated{
Sharer: executant.GetId(),
GranteeUserID: receiver.GetId(),
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
ItemID: resourceid,
},
}}, "weekly"),
Entry("Share Expired weekly", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`Your share to secrets of the board has expired at 2023-04-17 16:42:00
Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`Your share to secrets of the board has expired at 2023-04-17 16:42:00<br><br>Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.ShareExpired{}).String(),
Event: events.ShareExpired{
ShareOwner: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
ItemID: resourceid,
},
}}, "weekly"),
Entry("Share Removed weekly", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has unshared 'secrets of the board' with you.
Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has unshared 'secrets of the board' with you.<br><br>Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.ShareRemoved{}).String(),
Event: events.ShareRemoved{
Executant: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ItemID: resourceid,
},
}}, "weekly"),
Entry("Added to Space weekly", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has invited you to join "secret space".`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has invited you to join "secret space".`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.SpaceShared{}).String(),
Event: events.SpaceShared{
Executant: executant.GetId(),
Creator: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
}}, "weekly"),
Entry("Removed from Space weekly", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has removed you from "secret space".
You might still have access through your other groups or direct membership.`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has removed you from "secret space".<br><br>You might still have access through your other groups or direct membership.`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.SpaceUnshared{}).String(),
Event: events.SpaceUnshared{
Executant: executant.GetId(),
GranteeGroupID: &group.GroupId{},
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
}}, "weekly"),
Entry("Space Expired weekly", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`Your membership of space secret space has expired at 2023-04-17 16:42:00
Even though this membership has expired you still might have access through other shares and/or space memberships`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`Your membership of space secret space has expired at 2023-04-17 16:42:00<br><br>Even though this membership has expired you still might have access through other shares and/or space memberships`}),
done: make(chan struct{}),
}, []events.Event{{
Type: reflect.TypeOf(events.SpaceMembershipExpired{}).String(),
Event: events.SpaceMembershipExpired{
SpaceOwner: executant.GetId(),
GranteeGroupID: &group.GroupId{},
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
SpaceName: "secret space",
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
},
}}, "weekly"),
Entry("Share Created and Space Expired grouped weekly", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
expectedSubject: subject,
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.
Your membership of space secret space has expired at 2023-04-17 16:42:00
Even though this membership has expired you still might have access through other shares and/or space memberships`}),
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.<br><br><br>Your membership of space secret space has expired at 2023-04-17 16:42:00<br><br>Even though this membership has expired you still might have access through other shares and/or space memberships`}),
done: make(chan struct{}),
}, []events.Event{
{
Type: reflect.TypeOf(events.ShareCreated{}).String(),
Event: events.ShareCreated{
Sharer: executant.GetId(),
GranteeUserID: receiver.GetId(),
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
ItemID: resourceid,
},
},
{
Type: reflect.TypeOf(events.SpaceMembershipExpired{}).String(),
Event: events.SpaceMembershipExpired{
SpaceOwner: executant.GetId(),
GranteeGroupID: &group.GroupId{},
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
SpaceName: "secret space",
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
},
},
}, "weekly"),
)
})
func buildExpectedTextBodyGrouped(receiver string, events []string) string {
body := strings.Join(events, "\n\n\n")
return fmt.Sprintf(
`Hi %s,
%s
---
ownCloud - Store. Share. Work.
https://owncloud.com
`, receiver, body)
}
func buildExpectedHTMLBodyGrouped(receiver string, events []string) string {
body := strings.Join(events, "<br><br><br>")
return fmt.Sprintf(
`<!DOCTYPE html>
<html>
<body>
<table cellspacing="0" cellpadding="0" border="0" width="100%%">
<tr>
<td>
<table cellspacing="0" cellpadding="0" border="0" width="600px">
<tr>
<td width="20px">&nbsp;</td>
<td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">
Hi %s,
<br><br>
%s
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
<tr>
<td width="20px">&nbsp;</td>
<td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">
<footer>
<br>
<br>
--- <br>
ownCloud - Store. Share. Work.<br>
<a href="https://owncloud.com">https://owncloud.com</a>
</footer>
</td>
</tr>
<tr>
<td colspan="2">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
`, receiver, body)
}
// NOTE: This is explicitly not testing the message itself. Should we?
type testChannel struct {
expectedReceipients []string
expectedSubject string
@@ -470,7 +1275,7 @@ type testChannel struct {
done chan struct{}
}
func (tc testChannel) SendMessage(ctx context.Context, m *channels.Message) error {
func (tc testChannel) SendMessage(_ context.Context, m *channels.Message) error {
defer GinkgoRecover()
Expect(tc.expectedReceipients).To(Equal(m.Recipient))
@@ -483,3 +1288,14 @@ func (tc testChannel) SendMessage(ctx context.Context, m *channels.Message) erro
tc.done <- struct{}{}
return nil
}
type testChannelGroupedStore struct {
done chan struct{}
}
func (tc testChannelGroupedStore) SendMessage(_ context.Context, _ *channels.Message) error {
defer GinkgoRecover()
tc.done <- struct{}{}
return nil
}
@@ -160,3 +160,73 @@ func (s eventsNotifier) prepareShareExpired(logger zerolog.Logger, e events.Shar
return shareFolder, ctx, err
}
func (s eventsNotifier) handleShareRemoved(e events.ShareRemoved, eventId string) {
logger := s.logger.With().
Str("event", "ShareRemoved").
Str("itemid", e.ItemID.OpaqueId).
Logger()
executant, shareFolder, ctx, err := s.prepareShareRemoved(logger, e)
if err != nil {
logger.Error().Err(err).Msg("could not prepare vars for email")
return
}
granteeList := s.ensureGranteeList(ctx, executant.GetId(), e.GranteeUserID, e.GranteeGroupID)
filteredGrantees := s.filter.execute(ctx, granteeList, defaults.SettingUUIDProfileEventShareRemoved)
recipientsInstant, recipientsDaily, recipientsInstantWeekly := s.splitter.execute(ctx, filteredGrantees)
recipientsInstant = append(recipientsInstant, s.userEventStore.persist(_intervalDaily, eventId, recipientsDaily)...)
recipientsInstant = append(recipientsInstant, s.userEventStore.persist(_intervalWeekly, eventId, recipientsInstantWeekly)...)
if recipientsInstant == nil {
return
}
sharerDisplayName := executant.GetDisplayName()
emails, err := s.render(ctx, email.ShareRemoved,
"ShareGrantee",
map[string]string{
"ShareSharer": sharerDisplayName,
"ShareFolder": shareFolder,
}, recipientsInstant, sharerDisplayName)
if err != nil {
logger.Error().Err(err).Msg("could not get render the email")
return
}
s.send(ctx, emails)
}
func (s eventsNotifier) prepareShareRemoved(logger zerolog.Logger, e events.ShareRemoved) (executant *user.User, shareFolder string, ctx context.Context, err error) {
gatewayClient, err := s.gatewaySelector.Next()
if err != nil {
logger.Error().Err(err).Msg("could not select next gateway client")
return executant, shareFolder, ctx, err
}
ctx, err = utils.GetServiceUserContextWithContext(context.Background(), gatewayClient, s.serviceAccountID, s.serviceAccountSecret)
if err != nil {
logger.Error().Err(err).Msg("could not get service user context")
return executant, shareFolder, ctx, err
}
resourceInfo, err := s.getResourceInfo(ctx, e.ItemID, &fieldmaskpb.FieldMask{Paths: []string{"name"}})
if err != nil {
logger.Error().
Err(err).
Msg("could not stat resource")
return executant, shareFolder, ctx, err
}
shareFolder = resourceInfo.Name
executant, err = utils.GetUserWithContext(ctx, e.Executant, gatewayClient)
if err != nil {
logger.Error().
Err(err).
Msg("could not get user")
return executant, shareFolder, ctx, err
}
return executant, shareFolder, ctx, err
}
+1 -1
View File
@@ -46,7 +46,7 @@ func (d defaultRoleAssigner) UpdateUserRoleAssignment(ctx context.Context, user
if user.Id.Type == cs3.UserType_USER_TYPE_PRIMARY || user.Id.Type == cs3.UserType_USER_TYPE_GUEST {
roleId := settingsService.BundleUUIDRoleUser
if user.Id.Type == cs3.UserType_USER_TYPE_GUEST {
roleId = settingsService.BundleUUIDRoleGuest
roleId = settingsService.BundleUUIDRoleUserLight
}
d.logger.Info().Str("userid", user.Id.OpaqueId).Msg("user has no role assigned, assigning default user role")
ctx = metadata.Set(ctx, middleware.AccountID, user.Id.OpaqueId)
@@ -16,7 +16,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-09 10:58+0000\n"
"POT-Creation-Date: 2025-01-30 00:53+0000\n"
"PO-Revision-Date: 2025-01-08 11:08+0000\n"
"Last-Translator: Martin <github@diemattels.at>, 2025\n"
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
@@ -0,0 +1,147 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# de2286e7b84b28568a252c2543472b1e, 2025
# Andi Chandler <andi@gowling.com>, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
"PO-Revision-Date: 2025-01-08 11:08+0000\n"
"Last-Translator: Andi Chandler <andi@gowling.com>, 2025\n"
"Language-Team: English (United Kingdom) (https://app.transifex.com/owncloud-org/teams/6149/en_GB/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en_GB\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. name of the notification option 'Space Shared'
#: pkg/store/defaults/templates.go:20
msgid "Added as space member"
msgstr "Added as space member"
#. translation for the 'daily' email interval option
#: pkg/store/defaults/templates.go:50
msgid "Daily"
msgstr "Daily"
#. name of the notification option 'Email Interval'
#: pkg/store/defaults/templates.go:44
msgid "Email sending interval"
msgstr "Email sending interval"
#. name of the notification option 'File Rejected'
#: pkg/store/defaults/templates.go:40
msgid "File rejected"
msgstr "File rejected"
#. translation for the 'instant' email interval option
#: pkg/store/defaults/templates.go:48
msgid "Instant"
msgstr "Instant"
#. translation for the 'never' email interval option
#: pkg/store/defaults/templates.go:54
msgid "Never"
msgstr "Never"
#. description of the notification option 'Space Shared'
#: pkg/store/defaults/templates.go:22
msgid "Notify when I have been added as a member to a space"
msgstr "Notify when I have been added as a member to a space"
#. description of the notification option 'Space Unshared'
#: pkg/store/defaults/templates.go:26
msgid "Notify when I have been removed as member from a space"
msgstr "Notify when I have been removed as member from a space"
#. description of the notification option 'Share Received'
#: pkg/store/defaults/templates.go:10
msgid "Notify when I have received a share"
msgstr "Notify when I have received a share"
#. description of the notification option 'File Rejected'
#: pkg/store/defaults/templates.go:42
msgid ""
"Notify when a file I uploaded was rejected because of a virus infection or "
"policy violation"
msgstr ""
"Notify when a file I uploaded was rejected because of a virus infection or "
"policy violation"
#. description of the notification option 'Share Removed'
#: pkg/store/defaults/templates.go:14
msgid "Notify when a received share has been removed"
msgstr "Notify when a received share has been removed"
#. description of the notification option 'Share Expired'
#: pkg/store/defaults/templates.go:18
msgid "Notify when a received share has expired"
msgstr "Notify when a received share has expired"
#. description of the notification option 'Space Deleted'
#: pkg/store/defaults/templates.go:38
msgid "Notify when a space I am member of has been deleted"
msgstr "Notify when a space I am member of has been deleted"
#. description of the notification option 'Space Disabled'
#: pkg/store/defaults/templates.go:34
msgid "Notify when a space I am member of has been disabled"
msgstr "Notify when a space I am member of has been disabled"
#. description of the notification option 'Space Membership Expired'
#: pkg/store/defaults/templates.go:30
msgid "Notify when a space membership has expired"
msgstr "Notify when a space membership has expired"
#. name of the notification option 'Space Unshared'
#: pkg/store/defaults/templates.go:24
msgid "Removed as space member"
msgstr "Removed as space member"
#. description of the notification option 'Email Interval'
#: pkg/store/defaults/templates.go:46
msgid "Selected value:"
msgstr "Selected value:"
#. name of the notification option 'Share Expired'
#: pkg/store/defaults/templates.go:16
msgid "Share Expired"
msgstr "Share Expired"
#. name of the notification option 'Share Received'
#: pkg/store/defaults/templates.go:8
msgid "Share Received"
msgstr "Share Received"
#. name of the notification option 'Share Removed'
#: pkg/store/defaults/templates.go:12
msgid "Share Removed"
msgstr "Share Removed"
#. name of the notification option 'Space Deleted'
#: pkg/store/defaults/templates.go:36
msgid "Space deleted"
msgstr "Space deleted"
#. name of the notification option 'Space Disabled'
#: pkg/store/defaults/templates.go:32
msgid "Space disabled"
msgstr "Space disabled"
#. name of the notification option 'Space Membership Expired'
#: pkg/store/defaults/templates.go:28
msgid "Space membership expired"
msgstr "Space membership expired"
#. translation for the 'weekly' email interval option
#: pkg/store/defaults/templates.go:52
msgid "Weekly"
msgstr "Weekly"
@@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-09 10:58+0000\n"
"POT-Creation-Date: 2025-01-30 00:53+0000\n"
"PO-Revision-Date: 2025-01-08 11:08+0000\n"
"Last-Translator: Juan Carlos Garrote, 2025\n"
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-09 00:26+0000\n"
"POT-Creation-Date: 2025-01-30 00:53+0000\n"
"PO-Revision-Date: 2025-01-08 11:08+0000\n"
"Last-Translator: Roman Perekhod, 2025\n"
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
@@ -54,65 +54,65 @@ msgstr "Сразу"
msgid "Never"
msgstr "Никогда"
#. description of the notification option 'Email Interval'
#: pkg/store/defaults/templates.go:46
msgid "Notifiy me via email:"
msgstr "Уведомлять меня по Email:"
#. description of the notification option 'Space Shared'
#: pkg/store/defaults/templates.go:22
msgid "Notify me when I am added as a member to a space"
msgstr "Уведомить меня, когда я добавлен в пространство в качестве участника"
msgid "Notify when I have been added as a member to a space"
msgstr "Уведомить, когда я добавлен в качестве участника в пространство"
#. description of the notification option 'Space Unshared'
#: pkg/store/defaults/templates.go:26
msgid "Notify me when I am removed as a member from a space"
msgstr "Уведомить меня, когда я удалён из участников пространства"
msgid "Notify when I have been removed as member from a space"
msgstr "Уведомить, когда я удалён из пространства как участник"
#. description of the notification option 'Share Received'
#: pkg/store/defaults/templates.go:10
msgid "Notify me when I receive a share"
msgstr "Уведомить меня, когда я получаю общий ресурс"
msgid "Notify when I have received a share"
msgstr "Уведомить, когда я получил общий ресурс"
#. description of the notification option 'File Rejected'
#: pkg/store/defaults/templates.go:42
msgid ""
"Notify me when a file I uploaded is rejected because of virus infection or "
"Notify when a file I uploaded was rejected because of a virus infection or "
"policy violation"
msgstr ""
"Уведомить меня, когда загруженный мною файл отвергнут из-за заражения "
"вирусом или нарушения правил"
#. description of the notification option 'Space Deleted'
#: pkg/store/defaults/templates.go:38
msgid "Notify me when a space I am a member of is deleted"
msgstr "Уведомить меня, когда пространство с моим участием удалено"
#. description of the notification option 'Space Disabled'
#: pkg/store/defaults/templates.go:34
msgid "Notify me when a space I am a member of is disabled"
msgstr "Уведомить меня, когда пространство с моим участием отключено"
#. description of the notification option 'Space Membership Expired'
#: pkg/store/defaults/templates.go:30
msgid "Notify me when my membership of a space expires"
msgstr "Уведомить меня, когда моё участие в пространстве истекает"
"Уведомить, когда загруженный мною файл отвергнут из-за заражения вирусом или"
" нарушения правил"
#. description of the notification option 'Share Removed'
#: pkg/store/defaults/templates.go:14
msgid "Notify me when my shares are removed"
msgstr "Уведомить меня, когда мои общие ресурсы удалены"
msgid "Notify when a received share has been removed"
msgstr "Уведомить, когда полученный общий ресурс был удален"
#. description of the notification option 'Share Expired'
#: pkg/store/defaults/templates.go:18
msgid "Notify me when my shares expire"
msgstr "Уведомить меня, когда мои общие ресурсы истекают"
msgid "Notify when a received share has expired"
msgstr "Уведомить, когда истек срок действия полученного ресурса"
#. description of the notification option 'Space Deleted'
#: pkg/store/defaults/templates.go:38
msgid "Notify when a space I am member of has been deleted"
msgstr "Уведомить, когда удалено пространство, в котором я участвую"
#. description of the notification option 'Space Disabled'
#: pkg/store/defaults/templates.go:34
msgid "Notify when a space I am member of has been disabled"
msgstr "Уведомить, когда удалено пространство, в котором я отключено"
#. description of the notification option 'Space Membership Expired'
#: pkg/store/defaults/templates.go:30
msgid "Notify when a space membership has expired"
msgstr "Уведомить, когда членство в пространстве истекло"
#. name of the notification option 'Space Unshared'
#: pkg/store/defaults/templates.go:24
msgid "Removed as space member"
msgstr "Удален из участников пространства"
#. description of the notification option 'Email Interval'
#: pkg/store/defaults/templates.go:46
msgid "Selected value:"
msgstr "Выбранное значение:"
#. name of the notification option 'Share Expired'
#: pkg/store/defaults/templates.go:16
msgid "Share Expired"
@@ -141,7 +141,7 @@ msgstr "Пространство отключено"
#. name of the notification option 'Space Membership Expired'
#: pkg/store/defaults/templates.go:28
msgid "Space membership expired"
msgstr "Участие в пространстве истекло"
msgstr "Срок действия членства в пространстве истек"
#. translation for the 'weekly' email interval option
#: pkg/store/defaults/templates.go:52
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-09 10:58+0000\n"
"POT-Creation-Date: 2025-01-30 00:53+0000\n"
"PO-Revision-Date: 2025-01-08 11:08+0000\n"
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2025\n"
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
@@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-09 00:26+0000\n"
"POT-Creation-Date: 2025-01-30 00:53+0000\n"
"PO-Revision-Date: 2025-01-08 11:08+0000\n"
"Last-Translator: Roman Perekhod, 2025\n"
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
@@ -53,65 +53,65 @@ msgstr "Миттєво"
msgid "Never"
msgstr "Ніколи"
#. description of the notification option 'Email Interval'
#: pkg/store/defaults/templates.go:46
msgid "Notifiy me via email:"
msgstr "Повідомити мене по ел. пошті:"
#. description of the notification option 'Space Shared'
#: pkg/store/defaults/templates.go:22
msgid "Notify me when I am added as a member to a space"
msgstr "Повідомте мене, коли мене буде додано як учасника до простору"
msgid "Notify when I have been added as a member to a space"
msgstr "Повідомити, коли мене додано як учасника до простору"
#. description of the notification option 'Space Unshared'
#: pkg/store/defaults/templates.go:26
msgid "Notify me when I am removed as a member from a space"
msgstr "Повідомте мене, коли мене буде видалено як учасника з простору"
msgid "Notify when I have been removed as member from a space"
msgstr "Повідомити, коли мене видалено як учасника з простору"
#. description of the notification option 'Share Received'
#: pkg/store/defaults/templates.go:10
msgid "Notify me when I receive a share"
msgstr "Повідомте мене, коли я отримаю доступ"
msgid "Notify when I have received a share"
msgstr "Повідомити, коли я отримв доступ"
#. description of the notification option 'File Rejected'
#: pkg/store/defaults/templates.go:42
msgid ""
"Notify me when a file I uploaded is rejected because of virus infection or "
"Notify when a file I uploaded was rejected because of a virus infection or "
"policy violation"
msgstr ""
"Повідомте мене, коли завантажений мною файл відхилено через вірусну інфекцію"
" або порушення правил"
#. description of the notification option 'Space Deleted'
#: pkg/store/defaults/templates.go:38
msgid "Notify me when a space I am a member of is deleted"
msgstr "Повідомити мене, коли простір, в якому я є учасником, буде видалено"
#. description of the notification option 'Space Disabled'
#: pkg/store/defaults/templates.go:34
msgid "Notify me when a space I am a member of is disabled"
msgstr "Повідомте мене, коли простір, в якому я є учасником, вимкнено"
#. description of the notification option 'Space Membership Expired'
#: pkg/store/defaults/templates.go:30
msgid "Notify me when my membership of a space expires"
msgstr "Повідомте мене, коли закінчиться термін мого членства в просторі"
"Повідомити, коли завантажений мною файл відхилено через вірусну інфекцію або"
" порушення правил"
#. description of the notification option 'Share Removed'
#: pkg/store/defaults/templates.go:14
msgid "Notify me when my shares are removed"
msgstr "Повідомте мене, коли мої доступи будуть видалені"
msgid "Notify when a received share has been removed"
msgstr "Повідомити, коли отриманий спільний доступ видалено"
#. description of the notification option 'Share Expired'
#: pkg/store/defaults/templates.go:18
msgid "Notify me when my shares expire"
msgstr "Повідомте мене, коли закінчиться термін дії моїх доступів"
msgid "Notify when a received share has expired"
msgstr "Повідомити, коли закінчиться термін дії отриманого спільного доступу"
#. description of the notification option 'Space Deleted'
#: pkg/store/defaults/templates.go:38
msgid "Notify when a space I am member of has been deleted"
msgstr "Повідомити, коли простір, в якому я є учасником, видалено"
#. description of the notification option 'Space Disabled'
#: pkg/store/defaults/templates.go:34
msgid "Notify when a space I am member of has been disabled"
msgstr "Повідомити, коли простір, в якому я є учасником, вимкнено"
#. description of the notification option 'Space Membership Expired'
#: pkg/store/defaults/templates.go:30
msgid "Notify when a space membership has expired"
msgstr "Повідомити мене, коли термін членства в просторі закінчився"
#. name of the notification option 'Space Unshared'
#: pkg/store/defaults/templates.go:24
msgid "Removed as space member"
msgstr "Видалено як учасника простору"
#. description of the notification option 'Email Interval'
#: pkg/store/defaults/templates.go:46
msgid "Selected value:"
msgstr "Вибране значення:"
#. name of the notification option 'Share Expired'
#: pkg/store/defaults/templates.go:16
msgid "Share Expired"
@@ -140,7 +140,7 @@ msgstr "Простір вимкнено"
#. name of the notification option 'Space Membership Expired'
#: pkg/store/defaults/templates.go:28
msgid "Space membership expired"
msgstr "Термін дії членства в Просторі закінчився"
msgstr "Термін дії членства в просторі закінчився"
#. translation for the 'weekly' email interval option
#: pkg/store/defaults/templates.go:52
+3 -2
View File
@@ -10,8 +10,9 @@ const (
// BundleUUIDRoleUser represents the user role.
BundleUUIDRoleUser = "d7beeea8-8ff4-406b-8fb6-ab2dd81e6b11"
// BundleUUIDRoleGuest represents the guest role.
BundleUUIDRoleGuest = "38071a68-456a-4553-846a-fa67bf5596cc"
// BundleUUIDRoleUserLight represents the light role.
// BundleUUIDRoleGuest has been renamed to BundleUUIDRoleUserLight for consistency reasons
BundleUUIDRoleUserLight = "38071a68-456a-4553-846a-fa67bf5596cc"
// RoleManagementPermissionID is the hardcoded setting UUID for the role management permission
RoleManagementPermissionID string = "a53e601e-571f-4f86-8fec-d4576ef49c62"
@@ -13,6 +13,7 @@ const (
// BundleUUIDRoleUser represents the user role.
BundleUUIDRoleUser = "d7beeea8-8ff4-406b-8fb6-ab2dd81e6b11"
// BundleUUIDRoleUserLight represents the user light role.
// BundleUUIDRoleGuest has been renamed to BundleUUIDRoleUserLight for consistency reasons
BundleUUIDRoleUserLight = "38071a68-456a-4553-846a-fa67bf5596cc"
// BundleUUIDProfile represents the user profile.
BundleUUIDProfile = "2a506de7-99bd-4f0d-994e-c38e72c28fd9"
@@ -233,6 +234,15 @@ func generateBundleUserLightRole() *settingsmsg.Bundle {
AutoAcceptSharesPermission(Own),
DisableEmailNotificationsPermission(Own),
ProfileEmailSendingIntervalPermission(Own),
ProfileEventShareCreatedPermission(Own),
ProfileEventShareRemovedPermission(Own),
ProfileEventShareExpiredPermission(Own),
ProfileEventSpaceSharedPermission(Own),
ProfileEventSpaceUnsharedPermission(Own),
ProfileEventSpaceMembershipExpiredPermission(Own),
ProfileEventSpaceDisabledPermission(Own),
ProfileEventSpaceDeletedPermission(Own),
ProfileEventPostprocessingStepFinishedPermission(Own),
LanguageManagementPermission(Own),
},
}
@@ -318,7 +328,7 @@ func generateBundleProfileRequest() *settingsmsg.Bundle {
MultiChoiceCollectionValue: &settingsmsg.MultiChoiceCollection{
Options: []*settingsmsg.MultiChoiceCollectionOption{
&optionInAppTrue,
&optionMailFalseDisabled,
&optionMailTrue,
},
},
},
+2
View File
@@ -60,6 +60,8 @@ func (ulf userlogFilter) filterUsersBySettings(ctx context.Context, users []stri
settingId = defaults.SettingUUIDProfileEventSpaceDisabled
case events.SpaceDeleted:
settingId = defaults.SettingUUIDProfileEventSpaceDeleted
case events.PostprocessingStepFinished:
settingId = defaults.SettingUUIDProfileEventPostprocessingStepFinished
default:
// event that cannot be disabled
return users
@@ -53,6 +53,7 @@ func TestUserlogFilter_execute(t *testing.T) {
{"SpaceMembershipExpired enabled", setupMockValueService(true), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceMembershipExpired{}}, ctx: context.TODO()}, []string{"foo"}},
{"SpaceDisabled enabled", setupMockValueService(true), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceDisabled{}}, ctx: context.TODO()}, []string{"foo"}},
{"SpaceDeleted enabled", setupMockValueService(true), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceDeleted{}}, ctx: context.TODO()}, []string{"foo"}},
{"PostprocessingStepFinished enabled", setupMockValueService(true), args{users: []string{"foo"}, event: events.Event{Event: events.PostprocessingStepFinished{}}, ctx: context.TODO()}, []string{"foo"}},
{"ShareCreated disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.ShareCreated{}}, ctx: context.TODO()}, []string(nil)},
{"ShareRemoved disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.ShareRemoved{}}, ctx: context.TODO()}, []string(nil)},
{"ShareExpired disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.ShareExpired{}}, ctx: context.TODO()}, []string(nil)},
@@ -61,6 +62,7 @@ func TestUserlogFilter_execute(t *testing.T) {
{"SpaceMembershipExpired disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceMembershipExpired{}}, ctx: context.TODO()}, []string(nil)},
{"SpaceDisabled disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceDisabled{}}, ctx: context.TODO()}, []string(nil)},
{"SpaceDeleted disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceDeleted{}}, ctx: context.TODO()}, []string(nil)},
{"PostprocessingStepFinished disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.PostprocessingStepFinished{}}, ctx: context.TODO()}, []string(nil)},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
"POT-Creation-Date: 2025-01-31 00:54+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Martin Zhekov <martin03staff@gmail.com>, 2023\n"
"Language-Team: Bulgarian (Bulgaria) (https://app.transifex.com/owncloud-org/teams/6149/bg_BG/)\n"
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
"POT-Creation-Date: 2025-01-31 00:54+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Michael Barz <mbarz@owncloud.com>, 2023\n"
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
@@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
"POT-Creation-Date: 2025-01-31 00:54+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Edith Parzefall, 2024\n"
"Language-Team: German (Germany) (https://app.transifex.com/owncloud-org/teams/6149/de_DE/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
"POT-Creation-Date: 2025-01-31 00:54+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Andi Chandler <andi@gowling.com>, 2023\n"
"Language-Team: English (United Kingdom) (https://app.transifex.com/owncloud-org/teams/6149/en_GB/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
"POT-Creation-Date: 2025-01-31 00:54+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Juan Carlos Garrote, 2023\n"
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
"POT-Creation-Date: 2025-01-31 00:54+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Hugo Blackwood, 2023\n"
"Language-Team: Korean (https://app.transifex.com/owncloud-org/teams/6149/ko/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
"POT-Creation-Date: 2025-01-31 00:54+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Flávio Veras <flaviove@gmail.com>, 2023\n"
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/owncloud-org/teams/6149/pt_BR/)\n"
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-04 00:05+0000\n"
"POT-Creation-Date: 2025-01-24 00:55+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: dutty5, 2024\n"
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-04 00:05+0000\n"
"POT-Creation-Date: 2025-01-24 00:55+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: dutty5, 2024\n"
"Language-Team: Russian (Russia) (https://app.transifex.com/owncloud-org/teams/6149/ru_RU/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
"POT-Creation-Date: 2025-01-31 00:54+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2023\n"
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
"POT-Creation-Date: 2025-01-31 00:54+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Begüm Topyıldız <bgmtpyldz@gmail.com>, 2023\n"
"Language-Team: Turkish (https://app.transifex.com/owncloud-org/teams/6149/tr/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-05 00:05+0000\n"
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Keram, 2024\n"
"Language-Team: Uyghur (https://app.transifex.com/owncloud-org/teams/6149/ug/)\n"
@@ -4,16 +4,16 @@
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Roman Perekhod, 2024
# Roman Perekhod, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-06 00:03+0000\n"
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Roman Perekhod, 2024\n"
"Last-Translator: Roman Perekhod, 2025\n"
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
@@ -64,7 +64,7 @@ msgstr "Спільний доступ до ресурсу надано"
#: pkg/service/templates.go:48
msgid "Resource unshared"
msgstr "Спільний доступ до ресурсу вилучено"
msgstr "Спільний доступ до ресурсу скасовано"
#: pkg/service/templates.go:53
msgid "Share expired"
@@ -112,4 +112,4 @@ msgstr "{user} поділився {resource} з вами"
#: pkg/service/templates.go:49
msgid "{user} unshared {resource} with you"
msgstr "{user} вилучив спільний доступ до {resource} для вас"
msgstr "{user} скасував спільний доступ до {resource} для вас"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
"POT-Creation-Date: 2025-01-31 00:54+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: fnoopv <fnoopv@outlook.com>, 2024\n"
"Language-Team: Chinese Simplified (https://app.transifex.com/owncloud-org/teams/6149/zh-Hans/)\n"
Loaded 100 of 208 files, more files were not shown because too many files have changed in this diff. Show more