Compare commits
76
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5e4b0ee28 | ||
|
|
7cee43b91c | ||
|
|
07d2cfb3a3 | ||
|
|
63ca1a172c | ||
|
|
afe2c352d0 | ||
|
|
7bd8aee76e | ||
|
|
56e24e14db | ||
|
|
d647c8ec1c | ||
|
|
10a531ed46 | ||
|
|
f88812fbc8 | ||
|
|
342fab4479 | ||
|
|
0c6a350176 | ||
|
|
afb1b40160 | ||
|
|
9c6041b270 | ||
|
|
93ae4b4c09 | ||
|
|
355ed0241e | ||
|
|
354bb33bc3 | ||
|
|
036d0d1267 | ||
|
|
2be009121a | ||
|
|
6874e577cb | ||
|
|
63c0abe910 | ||
|
|
fdf7e4b455 | ||
|
|
d6e214c1db | ||
|
|
dc6f82b240 | ||
|
|
3d4ba66533 | ||
|
|
4ec1eec805 | ||
|
|
663f114ea4 | ||
|
|
ecc7d369e5 | ||
|
|
112f853d18 | ||
|
|
4d5ade2bc2 | ||
|
|
e85da1b1a1 | ||
|
|
e4df64d739 | ||
|
|
0d9d5adbbe | ||
|
|
65edbc04f4 | ||
|
|
11f54647a8 | ||
|
|
9c2d7018b3 | ||
|
|
7c41143d53 | ||
|
|
acd7ec6ee3 | ||
|
|
bf5ba03c46 | ||
|
|
7ac1a83495 | ||
|
|
a9292d1a0a | ||
|
|
5989261cee | ||
|
|
a9c7152461 | ||
|
|
13277690c4 | ||
|
|
938ee392a3 | ||
|
|
404ace9fb4 | ||
|
|
47c15d7c03 | ||
|
|
cf492a4edf | ||
|
|
ee94d392bf | ||
|
|
6c6a8c92b9 | ||
|
|
3ca320d0cc | ||
|
|
dbc536baea | ||
|
|
53a523c4f2 | ||
|
|
c8d0e7c9e1 | ||
|
|
c21257968c | ||
|
|
e5a6073c03 | ||
|
|
eaf9d6aee8 | ||
|
|
0c256c5694 | ||
|
|
0838e32256 | ||
|
|
5517af9b74 | ||
|
|
9cfd2b512c | ||
|
|
73a6ee7708 | ||
|
|
74fc0a8d72 | ||
|
|
a867d5a482 | ||
|
|
1786496fd0 | ||
|
|
d2151ad652 | ||
|
|
965a7fc00e | ||
|
|
b89dff3dda | ||
|
|
787aed2dc5 | ||
|
|
a8e53a1d20 | ||
|
|
13d396c701 | ||
|
|
274afb6c8e | ||
|
|
f843030570 | ||
|
|
8580557403 | ||
|
|
63ecc7f988 | ||
|
|
102ec74b56 |
No files matched your search
+1
-1
@@ -1,3 +1,3 @@
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=264014d2f2a216de72114e5453cfa684ab275978
|
||||
WEB_COMMITID=add80176512a06c3c9a6c96aa955f00f019c85c3
|
||||
WEB_BRANCH=stable-11.0
|
||||
+29
-24
@@ -75,7 +75,7 @@ config = {
|
||||
"skip": False,
|
||||
},
|
||||
"k6LoadTests": {
|
||||
"skip": False,
|
||||
"skip": True,
|
||||
},
|
||||
"localApiTests": {
|
||||
"basic": {
|
||||
@@ -460,7 +460,7 @@ def cachePipeline(name, steps):
|
||||
"steps": steps,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/**",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -667,7 +667,7 @@ def testOcis(ctx):
|
||||
"steps": steps,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -699,7 +699,7 @@ def scanOcis(ctx):
|
||||
"steps": steps,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -723,7 +723,7 @@ def buildOcisBinaryForTesting(ctx):
|
||||
rebuildBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin"),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -810,7 +810,7 @@ def uploadScanResults(ctx):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
"status": [
|
||||
@@ -953,7 +953,7 @@ def codestyle(ctx):
|
||||
"depends_on": [],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1020,7 +1020,7 @@ def localApiTestPipeline(ctx):
|
||||
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1086,7 +1086,7 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
|
||||
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1205,7 +1205,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
|
||||
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1257,7 +1257,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, with_remote_php = Fa
|
||||
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -1298,7 +1298,7 @@ def e2eTestPipeline(ctx):
|
||||
|
||||
e2e_trigger = {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/**",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -1701,7 +1701,7 @@ def dockerRelease(ctx, arch, repo, build_type):
|
||||
"depends_on": depends_on,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -1862,7 +1862,7 @@ def binaryRelease(ctx, arch, build_type, target, depends_on = []):
|
||||
"depends_on": depends_on,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -1996,7 +1996,7 @@ def licenseCheck(ctx):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
@@ -2063,7 +2063,7 @@ def releaseDockerManifest(ctx, repo, build_type):
|
||||
"steps": steps,
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
],
|
||||
},
|
||||
@@ -2110,7 +2110,7 @@ def changelog():
|
||||
"push",
|
||||
],
|
||||
"message": "Automated changelog update [skip ci]",
|
||||
"branch": "master",
|
||||
"branch": "stable-7.0",
|
||||
"author_email": "devops@owncloud.com",
|
||||
"author_name": "ownClouders",
|
||||
"netrc_machine": "github.com",
|
||||
@@ -2132,9 +2132,14 @@ def changelog():
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
"event": {
|
||||
"exclude": [
|
||||
"cron",
|
||||
],
|
||||
},
|
||||
},
|
||||
}]
|
||||
|
||||
@@ -2166,7 +2171,7 @@ def releaseDockerReadme(ctx, repo, build_type):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/tags/v*",
|
||||
],
|
||||
},
|
||||
@@ -2216,7 +2221,7 @@ def docs():
|
||||
},
|
||||
"pages_directory": "docs/hugo/content/",
|
||||
"copy_contents": "true",
|
||||
"target_branch": "docs",
|
||||
"target_branch": "docs-stable-7.0",
|
||||
"delete": "true",
|
||||
},
|
||||
"when": {
|
||||
@@ -2238,7 +2243,7 @@ def docs():
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
@@ -2310,7 +2315,7 @@ def notify(ctx):
|
||||
"depends_on": [],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/heads/release*",
|
||||
"refs/tags/**",
|
||||
],
|
||||
@@ -2742,7 +2747,7 @@ def genericCachePurge(flush_path):
|
||||
],
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
"status": [
|
||||
@@ -2935,7 +2940,7 @@ def litmus(ctx, storage):
|
||||
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
|
||||
"trigger": {
|
||||
"ref": [
|
||||
"refs/heads/master",
|
||||
"refs/heads/stable-*",
|
||||
"refs/pull/**",
|
||||
],
|
||||
},
|
||||
|
||||
+135
@@ -64,12 +64,26 @@ The following sections list the changes for unreleased.
|
||||
* Bugfix - Share creation date is missing in invite response: [#10780](https://github.com/owncloud/ocis/pull/10780)
|
||||
* Bugfix - Bump some golang dependencies: [#10795](https://github.com/owncloud/ocis/pull/10795)
|
||||
* Bugfix - Allow to accepted invite after it was once deleted: [#10834](https://github.com/owncloud/ocis/pull/10834)
|
||||
* Bugfix - Fix the mail notifications for the user light: [#10864](https://github.com/owncloud/ocis/pull/10864)
|
||||
* Bugfix - Fix filtering of PostprocessingStepFinished events: [#10868](https://github.com/owncloud/ocis/pull/10868)
|
||||
* Bugfix - Prevent empty email body for grouped email notifications: [#10869](https://github.com/owncloud/ocis/pull/10869)
|
||||
* Bugfix - Consistently name roles: [#10871](https://github.com/owncloud/ocis/pull/10871)
|
||||
* Bugfix - Fix grouped email notifications store key: [#10873](https://github.com/owncloud/ocis/pull/10873)
|
||||
* Bugfix - Fix missing newline in grouped email: [#10883](https://github.com/owncloud/ocis/pull/10883)
|
||||
* Bugfix - Fix email templates white spaces & new lines: [#10884](https://github.com/owncloud/ocis/pull/10884)
|
||||
* 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 - Part I: The user settings are extended by notifications preferences: [#10706](https://github.com/owncloud/ocis/pull/10706)
|
||||
* Enhancement - Part II: Filtering of in-app notifications: [#10779](https://github.com/owncloud/ocis/pull/10779)
|
||||
* Enhancement - Part III: Filtering of mail notifications: [#10792](https://github.com/owncloud/ocis/pull/10792)
|
||||
* Enhancement - Translate Notification Settings: [#10812](https://github.com/owncloud/ocis/pull/10812)
|
||||
* Enhancement - Bump Reva: [#10830](https://github.com/owncloud/ocis/pull/10830)
|
||||
* Enhancement - Part IV: Grouping of mail notifications: [#10838](https://github.com/owncloud/ocis/pull/10838)
|
||||
* Enhancement - Update web to v11.1.0: [#10853](https://github.com/owncloud/ocis/pull/10853)
|
||||
* Enhancement - Add tests for grouped emails: [#10885](https://github.com/owncloud/ocis/pull/10885)
|
||||
* 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
|
||||
|
||||
@@ -94,6 +108,66 @@ The following sections list the changes for unreleased.
|
||||
https://github.com/owncloud/ocis/issues/10813
|
||||
https://github.com/owncloud/ocis/pull/10834
|
||||
|
||||
* Bugfix - Fix the mail notifications for the user light: [#10864](https://github.com/owncloud/ocis/pull/10864)
|
||||
|
||||
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
|
||||
|
||||
* Bugfix - Fix filtering of PostprocessingStepFinished events: [#10868](https://github.com/owncloud/ocis/pull/10868)
|
||||
|
||||
https://github.com/owncloud/ocis/issues/10867
|
||||
https://github.com/owncloud/ocis/pull/10868
|
||||
|
||||
* Bugfix - Prevent empty email body for grouped email notifications: [#10869](https://github.com/owncloud/ocis/pull/10869)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10869
|
||||
|
||||
* Bugfix - Consistently name roles: [#10871](https://github.com/owncloud/ocis/pull/10871)
|
||||
|
||||
BundleUUIDRoleGuest has been renamed to BundleUUIDRoleUserLight for consistency
|
||||
reasons
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10871
|
||||
|
||||
* Bugfix - Fix grouped email notifications store key: [#10873](https://github.com/owncloud/ocis/pull/10873)
|
||||
|
||||
Interval and user id is now separated by `_` (key schema:
|
||||
`${INTERVAL}_${USER_ID}`).
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10873
|
||||
|
||||
* Bugfix - Fix missing newline in grouped email: [#10883](https://github.com/owncloud/ocis/pull/10883)
|
||||
|
||||
`\n` is now replaced by `<br>` in the HTML email body
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10883
|
||||
|
||||
* Bugfix - Fix email templates white spaces & new lines: [#10884](https://github.com/owncloud/ocis/pull/10884)
|
||||
|
||||
Email templates now contain no unwanted white spaces & new lines if
|
||||
.CallToAction is nil
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10884
|
||||
|
||||
* 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 - Part I: The user settings are extended by notifications preferences: [#10706](https://github.com/owncloud/ocis/pull/10706)
|
||||
|
||||
Part I: Users can now store their notifications preferences in the user settings
|
||||
@@ -137,6 +211,67 @@ The following sections list the changes for unreleased.
|
||||
https://github.com/owncloud/ocis/issues/10793
|
||||
https://github.com/owncloud/ocis/pull/10838
|
||||
|
||||
* Enhancement - Update web to v11.1.0: [#10853](https://github.com/owncloud/ocis/pull/10853)
|
||||
|
||||
- Bugfix [owncloud/web#12040](https://github.com/owncloud/web/pull/12040):
|
||||
Preview app files visibility: #12040 - Bugfix
|
||||
[owncloud/web#12044](https://github.com/owncloud/web/pull/12044): Disable paste
|
||||
action in same folder: #12044 - Bugfix
|
||||
[owncloud/web#12045](https://github.com/owncloud/web/pull/12045): Do not push
|
||||
sidebar close action away: #12045 - Bugfix
|
||||
[owncloud/web#12045](https://github.com/owncloud/web/pull/12045): Update sidebar
|
||||
width on resize: #12045 - Bugfix
|
||||
[owncloud/web#12045](https://github.com/owncloud/web/pull/12045): Use correct
|
||||
breakpoints in sidebar: #12045 - Bugfix
|
||||
[owncloud/web#12050](https://github.com/owncloud/web/pull/12050): Show indirect
|
||||
shares on search page: #12050 - Bugfix
|
||||
[owncloud/web#12055](https://github.com/owncloud/web/pull/12055): Add more
|
||||
padding to input when clear action is visible: #12055 - Bugfix
|
||||
[owncloud/web#12058](https://github.com/owncloud/web/pull/12058): Use local
|
||||
state in sidebar in embed mode: #12058 - Bugfix
|
||||
[owncloud/web#12063](https://github.com/owncloud/web/pull/12063): Change opacity
|
||||
of disabled checkboxes: #12063 - Bugfix
|
||||
[owncloud/web#12074](https://github.com/owncloud/web/pull/12074): Refetch
|
||||
notifications settings on locale change: #12074 - Enhancement
|
||||
[owncloud/web#12010](https://github.com/owncloud/web/pull/12010): Add
|
||||
notifications settings: #12010 - Enhancement
|
||||
[owncloud/web#12054](https://github.com/owncloud/web/pull/12054): Use generic
|
||||
private link error: #12054
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10853
|
||||
https://github.com/owncloud/web/releases/tag/v11.1.0
|
||||
|
||||
* Enhancement - Add tests for grouped emails: [#10885](https://github.com/owncloud/ocis/pull/10885)
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10885
|
||||
|
||||
* 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.0.0] (2024-12-17)
|
||||
|
||||
The following sections list the changes for 7.0.0.
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Consistently name roles
|
||||
|
||||
BundleUUIDRoleGuest has been renamed to BundleUUIDRoleUserLight for consistency reasons
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10871
|
||||
@@ -0,0 +1,3 @@
|
||||
Enhancement: Add tests for grouped emails
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10885
|
||||
@@ -0,0 +1,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,5 @@
|
||||
Bugfix: Fix email templates white spaces & new lines
|
||||
|
||||
Email templates now contain no unwanted white spaces & new lines if .CallToAction is nil
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10884
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Fix missing newline in grouped email
|
||||
|
||||
`\n` is now replaced by `<br>` in the HTML email body
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10883
|
||||
@@ -0,0 +1,3 @@
|
||||
Bugfix: Prevent empty email body for grouped email notifications
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10869
|
||||
@@ -0,0 +1,5 @@
|
||||
Bugfix: Fix grouped email notifications store key
|
||||
|
||||
Interval and user id is now separated by `_` (key schema: `${INTERVAL}_${USER_ID}`).
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10873
|
||||
@@ -0,0 +1,4 @@
|
||||
Bugfix: Fix filtering of PostprocessingStepFinished events
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10868
|
||||
https://github.com/owncloud/ocis/issues/10867
|
||||
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix the mail notifications for the user light
|
||||
|
||||
Fix the default bundle-list for mail notification settings for the user light.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10864
|
||||
https://github.com/owncloud/ocis/issues/10864
|
||||
@@ -0,0 +1,17 @@
|
||||
Enhancement: Update web to v11.1.0
|
||||
|
||||
- Bugfix [owncloud/web#12040](https://github.com/owncloud/web/pull/12040): Preview app files visibility: #12040
|
||||
- Bugfix [owncloud/web#12044](https://github.com/owncloud/web/pull/12044): Disable paste action in same folder: #12044
|
||||
- Bugfix [owncloud/web#12045](https://github.com/owncloud/web/pull/12045): Do not push sidebar close action away: #12045
|
||||
- Bugfix [owncloud/web#12045](https://github.com/owncloud/web/pull/12045): Update sidebar width on resize: #12045
|
||||
- Bugfix [owncloud/web#12045](https://github.com/owncloud/web/pull/12045): Use correct breakpoints in sidebar: #12045
|
||||
- Bugfix [owncloud/web#12050](https://github.com/owncloud/web/pull/12050): Show indirect shares on search page: #12050
|
||||
- Bugfix [owncloud/web#12055](https://github.com/owncloud/web/pull/12055): Add more padding to input when clear action is visible: #12055
|
||||
- Bugfix [owncloud/web#12058](https://github.com/owncloud/web/pull/12058): Use local state in sidebar in embed mode: #12058
|
||||
- Bugfix [owncloud/web#12063](https://github.com/owncloud/web/pull/12063): Change opacity of disabled checkboxes: #12063
|
||||
- Bugfix [owncloud/web#12074](https://github.com/owncloud/web/pull/12074): Refetch notifications settings on locale change: #12074
|
||||
- Enhancement [owncloud/web#12010](https://github.com/owncloud/web/pull/12010): Add notifications settings: #12010
|
||||
- Enhancement [owncloud/web#12054](https://github.com/owncloud/web/pull/12054): Use generic private link error: #12054
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10853
|
||||
https://github.com/owncloud/web/releases/tag/v11.1.0
|
||||
@@ -39,7 +39,7 @@ OCIS=:ocis.yml
|
||||
# For production releases: "owncloud/ocis"
|
||||
# For rolling releases: "owncloud/ocis-rolling"
|
||||
# Defaults to production if not set otherwise
|
||||
OCIS_DOCKER_IMAGE=owncloud/ocis-rolling
|
||||
OCIS_DOCKER_IMAGE=
|
||||
# The oCIS container version.
|
||||
# Defaults to "latest" and points to the latest stable tag.
|
||||
OCIS_DOCKER_TAG=
|
||||
|
||||
@@ -53,7 +53,7 @@ services:
|
||||
restart: always
|
||||
|
||||
collabora:
|
||||
image: collabora/code:24.04.11.1.1
|
||||
image: collabora/code:24.04.12.3.1
|
||||
# release notes: https://www.collaboraonline.com/release-notes/
|
||||
networks:
|
||||
ocis-net:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
services:
|
||||
traefik:
|
||||
image: traefik:v3.3.1
|
||||
image: traefik:v3.3.3
|
||||
# release notes: https://github.com/traefik/traefik/releases
|
||||
networks:
|
||||
ocis-net:
|
||||
|
||||
@@ -51,7 +51,7 @@ services:
|
||||
onlyoffice:
|
||||
# if you want to use oo enterprise edition, use: onlyoffice/documentserver-ee:<version>
|
||||
# note, you also need to add a volume, see below
|
||||
image: onlyoffice/documentserver:8.2.2
|
||||
image: onlyoffice/documentserver:8.3.0
|
||||
# changelog https://github.com/ONLYOFFICE/DocumentServer/releases
|
||||
networks:
|
||||
ocis-net:
|
||||
|
||||
@@ -22,21 +22,21 @@ from urllib.request import urlopen
|
||||
# new is the target version to compare to
|
||||
# tagged versions must be of format: 'tags/v6.0.0'
|
||||
# master is different, it must be: 'heads/master'
|
||||
versionOld = 'tags/v6.0.0'
|
||||
versionOld = 'tags/v7.0.0'
|
||||
versionNew = 'heads/master'
|
||||
|
||||
# CHANGE according your needs
|
||||
from_version = '5.0.0'
|
||||
to_version = '7.0.0'
|
||||
from_version = '7.0.0'
|
||||
to_version = '7.1.0'
|
||||
|
||||
# CHANGE according your needs
|
||||
# this will create files like 5.0.0-7.0.0-added and 5.0.0-7.0.0-removed
|
||||
# this should match which versions you compare. master is ok if that is the base for a named release
|
||||
nameComponent = '5.0.0-7.0.0'
|
||||
nameComponent = '7.0.0-7.1.0'
|
||||
|
||||
# ADD new elements when a new version has been published so that it gets excluded
|
||||
# array of version patterns to be excluded for added items. we dont need patch versions
|
||||
excludePattern = ['pre5.0', '5.0', '6.0']
|
||||
excludePattern = ['pre5.0', '5.0', '6.0', '6.0.0', '6.0.1', '6.1.0', '6.7', '7.0', '7.0.0']
|
||||
|
||||
# DO NOT CHANGE
|
||||
# this is the path the added/removed result is written to
|
||||
|
||||
+249
-161
@@ -3417,6 +3417,15 @@ FRONTEND_CHECKSUMS_SUPPORTED_TYPES:
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
FRONTEND_CONFIGURABLE_NOTIFICATIONS:
|
||||
name: FRONTEND_CONFIGURABLE_NOTIFICATIONS
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Allow configuring notifications via web client.
|
||||
introductionVersion: "7.1"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
FRONTEND_CORS_ALLOW_CREDENTIALS:
|
||||
name: OCIS_CORS_ALLOW_CREDENTIALS;FRONTEND_CORS_ALLOW_CREDENTIALS
|
||||
defaultValue: "false"
|
||||
@@ -3840,7 +3849,8 @@ FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD:
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated
|
||||
| | FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated
|
||||
| | FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated |
|
||||
FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated
|
||||
FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD:
|
||||
name: OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD;FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD
|
||||
defaultValue: "false"
|
||||
@@ -3852,6 +3862,7 @@ FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD:
|
||||
removalVersion: ""
|
||||
deprecationInfo: FRONTEND_OCS_PUBLIC_WRITABLE_SHARE_MUST_HAVE_PASSWORD, the OCS
|
||||
API is deprecated | | FRONTEND_OCS_PUBLIC_WRITABLE_SHARE_MUST_HAVE_PASSWORD,
|
||||
the OCS API is deprecated | FRONTEND_OCS_PUBLIC_WRITABLE_SHARE_MUST_HAVE_PASSWORD,
|
||||
the OCS API is deprecated
|
||||
FRONTEND_OCS_SHARE_PREFIX:
|
||||
name: FRONTEND_OCS_SHARE_PREFIX
|
||||
@@ -5330,7 +5341,8 @@ GRAPH_LDAP_USER_DISPLAYNAME_ATTRIBUTE:
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | | | |
|
||||
LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency
|
||||
LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | LDAP_USER_SCHEMA_DISPLAY_NAME
|
||||
changing name for consistency
|
||||
GRAPH_LDAP_USER_EMAIL_ATTRIBUTE:
|
||||
name: OCIS_LDAP_USER_SCHEMA_MAIL;GRAPH_LDAP_USER_EMAIL_ATTRIBUTE
|
||||
defaultValue: mail
|
||||
@@ -7097,7 +7109,8 @@ LDAP_USER_SCHEMA_DISPLAY_NAME:
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | | | |
|
||||
LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency
|
||||
LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | LDAP_USER_SCHEMA_DISPLAY_NAME
|
||||
changing name for consistency
|
||||
LDAP_USER_SUBSTRING_FILTER_TYPE:
|
||||
name: LDAP_USER_SUBSTRING_FILTER_TYPE;USERS_LDAP_USER_SUBSTRING_FILTER_TYPE
|
||||
defaultValue: any
|
||||
@@ -7547,6 +7560,76 @@ NOTIFICATIONS_SMTP_USERNAME:
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
NOTIFICATIONS_STORE:
|
||||
name: OCIS_PERSISTENT_STORE;NOTIFICATIONS_STORE
|
||||
defaultValue: nats-js-kv
|
||||
type: string
|
||||
description: 'The type of the store. Supported values are: ''memory'', ''nats-js-kv'',
|
||||
''redis-sentinel'', ''noop''. See the text description for details.'
|
||||
introductionVersion: "7.1"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
NOTIFICATIONS_STORE_AUTH_PASSWORD:
|
||||
name: OCIS_PERSISTENT_STORE_AUTH_PASSWORD;NOTIFICATIONS_STORE_AUTH_PASSWORD
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The password to authenticate with the store. Only applies when store
|
||||
type 'nats-js-kv' is configured.
|
||||
introductionVersion: "7.1"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
NOTIFICATIONS_STORE_AUTH_USERNAME:
|
||||
name: OCIS_PERSISTENT_STORE_AUTH_USERNAME;NOTIFICATIONS_STORE_AUTH_USERNAME
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The username to authenticate with the store. Only applies when store
|
||||
type 'nats-js-kv' is configured.
|
||||
introductionVersion: "7.1"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
NOTIFICATIONS_STORE_DATABASE:
|
||||
name: NOTIFICATIONS_STORE_DATABASE
|
||||
defaultValue: notifications
|
||||
type: string
|
||||
description: The database name the configured store should use.
|
||||
introductionVersion: "7.1"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
NOTIFICATIONS_STORE_NODES:
|
||||
name: OCIS_PERSISTENT_STORE_NODES;NOTIFICATIONS_STORE_NODES
|
||||
defaultValue: '[127.0.0.1:9233]'
|
||||
type: '[]string'
|
||||
description: A list of nodes to access the configured store. This has no effect
|
||||
when 'memory' store is configured. Note that the behaviour how nodes are used
|
||||
is dependent on the library of the configured store. See the Environment Variable
|
||||
Types description for more details.
|
||||
introductionVersion: "7.1"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
NOTIFICATIONS_STORE_TABLE:
|
||||
name: NOTIFICATIONS_STORE_TABLE
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The database table the store should use.
|
||||
introductionVersion: "7.1"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
NOTIFICATIONS_STORE_TTL:
|
||||
name: OCIS_PERSISTENT_STORE_TTL;NOTIFICATIONS_STORE_TTL
|
||||
defaultValue: 336h0m0s
|
||||
type: Duration
|
||||
description: Time to live for notifications in the store. Defaults to '336h' (2
|
||||
weeks). See the Environment Variable Types description for more details.
|
||||
introductionVersion: "7.1"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
NOTIFICATIONS_TRACING_COLLECTOR:
|
||||
name: OCIS_TRACING_COLLECTOR;NOTIFICATIONS_TRACING_COLLECTOR
|
||||
defaultValue: ""
|
||||
@@ -7910,12 +7993,12 @@ OCDAV_WEBDAV_NAMESPACE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_ADMIN_USER_ID:
|
||||
name: OCIS_ADMIN_USER_ID;STORAGE_USERS_PURGE_TRASH_BIN_USER_ID
|
||||
name: OCIS_ADMIN_USER_ID;IDM_ADMIN_USER_ID
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: ID of the user who collects all necessary information for deletion.
|
||||
Consider that the UUID can be encoded in some LDAP deployment configurations like
|
||||
in .ldif files. These need to be decoded beforehand.
|
||||
description: ID of the user that should receive admin privileges. Consider that
|
||||
the UUID can be encoded in some LDAP deployment configurations like in .ldif files.
|
||||
These need to be decoded beforehand.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -7931,7 +8014,7 @@ OCIS_ASSET_THEMES_PATH:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_ASYNC_UPLOADS:
|
||||
name: OCIS_ASYNC_UPLOADS
|
||||
name: OCIS_ASYNC_UPLOADS;SEARCH_EVENTS_ASYNC_UPLOADS
|
||||
defaultValue: "true"
|
||||
type: bool
|
||||
description: Enable asynchronous file uploads.
|
||||
@@ -7940,28 +8023,28 @@ OCIS_ASYNC_UPLOADS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_AUTH_PASSWORD:
|
||||
name: OCIS_CACHE_AUTH_PASSWORD;STORAGE_USERS_ID_CACHE_AUTH_PASSWORD
|
||||
name: OCIS_CACHE_AUTH_PASSWORD;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_PASSWORD
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The password to authenticate with the cache store. Only applies when
|
||||
store type 'nats-js-kv' is configured.
|
||||
description: The password to authenticate with the store. Only applies when store
|
||||
type 'nats-js-kv' is configured.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_AUTH_USERNAME:
|
||||
name: OCIS_CACHE_AUTH_USERNAME;STORAGE_USERS_ID_CACHE_AUTH_USERNAME
|
||||
name: OCIS_CACHE_AUTH_USERNAME;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_USERNAME
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The username to authenticate with the cache store. Only applies when
|
||||
store type 'nats-js-kv' is configured.
|
||||
description: The username to authenticate with the store. Only applies when store
|
||||
type 'nats-js-kv' is configured.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_DATABASE:
|
||||
name: OCIS_CACHE_DATABASE
|
||||
defaultValue: ids-storage-users
|
||||
defaultValue: cache-userinfo
|
||||
type: string
|
||||
description: The database name the configured store should use.
|
||||
introductionVersion: pre5.0
|
||||
@@ -7969,51 +8052,49 @@ OCIS_CACHE_DATABASE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_DISABLE_PERSISTENCE:
|
||||
name: OCIS_CACHE_DISABLE_PERSISTENCE;STORAGE_USERS_ID_CACHE_DISABLE_PERSISTENCE
|
||||
defaultValue: "false"
|
||||
name: OCIS_CACHE_DISABLE_PERSISTENCE;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_DISABLE_PERSISTENCE
|
||||
defaultValue: "true"
|
||||
type: bool
|
||||
description: Disables persistence of the cache. Only applies when store type 'nats-js-kv'
|
||||
is configured. Defaults to false.
|
||||
description: Disables persistence of the store. Only applies when store type 'nats-js-kv'
|
||||
is configured. Defaults to true.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_STORE:
|
||||
name: OCIS_CACHE_STORE;STORAGE_USERS_ID_CACHE_STORE
|
||||
defaultValue: memory
|
||||
name: OCIS_CACHE_STORE;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE
|
||||
defaultValue: nats-js-kv
|
||||
type: string
|
||||
description: 'The type of the cache store. Supported values are: ''memory'', ''redis-sentinel'',
|
||||
''nats-js-kv'', ''noop''. See the text description for details.'
|
||||
introductionVersion: pre5.0
|
||||
description: 'The type of the signing key store. Supported values are: ''redis-sentinel'',
|
||||
''nats-js-kv'' and ''ocisstoreservice'' (deprecated). See the text description
|
||||
for details.'
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_STORE_NODES:
|
||||
name: OCIS_CACHE_STORE_NODES;STORAGE_USERS_ID_CACHE_STORE_NODES
|
||||
name: OCIS_CACHE_STORE_NODES;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES
|
||||
defaultValue: '[127.0.0.1:9233]'
|
||||
type: '[]string'
|
||||
description: A list of nodes to access the configured store. This has no effect
|
||||
when 'memory' store is configured. Note that the behaviour how nodes are used
|
||||
is dependent on the library of the configured store. See the Environment Variable
|
||||
Types description for more details.
|
||||
introductionVersion: pre5.0
|
||||
description: A list of nodes to access the configured store. Note that the behaviour
|
||||
how nodes are used is dependent on the library of the configured store. See the
|
||||
Environment Variable Types description for more details.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CACHE_TTL:
|
||||
name: OCIS_CACHE_TTL;STORAGE_USERS_ID_CACHE_TTL
|
||||
defaultValue: 24m0s
|
||||
name: OCIS_CACHE_TTL;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_TTL
|
||||
defaultValue: 12h0m0s
|
||||
type: Duration
|
||||
description: Default time to live for user info in the user info cache. Only applied
|
||||
when access tokens have no expiration. Defaults to 300s which is derived from
|
||||
the underlaying package though not explicitly set as default. See the Environment
|
||||
Variable Types description for more details.
|
||||
introductionVersion: pre5.0
|
||||
description: Default time to live for signing keys. See the Environment Variable
|
||||
Types description for more details.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CORS_ALLOW_CREDENTIALS:
|
||||
name: OCIS_CORS_ALLOW_CREDENTIALS;STORAGE_USERS_CORS_ALLOW_CREDENTIALS
|
||||
name: OCIS_CORS_ALLOW_CREDENTIALS;WEBFINGER_CORS_ALLOW_CREDENTIALS
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: 'Allow credentials for CORS.See following chapter for more details:
|
||||
@@ -8023,10 +8104,8 @@ OCIS_CORS_ALLOW_CREDENTIALS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CORS_ALLOW_HEADERS:
|
||||
name: OCIS_CORS_ALLOW_HEADERS;STORAGE_USERS_CORS_ALLOW_HEADERS
|
||||
defaultValue: '[Authorization Origin X-Requested-With X-Request-Id X-HTTP-Method-Override
|
||||
Content-Type Upload-Length Upload-Offset Tus-Resumable Upload-Metadata Upload-Defer-Length
|
||||
Upload-Concat Upload-Incomplete Upload-Draft-Interop-Version]'
|
||||
name: OCIS_CORS_ALLOW_HEADERS;WEBFINGER_CORS_ALLOW_HEADERS
|
||||
defaultValue: '[]'
|
||||
type: '[]string'
|
||||
description: 'A list of allowed CORS headers. See following chapter for more details:
|
||||
*Access-Control-Request-Headers* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers.
|
||||
@@ -8036,8 +8115,8 @@ OCIS_CORS_ALLOW_HEADERS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CORS_ALLOW_METHODS:
|
||||
name: OCIS_CORS_ALLOW_METHODS;STORAGE_USERS_CORS_ALLOW_METHODS
|
||||
defaultValue: '[POST HEAD PATCH OPTIONS GET DELETE]'
|
||||
name: OCIS_CORS_ALLOW_METHODS;WEBFINGER_CORS_ALLOW_METHODS
|
||||
defaultValue: '[]'
|
||||
type: '[]string'
|
||||
description: 'A list of allowed CORS methods. See following chapter for more details:
|
||||
*Access-Control-Request-Method* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method.
|
||||
@@ -8047,7 +8126,7 @@ OCIS_CORS_ALLOW_METHODS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_CORS_ALLOW_ORIGINS:
|
||||
name: OCIS_CORS_ALLOW_ORIGINS;STORAGE_USERS_CORS_ALLOW_ORIGINS
|
||||
name: OCIS_CORS_ALLOW_ORIGINS;WEBFINGER_CORS_ALLOW_ORIGINS
|
||||
defaultValue: '[https://localhost:9200]'
|
||||
type: '[]string'
|
||||
description: 'A list of allowed CORS origins. See following chapter for more details:
|
||||
@@ -8143,7 +8222,7 @@ OCIS_DISABLE_VERSIONING:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EDITION:
|
||||
name: OCIS_EDITION;OCDAV_EDITION
|
||||
name: OCIS_EDITION;FRONTEND_EDITION
|
||||
defaultValue: Community
|
||||
type: string
|
||||
description: Edition of oCIS. Used for branding purposes.
|
||||
@@ -8161,16 +8240,16 @@ OCIS_EMAIL_TEMPLATE_PATH:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_ENABLE_OCM:
|
||||
name: OCIS_ENABLE_OCM;GRAPH_INCLUDE_OCM_SHAREES
|
||||
name: OCIS_ENABLE_OCM;FRONTEND_OCS_INCLUDE_OCM_SHAREES
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Include OCM sharees when listing users.
|
||||
description: Include OCM sharees when listing sharees.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_AUTH_PASSWORD:
|
||||
name: OCIS_EVENTS_AUTH_PASSWORD;STORAGE_USERS_EVENTS_AUTH_PASSWORD
|
||||
name: OCIS_EVENTS_AUTH_PASSWORD;AUDIT_EVENTS_AUTH_PASSWORD
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The password to authenticate with the events broker. The events broker
|
||||
@@ -8180,7 +8259,7 @@ OCIS_EVENTS_AUTH_PASSWORD:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_AUTH_USERNAME:
|
||||
name: OCIS_EVENTS_AUTH_USERNAME;STORAGE_USERS_EVENTS_AUTH_USERNAME
|
||||
name: OCIS_EVENTS_AUTH_USERNAME;AUDIT_EVENTS_AUTH_USERNAME
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The username to authenticate with the events broker. The events broker
|
||||
@@ -8190,7 +8269,7 @@ OCIS_EVENTS_AUTH_USERNAME:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_CLUSTER:
|
||||
name: OCIS_EVENTS_CLUSTER;STORAGE_USERS_EVENTS_CLUSTER
|
||||
name: OCIS_EVENTS_CLUSTER;AUDIT_EVENTS_CLUSTER
|
||||
defaultValue: ocis-cluster
|
||||
type: string
|
||||
description: The clusterID of the event system. The event system is the message
|
||||
@@ -8201,7 +8280,7 @@ OCIS_EVENTS_CLUSTER:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_ENABLE_TLS:
|
||||
name: OCIS_EVENTS_ENABLE_TLS;STORAGE_USERS_EVENTS_ENABLE_TLS
|
||||
name: OCIS_EVENTS_ENABLE_TLS;AUDIT_EVENTS_ENABLE_TLS
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Enable TLS for the connection to the events broker. The events broker
|
||||
@@ -8211,7 +8290,7 @@ OCIS_EVENTS_ENABLE_TLS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_ENDPOINT:
|
||||
name: OCIS_EVENTS_ENDPOINT;STORAGE_USERS_EVENTS_ENDPOINT
|
||||
name: OCIS_EVENTS_ENDPOINT;AUDIT_EVENTS_ENDPOINT
|
||||
defaultValue: 127.0.0.1:9233
|
||||
type: string
|
||||
description: The address of the event system. The event system is the message queuing
|
||||
@@ -8221,21 +8300,21 @@ OCIS_EVENTS_ENDPOINT:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE:
|
||||
name: OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE;STORAGE_USERS_EVENTS_TLS_ROOT_CA_CERTIFICATE
|
||||
name: OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE;AUDIT_EVENTS_TLS_ROOT_CA_CERTIFICATE
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The root CA certificate used to validate the server's TLS certificate.
|
||||
If provided STORAGE_USERS_EVENTS_TLS_INSECURE will be seen as false.
|
||||
If provided AUDIT_EVENTS_TLS_INSECURE will be seen as false.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_GATEWAY_GRPC_ADDR:
|
||||
name: OCIS_GATEWAY_GRPC_ADDR;STORAGE_USERS_GATEWAY_GRPC_ADDR
|
||||
name: OCIS_GATEWAY_GRPC_ADDR;GATEWAY_GRPC_ADDR
|
||||
defaultValue: 127.0.0.1:9142
|
||||
type: string
|
||||
description: The bind address of the gateway GRPC address.
|
||||
introductionVersion: "5.0"
|
||||
description: The bind address of the GRPC service.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
@@ -8263,11 +8342,11 @@ OCIS_GRPC_CLIENT_TLS_MODE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_GRPC_PROTOCOL:
|
||||
name: OCIS_GRPC_PROTOCOL;STORAGE_USERS_GRPC_PROTOCOL
|
||||
name: OCIS_GRPC_PROTOCOL;COLLABORATION_GRPC_PROTOCOL
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The transport protocol of the GPRC service.
|
||||
introductionVersion: pre5.0
|
||||
description: The transport protocol of the GRPC service.
|
||||
introductionVersion: 7.0.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
@@ -8303,7 +8382,7 @@ OCIS_HTTP_TLS_KEY:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_INSECURE:
|
||||
name: OCIS_INSECURE;STORAGE_USERS_EVENTS_TLS_INSECURE
|
||||
name: OCIS_INSECURE;AUDIT_EVENTS_TLS_INSECURE
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Whether to verify the server TLS certificates.
|
||||
@@ -8312,7 +8391,7 @@ OCIS_INSECURE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_JWT_SECRET:
|
||||
name: OCIS_JWT_SECRET;STORAGE_USERS_JWT_SECRET
|
||||
name: OCIS_JWT_SECRET;COLLABORATION_JWT_SECRET
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The secret to mint and validate jwt tokens.
|
||||
@@ -8321,7 +8400,7 @@ OCIS_JWT_SECRET:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_BASE_PATH:
|
||||
name: OCIS_KEYCLOAK_BASE_PATH;GRAPH_KEYCLOAK_BASE_PATH
|
||||
name: OCIS_KEYCLOAK_BASE_PATH;INVITATIONS_KEYCLOAK_BASE_PATH
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The URL to access keycloak.
|
||||
@@ -8330,16 +8409,16 @@ OCIS_KEYCLOAK_BASE_PATH:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_CLIENT_ID:
|
||||
name: OCIS_KEYCLOAK_CLIENT_ID;GRAPH_KEYCLOAK_CLIENT_ID
|
||||
name: OCIS_KEYCLOAK_CLIENT_ID;INVITATIONS_KEYCLOAK_CLIENT_ID
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The client id to authenticate with keycloak.
|
||||
description: The client ID to authenticate with keycloak.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_CLIENT_REALM:
|
||||
name: OCIS_KEYCLOAK_CLIENT_REALM;GRAPH_KEYCLOAK_CLIENT_REALM
|
||||
name: OCIS_KEYCLOAK_CLIENT_REALM;INVITATIONS_KEYCLOAK_CLIENT_REALM
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The realm the client is defined in.
|
||||
@@ -8348,7 +8427,7 @@ OCIS_KEYCLOAK_CLIENT_REALM:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_CLIENT_SECRET:
|
||||
name: OCIS_KEYCLOAK_CLIENT_SECRET;GRAPH_KEYCLOAK_CLIENT_SECRET
|
||||
name: OCIS_KEYCLOAK_CLIENT_SECRET;INVITATIONS_KEYCLOAK_CLIENT_SECRET
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The client secret to use in authentication.
|
||||
@@ -8357,7 +8436,7 @@ OCIS_KEYCLOAK_CLIENT_SECRET:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY:
|
||||
name: OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY;GRAPH_KEYCLOAK_INSECURE_SKIP_VERIFY
|
||||
name: OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY;INVITATIONS_KEYCLOAK_INSECURE_SKIP_VERIFY
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Disable TLS certificate validation for Keycloak connections. Do not
|
||||
@@ -8367,7 +8446,7 @@ OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_KEYCLOAK_USER_REALM:
|
||||
name: OCIS_KEYCLOAK_USER_REALM;GRAPH_KEYCLOAK_USER_REALM
|
||||
name: OCIS_KEYCLOAK_USER_REALM;INVITATIONS_KEYCLOAK_USER_REALM
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The realm users are defined.
|
||||
@@ -8376,8 +8455,8 @@ OCIS_KEYCLOAK_USER_REALM:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_BIND_DN:
|
||||
name: OCIS_LDAP_BIND_DN;GRAPH_LDAP_BIND_DN
|
||||
defaultValue: uid=libregraph,ou=sysusers,o=libregraph-idm
|
||||
name: OCIS_LDAP_BIND_DN;IDP_LDAP_BIND_DN
|
||||
defaultValue: uid=idp,ou=sysusers,o=libregraph-idm
|
||||
type: string
|
||||
description: LDAP DN to use for simple bind authentication with the target LDAP
|
||||
server.
|
||||
@@ -8386,7 +8465,7 @@ OCIS_LDAP_BIND_DN:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_BIND_PASSWORD:
|
||||
name: OCIS_LDAP_BIND_PASSWORD;GRAPH_LDAP_BIND_PASSWORD
|
||||
name: OCIS_LDAP_BIND_PASSWORD;IDP_LDAP_BIND_PASSWORD
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: Password to use for authenticating the 'bind_dn'.
|
||||
@@ -8395,12 +8474,12 @@ OCIS_LDAP_BIND_PASSWORD:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_CACERT:
|
||||
name: OCIS_LDAP_CACERT;GRAPH_LDAP_CACERT
|
||||
name: OCIS_LDAP_CACERT;IDP_LDAP_TLS_CACERT
|
||||
defaultValue: /var/lib/ocis/idm/ldap.crt
|
||||
type: string
|
||||
description: Path/File name for the root CA certificate (in PEM format) used to
|
||||
validate TLS server certificates of the LDAP service. If not defined, the root
|
||||
directory derives from $OCIS_BASE_DATA_PATH/idm.
|
||||
directory derives from $OCIS_BASE_DATA_PATH/idp.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -8457,7 +8536,7 @@ OCIS_LDAP_GROUP_OBJECTCLASS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_GROUP_SCHEMA_DISPLAYNAME:
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_DISPLAYNAME;USERS_LDAP_GROUP_SCHEMA_DISPLAYNAME
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_DISPLAYNAME;AUTH_BASIC_LDAP_GROUP_SCHEMA_DISPLAYNAME
|
||||
defaultValue: cn
|
||||
type: string
|
||||
description: LDAP Attribute to use for the displayname of groups (often the same
|
||||
@@ -8497,7 +8576,7 @@ OCIS_LDAP_GROUP_SCHEMA_ID_IS_OCTETSTRING:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_GROUP_SCHEMA_MAIL:
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_MAIL;USERS_LDAP_GROUP_SCHEMA_MAIL
|
||||
name: OCIS_LDAP_GROUP_SCHEMA_MAIL;AUTH_BASIC_LDAP_GROUP_SCHEMA_MAIL
|
||||
defaultValue: mail
|
||||
type: string
|
||||
description: LDAP Attribute to use for the email address of groups (can be empty).
|
||||
@@ -8525,7 +8604,7 @@ OCIS_LDAP_GROUP_SCOPE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_INSECURE:
|
||||
name: OCIS_LDAP_INSECURE;GRAPH_LDAP_INSECURE
|
||||
name: OCIS_LDAP_INSECURE;IDP_INSECURE
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Disable TLS certificate validation for the LDAP connections. Do not
|
||||
@@ -8535,7 +8614,7 @@ OCIS_LDAP_INSECURE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_SERVER_WRITE_ENABLED:
|
||||
name: OCIS_LDAP_SERVER_WRITE_ENABLED;GRAPH_LDAP_SERVER_WRITE_ENABLED
|
||||
name: OCIS_LDAP_SERVER_WRITE_ENABLED;FRONTEND_LDAP_SERVER_WRITE_ENABLED
|
||||
defaultValue: "true"
|
||||
type: bool
|
||||
description: Allow creating, modifying and deleting LDAP users via the GRAPH API.
|
||||
@@ -8547,17 +8626,16 @@ OCIS_LDAP_SERVER_WRITE_ENABLED:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_URI:
|
||||
name: OCIS_LDAP_URI;GRAPH_LDAP_URI
|
||||
name: OCIS_LDAP_URI;IDP_LDAP_URI
|
||||
defaultValue: ldaps://localhost:9235
|
||||
type: string
|
||||
description: URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://'
|
||||
and 'ldap://'
|
||||
description: Url of the LDAP service to use as IDP.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_BASE_DN:
|
||||
name: OCIS_LDAP_USER_BASE_DN;GRAPH_LDAP_USER_BASE_DN
|
||||
name: OCIS_LDAP_USER_BASE_DN;IDP_LDAP_BASE_DN
|
||||
defaultValue: ou=users,o=libregraph-idm
|
||||
type: string
|
||||
description: Search base DN for looking up LDAP users.
|
||||
@@ -8566,7 +8644,7 @@ OCIS_LDAP_USER_BASE_DN:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_ENABLED_ATTRIBUTE:
|
||||
name: OCIS_LDAP_USER_ENABLED_ATTRIBUTE;GRAPH_USER_ENABLED_ATTRIBUTE
|
||||
name: OCIS_LDAP_USER_ENABLED_ATTRIBUTE;IDP_USER_ENABLED_ATTRIBUTE
|
||||
defaultValue: ownCloudUserEnabled
|
||||
type: string
|
||||
description: LDAP Attribute to use as a flag telling if the user is enabled or disabled.
|
||||
@@ -8575,7 +8653,7 @@ OCIS_LDAP_USER_ENABLED_ATTRIBUTE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_FILTER:
|
||||
name: OCIS_LDAP_USER_FILTER;GRAPH_LDAP_USER_FILTER
|
||||
name: OCIS_LDAP_USER_FILTER;IDP_LDAP_FILTER
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: LDAP filter to add to the default filters for user search like '(objectclass=ownCloud)'.
|
||||
@@ -8584,11 +8662,10 @@ OCIS_LDAP_USER_FILTER:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_OBJECTCLASS:
|
||||
name: OCIS_LDAP_USER_OBJECTCLASS;GRAPH_LDAP_USER_OBJECTCLASS
|
||||
name: OCIS_LDAP_USER_OBJECTCLASS;IDP_LDAP_OBJECTCLASS
|
||||
defaultValue: inetOrgPerson
|
||||
type: string
|
||||
description: The object class to use for users in the default user search filter
|
||||
('inetOrgPerson').
|
||||
description: LDAP User ObjectClass like 'inetOrgPerson'.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -8602,13 +8679,13 @@ OCIS_LDAP_USER_SCHEMA_DISPLAYNAME:
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | | | | | | |
|
||||
LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency
|
||||
LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | | | | LDAP_USER_SCHEMA_DISPLAY_NAME
|
||||
changing name for consistency
|
||||
OCIS_LDAP_USER_SCHEMA_ID:
|
||||
name: OCIS_LDAP_USER_SCHEMA_ID;GRAPH_LDAP_USER_UID_ATTRIBUTE
|
||||
defaultValue: owncloudUUID
|
||||
name: OCIS_LDAP_USER_SCHEMA_ID;IDP_LDAP_UUID_ATTRIBUTE
|
||||
defaultValue: ownCloudUUID
|
||||
type: string
|
||||
description: LDAP Attribute to use as the unique ID for users. This should be a
|
||||
stable globally unique ID like a UUID.
|
||||
description: LDAP User UUID attribute like 'uid'.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -8625,10 +8702,10 @@ OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_SCHEMA_MAIL:
|
||||
name: OCIS_LDAP_USER_SCHEMA_MAIL;GRAPH_LDAP_USER_EMAIL_ATTRIBUTE
|
||||
name: OCIS_LDAP_USER_SCHEMA_MAIL;IDP_LDAP_EMAIL_ATTRIBUTE
|
||||
defaultValue: mail
|
||||
type: string
|
||||
description: LDAP Attribute to use for the email address of users.
|
||||
description: LDAP User email attribute like 'mail'.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -8644,16 +8721,16 @@ OCIS_LDAP_USER_SCHEMA_USER_TYPE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_SCHEMA_USERNAME:
|
||||
name: OCIS_LDAP_USER_SCHEMA_USERNAME;GRAPH_LDAP_USER_NAME_ATTRIBUTE
|
||||
defaultValue: uid
|
||||
name: OCIS_LDAP_USER_SCHEMA_USERNAME;IDP_LDAP_NAME_ATTRIBUTE
|
||||
defaultValue: displayName
|
||||
type: string
|
||||
description: LDAP Attribute to use for username of users.
|
||||
description: LDAP User name attribute like 'displayName'.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LDAP_USER_SCOPE:
|
||||
name: OCIS_LDAP_USER_SCOPE;GRAPH_LDAP_USER_SCOPE
|
||||
name: OCIS_LDAP_USER_SCOPE;IDP_LDAP_SCOPE
|
||||
defaultValue: sub
|
||||
type: string
|
||||
description: LDAP search scope to use when looking up users. Supported scopes are
|
||||
@@ -8663,7 +8740,7 @@ OCIS_LDAP_USER_SCOPE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LOG_COLOR:
|
||||
name: OCIS_LOG_COLOR;STORAGE_USERS_LOG_COLOR
|
||||
name: OCIS_LOG_COLOR;IDM_LOG_COLOR
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Activates colorized log output.
|
||||
@@ -8672,7 +8749,7 @@ OCIS_LOG_COLOR:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LOG_FILE:
|
||||
name: OCIS_LOG_FILE;STORAGE_USERS_LOG_FILE
|
||||
name: OCIS_LOG_FILE;IDM_LOG_FILE
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The path to the log file. Activates logging to this file if set.
|
||||
@@ -8681,7 +8758,7 @@ OCIS_LOG_FILE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LOG_LEVEL:
|
||||
name: OCIS_LOG_LEVEL;STORAGE_USERS_LOG_LEVEL
|
||||
name: OCIS_LOG_LEVEL;IDM_LOG_LEVEL
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: 'The log level. Valid values are: ''panic'', ''fatal'', ''error'',
|
||||
@@ -8691,7 +8768,7 @@ OCIS_LOG_LEVEL:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_LOG_PRETTY:
|
||||
name: OCIS_LOG_PRETTY;STORAGE_USERS_LOG_PRETTY
|
||||
name: OCIS_LOG_PRETTY;IDM_LOG_PRETTY
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Activates pretty log output.
|
||||
@@ -8700,23 +8777,23 @@ OCIS_LOG_PRETTY:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_MACHINE_AUTH_API_KEY:
|
||||
name: OCIS_MACHINE_AUTH_API_KEY;STORAGE_USERS_MACHINE_AUTH_API_KEY
|
||||
name: OCIS_MACHINE_AUTH_API_KEY;PROXY_MACHINE_AUTH_API_KEY
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: Machine auth API key used to validate internal requests necessary for
|
||||
the access to resources from other services.
|
||||
introductionVersion: "5.0"
|
||||
description: Machine auth API key used to validate internal requests necessary to
|
||||
access resources from other services.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_MAX_CONCURRENCY:
|
||||
name: OCIS_MAX_CONCURRENCY;STORAGE_USERS_S3NG_MAX_CONCURRENCY
|
||||
defaultValue: "5"
|
||||
name: OCIS_MAX_CONCURRENCY;USERLOG_MAX_CONCURRENCY
|
||||
defaultValue: "1"
|
||||
type: int
|
||||
description: Maximum number of concurrent go-routines. Higher values can potentially
|
||||
get work done faster but will also cause more load on the system. Values of 0
|
||||
or below will be ignored and the default value of 100 will be used.
|
||||
introductionVersion: pre5.0
|
||||
or below will be ignored and the default value will be used.
|
||||
introductionVersion: 7.0.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
@@ -8741,7 +8818,7 @@ OCIS_OIDC_ISSUER:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST:
|
||||
name: OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST;SHARING_PASSWORD_POLICY_BANNED_PASSWORDS_LIST
|
||||
name: OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST;FRONTEND_PASSWORD_POLICY_BANNED_PASSWORDS_LIST
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: Path to the 'banned passwords list' file. This only impacts public
|
||||
@@ -8751,7 +8828,7 @@ OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PASSWORD_POLICY_DISABLED:
|
||||
name: OCIS_PASSWORD_POLICY_DISABLED;SHARING_PASSWORD_POLICY_DISABLED
|
||||
name: OCIS_PASSWORD_POLICY_DISABLED;FRONTEND_PASSWORD_POLICY_DISABLED
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Disable the password policy. Defaults to false if not set.
|
||||
@@ -8760,7 +8837,7 @@ OCIS_PASSWORD_POLICY_DISABLED:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PASSWORD_POLICY_MIN_CHARACTERS:
|
||||
name: OCIS_PASSWORD_POLICY_MIN_CHARACTERS;SHARING_PASSWORD_POLICY_MIN_CHARACTERS
|
||||
name: OCIS_PASSWORD_POLICY_MIN_CHARACTERS;FRONTEND_PASSWORD_POLICY_MIN_CHARACTERS
|
||||
defaultValue: "8"
|
||||
type: int
|
||||
description: Define the minimum password length. Defaults to 8 if not set.
|
||||
@@ -8769,7 +8846,7 @@ OCIS_PASSWORD_POLICY_MIN_CHARACTERS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PASSWORD_POLICY_MIN_DIGITS:
|
||||
name: OCIS_PASSWORD_POLICY_MIN_DIGITS;SHARING_PASSWORD_POLICY_MIN_DIGITS
|
||||
name: OCIS_PASSWORD_POLICY_MIN_DIGITS;FRONTEND_PASSWORD_POLICY_MIN_DIGITS
|
||||
defaultValue: "1"
|
||||
type: int
|
||||
description: Define the minimum number of digits. Defaults to 1 if not set.
|
||||
@@ -8778,7 +8855,7 @@ OCIS_PASSWORD_POLICY_MIN_DIGITS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS:
|
||||
name: OCIS_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS;SHARING_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS
|
||||
name: OCIS_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS;FRONTEND_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS
|
||||
defaultValue: "1"
|
||||
type: int
|
||||
description: Define the minimum number of uppercase letters. Defaults to 1 if not
|
||||
@@ -8788,7 +8865,7 @@ OCIS_PASSWORD_POLICY_MIN_LOWERCASE_CHARACTERS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS:
|
||||
name: OCIS_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS;SHARING_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS
|
||||
name: OCIS_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS;FRONTEND_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS
|
||||
defaultValue: "1"
|
||||
type: int
|
||||
description: Define the minimum number of characters from the special characters
|
||||
@@ -8798,7 +8875,7 @@ OCIS_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:
|
||||
name: OCIS_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS;SHARING_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS
|
||||
name: OCIS_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS;FRONTEND_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS
|
||||
defaultValue: "1"
|
||||
type: int
|
||||
description: Define the minimum number of lowercase letters. Defaults to 1 if not
|
||||
@@ -8808,54 +8885,54 @@ OCIS_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PERSISTENT_STORE:
|
||||
name: OCIS_PERSISTENT_STORE;EVENTHISTORY_STORE
|
||||
name: OCIS_PERSISTENT_STORE;COLLABORATION_STORE
|
||||
defaultValue: nats-js-kv
|
||||
type: string
|
||||
description: 'The type of the store. Supported values are: ''memory'', ''nats-js-kv'',
|
||||
''redis-sentinel'', ''noop''. See the text description for details.'
|
||||
introductionVersion: pre5.0
|
||||
introductionVersion: 7.0.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PERSISTENT_STORE_AUTH_PASSWORD:
|
||||
name: OCIS_PERSISTENT_STORE_AUTH_PASSWORD;EVENTHISTORY_STORE_AUTH_PASSWORD
|
||||
name: OCIS_PERSISTENT_STORE_AUTH_PASSWORD;COLLABORATION_STORE_AUTH_PASSWORD
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The password to authenticate with the store. Only applies when store
|
||||
type 'nats-js-kv' is configured.
|
||||
introductionVersion: "5.0"
|
||||
introductionVersion: 7.0.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PERSISTENT_STORE_AUTH_USERNAME:
|
||||
name: OCIS_PERSISTENT_STORE_AUTH_USERNAME;EVENTHISTORY_STORE_AUTH_USERNAME
|
||||
name: OCIS_PERSISTENT_STORE_AUTH_USERNAME;COLLABORATION_STORE_AUTH_USERNAME
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The username to authenticate with the store. Only applies when store
|
||||
type 'nats-js-kv' is configured.
|
||||
introductionVersion: "5.0"
|
||||
introductionVersion: 7.0.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PERSISTENT_STORE_NODES:
|
||||
name: OCIS_PERSISTENT_STORE_NODES;EVENTHISTORY_STORE_NODES
|
||||
name: OCIS_PERSISTENT_STORE_NODES;COLLABORATION_STORE_NODES
|
||||
defaultValue: '[127.0.0.1:9233]'
|
||||
type: '[]string'
|
||||
description: A list of nodes to access the configured store. This has no effect
|
||||
when 'memory' store is configured. Note that the behaviour how nodes are used
|
||||
is dependent on the library of the configured store. See the Environment Variable
|
||||
Types description for more details.
|
||||
introductionVersion: pre5.0
|
||||
introductionVersion: 7.0.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_PERSISTENT_STORE_TTL:
|
||||
name: OCIS_PERSISTENT_STORE_TTL;EVENTHISTORY_STORE_TTL
|
||||
defaultValue: 336h0m0s
|
||||
name: OCIS_PERSISTENT_STORE_TTL;COLLABORATION_STORE_TTL
|
||||
defaultValue: 30m0s
|
||||
type: Duration
|
||||
description: Time to live for events in the store. Defaults to '336h' (2 weeks).
|
||||
description: Time to live for events in the store. Defaults to '30m' (30 minutes).
|
||||
See the Environment Variable Types description for more details.
|
||||
introductionVersion: pre5.0
|
||||
introductionVersion: 7.0.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
@@ -8872,8 +8949,8 @@ OCIS_REVA_GATEWAY:
|
||||
name: OCIS_REVA_GATEWAY
|
||||
defaultValue: com.owncloud.api.gateway
|
||||
type: string
|
||||
description: The CS3 gateway endpoint.
|
||||
introductionVersion: pre5.0
|
||||
description: CS3 gateway used to look up user metadata.
|
||||
introductionVersion: 6.0.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
@@ -8900,7 +8977,7 @@ OCIS_REVA_GATEWAY_TLS_MODE:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SERVICE_ACCOUNT_ID:
|
||||
name: OCIS_SERVICE_ACCOUNT_ID;STORAGE_USERS_SERVICE_ACCOUNT_ID
|
||||
name: OCIS_SERVICE_ACCOUNT_ID;USERLOG_SERVICE_ACCOUNT_ID
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The ID of the service account the service should use. See the 'auth-service'
|
||||
@@ -8910,7 +8987,7 @@ OCIS_SERVICE_ACCOUNT_ID:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SERVICE_ACCOUNT_SECRET:
|
||||
name: OCIS_SERVICE_ACCOUNT_SECRET;STORAGE_USERS_SERVICE_ACCOUNT_SECRET
|
||||
name: OCIS_SERVICE_ACCOUNT_SECRET;USERLOG_SERVICE_ACCOUNT_SECRET
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The service account secret.
|
||||
@@ -8919,29 +8996,29 @@ OCIS_SERVICE_ACCOUNT_SECRET:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD:
|
||||
name: OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD;SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD
|
||||
name: OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD;FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD
|
||||
defaultValue: "true"
|
||||
type: bool
|
||||
description: Set this to true if you want to enforce passwords on all public shares.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: 'FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated
|
||||
| | FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated | '
|
||||
deprecationInfo: FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated
|
||||
| | FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated | | |
|
||||
FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated
|
||||
OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD:
|
||||
name: OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD;SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD
|
||||
name: OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD;FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Set this to true if you want to enforce passwords on Uploader, Editor
|
||||
or Contributor shares. If not using the global OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD,
|
||||
you must define the FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD (deprecated)
|
||||
in the frontend service.
|
||||
description: Set this to true if you want to enforce passwords for writable shares.
|
||||
Only effective if the setting for 'passwords on all public shares' is set to false.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: 'FRONTEND_OCS_PUBLIC_WRITABLE_SHARE_MUST_HAVE_PASSWORD, the OCS
|
||||
deprecationInfo: FRONTEND_OCS_PUBLIC_WRITABLE_SHARE_MUST_HAVE_PASSWORD, the OCS
|
||||
API is deprecated | | FRONTEND_OCS_PUBLIC_WRITABLE_SHARE_MUST_HAVE_PASSWORD,
|
||||
the OCS API is deprecated | '
|
||||
the OCS API is deprecated | | | FRONTEND_OCS_PUBLIC_WRITABLE_SHARE_MUST_HAVE_PASSWORD,
|
||||
the OCS API is deprecated
|
||||
OCIS_SHOW_USER_EMAIL_IN_RESULTS:
|
||||
name: OCIS_SHOW_USER_EMAIL_IN_RESULTS
|
||||
defaultValue: "false"
|
||||
@@ -8954,18 +9031,17 @@ OCIS_SHOW_USER_EMAIL_IN_RESULTS:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SPACES_MAX_QUOTA:
|
||||
name: OCIS_SPACES_MAX_QUOTA;STORAGE_USERS_OCIS_MAX_QUOTA
|
||||
name: OCIS_SPACES_MAX_QUOTA;FRONTEND_MAX_QUOTA
|
||||
defaultValue: "0"
|
||||
type: uint64
|
||||
description: Set a global max quota for spaces in bytes. A value of 0 equals unlimited.
|
||||
If not using the global OCIS_SPACES_MAX_QUOTA, you must define the FRONTEND_MAX_QUOTA
|
||||
in the frontend service.
|
||||
description: Set the global max quota value in bytes. A value of 0 equals unlimited.
|
||||
The value is provided via capabilities.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SYSTEM_USER_API_KEY:
|
||||
name: OCIS_SYSTEM_USER_API_KEY;SHARING_PUBLIC_CS3_SYSTEM_USER_API_KEY
|
||||
name: OCIS_SYSTEM_USER_API_KEY
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: API key for the STORAGE-SYSTEM system user.
|
||||
@@ -8974,7 +9050,7 @@ OCIS_SYSTEM_USER_API_KEY:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SYSTEM_USER_ID:
|
||||
name: OCIS_SYSTEM_USER_ID;SHARING_PUBLIC_CS3_SYSTEM_USER_ID
|
||||
name: OCIS_SYSTEM_USER_ID;SETTINGS_SYSTEM_USER_ID
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID
|
||||
@@ -8986,7 +9062,7 @@ OCIS_SYSTEM_USER_ID:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_SYSTEM_USER_IDP:
|
||||
name: OCIS_SYSTEM_USER_IDP;SHARING_PUBLIC_CS3_SYSTEM_USER_IDP
|
||||
name: OCIS_SYSTEM_USER_IDP;SETTINGS_SYSTEM_USER_IDP
|
||||
defaultValue: internal
|
||||
type: string
|
||||
description: IDP of the oCIS STORAGE-SYSTEM system user.
|
||||
@@ -8995,7 +9071,7 @@ OCIS_SYSTEM_USER_IDP:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_TRACING_COLLECTOR:
|
||||
name: OCIS_TRACING_COLLECTOR;STORAGE_USERS_TRACING_COLLECTOR
|
||||
name: OCIS_TRACING_COLLECTOR;IDM_TRACING_COLLECTOR
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces.
|
||||
@@ -9005,7 +9081,7 @@ OCIS_TRACING_COLLECTOR:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_TRACING_ENABLED:
|
||||
name: OCIS_TRACING_ENABLED;STORAGE_USERS_TRACING_ENABLED
|
||||
name: OCIS_TRACING_ENABLED;IDM_TRACING_ENABLED
|
||||
defaultValue: "false"
|
||||
type: bool
|
||||
description: Activates tracing.
|
||||
@@ -9014,7 +9090,7 @@ OCIS_TRACING_ENABLED:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_TRACING_ENDPOINT:
|
||||
name: OCIS_TRACING_ENDPOINT;STORAGE_USERS_TRACING_ENDPOINT
|
||||
name: OCIS_TRACING_ENDPOINT;IDM_TRACING_ENDPOINT
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The endpoint of the tracing agent.
|
||||
@@ -9023,7 +9099,7 @@ OCIS_TRACING_ENDPOINT:
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_TRACING_TYPE:
|
||||
name: OCIS_TRACING_TYPE;STORAGE_USERS_TRACING_TYPE
|
||||
name: OCIS_TRACING_TYPE;IDM_TRACING_TYPE
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The type of tracing. Defaults to '', which is the same as 'jaeger'.
|
||||
@@ -9036,27 +9112,27 @@ OCIS_TRANSFER_SECRET:
|
||||
name: OCIS_TRANSFER_SECRET
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: The storage transfer secret.
|
||||
description: Transfer secret for signing file up- and download requests.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_TRANSLATION_PATH:
|
||||
name: OCIS_TRANSLATION_PATH;GRAPH_TRANSLATION_PATH
|
||||
name: OCIS_TRANSLATION_PATH;USERLOG_TRANSLATION_PATH
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: (optional) Set this to a path with custom translations to overwrite
|
||||
the builtin translations. Note that file and folder naming rules apply, see the
|
||||
documentation for more details.
|
||||
introductionVersion: 7.0.0
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
OCIS_URL:
|
||||
name: OCIS_URL;OCDAV_PUBLIC_URL
|
||||
name: OCIS_URL;OCIS_OIDC_ISSUER
|
||||
defaultValue: https://localhost:9200
|
||||
type: string
|
||||
description: URL where oCIS is reachable for users.
|
||||
description: The OIDC issuer URL to assign to the demo users.
|
||||
introductionVersion: pre5.0
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
@@ -11665,6 +11741,17 @@ SETTINGS_TRACING_TYPE:
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
SETTINGS_TRANSLATION_PATH:
|
||||
name: OCIS_TRANSLATION_PATH;SETTINGS_TRANSLATION_PATH
|
||||
defaultValue: ""
|
||||
type: string
|
||||
description: (optional) Set this to a path with custom translations to overwrite
|
||||
the builtin translations. Note that file and folder naming rules apply, see the
|
||||
documentation for more details.
|
||||
introductionVersion: "7.1"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
deprecationInfo: ""
|
||||
SHARING_DEBUG_ADDR:
|
||||
name: SHARING_DEBUG_ADDR
|
||||
defaultValue: 127.0.0.1:9151
|
||||
@@ -14178,7 +14265,8 @@ STORAGE_USERS_S3NG_PUT_OBJECT_PART_SIZE:
|
||||
name: STORAGE_USERS_S3NG_PUT_OBJECT_PART_SIZE
|
||||
defaultValue: "0"
|
||||
type: uint64
|
||||
description: Part size for concurrent uploads to S3.
|
||||
description: Part size for concurrent uploads to S3. If no value or 0 is set, the
|
||||
library's default value of 16MB is used. The value range is min 5MB and max 5GB.
|
||||
introductionVersion: "5.0"
|
||||
deprecationVersion: ""
|
||||
removalVersion: ""
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
// # Added Variables between oCIS 7.0.0 and oCIS 7.1.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2025.01.10
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service | Variable | Description | Default
|
||||
|
||||
| xref:{s-path}/frontend.adoc[Fontend]
|
||||
| FRONTEND_CONFIGURABLE_NOTIFICATIONS
|
||||
| Allow configuring notifications via web client.
|
||||
| false
|
||||
|
||||
| xref:{s-path}/notifications.adoc[Notifications]
|
||||
| NOTIFICATIONS_STORE
|
||||
| The type of the store. Supported values are: 'memory', 'nats-js-kv', 'redis-sentinel', 'noop'. See the text description for details.
|
||||
| nats-js-kv
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_AUTH_PASSWORD
|
||||
| The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
||||
|
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_AUTH_USERNAME
|
||||
| The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
||||
|
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_DATABASE
|
||||
| The database name the configured store should use.
|
||||
| notifications
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_NODES
|
||||
| A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
| [127.0.0.1:9233]
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_TABLE
|
||||
| The database table the store should use.
|
||||
|
|
||||
|
||||
|
|
||||
| NOTIFICATIONS_STORE_TTL
|
||||
| Time to live for notifications in the store. Defaults to '336h' (2 weeks). See the Environment Variable Types description for more details.
|
||||
| 336h0m0s
|
||||
|
||||
| xref:{s-path}/settings.adoc[Settings]
|
||||
| SETTINGS_TRANSLATION_PATH
|
||||
| (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details.
|
||||
|
|
||||
|
||||
|===
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
// # Deprecated Variables between oCIS 7.0.0 and oCIS 7.1.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2025.01.10
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
Note that these environment variables were listed for deprecation in 7.0.0 already. Removal has been delayed for an upcoming production version. They are listed here for consistency.
|
||||
|
||||
|
||||
[width="100%",cols="~,~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service | Variable | Description | Removal Version | Deprecation Info
|
||||
|
||||
| xref:{s-path}/clientlog.adoc[Clientlog]
|
||||
| CLIENTLOG_REVA_GATEWAY
|
||||
| CS3 gateway used to look up user metadata
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| CLIENTLOG_REVA_GATEWAY removed for simplicity.
|
||||
|
||||
| xref:{s-path}/frontend.adoc[Frontend]
|
||||
| FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE
|
||||
| Additional information attribute for the user like {{.Mail}}.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_ENABLE_DENIALS
|
||||
| EXPERIMENTAL: enable the feature to deny access on folders.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_INCLUDE_OCM_SHAREES
|
||||
| Include OCM sharees when listing sharees.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_INCLUDE_OCM_SHAREES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_LIST_OCM_SHARES
|
||||
| Include OCM shares when listing shares. See the OCM service documentation for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_LIST_OCM_SHARES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PERSONAL_NAMESPACE
|
||||
| Home namespace identifier.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_PREFIX
|
||||
| URL path prefix for the OCS service. Note that the string must not start with '/'.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_SHARE_PREFIX
|
||||
| Path prefix for shares as part of an ocis resource. Note that the path must start with '/'.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD
|
||||
| The password to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME
|
||||
| The username to use for authentication. Only applies when using the 'nats-js-kv' store type.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE
|
||||
| Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE
|
||||
| The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE_NODES
|
||||
| A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_STORE_NODES, the OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_TABLE
|
||||
| The database table the store should use.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| The OCS API is deprecated
|
||||
|
||||
|
|
||||
| FRONTEND_OCS_STAT_CACHE_TTL
|
||||
| Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
|
||||
| %%NEXT_PRODUCTION_VERSION%%
|
||||
| FRONTEND_OCS_STAT_CACHE_TTL, the OCS API is deprecated
|
||||
|
||||
|===
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
// # Removed Variables between oCIS 7.0.0 and oCIS 7.1.0
|
||||
// commenting the headline to make it better includable
|
||||
|
||||
// table created per 2025.01.10
|
||||
// the table should be recreated/updated on source () changes
|
||||
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
|===
|
||||
| Service | Variable | Description | Default
|
||||
|
||||
|===
|
||||
|
||||
@@ -17,12 +17,12 @@ require (
|
||||
github.com/cenkalti/backoff v2.2.1+incompatible
|
||||
github.com/coreos/go-oidc/v3 v3.11.0
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1
|
||||
github.com/cs3org/reva/v2 v2.27.1-0.20250109115603-fe9caac22593
|
||||
github.com/cs3org/reva/v2 v2.27.3
|
||||
github.com/davidbyttow/govips/v2 v2.15.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
|
||||
github.com/gabriel-vasile/mimetype v1.4.7
|
||||
github.com/gabriel-vasile/mimetype v1.4.8
|
||||
github.com/ggwhite/go-masker v1.1.0
|
||||
github.com/go-chi/chi/v5 v5.1.0
|
||||
github.com/go-chi/render v1.0.3
|
||||
@@ -98,13 +98,13 @@ require (
|
||||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.32.0
|
||||
go.opentelemetry.io/otel/sdk v1.32.0
|
||||
go.opentelemetry.io/otel/trace v1.32.0
|
||||
golang.org/x/crypto v0.31.0
|
||||
golang.org/x/crypto v0.32.0
|
||||
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
|
||||
golang.org/x/image v0.22.0
|
||||
golang.org/x/net v0.33.0
|
||||
golang.org/x/oauth2 v0.24.0
|
||||
golang.org/x/sync v0.10.0
|
||||
golang.org/x/term v0.27.0
|
||||
golang.org/x/term v0.28.0
|
||||
golang.org/x/text v0.21.0
|
||||
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697
|
||||
google.golang.org/grpc v1.68.0
|
||||
@@ -327,7 +327,7 @@ require (
|
||||
go.uber.org/multierr v1.9.0 // indirect
|
||||
go.uber.org/zap v1.23.0 // indirect
|
||||
golang.org/x/mod v0.21.0 // indirect
|
||||
golang.org/x/sys v0.28.0 // indirect
|
||||
golang.org/x/sys v0.29.0 // indirect
|
||||
golang.org/x/time v0.7.0 // indirect
|
||||
golang.org/x/tools v0.26.0 // indirect
|
||||
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
||||
@@ -342,13 +342,13 @@ require (
|
||||
|
||||
replace github.com/studio-b12/gowebdav => github.com/kobergj/gowebdav v0.0.0-20250102091030-aa65266db202
|
||||
|
||||
replace github.com/egirna/icap-client => github.com/fschade/icap-client v0.0.0-20240802074440-aade4a234387
|
||||
replace github.com/egirna/icap-client => github.com/kobergj/icap-client v0.0.0-20250116172800-8eaa5022532b
|
||||
|
||||
replace github.com/unrolled/secure => github.com/DeepDiver1975/secure v0.0.0-20240611112133-abc838fb797c
|
||||
|
||||
replace github.com/go-micro/plugins/v4/store/nats-js-kv => github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240807130109-f62bb67e8c90
|
||||
|
||||
replace go-micro.dev/v4 => github.com/butonic/go-micro/v4 v4.11.1-0.20241115112658-b5d4de5ed9b3
|
||||
replace go-micro.dev/v4 => github.com/kobergj/go-micro/v4 v4.0.0-20250117084952-d07d30666b7c
|
||||
|
||||
// exclude the v2 line of go-sqlite3 which was released accidentally and prevents pulling in newer versions of go-sqlite3
|
||||
// see https://github.com/mattn/go-sqlite3/issues/965 for more details
|
||||
|
||||
@@ -192,8 +192,6 @@ github.com/bombsimon/logrusr/v3 v3.1.0/go.mod h1:PksPPgSFEL2I52pla2glgCyyd2OqOHA
|
||||
github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8=
|
||||
github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA=
|
||||
github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8=
|
||||
github.com/butonic/go-micro/v4 v4.11.1-0.20241115112658-b5d4de5ed9b3 h1:h8Z0hBv5tg/uZMKu8V47+DKWYVQg0lYP8lXDQq7uRpE=
|
||||
github.com/butonic/go-micro/v4 v4.11.1-0.20241115112658-b5d4de5ed9b3/go.mod h1:eE/tD53n3KbVrzrWxKLxdkGw45Fg1qaNLWjpJMvIUF4=
|
||||
github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
|
||||
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2 h1:3uZCA/BLTIu+DqCfguByNMJa2HVHpXvjfy0Dy7g6fuA=
|
||||
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2/go.mod h1:RnUjnIXxEJcL6BgCvNyzCCRzZcxCgsZCi+RNlvYor5Q=
|
||||
@@ -253,8 +251,8 @@ github.com/crewjam/saml v0.4.14 h1:g9FBNx62osKusnFzs3QTN5L9CVA/Egfgm+stJShzw/c=
|
||||
github.com/crewjam/saml v0.4.14/go.mod h1:UVSZCf18jJkk6GpWNVqcyQJMD5HsRugBPf4I1nl2mME=
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1 h1:RU6LT6mkD16xZs011+8foU7T3LrPvTTSWeTQ9OgfhkA=
|
||||
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1/go.mod h1:DedpcqXl193qF/08Y04IO0PpxyyMu8+GrkD6kWK2MEQ=
|
||||
github.com/cs3org/reva/v2 v2.27.1-0.20250109115603-fe9caac22593 h1:bzRnLxh2Vj/Buy2AYv0KRmpxgkIYSpfs9ELbR7fhasY=
|
||||
github.com/cs3org/reva/v2 v2.27.1-0.20250109115603-fe9caac22593/go.mod h1:OrCNgIFkp3ROHiEjNCj8eZHACmYCD4owtFRuYFlYZkU=
|
||||
github.com/cs3org/reva/v2 v2.27.3 h1:9YZpjQNlDGxlbdKJSyJ5zdgncvdj5Pcdq9sg/k8+7ac=
|
||||
github.com/cs3org/reva/v2 v2.27.3/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=
|
||||
@@ -326,14 +324,12 @@ github.com/foxcpp/go-mockdns v1.1.0 h1:jI0rD8M0wuYAxL7r/ynTrCQQq0BVqfB99Vgk7Dlme
|
||||
github.com/foxcpp/go-mockdns v1.1.0/go.mod h1:IhLeSFGed3mJIAXPH2aiRQB+kqz7oqu8ld2qVbOu7Wk=
|
||||
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
|
||||
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
|
||||
github.com/fschade/icap-client v0.0.0-20240802074440-aade4a234387 h1:Y3wZgTr29sLxWSMz4KF91o0x87EaJF6FIPNJFepRIiw=
|
||||
github.com/fschade/icap-client v0.0.0-20240802074440-aade4a234387/go.mod h1:HpntrRsQA6RKNXy2Nbr4kVj+NO3OYWpAQUVxeya+3sU=
|
||||
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
|
||||
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
|
||||
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
|
||||
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
|
||||
github.com/gabriel-vasile/mimetype v1.4.7 h1:SKFKl7kD0RiPdbht0s7hFtjl489WcQ1VyPW8ZzUMYCA=
|
||||
github.com/gabriel-vasile/mimetype v1.4.7/go.mod h1:GDlAgAyIRT27BhFl53XNAFtfjzOkLaF35JdEG0P7LtU=
|
||||
github.com/gabriel-vasile/mimetype v1.4.8 h1:FfZ3gj38NjllZIeJAmMhr+qKL8Wu+nOoI3GqacKw1NM=
|
||||
github.com/gabriel-vasile/mimetype v1.4.8/go.mod h1:ByKUIKGjh1ODkGM1asKUbQZOLGrPjydw3hYPU2YU9t8=
|
||||
github.com/gdexlab/go-render v1.0.1 h1:rxqB3vo5s4n1kF0ySmoNeSPRYkEsyHgln4jFIQY7v0U=
|
||||
github.com/gdexlab/go-render v1.0.1/go.mod h1:wRi5nW2qfjiGj4mPukH4UV0IknS1cHD4VgFTmJX5JzM=
|
||||
github.com/getkin/kin-openapi v0.13.0/go.mod h1:WGRs2ZMM1Q8LR1QBEwUxC6RJEfaBcD0s+pcEVXFuAjw=
|
||||
@@ -702,8 +698,12 @@ github.com/klauspost/compress v1.17.11/go.mod h1:pMDklpSncoRMuLFrf1W9Ss9KT+0rH90
|
||||
github.com/klauspost/cpuid/v2 v2.0.1/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
|
||||
github.com/klauspost/cpuid/v2 v2.2.8 h1:+StwCXwm9PdpiEkPyzBXIy+M9KUb4ODm0Zarf1kS5BM=
|
||||
github.com/klauspost/cpuid/v2 v2.2.8/go.mod h1:Lcz8mBdAVJIBVzewtcLocK12l3Y+JytZYpaMropDUws=
|
||||
github.com/kobergj/go-micro/v4 v4.0.0-20250117084952-d07d30666b7c h1:21N6rhk5dzUxYhJYiBsyqoRrIowpetooAS5mDwHayeE=
|
||||
github.com/kobergj/go-micro/v4 v4.0.0-20250117084952-d07d30666b7c/go.mod h1:eE/tD53n3KbVrzrWxKLxdkGw45Fg1qaNLWjpJMvIUF4=
|
||||
github.com/kobergj/gowebdav v0.0.0-20250102091030-aa65266db202 h1:A1xJ2NKgiYFiaHiLl9B5yw/gUBACSs9crDykTS3GuQI=
|
||||
github.com/kobergj/gowebdav v0.0.0-20250102091030-aa65266db202/go.mod h1:bHA7t77X/QFExdeAnDzK6vKM34kEZAcE1OX4MfiwjkE=
|
||||
github.com/kobergj/icap-client v0.0.0-20250116172800-8eaa5022532b h1:NBKEgFtIukCreWOEvtrgNQusqosGyhlxzyiHbba1zEI=
|
||||
github.com/kobergj/icap-client v0.0.0-20250116172800-8eaa5022532b/go.mod h1:HpntrRsQA6RKNXy2Nbr4kVj+NO3OYWpAQUVxeya+3sU=
|
||||
github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240807130109-f62bb67e8c90 h1:pfI8Z5yavO6fU6vDGlWhZ4BgDlvj8c6xB7J57HfTPwA=
|
||||
github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240807130109-f62bb67e8c90/go.mod h1:pjcozWijkNPbEtX5SIQaxEW/h8VAVZYTLx+70bmB3LY=
|
||||
github.com/kolo/xmlrpc v0.0.0-20200310150728-e0350524596b/go.mod h1:o03bZfuBwAXHetKXuInt4S7omeXUu62/A845kiycsSQ=
|
||||
@@ -1229,8 +1229,8 @@ golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU
|
||||
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.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U=
|
||||
golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk=
|
||||
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=
|
||||
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
|
||||
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
|
||||
@@ -1435,8 +1435,8 @@ 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.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
|
||||
golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=
|
||||
golang.org/x/sys v0.28.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/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=
|
||||
@@ -1447,8 +1447,8 @@ golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
|
||||
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.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q=
|
||||
golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM=
|
||||
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=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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-18 00:26+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"
|
||||
|
||||
@@ -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-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"
|
||||
|
||||
@@ -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-22 00:26+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"
|
||||
|
||||
@@ -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: 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"
|
||||
|
||||
@@ -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: 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"
|
||||
|
||||
@@ -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-24 00:55+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"
|
||||
|
||||
@@ -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{
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package command
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/cs3org/reva/v2/pkg/events"
|
||||
"github.com/cs3org/reva/v2/pkg/events/stream"
|
||||
"github.com/owncloud/ocis/v2/services/notifications/pkg/config"
|
||||
@@ -51,6 +52,7 @@ func SendEmail(cfg *config.Config) *cli.Command {
|
||||
return err
|
||||
}
|
||||
}
|
||||
fmt.Println("successfully sent SendEmailsEvent")
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
||||
@@ -81,6 +81,7 @@ func Server(cfg *config.Config) *cli.Command {
|
||||
evs := []events.Unmarshaller{
|
||||
events.ShareCreated{},
|
||||
events.ShareExpired{},
|
||||
events.ShareRemoved{},
|
||||
events.SpaceShared{},
|
||||
events.SpaceUnshared{},
|
||||
events.SpaceMembershipExpired{},
|
||||
|
||||
@@ -116,7 +116,7 @@ func NewGroupedHTMLTemplate(gmt GroupedMessageTemplate, vars map[string]string,
|
||||
}
|
||||
bodyParts = append(bodyParts, bodyPart)
|
||||
}
|
||||
gmt.MessageBody = strings.Join(bodyParts, "<br><br><br>")
|
||||
gmt.MessageBody = newlineToBr(strings.Join(bodyParts, "<br><br><br>"))
|
||||
|
||||
return gmt, nil
|
||||
}
|
||||
|
||||
@@ -7,16 +7,16 @@
|
||||
# Edith Parzefall, 2023
|
||||
# Florian Lenz <florian@owncloud.com>, 2023
|
||||
# Michael Barz <mbarz@owncloud.com>, 2023
|
||||
# Martin <github@diemattels.at>, 2024
|
||||
# Martin <github@diemattels.at>, 2025
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-01 00:04+0000\n"
|
||||
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
|
||||
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2024\n"
|
||||
"Last-Translator: Martin <github@diemattels.at>, 2025\n"
|
||||
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -25,62 +25,73 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:60
|
||||
#: pkg/email/templates.go:78
|
||||
msgid "Click here to check it: {ShareLink}"
|
||||
msgstr "Zum Überprüfen hier klicken: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .CallToAction }}
|
||||
#. SharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:18 pkg/email/templates.go:45
|
||||
#: pkg/email/templates.go:23 pkg/email/templates.go:63
|
||||
msgid "Click here to view it: {ShareLink}"
|
||||
msgstr "Zum Ansehen hier klicken: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:14
|
||||
#: pkg/email/templates.go:19
|
||||
msgid "Hello {ShareGrantee}"
|
||||
msgstr "Hallo {ShareGrantee}"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:27
|
||||
#. ShareRemoved email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:32 pkg/email/templates.go:45
|
||||
msgid "Hello {ShareGrantee},"
|
||||
msgstr "Hallo {ShareGrantee},"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. UnsharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. MembershipExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:41 pkg/email/templates.go:54
|
||||
#: pkg/email/templates.go:69
|
||||
#: pkg/email/templates.go:59 pkg/email/templates.go:72
|
||||
#: pkg/email/templates.go:87
|
||||
msgid "Hello {SpaceGrantee},"
|
||||
msgstr "Hallo {SpaceGrantee},"
|
||||
|
||||
#. Grouped email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:131
|
||||
msgid "Hi {DisplayName},"
|
||||
msgstr "Hallo {DisplayName},"
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
|
||||
#. }}
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:82 pkg/email/templates.go:99
|
||||
#: pkg/email/templates.go:100 pkg/email/templates.go:117
|
||||
msgid "Hi,"
|
||||
msgstr "Hallo,"
|
||||
|
||||
#. MembershipExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:67
|
||||
#: pkg/email/templates.go:85
|
||||
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
|
||||
msgstr "Die Mitgliedschaft für '{SpaceName}' ist am {ExpiredAt} abgelaufen."
|
||||
|
||||
#. Grouped email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:129
|
||||
msgid "Report"
|
||||
msgstr "Bericht"
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
|
||||
#. directly)
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
|
||||
#. field (resolves directly)
|
||||
#: pkg/email/templates.go:80 pkg/email/templates.go:97
|
||||
#: pkg/email/templates.go:98 pkg/email/templates.go:115
|
||||
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
|
||||
msgstr "ScienceMesh: {InitiatorName} möchte mir Ihnen gerne zusammenarbeiten"
|
||||
msgstr "Vernetzung: {InitiatorName} möchte mit Ihnen gerne zusammenarbeiten"
|
||||
|
||||
#. ShareExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:25
|
||||
#: pkg/email/templates.go:30
|
||||
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
|
||||
msgstr "Die Freigabe für '{ShareFolder}' ist am {ExpiredAt} abgelaufen."
|
||||
|
||||
#. MembershipExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:71
|
||||
#: pkg/email/templates.go:89
|
||||
msgid ""
|
||||
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -90,7 +101,7 @@ msgstr ""
|
||||
"Über eventuelle weitere Freigaben oder Space-Mitgliedschaften kann der Zugriff trotzdem weiterhin möglich sein."
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:29
|
||||
#: pkg/email/templates.go:34
|
||||
msgid ""
|
||||
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -102,7 +113,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:101
|
||||
#: pkg/email/templates.go:119
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"Please visit your federation settings and use the following details:\n"
|
||||
@@ -116,7 +127,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
|
||||
#. .MessageBody }}
|
||||
#: pkg/email/templates.go:84
|
||||
#: pkg/email/templates.go:102
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"To accept the invite, please visit the following URL:\n"
|
||||
@@ -136,22 +147,39 @@ msgstr ""
|
||||
" ProviderDomain: {ProviderDomain}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:16
|
||||
#: pkg/email/templates.go:21
|
||||
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
|
||||
msgstr "{ShareSharer} hat \"{ShareFolder}\" mit Ihnen geteilt."
|
||||
|
||||
#. ShareRemoved email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:47
|
||||
msgid ""
|
||||
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
|
||||
"\n"
|
||||
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
|
||||
msgstr ""
|
||||
"{ShareSharer} hat den Ordner '{ShareFolder}' nicht mehr mit Dir geteilt.\n"
|
||||
"\n"
|
||||
"Auch wenn diese Freigabe widerrufen wurde, haben Sie möglicherweise noch Zugriff über andere Freigaben und/oder Space Mitgliedschaften."
|
||||
|
||||
#. ShareCreated email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:12
|
||||
#: pkg/email/templates.go:17
|
||||
msgid "{ShareSharer} shared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} hat \"{ShareFolder}\" mit Ihnen geteilt"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#. ShareRemoved email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:43
|
||||
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
|
||||
msgstr ""
|
||||
"{ShareSharer} hat den Ordner '{ShareFolder}' nicht mehr mit Dir geteilt"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:61
|
||||
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
|
||||
msgstr "{SpaceSharer} hat Sie eingeladen, dem Space \"{SpaceName}\" beizutreten."
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:56
|
||||
#: pkg/email/templates.go:74
|
||||
msgid ""
|
||||
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
|
||||
"\n"
|
||||
@@ -162,11 +190,11 @@ msgstr ""
|
||||
"Über eventuelle weitere Freigaben oder Space-Mitgliedschaften kann der Zugriff trotzdem weiterhin möglich sein."
|
||||
|
||||
#. SharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:39
|
||||
#: pkg/email/templates.go:57
|
||||
msgid "{SpaceSharer} invited you to join {SpaceName}"
|
||||
msgstr "{SpaceSharer} hat Sie eingeladen, dem Space {SpaceName} beizutreten."
|
||||
|
||||
#. UnsharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:52
|
||||
#: pkg/email/templates.go:70
|
||||
msgid "{SpaceSharer} removed you from {SpaceName}"
|
||||
msgstr "{SpaceSharer} hat Sie aus dem Space {SpaceName} entfernt."
|
||||
@@ -4,16 +4,16 @@
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Andi Chandler <andi@gowling.com>, 2024
|
||||
# Andi Chandler <andi@gowling.com>, 2025
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-29 00:04+0000\n"
|
||||
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
|
||||
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
|
||||
"Last-Translator: Andi Chandler <andi@gowling.com>, 2024\n"
|
||||
"Last-Translator: Andi Chandler <andi@gowling.com>, 2025\n"
|
||||
"Language-Team: English (United Kingdom) (https://app.transifex.com/owncloud-org/teams/6149/en_GB/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -22,62 +22,73 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:60
|
||||
#: pkg/email/templates.go:78
|
||||
msgid "Click here to check it: {ShareLink}"
|
||||
msgstr "Click here to check it: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .CallToAction }}
|
||||
#. SharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:18 pkg/email/templates.go:45
|
||||
#: pkg/email/templates.go:23 pkg/email/templates.go:63
|
||||
msgid "Click here to view it: {ShareLink}"
|
||||
msgstr "Click here to view it: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:14
|
||||
#: pkg/email/templates.go:19
|
||||
msgid "Hello {ShareGrantee}"
|
||||
msgstr "Hello {ShareGrantee}"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:27
|
||||
#. ShareRemoved email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:32 pkg/email/templates.go:45
|
||||
msgid "Hello {ShareGrantee},"
|
||||
msgstr "Hello {ShareGrantee},"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. UnsharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. MembershipExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:41 pkg/email/templates.go:54
|
||||
#: pkg/email/templates.go:69
|
||||
#: pkg/email/templates.go:59 pkg/email/templates.go:72
|
||||
#: pkg/email/templates.go:87
|
||||
msgid "Hello {SpaceGrantee},"
|
||||
msgstr "Hello {SpaceGrantee},"
|
||||
|
||||
#. Grouped email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:131
|
||||
msgid "Hi {DisplayName},"
|
||||
msgstr "Hi {DisplayName},"
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
|
||||
#. }}
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:82 pkg/email/templates.go:99
|
||||
#: pkg/email/templates.go:100 pkg/email/templates.go:117
|
||||
msgid "Hi,"
|
||||
msgstr "Hi,"
|
||||
|
||||
#. MembershipExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:67
|
||||
#: pkg/email/templates.go:85
|
||||
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
|
||||
msgstr "Membership of '{SpaceName}' expired at {ExpiredAt}"
|
||||
|
||||
#. Grouped email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:129
|
||||
msgid "Report"
|
||||
msgstr "Report"
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
|
||||
#. directly)
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
|
||||
#. field (resolves directly)
|
||||
#: pkg/email/templates.go:80 pkg/email/templates.go:97
|
||||
#: pkg/email/templates.go:98 pkg/email/templates.go:115
|
||||
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
|
||||
msgstr "ScienceMesh: {InitiatorName} wants to collaborate with you"
|
||||
|
||||
#. ShareExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:25
|
||||
#: pkg/email/templates.go:30
|
||||
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
|
||||
msgstr "Share to '{ShareFolder}' expired at {ExpiredAt}"
|
||||
|
||||
#. MembershipExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:71
|
||||
#: pkg/email/templates.go:89
|
||||
msgid ""
|
||||
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -88,7 +99,7 @@ msgstr ""
|
||||
"Even though this membership has expired you still might have access through other shares and/or space memberships"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:29
|
||||
#: pkg/email/templates.go:34
|
||||
msgid ""
|
||||
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -100,7 +111,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:101
|
||||
#: pkg/email/templates.go:119
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"Please visit your federation settings and use the following details:\n"
|
||||
@@ -114,7 +125,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
|
||||
#. .MessageBody }}
|
||||
#: pkg/email/templates.go:84
|
||||
#: pkg/email/templates.go:102
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"To accept the invite, please visit the following URL:\n"
|
||||
@@ -133,22 +144,38 @@ msgstr ""
|
||||
" ProviderDomain: {ProviderDomain}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:16
|
||||
#: pkg/email/templates.go:21
|
||||
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
|
||||
msgstr "{ShareSharer} has shared \"{ShareFolder}\" with you."
|
||||
|
||||
#. ShareRemoved email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:47
|
||||
msgid ""
|
||||
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
|
||||
"\n"
|
||||
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
|
||||
msgstr ""
|
||||
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
|
||||
"\n"
|
||||
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
|
||||
|
||||
#. ShareCreated email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:12
|
||||
#: pkg/email/templates.go:17
|
||||
msgid "{ShareSharer} shared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} shared '{ShareFolder}' with you"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#. ShareRemoved email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:43
|
||||
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} unshared '{ShareFolder}' with you"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:61
|
||||
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
|
||||
msgstr "{SpaceSharer} has invited you to join \"{SpaceName}\"."
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:56
|
||||
#: pkg/email/templates.go:74
|
||||
msgid ""
|
||||
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
|
||||
"\n"
|
||||
@@ -159,11 +186,11 @@ msgstr ""
|
||||
"You might still have access through your other groups or direct membership."
|
||||
|
||||
#. SharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:39
|
||||
#: pkg/email/templates.go:57
|
||||
msgid "{SpaceSharer} invited you to join {SpaceName}"
|
||||
msgstr "{SpaceSharer} invited you to join {SpaceName}"
|
||||
|
||||
#. UnsharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:52
|
||||
#: pkg/email/templates.go:70
|
||||
msgid "{SpaceSharer} removed you from {SpaceName}"
|
||||
msgstr "{SpaceSharer} removed you from {SpaceName}"
|
||||
@@ -4,17 +4,18 @@
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Juan Carlos Garrote, 2023
|
||||
# Jesús Recio <jrecio@solidgear.es>, 2024
|
||||
# Martin <github@diemattels.at>, 2025
|
||||
# Juan Carlos Garrote, 2025
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-06 00:03+0000\n"
|
||||
"POT-Creation-Date: 2025-01-23 16:29+0000\n"
|
||||
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
|
||||
"Last-Translator: Jesús Recio <jrecio@solidgear.es>, 2024\n"
|
||||
"Last-Translator: Juan Carlos Garrote, 2025\n"
|
||||
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -23,62 +24,73 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:60
|
||||
#: pkg/email/templates.go:78
|
||||
msgid "Click here to check it: {ShareLink}"
|
||||
msgstr "Click aquí para comprobarlo: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .CallToAction }}
|
||||
#. SharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:18 pkg/email/templates.go:45
|
||||
#: pkg/email/templates.go:23 pkg/email/templates.go:63
|
||||
msgid "Click here to view it: {ShareLink}"
|
||||
msgstr "Click aquí para verlo: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:14
|
||||
#: pkg/email/templates.go:19
|
||||
msgid "Hello {ShareGrantee}"
|
||||
msgstr "Hola {ShareGrantee}"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:27
|
||||
#. ShareRemoved email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:32 pkg/email/templates.go:45
|
||||
msgid "Hello {ShareGrantee},"
|
||||
msgstr "Hola {ShareGrantee},"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. UnsharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. MembershipExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:41 pkg/email/templates.go:54
|
||||
#: pkg/email/templates.go:69
|
||||
#: pkg/email/templates.go:59 pkg/email/templates.go:72
|
||||
#: pkg/email/templates.go:87
|
||||
msgid "Hello {SpaceGrantee},"
|
||||
msgstr "Hola {SpaceGrantee},"
|
||||
|
||||
#. Grouped email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:131
|
||||
msgid "Hi {DisplayName},"
|
||||
msgstr "Hola {DisplayName},"
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
|
||||
#. }}
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:82 pkg/email/templates.go:99
|
||||
#: pkg/email/templates.go:100 pkg/email/templates.go:117
|
||||
msgid "Hi,"
|
||||
msgstr "Hola,"
|
||||
|
||||
#. MembershipExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:67
|
||||
#: pkg/email/templates.go:85
|
||||
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
|
||||
msgstr "La membresía de '{SpaceName}' caducó en {ExpiredAt}"
|
||||
|
||||
#. Grouped email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:129
|
||||
msgid "Report"
|
||||
msgstr "Notificar"
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
|
||||
#. directly)
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
|
||||
#. field (resolves directly)
|
||||
#: pkg/email/templates.go:80 pkg/email/templates.go:97
|
||||
#: pkg/email/templates.go:98 pkg/email/templates.go:115
|
||||
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
|
||||
msgstr "ScienceMesh: {InitiatorName} quiere colaborar con usted"
|
||||
|
||||
#. ShareExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:25
|
||||
#: pkg/email/templates.go:30
|
||||
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
|
||||
msgstr "La compartición a '{ShareFolder}' caducó en {ExpiredAt}"
|
||||
|
||||
#. MembershipExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:71
|
||||
#: pkg/email/templates.go:89
|
||||
msgid ""
|
||||
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -89,7 +101,7 @@ msgstr ""
|
||||
"Aunque esta membresía ha caducado, aún puedes tener acceso a través de otras comparticiones y/o membresías al space"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:29
|
||||
#: pkg/email/templates.go:34
|
||||
msgid ""
|
||||
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -101,7 +113,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:101
|
||||
#: pkg/email/templates.go:119
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"Please visit your federation settings and use the following details:\n"
|
||||
@@ -115,7 +127,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
|
||||
#. .MessageBody }}
|
||||
#: pkg/email/templates.go:84
|
||||
#: pkg/email/templates.go:102
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"To accept the invite, please visit the following URL:\n"
|
||||
@@ -134,22 +146,35 @@ msgstr ""
|
||||
"ProviderDomain: {ProviderDomain}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:16
|
||||
#: pkg/email/templates.go:21
|
||||
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
|
||||
msgstr "{ShareSharer} ha compartido \"{ShareFolder}\" contigo."
|
||||
|
||||
#. ShareRemoved email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:47
|
||||
msgid ""
|
||||
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
|
||||
"\n"
|
||||
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
|
||||
msgstr ""
|
||||
|
||||
#. ShareCreated email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:12
|
||||
#: pkg/email/templates.go:17
|
||||
msgid "{ShareSharer} shared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} compartió '{ShareFolder}' contigo"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#. ShareRemoved email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:43
|
||||
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
|
||||
msgstr ""
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:61
|
||||
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
|
||||
msgstr "{SpaceSharer} te ha invitado a unirte a \"{SpaceName}\"."
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:56
|
||||
#: pkg/email/templates.go:74
|
||||
msgid ""
|
||||
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
|
||||
"\n"
|
||||
@@ -160,11 +185,11 @@ msgstr ""
|
||||
"Aún puedes tener acceso a través de tus otros grupos o membresía directa."
|
||||
|
||||
#. SharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:39
|
||||
#: pkg/email/templates.go:57
|
||||
msgid "{SpaceSharer} invited you to join {SpaceName}"
|
||||
msgstr "{SpaceSharer} te invitó a unirte a {SpaceName}"
|
||||
|
||||
#. UnsharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:52
|
||||
#: pkg/email/templates.go:70
|
||||
msgid "{SpaceSharer} removed you from {SpaceName}"
|
||||
msgstr "{SpaceSharer} te eliminó de {SpaceName}"
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-01 00:04+0000\n"
|
||||
"POT-Creation-Date: 2025-01-23 16:29+0000\n"
|
||||
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
|
||||
"Last-Translator: Flávio Veras <flaviove@gmail.com>, 2024\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/owncloud-org/teams/6149/pt_BR/)\n"
|
||||
@@ -22,62 +22,73 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:60
|
||||
#: pkg/email/templates.go:78
|
||||
msgid "Click here to check it: {ShareLink}"
|
||||
msgstr "Clique aqui para conferir: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .CallToAction }}
|
||||
#. SharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:18 pkg/email/templates.go:45
|
||||
#: pkg/email/templates.go:23 pkg/email/templates.go:63
|
||||
msgid "Click here to view it: {ShareLink}"
|
||||
msgstr "Clique aqui para visualizá-lo: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:14
|
||||
#: pkg/email/templates.go:19
|
||||
msgid "Hello {ShareGrantee}"
|
||||
msgstr "Olá {ShareGrantee}"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:27
|
||||
#. ShareRemoved email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:32 pkg/email/templates.go:45
|
||||
msgid "Hello {ShareGrantee},"
|
||||
msgstr "Olá {ShareGrantee},"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. UnsharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. MembershipExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:41 pkg/email/templates.go:54
|
||||
#: pkg/email/templates.go:69
|
||||
#: pkg/email/templates.go:59 pkg/email/templates.go:72
|
||||
#: pkg/email/templates.go:87
|
||||
msgid "Hello {SpaceGrantee},"
|
||||
msgstr "Olá {SpaceGrantee},"
|
||||
|
||||
#. Grouped email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:131
|
||||
msgid "Hi {DisplayName},"
|
||||
msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
|
||||
#. }}
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:82 pkg/email/templates.go:99
|
||||
#: pkg/email/templates.go:100 pkg/email/templates.go:117
|
||||
msgid "Hi,"
|
||||
msgstr "Olá,"
|
||||
|
||||
#. MembershipExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:67
|
||||
#: pkg/email/templates.go:85
|
||||
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
|
||||
msgstr "A assinatura de '{SpaceName}' expirou em {ExpiredAt}"
|
||||
|
||||
#. Grouped email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:129
|
||||
msgid "Report"
|
||||
msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
|
||||
#. directly)
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
|
||||
#. field (resolves directly)
|
||||
#: pkg/email/templates.go:80 pkg/email/templates.go:97
|
||||
#: pkg/email/templates.go:98 pkg/email/templates.go:115
|
||||
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
|
||||
msgstr "ScienceMesh: {InitiatorName} quer colaborar com você"
|
||||
|
||||
#. ShareExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:25
|
||||
#: pkg/email/templates.go:30
|
||||
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
|
||||
msgstr "Compartilhar em '{ShareFolder}' expirou em {ExpiredAt}"
|
||||
|
||||
#. MembershipExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:71
|
||||
#: pkg/email/templates.go:89
|
||||
msgid ""
|
||||
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -88,7 +99,7 @@ msgstr ""
|
||||
"Mesmo que esta assinatura tenha expirado, você ainda pode ter acesso por meio de outros compartilhamentos e/ou assinaturas de espaço"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:29
|
||||
#: pkg/email/templates.go:34
|
||||
msgid ""
|
||||
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -100,7 +111,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:101
|
||||
#: pkg/email/templates.go:119
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"Please visit your federation settings and use the following details:\n"
|
||||
@@ -113,7 +124,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
|
||||
#. .MessageBody }}
|
||||
#: pkg/email/templates.go:84
|
||||
#: pkg/email/templates.go:102
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"To accept the invite, please visit the following URL:\n"
|
||||
@@ -132,22 +143,35 @@ msgstr ""
|
||||
"ProviderDomain: {ProviderDomain}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:16
|
||||
#: pkg/email/templates.go:21
|
||||
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
|
||||
msgstr "{ShareSharer} compartilhou \"{ShareFolder}\" com você."
|
||||
|
||||
#. ShareRemoved email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:47
|
||||
msgid ""
|
||||
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
|
||||
"\n"
|
||||
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
|
||||
msgstr ""
|
||||
|
||||
#. ShareCreated email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:12
|
||||
#: pkg/email/templates.go:17
|
||||
msgid "{ShareSharer} shared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} compartilhou '{ShareFolder}' com você"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#. ShareRemoved email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:43
|
||||
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
|
||||
msgstr ""
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:61
|
||||
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
|
||||
msgstr "{SpaceSharer} convidou você para participar de \"{SpaceName}\"."
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:56
|
||||
#: pkg/email/templates.go:74
|
||||
msgid ""
|
||||
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
|
||||
"\n"
|
||||
@@ -158,11 +182,11 @@ msgstr ""
|
||||
"Você ainda pode ter acesso por meio de outros grupos ou associação direta."
|
||||
|
||||
#. SharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:39
|
||||
#: pkg/email/templates.go:57
|
||||
msgid "{SpaceSharer} invited you to join {SpaceName}"
|
||||
msgstr "{SpaceSharer} convidou você para participar de {SpaceName}"
|
||||
|
||||
#. UnsharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:52
|
||||
#: pkg/email/templates.go:70
|
||||
msgid "{SpaceSharer} removed you from {SpaceName}"
|
||||
msgstr "{SpaceSharer} removeu você de {SpaceName}"
|
||||
@@ -4,19 +4,19 @@
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Roman Perekhod, 2023
|
||||
# I Robot, 2024
|
||||
# dutty5, 2024
|
||||
# Viktor Scharf, 2024
|
||||
# Roman Perekhod, 2025
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-08 04:19+0000\n"
|
||||
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
|
||||
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
|
||||
"Last-Translator: Viktor Scharf, 2024\n"
|
||||
"Last-Translator: Roman Perekhod, 2025\n"
|
||||
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -25,62 +25,73 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:60
|
||||
#: pkg/email/templates.go:78
|
||||
msgid "Click here to check it: {ShareLink}"
|
||||
msgstr "Нажмите здесь, чтобы проверить: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .CallToAction }}
|
||||
#. SharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:18 pkg/email/templates.go:45
|
||||
#: pkg/email/templates.go:23 pkg/email/templates.go:63
|
||||
msgid "Click here to view it: {ShareLink}"
|
||||
msgstr "Нажмите здесь, чтобы посмотреть: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:14
|
||||
#: pkg/email/templates.go:19
|
||||
msgid "Hello {ShareGrantee}"
|
||||
msgstr "Здравствуйте, {ShareGrantee}"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:27
|
||||
#. ShareRemoved email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:32 pkg/email/templates.go:45
|
||||
msgid "Hello {ShareGrantee},"
|
||||
msgstr "Здравствуйте, {ShareGrantee},"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. UnsharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. MembershipExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:41 pkg/email/templates.go:54
|
||||
#: pkg/email/templates.go:69
|
||||
#: pkg/email/templates.go:59 pkg/email/templates.go:72
|
||||
#: pkg/email/templates.go:87
|
||||
msgid "Hello {SpaceGrantee},"
|
||||
msgstr "Здравствуйте, {SpaceGrantee},"
|
||||
|
||||
#. Grouped email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:131
|
||||
msgid "Hi {DisplayName},"
|
||||
msgstr "Привет {DisplayName},"
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
|
||||
#. }}
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:82 pkg/email/templates.go:99
|
||||
#: pkg/email/templates.go:100 pkg/email/templates.go:117
|
||||
msgid "Hi,"
|
||||
msgstr "Привет,"
|
||||
|
||||
#. MembershipExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:67
|
||||
#: pkg/email/templates.go:85
|
||||
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
|
||||
msgstr "Членство в '{SpaceName}' истекло {ExpiredAt}"
|
||||
|
||||
#. Grouped email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:129
|
||||
msgid "Report"
|
||||
msgstr "Отчет"
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
|
||||
#. directly)
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
|
||||
#. field (resolves directly)
|
||||
#: pkg/email/templates.go:80 pkg/email/templates.go:97
|
||||
#: pkg/email/templates.go:98 pkg/email/templates.go:115
|
||||
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
|
||||
msgstr "ScienceMesh: {InitiatorName} хочет сотрудничать с вами"
|
||||
|
||||
#. ShareExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:25
|
||||
#: pkg/email/templates.go:30
|
||||
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
|
||||
msgstr "Доступ к '{ShareFolder}' истёк {ExpiredAt}"
|
||||
|
||||
#. MembershipExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:71
|
||||
#: pkg/email/templates.go:89
|
||||
msgid ""
|
||||
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -91,7 +102,7 @@ msgstr ""
|
||||
"Несмотря на то, что срок действия этого членства истёк, у вас всё еще может быть доступ через другие общие ресурсы и/или членства в пространстве."
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:29
|
||||
#: pkg/email/templates.go:34
|
||||
msgid ""
|
||||
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -103,7 +114,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:101
|
||||
#: pkg/email/templates.go:119
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"Please visit your federation settings and use the following details:\n"
|
||||
@@ -117,7 +128,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
|
||||
#. .MessageBody }}
|
||||
#: pkg/email/templates.go:84
|
||||
#: pkg/email/templates.go:102
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"To accept the invite, please visit the following URL:\n"
|
||||
@@ -136,22 +147,38 @@ msgstr ""
|
||||
" ProviderDomain: {ProviderDomain}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:16
|
||||
#: pkg/email/templates.go:21
|
||||
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
|
||||
msgstr "{ShareSharer} поделился с вами \"{ShareFolder}\"."
|
||||
|
||||
#. ShareRemoved email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:47
|
||||
msgid ""
|
||||
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
|
||||
"\n"
|
||||
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
|
||||
msgstr ""
|
||||
"{ShareSharer} удалил ваш общий доступ к '{ShareFolder}'.\n"
|
||||
"\n"
|
||||
"Несмотря на то, что этот общий доступ удалён, у вас всё еще может быть доступ через другие общие ресурсы и/или членства в пространстве."
|
||||
|
||||
#. ShareCreated email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:12
|
||||
#: pkg/email/templates.go:17
|
||||
msgid "{ShareSharer} shared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} поделился с вами '{ShareFolder}'"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#. ShareRemoved email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:43
|
||||
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} удалил ваш общий доступ к '{ShareFolder}'"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:61
|
||||
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
|
||||
msgstr "{SpaceSharer} пригласил вас присоединиться к \"{SpaceName}\"."
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:56
|
||||
#: pkg/email/templates.go:74
|
||||
msgid ""
|
||||
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
|
||||
"\n"
|
||||
@@ -162,11 +189,11 @@ msgstr ""
|
||||
"У вас всё еще может быть доступ через другие группы или прямое членство."
|
||||
|
||||
#. SharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:39
|
||||
#: pkg/email/templates.go:57
|
||||
msgid "{SpaceSharer} invited you to join {SpaceName}"
|
||||
msgstr "{SpaceSharer} пригласил вас присоединиться к {SpaceName}"
|
||||
|
||||
#. UnsharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:52
|
||||
#: pkg/email/templates.go:70
|
||||
msgid "{SpaceSharer} removed you from {SpaceName}"
|
||||
msgstr "{SpaceSharer} удалил вас из {SpaceName}"
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-09 00:26+0000\n"
|
||||
"POT-Creation-Date: 2025-01-23 16:29+0000\n"
|
||||
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
|
||||
"Last-Translator: dutty5, 2025\n"
|
||||
"Language-Team: Russian (Russia) (https://app.transifex.com/owncloud-org/teams/6149/ru_RU/)\n"
|
||||
@@ -23,64 +23,75 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:60
|
||||
#: pkg/email/templates.go:78
|
||||
msgid "Click here to check it: {ShareLink}"
|
||||
msgstr "Нажмите здесь, чтобы посмотреть: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .CallToAction }}
|
||||
#. SharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:18 pkg/email/templates.go:45
|
||||
#: pkg/email/templates.go:23 pkg/email/templates.go:63
|
||||
msgid "Click here to view it: {ShareLink}"
|
||||
msgstr "Нажмите здесь, чтобы посмотреть: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:14
|
||||
#: pkg/email/templates.go:19
|
||||
msgid "Hello {ShareGrantee}"
|
||||
msgstr "Здравствуйте, {ShareGrantee}"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:27
|
||||
#. ShareRemoved email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:32 pkg/email/templates.go:45
|
||||
msgid "Hello {ShareGrantee},"
|
||||
msgstr "Здравствуйте, {ShareGrantee},"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. UnsharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. MembershipExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:41 pkg/email/templates.go:54
|
||||
#: pkg/email/templates.go:69
|
||||
#: pkg/email/templates.go:59 pkg/email/templates.go:72
|
||||
#: pkg/email/templates.go:87
|
||||
msgid "Hello {SpaceGrantee},"
|
||||
msgstr "Здравствуйте, {SpaceGrantee},"
|
||||
|
||||
#. Grouped email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:131
|
||||
msgid "Hi {DisplayName},"
|
||||
msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
|
||||
#. }}
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:82 pkg/email/templates.go:99
|
||||
#: pkg/email/templates.go:100 pkg/email/templates.go:117
|
||||
msgid "Hi,"
|
||||
msgstr "Привет,"
|
||||
|
||||
#. MembershipExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:67
|
||||
#: pkg/email/templates.go:85
|
||||
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
|
||||
msgstr "Членство в '{SpaceName}' истекло {ExpiredAt}"
|
||||
|
||||
#. Grouped email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:129
|
||||
msgid "Report"
|
||||
msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
|
||||
#. directly)
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
|
||||
#. field (resolves directly)
|
||||
#: pkg/email/templates.go:80 pkg/email/templates.go:97
|
||||
#: pkg/email/templates.go:98 pkg/email/templates.go:115
|
||||
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
|
||||
msgstr ""
|
||||
"ScienceMesh: {InitiatorName} хочет начать использование ресурсов совместной "
|
||||
"работы с вами"
|
||||
|
||||
#. ShareExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:25
|
||||
#: pkg/email/templates.go:30
|
||||
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
|
||||
msgstr "Доступ к '{ShareFolder}' истёк {ExpiredAt}"
|
||||
|
||||
#. MembershipExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:71
|
||||
#: pkg/email/templates.go:89
|
||||
msgid ""
|
||||
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -91,7 +102,7 @@ msgstr ""
|
||||
"Несмотря на то, что срок действия этого членства истёк, у вас всё ещё может быть доступ через другие общие ресурсы и/или членство в пространстве."
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:29
|
||||
#: pkg/email/templates.go:34
|
||||
msgid ""
|
||||
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -103,7 +114,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:101
|
||||
#: pkg/email/templates.go:119
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"Please visit your federation settings and use the following details:\n"
|
||||
@@ -117,7 +128,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
|
||||
#. .MessageBody }}
|
||||
#: pkg/email/templates.go:84
|
||||
#: pkg/email/templates.go:102
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"To accept the invite, please visit the following URL:\n"
|
||||
@@ -136,22 +147,35 @@ msgstr ""
|
||||
" Домен провайдера: {ProviderDomain}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:16
|
||||
#: pkg/email/templates.go:21
|
||||
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
|
||||
msgstr "{ShareSharer} поделился с вами \"{ShareFolder}\"."
|
||||
|
||||
#. ShareRemoved email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:47
|
||||
msgid ""
|
||||
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
|
||||
"\n"
|
||||
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
|
||||
msgstr ""
|
||||
|
||||
#. ShareCreated email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:12
|
||||
#: pkg/email/templates.go:17
|
||||
msgid "{ShareSharer} shared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} поделился с вами '{ShareFolder}'"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#. ShareRemoved email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:43
|
||||
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
|
||||
msgstr ""
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:61
|
||||
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
|
||||
msgstr "{SpaceSharer} пригласил вас присоединиться к участникам \"{SpaceName}\"."
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:56
|
||||
#: pkg/email/templates.go:74
|
||||
msgid ""
|
||||
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
|
||||
"\n"
|
||||
@@ -162,11 +186,11 @@ msgstr ""
|
||||
"У вас все еще может быть доступ через другие группы или прямое членство."
|
||||
|
||||
#. SharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:39
|
||||
#: pkg/email/templates.go:57
|
||||
msgid "{SpaceSharer} invited you to join {SpaceName}"
|
||||
msgstr "{SpaceSharer} пригласил вас присоединиться к участникам {SpaceName}"
|
||||
|
||||
#. UnsharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:52
|
||||
#: pkg/email/templates.go:70
|
||||
msgid "{SpaceSharer} removed you from {SpaceName}"
|
||||
msgstr "{SpaceSharer} удалил вас из участников {SpaceName}"
|
||||
@@ -4,16 +4,16 @@
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Besnik Bleta <besnik@programeshqip.org>, 2024
|
||||
# Besnik Bleta <besnik@programeshqip.org>, 2025
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-08 04:19+0000\n"
|
||||
"POT-Creation-Date: 2025-01-24 00:55+0000\n"
|
||||
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
|
||||
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2024\n"
|
||||
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2025\n"
|
||||
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -22,62 +22,73 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:60
|
||||
#: pkg/email/templates.go:78
|
||||
msgid "Click here to check it: {ShareLink}"
|
||||
msgstr ""
|
||||
msgstr "Klikoni këtu që ta shihni: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .CallToAction }}
|
||||
#. SharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:18 pkg/email/templates.go:45
|
||||
#: pkg/email/templates.go:23 pkg/email/templates.go:63
|
||||
msgid "Click here to view it: {ShareLink}"
|
||||
msgstr "Klikoni këtu që ta shihni: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:14
|
||||
#: pkg/email/templates.go:19
|
||||
msgid "Hello {ShareGrantee}"
|
||||
msgstr "Tungjatjeta {ShareGrantee}"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:27
|
||||
#. ShareRemoved email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:32 pkg/email/templates.go:45
|
||||
msgid "Hello {ShareGrantee},"
|
||||
msgstr "Tungjatjeta {ShareGrantee},"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. UnsharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. MembershipExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:41 pkg/email/templates.go:54
|
||||
#: pkg/email/templates.go:69
|
||||
#: pkg/email/templates.go:59 pkg/email/templates.go:72
|
||||
#: pkg/email/templates.go:87
|
||||
msgid "Hello {SpaceGrantee},"
|
||||
msgstr "Tungjatjeta {SpaceGrantee},"
|
||||
|
||||
#. Grouped email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:131
|
||||
msgid "Hi {DisplayName},"
|
||||
msgstr "Njatjeta {DisplayName},"
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
|
||||
#. }}
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:82 pkg/email/templates.go:99
|
||||
#: pkg/email/templates.go:100 pkg/email/templates.go:117
|
||||
msgid "Hi,"
|
||||
msgstr "Njatjeta,"
|
||||
|
||||
#. MembershipExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:67
|
||||
#: pkg/email/templates.go:85
|
||||
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
|
||||
msgstr "Anëtarësia në “{SpaceName}” skadoi më {ExpiredAt}"
|
||||
|
||||
#. Grouped email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:129
|
||||
msgid "Report"
|
||||
msgstr "Raport "
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
|
||||
#. directly)
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
|
||||
#. field (resolves directly)
|
||||
#: pkg/email/templates.go:80 pkg/email/templates.go:97
|
||||
#: pkg/email/templates.go:98 pkg/email/templates.go:115
|
||||
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
|
||||
msgstr "ScienceMesh: {InitiatorName} dëshiron të bashkëpunojë me ju"
|
||||
|
||||
#. ShareExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:25
|
||||
#: pkg/email/templates.go:30
|
||||
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
|
||||
msgstr "Pjesa te “{ShareFolder}” skadoi më {ExpiredAt}"
|
||||
|
||||
#. MembershipExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:71
|
||||
#: pkg/email/templates.go:89
|
||||
msgid ""
|
||||
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -88,7 +99,7 @@ msgstr ""
|
||||
"Edhe pse kjo anëtarësi ka skaduar, mundet që ende të keni hyrje në të përmes ndarjesh dhe/ose anëtarësish hapësirash të tjera"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:29
|
||||
#: pkg/email/templates.go:34
|
||||
msgid ""
|
||||
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -100,7 +111,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:101
|
||||
#: pkg/email/templates.go:119
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"Please visit your federation settings and use the following details:\n"
|
||||
@@ -114,7 +125,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
|
||||
#. .MessageBody }}
|
||||
#: pkg/email/templates.go:84
|
||||
#: pkg/email/templates.go:102
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"To accept the invite, please visit the following URL:\n"
|
||||
@@ -133,22 +144,38 @@ msgstr ""
|
||||
" ProviderDomain: {ProviderDomain}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:16
|
||||
#: pkg/email/templates.go:21
|
||||
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
|
||||
msgstr "{ShareSharer} ka ndarë “{ShareFolder}” me ju."
|
||||
|
||||
#. ShareRemoved email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:47
|
||||
msgid ""
|
||||
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
|
||||
"\n"
|
||||
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
|
||||
msgstr ""
|
||||
"{ShareSharer} ka hequr ndarjen e '{ShareFolder}' me ju.\n"
|
||||
"\n"
|
||||
"Edhe pse kjo ndarje është shfuqizuar, prapë mund ta përdorni përmes ndarjesh dhe/ose anëtarësish në hapësira."
|
||||
|
||||
#. ShareCreated email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:12
|
||||
#: pkg/email/templates.go:17
|
||||
msgid "{ShareSharer} shared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} ndau “{ShareFolder}” me ju"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#. ShareRemoved email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:43
|
||||
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} hoqi ndarjen e '{ShareFolder}' me ju"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:61
|
||||
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
|
||||
msgstr "{SpaceSharer} ju ka ftuar të merrni pjesë në “{SpaceName}”."
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:56
|
||||
#: pkg/email/templates.go:74
|
||||
msgid ""
|
||||
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
|
||||
"\n"
|
||||
@@ -159,11 +186,11 @@ msgstr ""
|
||||
"Mundet që ende të keni hyrje në të përmes grupeve tuaja të tjera, ose anëtarësimi të drejtpërdrejtë."
|
||||
|
||||
#. SharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:39
|
||||
#: pkg/email/templates.go:57
|
||||
msgid "{SpaceSharer} invited you to join {SpaceName}"
|
||||
msgstr "{SpaceSharer} ju ftoi të merrni pjesë në {SpaceName}"
|
||||
|
||||
#. UnsharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:52
|
||||
#: pkg/email/templates.go:70
|
||||
msgid "{SpaceSharer} removed you from {SpaceName}"
|
||||
msgstr "{SpaceSharer} ju hoqi nga {SpaceName}"
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-05 00:05+0000\n"
|
||||
"POT-Creation-Date: 2025-01-23 16:29+0000\n"
|
||||
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
|
||||
"Last-Translator: Keram, 2024\n"
|
||||
"Language-Team: Uyghur (https://app.transifex.com/owncloud-org/teams/6149/ug/)\n"
|
||||
@@ -22,62 +22,73 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:60
|
||||
#: pkg/email/templates.go:78
|
||||
msgid "Click here to check it: {ShareLink}"
|
||||
msgstr "بۇ يەرنى چېكىپ تەكشۈرۈپ بېقىڭ: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .CallToAction }}
|
||||
#. SharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:18 pkg/email/templates.go:45
|
||||
#: pkg/email/templates.go:23 pkg/email/templates.go:63
|
||||
msgid "Click here to view it: {ShareLink}"
|
||||
msgstr "بۇ يەرنى چېكىپ كۆرۈڭ: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:14
|
||||
#: pkg/email/templates.go:19
|
||||
msgid "Hello {ShareGrantee}"
|
||||
msgstr "ياخشىمۇسىز {ShareGrantee}"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:27
|
||||
#. ShareRemoved email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:32 pkg/email/templates.go:45
|
||||
msgid "Hello {ShareGrantee},"
|
||||
msgstr "ياخشىمۇسىز {ShareGrantee},"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. UnsharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. MembershipExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:41 pkg/email/templates.go:54
|
||||
#: pkg/email/templates.go:69
|
||||
#: pkg/email/templates.go:59 pkg/email/templates.go:72
|
||||
#: pkg/email/templates.go:87
|
||||
msgid "Hello {SpaceGrantee},"
|
||||
msgstr "ياخشىمۇسىز {SpaceGrantee},"
|
||||
|
||||
#. Grouped email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:131
|
||||
msgid "Hi {DisplayName},"
|
||||
msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
|
||||
#. }}
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:82 pkg/email/templates.go:99
|
||||
#: pkg/email/templates.go:100 pkg/email/templates.go:117
|
||||
msgid "Hi,"
|
||||
msgstr "ياخشىمۇسىز ،"
|
||||
|
||||
#. MembershipExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:67
|
||||
#: pkg/email/templates.go:85
|
||||
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
|
||||
msgstr "'{SpaceName}' نىڭ ئەزالىق مۇددىتى Exp ExpiredAt at دە ئاخىرلاشتى"
|
||||
|
||||
#. Grouped email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:129
|
||||
msgid "Report"
|
||||
msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
|
||||
#. directly)
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
|
||||
#. field (resolves directly)
|
||||
#: pkg/email/templates.go:80 pkg/email/templates.go:97
|
||||
#: pkg/email/templates.go:98 pkg/email/templates.go:115
|
||||
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
|
||||
msgstr "ScienceMesh: {InitiatorName you سىز بىلەن ھەمكارلىشىشنى خالايدۇ"
|
||||
|
||||
#. ShareExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:25
|
||||
#: pkg/email/templates.go:30
|
||||
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
|
||||
msgstr "«{ShareFolder}» نىڭ ۋاقتى توشىدۇ {ExpiredAt}"
|
||||
|
||||
#. MembershipExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:71
|
||||
#: pkg/email/templates.go:89
|
||||
msgid ""
|
||||
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -88,7 +99,7 @@ msgstr ""
|
||||
"گەرچە بۇ ئەزالىق مۇددىتى توشقان بولسىمۇ ، سىز يەنىلا باشقا پايلار ۋە ياكى بوشلۇق ئەزالىرى ئارقىلىق زىيارەت قىلالايسىز"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:29
|
||||
#: pkg/email/templates.go:34
|
||||
msgid ""
|
||||
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -100,7 +111,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:101
|
||||
#: pkg/email/templates.go:119
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"Please visit your federation settings and use the following details:\n"
|
||||
@@ -114,7 +125,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
|
||||
#. .MessageBody }}
|
||||
#: pkg/email/templates.go:84
|
||||
#: pkg/email/templates.go:102
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"To accept the invite, please visit the following URL:\n"
|
||||
@@ -133,22 +144,35 @@ msgstr ""
|
||||
" ProviderDomain: {ProviderDomain}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:16
|
||||
#: pkg/email/templates.go:21
|
||||
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
|
||||
msgstr "{ShareSharer} سىز بىلەن «{ShareFolder}» نى ئورتاقلاشتى."
|
||||
|
||||
#. ShareRemoved email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:47
|
||||
msgid ""
|
||||
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
|
||||
"\n"
|
||||
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
|
||||
msgstr ""
|
||||
|
||||
#. ShareCreated email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:12
|
||||
#: pkg/email/templates.go:17
|
||||
msgid "{ShareSharer} shared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} ئورتاقلاشتى '{ShareFolder}'"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#. ShareRemoved email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:43
|
||||
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
|
||||
msgstr ""
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:61
|
||||
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
|
||||
msgstr "{SpaceSharer} سىزنى «{SpaceName}» غا قاتنىشىشقا تەكلىپ قىلدى."
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:56
|
||||
#: pkg/email/templates.go:74
|
||||
msgid ""
|
||||
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
|
||||
"\n"
|
||||
@@ -159,11 +183,11 @@ msgstr ""
|
||||
"باشقا گۇرۇپپىلار ياكى بىۋاسىتە ئەزالىق سالاھىيىتىڭىز بىلەن يەنىلا زىيارەت قىلالايسىز."
|
||||
|
||||
#. SharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:39
|
||||
#: pkg/email/templates.go:57
|
||||
msgid "{SpaceSharer} invited you to join {SpaceName}"
|
||||
msgstr "{SpaceSharer} سىزنى {SpaceName to غا قاتنىشىشقا تەكلىپ قىلدى"
|
||||
|
||||
#. UnsharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:52
|
||||
#: pkg/email/templates.go:70
|
||||
msgid "{SpaceSharer} removed you from {SpaceName}"
|
||||
msgstr "{SpaceSharer} سىزنى {SpaceName from دىن ئۆچۈردى"
|
||||
@@ -4,16 +4,16 @@
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Roman Perekhod, 2024
|
||||
# Roman Perekhod, 2025
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-27 00:05+0000\n"
|
||||
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
|
||||
"PO-Revision-Date: 2023-04-19 11:11+0000\n"
|
||||
"Last-Translator: Roman Perekhod, 2024\n"
|
||||
"Last-Translator: Roman Perekhod, 2025\n"
|
||||
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -22,62 +22,73 @@ msgstr ""
|
||||
"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n"
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:60
|
||||
#: pkg/email/templates.go:78
|
||||
msgid "Click here to check it: {ShareLink}"
|
||||
msgstr "Натисніть тут, щоб перевірити: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .CallToAction }}
|
||||
#. SharedSpace email template, resolves via {{ .CallToAction }}
|
||||
#: pkg/email/templates.go:18 pkg/email/templates.go:45
|
||||
#: pkg/email/templates.go:23 pkg/email/templates.go:63
|
||||
msgid "Click here to view it: {ShareLink}"
|
||||
msgstr "Натисніть тут, щоб переглянути: {ShareLink}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:14
|
||||
#: pkg/email/templates.go:19
|
||||
msgid "Hello {ShareGrantee}"
|
||||
msgstr "Привіт {ShareGrantee}"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:27
|
||||
#. ShareRemoved email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:32 pkg/email/templates.go:45
|
||||
msgid "Hello {ShareGrantee},"
|
||||
msgstr "Привіт {ShareGrantee},"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. UnsharedSpace email template, resolves via {{ .Greeting }}
|
||||
#. MembershipExpired email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:41 pkg/email/templates.go:54
|
||||
#: pkg/email/templates.go:69
|
||||
#: pkg/email/templates.go:59 pkg/email/templates.go:72
|
||||
#: pkg/email/templates.go:87
|
||||
msgid "Hello {SpaceGrantee},"
|
||||
msgstr "Привіт {SpaceGrantee},"
|
||||
|
||||
#. Grouped email template, resolves via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:131
|
||||
msgid "Hi {DisplayName},"
|
||||
msgstr "Привіт {DisplayName},"
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{ .Greeting
|
||||
#. }}
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .Greeting }}
|
||||
#: pkg/email/templates.go:82 pkg/email/templates.go:99
|
||||
#: pkg/email/templates.go:100 pkg/email/templates.go:117
|
||||
msgid "Hi,"
|
||||
msgstr "Привіт,"
|
||||
|
||||
#. MembershipExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:67
|
||||
#: pkg/email/templates.go:85
|
||||
msgid "Membership of '{SpaceName}' expired at {ExpiredAt}"
|
||||
msgstr "Членство в '{SpaceName}' закінчилося {ExpiredAt}"
|
||||
|
||||
#. Grouped email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:129
|
||||
msgid "Report"
|
||||
msgstr "Звіт"
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, Subject field (resolves
|
||||
#. directly)
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, Subject
|
||||
#. field (resolves directly)
|
||||
#: pkg/email/templates.go:80 pkg/email/templates.go:97
|
||||
#: pkg/email/templates.go:98 pkg/email/templates.go:115
|
||||
msgid "ScienceMesh: {InitiatorName} wants to collaborate with you"
|
||||
msgstr "ScienceMesh: {InitiatorName} хоче співпрацювати з вами"
|
||||
|
||||
#. ShareExpired email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:25
|
||||
#: pkg/email/templates.go:30
|
||||
msgid "Share to '{ShareFolder}' expired at {ExpiredAt}"
|
||||
msgstr "Спільний доступу до '{ShareFolder}' закінчився {ExpiredAt}"
|
||||
|
||||
#. MembershipExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:71
|
||||
#: pkg/email/templates.go:89
|
||||
msgid ""
|
||||
"Your membership of space {SpaceName} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -88,7 +99,7 @@ msgstr ""
|
||||
"Навіть якщо термін дії цього членства закінчився, ви все ще можете мати доступ через інші спільні ресурси та/або членство в просторі"
|
||||
|
||||
#. ShareExpired email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:29
|
||||
#: pkg/email/templates.go:34
|
||||
msgid ""
|
||||
"Your share to {ShareFolder} has expired at {ExpiredAt}\n"
|
||||
"\n"
|
||||
@@ -96,11 +107,11 @@ msgid ""
|
||||
msgstr ""
|
||||
"Термін дії вашого спільного доступу до {ShareFolder} закінчився {ExpiredAt}\n"
|
||||
"\n"
|
||||
"Навіть якщо цей спільний доступ було скасовано, ви все ще можете мати доступ через інші спільні ресурси та/або членство в групі."
|
||||
"Навіть якщо цей спільний доступ було скасовано, ви все ще можете мати доступ через інші спільні ресурси та/або членство у просторі."
|
||||
|
||||
#. ScienceMeshInviteTokenGeneratedWithoutShareLink email template, resolves
|
||||
#. via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:101
|
||||
#: pkg/email/templates.go:119
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"Please visit your federation settings and use the following details:\n"
|
||||
@@ -114,7 +125,7 @@ msgstr ""
|
||||
|
||||
#. ScienceMeshInviteTokenGenerated email template, resolves via {{
|
||||
#. .MessageBody }}
|
||||
#: pkg/email/templates.go:84
|
||||
#: pkg/email/templates.go:102
|
||||
msgid ""
|
||||
"{ShareSharer} ({ShareSharerMail}) wants to start sharing collaboration resources with you.\n"
|
||||
"To accept the invite, please visit the following URL:\n"
|
||||
@@ -133,22 +144,38 @@ msgstr ""
|
||||
" ProviderDomain: {ProviderDomain}"
|
||||
|
||||
#. ShareCreated email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:16
|
||||
#: pkg/email/templates.go:21
|
||||
msgid "{ShareSharer} has shared \"{ShareFolder}\" with you."
|
||||
msgstr "{ShareSharer} поділився \"{ShareFolder}\" з вами."
|
||||
|
||||
#. ShareRemoved email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:47
|
||||
msgid ""
|
||||
"{ShareSharer} has unshared '{ShareFolder}' with you.\n"
|
||||
"\n"
|
||||
"Even though this share has been revoked you still might have access through other shares and/or space memberships."
|
||||
msgstr ""
|
||||
"{ShareSharer} скасував спільний доступ до '{ShareFolder}' для вас.\n"
|
||||
"\n"
|
||||
"Навіть якщо цей спільний доступ було скасовано, ви все ще можете мати доступ через інші спільні ресурси та/або членство у просторі."
|
||||
|
||||
#. ShareCreated email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:12
|
||||
#: pkg/email/templates.go:17
|
||||
msgid "{ShareSharer} shared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} поділився '{ShareFolder}' з вами"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#. ShareRemoved email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:43
|
||||
msgid "{ShareSharer} unshared '{ShareFolder}' with you"
|
||||
msgstr "{ShareSharer} скасував спільний доступ до '{ShareFolder}' для вас"
|
||||
|
||||
#. SharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:61
|
||||
msgid "{SpaceSharer} has invited you to join \"{SpaceName}\"."
|
||||
msgstr "{SpaceSharer} запросив вас приєднатися до \"{SpaceName}\"."
|
||||
|
||||
#. UnsharedSpace email template, resolves via {{ .MessageBody }}
|
||||
#: pkg/email/templates.go:56
|
||||
#: pkg/email/templates.go:74
|
||||
msgid ""
|
||||
"{SpaceSharer} has removed you from \"{SpaceName}\".\n"
|
||||
"\n"
|
||||
@@ -159,11 +186,11 @@ msgstr ""
|
||||
"Ви все ще можете мати доступ через інші групи або пряме членство."
|
||||
|
||||
#. SharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:39
|
||||
#: pkg/email/templates.go:57
|
||||
msgid "{SpaceSharer} invited you to join {SpaceName}"
|
||||
msgstr "{SpaceSharer} запросив вас приєднатися до {SpaceName}"
|
||||
|
||||
#. UnsharedSpace email template, Subject field (resolves directly)
|
||||
#: pkg/email/templates.go:52
|
||||
#: pkg/email/templates.go:70
|
||||
msgid "{SpaceSharer} removed you from {SpaceName}"
|
||||
msgstr "{SpaceSharer} видалив вас із {SpaceName}"
|
||||
@@ -33,6 +33,19 @@ var (
|
||||
// ShareExpired email template, resolves via {{ .MessageBody }}
|
||||
MessageBody: l10n.Template(`Your share to {ShareFolder} has expired at {ExpiredAt}
|
||||
|
||||
Even though this share has been revoked you still might have access through other shares and/or space memberships.`),
|
||||
}
|
||||
|
||||
ShareRemoved = MessageTemplate{
|
||||
textTemplate: _textTemplate,
|
||||
htmlTemplate: _htmlTemplate,
|
||||
// ShareRemoved email template, Subject field (resolves directly)
|
||||
Subject: l10n.Template(`{ShareSharer} unshared '{ShareFolder}' with you`),
|
||||
// ShareRemoved email template, resolves via {{ .Greeting }}
|
||||
Greeting: l10n.Template(`Hello {ShareGrantee},`),
|
||||
// ShareRemoved email template, resolves via {{ .MessageBody }}
|
||||
MessageBody: l10n.Template(`{ShareSharer} has unshared '{ShareFolder}' with you.
|
||||
|
||||
Even though this share has been revoked you still might have access through other shares and/or space memberships.`),
|
||||
}
|
||||
|
||||
|
||||
@@ -11,8 +11,10 @@
|
||||
{{ .Greeting }}
|
||||
<br><br>
|
||||
{{ .MessageBody }}
|
||||
{{if ne .CallToAction "" }}<br><br>
|
||||
{{ .CallToAction }}{{end}}
|
||||
{{- if .CallToAction }}
|
||||
<br><br>
|
||||
{{ .CallToAction }}
|
||||
{{- end }}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
{{ .Greeting }}
|
||||
|
||||
{{ .MessageBody }}
|
||||
{{if ne .CallToAction "" }}
|
||||
{{- if .CallToAction }}
|
||||
|
||||
{{ .CallToAction }}
|
||||
{{end}}
|
||||
{{- end }}
|
||||
|
||||
|
||||
---
|
||||
ownCloud - Store. Share. Work.
|
||||
|
||||
@@ -21,7 +21,8 @@ func (s eventsNotifier) sendGroupedEmailsJob(sendEmailsEvent events.SendEmailsEv
|
||||
return
|
||||
}
|
||||
|
||||
keys, err := s.userEventStore.listKeys(sendEmailsEvent.Interval)
|
||||
prefix := sendEmailsEvent.Interval + "_"
|
||||
keys, err := s.userEventStore.listKeys(prefix)
|
||||
if err != nil {
|
||||
logger.Error().Err(err).Msg("could not get list of keys")
|
||||
return
|
||||
@@ -129,8 +130,30 @@ func (s eventsNotifier) createGroupedMail(ctx context.Context, logger zerolog.Lo
|
||||
"ShareFolder": shareFolder,
|
||||
"ExpiredAt": te.ExpiredAt.Format("2006-01-02 15:04:05"),
|
||||
})
|
||||
case events.ShareRemoved:
|
||||
logger := logger.With().
|
||||
Str("event", "ShareRemoved").
|
||||
Str("eventId", te.ItemID.OpaqueId).
|
||||
Logger()
|
||||
executant, shareFolder, _, err := s.prepareShareRemoved(logger, te)
|
||||
if err != nil {
|
||||
logger.Error().Err(err).Msg("could not prepare vars for grouped email")
|
||||
continue
|
||||
}
|
||||
|
||||
mts = append(mts, email.ShareRemoved)
|
||||
mtsVars = append(mtsVars, map[string]string{
|
||||
"ShareSharer": executant.GetDisplayName(),
|
||||
"ShareFolder": shareFolder,
|
||||
})
|
||||
default:
|
||||
logger.Error().Str("eventType", e.Type).Msg("unsupported event type for grouped email")
|
||||
}
|
||||
}
|
||||
if len(mts) == 0 && len(mtsVars) == 0 {
|
||||
logger.Error().Msg("no body content for grouped email present")
|
||||
return
|
||||
}
|
||||
|
||||
rendered, err := email.RenderGroupedEmailTemplate(email.Grouped, map[string]string{
|
||||
"DisplayName": userEvents.User.GetDisplayName(),
|
||||
|
||||
@@ -39,7 +39,7 @@ func newUserEventStore(l log.Logger, s store.Store, hc ehsvc.EventHistoryService
|
||||
func (s *userEventStore) persist(interval string, eventId string, users []*user.User) []*user.User {
|
||||
var errorUsers []*user.User
|
||||
for _, u := range users {
|
||||
key := interval + u.Id.OpaqueId
|
||||
key := interval + "_" + u.Id.OpaqueId
|
||||
|
||||
// Note: This is not thread safe and can result in missing events
|
||||
records, err := s.store.Read(key)
|
||||
@@ -80,8 +80,8 @@ func (s *userEventStore) persist(interval string, eventId string, users []*user.
|
||||
return errorUsers
|
||||
}
|
||||
|
||||
func (s *userEventStore) listKeys(interval string) ([]string, error) {
|
||||
return s.store.List(store.ListPrefix(interval))
|
||||
func (s *userEventStore) listKeys(prefix string) ([]string, error) {
|
||||
return s.store.List(store.ListPrefix(prefix))
|
||||
}
|
||||
|
||||
func (s *userEventStore) pop(ctx context.Context, key string) (*userEvents, error) {
|
||||
|
||||
@@ -0,0 +1,416 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
user "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
|
||||
collaboration "github.com/cs3org/go-cs3apis/cs3/sharing/collaboration/v1beta1"
|
||||
"github.com/cs3org/reva/v2/pkg/events"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/log"
|
||||
event "github.com/owncloud/ocis/v2/protogen/gen/ocis/messages/eventhistory/v0"
|
||||
ehsvc "github.com/owncloud/ocis/v2/protogen/gen/ocis/services/eventhistory/v0"
|
||||
"github.com/owncloud/ocis/v2/protogen/gen/ocis/services/eventhistory/v0/mocks"
|
||||
"github.com/stretchr/testify/mock"
|
||||
"reflect"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"go-micro.dev/v4/store"
|
||||
storemocks "go-micro.dev/v4/store/mocks"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func Test_userEventStore_persist(t *testing.T) {
|
||||
tEventId := "event id"
|
||||
tUser := &user.User{Id: &user.UserId{OpaqueId: "userid"}}
|
||||
tInterval := "interval"
|
||||
tKey := tInterval + "_" + tUser.Id.OpaqueId
|
||||
tErr := errors.New("some error")
|
||||
tValueSingleEventId, err := json.Marshal(userEventIds{
|
||||
User: tUser,
|
||||
EventIds: []string{tEventId},
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
type fields struct {
|
||||
log log.Logger
|
||||
store store.Store
|
||||
historyClient ehsvc.EventHistoryService
|
||||
}
|
||||
type args struct {
|
||||
interval string
|
||||
eventId string
|
||||
users []*user.User
|
||||
}
|
||||
tests := []struct {
|
||||
name string
|
||||
fields fields
|
||||
args args
|
||||
want []*user.User
|
||||
}{
|
||||
{
|
||||
name: "new record",
|
||||
fields: fields{
|
||||
log: testLogger,
|
||||
store: func() store.Store {
|
||||
s := storemocks.NewStore(t)
|
||||
|
||||
s.EXPECT().Read(tKey).Return([]*store.Record{}, nil).Once()
|
||||
|
||||
s.EXPECT().Write(&store.Record{Key: tKey, Value: tValueSingleEventId}).Return(nil).Once()
|
||||
|
||||
return s
|
||||
}(),
|
||||
historyClient: nil,
|
||||
},
|
||||
args: args{
|
||||
interval: tInterval,
|
||||
eventId: tEventId,
|
||||
users: []*user.User{tUser},
|
||||
},
|
||||
want: []*user.User(nil),
|
||||
},
|
||||
{
|
||||
name: "append to record",
|
||||
fields: fields{
|
||||
log: testLogger,
|
||||
store: func() store.Store {
|
||||
s := storemocks.NewStore(t)
|
||||
|
||||
s.EXPECT().Read(tKey).Return([]*store.Record{{Key: tKey, Value: tValueSingleEventId}}, nil).Once()
|
||||
|
||||
b, err := json.Marshal(userEventIds{
|
||||
User: tUser,
|
||||
EventIds: []string{tEventId, tEventId},
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
s.EXPECT().Write(&store.Record{Key: tKey, Value: b}).Return(nil).Once()
|
||||
|
||||
return s
|
||||
}(),
|
||||
historyClient: nil,
|
||||
},
|
||||
args: args{
|
||||
interval: tInterval,
|
||||
eventId: tEventId,
|
||||
users: []*user.User{tUser},
|
||||
},
|
||||
want: []*user.User(nil),
|
||||
},
|
||||
{
|
||||
name: "error on read",
|
||||
fields: fields{
|
||||
log: testLogger,
|
||||
store: func() store.Store {
|
||||
s := storemocks.NewStore(t)
|
||||
|
||||
s.EXPECT().Read(tKey).Return(nil, tErr).Once()
|
||||
|
||||
return s
|
||||
}(),
|
||||
historyClient: nil,
|
||||
},
|
||||
args: args{
|
||||
interval: tInterval,
|
||||
eventId: tEventId,
|
||||
users: []*user.User{tUser},
|
||||
},
|
||||
want: []*user.User{tUser},
|
||||
},
|
||||
{
|
||||
name: "error on write",
|
||||
fields: fields{
|
||||
log: testLogger,
|
||||
store: func() store.Store {
|
||||
s := storemocks.NewStore(t)
|
||||
|
||||
s.EXPECT().Read(tKey).Return([]*store.Record{}, nil).Once()
|
||||
|
||||
b, err := json.Marshal(userEventIds{
|
||||
User: tUser,
|
||||
EventIds: []string{tEventId},
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
s.EXPECT().Write(&store.Record{Key: tKey, Value: b}).Return(tErr).Once()
|
||||
|
||||
return s
|
||||
}(),
|
||||
historyClient: nil,
|
||||
},
|
||||
args: args{
|
||||
interval: tInterval,
|
||||
eventId: tEventId,
|
||||
users: []*user.User{tUser},
|
||||
},
|
||||
want: []*user.User{tUser},
|
||||
},
|
||||
{
|
||||
name: "multiple users",
|
||||
fields: fields{
|
||||
log: testLogger,
|
||||
store: func() store.Store {
|
||||
s := storemocks.NewStore(t)
|
||||
|
||||
s.EXPECT().Read(tKey).Return([]*store.Record{}, nil).Once()
|
||||
s.EXPECT().Write(&store.Record{Key: tKey, Value: tValueSingleEventId}).Return(nil).Once()
|
||||
|
||||
tUser2 := &user.User{Id: &user.UserId{OpaqueId: "userid2"}}
|
||||
tKey2 := tInterval + "_" + tUser2.Id.OpaqueId
|
||||
tValueSingleEventId2, err := json.Marshal(userEventIds{
|
||||
User: tUser2,
|
||||
EventIds: []string{tEventId},
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
s.EXPECT().Read(tKey2).Return([]*store.Record{}, nil).Once()
|
||||
s.EXPECT().Write(&store.Record{Key: tKey2, Value: tValueSingleEventId2}).Return(nil).Once()
|
||||
|
||||
return s
|
||||
}(),
|
||||
historyClient: nil,
|
||||
},
|
||||
args: args{
|
||||
interval: tInterval,
|
||||
eventId: tEventId,
|
||||
users: []*user.User{tUser, {Id: &user.UserId{OpaqueId: "userid2"}}},
|
||||
},
|
||||
want: []*user.User(nil),
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
s := &userEventStore{
|
||||
log: tt.fields.log,
|
||||
store: tt.fields.store,
|
||||
historyClient: tt.fields.historyClient,
|
||||
}
|
||||
assert.Equalf(t, tt.want, s.persist(tt.args.interval, tt.args.eventId, tt.args.users), "persist(%v, %v, %v)", tt.args.interval, tt.args.eventId, tt.args.users)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func Test_userEventStore_pop(t *testing.T) {
|
||||
tCtx := context.TODO()
|
||||
tUser := &user.User{Id: &user.UserId{OpaqueId: "userid"}}
|
||||
tInterval := "interval"
|
||||
tKey := tInterval + "_" + tUser.Id.OpaqueId
|
||||
tErr := errors.New("some error")
|
||||
|
||||
// event 1
|
||||
tEventId := "event id"
|
||||
tValueSingleEventId, err := json.Marshal(userEventIds{
|
||||
User: tUser,
|
||||
EventIds: []string{tEventId},
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
b, err := json.Marshal(events.ShareCreated{
|
||||
ShareID: &collaboration.ShareId{OpaqueId: "shareid"},
|
||||
})
|
||||
tEvent := &event.Event{
|
||||
Type: reflect.TypeOf(&events.ShareCreated{}).String(),
|
||||
Id: tEventId,
|
||||
Event: b,
|
||||
}
|
||||
tUserEvents := &userEvents{
|
||||
User: tUser,
|
||||
Events: []*event.Event{tEvent},
|
||||
}
|
||||
|
||||
// event 2
|
||||
tEventId2 := "event id2"
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
b, err = json.Marshal(events.ShareRemoved{
|
||||
ShareID: &collaboration.ShareId{OpaqueId: "shareid"},
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
tEvent2 := &event.Event{
|
||||
Type: reflect.TypeOf(&events.ShareRemoved{}).String(),
|
||||
Id: tEventId,
|
||||
Event: b,
|
||||
}
|
||||
|
||||
tValueMultipleEventIds, err := json.Marshal(userEventIds{
|
||||
User: tUser,
|
||||
EventIds: []string{tEventId, tEventId2},
|
||||
})
|
||||
tUserMultipleEvents := &userEvents{
|
||||
User: tUser,
|
||||
Events: []*event.Event{tEvent, tEvent2},
|
||||
}
|
||||
|
||||
type fields struct {
|
||||
log log.Logger
|
||||
store store.Store
|
||||
historyClient ehsvc.EventHistoryService
|
||||
}
|
||||
type args struct {
|
||||
ctx context.Context
|
||||
key string
|
||||
}
|
||||
tests := []struct {
|
||||
name string
|
||||
fields fields
|
||||
args args
|
||||
want *userEvents
|
||||
wantErr bool
|
||||
}{
|
||||
{
|
||||
name: "single event",
|
||||
fields: fields{
|
||||
log: testLogger,
|
||||
store: func() store.Store {
|
||||
s := storemocks.NewStore(t)
|
||||
|
||||
s.EXPECT().Read(tKey).Return([]*store.Record{{Key: tKey, Value: tValueSingleEventId}}, nil).Once()
|
||||
|
||||
s.EXPECT().Delete(tKey).Return(nil).Once()
|
||||
|
||||
return s
|
||||
}(),
|
||||
historyClient: func() ehsvc.EventHistoryService {
|
||||
hc := mocks.NewEventHistoryService(t)
|
||||
|
||||
hc.EXPECT().GetEvents(mock.Anything, &ehsvc.GetEventsRequest{Ids: []string{tEventId}}).
|
||||
Return(&ehsvc.GetEventsResponse{Events: []*event.Event{tEvent}}, nil).Once()
|
||||
|
||||
return hc
|
||||
}(),
|
||||
},
|
||||
args: args{
|
||||
ctx: tCtx,
|
||||
key: tKey,
|
||||
},
|
||||
want: tUserEvents,
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "multiple events",
|
||||
fields: fields{
|
||||
log: testLogger,
|
||||
store: func() store.Store {
|
||||
s := storemocks.NewStore(t)
|
||||
s.EXPECT().Read(tKey).Return([]*store.Record{{Key: tKey, Value: tValueMultipleEventIds}}, nil).Once()
|
||||
|
||||
s.EXPECT().Delete(tKey).Return(nil).Once()
|
||||
|
||||
return s
|
||||
}(),
|
||||
historyClient: func() ehsvc.EventHistoryService {
|
||||
hc := mocks.NewEventHistoryService(t)
|
||||
|
||||
hc.EXPECT().GetEvents(tCtx, &ehsvc.GetEventsRequest{Ids: []string{tEventId, tEventId2}}).
|
||||
Return(&ehsvc.GetEventsResponse{Events: []*event.Event{tEvent, tEvent2}}, nil).Once()
|
||||
|
||||
return hc
|
||||
}(),
|
||||
},
|
||||
args: args{
|
||||
ctx: tCtx,
|
||||
key: tKey,
|
||||
},
|
||||
want: tUserMultipleEvents,
|
||||
wantErr: false,
|
||||
},
|
||||
{
|
||||
name: "error on read",
|
||||
fields: fields{
|
||||
log: testLogger,
|
||||
store: func() store.Store {
|
||||
s := storemocks.NewStore(t)
|
||||
s.EXPECT().Read(tKey).Return(nil, tErr).Once()
|
||||
|
||||
return s
|
||||
}(),
|
||||
historyClient: nil,
|
||||
},
|
||||
args: args{
|
||||
ctx: tCtx,
|
||||
key: tKey,
|
||||
},
|
||||
want: nil,
|
||||
wantErr: true,
|
||||
},
|
||||
{
|
||||
name: "error on get events",
|
||||
fields: fields{
|
||||
log: testLogger,
|
||||
store: func() store.Store {
|
||||
s := storemocks.NewStore(t)
|
||||
s.EXPECT().Read(tKey).Return([]*store.Record{{Key: tKey, Value: tValueSingleEventId}}, nil).Once()
|
||||
return s
|
||||
}(),
|
||||
historyClient: func() ehsvc.EventHistoryService {
|
||||
hc := mocks.NewEventHistoryService(t)
|
||||
|
||||
hc.EXPECT().GetEvents(mock.Anything, &ehsvc.GetEventsRequest{Ids: []string{tEventId}}).
|
||||
Return(nil, tErr).Once()
|
||||
|
||||
return hc
|
||||
}(),
|
||||
},
|
||||
args: args{
|
||||
ctx: tCtx,
|
||||
key: tKey,
|
||||
},
|
||||
want: nil,
|
||||
wantErr: true,
|
||||
},
|
||||
{
|
||||
name: "error on delete",
|
||||
fields: fields{
|
||||
log: testLogger,
|
||||
store: func() store.Store {
|
||||
s := storemocks.NewStore(t)
|
||||
|
||||
s.EXPECT().Read(tKey).Return([]*store.Record{{Key: tKey, Value: tValueSingleEventId}}, nil).Once()
|
||||
|
||||
s.EXPECT().Delete(tKey).Return(tErr).Once()
|
||||
|
||||
return s
|
||||
}(),
|
||||
historyClient: func() ehsvc.EventHistoryService {
|
||||
hc := mocks.NewEventHistoryService(t)
|
||||
|
||||
hc.EXPECT().GetEvents(mock.Anything, &ehsvc.GetEventsRequest{Ids: []string{tEventId}}).
|
||||
Return(&ehsvc.GetEventsResponse{Events: []*event.Event{tEvent}}, nil).Once()
|
||||
|
||||
return hc
|
||||
}(),
|
||||
},
|
||||
args: args{
|
||||
ctx: tCtx,
|
||||
key: tKey,
|
||||
},
|
||||
want: nil,
|
||||
wantErr: true,
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
s := &userEventStore{
|
||||
log: tt.fields.log,
|
||||
store: tt.fields.store,
|
||||
historyClient: tt.fields.historyClient,
|
||||
}
|
||||
got, err := s.pop(tt.args.ctx, tt.args.key)
|
||||
if tt.wantErr {
|
||||
assert.NotNil(t, err)
|
||||
}
|
||||
assert.Equalf(t, tt.want, got, "pop(%v, %v)", tt.args.ctx, tt.args.key)
|
||||
})
|
||||
}
|
||||
}
|
||||
@@ -117,6 +117,8 @@ func (s eventsNotifier) Run() error {
|
||||
s.handleShareCreated(e, evt.ID)
|
||||
case events.ShareExpired:
|
||||
s.handleShareExpired(e, evt.ID)
|
||||
case events.ShareRemoved:
|
||||
s.handleShareRemoved(e, evt.ID)
|
||||
case events.ScienceMeshInviteTokenGenerated:
|
||||
s.handleScienceMeshInviteTokenGenerated(e)
|
||||
case events.SendEmailsEvent:
|
||||
|
||||
@@ -1,9 +1,22 @@
|
||||
package service_test
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
group "github.com/cs3org/go-cs3apis/cs3/identity/group/v1beta1"
|
||||
"github.com/cs3org/reva/v2/pkg/store"
|
||||
ehmsg "github.com/owncloud/ocis/v2/protogen/gen/ocis/messages/eventhistory/v0"
|
||||
settingsmsg "github.com/owncloud/ocis/v2/protogen/gen/ocis/messages/settings/v0"
|
||||
v0 "github.com/owncloud/ocis/v2/protogen/gen/ocis/services/eventhistory/v0"
|
||||
ehmocks "github.com/owncloud/ocis/v2/protogen/gen/ocis/services/eventhistory/v0/mocks"
|
||||
settingsmocks "github.com/owncloud/ocis/v2/protogen/gen/ocis/services/settings/v0/mocks"
|
||||
"reflect"
|
||||
"strings"
|
||||
|
||||
microstore "go-micro.dev/v4/store"
|
||||
|
||||
storemocks "go-micro.dev/v4/store/mocks"
|
||||
"time"
|
||||
|
||||
gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"
|
||||
@@ -17,11 +30,8 @@ import (
|
||||
. "github.com/onsi/ginkgo/v2"
|
||||
. "github.com/onsi/gomega"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/log"
|
||||
"github.com/owncloud/ocis/v2/ocis-pkg/shared"
|
||||
settingssvc "github.com/owncloud/ocis/v2/protogen/gen/ocis/services/settings/v0"
|
||||
"github.com/owncloud/ocis/v2/services/graph/pkg/config/defaults"
|
||||
"github.com/owncloud/ocis/v2/services/notifications/pkg/channels"
|
||||
"github.com/owncloud/ocis/v2/services/notifications/pkg/service"
|
||||
"github.com/stretchr/testify/mock"
|
||||
"go-micro.dev/v4/client"
|
||||
"google.golang.org/grpc"
|
||||
@@ -89,12 +99,10 @@ var _ = Describe("Notifications", func() {
|
||||
}
|
||||
})
|
||||
|
||||
DescribeTable("Sending userEventIds",
|
||||
DescribeTable("Sending notifications",
|
||||
func(tc testChannel, ev events.Event) {
|
||||
cfg := defaults.FullDefaultConfig()
|
||||
cfg.GRPCClientTLS = &shared.GRPCClientTLS{}
|
||||
ch := make(chan events.Event)
|
||||
evts := service.NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, vs, "",
|
||||
evts := NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, vs, "",
|
||||
"", "", "", "", "", "",
|
||||
store.Create(), nil, nil)
|
||||
go evts.Run()
|
||||
@@ -158,6 +166,30 @@ https://owncloud.com
|
||||
},
|
||||
}),
|
||||
|
||||
Entry("Share Removed", testChannel{
|
||||
expectedReceipients: []string{sharee.GetMail()},
|
||||
expectedSubject: "Dr. S. Harer unshared 'secrets of the board' with you",
|
||||
expectedTextBody: `Hello Eric Expireling,
|
||||
|
||||
Dr. S. Harer has unshared 'secrets of the board' with you.
|
||||
|
||||
Even though this share has been revoked you still might have access through other shares and/or space memberships.
|
||||
|
||||
|
||||
---
|
||||
ownCloud - Store. Share. Work.
|
||||
https://owncloud.com
|
||||
`,
|
||||
expectedSender: sharer.GetDisplayName(),
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.ShareRemoved{
|
||||
Executant: sharer.GetId(),
|
||||
GranteeUserID: sharee.GetId(),
|
||||
ItemID: resourceid,
|
||||
},
|
||||
}),
|
||||
|
||||
Entry("Added to Space", testChannel{
|
||||
expectedReceipients: []string{sharee.GetMail()},
|
||||
expectedSubject: "Dr. S. Harer invited you to join secret space",
|
||||
@@ -304,12 +336,10 @@ var _ = Describe("Notifications X-Site Scripting", func() {
|
||||
}
|
||||
})
|
||||
|
||||
DescribeTable("Sending userEventIds",
|
||||
DescribeTable("Sending notifications",
|
||||
func(tc testChannel, ev events.Event) {
|
||||
cfg := defaults.FullDefaultConfig()
|
||||
cfg.GRPCClientTLS = &shared.GRPCClientTLS{}
|
||||
ch := make(chan events.Event)
|
||||
evts := service.NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, vs, "",
|
||||
evts := NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, vs, "",
|
||||
"", "", "", "", "", "",
|
||||
store.Create(), nil, nil)
|
||||
go evts.Run()
|
||||
@@ -460,7 +490,782 @@ https://owncloud.com
|
||||
)
|
||||
})
|
||||
|
||||
// NOTE: This is explictitly not testing the message itself. Should we?
|
||||
var _ = Describe("Notifications grouped store", func() {
|
||||
var (
|
||||
gatewayClient *cs3mocks.GatewayAPIClient
|
||||
gatewaySelector pool.Selectable[gateway.GatewayAPIClient]
|
||||
valueService *settingsmocks.ValueService
|
||||
store *storemocks.Store
|
||||
executant = &user.User{
|
||||
Id: &user.UserId{
|
||||
OpaqueId: "executantId",
|
||||
},
|
||||
Mail: "executant@owncloud.com",
|
||||
DisplayName: "executant",
|
||||
}
|
||||
receiverGrouped = &user.User{
|
||||
Id: &user.UserId{
|
||||
OpaqueId: "receiverGroupedId",
|
||||
},
|
||||
Mail: "receiverGrouped@owncloud.com",
|
||||
DisplayName: "receiverGrouped",
|
||||
}
|
||||
// receiverInstant is used to trigger tc.done
|
||||
receiverInstant = &user.User{
|
||||
Id: &user.UserId{
|
||||
OpaqueId: "receiverInstantId",
|
||||
},
|
||||
Mail: "receiverInstant@owncloud.com",
|
||||
DisplayName: "receiverInstant",
|
||||
}
|
||||
resourceid = &provider.ResourceId{
|
||||
StorageId: "storageid",
|
||||
SpaceId: "spaceid",
|
||||
OpaqueId: "itemid",
|
||||
}
|
||||
)
|
||||
|
||||
DescribeTable("Sending notifications",
|
||||
func(tc testChannelGroupedStore, ev events.Event, interval string) {
|
||||
// setup mocks
|
||||
// Note: This is done here and not inside a BeforeEach, because some mocks need variables from entries.
|
||||
|
||||
pool.RemoveSelector("GatewaySelector" + "com.owncloud.api.gateway")
|
||||
gatewayClient = &cs3mocks.GatewayAPIClient{}
|
||||
gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient](
|
||||
"GatewaySelector",
|
||||
"com.owncloud.api.gateway",
|
||||
func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient {
|
||||
return gatewayClient
|
||||
},
|
||||
)
|
||||
|
||||
gatewayClient.EXPECT().Authenticate(mock.Anything, mock.Anything).Return(&gateway.AuthenticateResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: executant}, nil)
|
||||
gatewayClient.EXPECT().Stat(mock.Anything, mock.Anything).Return(&provider.StatResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, Info: &provider.ResourceInfo{Name: "secrets of the board", Space: &provider.StorageSpace{Name: "secret space"}}}, nil)
|
||||
|
||||
gatewayClient.EXPECT().GetGroup(mock.Anything, mock.Anything).
|
||||
Return(&group.GetGroupResponse{
|
||||
Status: &rpc.Status{Code: rpc.Code_CODE_OK},
|
||||
Group: &group.Group{
|
||||
Members: []*user.UserId{receiverGrouped.GetId(), receiverInstant.GetId()},
|
||||
},
|
||||
}, nil)
|
||||
gatewayClient.EXPECT().GetUser(mock.Anything, mock.Anything).
|
||||
Return(&user.GetUserResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: executant}, nil).Once()
|
||||
gatewayClient.EXPECT().GetUser(mock.Anything, mock.Anything).
|
||||
Return(&user.GetUserResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: receiverGrouped}, nil).Once()
|
||||
gatewayClient.EXPECT().GetUser(mock.Anything, mock.Anything).
|
||||
Return(&user.GetUserResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: receiverInstant}, nil).Once()
|
||||
|
||||
valueService = settingsmocks.NewValueService(GinkgoT())
|
||||
|
||||
// disabled email
|
||||
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).
|
||||
Return(&settingssvc.GetValueResponse{Value: &settingsmsg.ValueWithIdentifier{
|
||||
Value: &settingsmsg.Value{
|
||||
Value: &settingsmsg.Value_BoolValue{
|
||||
BoolValue: false,
|
||||
},
|
||||
},
|
||||
}}, nil).Twice()
|
||||
|
||||
// filtering
|
||||
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).Return(&settingssvc.GetValueResponse{
|
||||
Value: &settingsmsg.ValueWithIdentifier{
|
||||
Value: &settingsmsg.Value{
|
||||
Value: &settingsmsg.Value_CollectionValue{
|
||||
CollectionValue: &settingsmsg.CollectionValue{
|
||||
Values: []*settingsmsg.CollectionOption{
|
||||
{
|
||||
Key: "mail",
|
||||
Option: &settingsmsg.CollectionOption_BoolValue{BoolValue: true},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}, nil).Twice()
|
||||
|
||||
// interval
|
||||
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).
|
||||
Return(&settingssvc.GetValueResponse{Value: &settingsmsg.ValueWithIdentifier{
|
||||
Value: &settingsmsg.Value{
|
||||
Value: &settingsmsg.Value_StringValue{
|
||||
StringValue: interval,
|
||||
},
|
||||
},
|
||||
}}, nil).Once()
|
||||
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).
|
||||
Return(&settingssvc.GetValueResponse{Value: &settingsmsg.ValueWithIdentifier{
|
||||
Value: &settingsmsg.Value{
|
||||
Value: &settingsmsg.Value_StringValue{
|
||||
StringValue: "instant",
|
||||
},
|
||||
},
|
||||
}}, nil).Once()
|
||||
|
||||
// locale
|
||||
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).Return(&settingssvc.GetValueResponse{
|
||||
Value: &settingsmsg.ValueWithIdentifier{
|
||||
Value: &settingsmsg.Value{
|
||||
Value: &settingsmsg.Value_ListValue{
|
||||
ListValue: &settingsmsg.ListValue{
|
||||
Values: []*settingsmsg.ListOptionValue{
|
||||
{
|
||||
Option: &settingsmsg.ListOptionValue_StringValue{StringValue: "en"},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}, nil).Once()
|
||||
|
||||
// fail if mocked functions are not called
|
||||
store = storemocks.NewStore(GinkgoT())
|
||||
store.EXPECT().Read(mock.Anything).Return([]*microstore.Record{}, nil).Once()
|
||||
store.EXPECT().Write(mock.Anything).Return(nil).Once()
|
||||
|
||||
// setup EventsNotifier
|
||||
ch := make(chan events.Event)
|
||||
evts := NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, valueService, "",
|
||||
"", "", "", "", "", "",
|
||||
store, nil, nil)
|
||||
go evts.Run()
|
||||
|
||||
// test
|
||||
ch <- ev
|
||||
select {
|
||||
case <-tc.done:
|
||||
case <-time.Tick(3 * time.Second):
|
||||
Fail("timeout waiting for notification")
|
||||
}
|
||||
},
|
||||
|
||||
Entry("Share Created daily", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.ShareCreated{
|
||||
Sharer: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
|
||||
ItemID: resourceid,
|
||||
},
|
||||
},
|
||||
"daily"),
|
||||
|
||||
Entry("Share Expired daily", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.ShareExpired{
|
||||
ShareOwner: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
|
||||
ItemID: resourceid,
|
||||
},
|
||||
},
|
||||
"daily"),
|
||||
|
||||
Entry("Share Removed daily", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.ShareRemoved{
|
||||
Executant: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ItemID: resourceid,
|
||||
},
|
||||
},
|
||||
"daily"),
|
||||
|
||||
Entry("Added to Space daily", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.SpaceShared{
|
||||
Executant: executant.GetId(),
|
||||
Creator: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
},
|
||||
},
|
||||
"daily"),
|
||||
|
||||
Entry("Removed from Space daily", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.SpaceUnshared{
|
||||
Executant: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
},
|
||||
},
|
||||
"daily"),
|
||||
|
||||
Entry("Space Expired daily", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.SpaceMembershipExpired{
|
||||
SpaceOwner: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
SpaceName: "secret space",
|
||||
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
|
||||
},
|
||||
},
|
||||
"daily"),
|
||||
|
||||
Entry("Share Created weekly", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.ShareCreated{
|
||||
Sharer: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
|
||||
ItemID: resourceid,
|
||||
},
|
||||
},
|
||||
"weekly"),
|
||||
|
||||
Entry("Share Expired weekly", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.ShareExpired{
|
||||
ShareOwner: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
|
||||
ItemID: resourceid,
|
||||
},
|
||||
},
|
||||
"weekly"),
|
||||
|
||||
Entry("Share Removed weekly", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.ShareRemoved{
|
||||
Executant: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ItemID: resourceid,
|
||||
},
|
||||
},
|
||||
"weekly"),
|
||||
|
||||
Entry("Added to Space weekly", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.SpaceShared{
|
||||
Executant: executant.GetId(),
|
||||
Creator: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
},
|
||||
},
|
||||
"weekly"),
|
||||
|
||||
Entry("Removed from Space weekly", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.SpaceUnshared{
|
||||
Executant: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
},
|
||||
},
|
||||
"weekly"),
|
||||
|
||||
Entry("Space Expired weekly", testChannelGroupedStore{
|
||||
done: make(chan struct{}),
|
||||
}, events.Event{
|
||||
Event: events.SpaceMembershipExpired{
|
||||
SpaceOwner: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
SpaceName: "secret space",
|
||||
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
|
||||
},
|
||||
},
|
||||
"weekly"),
|
||||
)
|
||||
})
|
||||
|
||||
var _ = Describe("Notifications grouped send", func() {
|
||||
const sender = "foo@bar.com"
|
||||
const subject = "Report"
|
||||
var (
|
||||
gatewayClient *cs3mocks.GatewayAPIClient
|
||||
gatewaySelector pool.Selectable[gateway.GatewayAPIClient]
|
||||
valueService *settingsmocks.ValueService
|
||||
store *storemocks.Store
|
||||
historyClient *ehmocks.EventHistoryService
|
||||
|
||||
executant = &user.User{
|
||||
Id: &user.UserId{
|
||||
OpaqueId: "executantId",
|
||||
},
|
||||
Mail: "executant@owncloud.com",
|
||||
DisplayName: "executant",
|
||||
}
|
||||
receiver = &user.User{
|
||||
Id: &user.UserId{
|
||||
OpaqueId: "receiver",
|
||||
},
|
||||
Mail: "receiver@owncloud.com",
|
||||
DisplayName: "receiver",
|
||||
}
|
||||
|
||||
resourceid = &provider.ResourceId{
|
||||
StorageId: "storageid",
|
||||
SpaceId: "spaceid",
|
||||
OpaqueId: "itemid",
|
||||
}
|
||||
)
|
||||
|
||||
DescribeTable("Sending notifications",
|
||||
func(tc testChannel, storedEvents []events.Event, interval string) {
|
||||
// setup mocks
|
||||
// Note: This is done here and not inside a BeforeEach, because some mocks need variables from entries.
|
||||
|
||||
b, err := json.Marshal(userEventIds{
|
||||
User: receiver,
|
||||
EventIds: []string{"event id"},
|
||||
})
|
||||
if err != nil {
|
||||
Fail(err.Error())
|
||||
}
|
||||
|
||||
store = &storemocks.Store{}
|
||||
store.EXPECT().List(mock.Anything).Return([]string{"key"}, nil)
|
||||
store.EXPECT().Read(mock.Anything).Return([]*microstore.Record{{Value: b}}, nil).Once()
|
||||
store.EXPECT().Delete(mock.Anything).Return(nil).Once()
|
||||
|
||||
var hcEvs []*ehmsg.Event
|
||||
for _, e := range storedEvents {
|
||||
b, err = json.Marshal(e.Event)
|
||||
if err != nil {
|
||||
Fail(err.Error())
|
||||
}
|
||||
hcEvs = append(hcEvs, &ehmsg.Event{Type: e.Type, Event: b})
|
||||
}
|
||||
|
||||
historyClient = &ehmocks.EventHistoryService{}
|
||||
historyClient.EXPECT().GetEvents(mock.Anything, mock.Anything).Return(&v0.GetEventsResponse{Events: hcEvs}, nil)
|
||||
|
||||
// locale
|
||||
valueService = &settingsmocks.ValueService{}
|
||||
valueService.EXPECT().GetValueByUniqueIdentifiers(mock.Anything, mock.Anything).Return(&settingssvc.GetValueResponse{
|
||||
Value: &settingsmsg.ValueWithIdentifier{
|
||||
Value: &settingsmsg.Value{
|
||||
Value: &settingsmsg.Value_ListValue{
|
||||
ListValue: &settingsmsg.ListValue{
|
||||
Values: []*settingsmsg.ListOptionValue{
|
||||
{
|
||||
Option: &settingsmsg.ListOptionValue_StringValue{StringValue: "en"},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}, nil).Once()
|
||||
|
||||
pool.RemoveSelector("GatewaySelector" + "com.owncloud.api.gateway")
|
||||
gatewayClient = &cs3mocks.GatewayAPIClient{}
|
||||
gatewaySelector = pool.GetSelector[gateway.GatewayAPIClient](
|
||||
"GatewaySelector",
|
||||
"com.owncloud.api.gateway",
|
||||
func(cc grpc.ClientConnInterface) gateway.GatewayAPIClient {
|
||||
return gatewayClient
|
||||
},
|
||||
)
|
||||
|
||||
gatewayClient.EXPECT().Authenticate(mock.Anything, mock.Anything).Return(&gateway.AuthenticateResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: executant}, nil)
|
||||
gatewayClient.EXPECT().Stat(mock.Anything, mock.Anything).Return(&provider.StatResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, Info: &provider.ResourceInfo{Name: "secrets of the board", Space: &provider.StorageSpace{Name: "secret space"}}}, nil)
|
||||
gatewayClient.EXPECT().GetUser(mock.Anything, mock.Anything).
|
||||
Return(&user.GetUserResponse{Status: &rpc.Status{Code: rpc.Code_CODE_OK}, User: executant}, nil).Once()
|
||||
|
||||
// setup EventsNotifier
|
||||
evs := []events.Unmarshaller{
|
||||
events.ShareCreated{},
|
||||
events.ShareExpired{},
|
||||
events.ShareRemoved{},
|
||||
events.SpaceShared{},
|
||||
events.SpaceUnshared{},
|
||||
events.SpaceMembershipExpired{},
|
||||
events.SendEmailsEvent{},
|
||||
}
|
||||
registeredEvents := make(map[string]events.Unmarshaller)
|
||||
for _, e := range evs {
|
||||
typ := reflect.TypeOf(e)
|
||||
registeredEvents[typ.String()] = e
|
||||
}
|
||||
ch := make(chan events.Event)
|
||||
evts := NewEventsNotifier(ch, tc, log.NewLogger(), gatewaySelector, valueService, "",
|
||||
"", "", "", "", "",
|
||||
sender, store, historyClient, registeredEvents)
|
||||
go evts.Run()
|
||||
|
||||
// trigger sending
|
||||
ch <- events.Event{
|
||||
Event: events.SendEmailsEvent{
|
||||
Interval: interval,
|
||||
},
|
||||
}
|
||||
select {
|
||||
case <-tc.done:
|
||||
case <-time.Tick(3 * time.Second):
|
||||
Fail("timeout waiting for notification")
|
||||
}
|
||||
},
|
||||
|
||||
// daily
|
||||
Entry("Share Created daily", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.ShareCreated{}).String(),
|
||||
Event: events.ShareCreated{
|
||||
Sharer: executant.GetId(),
|
||||
GranteeUserID: receiver.GetId(),
|
||||
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
|
||||
ItemID: resourceid,
|
||||
},
|
||||
}}, "daily"),
|
||||
|
||||
Entry("Share Expired daily", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`Your share to secrets of the board has expired at 2023-04-17 16:42:00
|
||||
|
||||
Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`Your share to secrets of the board has expired at 2023-04-17 16:42:00<br><br>Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.ShareExpired{}).String(),
|
||||
Event: events.ShareExpired{
|
||||
ShareOwner: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
|
||||
ItemID: resourceid,
|
||||
},
|
||||
}}, "daily"),
|
||||
|
||||
Entry("Share Removed daily", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has unshared 'secrets of the board' with you.
|
||||
|
||||
Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has unshared 'secrets of the board' with you.<br><br>Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.ShareRemoved{}).String(),
|
||||
Event: events.ShareRemoved{
|
||||
Executant: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ItemID: resourceid,
|
||||
},
|
||||
}}, "daily"),
|
||||
|
||||
Entry("Added to Space daily", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has invited you to join "secret space".`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has invited you to join "secret space".`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.SpaceShared{}).String(),
|
||||
Event: events.SpaceShared{
|
||||
Executant: executant.GetId(),
|
||||
Creator: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
},
|
||||
}}, "daily"),
|
||||
|
||||
Entry("Removed from Space daily", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has removed you from "secret space".
|
||||
|
||||
You might still have access through your other groups or direct membership.`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has removed you from "secret space".<br><br>You might still have access through your other groups or direct membership.`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.SpaceUnshared{}).String(),
|
||||
Event: events.SpaceUnshared{
|
||||
Executant: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
},
|
||||
}}, "daily"),
|
||||
|
||||
Entry("Space Expired daily", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`Your membership of space secret space has expired at 2023-04-17 16:42:00
|
||||
|
||||
Even though this membership has expired you still might have access through other shares and/or space memberships`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`Your membership of space secret space has expired at 2023-04-17 16:42:00<br><br>Even though this membership has expired you still might have access through other shares and/or space memberships`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.SpaceMembershipExpired{}).String(),
|
||||
Event: events.SpaceMembershipExpired{
|
||||
SpaceOwner: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
SpaceName: "secret space",
|
||||
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
|
||||
},
|
||||
}}, "daily"),
|
||||
|
||||
Entry("Share Created and Space Expired grouped daily", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.
|
||||
|
||||
|
||||
Your membership of space secret space has expired at 2023-04-17 16:42:00
|
||||
|
||||
Even though this membership has expired you still might have access through other shares and/or space memberships`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.<br><br><br>Your membership of space secret space has expired at 2023-04-17 16:42:00<br><br>Even though this membership has expired you still might have access through other shares and/or space memberships`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{
|
||||
{
|
||||
Type: reflect.TypeOf(events.ShareCreated{}).String(),
|
||||
Event: events.ShareCreated{
|
||||
Sharer: executant.GetId(),
|
||||
GranteeUserID: receiver.GetId(),
|
||||
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
|
||||
ItemID: resourceid,
|
||||
},
|
||||
},
|
||||
{
|
||||
Type: reflect.TypeOf(events.SpaceMembershipExpired{}).String(),
|
||||
Event: events.SpaceMembershipExpired{
|
||||
SpaceOwner: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
SpaceName: "secret space",
|
||||
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
|
||||
},
|
||||
},
|
||||
}, "daily"),
|
||||
|
||||
// weekly
|
||||
Entry("Share Created weekly", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.ShareCreated{}).String(),
|
||||
Event: events.ShareCreated{
|
||||
Sharer: executant.GetId(),
|
||||
GranteeUserID: receiver.GetId(),
|
||||
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
|
||||
ItemID: resourceid,
|
||||
},
|
||||
}}, "weekly"),
|
||||
|
||||
Entry("Share Expired weekly", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`Your share to secrets of the board has expired at 2023-04-17 16:42:00
|
||||
|
||||
Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`Your share to secrets of the board has expired at 2023-04-17 16:42:00<br><br>Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.ShareExpired{}).String(),
|
||||
Event: events.ShareExpired{
|
||||
ShareOwner: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
|
||||
ItemID: resourceid,
|
||||
},
|
||||
}}, "weekly"),
|
||||
|
||||
Entry("Share Removed weekly", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has unshared 'secrets of the board' with you.
|
||||
|
||||
Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has unshared 'secrets of the board' with you.<br><br>Even though this share has been revoked you still might have access through other shares and/or space memberships.`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.ShareRemoved{}).String(),
|
||||
Event: events.ShareRemoved{
|
||||
Executant: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ItemID: resourceid,
|
||||
},
|
||||
}}, "weekly"),
|
||||
|
||||
Entry("Added to Space weekly", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has invited you to join "secret space".`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has invited you to join "secret space".`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.SpaceShared{}).String(),
|
||||
Event: events.SpaceShared{
|
||||
Executant: executant.GetId(),
|
||||
Creator: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
},
|
||||
}}, "weekly"),
|
||||
|
||||
Entry("Removed from Space weekly", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has removed you from "secret space".
|
||||
|
||||
You might still have access through your other groups or direct membership.`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has removed you from "secret space".<br><br>You might still have access through your other groups or direct membership.`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.SpaceUnshared{}).String(),
|
||||
Event: events.SpaceUnshared{
|
||||
Executant: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
ID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
},
|
||||
}}, "weekly"),
|
||||
|
||||
Entry("Space Expired weekly", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`Your membership of space secret space has expired at 2023-04-17 16:42:00
|
||||
|
||||
Even though this membership has expired you still might have access through other shares and/or space memberships`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`Your membership of space secret space has expired at 2023-04-17 16:42:00<br><br>Even though this membership has expired you still might have access through other shares and/or space memberships`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{{
|
||||
Type: reflect.TypeOf(events.SpaceMembershipExpired{}).String(),
|
||||
Event: events.SpaceMembershipExpired{
|
||||
SpaceOwner: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
SpaceName: "secret space",
|
||||
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
|
||||
},
|
||||
}}, "weekly"),
|
||||
|
||||
Entry("Share Created and Space Expired grouped weekly", testChannel{
|
||||
expectedReceipients: []string{receiver.GetMail()},
|
||||
expectedSender: sender,
|
||||
expectedSubject: subject,
|
||||
expectedTextBody: buildExpectedTextBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.
|
||||
|
||||
|
||||
Your membership of space secret space has expired at 2023-04-17 16:42:00
|
||||
|
||||
Even though this membership has expired you still might have access through other shares and/or space memberships`}),
|
||||
expectedHTMLBody: buildExpectedHTMLBodyGrouped(receiver.DisplayName, []string{`executant has shared "secrets of the board" with you.<br><br><br>Your membership of space secret space has expired at 2023-04-17 16:42:00<br><br>Even though this membership has expired you still might have access through other shares and/or space memberships`}),
|
||||
done: make(chan struct{}),
|
||||
}, []events.Event{
|
||||
{
|
||||
Type: reflect.TypeOf(events.ShareCreated{}).String(),
|
||||
Event: events.ShareCreated{
|
||||
Sharer: executant.GetId(),
|
||||
GranteeUserID: receiver.GetId(),
|
||||
CTime: utils.TimeToTS(time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC)),
|
||||
ItemID: resourceid,
|
||||
},
|
||||
},
|
||||
{
|
||||
Type: reflect.TypeOf(events.SpaceMembershipExpired{}).String(),
|
||||
Event: events.SpaceMembershipExpired{
|
||||
SpaceOwner: executant.GetId(),
|
||||
GranteeGroupID: &group.GroupId{},
|
||||
SpaceID: &provider.StorageSpaceId{OpaqueId: "spaceid"},
|
||||
SpaceName: "secret space",
|
||||
ExpiredAt: time.Date(2023, 4, 17, 16, 42, 0, 0, time.UTC),
|
||||
},
|
||||
},
|
||||
}, "weekly"),
|
||||
)
|
||||
})
|
||||
|
||||
func buildExpectedTextBodyGrouped(receiver string, events []string) string {
|
||||
body := strings.Join(events, "\n\n\n")
|
||||
return fmt.Sprintf(
|
||||
`Hi %s,
|
||||
|
||||
%s
|
||||
|
||||
|
||||
---
|
||||
ownCloud - Store. Share. Work.
|
||||
https://owncloud.com
|
||||
`, receiver, body)
|
||||
}
|
||||
|
||||
func buildExpectedHTMLBodyGrouped(receiver string, events []string) string {
|
||||
body := strings.Join(events, "<br><br><br>")
|
||||
return fmt.Sprintf(
|
||||
`<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="100%%">
|
||||
<tr>
|
||||
<td>
|
||||
<table cellspacing="0" cellpadding="0" border="0" width="600px">
|
||||
<tr>
|
||||
<td width="20px"> </td>
|
||||
<td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">
|
||||
Hi %s,
|
||||
<br><br>
|
||||
%s
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20px"> </td>
|
||||
<td style="font-weight:normal; font-size:0.8em; line-height:1.2em; font-family:verdana,'arial',sans;">
|
||||
<footer>
|
||||
<br>
|
||||
<br>
|
||||
--- <br>
|
||||
ownCloud - Store. Share. Work.<br>
|
||||
<a href="https://owncloud.com">https://owncloud.com</a>
|
||||
</footer>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
`, receiver, body)
|
||||
}
|
||||
|
||||
// NOTE: This is explicitly not testing the message itself. Should we?
|
||||
type testChannel struct {
|
||||
expectedReceipients []string
|
||||
expectedSubject string
|
||||
@@ -470,7 +1275,7 @@ type testChannel struct {
|
||||
done chan struct{}
|
||||
}
|
||||
|
||||
func (tc testChannel) SendMessage(ctx context.Context, m *channels.Message) error {
|
||||
func (tc testChannel) SendMessage(_ context.Context, m *channels.Message) error {
|
||||
defer GinkgoRecover()
|
||||
|
||||
Expect(tc.expectedReceipients).To(Equal(m.Recipient))
|
||||
@@ -483,3 +1288,14 @@ func (tc testChannel) SendMessage(ctx context.Context, m *channels.Message) erro
|
||||
tc.done <- struct{}{}
|
||||
return nil
|
||||
}
|
||||
|
||||
type testChannelGroupedStore struct {
|
||||
done chan struct{}
|
||||
}
|
||||
|
||||
func (tc testChannelGroupedStore) SendMessage(_ context.Context, _ *channels.Message) error {
|
||||
defer GinkgoRecover()
|
||||
|
||||
tc.done <- struct{}{}
|
||||
return nil
|
||||
}
|
||||
@@ -160,3 +160,73 @@ func (s eventsNotifier) prepareShareExpired(logger zerolog.Logger, e events.Shar
|
||||
|
||||
return shareFolder, ctx, err
|
||||
}
|
||||
|
||||
func (s eventsNotifier) handleShareRemoved(e events.ShareRemoved, eventId string) {
|
||||
logger := s.logger.With().
|
||||
Str("event", "ShareRemoved").
|
||||
Str("itemid", e.ItemID.OpaqueId).
|
||||
Logger()
|
||||
|
||||
executant, shareFolder, ctx, err := s.prepareShareRemoved(logger, e)
|
||||
if err != nil {
|
||||
logger.Error().Err(err).Msg("could not prepare vars for email")
|
||||
return
|
||||
}
|
||||
|
||||
granteeList := s.ensureGranteeList(ctx, executant.GetId(), e.GranteeUserID, e.GranteeGroupID)
|
||||
filteredGrantees := s.filter.execute(ctx, granteeList, defaults.SettingUUIDProfileEventShareRemoved)
|
||||
|
||||
recipientsInstant, recipientsDaily, recipientsInstantWeekly := s.splitter.execute(ctx, filteredGrantees)
|
||||
recipientsInstant = append(recipientsInstant, s.userEventStore.persist(_intervalDaily, eventId, recipientsDaily)...)
|
||||
recipientsInstant = append(recipientsInstant, s.userEventStore.persist(_intervalWeekly, eventId, recipientsInstantWeekly)...)
|
||||
if recipientsInstant == nil {
|
||||
return
|
||||
}
|
||||
|
||||
sharerDisplayName := executant.GetDisplayName()
|
||||
|
||||
emails, err := s.render(ctx, email.ShareRemoved,
|
||||
"ShareGrantee",
|
||||
map[string]string{
|
||||
"ShareSharer": sharerDisplayName,
|
||||
"ShareFolder": shareFolder,
|
||||
}, recipientsInstant, sharerDisplayName)
|
||||
if err != nil {
|
||||
logger.Error().Err(err).Msg("could not get render the email")
|
||||
return
|
||||
}
|
||||
s.send(ctx, emails)
|
||||
}
|
||||
|
||||
func (s eventsNotifier) prepareShareRemoved(logger zerolog.Logger, e events.ShareRemoved) (executant *user.User, shareFolder string, ctx context.Context, err error) {
|
||||
gatewayClient, err := s.gatewaySelector.Next()
|
||||
if err != nil {
|
||||
logger.Error().Err(err).Msg("could not select next gateway client")
|
||||
return executant, shareFolder, ctx, err
|
||||
}
|
||||
|
||||
ctx, err = utils.GetServiceUserContextWithContext(context.Background(), gatewayClient, s.serviceAccountID, s.serviceAccountSecret)
|
||||
if err != nil {
|
||||
logger.Error().Err(err).Msg("could not get service user context")
|
||||
return executant, shareFolder, ctx, err
|
||||
}
|
||||
|
||||
resourceInfo, err := s.getResourceInfo(ctx, e.ItemID, &fieldmaskpb.FieldMask{Paths: []string{"name"}})
|
||||
if err != nil {
|
||||
logger.Error().
|
||||
Err(err).
|
||||
Msg("could not stat resource")
|
||||
return executant, shareFolder, ctx, err
|
||||
}
|
||||
shareFolder = resourceInfo.Name
|
||||
|
||||
executant, err = utils.GetUserWithContext(ctx, e.Executant, gatewayClient)
|
||||
if err != nil {
|
||||
logger.Error().
|
||||
Err(err).
|
||||
Msg("could not get user")
|
||||
return executant, shareFolder, ctx, err
|
||||
}
|
||||
|
||||
return executant, shareFolder, ctx, err
|
||||
}
|
||||
@@ -46,7 +46,7 @@ func (d defaultRoleAssigner) UpdateUserRoleAssignment(ctx context.Context, user
|
||||
if user.Id.Type == cs3.UserType_USER_TYPE_PRIMARY || user.Id.Type == cs3.UserType_USER_TYPE_GUEST {
|
||||
roleId := settingsService.BundleUUIDRoleUser
|
||||
if user.Id.Type == cs3.UserType_USER_TYPE_GUEST {
|
||||
roleId = settingsService.BundleUUIDRoleGuest
|
||||
roleId = settingsService.BundleUUIDRoleUserLight
|
||||
}
|
||||
d.logger.Info().Str("userid", user.Id.OpaqueId).Msg("user has no role assigned, assigning default user role")
|
||||
ctx = metadata.Set(ctx, middleware.AccountID, user.Id.OpaqueId)
|
||||
|
||||
@@ -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"
|
||||
@@ -14,7 +14,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-09 00:26+0000\n"
|
||||
"POT-Creation-Date: 2025-01-10 00:47+0000\n"
|
||||
"PO-Revision-Date: 2025-01-08 11:08+0000\n"
|
||||
"Last-Translator: Roman Perekhod, 2025\n"
|
||||
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
|
||||
@@ -54,65 +54,65 @@ msgstr "Сразу"
|
||||
msgid "Never"
|
||||
msgstr "Никогда"
|
||||
|
||||
#. description of the notification option 'Email Interval'
|
||||
#: pkg/store/defaults/templates.go:46
|
||||
msgid "Notifiy me via email:"
|
||||
msgstr "Уведомлять меня по Email:"
|
||||
|
||||
#. description of the notification option 'Space Shared'
|
||||
#: pkg/store/defaults/templates.go:22
|
||||
msgid "Notify me when I am added as a member to a space"
|
||||
msgstr "Уведомить меня, когда я добавлен в пространство в качестве участника"
|
||||
msgid "Notify when I have been added as a member to a space"
|
||||
msgstr "Уведомить, когда я добавлен в качестве участника в пространство"
|
||||
|
||||
#. description of the notification option 'Space Unshared'
|
||||
#: pkg/store/defaults/templates.go:26
|
||||
msgid "Notify me when I am removed as a member from a space"
|
||||
msgstr "Уведомить меня, когда я удалён из участников пространства"
|
||||
msgid "Notify when I have been removed as member from a space"
|
||||
msgstr "Уведомить, когда я удалён из пространства как участник"
|
||||
|
||||
#. description of the notification option 'Share Received'
|
||||
#: pkg/store/defaults/templates.go:10
|
||||
msgid "Notify me when I receive a share"
|
||||
msgstr "Уведомить меня, когда я получаю общий ресурс"
|
||||
msgid "Notify when I have received a share"
|
||||
msgstr "Уведомить, когда я получил общий ресурс"
|
||||
|
||||
#. description of the notification option 'File Rejected'
|
||||
#: pkg/store/defaults/templates.go:42
|
||||
msgid ""
|
||||
"Notify me when a file I uploaded is rejected because of virus infection or "
|
||||
"Notify when a file I uploaded was rejected because of a virus infection or "
|
||||
"policy violation"
|
||||
msgstr ""
|
||||
"Уведомить меня, когда загруженный мною файл отвергнут из-за заражения "
|
||||
"вирусом или нарушения правил"
|
||||
|
||||
#. description of the notification option 'Space Deleted'
|
||||
#: pkg/store/defaults/templates.go:38
|
||||
msgid "Notify me when a space I am a member of is deleted"
|
||||
msgstr "Уведомить меня, когда пространство с моим участием удалено"
|
||||
|
||||
#. description of the notification option 'Space Disabled'
|
||||
#: pkg/store/defaults/templates.go:34
|
||||
msgid "Notify me when a space I am a member of is disabled"
|
||||
msgstr "Уведомить меня, когда пространство с моим участием отключено"
|
||||
|
||||
#. description of the notification option 'Space Membership Expired'
|
||||
#: pkg/store/defaults/templates.go:30
|
||||
msgid "Notify me when my membership of a space expires"
|
||||
msgstr "Уведомить меня, когда моё участие в пространстве истекает"
|
||||
"Уведомить, когда загруженный мною файл отвергнут из-за заражения вирусом или"
|
||||
" нарушения правил"
|
||||
|
||||
#. description of the notification option 'Share Removed'
|
||||
#: pkg/store/defaults/templates.go:14
|
||||
msgid "Notify me when my shares are removed"
|
||||
msgstr "Уведомить меня, когда мои общие ресурсы удалены"
|
||||
msgid "Notify when a received share has been removed"
|
||||
msgstr "Уведомить, когда полученный общий ресурс был удален"
|
||||
|
||||
#. description of the notification option 'Share Expired'
|
||||
#: pkg/store/defaults/templates.go:18
|
||||
msgid "Notify me when my shares expire"
|
||||
msgstr "Уведомить меня, когда мои общие ресурсы истекают"
|
||||
msgid "Notify when a received share has expired"
|
||||
msgstr "Уведомить, когда истек срок действия полученного ресурса"
|
||||
|
||||
#. description of the notification option 'Space Deleted'
|
||||
#: pkg/store/defaults/templates.go:38
|
||||
msgid "Notify when a space I am member of has been deleted"
|
||||
msgstr "Уведомить, когда удалено пространство, в котором я участвую"
|
||||
|
||||
#. description of the notification option 'Space Disabled'
|
||||
#: pkg/store/defaults/templates.go:34
|
||||
msgid "Notify when a space I am member of has been disabled"
|
||||
msgstr "Уведомить, когда удалено пространство, в котором я отключено"
|
||||
|
||||
#. description of the notification option 'Space Membership Expired'
|
||||
#: pkg/store/defaults/templates.go:30
|
||||
msgid "Notify when a space membership has expired"
|
||||
msgstr "Уведомить, когда членство в пространстве истекло"
|
||||
|
||||
#. name of the notification option 'Space Unshared'
|
||||
#: pkg/store/defaults/templates.go:24
|
||||
msgid "Removed as space member"
|
||||
msgstr "Удален из участников пространства"
|
||||
|
||||
#. description of the notification option 'Email Interval'
|
||||
#: pkg/store/defaults/templates.go:46
|
||||
msgid "Selected value:"
|
||||
msgstr "Выбранное значение:"
|
||||
|
||||
#. name of the notification option 'Share Expired'
|
||||
#: pkg/store/defaults/templates.go:16
|
||||
msgid "Share Expired"
|
||||
@@ -141,7 +141,7 @@ msgstr "Пространство отключено"
|
||||
#. name of the notification option 'Space Membership Expired'
|
||||
#: pkg/store/defaults/templates.go:28
|
||||
msgid "Space membership expired"
|
||||
msgstr "Участие в пространстве истекло"
|
||||
msgstr "Срок действия членства в пространстве истек"
|
||||
|
||||
#. translation for the 'weekly' email interval option
|
||||
#: pkg/store/defaults/templates.go:52
|
||||
|
||||
@@ -13,7 +13,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-09 00:26+0000\n"
|
||||
"POT-Creation-Date: 2025-01-10 00:47+0000\n"
|
||||
"PO-Revision-Date: 2025-01-08 11:08+0000\n"
|
||||
"Last-Translator: Roman Perekhod, 2025\n"
|
||||
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
|
||||
@@ -53,65 +53,65 @@ msgstr "Миттєво"
|
||||
msgid "Never"
|
||||
msgstr "Ніколи"
|
||||
|
||||
#. description of the notification option 'Email Interval'
|
||||
#: pkg/store/defaults/templates.go:46
|
||||
msgid "Notifiy me via email:"
|
||||
msgstr "Повідомити мене по ел. пошті:"
|
||||
|
||||
#. description of the notification option 'Space Shared'
|
||||
#: pkg/store/defaults/templates.go:22
|
||||
msgid "Notify me when I am added as a member to a space"
|
||||
msgstr "Повідомте мене, коли мене буде додано як учасника до простору"
|
||||
msgid "Notify when I have been added as a member to a space"
|
||||
msgstr "Повідомити, коли мене додано як учасника до простору"
|
||||
|
||||
#. description of the notification option 'Space Unshared'
|
||||
#: pkg/store/defaults/templates.go:26
|
||||
msgid "Notify me when I am removed as a member from a space"
|
||||
msgstr "Повідомте мене, коли мене буде видалено як учасника з простору"
|
||||
msgid "Notify when I have been removed as member from a space"
|
||||
msgstr "Повідомити, коли мене видалено як учасника з простору"
|
||||
|
||||
#. description of the notification option 'Share Received'
|
||||
#: pkg/store/defaults/templates.go:10
|
||||
msgid "Notify me when I receive a share"
|
||||
msgstr "Повідомте мене, коли я отримаю доступ"
|
||||
msgid "Notify when I have received a share"
|
||||
msgstr "Повідомити, коли я отримв доступ"
|
||||
|
||||
#. description of the notification option 'File Rejected'
|
||||
#: pkg/store/defaults/templates.go:42
|
||||
msgid ""
|
||||
"Notify me when a file I uploaded is rejected because of virus infection or "
|
||||
"Notify when a file I uploaded was rejected because of a virus infection or "
|
||||
"policy violation"
|
||||
msgstr ""
|
||||
"Повідомте мене, коли завантажений мною файл відхилено через вірусну інфекцію"
|
||||
" або порушення правил"
|
||||
|
||||
#. description of the notification option 'Space Deleted'
|
||||
#: pkg/store/defaults/templates.go:38
|
||||
msgid "Notify me when a space I am a member of is deleted"
|
||||
msgstr "Повідомити мене, коли простір, в якому я є учасником, буде видалено"
|
||||
|
||||
#. description of the notification option 'Space Disabled'
|
||||
#: pkg/store/defaults/templates.go:34
|
||||
msgid "Notify me when a space I am a member of is disabled"
|
||||
msgstr "Повідомте мене, коли простір, в якому я є учасником, вимкнено"
|
||||
|
||||
#. description of the notification option 'Space Membership Expired'
|
||||
#: pkg/store/defaults/templates.go:30
|
||||
msgid "Notify me when my membership of a space expires"
|
||||
msgstr "Повідомте мене, коли закінчиться термін мого членства в просторі"
|
||||
"Повідомити, коли завантажений мною файл відхилено через вірусну інфекцію або"
|
||||
" порушення правил"
|
||||
|
||||
#. description of the notification option 'Share Removed'
|
||||
#: pkg/store/defaults/templates.go:14
|
||||
msgid "Notify me when my shares are removed"
|
||||
msgstr "Повідомте мене, коли мої доступи будуть видалені"
|
||||
msgid "Notify when a received share has been removed"
|
||||
msgstr "Повідомити, коли отриманий спільний доступ видалено"
|
||||
|
||||
#. description of the notification option 'Share Expired'
|
||||
#: pkg/store/defaults/templates.go:18
|
||||
msgid "Notify me when my shares expire"
|
||||
msgstr "Повідомте мене, коли закінчиться термін дії моїх доступів"
|
||||
msgid "Notify when a received share has expired"
|
||||
msgstr "Повідомити, коли закінчиться термін дії отриманого спільного доступу"
|
||||
|
||||
#. description of the notification option 'Space Deleted'
|
||||
#: pkg/store/defaults/templates.go:38
|
||||
msgid "Notify when a space I am member of has been deleted"
|
||||
msgstr "Повідомити, коли простір, в якому я є учасником, видалено"
|
||||
|
||||
#. description of the notification option 'Space Disabled'
|
||||
#: pkg/store/defaults/templates.go:34
|
||||
msgid "Notify when a space I am member of has been disabled"
|
||||
msgstr "Повідомити, коли простір, в якому я є учасником, вимкнено"
|
||||
|
||||
#. description of the notification option 'Space Membership Expired'
|
||||
#: pkg/store/defaults/templates.go:30
|
||||
msgid "Notify when a space membership has expired"
|
||||
msgstr "Повідомити мене, коли термін членства в просторі закінчився"
|
||||
|
||||
#. name of the notification option 'Space Unshared'
|
||||
#: pkg/store/defaults/templates.go:24
|
||||
msgid "Removed as space member"
|
||||
msgstr "Видалено як учасника простору"
|
||||
|
||||
#. description of the notification option 'Email Interval'
|
||||
#: pkg/store/defaults/templates.go:46
|
||||
msgid "Selected value:"
|
||||
msgstr "Вибране значення:"
|
||||
|
||||
#. name of the notification option 'Share Expired'
|
||||
#: pkg/store/defaults/templates.go:16
|
||||
msgid "Share Expired"
|
||||
@@ -140,7 +140,7 @@ msgstr "Простір вимкнено"
|
||||
#. name of the notification option 'Space Membership Expired'
|
||||
#: pkg/store/defaults/templates.go:28
|
||||
msgid "Space membership expired"
|
||||
msgstr "Термін дії членства в Просторі закінчився"
|
||||
msgstr "Термін дії членства в просторі закінчився"
|
||||
|
||||
#. translation for the 'weekly' email interval option
|
||||
#: pkg/store/defaults/templates.go:52
|
||||
|
||||
@@ -10,8 +10,9 @@ const (
|
||||
// BundleUUIDRoleUser represents the user role.
|
||||
BundleUUIDRoleUser = "d7beeea8-8ff4-406b-8fb6-ab2dd81e6b11"
|
||||
|
||||
// BundleUUIDRoleGuest represents the guest role.
|
||||
BundleUUIDRoleGuest = "38071a68-456a-4553-846a-fa67bf5596cc"
|
||||
// BundleUUIDRoleUserLight represents the light role.
|
||||
// BundleUUIDRoleGuest has been renamed to BundleUUIDRoleUserLight for consistency reasons
|
||||
BundleUUIDRoleUserLight = "38071a68-456a-4553-846a-fa67bf5596cc"
|
||||
|
||||
// RoleManagementPermissionID is the hardcoded setting UUID for the role management permission
|
||||
RoleManagementPermissionID string = "a53e601e-571f-4f86-8fec-d4576ef49c62"
|
||||
|
||||
@@ -13,6 +13,7 @@ const (
|
||||
// BundleUUIDRoleUser represents the user role.
|
||||
BundleUUIDRoleUser = "d7beeea8-8ff4-406b-8fb6-ab2dd81e6b11"
|
||||
// BundleUUIDRoleUserLight represents the user light role.
|
||||
// BundleUUIDRoleGuest has been renamed to BundleUUIDRoleUserLight for consistency reasons
|
||||
BundleUUIDRoleUserLight = "38071a68-456a-4553-846a-fa67bf5596cc"
|
||||
// BundleUUIDProfile represents the user profile.
|
||||
BundleUUIDProfile = "2a506de7-99bd-4f0d-994e-c38e72c28fd9"
|
||||
@@ -233,6 +234,15 @@ func generateBundleUserLightRole() *settingsmsg.Bundle {
|
||||
AutoAcceptSharesPermission(Own),
|
||||
DisableEmailNotificationsPermission(Own),
|
||||
ProfileEmailSendingIntervalPermission(Own),
|
||||
ProfileEventShareCreatedPermission(Own),
|
||||
ProfileEventShareRemovedPermission(Own),
|
||||
ProfileEventShareExpiredPermission(Own),
|
||||
ProfileEventSpaceSharedPermission(Own),
|
||||
ProfileEventSpaceUnsharedPermission(Own),
|
||||
ProfileEventSpaceMembershipExpiredPermission(Own),
|
||||
ProfileEventSpaceDisabledPermission(Own),
|
||||
ProfileEventSpaceDeletedPermission(Own),
|
||||
ProfileEventPostprocessingStepFinishedPermission(Own),
|
||||
LanguageManagementPermission(Own),
|
||||
},
|
||||
}
|
||||
@@ -318,7 +328,7 @@ func generateBundleProfileRequest() *settingsmsg.Bundle {
|
||||
MultiChoiceCollectionValue: &settingsmsg.MultiChoiceCollection{
|
||||
Options: []*settingsmsg.MultiChoiceCollectionOption{
|
||||
&optionInAppTrue,
|
||||
&optionMailFalseDisabled,
|
||||
&optionMailTrue,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -60,6 +60,8 @@ func (ulf userlogFilter) filterUsersBySettings(ctx context.Context, users []stri
|
||||
settingId = defaults.SettingUUIDProfileEventSpaceDisabled
|
||||
case events.SpaceDeleted:
|
||||
settingId = defaults.SettingUUIDProfileEventSpaceDeleted
|
||||
case events.PostprocessingStepFinished:
|
||||
settingId = defaults.SettingUUIDProfileEventPostprocessingStepFinished
|
||||
default:
|
||||
// event that cannot be disabled
|
||||
return users
|
||||
|
||||
@@ -53,6 +53,7 @@ func TestUserlogFilter_execute(t *testing.T) {
|
||||
{"SpaceMembershipExpired enabled", setupMockValueService(true), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceMembershipExpired{}}, ctx: context.TODO()}, []string{"foo"}},
|
||||
{"SpaceDisabled enabled", setupMockValueService(true), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceDisabled{}}, ctx: context.TODO()}, []string{"foo"}},
|
||||
{"SpaceDeleted enabled", setupMockValueService(true), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceDeleted{}}, ctx: context.TODO()}, []string{"foo"}},
|
||||
{"PostprocessingStepFinished enabled", setupMockValueService(true), args{users: []string{"foo"}, event: events.Event{Event: events.PostprocessingStepFinished{}}, ctx: context.TODO()}, []string{"foo"}},
|
||||
{"ShareCreated disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.ShareCreated{}}, ctx: context.TODO()}, []string(nil)},
|
||||
{"ShareRemoved disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.ShareRemoved{}}, ctx: context.TODO()}, []string(nil)},
|
||||
{"ShareExpired disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.ShareExpired{}}, ctx: context.TODO()}, []string(nil)},
|
||||
@@ -61,6 +62,7 @@ func TestUserlogFilter_execute(t *testing.T) {
|
||||
{"SpaceMembershipExpired disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceMembershipExpired{}}, ctx: context.TODO()}, []string(nil)},
|
||||
{"SpaceDisabled disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceDisabled{}}, ctx: context.TODO()}, []string(nil)},
|
||||
{"SpaceDeleted disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.SpaceDeleted{}}, ctx: context.TODO()}, []string(nil)},
|
||||
{"PostprocessingStepFinished disabled", setupMockValueService(false), args{users: []string{"foo"}, event: events.Event{Event: events.PostprocessingStepFinished{}}, ctx: context.TODO()}, []string(nil)},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
t.Run(tt.name, func(t *testing.T) {
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
|
||||
"POT-Creation-Date: 2025-01-11 00:27+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: Martin Zhekov <martin03staff@gmail.com>, 2023\n"
|
||||
"Language-Team: Bulgarian (Bulgaria) (https://app.transifex.com/owncloud-org/teams/6149/bg_BG/)\n"
|
||||
|
||||
@@ -14,7 +14,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
|
||||
"POT-Creation-Date: 2025-01-11 00:27+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: Michael Barz <mbarz@owncloud.com>, 2023\n"
|
||||
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
|
||||
|
||||
@@ -13,7 +13,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
|
||||
"POT-Creation-Date: 2025-01-11 00:27+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: Edith Parzefall, 2024\n"
|
||||
"Language-Team: German (Germany) (https://app.transifex.com/owncloud-org/teams/6149/de_DE/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
|
||||
"POT-Creation-Date: 2025-01-11 00:27+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: Andi Chandler <andi@gowling.com>, 2023\n"
|
||||
"Language-Team: English (United Kingdom) (https://app.transifex.com/owncloud-org/teams/6149/en_GB/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
|
||||
"POT-Creation-Date: 2025-01-11 00:27+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: Juan Carlos Garrote, 2023\n"
|
||||
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
|
||||
"POT-Creation-Date: 2025-01-11 00:27+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: Hugo Blackwood, 2023\n"
|
||||
"Language-Team: Korean (https://app.transifex.com/owncloud-org/teams/6149/ko/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
|
||||
"POT-Creation-Date: 2025-01-11 00:27+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: Flávio Veras <flaviove@gmail.com>, 2023\n"
|
||||
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/owncloud-org/teams/6149/pt_BR/)\n"
|
||||
|
||||
@@ -14,7 +14,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-04 00:05+0000\n"
|
||||
"POT-Creation-Date: 2025-01-24 00:55+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: dutty5, 2024\n"
|
||||
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
|
||||
|
||||
@@ -12,7 +12,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-04 00:05+0000\n"
|
||||
"POT-Creation-Date: 2025-01-24 00:55+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: dutty5, 2024\n"
|
||||
"Language-Team: Russian (Russia) (https://app.transifex.com/owncloud-org/teams/6149/ru_RU/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
|
||||
"POT-Creation-Date: 2025-01-11 00:27+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2023\n"
|
||||
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
|
||||
"POT-Creation-Date: 2025-01-11 00:27+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: Begüm Topyıldız <bgmtpyldz@gmail.com>, 2023\n"
|
||||
"Language-Team: Turkish (https://app.transifex.com/owncloud-org/teams/6149/tr/)\n"
|
||||
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-05 00:05+0000\n"
|
||||
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: Keram, 2024\n"
|
||||
"Language-Team: Uyghur (https://app.transifex.com/owncloud-org/teams/6149/ug/)\n"
|
||||
|
||||
@@ -4,16 +4,16 @@
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
# Translators:
|
||||
# Roman Perekhod, 2024
|
||||
# Roman Perekhod, 2025
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2025-01-06 00:03+0000\n"
|
||||
"POT-Creation-Date: 2025-01-25 00:53+0000\n"
|
||||
"PO-Revision-Date: 2023-03-15 08:28+0000\n"
|
||||
"Last-Translator: Roman Perekhod, 2024\n"
|
||||
"Last-Translator: Roman Perekhod, 2025\n"
|
||||
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
@@ -64,7 +64,7 @@ msgstr "Спільний доступ до ресурсу надано"
|
||||
|
||||
#: pkg/service/templates.go:48
|
||||
msgid "Resource unshared"
|
||||
msgstr "Спільний доступ до ресурсу вилучено"
|
||||
msgstr "Спільний доступ до ресурсу скасовано"
|
||||
|
||||
#: pkg/service/templates.go:53
|
||||
msgid "Share expired"
|
||||
@@ -112,4 +112,4 @@ msgstr "{user} поділився {resource} з вами"
|
||||
|
||||
#: pkg/service/templates.go:49
|
||||
msgid "{user} unshared {resource} with you"
|
||||
msgstr "{user} вилучив спільний доступ до {resource} для вас"
|
||||
msgstr "{user} скасував спільний доступ до {resource} для вас"
|
||||
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: EMAIL\n"
|
||||
"POT-Creation-Date: 2024-12-22 00:18+0000\n"
|
||||
"POT-Creation-Date: 2025-01-11 00:27+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: 2024-12-22 00:18+0000\n"
|
||||
"POT-Creation-Date: 2025-01-11 00:27+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,6 +1,6 @@
|
||||
SHELL := bash
|
||||
NAME := web
|
||||
WEB_ASSETS_VERSION = v11.0.6
|
||||
WEB_ASSETS_VERSION = v11.1.2
|
||||
|
||||
include ../../.make/recursion.mk
|
||||
|
||||
|
||||
@@ -1042,7 +1042,8 @@ class GraphHelper {
|
||||
array $body = [],
|
||||
array $headers = []
|
||||
): ResponseInterface {
|
||||
$url = self::getFullUrl($baseUrl, 'me/drives' . $urlArguments);
|
||||
$urlArguments = $urlArguments ? "?$urlArguments" : "";
|
||||
$url = self::getFullUrl($baseUrl, "me/drives" . $urlArguments);
|
||||
|
||||
return HttpRequestHelper::get($url, $xRequestId, $user, $password, $headers, $body);
|
||||
}
|
||||
@@ -1071,7 +1072,8 @@ class GraphHelper {
|
||||
array $body = [],
|
||||
array $headers = []
|
||||
): ResponseInterface {
|
||||
$url = self::getFullUrl($baseUrl, 'drives/' . $urlArguments);
|
||||
$urlArguments = $urlArguments ? "?$urlArguments" : "";
|
||||
$url = self::getFullUrl($baseUrl, "drives" . $urlArguments);
|
||||
|
||||
return HttpRequestHelper::get($url, $xRequestId, $user, $password, $headers, $body);
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ class HttpRequestHelper {
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public static function numRetriesOnHttpTooEarly(): int {
|
||||
public static function maxHTTPRequestRetries(): int {
|
||||
// Currently reva and oCIS may return HTTP_TOO_EARLY
|
||||
// So try up to 10 times before giving up.
|
||||
return 10;
|
||||
@@ -203,7 +203,7 @@ class HttpRequestHelper {
|
||||
$debugResponses = false;
|
||||
}
|
||||
|
||||
$sendRetryLimit = self::numRetriesOnHttpTooEarly();
|
||||
$sendRetryLimit = self::maxHTTPRequestRetries();
|
||||
$sendCount = 0;
|
||||
$sendExceptionHappened = false;
|
||||
do {
|
||||
|
||||
@@ -1787,8 +1787,6 @@ class FeatureContext extends BehatVariablesContext {
|
||||
return $this->getAdminPassword();
|
||||
} elseif (\array_key_exists($username, $this->createdUsers)) {
|
||||
return (string)$this->createdUsers[$username]['password'];
|
||||
} elseif (\array_key_exists($username, $this->createdRemoteUsers)) {
|
||||
return (string)$this->createdRemoteUsers[$username]['password'];
|
||||
}
|
||||
|
||||
// The user has not been created yet, see if there is a replacement
|
||||
@@ -1863,12 +1861,6 @@ class FeatureContext extends BehatVariablesContext {
|
||||
}
|
||||
return $userName;
|
||||
}
|
||||
if (\array_key_exists($username, $this->createdRemoteUsers)) {
|
||||
if (isset($this->createdRemoteUsers[$username]['displayname'])) {
|
||||
return (string)$this->createdRemoteUsers[$username]['displayname'];
|
||||
}
|
||||
return $userName;
|
||||
}
|
||||
|
||||
// The user has not been created yet, see if there is a replacement
|
||||
// defined for the user.
|
||||
@@ -1924,9 +1916,6 @@ class FeatureContext extends BehatVariablesContext {
|
||||
if (\array_key_exists($username, $this->createdUsers)) {
|
||||
return (string)$this->createdUsers[$username]['email'];
|
||||
}
|
||||
if (\array_key_exists($username, $this->createdRemoteUsers)) {
|
||||
return (string)$this->createdRemoteUsers[$username]['email'];
|
||||
}
|
||||
|
||||
// The user has not been created yet, see if there is a replacement
|
||||
// defined for the user.
|
||||
|
||||
@@ -96,7 +96,7 @@ class GraphContext implements Context {
|
||||
*
|
||||
* @param string $byUser
|
||||
* @param string $user
|
||||
* @param string $userName
|
||||
* @param string $newUsername
|
||||
*
|
||||
* @return void
|
||||
* @throws GuzzleException
|
||||
@@ -105,13 +105,18 @@ class GraphContext implements Context {
|
||||
public function theUserChangesTheUserNameOfUserToUsingTheGraphApi(
|
||||
string $byUser,
|
||||
string $user,
|
||||
string $userName
|
||||
string $newUsername
|
||||
): void {
|
||||
$response = $this->editUserUsingTheGraphApi($byUser, $user, $userName);
|
||||
$response = $this->editUserUsingTheGraphApi($byUser, $user, $newUsername);
|
||||
$this->featureContext->setResponse($response);
|
||||
// need to add user to list to delete him after test
|
||||
if (!empty($userName) && $this->featureContext->getAttributeOfCreatedUser($userName, 'id')) {
|
||||
$this->featureContext->addUserToCreatedUsersList($userName, $this->featureContext->getUserPassword($user));
|
||||
|
||||
// save the updated user
|
||||
if (!empty($newUsername) && $response->getStatusCode() === 200) {
|
||||
$this->featureContext->rememberThatUserIsNotExpectedToExist($user);
|
||||
$this->featureContext->addUserToCreatedUsersList(
|
||||
$newUsername,
|
||||
$this->featureContext->getUserPassword($user)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -291,13 +296,17 @@ class GraphContext implements Context {
|
||||
*/
|
||||
public function adminDeletesUserUsingTheGraphApi(string $user, ?string $byUser = null): ResponseInterface {
|
||||
$credentials = $this->getAdminOrUserCredentials($byUser);
|
||||
return GraphHelper::deleteUser(
|
||||
$response = GraphHelper::deleteUser(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$this->featureContext->getStepLineRef(),
|
||||
$credentials["username"],
|
||||
$credentials["password"],
|
||||
$user
|
||||
);
|
||||
if ($response->getStatusCode() === 204) {
|
||||
$this->featureContext->rememberThatUserIsNotExpectedToExist($user);
|
||||
}
|
||||
return $response;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -327,21 +336,30 @@ class GraphContext implements Context {
|
||||
/**
|
||||
* sends a request to delete a user with the help of userID using the Graph API
|
||||
*
|
||||
* @param string $userId
|
||||
* @param string $user
|
||||
* @param string $byUser
|
||||
*
|
||||
* @return ResponseInterface
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
public function deleteUserByUserIdUsingTheGraphApi(string $userId, string $byUser): ResponseInterface {
|
||||
public function deleteUserByUserId(string $user, string $byUser): ResponseInterface {
|
||||
if ($user === "nonexistent") {
|
||||
$userId = WebDavHelper::generateUUIDv4();
|
||||
} else {
|
||||
$userId = $this->featureContext->getUserIdByUserName($user);
|
||||
}
|
||||
$credentials = $this->getAdminOrUserCredentials($byUser);
|
||||
return GraphHelper::deleteUserByUserId(
|
||||
$response = GraphHelper::deleteUserByUserId(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$this->featureContext->getStepLineRef(),
|
||||
$credentials["username"],
|
||||
$credentials["password"],
|
||||
$userId
|
||||
);
|
||||
if ($response->getStatusCode() === 204) {
|
||||
$this->featureContext->rememberThatUserIsNotExpectedToExist($user);
|
||||
}
|
||||
return $response;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -355,8 +373,7 @@ class GraphContext implements Context {
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
public function theUserDeletesAUserUsingTheGraphAPI(string $byUser, string $user): void {
|
||||
$userId = $this->featureContext->getUserIdByUserName($user);
|
||||
$this->featureContext->setResponse($this->deleteUserByUserIdUsingTheGraphApi($userId, $byUser));
|
||||
$this->featureContext->setResponse($this->deleteUserByUserId($user, $byUser));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -369,8 +386,7 @@ class GraphContext implements Context {
|
||||
* @throws Exception
|
||||
*/
|
||||
public function theUserTriesToDeleteNonExistingUser(string $byUser): void {
|
||||
$userId = WebDavHelper::generateUUIDv4();
|
||||
$this->featureContext->setResponse($this->deleteUserByUserIdUsingTheGraphApi($userId, $byUser));
|
||||
$this->featureContext->setResponse($this->deleteUserByUserId("nonexistent", $byUser));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -689,11 +705,12 @@ class GraphContext implements Context {
|
||||
$rows["email"],
|
||||
$rows["displayName"]
|
||||
);
|
||||
$this->featureContext->setResponse($response);
|
||||
|
||||
// add created user to list except for the user with an empty name
|
||||
// because request /graph/v1.0/users/emptyUserName exits with 200
|
||||
// and we cannot check that the user with empty name doesn't exist
|
||||
if (!empty($rows["userName"])) {
|
||||
if (!empty($rows["userName"]) && $response->getStatusCode() === 201) {
|
||||
$this->featureContext->addUserToCreatedUsersList(
|
||||
$rows["userName"],
|
||||
$rows["password"],
|
||||
@@ -701,7 +718,6 @@ class GraphContext implements Context {
|
||||
$rows["email"]
|
||||
);
|
||||
}
|
||||
$this->featureContext->setResponse($response);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2674,7 +2690,7 @@ class GraphContext implements Context {
|
||||
$autoSync = $this->featureContext->getUserAutoSyncSetting($credentials['username']);
|
||||
$tryAgain = !$share->{'@client.synchronize'}
|
||||
&& $autoSync
|
||||
&& $retried < HttpRequestHelper::numRetriesOnHttpTooEarly();
|
||||
&& $retried < HttpRequestHelper::maxHTTPRequestRetries();
|
||||
|
||||
if ($tryAgain) {
|
||||
$retried += 1;
|
||||
@@ -2918,7 +2934,7 @@ class GraphContext implements Context {
|
||||
string $resource,
|
||||
string $spaceName
|
||||
): void {
|
||||
$resourceId = $this->featureContext->spacesContext->getResourceId($user, $spaceName, $resource);
|
||||
$resourceId = $this->spacesContext->getResourceId($user, $spaceName, $resource);
|
||||
$response = GraphHelper::getActivities(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$this->featureContext->getStepLineRef(),
|
||||
@@ -2974,7 +2990,7 @@ class GraphContext implements Context {
|
||||
string $owner,
|
||||
string $spaceName
|
||||
): void {
|
||||
$resourceId = $this->featureContext->spacesContext->getResourceId($owner, $spaceName, $file);
|
||||
$resourceId = $this->spacesContext->getResourceId($owner, $spaceName, $file);
|
||||
$response = GraphHelper::getActivities(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$this->featureContext->getStepLineRef(),
|
||||
@@ -2994,7 +3010,7 @@ class GraphContext implements Context {
|
||||
* @return void
|
||||
*/
|
||||
public function userListsTheActivitiesOfSpaceUsingTheGraphApi(string $user, string $spaceName): void {
|
||||
$spaceId = ($this->featureContext->spacesContext->getSpaceByName($user, $spaceName))["id"];
|
||||
$spaceId = ($this->spacesContext->getSpaceByName($user, $spaceName))["id"];
|
||||
$response = GraphHelper::getActivities(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$this->featureContext->getStepLineRef(),
|
||||
@@ -3073,7 +3089,7 @@ class GraphContext implements Context {
|
||||
string $filterType,
|
||||
string $filterValue
|
||||
): void {
|
||||
$resourceId = $this->featureContext->spacesContext->getResourceId($user, $spaceName, $resource);
|
||||
$resourceId = $this->spacesContext->getResourceId($user, $spaceName, $resource);
|
||||
$response = GraphHelper::getActivities(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$this->featureContext->getStepLineRef(),
|
||||
|
||||
@@ -41,12 +41,6 @@ trait Provisioning {
|
||||
* key is the lowercase username, value is an array of user attributes
|
||||
*/
|
||||
private array $createdUsers = [];
|
||||
|
||||
/**
|
||||
* list of users that were created on the remote server during test runs
|
||||
* key is the lowercase username, value is an array of user attributes
|
||||
*/
|
||||
private array $createdRemoteUsers = [];
|
||||
private array $startingGroups = [];
|
||||
private array $createdRemoteGroups = [];
|
||||
private array $createdGroups = [];
|
||||
@@ -83,13 +77,6 @@ trait Provisioning {
|
||||
return $this->createdUsers;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getAllCreatedUsers(): array {
|
||||
return array_merge($this->createdUsers, $this->createdRemoteUsers);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
@@ -107,7 +94,7 @@ trait Provisioning {
|
||||
*/
|
||||
public function getUserDisplayName(string $username): string {
|
||||
$normalizedUsername = $this->normalizeUsername($username);
|
||||
$users = $this->getAllCreatedUsers();
|
||||
$users = $this->getCreatedUsers();
|
||||
if (isset($users[$normalizedUsername]['displayname'])) {
|
||||
$displayName = (string) $users[$normalizedUsername]['displayname'];
|
||||
if ($displayName !== '') {
|
||||
@@ -125,7 +112,7 @@ trait Provisioning {
|
||||
* @throws Exception
|
||||
*/
|
||||
public function getAttributeOfCreatedUser(string $user, string $attribute) {
|
||||
$usersList = $this->getAllCreatedUsers();
|
||||
$usersList = $this->getCreatedUsers();
|
||||
$normalizedUsername = $this->normalizeUsername($user);
|
||||
if (\array_key_exists($normalizedUsername, $usersList)) {
|
||||
if (\array_key_exists($attribute, $usersList[$normalizedUsername])) {
|
||||
@@ -175,8 +162,6 @@ trait Provisioning {
|
||||
$password = $this->getAdminPassword();
|
||||
} elseif (\array_key_exists($normalizedUsername, $this->createdUsers)) {
|
||||
$password = $this->createdUsers[$normalizedUsername]['password'];
|
||||
} elseif (\array_key_exists($normalizedUsername, $this->createdRemoteUsers)) {
|
||||
$password = $this->createdRemoteUsers[$normalizedUsername]['password'];
|
||||
} else {
|
||||
throw new Exception(
|
||||
"user '$username' was not created by this test run"
|
||||
@@ -768,7 +753,6 @@ trait Provisioning {
|
||||
$this->userExists($user),
|
||||
"User '$user' should not exist but does exist"
|
||||
);
|
||||
$this->rememberThatUserIsNotExpectedToExist($user);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -855,7 +839,6 @@ trait Provisioning {
|
||||
$this->userExists($user),
|
||||
"User '$user' should not exist but does exist"
|
||||
);
|
||||
$this->rememberThatUserIsNotExpectedToExist($user);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -956,19 +939,21 @@ trait Provisioning {
|
||||
* @return void
|
||||
*/
|
||||
public function initializeUser(string $user, string $password): void {
|
||||
$url = $this->getBaseUrl() . "/graph/v1.0/users/$user";
|
||||
|
||||
if (OcisHelper::isTestingOnReva()) {
|
||||
$url = $this->getBaseUrl()
|
||||
. "/ocs/v$this->ocsApiVersion.php/cloud/users/$user";
|
||||
$url = $this->getBaseUrl() . "/ocs/v$this->ocsApiVersion.php/cloud/users/$user";
|
||||
HttpRequestHelper::get(
|
||||
$url,
|
||||
$this->getStepLineRef(),
|
||||
$user,
|
||||
$password
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
HttpRequestHelper::get(
|
||||
$url,
|
||||
$this->getStepLineRef(),
|
||||
$user,
|
||||
$password
|
||||
);
|
||||
// initialize user by requesting drives
|
||||
// NOTE: this should not be removed,
|
||||
// as it will save the Personal and Shares drives information
|
||||
$this->spacesContext->getSpaceByName($user, 'Personal');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -976,8 +961,8 @@ trait Provisioning {
|
||||
* makes it possible to use this list in other test steps
|
||||
* or to delete them at the end of the test
|
||||
*
|
||||
* @param string|null $user
|
||||
* @param string|null $password
|
||||
* @param string $user
|
||||
* @param string $password
|
||||
* @param string|null $displayName
|
||||
* @param string|null $email
|
||||
* @param string|null $userId only set for the users created using the Graph API
|
||||
@@ -987,8 +972,8 @@ trait Provisioning {
|
||||
* @throws JsonException
|
||||
*/
|
||||
public function addUserToCreatedUsersList(
|
||||
?string $user,
|
||||
?string $password,
|
||||
string $user,
|
||||
string $password,
|
||||
?string $displayName = null,
|
||||
?string $email = null,
|
||||
?string $userId = null,
|
||||
@@ -996,30 +981,17 @@ trait Provisioning {
|
||||
): void {
|
||||
$user = $this->getActualUsername($user);
|
||||
$normalizedUsername = $this->normalizeUsername($user);
|
||||
$userData = [
|
||||
"password" => $password,
|
||||
"displayname" => $displayName,
|
||||
"email" => $email,
|
||||
"shouldExist" => $shouldExist,
|
||||
"actualUsername" => $user,
|
||||
"id" => $userId
|
||||
];
|
||||
|
||||
if ($this->currentServer === 'LOCAL') {
|
||||
// Only remember this user creation if it was expected to have been successful
|
||||
// or the user has not been processed before. Some tests create a user the
|
||||
// first time (successfully) and then purposely try to create the user again.
|
||||
// The 2nd user creation is expected to fail, and in that case we want to
|
||||
// still remember the details of the first user creation.
|
||||
if ($shouldExist || !\array_key_exists($normalizedUsername, $this->createdUsers)) {
|
||||
$this->createdUsers[$normalizedUsername] = $userData;
|
||||
}
|
||||
} elseif ($this->currentServer === 'REMOTE') {
|
||||
// See comment above about the LOCAL case. The logic is the same for the remote case.
|
||||
if ($shouldExist || !\array_key_exists($normalizedUsername, $this->createdRemoteUsers)) {
|
||||
$this->createdRemoteUsers[$normalizedUsername] = $userData;
|
||||
$this->createdUsers[$normalizedUsername] = $userData;
|
||||
}
|
||||
if ($shouldExist || !\array_key_exists($normalizedUsername, $this->createdUsers)) {
|
||||
$this->createdUsers[$normalizedUsername] = [
|
||||
"password" => $password,
|
||||
"displayname" => $displayName,
|
||||
"email" => $email,
|
||||
"shouldExist" => $shouldExist,
|
||||
"actualUsername" => $user,
|
||||
"id" => $userId,
|
||||
"serverType" => $this->currentServer
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1037,14 +1009,8 @@ trait Provisioning {
|
||||
string $password
|
||||
): void {
|
||||
$normalizedUsername = $this->normalizeUsername($user);
|
||||
if ($this->currentServer === 'LOCAL') {
|
||||
if (\array_key_exists($normalizedUsername, $this->createdUsers)) {
|
||||
$this->createdUsers[$normalizedUsername]['password'] = $password;
|
||||
}
|
||||
} elseif ($this->currentServer === 'REMOTE') {
|
||||
if (\array_key_exists($normalizedUsername, $this->createdRemoteUsers)) {
|
||||
$this->createdRemoteUsers[$user]['password'] = $password;
|
||||
}
|
||||
if (\array_key_exists($normalizedUsername, $this->createdUsers)) {
|
||||
$this->createdUsers[$normalizedUsername]['password'] = $password;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1791,6 +1757,9 @@ trait Provisioning {
|
||||
// users can be deleted using the username in the GraphApi too
|
||||
$response = $this->graphContext->adminDeletesUserUsingTheGraphApi($user);
|
||||
}
|
||||
if ($response->getStatusCode() === 204) {
|
||||
$this->rememberThatUserIsNotExpectedToExist($user);
|
||||
}
|
||||
return $response;
|
||||
}
|
||||
|
||||
@@ -1997,25 +1966,20 @@ trait Provisioning {
|
||||
*/
|
||||
public function cleanupDatabaseUsers(): void {
|
||||
$previousServer = $this->currentServer;
|
||||
$this->usingServer('LOCAL');
|
||||
foreach ($this->createdUsers as $userData) {
|
||||
// do not try to delete if user doesn't exist
|
||||
if (!$userData["shouldExist"]) {
|
||||
continue;
|
||||
}
|
||||
$this->usingServer($userData["serverType"]);
|
||||
|
||||
$user = $userData['actualUsername'];
|
||||
$this->deleteUser($user);
|
||||
$response = $this->deleteUser($user);
|
||||
$this->theHTTPStatusCodeShouldBe(204, "Failed to delete user '$user'", $response);
|
||||
Assert::assertFalse(
|
||||
$this->userExists($user),
|
||||
"User '$user' should not exist but does exist"
|
||||
);
|
||||
$this->rememberThatUserIsNotExpectedToExist($user);
|
||||
}
|
||||
$this->usingServer('REMOTE');
|
||||
foreach ($this->createdRemoteUsers as $userData) {
|
||||
$user = $userData['actualUsername'];
|
||||
$this->deleteUser($user);
|
||||
Assert::assertFalse(
|
||||
$this->userExists($user),
|
||||
"User '$user' should not exist but does exist"
|
||||
);
|
||||
$this->rememberThatUserIsNotExpectedToExist($user);
|
||||
}
|
||||
$this->usingServer($previousServer);
|
||||
}
|
||||
|
||||
@@ -186,7 +186,7 @@ class SettingsContext implements Context {
|
||||
$decodedBody = \json_decode($rawBody, true, 512, JSON_THROW_ON_ERROR);
|
||||
$tryAgain = false;
|
||||
} catch (Exception $e) {
|
||||
$tryAgain = $retried < HttpRequestHelper::numRetriesOnHttpTooEarly();
|
||||
$tryAgain = $retried < HttpRequestHelper::maxHTTPRequestRetries();
|
||||
|
||||
if (!$tryAgain) {
|
||||
throw $e;
|
||||
|
||||
@@ -72,11 +72,7 @@ class SharingNgContext implements Context {
|
||||
$bodyRows = $body->getRowsHash();
|
||||
$resource = $bodyRows['resource'] ?? "";
|
||||
|
||||
if ($bodyRows['space'] === 'Personal' || $bodyRows['space'] === 'Shares') {
|
||||
$space = $this->spacesContext->getSpaceByName($user, $bodyRows['space']);
|
||||
} else {
|
||||
$space = $this->spacesContext->getCreatedSpace($bodyRows['space']);
|
||||
}
|
||||
$space = $this->spacesContext->getSpaceByName($user, $bodyRows['space']);
|
||||
$spaceId = $space['id'];
|
||||
|
||||
if ($resource === '' && !\in_array($bodyRows['space'], ['Personal', 'Shares'])) {
|
||||
@@ -269,11 +265,7 @@ class SharingNgContext implements Context {
|
||||
string $fileId = null,
|
||||
bool $federatedShare = false
|
||||
): ResponseInterface {
|
||||
if ($shareInfo['space'] === 'Personal' || $shareInfo['space'] === 'Shares') {
|
||||
$space = $this->spacesContext->getSpaceByName($user, $shareInfo['space']);
|
||||
} else {
|
||||
$space = $this->spacesContext->getCreatedSpace($shareInfo['space']);
|
||||
}
|
||||
$space = $this->spacesContext->getSpaceByName($user, $shareInfo['space']);
|
||||
$spaceId = $space['id'];
|
||||
|
||||
// $fileId is used for trying to share deleted files
|
||||
@@ -363,11 +355,7 @@ class SharingNgContext implements Context {
|
||||
): ResponseInterface {
|
||||
$shareeIds = [];
|
||||
$rows = $table->getRowsHash();
|
||||
if ($rows['space'] === 'Personal' || $rows['space'] === 'Shares') {
|
||||
$space = $this->spacesContext->getSpaceByName($user, $rows['space']);
|
||||
} else {
|
||||
$space = $this->spacesContext->getCreatedSpace($rows['space']);
|
||||
}
|
||||
$space = $this->spacesContext->getSpaceByName($user, $rows['space']);
|
||||
$spaceId = $space['id'];
|
||||
|
||||
$sharees = array_map('trim', explode(',', $rows['sharee']));
|
||||
@@ -653,11 +641,7 @@ class SharingNgContext implements Context {
|
||||
*/
|
||||
public function updateResourceShare(string $user, TableNode $body, string $permissionID): ResponseInterface {
|
||||
$bodyRows = $body->getRowsHash();
|
||||
if ($bodyRows['space'] === 'Personal' || $bodyRows['space'] === 'Shares') {
|
||||
$space = $this->spacesContext->getSpaceByName($user, $bodyRows['space']);
|
||||
} else {
|
||||
$space = $this->spacesContext->getCreatedSpace($bodyRows['space']);
|
||||
}
|
||||
$space = $this->spacesContext->getSpaceByName($user, $bodyRows['space']);
|
||||
$spaceId = $space["id"];
|
||||
// for updating role of project space shared, we do not need to provide resource
|
||||
$resource = $bodyRows['resource'] ?? '';
|
||||
@@ -1467,7 +1451,7 @@ class SharingNgContext implements Context {
|
||||
return;
|
||||
}
|
||||
|
||||
$tryAgain = !$shareSynced && $retried < HttpRequestHelper::numRetriesOnHttpTooEarly();
|
||||
$tryAgain = !$shareSynced && $retried < HttpRequestHelper::maxHTTPRequestRetries();
|
||||
if ($tryAgain) {
|
||||
$retried += 1;
|
||||
echo "[INFO] Wait for share sync status...";
|
||||
|
||||
@@ -54,7 +54,7 @@ class SpacesContext implements Context {
|
||||
/**
|
||||
* key is space name and value is the username that created the space
|
||||
*/
|
||||
private array $createdSpaces;
|
||||
private array $createdSpaces = [];
|
||||
private string $ocsApiUrl = '/ocs/v2.php/apps/files_sharing/api/v1/shares';
|
||||
|
||||
/**
|
||||
@@ -74,6 +74,27 @@ class SpacesContext implements Context {
|
||||
*/
|
||||
private array $storedEtags = [];
|
||||
|
||||
/**
|
||||
* @param string $spaceCreator
|
||||
* @param object $space
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function addToCreatedSpace(string $spaceCreator, object $space): void {
|
||||
$spaceName = $space->name;
|
||||
$this->createdSpaces[$spaceName] = $space;
|
||||
$this->createdSpaces[$spaceName]->spaceCreator = $spaceCreator;
|
||||
$this->createdSpaces[$spaceName]->fileId = $space->id . '!' . $space->owner->user->id;
|
||||
$this->createdSpaces[$spaceName]->serverType = $this->featureContext->getCurrentServer();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getCreatedSpaces(): array {
|
||||
return $this->createdSpaces;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $spaceName
|
||||
*
|
||||
@@ -87,46 +108,38 @@ class SpacesContext implements Context {
|
||||
return $this->createdSpaces[$spaceName]['spaceCreator'];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $spaceCreator
|
||||
* @param ResponseInterface $response
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function addCreatedSpace(string $spaceCreator, ResponseInterface $response): void {
|
||||
$response = $this->featureContext->getJsonDecodedResponseBodyContent($response);
|
||||
$spaceName = $response->name;
|
||||
$this->createdSpaces[$spaceName] = [];
|
||||
$this->createdSpaces[$spaceName]['id'] = $response->id;
|
||||
$this->createdSpaces[$spaceName]['spaceCreator'] = $spaceCreator;
|
||||
$this->createdSpaces[$spaceName]['fileId'] = $response->id . '!' . $response->owner->user->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $spaceName
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getCreatedSpace(string $spaceName): array {
|
||||
return $this->createdSpaces[$spaceName];
|
||||
}
|
||||
|
||||
private array $availableSpaces = [];
|
||||
private array $personalSpaces = [];
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getAvailableSpaces(): array {
|
||||
return $this->availableSpaces;
|
||||
public function getPersonalSpaces(): array {
|
||||
return $this->personalSpaces;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $availableSpaces
|
||||
* @param string $user
|
||||
*
|
||||
* @return object|null
|
||||
*/
|
||||
public function getPersonalSpaceForUser(string $user): ?object {
|
||||
$spaceName = $this->featureContext->getUserDisplayName($user);
|
||||
if (!isset($this->personalSpaces[$spaceName])) {
|
||||
return null;
|
||||
}
|
||||
return $this->personalSpaces[$spaceName];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $user
|
||||
* @param object $space
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function setAvailableSpaces(array $availableSpaces): void {
|
||||
$this->availableSpaces = $availableSpaces;
|
||||
public function addPersonalSpaceForUser(string $user, object $space): void {
|
||||
$spaceName = $this->featureContext->getUserDisplayName($user);
|
||||
$this->personalSpaces[$spaceName] = $space;
|
||||
$this->personalSpaces[$spaceName]->serverType = $this->featureContext->getCurrentServer();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -175,8 +188,6 @@ class SpacesContext implements Context {
|
||||
}
|
||||
|
||||
/**
|
||||
* The method finds available spaces to the user and returns the space by spaceName
|
||||
*
|
||||
* @param string $user
|
||||
* @param string $spaceName
|
||||
*
|
||||
@@ -184,27 +195,74 @@ class SpacesContext implements Context {
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
public function getSpaceByName(string $user, string $spaceName): array {
|
||||
$password = $this->featureContext->getPasswordForUser($user);
|
||||
$createdSpaces = $this->getCreatedSpaces();
|
||||
$personalSpaces = $this->getPersonalSpaces();
|
||||
$allSpaces = \array_merge($createdSpaces, $personalSpaces);
|
||||
|
||||
if ($spaceName === "Personal") {
|
||||
$spaceName = $this->featureContext->getUserDisplayName($user);
|
||||
}
|
||||
if (strtolower($user) === 'admin') {
|
||||
$listSpacesFn = 'listAllAvailableSpaces';
|
||||
} else {
|
||||
$listSpacesFn = 'listAllAvailableSpacesOfUser';
|
||||
|
||||
if (isset($allSpaces[$spaceName])
|
||||
&& $allSpaces[$spaceName]->serverType === $this->featureContext->getCurrentServer()
|
||||
) {
|
||||
return json_decode(json_encode($allSpaces[$spaceName]), true);
|
||||
}
|
||||
|
||||
// Sometimes listing available spaces might not return newly created/shared spaces.
|
||||
// So we try again until we find the space or we reach the max number of retries (i.e. 10)
|
||||
$retried = 0;
|
||||
do {
|
||||
// empty the available spaces array
|
||||
$this->setAvailableSpaces([]);
|
||||
// list 'me/drives' as given user
|
||||
$response = GraphHelper::getMySpaces(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$user,
|
||||
$password,
|
||||
"",
|
||||
$this->featureContext->getStepLineRef()
|
||||
);
|
||||
// NOTE: user can be created with empty password
|
||||
// so if that's the case, the user won't be able to request using empty password
|
||||
// and user won't have personal space.
|
||||
if ($response->getStatusCode() === 401 && !$password) {
|
||||
return [];
|
||||
}
|
||||
$this->featureContext->theHttpStatusCodeShouldBe(
|
||||
200,
|
||||
"Failed to fetch me/drives for user '$user'",
|
||||
$response
|
||||
);
|
||||
$spaces = $this->featureContext->getJsonDecodedResponseBodyContent($response)->value;
|
||||
|
||||
$this->$listSpacesFn($user);
|
||||
$spaces = $this->getAvailableSpaces();
|
||||
$found = false;
|
||||
$foundSpace = [];
|
||||
|
||||
$tryAgain = !\array_key_exists($spaceName, $spaces)
|
||||
&& $retried < HttpRequestHelper::numRetriesOnHttpTooEarly();
|
||||
// update the Shares space with other properties
|
||||
// NOTE: the order of drives list can be different
|
||||
// so this extra loop is needed to find and update the Shares space properties
|
||||
if ($allSpaces["Shares"]->name !== "Shares") {
|
||||
foreach ($spaces as $space) {
|
||||
if ($space->name === "Shares") {
|
||||
$this->addPersonalSpaceForUser("Shares", $space);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach ($spaces as $space) {
|
||||
if ($space->name === $spaceName && !isset($space->root->deleted)) {
|
||||
$found = true;
|
||||
$foundSpace = $space;
|
||||
if ($space->driveType === "project") {
|
||||
$this->addToCreatedSpace($user, $space);
|
||||
} elseif (!($space->name === "Shares" && $space->driveType === "virtual")) {
|
||||
$this->addPersonalSpaceForUser($user, $space);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
$tryAgain = !$found && $retried < HttpRequestHelper::maxHTTPRequestRetries();
|
||||
if ($tryAgain) {
|
||||
$retried += 1;
|
||||
echo "Space '$spaceName' not found for user '$user', retrying ($retried)...\n";
|
||||
@@ -213,12 +271,8 @@ class SpacesContext implements Context {
|
||||
}
|
||||
} while ($tryAgain);
|
||||
|
||||
Assert::assertArrayHasKey($spaceName, $spaces, "Space with name '$spaceName' for user '$user' not found");
|
||||
Assert::assertNotEmpty(
|
||||
$spaces[$spaceName]["root"]["webDavUrl"],
|
||||
"WebDavUrl for space with name '$spaceName' for user '$user' not found"
|
||||
);
|
||||
return $spaces[$spaceName];
|
||||
Assert::assertTrue($found, "Space '$spaceName' not found for user '$user'");
|
||||
return json_decode(json_encode($foundSpace), true);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -443,6 +497,18 @@ class SpacesContext implements Context {
|
||||
$this->checksumContext = BehatHelper::getContext($scope, $environment, 'ChecksumContext');
|
||||
$this->filesVersionsContext = BehatHelper::getContext($scope, $environment, 'FilesVersionsContext');
|
||||
$this->archiverContext = BehatHelper::getContext($scope, $environment, 'ArchiverContext');
|
||||
|
||||
// add Shares space as its drive-id is known
|
||||
// NOTE: this cannot be moved into a constructor method
|
||||
// because it uses the $this->featureContext object
|
||||
$this->personalSpaces = [
|
||||
"Shares" => (object)[
|
||||
"id" => GraphHelper::SHARES_SPACE_ID,
|
||||
// let 'name' be empty, it is used to update the shares space later on
|
||||
"name" => "",
|
||||
"serverType" => $this->featureContext->getCurrentServer()
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -467,22 +533,16 @@ class SpacesContext implements Context {
|
||||
* @throws Exception|GuzzleException
|
||||
*/
|
||||
public function deleteAllProjectSpaces(): void {
|
||||
$query = "\$filter=driveType eq project";
|
||||
$userAdmin = $this->featureContext->getAdminUsername();
|
||||
$drives = $this->getCreatedSpaces();
|
||||
|
||||
$this->listAllAvailableSpaces(
|
||||
$userAdmin,
|
||||
$query
|
||||
);
|
||||
$drives = $this->getAvailableSpaces();
|
||||
|
||||
foreach ($drives as $value) {
|
||||
if (!\array_key_exists("deleted", $value["root"])) {
|
||||
foreach ($drives as $drive) {
|
||||
if (!isset($drive->root->deleted)) {
|
||||
GraphHelper::disableSpace(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$userAdmin,
|
||||
$this->featureContext->getPasswordForUser($userAdmin),
|
||||
$value["id"],
|
||||
$drive->id,
|
||||
$this->featureContext->getStepLineRef()
|
||||
);
|
||||
}
|
||||
@@ -490,7 +550,7 @@ class SpacesContext implements Context {
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$userAdmin,
|
||||
$this->featureContext->getPasswordForUser($userAdmin),
|
||||
$value["id"],
|
||||
$drive->id,
|
||||
$this->featureContext->getStepLineRef()
|
||||
);
|
||||
}
|
||||
@@ -556,22 +616,20 @@ class SpacesContext implements Context {
|
||||
* @throws GuzzleException
|
||||
* @throws Exception
|
||||
*/
|
||||
public function listAllAvailableSpacesOfUser(
|
||||
public function listAllMySpaces(
|
||||
string $user,
|
||||
string $query = '',
|
||||
array $headers = []
|
||||
): ResponseInterface {
|
||||
$response = GraphHelper::getMySpaces(
|
||||
return GraphHelper::getMySpaces(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$user,
|
||||
$this->featureContext->getPasswordForUser($user),
|
||||
"?" . $query,
|
||||
$query,
|
||||
$this->featureContext->getStepLineRef(),
|
||||
[],
|
||||
$headers
|
||||
);
|
||||
$this->rememberTheAvailableSpaces($response);
|
||||
return $response;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -587,7 +645,7 @@ class SpacesContext implements Context {
|
||||
* @throws Exception
|
||||
*/
|
||||
public function theUserListsAllHisAvailableSpacesUsingTheGraphApi(string $user, string $query = ''): void {
|
||||
$this->featureContext->setResponse($this->listAllAvailableSpacesOfUser($user, $query));
|
||||
$this->featureContext->setResponse($this->listAllMySpaces($user, $query));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -613,30 +671,7 @@ class SpacesContext implements Context {
|
||||
foreach ($headersTable as $row) {
|
||||
$headers[$row['header']] = $row ['value'];
|
||||
}
|
||||
$this->featureContext->setResponse($this->listAllAvailableSpacesOfUser($user, '', $headers));
|
||||
}
|
||||
|
||||
/**
|
||||
* The method is used on the administration setting tab, which only the Admin user and the Space admin user have access to
|
||||
*
|
||||
* @param string $user
|
||||
* @param string $query
|
||||
*
|
||||
* @return ResponseInterface
|
||||
*
|
||||
* @throws GuzzleException
|
||||
* @throws Exception
|
||||
*/
|
||||
public function listAllAvailableSpaces(string $user, string $query = ''): ResponseInterface {
|
||||
$response = GraphHelper::getAllSpaces(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$user,
|
||||
$this->featureContext->getPasswordForUser($user),
|
||||
"?" . $query,
|
||||
$this->featureContext->getStepLineRef()
|
||||
);
|
||||
$this->rememberTheAvailableSpaces($response);
|
||||
return $response;
|
||||
$this->featureContext->setResponse($this->listAllMySpaces($user, '', $headers));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -653,9 +688,14 @@ class SpacesContext implements Context {
|
||||
* @throws Exception
|
||||
*/
|
||||
public function theUserListsAllAvailableSpacesUsingTheGraphApi(string $user, string $query = ''): void {
|
||||
$this->featureContext->setResponse(
|
||||
$this->listAllAvailableSpaces($user, $query)
|
||||
$response = GraphHelper::getAllSpaces(
|
||||
$this->featureContext->getBaseUrl(),
|
||||
$user,
|
||||
$this->featureContext->getPasswordForUser($user),
|
||||
$query,
|
||||
$this->featureContext->getStepLineRef()
|
||||
);
|
||||
$this->featureContext->setResponse($response);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -675,7 +715,6 @@ class SpacesContext implements Context {
|
||||
string $ownerUser = ''
|
||||
): void {
|
||||
$space = $this->getSpaceByName(($ownerUser !== "") ? $ownerUser : $user, $spaceName);
|
||||
Assert::assertIsArray($space);
|
||||
Assert::assertNotEmpty($space["id"]);
|
||||
Assert::assertNotEmpty($space["root"]["webDavUrl"]);
|
||||
$this->featureContext->setResponse(
|
||||
@@ -721,37 +760,11 @@ class SpacesContext implements Context {
|
||||
);
|
||||
$this->featureContext->setResponse($response);
|
||||
if ($response->getStatusCode() === 201) {
|
||||
$this->addCreatedSpace($user, $response);
|
||||
$space = $this->featureContext->getJsonDecodedResponseBodyContent($response);
|
||||
$this->addToCreatedSpace($user, $space);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Remember the available Spaces
|
||||
*
|
||||
* @param ResponseInterface|null $response
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws Exception
|
||||
*/
|
||||
public function rememberTheAvailableSpaces(?ResponseInterface $response = null): void {
|
||||
if ($response) {
|
||||
$rawBody = $response->getBody()->getContents();
|
||||
} else {
|
||||
$rawBody = $this->featureContext->getResponse()->getBody()->getContents();
|
||||
}
|
||||
$drives = json_decode($rawBody, true, 512, JSON_THROW_ON_ERROR);
|
||||
if (isset($drives["value"])) {
|
||||
$drives = $drives["value"];
|
||||
}
|
||||
|
||||
$spaces = [];
|
||||
foreach ($drives as $drive) {
|
||||
$spaces[$drive["name"]] = $drive;
|
||||
}
|
||||
$this->setAvailableSpaces($spaces);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $user
|
||||
* @param string $spaceName
|
||||
@@ -1049,7 +1062,7 @@ class SpacesContext implements Context {
|
||||
string $grantedUser,
|
||||
string $role
|
||||
): void {
|
||||
$response = $this->listAllAvailableSpacesOfUser($user);
|
||||
$response = $this->listAllMySpaces($user);
|
||||
$this->featureContext->theHTTPStatusCodeShouldBe(
|
||||
200,
|
||||
"Expected response status code should be 200",
|
||||
@@ -1105,7 +1118,7 @@ class SpacesContext implements Context {
|
||||
string $shouldOrNot,
|
||||
string $spaceName
|
||||
): void {
|
||||
$response = $this->listAllAvailableSpacesOfUser($user);
|
||||
$response = $this->listAllMySpaces($user);
|
||||
$this->featureContext->theHTTPStatusCodeShouldBe(
|
||||
200,
|
||||
"Expected response status code should be 200",
|
||||
@@ -1137,7 +1150,7 @@ class SpacesContext implements Context {
|
||||
string $user,
|
||||
string $spaceName
|
||||
): void {
|
||||
$response = $this->listAllAvailableSpacesOfUser($user);
|
||||
$response = $this->listAllMySpaces($user);
|
||||
$this->featureContext->theHTTPStatusCodeShouldBe(
|
||||
200,
|
||||
"Expected response status code should be 200",
|
||||
@@ -1623,8 +1636,7 @@ class SpacesContext implements Context {
|
||||
}
|
||||
|
||||
/**
|
||||
* @Given /^user "([^"]*)" has changed the quota of the personal space of "([^"]*)" space to "([^"]*)"$/
|
||||
* @Given /^user "([^"]*)" has changed the quota of the "([^"]*)" space to "([^"]*)"$/
|
||||
* @Given /^user "([^"]*)" has changed the quota of space "([^"]*)" to "([^"]*)"$/
|
||||
*
|
||||
* @param string $user
|
||||
* @param string $spaceName
|
||||
@@ -1759,12 +1771,13 @@ class SpacesContext implements Context {
|
||||
): void {
|
||||
$space = ["name" => $spaceName, "driveType" => $spaceType, "quota" => ["total" => $quota]];
|
||||
$response = $this->createSpace($user, $space);
|
||||
$this->addCreatedSpace($user, $response);
|
||||
$this->featureContext->theHTTPStatusCodeShouldBe(
|
||||
201,
|
||||
"Expected response status code should be 201 (Created)",
|
||||
$response
|
||||
);
|
||||
$space = $this->featureContext->getJsonDecodedResponseBodyContent($response);
|
||||
$this->addToCreatedSpace($user, $space);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1784,12 +1797,13 @@ class SpacesContext implements Context {
|
||||
): void {
|
||||
$space = ["name" => $spaceName];
|
||||
$response = $this->createSpace($user, $space);
|
||||
$this->addCreatedSpace($user, $response);
|
||||
$this->featureContext->theHTTPStatusCodeShouldBe(
|
||||
201,
|
||||
"Expected response status code should be 201 (Created)",
|
||||
$response
|
||||
);
|
||||
$space = $this->featureContext->getJsonDecodedResponseBodyContent($response);
|
||||
$this->addToCreatedSpace($user, $space);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2421,14 +2435,12 @@ class SpacesContext implements Context {
|
||||
string $fileContent,
|
||||
string $destination
|
||||
): array {
|
||||
$response = $this->listAllAvailableSpacesOfUser($user);
|
||||
$this->featureContext->theHTTPStatusCodeShouldBe(200, "", $response);
|
||||
$spaceId = $this->getSpaceIdByName($user, $spaceName);
|
||||
$space = $this->getSpaceByName($user, $spaceName);
|
||||
$response = $this->featureContext->uploadFileWithContent(
|
||||
$user,
|
||||
$fileContent,
|
||||
$destination,
|
||||
$spaceId,
|
||||
$space["id"],
|
||||
true
|
||||
);
|
||||
$this->featureContext->theHTTPStatusCodeShouldBe(['201', '204'], "", $response);
|
||||
@@ -4623,7 +4635,7 @@ class SpacesContext implements Context {
|
||||
string $role,
|
||||
string $expirationDate = null
|
||||
): void {
|
||||
$response = $this->listAllAvailableSpacesOfUser($user);
|
||||
$response = $this->listAllMySpaces($user);
|
||||
$this->featureContext->theHTTPStatusCodeShouldBe(
|
||||
200,
|
||||
"Expected response status code should be 200",
|
||||
|
||||
@@ -13,7 +13,7 @@ Feature: download multiple resources bundled into an archive
|
||||
@issue-4637
|
||||
Scenario Outline: download a single file
|
||||
Given user "Alice" has uploaded file with content "some data" to "/textfile0.txt"
|
||||
When user "Alice" downloads the <archive-type> archive of "/home/textfile0.txt" using the resource path and setting these headers:
|
||||
When user "Alice" downloads the <archive-type> archive of "textfile0.txt" using the resource path and setting these headers:
|
||||
| header | value |
|
||||
| User-Agent | <user-agent> |
|
||||
Then the HTTP status code should be "200"
|
||||
@@ -30,7 +30,7 @@ Feature: download multiple resources bundled into an archive
|
||||
Given user "Alice" has created folder "my_data"
|
||||
And user "Alice" has uploaded file with content "some data" to "/my_data/textfile0.txt"
|
||||
And user "Alice" has uploaded file with content "more data" to "/my_data/an_other_file.txt"
|
||||
When user "Alice" downloads the <archive-type> archive of "/home/my_data" using the resource path and setting these headers:
|
||||
When user "Alice" downloads the <archive-type> archive of "my_data" using the resource path and setting these headers:
|
||||
| header | value |
|
||||
| User-Agent | <user-agent> |
|
||||
Then the HTTP status code should be "200"
|
||||
@@ -52,10 +52,10 @@ Feature: download multiple resources bundled into an archive
|
||||
And user "Alice" has created folder "more_data"
|
||||
And user "Alice" has uploaded file with content "more data" to "/more_data/an_other_file.txt"
|
||||
When user "Alice" downloads the archive of these items using the resource paths
|
||||
| /home/textfile0.txt |
|
||||
| /home/textfile1.txt |
|
||||
| /home/my_data |
|
||||
| /home/more_data |
|
||||
| textfile0.txt |
|
||||
| textfile1.txt |
|
||||
| my_data |
|
||||
| more_data |
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded tar archive should contain these files:
|
||||
| name | content |
|
||||
@@ -107,10 +107,10 @@ Feature: download multiple resources bundled into an archive
|
||||
| permissionsRole | Viewer |
|
||||
And user "Brian" has a share "more_data" synced
|
||||
When user "Brian" downloads the archive of these items using the resource path
|
||||
| /home/Shares/textfile0.txt |
|
||||
| /home/Shares/textfile1.txt |
|
||||
| /home/Shares/my_data |
|
||||
| /home/Shares/more_data |
|
||||
| Shares/textfile0.txt |
|
||||
| Shares/textfile1.txt |
|
||||
| Shares/my_data |
|
||||
| Shares/more_data |
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded tar archive should contain these files:
|
||||
| name | content |
|
||||
@@ -156,7 +156,7 @@ Feature: download multiple resources bundled into an archive
|
||||
| shareType | user |
|
||||
| permissionsRole | Viewer |
|
||||
And user "Brian" has a share "more_data" synced
|
||||
When user "Brian" downloads the <archive-type> archive of "/home/Shares" using the resource path and setting these headers:
|
||||
When user "Brian" downloads the <archive-type> archive of "Shares" using the resource path and setting these headers:
|
||||
| header | value |
|
||||
| User-Agent | <user-agent> |
|
||||
Then the HTTP status code should be "200"
|
||||
|
||||
@@ -411,7 +411,7 @@ Feature: user GDPR (General Data Protection Regulation) report
|
||||
|
||||
|
||||
Scenario: generate a GDPR report after the admin updates the quota of personal space
|
||||
Given user "Admin" has changed the quota of the personal space of "Alice Hansen" space to "10000"
|
||||
Given user "Admin" has changed the quota of space "Alice Hansen" to "10000"
|
||||
When user "Alice" exports her GDPR report to "/.personal_data_export.json" using the Graph API
|
||||
And user "Alice" downloads the content of GDPR report ".personal_data_export.json"
|
||||
Then the HTTP status code of responses on each endpoint should be "202, 200" respectively
|
||||
|
||||
@@ -37,7 +37,7 @@ Feature: edit user
|
||||
Examples:
|
||||
| action description | user | http-status-code | new-user |
|
||||
| change to a valid user name | Lionel | 200 | Lionel |
|
||||
| user name characters | a*!_+-& | 200 | a*!_+-& |
|
||||
| user name characters | a*!_-& | 200 | a*!_-& |
|
||||
| change to existing user name | Brian | 409 | Carol |
|
||||
| empty user name | | 400 | Carol |
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ Feature: lock files
|
||||
|
||||
Scenario Outline: lock a file
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "textfile.txt"
|
||||
When user "Alice" locks file "textfile.txt" using the WebDAV API setting the following properties
|
||||
| lockscope | exclusive |
|
||||
Then the HTTP status code should be "200"
|
||||
@@ -32,7 +32,7 @@ Feature: lock files
|
||||
|
||||
Scenario Outline: lock a file with a timeout
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "textfile.txt"
|
||||
When user "Alice" locks file "textfile.txt" using the WebDAV API setting the following properties
|
||||
| lockscope | exclusive |
|
||||
| timeout | Second-5000 |
|
||||
@@ -54,7 +54,7 @@ Feature: lock files
|
||||
|
||||
Scenario: lock a file using file-id
|
||||
Given using spaces DAV path
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
When user "Alice" locks file "textfile.txt" using file-id "<<FILEID>>" using the WebDAV API setting the following properties
|
||||
| lockscope | exclusive |
|
||||
@@ -72,7 +72,7 @@ Feature: lock files
|
||||
|
||||
Scenario Outline: user cannot lock file twice
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has locked file "textfile.txt" setting the following properties
|
||||
| lockscope | exclusive |
|
||||
When user "Alice" tries to lock file "textfile.txt" using the WebDAV API setting the following properties
|
||||
@@ -163,7 +163,7 @@ Feature: lock files
|
||||
@issue-7599
|
||||
Scenario Outline: lock a file in the shares
|
||||
Given using <dav-path-version> DAV path
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
| space | Personal |
|
||||
@@ -189,7 +189,7 @@ Feature: lock files
|
||||
|
||||
Scenario: lock a file in the shares using file-id
|
||||
Given using spaces DAV path
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
@@ -213,7 +213,7 @@ Feature: lock files
|
||||
Scenario Outline: viewer cannot lock a file in the shares using file-id
|
||||
Given using spaces DAV path
|
||||
And the administrator has enabled the permissions role "Secure Viewer"
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
@@ -233,7 +233,7 @@ Feature: lock files
|
||||
|
||||
Scenario: sharee cannot lock a resource exclusively locked by a sharer
|
||||
Given using spaces DAV path
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
@@ -258,7 +258,7 @@ Feature: lock files
|
||||
|
||||
Scenario: sharer cannot lock a resource exclusively locked by a sharee
|
||||
Given using spaces DAV path
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
|
||||
@@ -249,7 +249,7 @@ Feature: unlock locked items
|
||||
|
||||
Scenario: unlock a file using file-id
|
||||
Given using spaces DAV path
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has locked file "textfile.txt" using file-id "<<FILEID>>" setting the following properties
|
||||
| lockscope | exclusive |
|
||||
@@ -278,7 +278,7 @@ Feature: unlock locked items
|
||||
Scenario: unlock a file in the shares using file-id
|
||||
Given user "Brian" has been created with default attributes
|
||||
And using spaces DAV path
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "textfile.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has sent the following resource share invitation:
|
||||
| resource | textfile.txt |
|
||||
|
||||
@@ -519,7 +519,7 @@ Feature: Change data of space
|
||||
|
||||
Scenario Outline: user can't upload resource greater than set quota
|
||||
Given the administrator has assigned the role "<user-role>" to user "Alice" using the Graph API
|
||||
And user "Admin" has changed the quota of the personal space of "Alice Hansen" space to "15"
|
||||
And user "Admin" has changed the quota of space "Alice Hansen" to "15"
|
||||
When user "Alice" uploads a file inside space "Alice Hansen" with content "file is more than 15 bytes" to "file.txt" using the WebDAV API
|
||||
Then the HTTP status code should be "507"
|
||||
And for user "Alice" the space "Personal" should not contain these entries:
|
||||
|
||||
@@ -108,7 +108,7 @@ Feature: State of the quota
|
||||
|
||||
|
||||
Scenario Outline: check the relative amount of quota of personal space
|
||||
Given user "Admin" has changed the quota of the personal space of "Alice Hansen" space to "10000"
|
||||
Given user "Admin" has changed the quota of space "Alice Hansen" to "10000"
|
||||
And user "Alice" has uploaded file "<file-upload>" to "/demo.txt"
|
||||
When the user "Alice" requests these endpoints with "GET" with basic auth
|
||||
| endpoint |
|
||||
@@ -141,7 +141,7 @@ Feature: State of the quota
|
||||
|
||||
|
||||
Scenario: user can restore a file version even if there is not enough quota to do so
|
||||
Given user "Admin" has changed the quota of the "Alice Hansen" space to "30"
|
||||
Given user "Admin" has changed the quota of space "Alice Hansen" to "30"
|
||||
And user "Alice" has uploaded file with content "file is less than 30 bytes" to "/file.txt"
|
||||
And user "Alice" has uploaded file with content "reduceContent" to "/file.txt"
|
||||
And user "Alice" has uploaded file with content "some content" to "newFile.txt"
|
||||
|
||||
@@ -57,7 +57,7 @@ Feature: Tag
|
||||
|
||||
Scenario: user creates tags for resources in the personal space
|
||||
Given user "Alice" has created a folder "folderMain" in space "Alice Hansen"
|
||||
And user "Alice" has uploaded a file inside space "Alice Hansen" with content "some content" to "file.txt"
|
||||
And user "Alice" has uploaded a file inside space "Personal" with content "some content" to "file.txt"
|
||||
When user "Alice" creates the following tags for folder "folderMain" of space "Alice Hansen":
|
||||
| my tag |
|
||||
| important |
|
||||
|
||||
Loaded 100 of 117 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user