Compare commits

...
102 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
Niraj Acharya 2af539847a adding test for disabling mail and in app notifications for share create event 2025-01-16 15:36:02 +05:45
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
151 changed files with 3136 additions and 1015 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
+2 -2
View File
@@ -48,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)
+122 -4
View File
@@ -1,6 +1,8 @@
# 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)
@@ -58,11 +60,120 @@
The following sections list the changes for unreleased.
[unreleased]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.1...master
[unreleased]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.3...master
## Summary
* Bugfix - Fix the mail notifications for the user light: [#10864](https://github.com/owncloud/ocis/pull/10864)
* 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)
@@ -71,15 +182,16 @@ The following sections list the changes for unreleased.
* 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: [#10864](https://github.com/owncloud/ocis/pull/10864)
* 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/10864
https://github.com/owncloud/ocis/pull/10865
* Bugfix - Fix filtering of PostprocessingStepFinished events: [#10868](https://github.com/owncloud/ocis/pull/10868)
@@ -127,6 +239,12 @@ The following sections list the changes for unreleased.
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.
@@ -2,5 +2,5 @@ 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/10864
https://github.com/owncloud/ocis/pull/10865
https://github.com/owncloud/ocis/issues/10864
@@ -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:
+2 -2
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.2
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
+23 -6
View File
@@ -251,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.2 h1:/4U0MMoJE/HV07iHmfesba7uSj3I1kZRSNmLo63qR/4=
github.com/cs3org/reva/v2 v2.27.2/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=
@@ -260,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=
@@ -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.2+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
@@ -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{},
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-14 00:30+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>, 2025\n"
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
@@ -25,13 +25,13 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:65
#: 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:23 pkg/email/templates.go:50
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Zum Ansehen hier klicken: {ShareLink}"
@@ -41,20 +41,21 @@ msgid "Hello {ShareGrantee}"
msgstr "Hallo {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32
#. 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:46 pkg/email/templates.go:59
#: pkg/email/templates.go:74
#: 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:118
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr "Hallo {DisplayName},"
@@ -62,17 +63,17 @@ msgstr "Hallo {DisplayName},"
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:87 pkg/email/templates.go:104
#: 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:72
#: 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:116
#: pkg/email/templates.go:129
msgid "Report"
msgstr "Bericht"
@@ -80,9 +81,9 @@ msgstr "Bericht"
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:85 pkg/email/templates.go:102
#: 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:30
@@ -90,7 +91,7 @@ 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:76
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -112,7 +113,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:106
#: 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"
@@ -126,7 +127,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:89
#: 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"
@@ -150,18 +151,35 @@ msgstr ""
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:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} hat \"{ShareFolder}\" mit Ihnen geteilt"
#. 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:48
#: 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:61
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -172,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:44
#: 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:57
#: 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: 2025-01-10 00:47+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,13 +22,13 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:65
#: 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:23 pkg/email/templates.go:50
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Click here to view it: {ShareLink}"
@@ -38,46 +38,47 @@ msgid "Hello {ShareGrantee}"
msgstr "Hello {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32
#. 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:46 pkg/email/templates.go:59
#: pkg/email/templates.go:74
#: 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:118
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr ""
msgstr "Hi {DisplayName},"
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:87 pkg/email/templates.go:104
#: 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:72
#: 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:116
#: pkg/email/templates.go:129
msgid "Report"
msgstr ""
msgstr "Report"
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:85 pkg/email/templates.go:102
#: 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"
@@ -87,7 +88,7 @@ msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Share to '{ShareFolder}' expired at {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:76
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -110,7 +111,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:106
#: 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"
@@ -124,7 +125,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:89
#: 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"
@@ -147,18 +148,34 @@ msgstr ""
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:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} shared '{ShareFolder}' with you"
#. 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:48
#: 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:61
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -169,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:44
#: 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:57
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} removed you from {SpaceName}"
@@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-14 00:30+0000\n"
"POT-Creation-Date: 2025-01-23 16:29+0000\n"
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
"Last-Translator: Juan Carlos Garrote, 2025\n"
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
@@ -24,13 +24,13 @@ 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:65
#: 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:23 pkg/email/templates.go:50
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Click aquí para verlo: {ShareLink}"
@@ -40,20 +40,21 @@ msgid "Hello {ShareGrantee}"
msgstr "Hola {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32
#. 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:46 pkg/email/templates.go:59
#: pkg/email/templates.go:74
#: 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:118
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr "Hola {DisplayName},"
@@ -61,17 +62,17 @@ msgstr "Hola {DisplayName},"
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:87 pkg/email/templates.go:104
#: 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:72
#: 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:116
#: pkg/email/templates.go:129
msgid "Report"
msgstr "Notificar"
@@ -79,7 +80,7 @@ msgstr "Notificar"
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:85 pkg/email/templates.go:102
#: 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"
@@ -89,7 +90,7 @@ 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:76
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -112,7 +113,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:106
#: 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"
@@ -126,7 +127,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:89
#: 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"
@@ -149,18 +150,31 @@ msgstr ""
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:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} compartió '{ShareFolder}' contigo"
#. 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:48
#: 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:61
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -171,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:44
#: 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:57
#: 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-10 00:47+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,13 +22,13 @@ 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:65
#: 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:23 pkg/email/templates.go:50
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Clique aqui para visualizá-lo: {ShareLink}"
@@ -38,20 +38,21 @@ msgid "Hello {ShareGrantee}"
msgstr "Olá {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32
#. 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:46 pkg/email/templates.go:59
#: pkg/email/templates.go:74
#: 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:118
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr ""
@@ -59,17 +60,17 @@ msgstr ""
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:87 pkg/email/templates.go:104
#: 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:72
#: 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:116
#: pkg/email/templates.go:129
msgid "Report"
msgstr ""
@@ -77,7 +78,7 @@ msgstr ""
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:85 pkg/email/templates.go:102
#: 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ê"
@@ -87,7 +88,7 @@ msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Compartilhar em '{ShareFolder}' expirou em {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:76
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -110,7 +111,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:106
#: 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"
@@ -123,7 +124,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:89
#: 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"
@@ -146,18 +147,31 @@ msgstr ""
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:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} compartilhou '{ShareFolder}' com você"
#. 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:48
#: 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:61
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -168,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:44
#: 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:57
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} removeu você de {SpaceName}"
@@ -14,7 +14,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-14 00:30+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, 2025\n"
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
@@ -25,13 +25,13 @@ 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:65
#: 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:23 pkg/email/templates.go:50
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Нажмите здесь, чтобы посмотреть: {ShareLink}"
@@ -41,20 +41,21 @@ msgid "Hello {ShareGrantee}"
msgstr "Здравствуйте, {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32
#. 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:46 pkg/email/templates.go:59
#: pkg/email/templates.go:74
#: 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:118
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr "Привет {DisplayName},"
@@ -62,17 +63,17 @@ msgstr "Привет {DisplayName},"
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:87 pkg/email/templates.go:104
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "Привет,"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:72
#: 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:116
#: pkg/email/templates.go:129
msgid "Report"
msgstr "Отчет"
@@ -80,7 +81,7 @@ msgstr "Отчет"
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:85 pkg/email/templates.go:102
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr "ScienceMesh: {InitiatorName} хочет сотрудничать с вами"
@@ -90,7 +91,7 @@ msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Доступ к '{ShareFolder}' истёк {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:76
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -113,7 +114,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:106
#: 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"
@@ -127,7 +128,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:89
#: 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"
@@ -150,18 +151,34 @@ msgstr ""
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:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} поделился с вами '{ShareFolder}'"
#. 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:48
#: 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:61
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -172,11 +189,11 @@ msgstr ""
"У вас всё еще может быть доступ через другие группы или прямое членство."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:44
#: 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:57
#: 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-10 00:47+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,13 +23,13 @@ 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:65
#: 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:23 pkg/email/templates.go:50
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Нажмите здесь, чтобы посмотреть: {ShareLink}"
@@ -39,20 +39,21 @@ msgid "Hello {ShareGrantee}"
msgstr "Здравствуйте, {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32
#. 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:46 pkg/email/templates.go:59
#: pkg/email/templates.go:74
#: 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:118
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr ""
@@ -60,17 +61,17 @@ msgstr ""
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:87 pkg/email/templates.go:104
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "Привет,"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:72
#: 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:116
#: pkg/email/templates.go:129
msgid "Report"
msgstr ""
@@ -78,7 +79,7 @@ msgstr ""
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:85 pkg/email/templates.go:102
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr ""
"ScienceMesh: {InitiatorName} хочет начать использование ресурсов совместной "
@@ -90,7 +91,7 @@ msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Доступ к '{ShareFolder}' истёк {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:76
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -113,7 +114,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:106
#: 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"
@@ -127,7 +128,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:89
#: 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"
@@ -150,18 +151,31 @@ msgstr ""
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:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} поделился с вами '{ShareFolder}'"
#. 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:48
#: 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:61
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -172,11 +186,11 @@ msgstr ""
"У вас все еще может быть доступ через другие группы или прямое членство."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:44
#: 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:57
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} удалил вас из участников {SpaceName}"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-11 00:27+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>, 2025\n"
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
@@ -22,13 +22,13 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:65
#: pkg/email/templates.go:78
msgid "Click here to check it: {ShareLink}"
msgstr "Klikoni këtu që ta shihni: {ShareLink}"
#. ShareCreated email template, resolves via {{ .CallToAction }}
#. SharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:23 pkg/email/templates.go:50
#: 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}"
@@ -38,20 +38,21 @@ msgid "Hello {ShareGrantee}"
msgstr "Tungjatjeta {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32
#. 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:46 pkg/email/templates.go:59
#: pkg/email/templates.go:74
#: 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:118
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr "Njatjeta {DisplayName},"
@@ -59,25 +60,25 @@ msgstr "Njatjeta {DisplayName},"
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:87 pkg/email/templates.go:104
#: 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:72
#: 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:116
#: pkg/email/templates.go:129
msgid "Report"
msgstr ""
msgstr "Raport "
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:85 pkg/email/templates.go:102
#: 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"
@@ -87,7 +88,7 @@ msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Pjesa te “{ShareFolder}” skadoi më {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:76
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -110,7 +111,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:106
#: 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"
@@ -124,7 +125,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:89
#: 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"
@@ -147,18 +148,34 @@ msgstr ""
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:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} ndau “{ShareFolder}” me ju"
#. 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:48
#: 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:61
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -169,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:44
#: 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:57
#: 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-10 00:47+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,13 +22,13 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
#: pkg/email/templates.go:65
#: 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:23 pkg/email/templates.go:50
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "بۇ يەرنى چېكىپ كۆرۈڭ: {ShareLink}"
@@ -38,20 +38,21 @@ msgid "Hello {ShareGrantee}"
msgstr "ياخشىمۇسىز {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32
#. 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:46 pkg/email/templates.go:59
#: pkg/email/templates.go:74
#: 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:118
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr ""
@@ -59,17 +60,17 @@ msgstr ""
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:87 pkg/email/templates.go:104
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "ياخشىمۇسىز ،"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:72
#: 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:116
#: pkg/email/templates.go:129
msgid "Report"
msgstr ""
@@ -77,7 +78,7 @@ msgstr ""
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:85 pkg/email/templates.go:102
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr "ScienceMesh: {InitiatorName you سىز بىلەن ھەمكارلىشىشنى خالايدۇ"
@@ -87,7 +88,7 @@ msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "«{ShareFolder}» نىڭ ۋاقتى توشىدۇ {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:76
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -110,7 +111,7 @@ msgstr ""
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:106
#: 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"
@@ -124,7 +125,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:89
#: 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"
@@ -147,18 +148,31 @@ msgstr ""
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:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} ئورتاقلاشتى '{ShareFolder}'"
#. 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:48
#: 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:61
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -169,11 +183,11 @@ msgstr ""
"باشقا گۇرۇپپىلار ياكى بىۋاسىتە ئەزالىق سالاھىيىتىڭىز بىلەن يەنىلا زىيارەت قىلالايسىز."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:44
#: 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:57
#: pkg/email/templates.go:70
msgid "{SpaceSharer} removed you from {SpaceName}"
msgstr "{SpaceSharer} سىزنى {SpaceName from دىن ئۆچۈردى"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-14 00:30+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, 2025\n"
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
@@ -22,13 +22,13 @@ 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:65
#: 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:23 pkg/email/templates.go:50
#: pkg/email/templates.go:23 pkg/email/templates.go:63
msgid "Click here to view it: {ShareLink}"
msgstr "Натисніть тут, щоб переглянути: {ShareLink}"
@@ -38,20 +38,21 @@ msgid "Hello {ShareGrantee}"
msgstr "Привіт {ShareGrantee}"
#. ShareExpired email template, resolves via {{ .Greeting }}
#: pkg/email/templates.go:32
#. 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:46 pkg/email/templates.go:59
#: pkg/email/templates.go:74
#: 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:118
#: pkg/email/templates.go:131
msgid "Hi {DisplayName},"
msgstr "Привіт {DisplayName},"
@@ -59,17 +60,17 @@ msgstr "Привіт {DisplayName},"
#. }}
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .Greeting }}
#: pkg/email/templates.go:87 pkg/email/templates.go:104
#: pkg/email/templates.go:100 pkg/email/templates.go:117
msgid "Hi,"
msgstr "Привіт,"
#. MembershipExpired email template, Subject field (resolves directly)
#: pkg/email/templates.go:72
#: 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:116
#: pkg/email/templates.go:129
msgid "Report"
msgstr "Звіт"
@@ -77,7 +78,7 @@ msgstr "Звіт"
#. directly)
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
#. field (resolves directly)
#: pkg/email/templates.go:85 pkg/email/templates.go:102
#: pkg/email/templates.go:98 pkg/email/templates.go:115
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
msgstr "ScienceMesh: {InitiatorName} хоче співпрацювати з вами"
@@ -87,7 +88,7 @@ msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
msgstr "Спільний доступу до '{ShareFolder}' закінчився {ExpiredAt}"
#. MembershipExpired email template, resolves via {{ .MessageBody }}
#: pkg/email/templates.go:76
#: pkg/email/templates.go:89
msgid ""
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
"\n"
@@ -106,11 +107,11 @@ msgid ""
msgstr ""
"Термін дії вашого спільного доступу до {ShareFolder} закінчився {ExpiredAt}\n"
"\n"
"Навіть якщо цей спільний доступ було скасовано, ви все ще можете мати доступ через інші спільні ресурси та/або членство в групі."
"Навіть якщо цей спільний доступ було скасовано, ви все ще можете мати доступ через інші спільні ресурси та/або членство у просторі."
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
#. via {{ .MessageBody }}
#: pkg/email/templates.go:106
#: 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"
@@ -124,7 +125,7 @@ msgstr ""
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
#. .MessageBody }}
#: pkg/email/templates.go:89
#: 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"
@@ -147,18 +148,34 @@ msgstr ""
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:17
msgid "{ShareSharer} shared '{ShareFolder}' with you"
msgstr "{ShareSharer} поділився '{ShareFolder}' з вами"
#. 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:48
#: 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:61
#: pkg/email/templates.go:74
msgid ""
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
"\n"
@@ -169,11 +186,11 @@ msgstr ""
"Ви все ще можете мати доступ через інші групи або пряме членство."
#. SharedSpace email template, Subject field (resolves directly)
#: pkg/email/templates.go:44
#: 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:57
#: 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.`),
}
+18
View File
@@ -130,6 +130,24 @@ 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 {
@@ -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:
@@ -166,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",
@@ -643,6 +667,17 @@ var _ = Describe("Notifications grouped store", func() {
},
"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{
@@ -703,6 +738,17 @@ var _ = Describe("Notifications grouped store", func() {
},
"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{
@@ -840,6 +886,7 @@ var _ = Describe("Notifications grouped send", func() {
evs := []events.Unmarshaller{
events.ShareCreated{},
events.ShareExpired{},
events.ShareRemoved{},
events.SpaceShared{},
events.SpaceUnshared{},
events.SpaceMembershipExpired{},
@@ -886,6 +933,7 @@ var _ = Describe("Notifications grouped send", func() {
ItemID: resourceid,
},
}}, "daily"),
Entry("Share Expired daily", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
@@ -904,6 +952,25 @@ Even though this share has been revoked you still might have access through othe
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,
@@ -920,6 +987,7 @@ Even though this share has been revoked you still might have access through othe
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
}}, "daily"),
Entry("Removed from Space daily", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
@@ -937,6 +1005,7 @@ You might still have access through your other groups or direct membership.`}),
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
}}, "daily"),
Entry("Space Expired daily", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
@@ -956,6 +1025,7 @@ Even though this membership has expired you still might have access through othe
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,
@@ -1007,6 +1077,7 @@ Even though this membership has expired you still might have access through othe
ItemID: resourceid,
},
}}, "weekly"),
Entry("Share Expired weekly", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
@@ -1025,6 +1096,25 @@ Even though this share has been revoked you still might have access through othe
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,
@@ -1041,6 +1131,7 @@ Even though this share has been revoked you still might have access through othe
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
}}, "weekly"),
Entry("Removed from Space weekly", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
@@ -1058,6 +1149,7 @@ You might still have access through your other groups or direct membership.`}),
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
},
}}, "weekly"),
Entry("Space Expired weekly", testChannel{
expectedReceipients: []string{receiver.GetMail()},
expectedSender: sender,
@@ -1077,6 +1169,7 @@ Even though this membership has expired you still might have access through othe
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,
@@ -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
}
@@ -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-10 00:47+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"
@@ -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-10 00:47+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"
@@ -328,7 +328,7 @@ func generateBundleProfileRequest() *settingsmsg.Bundle {
MultiChoiceCollectionValue: &settingsmsg.MultiChoiceCollection{
Options: []*settingsmsg.MultiChoiceCollectionOption{
&optionInAppTrue,
&optionMailFalseDisabled,
&optionMailTrue,
},
},
},
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-11 00:27+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: 2025-01-11 00:27+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: 2025-01-11 00:27+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: 2025-01-11 00:27+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: 2025-01-11 00:27+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: 2025-01-11 00:27+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: 2025-01-11 00:27+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: 2025-01-11 00:27+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: 2025-01-11 00:27+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: 2025-01-11 00:27+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"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2025-01-11 00:27+0000\n"
"POT-Creation-Date: 2025-01-31 00:54+0000\n"
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
"Last-Translator: Shouyuan, 2023\n"
"Language-Team: Chinese (China) (https://app.transifex.com/owncloud-org/teams/6149/zh_CN/)\n"
+1 -1
View File
@@ -1,6 +1,6 @@
SHELL := bash
NAME := web
WEB_ASSETS_VERSION = v11.1.0
WEB_ASSETS_VERSION = v11.1.2
include ../../.make/recursion.mk
+1 -1
View File
@@ -2,7 +2,7 @@
sonar.projectKey=owncloud_ocis
sonar.organization=owncloud-1
sonar.projectName=ocis
sonar.projectVersion=7.1.0-rc.2
sonar.projectVersion=7.1.0-rc.4
sonar.host.url=https://sonarcloud.io
# =====================================================
+26 -5
View File
@@ -30,6 +30,8 @@ use Psr\Http\Message\ResponseInterface;
* A helper class for managing emails
*/
class EmailHelper {
public const MAILBOX_ENDPOINT = "/api/v1/mailbox";
/**
* @param string $emailAddress
*
@@ -93,14 +95,33 @@ class EmailHelper {
* @throws GuzzleException
*/
public static function getMailBoxInformation(string $mailBox, ?string $xRequestId = null): array {
$url = self::getLocalEmailUrl() . self::MAILBOX_ENDPOINT . "/$mailBox";
$headers = ['Content-Type' => 'application/json'];
$response = HttpRequestHelper::get(
self::getLocalEmailUrl() . "/api/v1/mailbox/" . $mailBox,
$url,
$xRequestId,
null,
null,
['Content-Type' => 'application/json']
$headers
);
return \json_decode($response->getBody()->getContents());
$emails = \json_decode($response->getBody()->getContents());
if (empty($emails)) {
echo "[INFO] Mailbox is empty...\n";
// Wait for 1 second and try again
// the mailbox might not be created yet
sleep(1);
$response = HttpRequestHelper::get(
$url,
$xRequestId,
null,
null,
$headers
);
$emails = \json_decode($response->getBody()->getContents());
}
return $emails;
}
/**
@@ -119,7 +140,7 @@ class EmailHelper {
?string $xRequestId = null
): object {
$response = HttpRequestHelper::get(
self::getLocalEmailUrl() . "/api/v1/mailbox/" . $mailBox . "/" . $mailboxId,
self::getLocalEmailUrl() . self::MAILBOX_ENDPOINT . "/$mailBox/$mailboxId",
$xRequestId,
null,
null,
@@ -184,7 +205,7 @@ class EmailHelper {
string $mailBox
): ResponseInterface {
return HttpRequestHelper::delete(
$localInbucketUrl . "/api/v1/mailbox/" . $mailBox,
$localInbucketUrl . self::MAILBOX_ENDPOINT . "/$mailBox",
$xRequestId
);
}
@@ -46,6 +46,15 @@ class GraphHelper {
'Denied' => '63e64e19-8d43-42ec-a738-2b6af2610efa',
];
public const SHARING_LINK_TYPE_MAPPINGS = [
'View' => 'view',
'Internal' => 'internal',
'Edit' => 'edit',
'Upload' => 'upload',
'File Drop' => 'createOnly',
'Secure View' => 'blocksDownload',
];
public const SHARES_SPACE_ID = 'a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668';
/**
@@ -380,6 +380,40 @@ class NotificationContext implements Context {
return $filteredNotifications;
}
/**
* filter notification according to subject and space
*
* @param string $subject
* @param string $space
* @param ResponseInterface|null $response
*
* @return array
*/
public function filterNotificationsBySubjectAndSpace(
string $subject,
string $space,
?ResponseInterface $response = null
): array {
$filteredNotifications = [];
$response = $response ?? $this->featureContext->getResponse();
$responseObject = $this->featureContext->getJsonDecodedResponseBodyContent($response);
if (!isset($responseObject->ocs->data)) {
Assert::fail("Response doesn't contain notification: " . print_r($responseObject, true));
}
$notifications = $responseObject->ocs->data;
foreach ($notifications as $notification) {
if (isset($notification->subject) && $notification->subject === $subject
&& isset($notification->messageRichParameters->space->name)
&& $notification->messageRichParameters->space->name === $space
) {
$this->notificationIds[] = $notification->notification_id;
$filteredNotifications[] = $notification;
}
}
return $filteredNotifications;
}
/**
* @Then /^user "([^"]*)" should (?:get|have) a notification with subject "([^"]*)" and message:$/
*
@@ -466,21 +500,27 @@ class NotificationContext implements Context {
}
/**
* @Then user :user should not have a notification related to resource :resource with subject :subject
* @Then /^user "([^"]*)" should not have a notification related to (resource|space) "([^"]*)" with subject "([^"]*)"$/
*
* @param string $user
* @param string $resourceOrSpace
* @param string $resource
* @param string $subject
*
* @return void
*/
public function userShouldNotHaveANotificationRelatedToResourceWithSubject(
public function userShouldNotHaveANotificationRelatedToResourceOrSpaceWithSubject(
string $user,
string $resourceOrSpace,
string $resource,
string $subject
): void {
$response = $this->listAllNotifications($user);
$filteredResponse = $this->filterNotificationsBySubjectAndResource($subject, $resource, $response);
if ($resourceOrSpace === "space") {
$filteredResponse = $this->filterNotificationsBySubjectAndSpace($subject, $resource, $response);
} else {
$filteredResponse = $this->filterNotificationsBySubjectAndResource($subject, $resource, $response);
}
Assert::assertCount(
0,
$filteredResponse,
@@ -632,14 +672,13 @@ class NotificationContext implements Context {
*/
public function clearInbucketMessages(): void {
try {
if (!empty($this->featureContext->emailRecipients)) {
foreach ($this->featureContext->emailRecipients as $emailRecipient) {
EmailHelper::deleteAllEmailsForAMailbox(
EmailHelper::getLocalEmailUrl(),
$this->featureContext->getStepLineRef(),
$emailRecipient
);
}
$usersList = $this->featureContext->getAllCreatedUsers();
foreach ($usersList as $emailRecipient) {
EmailHelper::deleteAllEmailsForAMailbox(
EmailHelper::getLocalEmailUrl(),
$this->featureContext->getStepLineRef(),
$emailRecipient['email']
);
}
} catch (Exception $e) {
echo __METHOD__ .
@@ -105,7 +105,7 @@ class OcisConfigContext implements Context {
$roleId = GraphHelper::getPermissionsRoleIdByName($role);
$defaultRoles = array_values(GraphHelper::DEFAULT_PERMISSIONS_ROLES);
if (!\in_array($role, $defaultRoles)) {
if (!\in_array($roleId, $defaultRoles)) {
$defaultRoles[] = $roleId;
}
$envs = [
+44 -5
View File
@@ -562,11 +562,13 @@ class SettingsContext implements Context {
* @return void
*/
public function userDisablesEmailNotificationUsingTheSettingsAPI(string $user): void {
$body = $this->getBodyForNotificationSetting($user, "Disable Email Notifications");
$body["value"]["boolValue"] = true;
$response = SettingsHelper::updateSettings(
$this->featureContext->getBaseUrl(),
$this->featureContext->getActualUsername($user),
$this->featureContext->getPasswordForUser($user),
json_encode($this->getBodyForNotificationSetting($user)),
json_encode($body),
$this->featureContext->getStepLineRef(),
);
$this->featureContext->setResponse($response);
@@ -574,10 +576,11 @@ class SettingsContext implements Context {
/**
* @param string $user
* @param string $event
*
* @return array
*/
public function getBodyForNotificationSetting(string $user): array {
public function getBodyForNotificationSetting(string $user, string $event): array {
$settingsValues = (json_decode(
SettingsHelper::getBundlesList(
$this->featureContext->getBaseUrl(),
@@ -587,7 +590,7 @@ class SettingsContext implements Context {
)->getBody()->getContents()
));
foreach ($settingsValues->bundles[0]->settings as $settingsValue) {
if ($settingsValue->name === "disable-email-notifications") {
if ($settingsValue->displayName === $event) {
return [
"value" => [
"account_uuid" => "me",
@@ -596,11 +599,47 @@ class SettingsContext implements Context {
"resource" => [
"type" => $settingsValue->resource->type
],
"boolValue" => true
]
];
}
}
throw new Exception(('`disable-email-notifications` not found in the setting list'));
throw new Exception("'$event' not found in the setting list");
}
/**
* @When /^user "([^"]*)" (disables|enables) notification for the following events using the settings API:$/
*
* @param string $user
* @param string $enableOrDisable
* @param TableNode $table
*
* @return void
*/
public function userDisablesNotificationForFollowingEventUsingSettingsApi(
string $user,
string $enableOrDisable,
TableNode $table
): void {
$settings = $table->getRowsHash();
Assert::assertCount(1, $settings, "only 1 event should be provided");
foreach ($settings as $event => $value) {
$body = $this->getBodyForNotificationSetting($user, $event);
if (str_contains($value, "mail")) {
$body["value"]["collectionValue"]["values"][]
= ["key" => "mail","boolValue" => $enableOrDisable === "enables"];
}
if (str_contains($value, "in-app")) {
$body["value"]["collectionValue"]["values"][]
= ["key" => "in-app","boolValue" => $enableOrDisable === "enables"];
}
$response = SettingsHelper::updateSettings(
$this->featureContext->getBaseUrl(),
$this->featureContext->getActualUsername($user),
$this->featureContext->getPasswordForUser($user),
json_encode($body),
$this->featureContext->getStepLineRef(),
);
$this->featureContext->setResponse($response);
}
}
}
@@ -90,8 +90,11 @@ class SharingNgContext implements Context {
$bodyRows['expirationDateTime'] = \array_key_exists('expirationDateTime', $bodyRows)
? \date('Y-m-d', \strtotime($bodyRows['expirationDateTime'])) . 'T14:00:00.000Z' : null;
$bodyRows['password'] = $bodyRows['password'] ?? null;
$permissionsRole = $bodyRows['permissionsRole'];
$type = GraphHelper::SHARING_LINK_TYPE_MAPPINGS[$permissionsRole] ?? $permissionsRole;
$body = [
'type' => $bodyRows['permissionsRole'],
'type' => $type,
"@libre.graph.quickLink" => filter_var($bodyRows['quickLink'], FILTER_VALIDATE_BOOLEAN),
'displayName' => $bodyRows['displayName'],
'expirationDateTime' => $bodyRows['expirationDateTime'],
@@ -124,12 +127,14 @@ class SharingNgContext implements Context {
$space = $bodyRows['space'];
$spaceId = ($this->spacesContext->getSpaceByName($user, $space))["id"];
$permissionsRole = $bodyRows['permissionsRole'];
$bodyRows['quickLink'] = $bodyRows['quickLink'] ?? false;
$bodyRows['displayName'] = $bodyRows['displayName'] ?? null;
$bodyRows['expirationDateTime'] = $bodyRows['expirationDateTime'] ?? null;
$bodyRows['password'] = $bodyRows['password'] ?? null;
$type = GraphHelper::SHARING_LINK_TYPE_MAPPINGS[$permissionsRole] ?? $permissionsRole;
$body = [
'type' => $bodyRows['permissionsRole'],
'type' => $type,
"@libre.graph.quickLink" => filter_var($bodyRows['quickLink'], FILTER_VALIDATE_BOOLEAN),
'displayName' => $bodyRows['displayName'],
'expirationDateTime' => $bodyRows['expirationDateTime'],
@@ -842,7 +847,7 @@ class SharingNgContext implements Context {
$body = [];
if (\array_key_exists('permissionsRole', $bodyRows)) {
$body['link']['type'] = $bodyRows['permissionsRole'];
$body['link']['type'] = GraphHelper::SHARING_LINK_TYPE_MAPPINGS[$bodyRows['permissionsRole']];
}
if (\array_key_exists('expirationDateTime', $bodyRows)) {
@@ -2067,13 +2072,17 @@ class SharingNgContext implements Context {
}
/**
* @Then the json response should contain the following shares:
* @Then /^the json response (should|should not) contain the following shares:$/
*
* @param string $shouldOrNot
* @param TableNode $table
*
* @return void
*/
public function theJsonResponseShouldContainTheFollowingShares(TableNode $table): void {
public function theJsonResponseShouldOrShouldNotContainTheFollowingShares(
string $shouldOrNot,
TableNode $table
): void {
$responseBody = $this->featureContext->getJsonDecodedResponseBodyContent();
$resourceNames = [];
@@ -2088,10 +2097,17 @@ class SharingNgContext implements Context {
$expectedShares = $table->getColumn(0);
foreach ($expectedShares as $expectedShare) {
Assert::assertTrue(
\in_array($expectedShare, $resourceNames),
"The share '$expectedShare' was not found in the response."
);
if ($shouldOrNot === "should not") {
Assert::assertFalse(
\in_array($expectedShare, $resourceNames),
"The share '$expectedShare' was found in the response."
);
} else {
Assert::assertTrue(
\in_array($expectedShare, $resourceNames),
"The share '$expectedShare' was not found in the response."
);
}
}
}
+1
View File
@@ -371,6 +371,7 @@ default:
- FeatureContext: *common_feature_context_params
- SpacesContext:
- SharingNgContext:
- OcisConfigContext:
apiSharingNgLinkSharePermission:
paths:
@@ -273,7 +273,7 @@ Feature: check share activity
Given user "Alice" has created the following resource link share:
| resource | textfile.txt |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When user "Alice" lists the activities of file "textfile.txt" from space "Personal" using the Graph API
Then the HTTP status code should be "200"
@@ -378,7 +378,7 @@ Feature: check share activity
Given user "Alice" has created the following resource link share:
| resource | textfile.txt |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
And user "Alice" has removed the last link share of file "textfile.txt" from space "Personal"
When user "Alice" lists the activities of file "textfile.txt" from space "Personal" using the Graph API
@@ -1067,11 +1067,11 @@ Feature: check share activity
And user "Alice" has created a space "new-space" with the default quota using the Graph API
And user "Alice" has created the following space link share:
| space | new-space |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
And user "Alice" has updated the last resource link share with
| space | new-space |
| permissionsRole | edit |
| permissionsRole | Edit |
| expirationDateTime | 2200-07-15T14:00:00.000Z |
And user "Alice" has set the following password for the last link share:
| resource | |
@@ -1543,12 +1543,12 @@ Feature: check share activity
And user "Alice" has created the following resource link share:
| resource | textfile.txt |
| space | new-space |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
And user "Alice" has updated the last resource link share with
| resource | textfile.txt |
| space | new-space |
| permissionsRole | edit |
| permissionsRole | Edit |
| expirationDateTime | 2200-07-15T14:00:00.000Z |
And user "Alice" has set the following password for the last link share:
| resource | textfile.txt |
@@ -1849,11 +1849,11 @@ Feature: check share activity
And user "Alice" has created a space "new-space" with the default quota using the Graph API
And user "Alice" has created the following space link share:
| space | new-space |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
And user "Alice" has updated the last resource link share with
| space | new-space |
| permissionsRole | edit |
| permissionsRole | Edit |
| expirationDateTime | 2200-07-15T14:00:00.000Z |
And user "Alice" has set the following password for the last link share:
| resource | |
@@ -1871,12 +1871,12 @@ Feature: check share activity
And user "Alice" has created the following resource link share:
| resource | textfile.txt |
| space | new-space |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
And user "Alice" has updated the last resource link share with
| resource | textfile.txt |
| space | new-space |
| permissionsRole | edit |
| permissionsRole | Edit |
| expirationDateTime | 2200-07-15T14:00:00.000Z |
And user "Alice" has set the following password for the last link share:
| resource | textfile.txt |
@@ -1894,12 +1894,12 @@ Feature: check share activity
And user "Alice" has created the following resource link share:
| resource | project-folder |
| space | new-space |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
And user "Alice" has updated the last resource link share with
| resource | project-folder |
| space | new-space |
| permissionsRole | edit |
| permissionsRole | Edit |
| expirationDateTime | 2200-07-15T14:00:00.000Z |
And user "Alice" has set the following password for the last link share:
| resource | project-folder |
@@ -1958,7 +1958,7 @@ Feature: check share activity
And user "Alice" has created the following resource link share:
| resource | textfile.txt |
| space | Personal |
| permissionsRole | edit |
| permissionsRole | Edit |
| password | %public% |
And the public has uploaded file "textfile.txt" with content "public test" and password "%public%" to the last link share using the public WebDAV API
When user "Alice" lists the activities of file "textfile.txt" from space "Personal" using the Graph API
@@ -2098,7 +2098,7 @@ Feature: check share activity
And user "Alice" has created the following resource link share:
| resource | /FOLDER |
| space | Personal |
| permissionsRole | edit |
| permissionsRole | Edit |
| password | %public% |
And the public has uploaded file "text.txt" with content "added by public user" and password "%public%" to the last link share using the public WebDAV API
And the public has uploaded file "text.txt" with content "updated by public user" and password "%public%" to the last link share using the public WebDAV API
@@ -101,7 +101,7 @@ Feature: antivirus
And user "Alice" has created the following resource link share:
| resource | uploadFolder |
| space | Personal |
| permissionsRole | edit |
| permissionsRole | Edit |
| expirationDateTime | 2040-01-01T23:59:59.000Z |
When the public uploads file "filesForUpload/filesWithVirus/<file-name>" to "<new-file-name>" inside last link shared folder using the public WebDAV API
Then the HTTP status code should be "201"
@@ -126,7 +126,7 @@ Feature: antivirus
And user "Alice" has created the following resource link share:
| resource | uploadFolder |
| space | Personal |
| permissionsRole | edit |
| permissionsRole | Edit |
| password | %public% |
| expirationDateTime | 2040-01-01T23:59:59.000Z |
When the public uploads file "filesForUpload/filesWithVirus/<file-name>" to "<new-file-name>" inside last link shared folder with password "%public%" using the public WebDAV API
@@ -344,7 +344,7 @@ Feature: antivirus
And user "Alice" has created the following resource link share:
| resource | test.txt |
| space | Personal |
| permissionsRole | edit |
| permissionsRole | Edit |
When the public overwrites file "test.txt" with content "X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" using the public WebDAV API
Then the HTTP status code should be "204"
And user "Alice" should get a notification with subject "Virus found" and message:
@@ -181,7 +181,7 @@ Feature: collaboration (wopi)
And user "Alice" has created the following resource link share:
| resource | simple.odt |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When the public sends HTTP method "POST" to URL "<app-endpoint>" with password "%public%"
Then the HTTP status code should be "200"
@@ -411,7 +411,7 @@ Feature: collaboration (wopi)
And user "Alice" has created the following resource link share:
| resource | simple.odt |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When the public sends HTTP method "POST" to URL "<app-endpoint>" with password "%public%"
Then the HTTP status code should be "200"
@@ -953,9 +953,9 @@ Feature: collaboration (wopi)
And as "Alice" file "publicFolder/simple.odt" should exist
Examples:
| permissions-role |
| edit |
| upload |
| createOnly |
| Edit |
| Upload |
| File Drop |
@issue-10126 @issue-10331
Scenario: public user with permission view tries to creates odt file inside public folder using wopi endpoint
@@ -963,7 +963,7 @@ Feature: collaboration (wopi)
And user "Alice" has created the following resource link share:
| resource | publicFolder |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When the public tries to create a file "simple.odt" inside the last shared public link folder with password "%public%" using wopi endpoint
Then the HTTP status code should be "403"
@@ -1044,9 +1044,9 @@ Feature: collaboration (wopi)
| simple.odt |
Examples:
| permissions-role |
| edit |
| upload |
| createOnly |
| Edit |
| Upload |
| File Drop |
@issue-8691 @issue-10126 @issue-10331
Scenario: public user with permission view tries to create odt file inside folder of public space using wopi endpoint
@@ -1056,7 +1056,7 @@ Feature: collaboration (wopi)
And user "Alice" has created a folder "testFolder" in space "new-space"
And user "Alice" has created the following space link share:
| space | new-space |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When the public tries to create a file "simple.odt" inside folder "testFolder" in the last shared public link space with password "%public%" using wopi endpoint
Then the HTTP status code should be "403"
@@ -80,7 +80,7 @@ Feature: PROPFIND with depth:infinity
And user "Alice" has created the following resource link share:
| resource | simple-folder |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
When the public lists the resources in the last created public link with depth "infinity" using the WebDAV API
Then the HTTP status code should be "207"
And the last public link DAV response should contain these nodes
@@ -130,7 +130,7 @@ Feature: PROPFIND with depth:infinity
And user "Alice" has created the following resource link share:
| resource | simple-folder |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
When the public lists the resources in the last created public link with depth "infinity" using the WebDAV API
Then the HTTP status code should be "400"
@@ -64,7 +64,7 @@ Feature: enforce password on public link
And user "Alice" has created the following resource link share:
| resource | testfile.txt |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
When user "Alice" updates the last public link share using the sharing API with
| permissions | 3 |
| password | %public% |
@@ -156,7 +156,7 @@ Feature: enforce password on public link
And user "Alice" has created the following resource link share:
| resource | testfile.txt |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
When user "Alice" updates the last public link share using the sharing API with
| permissions | 3 |
| password | 6a0Q;A3 +i^m[ |
@@ -189,7 +189,7 @@ Feature: enforce password on public link
And user "Alice" has created the following resource link share:
| resource | testfile.txt |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
When user "Alice" updates the last public link share using the sharing API with
| permissions | 3 |
| password | Pws^ |
@@ -264,7 +264,7 @@ Feature: enforce password on public link
And user "Alice" has created the following resource link share:
| resource | testfile.txt |
| space | Personal |
| permissionsRole | internal |
| permissionsRole | Internal |
When user "Alice" updates the last public link share using the sharing API with
| permissions | 3 |
| password | <password> |
@@ -719,7 +719,7 @@ Feature: user GDPR (General Data Protection Regulation) report
And user "Alice" has created the following resource link share:
| resource | folderMain |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
| displayName | sharedlink |
When user "Alice" exports her GDPR report to "/.personal_data_export.json" using the Graph API
@@ -475,7 +475,7 @@ Feature: lock files
And user "Alice" has created the following resource link share:
| resource | PARENT |
| space | Personal |
| permissionsRole | edit |
| permissionsRole | Edit |
| password | %public% |
When the public locks "textfile0.txt" in the last public link shared folder using the public WebDAV API setting the following properties
| lockscope | <lock-scope> |
@@ -498,7 +498,7 @@ Feature: lock files
And user "Alice" has created the following resource link share:
| resource | PARENT |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When the public tries to lock "textfile0.txt" in the last public link shared folder using the public WebDAV API setting the following properties
| lockscope | <lock-scope> |
@@ -307,7 +307,7 @@ Feature: unlock locked items
And user "Alice" has created the following resource link share:
| resource | PARENT |
| space | Personal |
| permissionsRole | edit |
| permissionsRole | Edit |
| password | %public% |
And the public has locked "textfile0.txt" in the last public link shared folder setting the following properties
| lockscope | <lock-scope> |
@@ -4,13 +4,15 @@ Feature: Notification Settings
I want to manage my notification settings
So that I do not get notified of unimportant events
Scenario: disable email notification
Background:
Given these users have been created with default attributes:
| username |
| Alice |
| Brian |
And user "Alice" has uploaded file with content "some data" to "lorem.txt"
Scenario: disable email notification
When user "Brian" disables email notification using the settings API
Then the HTTP status code should be "201"
And the JSON data of the response should match
@@ -27,47 +29,25 @@ Feature: Notification Settings
"type": "object",
"required": ["extension","bundle","setting"],
"properties": {
"extension":{
"const": "ocis-accounts"
},
"bundle":{
"const": "profile"
},
"setting":{
"const": "disable-email-notifications"
}
"extension":{ "const": "ocis-accounts" },
"bundle":{ "const": "profile" },
"setting":{ "const": "disable-email-notifications" }
}
},
"value":{
"type": "object",
"required": [
"bundleId",
"settingId",
"accountUuid",
"resource",
"boolValue"
],
"required": ["id","bundleId","settingId","accountUuid","resource"],
"properties":{
"bundleId":{
"pattern":"%user_id_pattern%"
},
"settingId":{
"pattern":"%user_id_pattern%"
},
"accountUuid":{
"pattern":"%user_id_pattern%"
},
"id":{ "pattern": "%uuidv4_pattern%" },
"bundleId":{ "pattern":"%uuidv4_pattern%" },
"settingId":{ "pattern":"%uuidv4_pattern%" },
"accountUuid":{ "pattern":"%uuidv4_pattern%" },
"resource":{
"type": "object",
"required":["type"],
"properties": {
"type":{
"const": "TYPE_USER"
}
"type":{ "const": "TYPE_USER" }
}
},
"boolValue":{
"const": true
}
}
}
@@ -82,4 +62,548 @@ Feature: Notification Settings
| sharee | Brian |
| shareType | user |
| permissionsRole | Viewer |
And user "Brian" should have "0" emails
And user "Brian" should have "0" emails
Scenario: disable mail and in-app notification for Share Received event
When user "Brian" disables notification for the following events using the settings API:
| Share Received | mail,in-app |
Then the HTTP status code should be "201"
And the JSON data of the response should match
"""
{
"type": "object",
"required": ["value"],
"properties": {
"value": {
"type": "object",
"required": ["identifier","value"],
"properties": {
"identifier":{
"type": "object",
"required": ["extension","bundle","setting"],
"properties": {
"extension":{ "const": "ocis-accounts" },
"bundle":{ "const": "profile" },
"setting":{ "const": "event-share-created-options" }
}
},
"value":{
"type": "object",
"required": ["id","bundleId","settingId","accountUuid","resource","collectionValue"],
"properties":{
"id":{ "pattern":"%uuidv4_pattern%" },
"bundleId":{ "pattern":"%uuidv4_pattern%" },
"settingId":{ "pattern":"%uuidv4_pattern%" },
"accountUuid":{ "pattern":"%uuidv4_pattern%" },
"resource":{
"type": "object",
"required":["type"],
"properties": {
"type":{ "const": "TYPE_USER" }
}
},
"collectionValue":{
"type": "object",
"required":["values"],
"properties": {
"values":{
"type": "array",
"maxItems": 2,
"minItems": 2,
"uniqueItems": true,
"items": {
"oneOf": [
{
"type": "object",
"required": ["key","boolValue"],
"properties": {
"key":{ "const": "mail" },
"boolValue":{ "const": false }
}
},
{
"type": "object",
"required": ["key","boolValue"],
"properties": {
"key":{ "const": "in-app" },
"boolValue":{ "const": false }
}
}
]
}
}
}
}
}
}
}
}
}
}
"""
And user "Alice" has sent the following resource share invitation:
| resource | lorem.txt |
| space | Personal |
| sharee | Brian |
| shareType | user |
| permissionsRole | Viewer |
And user "Brian" should have "0" emails
When user "Brian" lists all notifications
Then the HTTP status code should be "200"
And the notifications should be empty
Scenario: disable mail and in-app notification for Share Removed event
Given user "Alice" has sent the following resource share invitation:
| resource | lorem.txt |
| space | Personal |
| sharee | Brian |
| shareType | user |
| permissionsRole | Viewer |
When user "Brian" disables notification for the following events using the settings API:
| Share Removed | mail, in-app |
Then the HTTP status code should be "201"
And the JSON data of the response should match
"""
{
"type": "object",
"required": ["value"],
"properties": {
"value": {
"type": "object",
"required": ["identifier","value"],
"properties": {
"identifier":{
"type": "object",
"required": ["extension","bundle","setting"],
"properties": {
"extension":{ "const": "ocis-accounts" },
"bundle":{ "const": "profile" },
"setting":{ "const": "event-share-removed-options" }
}
},
"value":{
"type": "object",
"required": ["id","bundleId","settingId","accountUuid","resource","collectionValue"],
"properties":{
"id":{ "pattern":"%uuidv4_pattern%" },
"bundleId":{ "pattern":"%uuidv4_pattern%" },
"settingId":{ "pattern":"%uuidv4_pattern%" },
"accountUuid":{ "pattern":"%uuidv4_pattern%" },
"resource":{
"type": "object",
"required":["type"],
"properties": {
"type":{ "const": "TYPE_USER" }
}
},
"collectionValue":{
"type": "object",
"required":["values"],
"properties": {
"values":{
"type": "array",
"maxItems": 2,
"minItems": 2,
"uniqueItems": true,
"items": {
"oneOf": [
{
"type": "object",
"required": ["key","boolValue"],
"properties": {
"key":{ "const": "mail" },
"boolValue":{ "const": false }
}
},
{
"type": "object",
"required": ["key","boolValue"],
"properties": {
"key":{ "const": "in-app" },
"boolValue":{ "const": false }
}
}
]
}
}
}
}
}
}
}
}
}
}
"""
And user "Alice" has removed the access of user "Brian" from resource "lorem.txt" of space "Personal"
And user "Brian" should have "1" emails
When user "Brian" lists all notifications
Then the HTTP status code should be "200"
And user "Brian" should get a notification with subject "Resource shared" and message:
| message |
| Alice Hansen shared lorem.txt with you |
But user "Brian" should not have a notification related to resource "lorem.txt" with subject "Resource unshared"
Scenario: disable mail and in-app notification for Share Removed event (Project space)
Given using spaces DAV path
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
And user "Alice" has created a space "newSpace" with the default quota using the Graph API
And user "Alice" has uploaded a file inside space "newSpace" with content "some content" to "insideSpace.txt"
And user "Alice" has sent the following resource share invitation:
| resource | insideSpace.txt |
| space | newSpace |
| sharee | Brian |
| shareType | user |
| permissionsRole | Viewer |
When user "Brian" disables notification for the following events using the settings API:
| Share Removed | mail, in-app |
Then the HTTP status code should be "201"
And the JSON data of the response should match
"""
{
"type": "object",
"required": ["value"],
"properties": {
"value": {
"type": "object",
"required": ["identifier","value"],
"properties": {
"identifier":{
"type": "object",
"required": ["extension","bundle","setting"],
"properties": {
"extension":{ "const": "ocis-accounts" },
"bundle":{ "const": "profile" },
"setting":{ "const": "event-share-removed-options" }
}
},
"value":{
"type": "object",
"required": ["id","bundleId","settingId","accountUuid","resource","collectionValue"],
"properties":{
"id":{ "pattern":"%user_id_pattern%" },
"bundleId":{ "pattern":"%user_id_pattern%" },
"settingId":{ "pattern":"%user_id_pattern%" },
"accountUuid":{ "pattern":"%user_id_pattern%" },
"resource":{
"type": "object",
"required":["type"],
"properties": {
"type":{ "const": "TYPE_USER" }
}
},
"collectionValue":{
"type": "object",
"required":["values"],
"properties": {
"values":{
"type": "array",
"maxItems": 2,
"minItems": 2,
"uniqueItems": true,
"items": {
"oneOf": [
{
"type": "object",
"required": ["key","boolValue"],
"properties": {
"key":{ "const": "mail" },
"boolValue":{ "const": false }
}
},
{
"type": "object",
"required": ["key","boolValue"],
"properties": {
"key":{ "const": "in-app" },
"boolValue":{ "const": false }
}
}
]
}
}
}
}
}
}
}
}
}
}
"""
And user "Alice" has removed the access of user "Brian" from resource "insideSpace.txt" of space "newSpace"
And user "Brian" should have "1" emails
When user "Brian" lists all notifications
Then the HTTP status code should be "200"
And user "Brian" should get a notification with subject "Resource shared" and message:
| message |
| Alice Hansen shared insideSpace.txt with you |
But user "Brian" should not have a notification related to resource "insideSpace.txt" with subject "Resource unshared"
@antivirus
Scenario Outline: disable in-app notification for File rejected event
Given using <dav-path-version> DAV path
When user "Brian" disables notification for the following events using the settings API:
| File rejected | in-app |
Then the HTTP status code should be "201"
And the JSON data of the response should match
"""
{
"type": "object",
"required": ["value"],
"properties": {
"value": {
"type": "object",
"required": ["identifier","value"],
"properties": {
"identifier":{
"type": "object",
"required": ["extension","bundle","setting"],
"properties": {
"extension":{ "const": "ocis-accounts" },
"bundle":{ "const": "profile" },
"setting":{ "const": "event-postprocessing-step-finished-options" }
}
},
"value":{
"type": "object",
"required": ["id","bundleId","settingId","accountUuid","resource","collectionValue"],
"properties":{
"id":{ "pattern":"%uuidv4_pattern%" },
"bundleId":{ "pattern":"%uuidv4_pattern%" },
"settingId":{ "pattern":"%uuidv4_pattern%" },
"accountUuid":{ "pattern":"%uuidv4_pattern%" },
"resource":{
"type": "object",
"required":["type"],
"properties": {
"type":{ "const": "TYPE_USER" }
}
},
"collectionValue":{
"type": "object",
"required":["values"],
"properties": {
"values":{
"type": "array",
"maxItems": 1,
"minItems": 1,
"uniqueItems": true,
"items": {
"oneOf": [
{
"type": "object",
"required": ["key","boolValue"],
"properties": {
"key":{ "const": "in-app" },
"boolValue":{ "const": false }
}
}
]
}
}
}
}
}
}
}
}
}
}
"""
And user "Brian" has uploaded file "filesForUpload/filesWithVirus/<file-name>" to "<new-file-name>"
When user "Brian" lists all notifications
Then the HTTP status code should be "200"
And user "Brian" should not have any notification
Examples:
| dav-path-version | file-name | new-file-name |
| old | eicar.com | virusFile1.txt |
| new | eicar.com | virusFile1.txt |
| spaces | eicar.com | virusFile1.txt |
@antivirus
Scenario: disable in-app notification for File rejected event (Project space)
Given using spaces DAV path
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
And user "Alice" has created a space "newSpace" with the default quota using the Graph API
And user "Alice" has sent the following space share invitation:
| space | newSpace |
| sharee | Brian |
| shareType | user |
| permissionsRole | Space Editor |
When user "Brian" disables notification for the following events using the settings API:
| File rejected | in-app |
Then the HTTP status code should be "201"
And the JSON data of the response should match
"""
{
"type": "object",
"required": ["value"],
"properties": {
"value": {
"type": "object",
"required": ["identifier","value"],
"properties": {
"identifier":{
"type": "object",
"required": ["extension","bundle","setting"],
"properties": {
"extension":{ "const": "ocis-accounts" },
"bundle":{ "const": "profile" },
"setting":{ "const": "event-postprocessing-step-finished-options" }
}
},
"value":{
"type": "object",
"required": ["id","bundleId","settingId","accountUuid","resource","collectionValue"],
"properties":{
"id":{ "pattern":"%uuidv4_pattern%" },
"bundleId":{ "pattern":"%uuidv4_pattern%" },
"settingId":{ "pattern":"%uuidv4_pattern%" },
"accountUuid":{ "pattern":"%uuidv4_pattern%" },
"resource":{
"type": "object",
"required":["type"],
"properties": {
"type":{ "const": "TYPE_USER" }
}
},
"collectionValue":{
"type": "object",
"required":["values"],
"properties": {
"values":{
"type": "array",
"maxItems": 1,
"minItems": 1,
"uniqueItems": true,
"items": {
"oneOf": [
{
"type": "object",
"required": ["key","boolValue"],
"properties": {
"key":{ "const": "in-app" },
"boolValue":{ "const": false }
}
}
]
}
}
}
}
}
}
}
}
}
}
"""
And user "Brian" has uploaded a file "filesForUpload/filesWithVirus/eicar.com" to "virusFile.txt" in space "newSpace"
When user "Brian" lists all notifications
Then the HTTP status code should be "200"
And user "Brian" should get a notification with subject "Space shared" and message:
| message |
| Alice Hansen added you to Space newSpace |
But user "Brian" should not have a notification related to resource "virusFile.txt" with subject "Virus found"
Scenario: disable in-app notification for Space disabled event
Given the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
And user "Alice" has created a space "new-space" with the default quota using the Graph API
And user "Alice" has sent the following space share invitation:
| space | new-space |
| sharee | Brian |
| shareType | user |
| permissionsRole | Space Viewer |
When user "Brian" disables notification for the following events using the settings API:
| Space disabled | in-app |
Then the HTTP status code should be "201"
And the JSON data of the response should match
"""
{
"type": "object",
"required": ["value"],
"properties": {
"value": {
"type": "object",
"required": ["identifier","value"],
"properties": {
"identifier":{
"type": "object",
"required": ["extension","bundle","setting"],
"properties": {
"extension":{ "const": "ocis-accounts" },
"bundle":{ "const": "profile" },
"setting":{
"const": "event-space-disabled-options"
}
}
},
"value":{
"type": "object",
"required": [
"id",
"bundleId",
"settingId",
"accountUuid",
"resource",
"collectionValue"
],
"properties":{
"id":{ "pattern":"%uuidv4_pattern%" },
"bundleId":{ "pattern":"%uuidv4_pattern%" },
"settingId":{ "pattern":"%uuidv4_pattern%" },
"accountUuid":{ "pattern":"%uuidv4_pattern%" },
"resource":{
"type": "object",
"required":["type"],
"properties": {
"type":{ "const": "TYPE_USER" }
}
},
"collectionValue":{
"type": "object",
"required":["values"],
"properties": {
"values":{
"type": "array",
"maxItems": 1,
"minItems": 1,
"uniqueItems": true,
"items": {
"oneOf": [
{
"type": "object",
"required": [
"key",
"boolValue"
],
"properties": {
"key":{ "const": "in-app" },
"boolValue":{ "const": false }
}
}
]
}
}
}
}
}
}
}
}
}
}
"""
And user "Alice" has disabled a space "new-space"
When user "Brian" lists all notifications
Then the HTTP status code should be "200"
And there should be "1" notifications
And user "Brian" should get a notification with subject "Space shared" and message:
| message |
| Alice Hansen added you to Space new-space |
But user "Brian" should not have a notification related to space "new-space" with subject "Space disabled"
@@ -106,8 +106,8 @@ Feature: filter sharing permissions
@env-config
Scenario: filter lists permissions of a file for federated user type (Personal space)
Given user "Alice" has uploaded file with content "hello world" to "/textfile0.txt"
And the administrator has enabled the permissions role "Secure Viewer"
Given the administrator has enabled the permissions role "Secure Viewer"
And user "Alice" has uploaded file with content "hello world" to "/textfile0.txt"
When user "Alice" lists permissions with following filters for file "textfile0.txt" of the space "Personal" using the Graph API:
| $filter=@libre.graph.permissions.roles.allowedValues/rolePermissions/any(p:contains(p/condition,+'@Subject.UserType=="Federated"')) |
Then the HTTP status code should be "200"
@@ -205,8 +205,8 @@ Feature: filter sharing permissions
@env-config
Scenario: filter lists permissions of a folder for Member user type (Personal space)
Given user "Alice" has created folder "folder"
And the administrator has enabled the permissions role "Denied"
Given the administrator has enabled the permissions role "Denied"
And user "Alice" has created folder "folder"
When user "Alice" lists permissions with following filters for folder "folder" of the space "Personal" using the Graph API:
| $filter=@libre.graph.permissions.roles.allowedValues/rolePermissions/any(p:contains(p/condition,+'@Subject.UserType=="Member"')) |
Then the HTTP status code should be "200"
@@ -350,8 +350,8 @@ Feature: filter sharing permissions
@env-config
Scenario: filter permissions of a file for Member user type (Personal space)
Given user "Alice" has uploaded file with content "hello world" to "/textfile0.txt"
And the administrator has enabled the permissions role "Secure Viewer"
Given the administrator has enabled the permissions role "Secure Viewer"
And user "Alice" has uploaded file with content "hello world" to "/textfile0.txt"
When user "Alice" lists permissions with following filters for file "textfile0.txt" of the space "Personal" using the Graph API:
| $filter=@libre.graph.permissions.roles.allowedValues/rolePermissions/any(p:contains(p/condition,+'@Subject.UserType=="Member"')) |
Then the HTTP status code should be "200"
@@ -484,6 +484,7 @@ Feature: filter sharing permissions
"@libre.graph.permissions.roles.allowedValues"
],
"properties": {
"@libre.graph.permissions.actions.allowedValues": { "const": null },
"@libre.graph.permissions.roles.allowedValues": {
"type": "array",
"minItems": 3,
@@ -569,8 +570,8 @@ Feature: filter sharing permissions
@env-config
Scenario: user lists allowed role permissions of a file (Personal space)
Given user "Alice" has uploaded file with content "hello world" to "/textfile0.txt"
And the administrator has enabled the permissions role "Secure Viewer"
Given the administrator has enabled the permissions role "Secure Viewer"
And user "Alice" has uploaded file with content "hello world" to "/textfile0.txt"
When user "Alice" lists permissions with following filters for file "textfile0.txt" of the space "Personal" using the Graph API:
| $select=@libre.graph.permissions.roles.allowedValues |
Then the HTTP status code should be "200"
@@ -582,6 +583,507 @@ Feature: filter sharing permissions
"@libre.graph.permissions.roles.allowedValues"
],
"properties": {
"@libre.graph.permissions.actions.allowedValues": { "const": null },
"@libre.graph.permissions.roles.allowedValues": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"uniqueItems": true,
"items": {
"oneOf": [
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 1
},
"description": {
"const": "View only documents, images and PDFs. Watermarks will be applied."
},
"displayName": {
"const": "Can view (secure)"
},
"id": {
"const": "aa97fe03-7980-45ac-9e50-b325749fd7e6"
}
}
},
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 2
},
"description": {
"const": "View and download."
},
"displayName": {
"const": "Can view"
},
"id": {
"const": "b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5"
}
}
},
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 3
},
"description": {
"const": "View, download and edit."
},
"displayName": {
"const": "Can edit"
},
"id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
}
}
}
]
}
}
}
}
"""
@env-config
Scenario: filter lists permissions of a file for Member user type (Project space)
Given using spaces DAV path
And the administrator has enabled the permissions role "Secure Viewer"
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
And user "Alice" has created a space "new-space" with the default quota using the Graph API
And user "Alice" has uploaded a file inside space "new-space" with content "some content" to "textfile.txt"
When user "Alice" lists permissions with following filters for file "textfile.txt" of the space "new-space" using the Graph API:
| $filter=@libre.graph.permissions.roles.allowedValues/rolePermissions/any(p:contains(p/condition,+'@Subject.UserType=="Member"')) |
Then the HTTP status code should be "200"
And the JSON data of the response should match
"""
{
"type": "object",
"required": [
"@libre.graph.permissions.actions.allowedValues",
"@libre.graph.permissions.roles.allowedValues"
],
"properties": {
"@libre.graph.permissions.actions.allowedValues": {
"const": [
"libre.graph/driveItem/permissions/create",
"libre.graph/driveItem/children/create",
"libre.graph/driveItem/standard/delete",
"libre.graph/driveItem/path/read",
"libre.graph/driveItem/quota/read",
"libre.graph/driveItem/content/read",
"libre.graph/driveItem/upload/create",
"libre.graph/driveItem/permissions/read",
"libre.graph/driveItem/children/read",
"libre.graph/driveItem/versions/read",
"libre.graph/driveItem/deleted/read",
"libre.graph/driveItem/path/update",
"libre.graph/driveItem/permissions/delete",
"libre.graph/driveItem/deleted/delete",
"libre.graph/driveItem/versions/update",
"libre.graph/driveItem/deleted/update",
"libre.graph/driveItem/basic/read",
"libre.graph/driveItem/permissions/update",
"libre.graph/driveItem/permissions/deny"
]
},
"@libre.graph.permissions.roles.allowedValues": {
"type": "array",
"minItems": 3,
"maxItems": 3,
"uniqueItems": true,
"items": {
"oneOf": [
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 1
},
"description": {
"const": "View only documents, images and PDFs. Watermarks will be applied."
},
"displayName": {
"const": "Can view (secure)"
},
"id": {
"const": "aa97fe03-7980-45ac-9e50-b325749fd7e6"
}
}
},
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 2
},
"description": {
"const": "View and download."
},
"displayName": {
"const": "Can view"
},
"id": {
"const": "b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5"
}
}
},
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 3
},
"description": {
"const": "View, download and edit."
},
"displayName": {
"const": "Can edit"
},
"id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
}
}
}
]
}
}
}
}
"""
@env-config
Scenario: filter lists permissions of a folder for Member user type (Project space)
Given using spaces DAV path
And the administrator has enabled the permissions role "Denied"
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
And user "Alice" has created a space "new-space" with the default quota using the Graph API
And user "Alice" has created a folder "folder" in space "new-space"
When user "Alice" lists permissions with following filters for folder "folder" of the space "new-space" using the Graph API:
| $filter=@libre.graph.permissions.roles.allowedValues/rolePermissions/any(p:contains(p/condition,+'@Subject.UserType=="Member"')) |
Then the HTTP status code should be "200"
And the JSON data of the response should match
"""
{
"type": "object",
"required": [
"@libre.graph.permissions.actions.allowedValues",
"@libre.graph.permissions.roles.allowedValues"
],
"properties": {
"@libre.graph.permissions.actions.allowedValues": {
"const": [
"libre.graph/driveItem/permissions/create",
"libre.graph/driveItem/children/create",
"libre.graph/driveItem/standard/delete",
"libre.graph/driveItem/path/read",
"libre.graph/driveItem/quota/read",
"libre.graph/driveItem/content/read",
"libre.graph/driveItem/upload/create",
"libre.graph/driveItem/permissions/read",
"libre.graph/driveItem/children/read",
"libre.graph/driveItem/versions/read",
"libre.graph/driveItem/deleted/read",
"libre.graph/driveItem/path/update",
"libre.graph/driveItem/permissions/delete",
"libre.graph/driveItem/deleted/delete",
"libre.graph/driveItem/versions/update",
"libre.graph/driveItem/deleted/update",
"libre.graph/driveItem/basic/read",
"libre.graph/driveItem/permissions/update",
"libre.graph/driveItem/permissions/deny"
]
},
"@libre.graph.permissions.roles.allowedValues": {
"type": "array",
"minItems": 4,
"maxItems": 4,
"uniqueItems": true,
"items": {
"oneOf": [
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 1
},
"description": {
"const": "Deny all access."
},
"displayName": {
"const": "Cannot access"
},
"id": {
"const": "63e64e19-8d43-42ec-a738-2b6af2610efa"
}
}
},
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 2
},
"description": {
"const": "View and download."
},
"displayName": {
"const": "Can view"
},
"id": {
"const": "b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5"
}
}
},
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 3
},
"description": {
"const": "View, download and upload."
},
"displayName": {
"const": "Can upload"
},
"id": {
"const": "1c996275-f1c9-4e71-abdf-a42f6495e960"
}
}
},
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 4
},
"description": {
"const": "View, download, upload, edit, add and delete."
},
"displayName": {
"const": "Can edit"
},
"id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
}
}
}
]
}
}
}
}
"""
@env-config
Scenario: user lists allowed role permissions of a folder (Project space)
Given using spaces DAV path
And the administrator has enabled the permissions role "Denied"
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
And user "Alice" has created a space "new-space" with the default quota using the Graph API
And user "Alice" has created a folder "folder" in space "new-space"
When user "Alice" lists permissions with following filters for folder "folder" of the space "new-space" using the Graph API:
| $select=@libre.graph.permissions.roles.allowedValues |
Then the HTTP status code should be "200"
And the JSON data of the response should match
"""
{
"type": "object",
"required": [
"@libre.graph.permissions.roles.allowedValues"
],
"properties": {
"@libre.graph.permissions.actions.allowedValues": { "const": null },
"@libre.graph.permissions.roles.allowedValues": {
"type": "array",
"minItems": 4,
"maxItems": 4,
"uniqueItems": true,
"items": {
"oneOf":[
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 1
},
"description": {
"const": "Deny all access."
},
"displayName": {
"const": "Cannot access"
},
"id": {
"const": "63e64e19-8d43-42ec-a738-2b6af2610efa"
}
}
},
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 2
},
"description": {
"const": "View and download."
},
"displayName": {
"const": "Can view"
},
"id": {
"const": "b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5"
}
}
},
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 3
},
"description": {
"const": "View, download and upload."
},
"displayName": {
"const": "Can upload"
},
"id": {
"const": "1c996275-f1c9-4e71-abdf-a42f6495e960"
}
}
},
{
"type": "object",
"required": [
"@libre.graph.weight",
"description",
"displayName",
"id"
],
"properties": {
"@libre.graph.weight": {
"const": 4
},
"description": {
"const": "View, download, upload, edit, add and delete."
},
"displayName": {
"const": "Can edit"
},
"id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
}
}
}
]
}
}
}
}
"""
@env-config
Scenario: user lists allowed role permissions of a file (Project space)
Given using spaces DAV path
And the administrator has enabled the permissions role "Secure Viewer"
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API
And user "Alice" has created a space "new-space" with the default quota using the Graph API
And user "Alice" has uploaded a file inside space "new-space" with content "some content" to "textfile.txt"
When user "Alice" lists permissions with following filters for file "textfile.txt" of the space "new-space" using the Graph API:
| $select=@libre.graph.permissions.roles.allowedValues |
Then the HTTP status code should be "200"
And the JSON data of the response should match
"""
{
"type": "object",
"required": [
"@libre.graph.permissions.roles.allowedValues"
],
"properties": {
"@libre.graph.permissions.actions.allowedValues": { "const": null },
"@libre.graph.permissions.roles.allowedValues": {
"type": "array",
"minItems": 3,
@@ -262,7 +262,7 @@ Feature: List a sharing permissions
| permissionsRole | <permissions-role> |
And user "Alice" has created the following space link share:
| space | new-space |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When user "Alice" lists the permissions of space "new-space" using permissions endpoint of the Graph API
Then the HTTP status code should be "200"
@@ -1276,7 +1276,7 @@ Feature: List a sharing permissions
| permissionsRole | <permissions-role> |
And user "Alice" has created the following space link share:
| space | new-space |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When user "Alice" lists the permissions of space "new-space" using root endpoint of the Graph API
Then the HTTP status code should be "200"
@@ -1748,7 +1748,7 @@ Feature: List a sharing permissions
And user "Alice" has created the following resource link share:
| resource | folder |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When user "Alice" gets permissions list for folder "folder" of the space "Personal" using the Graph API
Then the HTTP status code should be "200"
@@ -1853,7 +1853,7 @@ Feature: List a sharing permissions
And user "Alice" has created the following resource link share:
| resource | textfile0.txt |
| space | Personal |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When user "Alice" gets permissions list for file "textfile0.txt" of the space "Personal" using the Graph API
Then the HTTP status code should be "200"
@@ -1957,7 +1957,7 @@ Feature: List a sharing permissions
And user "Alice" has created the following resource link share:
| resource | folder |
| space | new-space |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When user "Alice" gets permissions list for folder "folder" of the space "new-space" using the Graph API
Then the HTTP status code should be "200"
@@ -2065,7 +2065,7 @@ Feature: List a sharing permissions
And user "Alice" has created the following resource link share:
| resource | textfile0.txt |
| space | new-space |
| permissionsRole | view |
| permissionsRole | View |
| password | %public% |
When user "Alice" gets permissions list for file "textfile0.txt" of the space "new-space" using the Graph API
Then the HTTP status code should be "200"
Loaded 100 of 151 files, more files were not shown because too many files have changed in this diff. Show more