Compare commits

...
62 Commits
Author SHA1 Message Date
Deyan Zhekov 1c08926b73 Fix folder name format 2025-05-27 13:57:24 +03:00
Deyan Zhekov 36f378502d Remove .DS_Store files 2025-05-27 13:53:18 +03:00
Deyan Zhekov 4f70ae8c9f Preparing release-7.1.3 2025-05-27 13:35:39 +03:00
Nalem7 41066d23d4 Merge pull request #11367 from owncloud/CI/add-matrix-notification-stable
[fulll-ci] Add matrix notification on stable branch
2025-05-27 16:11:43 +05:45
nabim777 c6951b5008 CI: Fixed the matrix notification script file
Signed-off-by: nabim777 <nabinalemagar019@gmail.com>
2025-05-27 15:06:54 +05:45
Roman Perekhod 4c7880f594 Automated changelog update [skip ci] 2025-05-27 07:28:26 +00:00
Roman Perekhod eb7fee1c49 Merge pull request #11366 from owncloud/backport-issue-7180-to-7.1
Backport: bump-reva, limited the length of tags, tus logging
2025-05-27 09:27:47 +02:00
Niraj Acharya ec5acc3a6f send build notification to matrix 2025-05-27 10:50:18 +05:45
Matteo 387c204bf9 Automated changelog update [skip ci] 2025-05-27 04:28:59 +00:00
Matteo e2098af920 Merge pull request #11362 from owncloud/chore/bump-web-to-11.3.4
[full-ci] chore: bump web in stable to 11.3.4
2025-05-27 06:28:17 +02:00
Roman Perekhod 258893a6dd limited the length of tags
(cherry picked from commit 74cf69b5ec)
2025-05-26 23:24:49 +02:00
Matteo f75d48aaf1 chore: bump web in stable to 11.3.4 2025-05-26 19:19:45 +02:00
Matteo 61a30d54fa Automated changelog update [skip ci] 2025-05-26 13:39:05 +00:00
Matteo a885deaea2 Merge pull request #11352 from owncloud/chore/bump-web-in-stable-to-11.3.3
[full-ci] Chore/bump web in stable to 11.3.3
2025-05-26 15:38:27 +02:00
kobergj 26b98e6f54 Automated changelog update [skip ci] 2025-05-26 13:22:51 +00:00
kobergj 4c28a87924 Merge pull request #11361 from kobergj/FixSettingsTranslations
[full-ci] Fix missing translation
2025-05-26 15:22:12 +02:00
Julian Koberg 90dcfb253a fix(settings): fix missing translation
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-05-26 14:23:40 +02:00
kobergj 2d6e4dc4e5 Merge pull request #11359 from 2403905/backport-replace-reva-to-stable-7.1
[full-ci] replace cs3/reva to owncloud/reva
2025-05-26 14:18:28 +02:00
Roman Perekhod cdf8b5fb21 [full-ci] replace cs3/reva to owncloud/reva 2025-05-26 11:51:30 +02:00
Matteo effe000198 chore: bump web to 11.3.3 2025-05-23 10:06:39 +02:00
Michal Klos 62bac12a4c Automated changelog update [skip ci] 2025-05-22 11:37:18 +00:00
Michal Klos 14fafe6691 fix: collaboration, missing LastModifiedTime 2025-05-22 13:36:24 +02:00
Roman Perekhod 1395fe5671 Automated changelog update [skip ci] 2025-05-22 09:46:43 +00:00
Roman Perekhod 2c3dc6cf5c Merge pull request #11344 from 2403905/backport-issue-11025-to-7.1
[full-ci] backport issue-11025 to stable-7.1
2025-05-22 11:46:07 +02:00
Roman Perekhod ed9ebd0324 fixed the issue when the Share roles show a wrong translation after the user location has changed back to English 2025-05-22 11:10:31 +02:00
Martin ab5591184c Automated changelog update [skip ci] 2025-05-13 07:43:04 +00:00
Martin d9628780b7 Merge pull request #11310 from owncloud/7.1_update_env_vars.yaml
[chore][docs-only][7.1] Update env_vars.yaml
2025-05-13 09:41:26 +02:00
Martin Mattel 543d84e73f [chore][docs-only][7.1] Update env_vars.yaml 2025-05-12 13:57:38 +02:00
Sawjan Gurung 2c6bb688ee Merge pull request #11222 from owncloud/fix/bump-web-commit-hash-fixed
[full-ci] Update `stable-7.1` branch - new commit for the `stable-11.0` branch in `web` repo
2025-04-09 16:41:04 +05:45
Deyan Zhekov 6814a518e2 Update drone.env file
Using the latest commit hash of branch stable-11.0 from web repository
2025-04-09 12:33:37 +03:00
kobergj 56f7645f0b Merge pull request #11178 from owncloud/release_7.1.2
[full-ci][k6-test] release-7.1.2
2025-03-31 10:54:25 +02:00
Roman Perekhod 0e559b3055 [full-ci][k6-test] release-7.1.2 2025-03-28 17:47:02 +01:00
kobergj ba4b2c1063 Automated changelog update [skip ci] 2025-03-28 15:25:24 +00:00
kobergj 0e98034769 Merge pull request #11177 from owncloud/release-7.1.2
[full-ci] backport pdf form fix
2025-03-28 16:24:47 +01:00
Roman Perekhod 7f3e557486 release-7.1.2 2025-03-28 15:12:29 +01:00
Roman Perekhod 04f240cb71 Fix pdf form creation for Onlyoffice
(cherry picked from commit c9e0547dce)
2025-03-28 14:26:00 +01:00
Sawjan Gurung 86132fbe0d Merge pull request #11171 from owncloud/ci/k6-on-master-only
[tests-only][k6-test] ci: run k6 for master branch unless specified in PR title
2025-03-28 16:30:31 +05:45
Saw-jan 46969113b5 ci: run k6 for master branch unless specified in PR title
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2025-03-28 14:37:34 +05:45
Roman Perekhod f0ff233027 Automated changelog update [skip ci] 2025-03-14 17:28:51 +00:00
Roman Perekhod b8de1f1166 Merge pull request #11134 from owncloud/release-7.1.1
[full-ci][k6-test] release-7.1.1
2025-03-14 18:28:21 +01:00
Roman Perekhod 1b37ad3d91 [full-ci][k6-test] release-7.1.1 2025-03-14 13:45:56 +01:00
Lukas Hirt b80acb9883 Automated changelog update [skip ci] 2025-03-14 10:41:08 +00:00
Lukas Hirt f310cb8627 Merge pull request #11131 from owncloud/chore/bump-web-to-11.3.1
[full-ci] chore: bump web to 11.3.1
2025-03-14 11:40:34 +01:00
Lukas Hirt 5c22ab9220 chore: bump web to 11.3.1 2025-03-14 10:59:58 +01:00
Roman Perekhod 051ad98d46 Automated changelog update [skip ci] 2025-03-13 13:54:23 +00:00
Roman Perekhod 5c721c913d Merge pull request #11116 from owncloud/TranslationFix
[full-ci] Translation fix
2025-03-13 14:53:51 +01:00
Roman Perekhod c99d56216b fix the e2e test 2025-03-13 14:09:48 +01:00
Julian Koberg 2a88464112 feat(ocis): adjust tests
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-03-10 16:47:58 +01:00
kobergj 177625b67a Automated changelog update [skip ci] 2025-03-06 13:02:18 +00:00
kobergj 12cc375a25 Merge pull request #11103 from owncloud/release-7.1.0
[full-ci][k6-test] Release 7.1.0
2025-03-06 13:59:58 +01:00
Julian Koberg 5a7c168677 feat(ocis): release 7.1.0
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-03-06 08:59:32 +01:00
Julian Koberg a1ac71b146 fix(ocis): fix role translations
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-03-05 14:16:43 +01:00
kobergj d746222b22 Automated changelog update [skip ci] 2025-02-28 10:19:23 +00:00
kobergj 167f8de3b7 Merge pull request #11078 from owncloud/Release-7.1-rc.6
[full-ci][k6-test] Release 7.1.0-rc.6
2025-02-28 11:18:47 +01:00
Julian Koberg 6ccf60c2f6 fix(tests): fix ocm tests
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-28 09:55:07 +01:00
Julian Koberg f5e9cdb0ee feat(ocis): release 7.1.0-rc.6
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-28 08:58:34 +01:00
Julian Koberg 2d291a4d29 feat(reva): bump reva to 2.27.7
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-28 08:58:34 +01:00
kobergj 3666a108f5 Automated changelog update [skip ci] 2025-02-27 12:31:52 +00:00
kobergj 7f6c5c183e Merge pull request #11076 from kobergj/FixDrone
Fix `.drone.star` for 7.1 release
2025-02-27 13:30:13 +01:00
Julian Koberg 412b3f3e22 fix(ocis): fix .drone.star file for 7.1
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-27 11:27:00 +01:00
kobergj cc153a5cbf Merge pull request #11069 from kobergj/stable-adjustments
Adjust stable-7.1 drone config
2025-02-26 16:18:06 +01:00
Julian Koberg 349ea126a6 fix(drone): adjust to stable branch
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-02-26 11:54:01 +01:00
90 changed files with 1041 additions and 788 deletions

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
# The test runner source for UI tests # The test runner source for UI tests
WEB_COMMITID=1d251f198f1f19e9b4ba001899a9dc0adf5c7a06 WEB_COMMITID=ac255ce3e471c7c4a6060de0920b78444a104606
WEB_BRANCH=stable-11.0 WEB_BRANCH=stable-11.0
+35 -41
View File
@@ -35,7 +35,6 @@ PLUGINS_GIT_ACTION = "plugins/git-action:1"
PLUGINS_MANIFEST = "plugins/manifest:1" PLUGINS_MANIFEST = "plugins/manifest:1"
PLUGINS_S3 = "plugins/s3:1" PLUGINS_S3 = "plugins/s3:1"
PLUGINS_S3_CACHE = "plugins/s3-cache:1" PLUGINS_S3_CACHE = "plugins/s3-cache:1"
PLUGINS_SLACK = "plugins/slack:1"
REDIS = "redis:6-alpine" REDIS = "redis:6-alpine"
SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli:11.0" SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli:11.0"
@@ -325,11 +324,6 @@ config = {
"tikaNeeded": True, "tikaNeeded": True,
}, },
}, },
"rocketchat": {
"channel": "builds",
"channel_cron": "builds",
"from_secret": "rocketchat_talk_webhook",
},
"binaryReleases": { "binaryReleases": {
"os": ["linux", "darwin"], "os": ["linux", "darwin"],
}, },
@@ -485,7 +479,7 @@ def cachePipeline(name, steps):
"steps": steps, "steps": steps,
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/tags/**", "refs/tags/**",
"refs/pull/**", "refs/pull/**",
], ],
@@ -692,7 +686,7 @@ def testOcis(ctx):
"steps": steps, "steps": steps,
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
}, },
@@ -724,7 +718,7 @@ def scanOcis(ctx):
"steps": steps, "steps": steps,
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
}, },
@@ -748,7 +742,7 @@ def buildOcisBinaryForTesting(ctx):
rebuildBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin"), rebuildBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin"),
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
}, },
@@ -835,7 +829,7 @@ def uploadScanResults(ctx):
], ],
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
"status": [ "status": [
@@ -978,7 +972,7 @@ def codestyle(ctx):
"depends_on": [], "depends_on": [],
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
}, },
@@ -1045,7 +1039,7 @@ def localApiTestPipeline(ctx):
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)), "depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
}, },
@@ -1111,7 +1105,7 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)), "depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
}, },
@@ -1230,7 +1224,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)), "depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
}, },
@@ -1282,7 +1276,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, with_remote_php = Fa
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)), "depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
}, },
@@ -1323,7 +1317,7 @@ def e2eTestPipeline(ctx):
e2e_trigger = { e2e_trigger = {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/tags/**", "refs/tags/**",
"refs/pull/**", "refs/pull/**",
], ],
@@ -1436,7 +1430,7 @@ def multiServiceE2ePipeline(ctx):
e2e_trigger = { e2e_trigger = {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
} }
@@ -1726,7 +1720,7 @@ def dockerRelease(ctx, arch, repo, build_type):
"depends_on": depends_on, "depends_on": depends_on,
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/tags/v*", "refs/tags/v*",
"refs/pull/**", "refs/pull/**",
], ],
@@ -1887,7 +1881,7 @@ def binaryRelease(ctx, arch, build_type, target, depends_on = []):
"depends_on": depends_on, "depends_on": depends_on,
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/tags/v*", "refs/tags/v*",
"refs/pull/**", "refs/pull/**",
], ],
@@ -2021,7 +2015,7 @@ def licenseCheck(ctx):
], ],
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/tags/v*", "refs/tags/v*",
"refs/pull/**", "refs/pull/**",
], ],
@@ -2088,7 +2082,7 @@ def releaseDockerManifest(ctx, repo, build_type):
"steps": steps, "steps": steps,
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/tags/v*", "refs/tags/v*",
], ],
}, },
@@ -2135,7 +2129,7 @@ def changelog():
"push", "push",
], ],
"message": "Automated changelog update [skip ci]", "message": "Automated changelog update [skip ci]",
"branch": "master", "branch": "stable-7.1",
"author_email": "devops@owncloud.com", "author_email": "devops@owncloud.com",
"author_name": "ownClouders", "author_name": "ownClouders",
"netrc_machine": "github.com", "netrc_machine": "github.com",
@@ -2157,7 +2151,7 @@ def changelog():
], ],
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
"event": { "event": {
@@ -2196,7 +2190,7 @@ def releaseDockerReadme(ctx, repo, build_type):
], ],
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/tags/v*", "refs/tags/v*",
], ],
}, },
@@ -2246,7 +2240,7 @@ def docs():
}, },
"pages_directory": "docs/hugo/content/", "pages_directory": "docs/hugo/content/",
"copy_contents": "true", "copy_contents": "true",
"target_branch": "docs", "target_branch": "docs-stable-7.1",
"delete": "true", "delete": "true",
}, },
"when": { "when": {
@@ -2268,7 +2262,7 @@ def docs():
], ],
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
}, },
@@ -2313,34 +2307,31 @@ def makeGoGenerate(module):
def notify(ctx): def notify(ctx):
status = ["failure"] status = ["failure"]
channel = config["rocketchat"]["channel"]
if ctx.build.event == "cron": if ctx.build.event == "cron":
status.append("success") status.append("success")
channel = config["rocketchat"]["channel_cron"]
return { return {
"kind": "pipeline", "kind": "pipeline",
"type": "docker", "type": "docker",
"name": "chat-notifications", "name": "chat-notifications",
"clone": {
"disable": True,
},
"steps": [ "steps": [
{ {
"name": "notify-rocketchat", "name": "notify-matrix",
"image": PLUGINS_SLACK, "image": OC_CI_ALPINE,
"settings": { "environment": {
"webhook": { "MATRIX_TOKEN": {
"from_secret": config["rocketchat"]["from_secret"], "from_secret": "matrix_token",
}, },
"channel": channel,
}, },
"commands": [
"bash %s/tests/config/drone/notification.sh" % (dirs["base"]),
],
}, },
], ],
"depends_on": [], "depends_on": [],
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/heads/release*", "refs/heads/release*",
"refs/tags/**", "refs/tags/**",
], ],
@@ -2772,7 +2763,7 @@ def genericCachePurge(flush_path):
], ],
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
"status": [ "status": [
@@ -2965,7 +2956,7 @@ def litmus(ctx, storage):
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)), "depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx)),
"trigger": { "trigger": {
"ref": [ "ref": [
"refs/heads/master", "refs/heads/stable-*",
"refs/pull/**", "refs/pull/**",
], ],
}, },
@@ -3281,9 +3272,11 @@ def k6LoadTests(ctx):
script_link = "%s/%s/tests/config/drone/run_k6_tests.sh" % (ocis_git_base_url, ctx.build.commit) script_link = "%s/%s/tests/config/drone/run_k6_tests.sh" % (ocis_git_base_url, ctx.build.commit)
event_array = ["cron"] event_array = ["cron"]
trigger_ref = ["refs/heads/master"]
if "k6-test" in ctx.build.title.lower(): if "k6-test" in ctx.build.title.lower():
event_array.append("pull_request") event_array.append("pull_request")
trigger_ref.append("refs/pull/**")
return [{ return [{
"kind": "pipeline", "kind": "pipeline",
@@ -3336,6 +3329,7 @@ def k6LoadTests(ctx):
"depends_on": [], "depends_on": [],
"trigger": { "trigger": {
"event": event_array, "event": event_array,
"ref": trigger_ref,
}, },
}] }]
+375 -335
View File
@@ -1,10 +1,9 @@
# Table of Contents # Table of Contents
* [Changelog for unreleased](#changelog-for-unreleased-unreleased) * [Changelog for unreleased](#changelog-for-unreleased-unreleased)
* [Changelog for 7.1.0-rc.4](#changelog-for-710-rc4-2025-02-04) * [Changelog for 7.1.2](#changelog-for-712-2025-03-28)
* [Changelog for 7.1.0-rc.3](#changelog-for-710-rc3-2025-01-28) * [Changelog for 7.1.1](#changelog-for-711-2025-03-14)
* [Changelog for 7.1.0-rc.2](#changelog-for-710-rc2-2025-01-17) * [Changelog for 7.1.0](#changelog-for-710-2025-03-06)
* [Changelog for 7.1.0-rc.1](#changelog-for-710-rc1-2025-01-10)
* [Changelog for 7.0.0](#changelog-for-700-2024-12-17) * [Changelog for 7.0.0](#changelog-for-700-2024-12-17)
* [Changelog for 5.0.9](#changelog-for-509-2024-11-14) * [Changelog for 5.0.9](#changelog-for-509-2024-11-14)
* [Changelog for 6.6.1](#changelog-for-661-2024-10-24) * [Changelog for 6.6.1](#changelog-for-661-2024-10-24)
@@ -35,8 +34,8 @@
* [Changelog for 3.0.0](#changelog-for-300-2023-06-06) * [Changelog for 3.0.0](#changelog-for-300-2023-06-06)
* [Changelog for 2.0.0](#changelog-for-200-2022-11-30) * [Changelog for 2.0.0](#changelog-for-200-2022-11-30)
* [Changelog for 1.20.0](#changelog-for-1200-2022-04-13) * [Changelog for 1.20.0](#changelog-for-1200-2022-04-13)
* [Changelog for 1.19.0](#changelog-for-1190-2022-03-29)
* [Changelog for 1.19.1](#changelog-for-1191-2022-03-29) * [Changelog for 1.19.1](#changelog-for-1191-2022-03-29)
* [Changelog for 1.19.0](#changelog-for-1190-2022-03-29)
* [Changelog for 1.18.0](#changelog-for-1180-2022-03-03) * [Changelog for 1.18.0](#changelog-for-1180-2022-03-03)
* [Changelog for 1.17.0](#changelog-for-1170-2022-02-16) * [Changelog for 1.17.0](#changelog-for-1170-2022-02-16)
* [Changelog for 1.16.0](#changelog-for-1160-2021-12-10) * [Changelog for 1.16.0](#changelog-for-1160-2021-12-10)
@@ -61,25 +60,264 @@
The following sections list the changes for unreleased. The following sections list the changes for unreleased.
[unreleased]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.4...master [unreleased]: https://github.com/owncloud/ocis/compare/v7.1.2...master
## Summary ## Summary
* Bugfix - Fix Share roles translation: [#11241](https://github.com/owncloud/ocis/pull/11241)
* Bugfix - Fix collaboration service LastModifiedDate: [#11328](https://github.com/owncloud/ocis/pull/11328)
* Bugfix - Fix translations in Settings: [#11361](https://github.com/owncloud/ocis/pull/11361)
* Enhancement - Limit length of tags: [#11231](https://github.com/owncloud/ocis/pull/11231)
* Enhancement - Bump Web to 11.3.4: [#12605](https://github.com/owncloud/web/pull/12605)
## Details
* Bugfix - Fix Share roles translation: [#11241](https://github.com/owncloud/ocis/pull/11241)
We fixed the issue when the Share roles show a wrong translation after the user
location has changed back to English.
https://github.com/owncloud/ocis/issues/11025
https://github.com/owncloud/ocis/pull/11241
* Bugfix - Fix collaboration service LastModifiedDate: [#11328](https://github.com/owncloud/ocis/pull/11328)
Collaboration service now returns correct LastModifiedDate.
https://github.com/owncloud/ocis/pull/11328
* Bugfix - Fix translations in Settings: [#11361](https://github.com/owncloud/ocis/pull/11361)
Notification option translation where missing one string. This is fixed.
https://github.com/owncloud/ocis/pull/11361
* Enhancement - Limit length of tags: [#11231](https://github.com/owncloud/ocis/pull/11231)
We limited the length of tags to avoid DOS attacks against the ocis server.
https://github.com/owncloud/ocis/pull/11231
* Enhancement - Bump Web to 11.3.4: [#12605](https://github.com/owncloud/web/pull/12605)
- Bugfix [owncloud/web#12598](https://github.com/owncloud/web/pull/12598): Add
src attribute to external app iframe - Bugfix
[owncloud/web#12474](https://github.com/owncloud/web/pull/12474): Add tag
characters limit
https://github.com/owncloud/web/pull/12605
https://github.com/owncloud/web/releases/tag/v11.3.4
# Changelog for [7.1.2] (2025-03-28)
The following sections list the changes for 7.1.2.
[7.1.2]: https://github.com/owncloud/ocis/compare/v7.1.1...v7.1.2
## Summary
* Bugfix - Fix pdf form creation: [#11163](https://github.com/owncloud/ocis/pull/11163)
## Details
* Bugfix - Fix pdf form creation: [#11163](https://github.com/owncloud/ocis/pull/11163)
Fix pdf form creation for Onlyoffice. Adjust the file extension for Form to be
PDF instead of DOCXF
https://github.com/owncloud/ocis/issues/11164
https://github.com/owncloud/ocis/pull/11163
# Changelog for [7.1.1] (2025-03-14)
The following sections list the changes for 7.1.1.
[7.1.1]: https://github.com/owncloud/ocis/compare/v7.1.0...v7.1.1
## Summary
* Bugfix - Fix translations of editor roles: [#11116](https://github.com/owncloud/ocis/pull/11116)
* Enhancement - Update Web to v11.3.1: [#11131](https://github.com/owncloud/ocis/pull/11131)
## Details
* Bugfix - Fix translations of editor roles: [#11116](https://github.com/owncloud/ocis/pull/11116)
Uses the correct translations strings for ocis roles
https://github.com/owncloud/ocis/pull/11116
* Enhancement - Update Web to v11.3.1: [#11131](https://github.com/owncloud/ocis/pull/11131)
- Bugfix [owncloud/web#12225](https://github.com/owncloud/web/pull/12225):
Broken title for public files link - Bugfix
[owncloud/web#12226](https://github.com/owncloud/web/pull/12226): Disable
password protected folders creation inside public links - Bugfix
[owncloud/web#12240](https://github.com/owncloud/web/pull/12240): Add password
policies to password protected folders - Bugfix
[owncloud/web#12241](https://github.com/owncloud/web/pull/12241): Revert
password protected folder creation on error - Bugfix
[owncloud/web#12270](https://github.com/owncloud/web/pull/12270): Add password
generator into password protected folders - Bugfix
[owncloud/web#12297](https://github.com/owncloud/web/pull/12297): Two spaces are
created at the same time when user tries to create a space
https://github.com/owncloud/ocis/pull/11131
https://github.com/owncloud/web/releases/tag/v11.3.1
# Changelog for [7.1.0] (2025-03-06)
The following sections list the changes for 7.1.0.
[7.1.0]: https://github.com/owncloud/ocis/compare/v7.0.0...v7.1.0
## Summary
* Bugfix - Update govips to 2.16.0: [#10378](https://github.com/owncloud/ocis/issues/10378)
* Bugfix - Share creation date is missing in invite response: [#10781](https://github.com/owncloud/ocis/pull/10781)
* Bugfix - Bump some golang dependencies: [#10795](https://github.com/owncloud/ocis/pull/10795)
* Bugfix - Allow to accepted invite after it was once deleted: [#10834](https://github.com/owncloud/ocis/pull/10834)
* Bugfix - Fix the mail notifications for the user light: [#10865](https://github.com/owncloud/ocis/pull/10865)
* Bugfix - Fix filtering of PostprocessingStepFinished events: [#10868](https://github.com/owncloud/ocis/pull/10868)
* Bugfix - Prevent empty email body for grouped email notifications: [#10869](https://github.com/owncloud/ocis/pull/10869)
* Bugfix - Consistently name roles: [#10871](https://github.com/owncloud/ocis/pull/10871)
* Bugfix - Fix grouped email notifications store key: [#10873](https://github.com/owncloud/ocis/pull/10873)
* Bugfix - Fix missing newline in grouped email: [#10883](https://github.com/owncloud/ocis/pull/10883)
* Bugfix - Fix email templates white spaces & new lines: [#10884](https://github.com/owncloud/ocis/pull/10884)
* 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)
* Bugfix - Allow view ocm shares: [#10944](https://github.com/owncloud/ocis/pull/10944)
* Bugfix - Fix Collaboration file extension check: [#10947](https://github.com/owncloud/ocis/issues/10947)
* Bugfix - Add Identities to education user: [#11016](https://github.com/owncloud/ocis/pull/11016) * Bugfix - Add Identities to education user: [#11016](https://github.com/owncloud/ocis/pull/11016)
* Bugfix - Bump libregraph api: [#11021](https://github.com/owncloud/ocis/pull/11021) * Bugfix - Bump libregraph api: [#11021](https://github.com/owncloud/ocis/pull/11021)
* Bugfix - Fix OCM create share: [#11047](https://github.com/owncloud/ocis/pull/11047) * Bugfix - Fix OCM create share: [#11047](https://github.com/owncloud/ocis/pull/11047)
* Bugfix - Fix update grants for the OCM share: [#11052](https://github.com/owncloud/ocis/pull/11052) * Bugfix - Fix update grants for the OCM share: [#11052](https://github.com/owncloud/ocis/pull/11052)
* 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 - 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 - Use maintained forks: [#10886](https://github.com/owncloud/ocis/pull/10886)
* 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)
* Enhancement - Implement debug docker for arm64 platform: [#10940](https://github.com/owncloud/ocis/pull/10940)
* Enhancement - Add roles: [#10964](https://github.com/owncloud/ocis/pull/10964) * Enhancement - Add roles: [#10964](https://github.com/owncloud/ocis/pull/10964)
* Enhancement - Update Web to v1.11.3: [#10977](https://github.com/owncloud/ocis/pull/10977) * Enhancement - Update Web to v1.11.3: [#10977](https://github.com/owncloud/ocis/pull/10977)
* Enhancement - Add the ocm notification handler: [#11005](https://github.com/owncloud/ocis/pull/11005) * Enhancement - Add the ocm notification handler: [#11005](https://github.com/owncloud/ocis/pull/11005)
* Enhancement - Add logging when a users space gets deleted: [#11037](https://github.com/owncloud/ocis/pull/11037) * Enhancement - Add logging when a users space gets deleted: [#11037](https://github.com/owncloud/ocis/pull/11037)
* Enhancement - Add the ocm notification ShareChangePermission: [#11041](https://github.com/owncloud/ocis/pull/11041) * Enhancement - Add the ocm notification ShareChangePermission: [#11041](https://github.com/owncloud/ocis/pull/11041)
* Enhancement - Update Web to v11.2.0: [#11049](https://github.com/owncloud/ocis/pull/11049) * Enhancement - Update Web to v11.2.0: [#11049](https://github.com/owncloud/ocis/pull/11049)
* Enhancement - Bump reva version: [#11051](https://github.com/owncloud/ocis/pull/11051)
* Enhancement - Update Web to v11.3.0: [#11058](https://github.com/owncloud/ocis/pull/11058) * Enhancement - Update Web to v11.3.0: [#11058](https://github.com/owncloud/ocis/pull/11058)
* Enhancement - Bump Reva: [#11078](https://github.com/owncloud/ocis/pull/11078)
## Details ## Details
* Bugfix - Update govips to 2.16.0: [#10378](https://github.com/owncloud/ocis/issues/10378)
The update to govips 2.16.0 removes temporary access to /tmp that was introduced
by govips.
https://github.com/owncloud/ocis/issues/10378
https://github.com/owncloud/ocis/pull/10943
* Bugfix - Share creation date is missing in invite response: [#10781](https://github.com/owncloud/ocis/pull/10781)
The graph drives invite response now includes the `createdDateTime` field.
https://github.com/owncloud/ocis/issues/10739
https://github.com/owncloud/ocis/pull/10781
* Bugfix - Bump some golang dependencies: [#10795](https://github.com/owncloud/ocis/pull/10795)
Bump dependencies "golang.org/x/crypto" and "golang.org/x/net"
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)
Allowed to accepted invite even after it was once deleted on the invite receiver
or invite creation side.
https://github.com/owncloud/ocis/issues/10813
https://github.com/owncloud/ocis/pull/10834
* Bugfix - Fix the mail notifications for the user light: [#10865](https://github.com/owncloud/ocis/pull/10865)
Fix the default bundle-list for mail notification settings for the user light.
https://github.com/owncloud/ocis/issues/10864
https://github.com/owncloud/ocis/pull/10865
* Bugfix - Fix filtering of PostprocessingStepFinished events: [#10868](https://github.com/owncloud/ocis/pull/10868)
https://github.com/owncloud/ocis/issues/10867
https://github.com/owncloud/ocis/pull/10868
* Bugfix - Prevent empty email body for grouped email notifications: [#10869](https://github.com/owncloud/ocis/pull/10869)
https://github.com/owncloud/ocis/pull/10869
* Bugfix - Consistently name roles: [#10871](https://github.com/owncloud/ocis/pull/10871)
BundleUUIDRoleGuest has been renamed to BundleUUIDRoleUserLight for consistency
reasons
https://github.com/owncloud/ocis/pull/10871
* Bugfix - Fix grouped email notifications store key: [#10873](https://github.com/owncloud/ocis/pull/10873)
Interval and user id is now separated by `_` (key schema:
`${INTERVAL}_${USER_ID}`).
https://github.com/owncloud/ocis/pull/10873
* Bugfix - Fix missing newline in grouped email: [#10883](https://github.com/owncloud/ocis/pull/10883)
`\n` is now replaced by `<br>` in the HTML email body
https://github.com/owncloud/ocis/pull/10883
* Bugfix - Fix email templates white spaces & new lines: [#10884](https://github.com/owncloud/ocis/pull/10884)
Email templates now contain no unwanted white spaces & new lines if
.CallToAction is nil
https://github.com/owncloud/ocis/pull/10884
* 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
* Bugfix - Allow view ocm shares: [#10944](https://github.com/owncloud/ocis/pull/10944)
OCM shares with `view` permissions did not work. When opening them in weboffice
an error would occur. This has been fixed.
https://github.com/owncloud/ocis/pull/10944
* Bugfix - Fix Collaboration file extension check: [#10947](https://github.com/owncloud/ocis/issues/10947)
Fixed Collaboration file extension check to case-insensitive comparison.
https://github.com/owncloud/ocis/issues/10947
https://github.com/owncloud/ocis/pull/10945
* Bugfix - Add Identities to education user: [#11016](https://github.com/owncloud/ocis/pull/11016) * Bugfix - Add Identities to education user: [#11016](https://github.com/owncloud/ocis/pull/11016)
Education User where not created correctly. They were missing the Identities Education User where not created correctly. They were missing the Identities
@@ -108,6 +346,113 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/issues/11022 https://github.com/owncloud/ocis/issues/11022
https://github.com/owncloud/ocis/pull/11052 https://github.com/owncloud/ocis/pull/11052
* 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
https://github.com/owncloud/ocis/issues/10669
https://github.com/owncloud/ocis/pull/10706
* Enhancement - Part II: Filtering of in-app notifications: [#10779](https://github.com/owncloud/ocis/pull/10779)
Part II: In-app notifications are now filtered based on the notification
preferences in the user settings
https://github.com/owncloud/ocis/issues/10769
https://github.com/owncloud/ocis/pull/10779
* Enhancement - Part III: Filtering of mail notifications: [#10792](https://github.com/owncloud/ocis/pull/10792)
Part III: Mail notifications are now filtered based on the notification
preferences in the user settings
https://github.com/owncloud/ocis/issues/10790
https://github.com/owncloud/ocis/pull/10792
* Enhancement - Translate Notification Settings: [#10812](https://github.com/owncloud/ocis/pull/10812)
Translates the notification settings according to the users language preference.
https://github.com/owncloud/ocis/pull/10812
* Enhancement - Part IV: Grouping of mail notifications: [#10838](https://github.com/owncloud/ocis/pull/10838)
Part IV: Mail notifications can now be grouped on a daily or weekly basis
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 - Use maintained forks: [#10886](https://github.com/owncloud/ocis/pull/10886)
Switches away from unmainatained forks.
https://github.com/owncloud/ocis/pull/10886
* 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
* Enhancement - Implement debug docker for arm64 platform: [#10940](https://github.com/owncloud/ocis/pull/10940)
https://github.com/owncloud/ocis/pull/10940
* Enhancement - Add roles: [#10964](https://github.com/owncloud/ocis/pull/10964) * Enhancement - Add roles: [#10964](https://github.com/owncloud/ocis/pull/10964)
Add EditorListGrantsWithVersions and FileEditorListGrantsWithVersions roles. Add EditorListGrantsWithVersions and FileEditorListGrantsWithVersions roles.
@@ -194,12 +539,6 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/11049 https://github.com/owncloud/ocis/pull/11049
https://github.com/owncloud/web/releases/tag/v11.2.0 https://github.com/owncloud/web/releases/tag/v11.2.0
* Enhancement - Bump reva version: [#11051](https://github.com/owncloud/ocis/pull/11051)
Bumps reva version to fixed 2.27.5
https://github.com/owncloud/ocis/pull/11051
* Enhancement - Update Web to v11.3.0: [#11058](https://github.com/owncloud/ocis/pull/11058) * Enhancement - Update Web to v11.3.0: [#11058](https://github.com/owncloud/ocis/pull/11058)
- Enhancement [owncloud/web#12104](https://github.com/owncloud/web/pull/12104): - Enhancement [owncloud/web#12104](https://github.com/owncloud/web/pull/12104):
@@ -212,310 +551,11 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/11058 https://github.com/owncloud/ocis/pull/11058
https://github.com/owncloud/web/releases/tag/v11.3.0 https://github.com/owncloud/web/releases/tag/v11.3.0
# Changelog for [7.1.0-rc.4] (2025-02-04) * Enhancement - Bump Reva: [#11078](https://github.com/owncloud/ocis/pull/11078)
The following sections list the changes for 7.1.0-rc.4. Bumps reva version to 2.27.7
[7.1.0-rc.4]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.3...v7.1.0-rc.4 https://github.com/owncloud/ocis/pull/11078
## Summary
* Bugfix - Update govips to 2.16.0: [#10378](https://github.com/owncloud/ocis/issues/10378)
* Bugfix - Allow view ocm shares: [#10944](https://github.com/owncloud/ocis/pull/10944)
* Bugfix - Fix Collaboration file extension check: [#10947](https://github.com/owncloud/ocis/issues/10947)
* Enhancement - Implement debug docker for arm64 platform: [#10940](https://github.com/owncloud/ocis/pull/10940)
* Enhancement - Bump Reva: [#10957](https://github.com/owncloud/ocis/pull/10957)
## Details
* Bugfix - Update govips to 2.16.0: [#10378](https://github.com/owncloud/ocis/issues/10378)
The update to govips 2.16.0 removes temporary access to /tmp that was introduced
by govips.
https://github.com/owncloud/ocis/issues/10378
https://github.com/owncloud/ocis/pull/10943
* Bugfix - Allow view ocm shares: [#10944](https://github.com/owncloud/ocis/pull/10944)
OCM shares with `view` permissions did not work. When opening them in weboffice
an error would occur. This has been fixed.
https://github.com/owncloud/ocis/pull/10944
* Bugfix - Fix Collaboration file extension check: [#10947](https://github.com/owncloud/ocis/issues/10947)
Fixed Collaboration file extension check to case-insensitive comparison.
https://github.com/owncloud/ocis/issues/10947
https://github.com/owncloud/ocis/pull/10945
* Enhancement - Implement debug docker for arm64 platform: [#10940](https://github.com/owncloud/ocis/pull/10940)
https://github.com/owncloud/ocis/pull/10940
* Enhancement - Bump Reva: [#10957](https://github.com/owncloud/ocis/pull/10957)
Changelog for reva 2.27.4
* Bugfix [cs3org/reva#5061](https://github.com/cs3org/reva/pull/5061): OCM Wildcards
* Bugfix [cs3org/reva#5055](https://github.com/cs3org/reva/pull/5055): Fix view&download permission issue
https://github.com/owncloud/ocis/pull/10957
# Changelog for [7.1.0-rc.3] (2025-01-28)
The following sections list the changes for 7.1.0-rc.3.
[7.1.0-rc.3]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.2...v7.1.0-rc.3
## Summary
* Bugfix - Fix the ocm gateway connection pool: [#10916](https://github.com/owncloud/ocis/pull/10916)
* Bugfix - Add fallback for folder names: [#10932](https://github.com/owncloud/ocis/pull/10932)
* Enhancement - Add email notification for share removed event: [#10915](https://github.com/owncloud/ocis/pull/10915)
* Enhancement - Update Web to v1.11.1: [#10918](https://github.com/owncloud/ocis/pull/10918)
* Enhancement - Update Web to v1.11.2: [#10930](https://github.com/owncloud/ocis/pull/10930)
## Details
* Bugfix - Fix the ocm gateway connection pool: [#10916](https://github.com/owncloud/ocis/pull/10916)
Fix the ocm gateway connection pool. Fix ocis dependency in the reva go.mod
file. Bump the ocis version accordingly to the major version.
https://github.com/owncloud/ocis/issues/10846
https://github.com/owncloud/ocis/issues/10878
https://github.com/owncloud/ocis/pull/10916
* Bugfix - Add fallback for folder names: [#10932](https://github.com/owncloud/ocis/pull/10932)
Add translated `shared-with-me` fallback for folder names in the activitylog to
avoid `{folder}` in the output.
https://github.com/owncloud/ocis/issues/10906
https://github.com/owncloud/ocis/pull/10932
* Enhancement - Add email notification for share removed event: [#10915](https://github.com/owncloud/ocis/pull/10915)
https://github.com/owncloud/ocis/issues/10904
https://github.com/owncloud/ocis/pull/10915
* Enhancement - Update Web to v1.11.1: [#10918](https://github.com/owncloud/ocis/pull/10918)
- Bugfix [owncloud/web#12112](https://github.com/owncloud/web/pull/12112):
Optionally access preview app route query: #12112 - Bugfix
[owncloud/web#12118](https://github.com/owncloud/web/pull/12118): Change
federated share icon: #12118 - Bugfix
[owncloud/web#12118](https://github.com/owncloud/web/pull/12118): Improve
federated share icon contrast: #12118 - Bugfix
[owncloud/web#12119](https://github.com/owncloud/web/pull/12119): Show external
share indicator: #12119
https://github.com/owncloud/ocis/pull/10918
https://github.com/owncloud/web/releases/tag/v11.1.1
* Enhancement - Update Web to v1.11.2: [#10930](https://github.com/owncloud/ocis/pull/10930)
- Bugfix [owncloud/ocis#10891](https://github.com/owncloud/ocis/issues/10891):
Rename ScienceMesh: #10891
https://github.com/owncloud/ocis/pull/10930
https://github.com/owncloud/web/releases/tag/v11.1.2
# Changelog for [7.1.0-rc.2] (2025-01-17)
The following sections list the changes for 7.1.0-rc.2.
[7.1.0-rc.2]: https://github.com/owncloud/ocis/compare/v7.1.0-rc.1...v7.1.0-rc.2
## Summary
* Bugfix - Fix the mail notifications for the user light: [#10865](https://github.com/owncloud/ocis/pull/10865)
* Bugfix - Fix filtering of PostprocessingStepFinished events: [#10868](https://github.com/owncloud/ocis/pull/10868)
* Bugfix - Prevent empty email body for grouped email notifications: [#10869](https://github.com/owncloud/ocis/pull/10869)
* Bugfix - Consistently name roles: [#10871](https://github.com/owncloud/ocis/pull/10871)
* Bugfix - Fix grouped email notifications store key: [#10873](https://github.com/owncloud/ocis/pull/10873)
* Bugfix - Fix missing newline in grouped email: [#10883](https://github.com/owncloud/ocis/pull/10883)
* Bugfix - Fix email templates white spaces & new lines: [#10884](https://github.com/owncloud/ocis/pull/10884)
* Enhancement - Add tests for grouped emails: [#10885](https://github.com/owncloud/ocis/pull/10885)
* Enhancement - Use maintained forks: [#10886](https://github.com/owncloud/ocis/pull/10886)
* Enhancement - Bump Reva: [#10887](https://github.com/owncloud/ocis/pull/10887)
## Details
* Bugfix - Fix the mail notifications for the user light: [#10865](https://github.com/owncloud/ocis/pull/10865)
Fix the default bundle-list for mail notification settings for the user light.
https://github.com/owncloud/ocis/issues/10864
https://github.com/owncloud/ocis/pull/10865
* Bugfix - Fix filtering of PostprocessingStepFinished events: [#10868](https://github.com/owncloud/ocis/pull/10868)
https://github.com/owncloud/ocis/issues/10867
https://github.com/owncloud/ocis/pull/10868
* Bugfix - Prevent empty email body for grouped email notifications: [#10869](https://github.com/owncloud/ocis/pull/10869)
https://github.com/owncloud/ocis/pull/10869
* Bugfix - Consistently name roles: [#10871](https://github.com/owncloud/ocis/pull/10871)
BundleUUIDRoleGuest has been renamed to BundleUUIDRoleUserLight for consistency
reasons
https://github.com/owncloud/ocis/pull/10871
* Bugfix - Fix grouped email notifications store key: [#10873](https://github.com/owncloud/ocis/pull/10873)
Interval and user id is now separated by `_` (key schema:
`${INTERVAL}_${USER_ID}`).
https://github.com/owncloud/ocis/pull/10873
* Bugfix - Fix missing newline in grouped email: [#10883](https://github.com/owncloud/ocis/pull/10883)
`\n` is now replaced by `<br>` in the HTML email body
https://github.com/owncloud/ocis/pull/10883
* Bugfix - Fix email templates white spaces & new lines: [#10884](https://github.com/owncloud/ocis/pull/10884)
Email templates now contain no unwanted white spaces & new lines if
.CallToAction is nil
https://github.com/owncloud/ocis/pull/10884
* Enhancement - Add tests for grouped emails: [#10885](https://github.com/owncloud/ocis/pull/10885)
https://github.com/owncloud/ocis/pull/10885
* Enhancement - Use maintained forks: [#10886](https://github.com/owncloud/ocis/pull/10886)
Switches away from unmainatained forks.
https://github.com/owncloud/ocis/pull/10886
* Enhancement - Bump Reva: [#10887](https://github.com/owncloud/ocis/pull/10887)
Bumps the reva version
https://github.com/owncloud/ocis/pull/10887
# Changelog for [7.1.0-rc.1] (2025-01-10)
The following sections list the changes for 7.1.0-rc.1.
[7.1.0-rc.1]: https://github.com/owncloud/ocis/compare/v7.0.0...v7.1.0-rc.1
## Summary
* Bugfix - Share creation date is missing in invite response: [#10781](https://github.com/owncloud/ocis/pull/10781)
* Bugfix - Bump some golang dependencies: [#10795](https://github.com/owncloud/ocis/pull/10795)
* Bugfix - Allow to accepted invite after it was once deleted: [#10834](https://github.com/owncloud/ocis/pull/10834)
* Enhancement - Part I: The user settings are extended by notifications preferences: [#10706](https://github.com/owncloud/ocis/pull/10706)
* Enhancement - Part II: Filtering of in-app notifications: [#10779](https://github.com/owncloud/ocis/pull/10779)
* Enhancement - Part III: Filtering of mail notifications: [#10792](https://github.com/owncloud/ocis/pull/10792)
* Enhancement - Translate Notification Settings: [#10812](https://github.com/owncloud/ocis/pull/10812)
* Enhancement - Part IV: Grouping of mail notifications: [#10838](https://github.com/owncloud/ocis/pull/10838)
* Enhancement - Bump Reva: [#10842](https://github.com/owncloud/ocis/pull/10842)
* Enhancement - Update web to v11.1.0: [#10853](https://github.com/owncloud/ocis/pull/10853)
## Details
* Bugfix - Share creation date is missing in invite response: [#10781](https://github.com/owncloud/ocis/pull/10781)
The graph drives invite response now includes the `createdDateTime` field.
https://github.com/owncloud/ocis/issues/10739
https://github.com/owncloud/ocis/pull/10781
* Bugfix - Bump some golang dependencies: [#10795](https://github.com/owncloud/ocis/pull/10795)
Bump dependencies "golang.org/x/crypto" and "golang.org/x/net"
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)
Allowed to accepted invite even after it was once deleted on the invite receiver
or invite creation side.
https://github.com/owncloud/ocis/issues/10813
https://github.com/owncloud/ocis/pull/10834
* Enhancement - Part I: The user settings are extended by notifications preferences: [#10706](https://github.com/owncloud/ocis/pull/10706)
Part I: Users can now store their notifications preferences in the user settings
https://github.com/owncloud/ocis/issues/10669
https://github.com/owncloud/ocis/pull/10706
* Enhancement - Part II: Filtering of in-app notifications: [#10779](https://github.com/owncloud/ocis/pull/10779)
Part II: In-app notifications are now filtered based on the notification
preferences in the user settings
https://github.com/owncloud/ocis/issues/10769
https://github.com/owncloud/ocis/pull/10779
* Enhancement - Part III: Filtering of mail notifications: [#10792](https://github.com/owncloud/ocis/pull/10792)
Part III: Mail notifications are now filtered based on the notification
preferences in the user settings
https://github.com/owncloud/ocis/issues/10790
https://github.com/owncloud/ocis/pull/10792
* Enhancement - Translate Notification Settings: [#10812](https://github.com/owncloud/ocis/pull/10812)
Translates the notification settings according to the users language preference.
https://github.com/owncloud/ocis/pull/10812
* Enhancement - Part IV: Grouping of mail notifications: [#10838](https://github.com/owncloud/ocis/pull/10838)
Part IV: Mail notifications can now be grouped on a daily or weekly basis
https://github.com/owncloud/ocis/issues/10793
https://github.com/owncloud/ocis/pull/10838
* Enhancement - Bump Reva: [#10842](https://github.com/owncloud/ocis/pull/10842)
Bumps the reva version
https://github.com/owncloud/ocis/pull/10842
* Enhancement - Update web to v11.1.0: [#10853](https://github.com/owncloud/ocis/pull/10853)
- Bugfix [owncloud/web#12040](https://github.com/owncloud/web/pull/12040):
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
# Changelog for [7.0.0] (2024-12-17) # Changelog for [7.0.0] (2024-12-17)
@@ -11247,7 +11287,7 @@ The following sections list the changes for 2.0.0.
The following sections list the changes for 1.20.0. The following sections list the changes for 1.20.0.
[1.20.0]: https://github.com/owncloud/ocis/compare/v1.19.0...v1.20.0 [1.20.0]: https://github.com/owncloud/ocis/compare/v1.19.1...v1.20.0
## Summary ## Summary
@@ -11421,11 +11461,29 @@ The following sections list the changes for 1.20.0.
https://github.com/owncloud/ocis/pull/3509 https://github.com/owncloud/ocis/pull/3509
https://github.com/owncloud/web/releases/tag/v5.4.0 https://github.com/owncloud/web/releases/tag/v5.4.0
# Changelog for [1.19.1] (2022-03-29)
The following sections list the changes for 1.19.1.
[1.19.1]: https://github.com/owncloud/ocis/compare/v1.19.0...v1.19.1
## Summary
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
## Details
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
URLs for Special items (space image, readme) were broken.
https://github.com/owncloud/ocis/pull/3419
# Changelog for [1.19.0] (2022-03-29) # Changelog for [1.19.0] (2022-03-29)
The following sections list the changes for 1.19.0. The following sections list the changes for 1.19.0.
[1.19.0]: https://github.com/owncloud/ocis/compare/v1.19.1...v1.19.0 [1.19.0]: https://github.com/owncloud/ocis/compare/v1.18.0...v1.19.0
## Summary ## Summary
@@ -11599,24 +11657,6 @@ The following sections list the changes for 1.19.0.
https://github.com/owncloud/ocis/pull/3375 https://github.com/owncloud/ocis/pull/3375
https://github.com/owncloud/web/releases/tag/v5.3.0 https://github.com/owncloud/web/releases/tag/v5.3.0
# Changelog for [1.19.1] (2022-03-29)
The following sections list the changes for 1.19.1.
[1.19.1]: https://github.com/owncloud/ocis/compare/v1.18.0...v1.19.1
## Summary
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
## Details
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
URLs for Special items (space image, readme) were broken.
https://github.com/owncloud/ocis/pull/3419
# Changelog for [1.18.0] (2022-03-03) # Changelog for [1.18.0] (2022-03-03)
The following sections list the changes for 1.18.0. The following sections list the changes for 1.18.0.
@@ -1,5 +0,0 @@
Enhancement: Bump Reva
Bumps the reva version
https://github.com/owncloud/ocis/pull/10842
@@ -1,5 +0,0 @@
Enhancement: Bump Reva
Bumps the reva version
https://github.com/owncloud/ocis/pull/10887
@@ -1,8 +0,0 @@
Enhancement: Bump Reva
Changelog for reva 2.27.4
* Bugfix [cs3org/reva#5061](https://github.com/cs3org/reva/pull/5061): OCM Wildcards
* Bugfix [cs3org/reva#5055](https://github.com/cs3org/reva/pull/5055): Fix view&download permission issue
https://github.com/owncloud/ocis/pull/10957
@@ -1,5 +0,0 @@
Enhancement: Bump reva version
Bumps reva version to fixed 2.27.5
https://github.com/owncloud/ocis/pull/11051
+5
View File
@@ -0,0 +1,5 @@
Enhancement: Bump Reva
Bumps reva version to 2.27.7
https://github.com/owncloud/ocis/pull/11078
@@ -0,0 +1,5 @@
Bugfix: Fix translations of editor roles
Uses the correct translations strings for ocis roles
https://github.com/owncloud/ocis/pull/11116
@@ -0,0 +1,11 @@
Enhancement: Update Web to v11.3.1
- Bugfix [owncloud/web#12225](https://github.com/owncloud/web/pull/12225): Broken title for public files link
- Bugfix [owncloud/web#12226](https://github.com/owncloud/web/pull/12226): Disable password protected folders creation inside public links
- Bugfix [owncloud/web#12240](https://github.com/owncloud/web/pull/12240): Add password policies to password protected folders
- Bugfix [owncloud/web#12241](https://github.com/owncloud/web/pull/12241): Revert password protected folder creation on error
- Bugfix [owncloud/web#12270](https://github.com/owncloud/web/pull/12270): Add password generator into password protected folders
- Bugfix [owncloud/web#12297](https://github.com/owncloud/web/pull/12297): Two spaces are created at the same time when user tries to create a space
https://github.com/owncloud/ocis/pull/11131
https://github.com/owncloud/web/releases/tag/v11.3.1
@@ -0,0 +1,7 @@
Bugfix: Fix pdf form creation
Fix pdf form creation for Onlyoffice.
Adjust the file extension for Form to be PDF instead of DOCXF
https://github.com/owncloud/ocis/pull/11163
https://github.com/owncloud/ocis/issues/11164
@@ -0,0 +1,5 @@
Enhancement: Limit length of tags
We limited the length of tags to avoid DOS attacks against the ocis server.
https://github.com/owncloud/ocis/pull/11231
@@ -0,0 +1,7 @@
Enhancement: Bump Web to 11.3.4
- Bugfix [owncloud/web#12598](https://github.com/owncloud/web/pull/12598): Add src attribute to external app iframe
- Bugfix [owncloud/web#12474](https://github.com/owncloud/web/pull/12474): Add tag characters limit
https://github.com/owncloud/web/pull/12605
https://github.com/owncloud/web/releases/tag/v11.3.4
@@ -0,0 +1,5 @@
Bugfix: Fix collaboration service LastModifiedDate
Collaboration service now returns correct LastModifiedDate.
https://github.com/owncloud/ocis/pull/11328
@@ -0,0 +1,5 @@
Bugfix: Fix translations in Settings
Notification option translation where missing one string. This is fixed.
https://github.com/owncloud/ocis/pull/11361
@@ -0,0 +1,6 @@
Bugfix: Fix Share roles translation
We fixed the issue when the Share roles show a wrong translation after the user location has changed back to English.
https://github.com/owncloud/ocis/pull/11241
https://github.com/owncloud/ocis/issues/11025
@@ -1,12 +1,5 @@
app_registry: app_registry:
mimetypes: mimetypes:
- mime_type: application/pdf
extension: pdf
name: PDF
description: PDF document
icon: ''
default_app: ''
allow_creation: false
- mime_type: application/vnd.oasis.opendocument.text - mime_type: application/vnd.oasis.opendocument.text
extension: odt extension: odt
name: OpenDocument name: OpenDocument
@@ -41,7 +34,7 @@ app_registry:
description: Form Document description: Form Document
icon: '' icon: ''
default_app: OnlyOffice default_app: OnlyOffice
allow_creation: true allow_creation: false
- mime_type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet - mime_type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
extension: xlsx extension: xlsx
name: Microsoft Excel name: Microsoft Excel
@@ -56,6 +49,13 @@ app_registry:
icon: '' icon: ''
default_app: OnlyOffice default_app: OnlyOffice
allow_creation: true allow_creation: true
- mime_type: application/pdf
extension: pdf
name: PDF form
description: PDF form document
icon: ''
default_app: OnlyOffice
allow_creation: true
- mime_type: application/vnd.jupyter - mime_type: application/vnd.jupyter
extension: ipynb extension: ipynb
name: Jupyter Notebook name: Jupyter Notebook
@@ -67,5 +67,4 @@
] ]
} }
} }
} }
+145 -153
View File
@@ -3849,8 +3849,6 @@ FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD:
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: 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
FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD: 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 name: OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD;FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD
defaultValue: "false" defaultValue: "false"
@@ -3861,9 +3859,7 @@ FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD:
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" 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, API is deprecated
the OCS API is deprecated | FRONTEND_OCS_PUBLIC_WRITABLE_SHARE_MUST_HAVE_PASSWORD,
the OCS API is deprecated
FRONTEND_OCS_SHARE_PREFIX: FRONTEND_OCS_SHARE_PREFIX:
name: FRONTEND_OCS_SHARE_PREFIX name: FRONTEND_OCS_SHARE_PREFIX
defaultValue: /Shares defaultValue: /Shares
@@ -5340,9 +5336,7 @@ GRAPH_LDAP_USER_DISPLAYNAME_ATTRIBUTE:
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | | | | 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
GRAPH_LDAP_USER_EMAIL_ATTRIBUTE: GRAPH_LDAP_USER_EMAIL_ATTRIBUTE:
name: OCIS_LDAP_USER_SCHEMA_MAIL;GRAPH_LDAP_USER_EMAIL_ATTRIBUTE name: OCIS_LDAP_USER_SCHEMA_MAIL;GRAPH_LDAP_USER_EMAIL_ATTRIBUTE
defaultValue: mail defaultValue: mail
@@ -7108,9 +7102,7 @@ LDAP_USER_SCHEMA_DISPLAY_NAME:
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | | | | 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_SUBSTRING_FILTER_TYPE: LDAP_USER_SUBSTRING_FILTER_TYPE:
name: LDAP_USER_SUBSTRING_FILTER_TYPE;USERS_LDAP_USER_SUBSTRING_FILTER_TYPE name: LDAP_USER_SUBSTRING_FILTER_TYPE;USERS_LDAP_USER_SUBSTRING_FILTER_TYPE
defaultValue: any defaultValue: any
@@ -8014,7 +8006,7 @@ OCIS_ASSET_THEMES_PATH:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_ASYNC_UPLOADS: OCIS_ASYNC_UPLOADS:
name: OCIS_ASYNC_UPLOADS;SEARCH_EVENTS_ASYNC_UPLOADS name: OCIS_ASYNC_UPLOADS
defaultValue: "true" defaultValue: "true"
type: bool type: bool
description: Enable asynchronous file uploads. description: Enable asynchronous file uploads.
@@ -8023,28 +8015,28 @@ OCIS_ASYNC_UPLOADS:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_CACHE_AUTH_PASSWORD: OCIS_CACHE_AUTH_PASSWORD:
name: OCIS_CACHE_AUTH_PASSWORD;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_PASSWORD name: OCIS_CACHE_AUTH_PASSWORD;STORAGE_SYSTEM_CACHE_AUTH_PASSWORD
defaultValue: "" defaultValue: ""
type: string type: string
description: The password to authenticate with the store. Only applies when store description: Password for the configured store. Only applies when store type 'nats-js-kv'
type 'nats-js-kv' is configured. is configured.
introductionVersion: "5.0" introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_CACHE_AUTH_USERNAME: OCIS_CACHE_AUTH_USERNAME:
name: OCIS_CACHE_AUTH_USERNAME;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_AUTH_USERNAME name: OCIS_CACHE_AUTH_USERNAME;STORAGE_SYSTEM_CACHE_AUTH_USERNAME
defaultValue: "" defaultValue: ""
type: string type: string
description: The username to authenticate with the store. Only applies when store description: Username for the configured store. Only applies when store type 'nats-js-kv'
type 'nats-js-kv' is configured. is configured.
introductionVersion: "5.0" introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_CACHE_DATABASE: OCIS_CACHE_DATABASE:
name: OCIS_CACHE_DATABASE name: OCIS_CACHE_DATABASE
defaultValue: cache-userinfo defaultValue: storage-system
type: string type: string
description: The database name the configured store should use. description: The database name the configured store should use.
introductionVersion: pre5.0 introductionVersion: pre5.0
@@ -8052,87 +8044,92 @@ OCIS_CACHE_DATABASE:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_CACHE_DISABLE_PERSISTENCE: OCIS_CACHE_DISABLE_PERSISTENCE:
name: OCIS_CACHE_DISABLE_PERSISTENCE;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_DISABLE_PERSISTENCE name: OCIS_CACHE_DISABLE_PERSISTENCE;STORAGE_SYSTEM_CACHE_DISABLE_PERSISTENCE
defaultValue: "true" defaultValue: "false"
type: bool type: bool
description: Disables persistence of the store. Only applies when store type 'nats-js-kv' description: Disables persistence of the cache. Only applies when store type 'nats-js-kv'
is configured. Defaults to true. is configured. Defaults to false.
introductionVersion: "5.0" introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_CACHE_STORE: OCIS_CACHE_STORE:
name: OCIS_CACHE_STORE;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE name: OCIS_CACHE_STORE;STORAGE_SYSTEM_CACHE_STORE
defaultValue: nats-js-kv defaultValue: memory
type: string type: string
description: 'The type of the signing key store. Supported values are: ''redis-sentinel'', description: 'The type of the cache store. Supported values are: ''memory'', ''redis-sentinel'',
''nats-js-kv'' and ''ocisstoreservice'' (deprecated). See the text description ''nats-js-kv'', ''noop''. See the text description for details.'
for details.' introductionVersion: pre5.0
introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_CACHE_STORE_NODES: OCIS_CACHE_STORE_NODES:
name: OCIS_CACHE_STORE_NODES;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_NODES name: OCIS_CACHE_STORE_NODES;STORAGE_SYSTEM_CACHE_STORE_NODES
defaultValue: '[127.0.0.1:9233]' defaultValue: '[127.0.0.1:9233]'
type: '[]string' type: '[]string'
description: A list of nodes to access the configured store. Note that the behaviour description: A list of nodes to access the configured store. This has no effect
how nodes are used is dependent on the library of the configured store. See the when 'memory' store is configured. Note that the behaviour how nodes are used
Environment Variable Types description for more details. is dependent on the library of the configured store. See the Environment Variable
introductionVersion: "5.0" Types description for more details.
introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_CACHE_TTL: OCIS_CACHE_TTL:
name: OCIS_CACHE_TTL;PROXY_PRESIGNEDURL_SIGNING_KEYS_STORE_TTL name: OCIS_CACHE_TTL;STORAGE_SYSTEM_CACHE_TTL
defaultValue: 12h0m0s defaultValue: 24m0s
type: Duration type: Duration
description: Default time to live for signing keys. See the Environment Variable description: Default time to live for user info in the user info cache. Only applied
Types description for more details. when access tokens has no expiration. See the Environment Variable Types description
introductionVersion: "5.0" for more details.
introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_CORS_ALLOW_CREDENTIALS: OCIS_CORS_ALLOW_CREDENTIALS:
name: OCIS_CORS_ALLOW_CREDENTIALS;WEBFINGER_CORS_ALLOW_CREDENTIALS name: OCIS_CORS_ALLOW_CREDENTIALS;OCM_CORS_ALLOW_CREDENTIALS
defaultValue: "false" defaultValue: "false"
type: bool type: bool
description: 'Allow credentials for CORS.See following chapter for more details: description: 'Allow credentials for CORS.See following chapter for more details:
*Access-Control-Allow-Credentials* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials.' *Access-Control-Allow-Credentials* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials.'
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_CORS_ALLOW_HEADERS: OCIS_CORS_ALLOW_HEADERS:
name: OCIS_CORS_ALLOW_HEADERS;WEBFINGER_CORS_ALLOW_HEADERS name: OCIS_CORS_ALLOW_HEADERS;OCM_CORS_ALLOW_HEADERS
defaultValue: '[]' defaultValue: '[Origin Accept Content-Type Depth Authorization Ocs-Apirequest If-None-Match
If-Match Destination Overwrite X-Request-Id X-Requested-With Tus-Resumable Tus-Checksum-Algorithm
Upload-Concat Upload-Length Upload-Metadata Upload-Defer-Length Upload-Expires
Upload-Checksum Upload-Offset X-HTTP-Method-Override Cache-Control]'
type: '[]string' type: '[]string'
description: 'A list of allowed CORS headers. See following chapter for more details: 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. *Access-Control-Request-Headers* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Headers.
See the Environment Variable Types description for more details.' See the Environment Variable Types description for more details.'
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_CORS_ALLOW_METHODS: OCIS_CORS_ALLOW_METHODS:
name: OCIS_CORS_ALLOW_METHODS;WEBFINGER_CORS_ALLOW_METHODS name: OCIS_CORS_ALLOW_METHODS;OCM_CORS_ALLOW_METHODS
defaultValue: '[]' defaultValue: '[OPTIONS HEAD GET PUT POST DELETE MKCOL PROPFIND PROPPATCH MOVE COPY
REPORT SEARCH]'
type: '[]string' type: '[]string'
description: 'A list of allowed CORS methods. See following chapter for more details: 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. *Access-Control-Request-Method* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Request-Method.
See the Environment Variable Types description for more details.' See the Environment Variable Types description for more details.'
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_CORS_ALLOW_ORIGINS: OCIS_CORS_ALLOW_ORIGINS:
name: OCIS_CORS_ALLOW_ORIGINS;WEBFINGER_CORS_ALLOW_ORIGINS name: OCIS_CORS_ALLOW_ORIGINS;OCM_CORS_ALLOW_ORIGINS
defaultValue: '[https://localhost:9200]' defaultValue: '[https://localhost:9200]'
type: '[]string' type: '[]string'
description: 'A list of allowed CORS origins. See following chapter for more details: description: 'A list of allowed CORS origins. See following chapter for more details:
*Access-Control-Allow-Origin* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin. *Access-Control-Allow-Origin* at https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin.
See the Environment Variable Types description for more details.' See the Environment Variable Types description for more details.'
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
@@ -8176,7 +8173,7 @@ OCIS_DEFAULT_LANGUAGE:
type: string type: string
description: The default language used by services and the WebUI. If not defined, description: The default language used by services and the WebUI. If not defined,
English will be used as default. See the documentation for more details. English will be used as default. See the documentation for more details.
introductionVersion: "5.0" introductionVersion: 7.0.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
@@ -8240,16 +8237,16 @@ OCIS_EMAIL_TEMPLATE_PATH:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_ENABLE_OCM: OCIS_ENABLE_OCM:
name: OCIS_ENABLE_OCM;FRONTEND_OCS_INCLUDE_OCM_SHAREES name: OCIS_ENABLE_OCM;GRAPH_INCLUDE_OCM_SHAREES
defaultValue: "false" defaultValue: "false"
type: bool type: bool
description: Include OCM sharees when listing sharees. description: Include OCM sharees when listing users.
introductionVersion: "5.0" introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_EVENTS_AUTH_PASSWORD: OCIS_EVENTS_AUTH_PASSWORD:
name: OCIS_EVENTS_AUTH_PASSWORD;AUDIT_EVENTS_AUTH_PASSWORD name: OCIS_EVENTS_AUTH_PASSWORD;OCM_EVENTS_AUTH_PASSWORD
defaultValue: "" defaultValue: ""
type: string type: string
description: The password to authenticate with the events broker. The events broker description: The password to authenticate with the events broker. The events broker
@@ -8259,7 +8256,7 @@ OCIS_EVENTS_AUTH_PASSWORD:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_EVENTS_AUTH_USERNAME: OCIS_EVENTS_AUTH_USERNAME:
name: OCIS_EVENTS_AUTH_USERNAME;AUDIT_EVENTS_AUTH_USERNAME name: OCIS_EVENTS_AUTH_USERNAME;OCM_EVENTS_AUTH_USERNAME
defaultValue: "" defaultValue: ""
type: string type: string
description: The username to authenticate with the events broker. The events broker description: The username to authenticate with the events broker. The events broker
@@ -8269,7 +8266,7 @@ OCIS_EVENTS_AUTH_USERNAME:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_EVENTS_CLUSTER: OCIS_EVENTS_CLUSTER:
name: OCIS_EVENTS_CLUSTER;AUDIT_EVENTS_CLUSTER name: OCIS_EVENTS_CLUSTER;OCM_EVENTS_CLUSTER
defaultValue: ocis-cluster defaultValue: ocis-cluster
type: string type: string
description: The clusterID of the event system. The event system is the message description: The clusterID of the event system. The event system is the message
@@ -8280,7 +8277,7 @@ OCIS_EVENTS_CLUSTER:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_EVENTS_ENABLE_TLS: OCIS_EVENTS_ENABLE_TLS:
name: OCIS_EVENTS_ENABLE_TLS;AUDIT_EVENTS_ENABLE_TLS name: OCIS_EVENTS_ENABLE_TLS;OCM_EVENTS_ENABLE_TLS
defaultValue: "false" defaultValue: "false"
type: bool type: bool
description: Enable TLS for the connection to the events broker. The events broker description: Enable TLS for the connection to the events broker. The events broker
@@ -8290,7 +8287,7 @@ OCIS_EVENTS_ENABLE_TLS:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_EVENTS_ENDPOINT: OCIS_EVENTS_ENDPOINT:
name: OCIS_EVENTS_ENDPOINT;AUDIT_EVENTS_ENDPOINT name: OCIS_EVENTS_ENDPOINT;OCM_EVENTS_ENDPOINT
defaultValue: 127.0.0.1:9233 defaultValue: 127.0.0.1:9233
type: string type: string
description: The address of the event system. The event system is the message queuing description: The address of the event system. The event system is the message queuing
@@ -8300,21 +8297,21 @@ OCIS_EVENTS_ENDPOINT:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE: OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE:
name: OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE;AUDIT_EVENTS_TLS_ROOT_CA_CERTIFICATE name: OCIS_EVENTS_TLS_ROOT_CA_CERTIFICATE;OCM_EVENTS_TLS_ROOT_CA_CERTIFICATE
defaultValue: "" defaultValue: ""
type: string type: string
description: The root CA certificate used to validate the server's TLS certificate. description: The root CA certificate used to validate the server's TLS certificate.
If provided AUDIT_EVENTS_TLS_INSECURE will be seen as false. If provided OCM_EVENTS_TLS_INSECURE will be seen as false.
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_GATEWAY_GRPC_ADDR: OCIS_GATEWAY_GRPC_ADDR:
name: OCIS_GATEWAY_GRPC_ADDR;GATEWAY_GRPC_ADDR name: OCIS_GATEWAY_GRPC_ADDR;STORAGE_USERS_GATEWAY_GRPC_ADDR
defaultValue: 127.0.0.1:9142 defaultValue: 127.0.0.1:9142
type: string type: string
description: The bind address of the GRPC service. description: The bind address of the gateway GRPC address.
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
@@ -8342,11 +8339,11 @@ OCIS_GRPC_CLIENT_TLS_MODE:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_GRPC_PROTOCOL: OCIS_GRPC_PROTOCOL:
name: OCIS_GRPC_PROTOCOL;COLLABORATION_GRPC_PROTOCOL name: OCIS_GRPC_PROTOCOL;OCM_GRPC_PROTOCOL
defaultValue: "" defaultValue: ""
type: string type: string
description: The transport protocol of the GRPC service. description: The transport protocol of the GRPC service.
introductionVersion: 7.0.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
@@ -8382,7 +8379,7 @@ OCIS_HTTP_TLS_KEY:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_INSECURE: OCIS_INSECURE:
name: OCIS_INSECURE;AUDIT_EVENTS_TLS_INSECURE name: OCIS_INSECURE;OCM_EVENTS_TLS_INSECURE
defaultValue: "false" defaultValue: "false"
type: bool type: bool
description: Whether to verify the server TLS certificates. description: Whether to verify the server TLS certificates.
@@ -8391,7 +8388,7 @@ OCIS_INSECURE:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_JWT_SECRET: OCIS_JWT_SECRET:
name: OCIS_JWT_SECRET;COLLABORATION_JWT_SECRET name: OCIS_JWT_SECRET;OCM_JWT_SECRET
defaultValue: "" defaultValue: ""
type: string type: string
description: The secret to mint and validate jwt tokens. description: The secret to mint and validate jwt tokens.
@@ -8400,7 +8397,7 @@ OCIS_JWT_SECRET:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_KEYCLOAK_BASE_PATH: OCIS_KEYCLOAK_BASE_PATH:
name: OCIS_KEYCLOAK_BASE_PATH;INVITATIONS_KEYCLOAK_BASE_PATH name: OCIS_KEYCLOAK_BASE_PATH;GRAPH_KEYCLOAK_BASE_PATH
defaultValue: "" defaultValue: ""
type: string type: string
description: The URL to access keycloak. description: The URL to access keycloak.
@@ -8409,16 +8406,16 @@ OCIS_KEYCLOAK_BASE_PATH:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_KEYCLOAK_CLIENT_ID: OCIS_KEYCLOAK_CLIENT_ID:
name: OCIS_KEYCLOAK_CLIENT_ID;INVITATIONS_KEYCLOAK_CLIENT_ID name: OCIS_KEYCLOAK_CLIENT_ID;GRAPH_KEYCLOAK_CLIENT_ID
defaultValue: "" defaultValue: ""
type: string type: string
description: The client ID to authenticate with keycloak. description: The client id to authenticate with keycloak.
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_KEYCLOAK_CLIENT_REALM: OCIS_KEYCLOAK_CLIENT_REALM:
name: OCIS_KEYCLOAK_CLIENT_REALM;INVITATIONS_KEYCLOAK_CLIENT_REALM name: OCIS_KEYCLOAK_CLIENT_REALM;GRAPH_KEYCLOAK_CLIENT_REALM
defaultValue: "" defaultValue: ""
type: string type: string
description: The realm the client is defined in. description: The realm the client is defined in.
@@ -8427,7 +8424,7 @@ OCIS_KEYCLOAK_CLIENT_REALM:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_KEYCLOAK_CLIENT_SECRET: OCIS_KEYCLOAK_CLIENT_SECRET:
name: OCIS_KEYCLOAK_CLIENT_SECRET;INVITATIONS_KEYCLOAK_CLIENT_SECRET name: OCIS_KEYCLOAK_CLIENT_SECRET;GRAPH_KEYCLOAK_CLIENT_SECRET
defaultValue: "" defaultValue: ""
type: string type: string
description: The client secret to use in authentication. description: The client secret to use in authentication.
@@ -8436,7 +8433,7 @@ OCIS_KEYCLOAK_CLIENT_SECRET:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY: OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY:
name: OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY;INVITATIONS_KEYCLOAK_INSECURE_SKIP_VERIFY name: OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY;GRAPH_KEYCLOAK_INSECURE_SKIP_VERIFY
defaultValue: "false" defaultValue: "false"
type: bool type: bool
description: Disable TLS certificate validation for Keycloak connections. Do not description: Disable TLS certificate validation for Keycloak connections. Do not
@@ -8446,7 +8443,7 @@ OCIS_KEYCLOAK_INSECURE_SKIP_VERIFY:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_KEYCLOAK_USER_REALM: OCIS_KEYCLOAK_USER_REALM:
name: OCIS_KEYCLOAK_USER_REALM;INVITATIONS_KEYCLOAK_USER_REALM name: OCIS_KEYCLOAK_USER_REALM;GRAPH_KEYCLOAK_USER_REALM
defaultValue: "" defaultValue: ""
type: string type: string
description: The realm users are defined. description: The realm users are defined.
@@ -8455,8 +8452,8 @@ OCIS_KEYCLOAK_USER_REALM:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_BIND_DN: OCIS_LDAP_BIND_DN:
name: OCIS_LDAP_BIND_DN;IDP_LDAP_BIND_DN name: OCIS_LDAP_BIND_DN;GRAPH_LDAP_BIND_DN
defaultValue: uid=idp,ou=sysusers,o=libregraph-idm defaultValue: uid=libregraph,ou=sysusers,o=libregraph-idm
type: string type: string
description: LDAP DN to use for simple bind authentication with the target LDAP description: LDAP DN to use for simple bind authentication with the target LDAP
server. server.
@@ -8465,7 +8462,7 @@ OCIS_LDAP_BIND_DN:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_BIND_PASSWORD: OCIS_LDAP_BIND_PASSWORD:
name: OCIS_LDAP_BIND_PASSWORD;IDP_LDAP_BIND_PASSWORD name: OCIS_LDAP_BIND_PASSWORD;GRAPH_LDAP_BIND_PASSWORD
defaultValue: "" defaultValue: ""
type: string type: string
description: Password to use for authenticating the 'bind_dn'. description: Password to use for authenticating the 'bind_dn'.
@@ -8474,12 +8471,12 @@ OCIS_LDAP_BIND_PASSWORD:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_CACERT: OCIS_LDAP_CACERT:
name: OCIS_LDAP_CACERT;IDP_LDAP_TLS_CACERT name: OCIS_LDAP_CACERT;GRAPH_LDAP_CACERT
defaultValue: /var/lib/ocis/idm/ldap.crt defaultValue: /var/lib/ocis/idm/ldap.crt
type: string type: string
description: Path/File name for the root CA certificate (in PEM format) used to 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 validate TLS server certificates of the LDAP service. If not defined, the root
directory derives from $OCIS_BASE_DATA_PATH/idp. directory derives from $OCIS_BASE_DATA_PATH/idm.
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
@@ -8604,7 +8601,7 @@ OCIS_LDAP_GROUP_SCOPE:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_INSECURE: OCIS_LDAP_INSECURE:
name: OCIS_LDAP_INSECURE;IDP_INSECURE name: OCIS_LDAP_INSECURE;GRAPH_LDAP_INSECURE
defaultValue: "false" defaultValue: "false"
type: bool type: bool
description: Disable TLS certificate validation for the LDAP connections. Do not description: Disable TLS certificate validation for the LDAP connections. Do not
@@ -8614,7 +8611,7 @@ OCIS_LDAP_INSECURE:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_SERVER_WRITE_ENABLED: OCIS_LDAP_SERVER_WRITE_ENABLED:
name: OCIS_LDAP_SERVER_WRITE_ENABLED;FRONTEND_LDAP_SERVER_WRITE_ENABLED name: OCIS_LDAP_SERVER_WRITE_ENABLED;GRAPH_LDAP_SERVER_WRITE_ENABLED
defaultValue: "true" defaultValue: "true"
type: bool type: bool
description: Allow creating, modifying and deleting LDAP users via the GRAPH API. description: Allow creating, modifying and deleting LDAP users via the GRAPH API.
@@ -8626,16 +8623,17 @@ OCIS_LDAP_SERVER_WRITE_ENABLED:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_URI: OCIS_LDAP_URI:
name: OCIS_LDAP_URI;IDP_LDAP_URI name: OCIS_LDAP_URI;GRAPH_LDAP_URI
defaultValue: ldaps://localhost:9235 defaultValue: ldaps://localhost:9235
type: string type: string
description: Url of the LDAP service to use as IDP. description: URI of the LDAP Server to connect to. Supported URI schemes are 'ldaps://'
and 'ldap://'
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_USER_BASE_DN: OCIS_LDAP_USER_BASE_DN:
name: OCIS_LDAP_USER_BASE_DN;IDP_LDAP_BASE_DN name: OCIS_LDAP_USER_BASE_DN;GRAPH_LDAP_USER_BASE_DN
defaultValue: ou=users,o=libregraph-idm defaultValue: ou=users,o=libregraph-idm
type: string type: string
description: Search base DN for looking up LDAP users. description: Search base DN for looking up LDAP users.
@@ -8644,7 +8642,7 @@ OCIS_LDAP_USER_BASE_DN:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_USER_ENABLED_ATTRIBUTE: OCIS_LDAP_USER_ENABLED_ATTRIBUTE:
name: OCIS_LDAP_USER_ENABLED_ATTRIBUTE;IDP_USER_ENABLED_ATTRIBUTE name: OCIS_LDAP_USER_ENABLED_ATTRIBUTE;GRAPH_USER_ENABLED_ATTRIBUTE
defaultValue: ownCloudUserEnabled defaultValue: ownCloudUserEnabled
type: string type: string
description: LDAP Attribute to use as a flag telling if the user is enabled or disabled. description: LDAP Attribute to use as a flag telling if the user is enabled or disabled.
@@ -8653,7 +8651,7 @@ OCIS_LDAP_USER_ENABLED_ATTRIBUTE:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_USER_FILTER: OCIS_LDAP_USER_FILTER:
name: OCIS_LDAP_USER_FILTER;IDP_LDAP_FILTER name: OCIS_LDAP_USER_FILTER;GRAPH_LDAP_USER_FILTER
defaultValue: "" defaultValue: ""
type: string type: string
description: LDAP filter to add to the default filters for user search like '(objectclass=ownCloud)'. description: LDAP filter to add to the default filters for user search like '(objectclass=ownCloud)'.
@@ -8662,10 +8660,11 @@ OCIS_LDAP_USER_FILTER:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_USER_OBJECTCLASS: OCIS_LDAP_USER_OBJECTCLASS:
name: OCIS_LDAP_USER_OBJECTCLASS;IDP_LDAP_OBJECTCLASS name: OCIS_LDAP_USER_OBJECTCLASS;GRAPH_LDAP_USER_OBJECTCLASS
defaultValue: inetOrgPerson defaultValue: inetOrgPerson
type: string type: string
description: LDAP User ObjectClass like 'inetOrgPerson'. description: The object class to use for users in the default user search filter
('inetOrgPerson').
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
@@ -8678,14 +8677,14 @@ OCIS_LDAP_USER_SCHEMA_DISPLAYNAME:
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | | | | | | | deprecationInfo: LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | | | |
LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency | | | | LDAP_USER_SCHEMA_DISPLAY_NAME LDAP_USER_SCHEMA_DISPLAY_NAME changing name for consistency
changing name for consistency
OCIS_LDAP_USER_SCHEMA_ID: OCIS_LDAP_USER_SCHEMA_ID:
name: OCIS_LDAP_USER_SCHEMA_ID;IDP_LDAP_UUID_ATTRIBUTE name: OCIS_LDAP_USER_SCHEMA_ID;GRAPH_LDAP_USER_UID_ATTRIBUTE
defaultValue: ownCloudUUID defaultValue: owncloudUUID
type: string type: string
description: LDAP User UUID attribute like 'uid'. description: LDAP Attribute to use as the unique ID for users. This should be a
stable globally unique ID like a UUID.
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
@@ -8702,10 +8701,10 @@ OCIS_LDAP_USER_SCHEMA_ID_IS_OCTETSTRING:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_USER_SCHEMA_MAIL: OCIS_LDAP_USER_SCHEMA_MAIL:
name: OCIS_LDAP_USER_SCHEMA_MAIL;IDP_LDAP_EMAIL_ATTRIBUTE name: OCIS_LDAP_USER_SCHEMA_MAIL;GRAPH_LDAP_USER_EMAIL_ATTRIBUTE
defaultValue: mail defaultValue: mail
type: string type: string
description: LDAP User email attribute like 'mail'. description: LDAP Attribute to use for the email address of users.
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
@@ -8721,16 +8720,16 @@ OCIS_LDAP_USER_SCHEMA_USER_TYPE:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_USER_SCHEMA_USERNAME: OCIS_LDAP_USER_SCHEMA_USERNAME:
name: OCIS_LDAP_USER_SCHEMA_USERNAME;IDP_LDAP_NAME_ATTRIBUTE name: OCIS_LDAP_USER_SCHEMA_USERNAME;GRAPH_LDAP_USER_NAME_ATTRIBUTE
defaultValue: displayName defaultValue: uid
type: string type: string
description: LDAP User name attribute like 'displayName'. description: LDAP Attribute to use for username of users.
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LDAP_USER_SCOPE: OCIS_LDAP_USER_SCOPE:
name: OCIS_LDAP_USER_SCOPE;IDP_LDAP_SCOPE name: OCIS_LDAP_USER_SCOPE;GRAPH_LDAP_USER_SCOPE
defaultValue: sub defaultValue: sub
type: string type: string
description: LDAP search scope to use when looking up users. Supported scopes are description: LDAP search scope to use when looking up users. Supported scopes are
@@ -8740,59 +8739,57 @@ OCIS_LDAP_USER_SCOPE:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LOG_COLOR: OCIS_LOG_COLOR:
name: OCIS_LOG_COLOR;IDM_LOG_COLOR name: OCIS_LOG_COLOR;OCM_LOG_COLOR
defaultValue: "false" defaultValue: "false"
type: bool type: bool
description: Activates colorized log output. description: Activates colorized log output.
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LOG_FILE: OCIS_LOG_FILE:
name: OCIS_LOG_FILE;IDM_LOG_FILE name: OCIS_LOG_FILE;OCM_LOG_FILE
defaultValue: "" defaultValue: ""
type: string type: string
description: The path to the log file. Activates logging to this file if set. description: The path to the log file. Activates logging to this file if set.
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LOG_LEVEL: OCIS_LOG_LEVEL:
name: OCIS_LOG_LEVEL;IDM_LOG_LEVEL name: OCIS_LOG_LEVEL;OCM_LOG_LEVEL
defaultValue: "" defaultValue: ""
type: string type: string
description: 'The log level. Valid values are: ''panic'', ''fatal'', ''error'', description: 'The log level. Valid values are: ''panic'', ''fatal'', ''error'',
''warn'', ''info'', ''debug'', ''trace''.' ''warn'', ''info'', ''debug'', ''trace''.'
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_LOG_PRETTY: OCIS_LOG_PRETTY:
name: OCIS_LOG_PRETTY;IDM_LOG_PRETTY name: OCIS_LOG_PRETTY;OCM_LOG_PRETTY
defaultValue: "false" defaultValue: "false"
type: bool type: bool
description: Activates pretty log output. description: Activates pretty log output.
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_MACHINE_AUTH_API_KEY: OCIS_MACHINE_AUTH_API_KEY:
name: OCIS_MACHINE_AUTH_API_KEY;PROXY_MACHINE_AUTH_API_KEY name: OCIS_MACHINE_AUTH_API_KEY;AUTH_MACHINE_API_KEY
defaultValue: "" defaultValue: ""
type: string type: string
description: Machine auth API key used to validate internal requests necessary to description: Machine auth API key used to validate internal requests necessary for
access resources from other services. the access to resources from other services.
introductionVersion: pre5.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_MAX_CONCURRENCY: OCIS_MAX_CONCURRENCY:
name: OCIS_MAX_CONCURRENCY;USERLOG_MAX_CONCURRENCY name: OCIS_MAX_CONCURRENCY;GRAPH_MAX_CONCURRENCY
defaultValue: "1" defaultValue: "20"
type: int type: int
description: Maximum number of concurrent go-routines. Higher values can potentially description: The maximum number of concurrent requests the service will handle.
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 will be used.
introductionVersion: 7.0.0 introductionVersion: 7.0.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
@@ -8885,54 +8882,54 @@ OCIS_PASSWORD_POLICY_MIN_UPPERCASE_CHARACTERS:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_PERSISTENT_STORE: OCIS_PERSISTENT_STORE:
name: OCIS_PERSISTENT_STORE;COLLABORATION_STORE name: OCIS_PERSISTENT_STORE;ACTIVITYLOG_STORE
defaultValue: nats-js-kv defaultValue: nats-js-kv
type: string type: string
description: 'The type of the store. Supported values are: ''memory'', ''nats-js-kv'', description: 'The type of the store. Supported values are: ''memory'', ''nats-js-kv'',
''redis-sentinel'', ''noop''. See the text description for details.' ''redis-sentinel'', ''noop''. See the text description for details.'
introductionVersion: 7.0.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_PERSISTENT_STORE_AUTH_PASSWORD: OCIS_PERSISTENT_STORE_AUTH_PASSWORD:
name: OCIS_PERSISTENT_STORE_AUTH_PASSWORD;COLLABORATION_STORE_AUTH_PASSWORD name: OCIS_PERSISTENT_STORE_AUTH_PASSWORD;ACTIVITYLOG_STORE_AUTH_PASSWORD
defaultValue: "" defaultValue: ""
type: string type: string
description: The password to authenticate with the store. Only applies when store description: The password to authenticate with the store. Only applies when store
type 'nats-js-kv' is configured. type 'nats-js-kv' is configured.
introductionVersion: 7.0.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_PERSISTENT_STORE_AUTH_USERNAME: OCIS_PERSISTENT_STORE_AUTH_USERNAME:
name: OCIS_PERSISTENT_STORE_AUTH_USERNAME;COLLABORATION_STORE_AUTH_USERNAME name: OCIS_PERSISTENT_STORE_AUTH_USERNAME;ACTIVITYLOG_STORE_AUTH_USERNAME
defaultValue: "" defaultValue: ""
type: string type: string
description: The username to authenticate with the store. Only applies when store description: The username to authenticate with the store. Only applies when store
type 'nats-js-kv' is configured. type 'nats-js-kv' is configured.
introductionVersion: 7.0.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_PERSISTENT_STORE_NODES: OCIS_PERSISTENT_STORE_NODES:
name: OCIS_PERSISTENT_STORE_NODES;COLLABORATION_STORE_NODES name: OCIS_PERSISTENT_STORE_NODES;ACTIVITYLOG_STORE_NODES
defaultValue: '[127.0.0.1:9233]' defaultValue: '[127.0.0.1:9233]'
type: '[]string' type: '[]string'
description: A list of nodes to access the configured store. This has no effect 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 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 is dependent on the library of the configured store. See the Environment Variable
Types description for more details. Types description for more details.
introductionVersion: 7.0.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_PERSISTENT_STORE_TTL: OCIS_PERSISTENT_STORE_TTL:
name: OCIS_PERSISTENT_STORE_TTL;COLLABORATION_STORE_TTL name: OCIS_PERSISTENT_STORE_TTL;ACTIVITYLOG_STORE_TTL
defaultValue: 30m0s defaultValue: 0s
type: Duration type: Duration
description: Time to live for events in the store. Defaults to '30m' (30 minutes). description: Time to live for events in the store. See the Environment Variable
See the Environment Variable Types description for more details. Types description for more details.
introductionVersion: 7.0.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
@@ -8949,8 +8946,8 @@ OCIS_REVA_GATEWAY:
name: OCIS_REVA_GATEWAY name: OCIS_REVA_GATEWAY
defaultValue: com.owncloud.api.gateway defaultValue: com.owncloud.api.gateway
type: string type: string
description: CS3 gateway used to look up user metadata. description: The CS3 gateway endpoint.
introductionVersion: 6.0.0 introductionVersion: pre5.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
@@ -8977,7 +8974,7 @@ OCIS_REVA_GATEWAY_TLS_MODE:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_SERVICE_ACCOUNT_ID: OCIS_SERVICE_ACCOUNT_ID:
name: OCIS_SERVICE_ACCOUNT_ID;USERLOG_SERVICE_ACCOUNT_ID name: OCIS_SERVICE_ACCOUNT_ID;OCM_SERVICE_ACCOUNT_ID
defaultValue: "" defaultValue: ""
type: string type: string
description: The ID of the service account the service should use. See the 'auth-service' description: The ID of the service account the service should use. See the 'auth-service'
@@ -8987,7 +8984,7 @@ OCIS_SERVICE_ACCOUNT_ID:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_SERVICE_ACCOUNT_SECRET: OCIS_SERVICE_ACCOUNT_SECRET:
name: OCIS_SERVICE_ACCOUNT_SECRET;USERLOG_SERVICE_ACCOUNT_SECRET name: OCIS_SERVICE_ACCOUNT_SECRET;OCM_SERVICE_ACCOUNT_SECRET
defaultValue: "" defaultValue: ""
type: string type: string
description: The service account secret. description: The service account secret.
@@ -9004,8 +9001,6 @@ OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD:
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: 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: OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD:
name: OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD;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" defaultValue: "false"
@@ -9016,9 +9011,7 @@ OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD:
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" 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, 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: OCIS_SHOW_USER_EMAIL_IN_RESULTS:
name: OCIS_SHOW_USER_EMAIL_IN_RESULTS name: OCIS_SHOW_USER_EMAIL_IN_RESULTS
defaultValue: "false" defaultValue: "false"
@@ -9050,10 +9043,10 @@ OCIS_SYSTEM_USER_API_KEY:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_SYSTEM_USER_ID: OCIS_SYSTEM_USER_ID:
name: OCIS_SYSTEM_USER_ID;SETTINGS_SYSTEM_USER_ID name: OCIS_SYSTEM_USER_ID
defaultValue: "" defaultValue: ""
type: string type: string
description: ID of the oCIS STORAGE-SYSTEM system user. Admins need to set the ID description: ID of the oCIS storage-system system user. Admins need to set the ID
for the STORAGE-SYSTEM system user in this config option which is then used to for the STORAGE-SYSTEM system user in this config option which is then used to
reference the user. Any reasonable long string is possible, preferably this would reference the user. Any reasonable long string is possible, preferably this would
be an UUIDv4 format. be an UUIDv4 format.
@@ -9071,40 +9064,40 @@ OCIS_SYSTEM_USER_IDP:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_TRACING_COLLECTOR: OCIS_TRACING_COLLECTOR:
name: OCIS_TRACING_COLLECTOR;IDM_TRACING_COLLECTOR name: OCIS_TRACING_COLLECTOR;OCM_TRACING_COLLECTOR
defaultValue: "" defaultValue: ""
type: string type: string
description: The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. description: The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces.
Only used if the tracing endpoint is unset. Only used if the tracing endpoint is unset.
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_TRACING_ENABLED: OCIS_TRACING_ENABLED:
name: OCIS_TRACING_ENABLED;IDM_TRACING_ENABLED name: OCIS_TRACING_ENABLED;OCM_TRACING_ENABLED
defaultValue: "false" defaultValue: "false"
type: bool type: bool
description: Activates tracing. description: Activates tracing.
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_TRACING_ENDPOINT: OCIS_TRACING_ENDPOINT:
name: OCIS_TRACING_ENDPOINT;IDM_TRACING_ENDPOINT name: OCIS_TRACING_ENDPOINT;OCM_TRACING_ENDPOINT
defaultValue: "" defaultValue: ""
type: string type: string
description: The endpoint of the tracing agent. description: The endpoint of the tracing agent.
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_TRACING_TYPE: OCIS_TRACING_TYPE:
name: OCIS_TRACING_TYPE;IDM_TRACING_TYPE name: OCIS_TRACING_TYPE;OCM_TRACING_TYPE
defaultValue: "" defaultValue: ""
type: string type: string
description: The type of tracing. Defaults to '', which is the same as 'jaeger'. description: The type of tracing. Defaults to '', which is the same as 'jaeger'.
Allowed tracing types are 'jaeger' and '' as of now. Allowed tracing types are 'jaeger' and '' as of now.
introductionVersion: pre5.0 introductionVersion: "5.0"
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
@@ -9118,13 +9111,13 @@ OCIS_TRANSFER_SECRET:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_TRANSLATION_PATH: OCIS_TRANSLATION_PATH:
name: OCIS_TRANSLATION_PATH;USERLOG_TRANSLATION_PATH name: OCIS_TRANSLATION_PATH;ACTIVITYLOG_TRANSLATION_PATH
defaultValue: "" defaultValue: ""
type: string type: string
description: (optional) Set this to a path with custom translations to overwrite 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 the builtin translations. Note that file and folder naming rules apply, see the
documentation for more details. documentation for more details.
introductionVersion: pre5.0 introductionVersion: 7.0.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
@@ -9138,12 +9131,11 @@ OCIS_URL:
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
OCIS_WOPI_DISABLE_CHAT: OCIS_WOPI_DISABLE_CHAT:
name: COLLABORATION_WOPI_DISABLE_CHAT;OCIS_WOPI_DISABLE_CHAT name: APP_PROVIDER_WOPI_DISABLE_CHAT;OCIS_WOPI_DISABLE_CHAT
defaultValue: "false" defaultValue: "false"
type: bool type: bool
description: Disable chat in the office web frontend. This feature applies to OnlyOffice description: Disable the chat functionality of the office app.
and Microsoft. introductionVersion: pre5.0
introductionVersion: 7.0.0
deprecationVersion: "" deprecationVersion: ""
removalVersion: "" removalVersion: ""
deprecationInfo: "" deprecationInfo: ""
+3 -1
View File
@@ -17,7 +17,7 @@ require (
github.com/cenkalti/backoff v2.2.1+incompatible github.com/cenkalti/backoff v2.2.1+incompatible
github.com/coreos/go-oidc/v3 v3.11.0 github.com/coreos/go-oidc/v3 v3.11.0
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1 github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1
github.com/cs3org/reva/v2 v2.27.6 github.com/cs3org/reva/v2 v2.27.7
github.com/davidbyttow/govips/v2 v2.16.0 github.com/davidbyttow/govips/v2 v2.16.0
github.com/dhowden/tag v0.0.0-20240417053706-3d75831295e8 github.com/dhowden/tag v0.0.0-20240417053706-3d75831295e8
github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e
@@ -353,3 +353,5 @@ replace go-micro.dev/v4 => github.com/kobergj/go-micro/v4 v4.0.0-20250117084952-
// exclude the v2 line of go-sqlite3 which was released accidentally and prevents pulling in newer versions of go-sqlite3 // 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 // see https://github.com/mattn/go-sqlite3/issues/965 for more details
exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible
replace github.com/cs3org/reva/v2 => github.com/owncloud/reva/v2 v2.0.0-20250526202834-eda90d6d516a
+2 -2
View File
@@ -249,8 +249,6 @@ 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/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 h1:RU6LT6mkD16xZs011+8foU7T3LrPvTTSWeTQ9OgfhkA=
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1/go.mod h1:DedpcqXl193qF/08Y04IO0PpxyyMu8+GrkD6kWK2MEQ= github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1/go.mod h1:DedpcqXl193qF/08Y04IO0PpxyyMu8+GrkD6kWK2MEQ=
github.com/cs3org/reva/v2 v2.27.6 h1:gRUBAo8NdDRVdeIDfLUCVvtADq48BROC6QZJBpN8PSg=
github.com/cs3org/reva/v2 v2.27.6/go.mod h1:1H26PMXoa1rDrIoZ7lGOerq1Bg07/5srYfRaKfxBSsc=
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4= github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
github.com/cyphar/filepath-securejoin v0.2.5 h1:6iR5tXJ/e6tJZzzdMc1km3Sa7RRIVBKAK32O2s7AYfo= github.com/cyphar/filepath-securejoin v0.2.5 h1:6iR5tXJ/e6tJZzzdMc1km3Sa7RRIVBKAK32O2s7AYfo=
github.com/cyphar/filepath-securejoin v0.2.5/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= github.com/cyphar/filepath-securejoin v0.2.5/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
@@ -883,6 +881,8 @@ github.com/orcaman/concurrent-map v1.0.0/go.mod h1:Lu3tH6HLW3feq74c2GC+jIMS/K2CF
github.com/ovh/go-ovh v1.1.0/go.mod h1:AxitLZ5HBRPyUd+Zl60Ajaag+rNTdVXWIkzfrVuTXWA= github.com/ovh/go-ovh v1.1.0/go.mod h1:AxitLZ5HBRPyUd+Zl60Ajaag+rNTdVXWIkzfrVuTXWA=
github.com/owncloud/libre-graph-api-go v1.0.5-0.20250217093259-fa3804be6c27 h1:ID8s5lGBntmrlI6TbDAjTzRyHucn3bVM2wlW+HBplv4= github.com/owncloud/libre-graph-api-go v1.0.5-0.20250217093259-fa3804be6c27 h1:ID8s5lGBntmrlI6TbDAjTzRyHucn3bVM2wlW+HBplv4=
github.com/owncloud/libre-graph-api-go v1.0.5-0.20250217093259-fa3804be6c27/go.mod h1:+gT+x62AS9u2Farh9wE2uYmgdvTg0MQgsSI62D+xoRg= github.com/owncloud/libre-graph-api-go v1.0.5-0.20250217093259-fa3804be6c27/go.mod h1:+gT+x62AS9u2Farh9wE2uYmgdvTg0MQgsSI62D+xoRg=
github.com/owncloud/reva/v2 v2.0.0-20250526202834-eda90d6d516a h1:qiZSmdJaEIULParVAIgskmADKHfISTJj8P4frohT2K8=
github.com/owncloud/reva/v2 v2.0.0-20250526202834-eda90d6d516a/go.mod h1:1H26PMXoa1rDrIoZ7lGOerq1Bg07/5srYfRaKfxBSsc=
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c h1:rp5dCmg/yLR3mgFuSOe4oEnDDmGLROTvMragMUXpTQw= github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c h1:rp5dCmg/yLR3mgFuSOe4oEnDDmGLROTvMragMUXpTQw=
github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c/go.mod h1:X07ZCGwUbLaax7L0S3Tw4hpejzu63ZrrQiUe6W0hcy0= github.com/oxtoacart/bpool v0.0.0-20190530202638-03653db5a59c/go.mod h1:X07ZCGwUbLaax7L0S3Tw4hpejzu63ZrrQiUe6W0hcy0=
github.com/pablodz/inotifywaitgo v0.0.7 h1:1ii49dGBnRn0t1Sz7RGZS6/NberPEDQprwKHN49Bv6U= github.com/pablodz/inotifywaitgo v0.0.7 h1:1ii49dGBnRn0t1Sz7RGZS6/NberPEDQprwKHN49Bv6U=
+1 -1
View File
@@ -16,7 +16,7 @@ var (
// LatestTag is the latest released version plus the dev meta version. // LatestTag is the latest released version plus the dev meta version.
// Will be overwritten by the release pipeline // Will be overwritten by the release pipeline
// Needs a manual change for every tagged release // Needs a manual change for every tagged release
LatestTag = "7.1.0-rc.5+dev" LatestTag = "7.1.3"
// Date indicates the build date. // Date indicates the build date.
// This has been removed, it looks like you can only replace static strings with recent go versions // This has been removed, it looks like you can only replace static strings with recent go versions
@@ -37,12 +37,6 @@ func DefaultConfig() *config.Config {
func defaultMimeTypeConfig() []config.MimeTypeConfig { func defaultMimeTypeConfig() []config.MimeTypeConfig {
return []config.MimeTypeConfig{ return []config.MimeTypeConfig{
{
MimeType: "application/pdf",
Extension: "pdf",
Name: "PDF",
Description: "PDF document",
},
{ {
MimeType: "application/vnd.oasis.opendocument.text", MimeType: "application/vnd.oasis.opendocument.text",
Extension: "odt", Extension: "odt",
@@ -72,11 +66,10 @@ func defaultMimeTypeConfig() []config.MimeTypeConfig {
AllowCreation: true, AllowCreation: true,
}, },
{ {
MimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.form", MimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.form",
Extension: "docxf", Extension: "docxf",
Name: "Form Document", Name: "Form Document",
Description: "Form Document", Description: "Form Document",
AllowCreation: true,
}, },
{ {
MimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", MimeType: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
@@ -92,6 +85,13 @@ func defaultMimeTypeConfig() []config.MimeTypeConfig {
Description: "Microsoft PowerPoint document", Description: "Microsoft PowerPoint document",
AllowCreation: true, AllowCreation: true,
}, },
{
MimeType: "application/pdf",
Extension: "pdf",
Name: "PDF form",
Description: "PDF form document",
AllowCreation: true,
},
{ {
MimeType: "application/vnd.jupyter", MimeType: "application/vnd.jupyter",
Extension: "ipynb", Extension: "ipynb",
@@ -40,6 +40,11 @@ const (
// WOPI Locks generally have a lock duration of 30 minutes and will be refreshed before expiration if needed // WOPI Locks generally have a lock duration of 30 minutes and will be refreshed before expiration if needed
// https://docs.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/concepts#lock // https://docs.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/concepts#lock
lockDuration time.Duration = 30 * time.Minute lockDuration time.Duration = 30 * time.Minute
// Expected format for LastModifiedTime is ISO 8601 round-trip format (e.g. "2009-06-15T13:45:30.0000000Z")
// see: https://learn.microsoft.com/en-us/microsoft-365/cloud-storage-partner-program/rest/files/checkfileinfo/checkfileinfo-other#lastmodifiedtime
// and: https://pkg.go.dev/time#Time.Format
timeFormat = "2006-01-02T15:04:05.0000000Z"
) )
// FileConnectorService is the interface to implement the "Files" // FileConnectorService is the interface to implement the "Files"
@@ -1243,10 +1248,27 @@ func (f *FileConnector) CheckFileInfo(ctx context.Context) (*ConnectorResponse,
} }
} }
// fileinfo map // fileinfo map
var size interface{}
size = int64(statRes.GetInfo().GetSize())
// OnlyOffice requires a 0 size of files for "pdf" files, for extensions "docx", "xlsx", "pptx" it is optional
// For other extensions like "ods", "odt", "odp" the 0 size should be omitted
if strings.ToLower(f.cfg.App.Product) == "onlyoffice" && statRes.GetInfo().GetSize() == 0 {
ext := strings.ToLower(path.Ext(statRes.GetInfo().GetPath()))
if ext != ".pdf" {
size = nil
}
}
lastModifiedTime := time.Now().UTC().Format(timeFormat)
if statRes.GetInfo().GetMtime() != nil {
lastModifiedTime = time.Unix(int64(statRes.GetInfo().GetMtime().GetSeconds()), int64(statRes.GetInfo().GetMtime().GetNanos())).UTC().Format(timeFormat)
}
infoMap := map[string]interface{}{ infoMap := map[string]interface{}{
fileinfo.KeyOwnerID: hexEncodedOwnerId, fileinfo.KeyOwnerID: hexEncodedOwnerId,
fileinfo.KeySize: int64(statRes.GetInfo().GetSize()), fileinfo.KeySize: size,
fileinfo.KeyVersion: getVersion(statRes.GetInfo().GetMtime()), fileinfo.KeyVersion: getVersion(statRes.GetInfo().GetMtime()),
fileinfo.KeyLastModifiedTime: lastModifiedTime,
fileinfo.KeyBaseFileName: path.Base(statRes.GetInfo().GetPath()), fileinfo.KeyBaseFileName: path.Base(statRes.GetInfo().GetPath()),
fileinfo.KeyBreadcrumbDocName: path.Base(statRes.GetInfo().GetPath()), fileinfo.KeyBreadcrumbDocName: path.Base(statRes.GetInfo().GetPath()),
// to get the folder we actually need to do a GetPath() request // to get the folder we actually need to do a GetPath() request
@@ -22,6 +22,7 @@ import (
cs3mocks "github.com/cs3org/reva/v2/tests/cs3mocks/mocks" cs3mocks "github.com/cs3org/reva/v2/tests/cs3mocks/mocks"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
"github.com/owncloud/ocis/v2/ocis-pkg/conversions"
"github.com/owncloud/ocis/v2/ocis-pkg/shared" "github.com/owncloud/ocis/v2/ocis-pkg/shared"
collabmocks "github.com/owncloud/ocis/v2/services/collaboration/mocks" collabmocks "github.com/owncloud/ocis/v2/services/collaboration/mocks"
"github.com/owncloud/ocis/v2/services/collaboration/pkg/config" "github.com/owncloud/ocis/v2/services/collaboration/pkg/config"
@@ -1682,6 +1683,7 @@ var _ = Describe("FileConnector", func() {
Size: uint64(998877), Size: uint64(998877),
Mtime: &typesv1beta1.Timestamp{ Mtime: &typesv1beta1.Timestamp{
Seconds: uint64(16273849), Seconds: uint64(16273849),
Nanos: uint32(123456789),
}, },
Path: "/path/to/test.txt", Path: "/path/to/test.txt",
Id: &providerv1beta1.ResourceId{ Id: &providerv1beta1.ResourceId{
@@ -1700,7 +1702,8 @@ var _ = Describe("FileConnector", func() {
expectedFileInfo := &fileinfo.Microsoft{ expectedFileInfo := &fileinfo.Microsoft{
OwnerID: "61616262636340637573746f6d496470", // hex of aabbcc@customIdp OwnerID: "61616262636340637573746f6d496470", // hex of aabbcc@customIdp
Size: int64(998877), Size: int64(998877),
Version: "v162738490", Version: "v16273849123456789",
LastModifiedTime: "1970-07-08T08:30:49.1234567Z",
BaseFileName: "test.txt", BaseFileName: "test.txt",
BreadcrumbDocName: "test.txt", BreadcrumbDocName: "test.txt",
BreadcrumbFolderName: "/path/to", BreadcrumbFolderName: "/path/to",
@@ -1756,6 +1759,7 @@ var _ = Describe("FileConnector", func() {
Size: uint64(998877), Size: uint64(998877),
Mtime: &typesv1beta1.Timestamp{ Mtime: &typesv1beta1.Timestamp{
Seconds: uint64(16273849), Seconds: uint64(16273849),
Nanos: uint32(1234567),
}, },
Path: "/path/to/test.txt", Path: "/path/to/test.txt",
Id: &providerv1beta1.ResourceId{ Id: &providerv1beta1.ResourceId{
@@ -1858,6 +1862,7 @@ var _ = Describe("FileConnector", func() {
Size: uint64(998877), Size: uint64(998877),
Mtime: &typesv1beta1.Timestamp{ Mtime: &typesv1beta1.Timestamp{
Seconds: uint64(16273849), Seconds: uint64(16273849),
Nanos: uint32(123456789),
}, },
Path: "/path/to/test.txt", Path: "/path/to/test.txt",
Id: ResourceId, Id: ResourceId,
@@ -1875,7 +1880,9 @@ var _ = Describe("FileConnector", func() {
cfg.App.Product = "OnlyOffice" cfg.App.Product = "OnlyOffice"
expectedFileInfo := &fileinfo.OnlyOffice{ expectedFileInfo := &fileinfo.OnlyOffice{
Version: "v162738490", Version: "v16273849123456789",
LastModifiedTime: "1970-07-08T08:30:49.1234567Z",
Size: conversions.ToPointer(int64(998877)),
BaseFileName: "test.txt", BaseFileName: "test.txt",
BreadcrumbDocName: "test.txt", BreadcrumbDocName: "test.txt",
BreadcrumbFolderName: "/path/to", BreadcrumbFolderName: "/path/to",
@@ -2029,6 +2036,7 @@ var _ = Describe("FileConnector", func() {
expectedFileInfo := &fileinfo.OnlyOffice{ expectedFileInfo := &fileinfo.OnlyOffice{
Version: "v162738490", Version: "v162738490",
LastModifiedTime: "1970-07-08T08:30:49.0000000Z",
BaseFileName: "test.txt", BaseFileName: "test.txt",
BreadcrumbDocName: "test.txt", BreadcrumbDocName: "test.txt",
BreadcrumbFolderName: "/path/to", BreadcrumbFolderName: "/path/to",
@@ -1,5 +1,9 @@
package fileinfo package fileinfo
import (
"github.com/owncloud/ocis/v2/ocis-pkg/conversions"
)
// OnlyOffice fileInfo properties // OnlyOffice fileInfo properties
// //
// OnlyOffice WOPI check file info specification: // OnlyOffice WOPI check file info specification:
@@ -13,6 +17,8 @@ type OnlyOffice struct {
BaseFileName string `json:"BaseFileName,omitempty"` BaseFileName string `json:"BaseFileName,omitempty"`
// copied from MS WOPI // copied from MS WOPI
Version string `json:"Version,omitempty"` Version string `json:"Version,omitempty"`
// The size of the file in bytes, expressed as a long, a 64-bit signed integer.
Size *int64 `json:"Size,omitempty"`
// //
// Breadcrumb properties // Breadcrumb properties
@@ -137,6 +143,10 @@ func (oinfo *OnlyOffice) SetProperties(props map[string]interface{}) {
oinfo.BaseFileName = value.(string) oinfo.BaseFileName = value.(string)
case KeyVersion: case KeyVersion:
oinfo.Version = value.(string) oinfo.Version = value.(string)
case KeySize:
if value != nil {
oinfo.Size = conversions.ToPointer(value.(int64))
}
case KeyBreadcrumbBrandName: case KeyBreadcrumbBrandName:
oinfo.BreadcrumbBrandName = value.(string) oinfo.BreadcrumbBrandName = value.(string)
+5
View File
@@ -57,6 +57,7 @@ type Config struct {
ServiceAccount ServiceAccount `yaml:"service_account"` ServiceAccount ServiceAccount `yaml:"service_account"`
PasswordPolicy PasswordPolicy `yaml:"password_policy"` PasswordPolicy PasswordPolicy `yaml:"password_policy"`
Validation Validation `yaml:"validation"`
ConfigurableNotifications bool `yaml:"configurable_notifications" env:"FRONTEND_CONFIGURABLE_NOTIFICATIONS" desc:"Allow configuring notifications via web client." introductionVersion:"7.1"` ConfigurableNotifications bool `yaml:"configurable_notifications" env:"FRONTEND_CONFIGURABLE_NOTIFICATIONS" desc:"Allow configuring notifications via web client." introductionVersion:"7.1"`
@@ -193,3 +194,7 @@ type PasswordPolicy struct {
MinSpecialCharacters int `yaml:"min_special_characters" env:"OCIS_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS;FRONTEND_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS" desc:"Define the minimum number of characters from the special characters list to be present. Defaults to 1 if not set." introductionVersion:"5.0"` MinSpecialCharacters int `yaml:"min_special_characters" env:"OCIS_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS;FRONTEND_PASSWORD_POLICY_MIN_SPECIAL_CHARACTERS" desc:"Define the minimum number of characters from the special characters list to be present. Defaults to 1 if not set." introductionVersion:"5.0"`
BannedPasswordsList string `yaml:"banned_passwords_list" env:"OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST;FRONTEND_PASSWORD_POLICY_BANNED_PASSWORDS_LIST" desc:"Path to the 'banned passwords list' file. This only impacts public link password validation. See the documentation for more details." introductionVersion:"5.0"` BannedPasswordsList string `yaml:"banned_passwords_list" env:"OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST;FRONTEND_PASSWORD_POLICY_BANNED_PASSWORDS_LIST" desc:"Path to the 'banned passwords list' file. This only impacts public link password validation. See the documentation for more details." introductionVersion:"5.0"`
} }
type Validation struct {
MaxTagLength int `yaml:"max_tag_length" env:"OCIS_MAX_TAG_LENGTH" desc:"Define the maximum tag length. Defaults to 100 if not set. Set to 0 to not limit the tag length. Changes only impact the validation of new tags." introductionVersion:"%%NEXT%%"`
}
@@ -138,6 +138,9 @@ func DefaultConfig() *config.Config {
MinDigits: 1, MinDigits: 1,
MinSpecialCharacters: 1, MinSpecialCharacters: 1,
}, },
Validation: config.Validation{
MaxTagLength: 100,
},
} }
} }
@@ -225,6 +225,9 @@ func FrontendConfigFromStruct(cfg *config.Config, logger log.Logger) (map[string
"delete_disabled": !cfg.LDAPServerWriteEnabled, "delete_disabled": !cfg.LDAPServerWriteEnabled,
"change_password_self_disabled": changePasswordDisabled, "change_password_self_disabled": changePasswordDisabled,
}, },
"tags": map[string]interface{}{
"max_tag_length": cfg.Validation.MaxTagLength,
},
}, },
"checksums": map[string]interface{}{ "checksums": map[string]interface{}{
"supported_types": cfg.Checksums.SupportedTypes, "supported_types": cfg.Checksums.SupportedTypes,
+6
View File
@@ -36,6 +36,8 @@ type Config struct {
Keycloak Keycloak `yaml:"keycloak"` Keycloak Keycloak `yaml:"keycloak"`
ServiceAccount ServiceAccount `yaml:"service_account"` ServiceAccount ServiceAccount `yaml:"service_account"`
Validation Validation `yaml:"validation"`
Context context.Context `yaml:"-"` Context context.Context `yaml:"-"`
} }
@@ -153,3 +155,7 @@ type ServiceAccount struct {
ServiceAccountID string `yaml:"service_account_id" env:"OCIS_SERVICE_ACCOUNT_ID;GRAPH_SERVICE_ACCOUNT_ID" desc:"The ID of the service account the service should use. See the 'auth-service' service description for more details." introductionVersion:"5.0"` ServiceAccountID string `yaml:"service_account_id" env:"OCIS_SERVICE_ACCOUNT_ID;GRAPH_SERVICE_ACCOUNT_ID" desc:"The ID of the service account the service should use. See the 'auth-service' service description for more details." introductionVersion:"5.0"`
ServiceAccountSecret string `yaml:"service_account_secret" env:"OCIS_SERVICE_ACCOUNT_SECRET;GRAPH_SERVICE_ACCOUNT_SECRET" desc:"The service account secret." introductionVersion:"5.0"` ServiceAccountSecret string `yaml:"service_account_secret" env:"OCIS_SERVICE_ACCOUNT_SECRET;GRAPH_SERVICE_ACCOUNT_SECRET" desc:"The service account secret." introductionVersion:"5.0"`
} }
type Validation struct {
MaxTagLength int `yaml:"max_tag_length" env:"OCIS_MAX_TAG_LENGTH" desc:"Define the maximum tag length. Defaults to 100 if not set. Set to 0 to not limit the tag length. Changes only impact the validation of new tags." introductionVersion:"%%NEXT%%"`
}
@@ -127,6 +127,9 @@ func DefaultConfig() *config.Config {
UnifiedRoles: config.UnifiedRoles{ UnifiedRoles: config.UnifiedRoles{
AvailableRoles: nil, // will be populated with defaults in EnsureDefaults AvailableRoles: nil, // will be populated with defaults in EnsureDefaults
}, },
Validation: config.Validation{
MaxTagLength: 100,
},
} }
} }
+6 -1
View File
@@ -109,7 +109,12 @@ func (g Graph) AssignTags(w http.ResponseWriter, r *http.Request) {
} }
allTags := tags.New(currentTags) allTags := tags.New(currentTags)
if !allTags.Add(assignment.Tags...) { ok, err := allTags.AddValidated(tags.MaxLengthValidator(g.config.Validation.MaxTagLength), assignment.Tags...)
if err != nil {
errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, err.Error())
return
}
if !ok {
errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "no new tags in createtagsrequest or maximum reached") errorcode.InvalidRequest.Render(w, r, http.StatusBadRequest, "no new tags in createtagsrequest or maximum reached")
return return
} }
@@ -19,16 +19,16 @@ func TestPermissionsToCS3ResourcePermissions(t *testing.T) {
unifiedRoleDefinition *libregraph.UnifiedRoleDefinition unifiedRoleDefinition *libregraph.UnifiedRoleDefinition
match bool match bool
}{ }{
cs3Conversions.RoleViewer: {cs3Conversions.NewViewerRole(), unifiedrole.RoleViewer, true}, cs3Conversions.RoleViewer: {cs3Conversions.NewViewerRole(), unifiedrole.RoleViewer(), true},
cs3Conversions.RoleViewerListGrants: {cs3Conversions.NewViewerListGrantsRole(), unifiedrole.RoleViewerListGrants, true}, cs3Conversions.RoleViewerListGrants: {cs3Conversions.NewViewerListGrantsRole(), unifiedrole.RoleViewerListGrants(), true},
cs3Conversions.RoleEditor: {cs3Conversions.NewEditorRole(), unifiedrole.RoleEditor, true}, cs3Conversions.RoleEditor: {cs3Conversions.NewEditorRole(), unifiedrole.RoleEditor(), true},
cs3Conversions.RoleEditorListGrants: {cs3Conversions.NewEditorListGrantsRole(), unifiedrole.RoleEditorListGrants, true}, cs3Conversions.RoleEditorListGrants: {cs3Conversions.NewEditorListGrantsRole(), unifiedrole.RoleEditorListGrants(), true},
cs3Conversions.RoleFileEditor: {cs3Conversions.NewFileEditorRole(), unifiedrole.RoleFileEditor, true}, cs3Conversions.RoleFileEditor: {cs3Conversions.NewFileEditorRole(), unifiedrole.RoleFileEditor(), true},
cs3Conversions.RoleFileEditorListGrants: {cs3Conversions.NewFileEditorListGrantsRole(), unifiedrole.RoleFileEditorListGrants, true}, cs3Conversions.RoleFileEditorListGrants: {cs3Conversions.NewFileEditorListGrantsRole(), unifiedrole.RoleFileEditorListGrants(), true},
cs3Conversions.RoleManager: {cs3Conversions.NewManagerRole(), unifiedrole.RoleManager, true}, cs3Conversions.RoleManager: {cs3Conversions.NewManagerRole(), unifiedrole.RoleManager(), true},
cs3Conversions.RoleSecureViewer: {cs3Conversions.NewSecureViewerRole(), unifiedrole.RoleSecureViewer, true}, cs3Conversions.RoleSecureViewer: {cs3Conversions.NewSecureViewerRole(), unifiedrole.RoleSecureViewer(), true},
cs3Conversions.RoleDenied: {cs3Conversions.NewDeniedRole(), unifiedrole.RoleDenied, true}, cs3Conversions.RoleDenied: {cs3Conversions.NewDeniedRole(), unifiedrole.RoleDenied(), true},
"no match": {cs3Conversions.NewFileEditorRole(), unifiedrole.RoleManager, false}, "no match": {cs3Conversions.NewFileEditorRole(), unifiedrole.RoleManager(), false},
} }
for name, tc := range tests { for name, tc := range tests {
@@ -58,23 +58,23 @@ func TestCS3ResourcePermissionsToRole(t *testing.T) {
unifiedRoleDefinition *libregraph.UnifiedRoleDefinition unifiedRoleDefinition *libregraph.UnifiedRoleDefinition
constraints string constraints string
}{ }{
cs3Conversions.RoleViewer + "1": {cs3Conversions.NewViewerRole().CS3ResourcePermissions(), unifiedrole.RoleViewer, unifiedrole.UnifiedRoleConditionFile}, cs3Conversions.RoleViewer + "1": {cs3Conversions.NewViewerRole().CS3ResourcePermissions(), unifiedrole.RoleViewer(), unifiedrole.UnifiedRoleConditionFile},
cs3Conversions.RoleViewer + "2": {cs3Conversions.NewViewerRole().CS3ResourcePermissions(), unifiedrole.RoleViewer, unifiedrole.UnifiedRoleConditionFolder}, cs3Conversions.RoleViewer + "2": {cs3Conversions.NewViewerRole().CS3ResourcePermissions(), unifiedrole.RoleViewer(), unifiedrole.UnifiedRoleConditionFolder},
cs3Conversions.RoleEditor: {cs3Conversions.NewEditorRole().CS3ResourcePermissions(), unifiedrole.RoleEditor, unifiedrole.UnifiedRoleConditionFolder}, cs3Conversions.RoleEditor: {cs3Conversions.NewEditorRole().CS3ResourcePermissions(), unifiedrole.RoleEditor(), unifiedrole.UnifiedRoleConditionFolder},
cs3Conversions.RoleFileEditor: {cs3Conversions.NewFileEditorRole().CS3ResourcePermissions(), unifiedrole.RoleFileEditor, unifiedrole.UnifiedRoleConditionFile}, cs3Conversions.RoleFileEditor: {cs3Conversions.NewFileEditorRole().CS3ResourcePermissions(), unifiedrole.RoleFileEditor(), unifiedrole.UnifiedRoleConditionFile},
cs3Conversions.RoleManager: {cs3Conversions.NewManagerRole().CS3ResourcePermissions(), unifiedrole.RoleManager, unifiedrole.UnifiedRoleConditionDrive}, cs3Conversions.RoleManager: {cs3Conversions.NewManagerRole().CS3ResourcePermissions(), unifiedrole.RoleManager(), unifiedrole.UnifiedRoleConditionDrive},
cs3Conversions.RoleSpaceViewer: {cs3Conversions.NewSpaceViewerRole().CS3ResourcePermissions(), unifiedrole.RoleSpaceViewer, unifiedrole.UnifiedRoleConditionDrive}, cs3Conversions.RoleSpaceViewer: {cs3Conversions.NewSpaceViewerRole().CS3ResourcePermissions(), unifiedrole.RoleSpaceViewer(), unifiedrole.UnifiedRoleConditionDrive},
cs3Conversions.RoleSpaceEditor: {cs3Conversions.NewSpaceEditorRole().CS3ResourcePermissions(), unifiedrole.RoleSpaceEditor, unifiedrole.UnifiedRoleConditionDrive}, cs3Conversions.RoleSpaceEditor: {cs3Conversions.NewSpaceEditorRole().CS3ResourcePermissions(), unifiedrole.RoleSpaceEditor(), unifiedrole.UnifiedRoleConditionDrive},
cs3Conversions.RoleSecureViewer + "1": {cs3Conversions.NewSecureViewerRole().CS3ResourcePermissions(), unifiedrole.RoleSecureViewer, unifiedrole.UnifiedRoleConditionFile}, cs3Conversions.RoleSecureViewer + "1": {cs3Conversions.NewSecureViewerRole().CS3ResourcePermissions(), unifiedrole.RoleSecureViewer(), unifiedrole.UnifiedRoleConditionFile},
cs3Conversions.RoleSecureViewer + "2": {cs3Conversions.NewSecureViewerRole().CS3ResourcePermissions(), unifiedrole.RoleSecureViewer, unifiedrole.UnifiedRoleConditionFolder}, cs3Conversions.RoleSecureViewer + "2": {cs3Conversions.NewSecureViewerRole().CS3ResourcePermissions(), unifiedrole.RoleSecureViewer(), unifiedrole.UnifiedRoleConditionFolder},
cs3Conversions.RoleDenied: {cs3Conversions.NewDeniedRole().CS3ResourcePermissions(), unifiedrole.RoleDenied, unifiedrole.UnifiedRoleConditionFolder}, cs3Conversions.RoleDenied: {cs3Conversions.NewDeniedRole().CS3ResourcePermissions(), unifiedrole.RoleDenied(), unifiedrole.UnifiedRoleConditionFolder},
"custom 1": {&provider.ResourcePermissions{GetPath: true}, nil, unifiedrole.UnifiedRoleConditionFolder}, "custom 1": {&provider.ResourcePermissions{GetPath: true}, nil, unifiedrole.UnifiedRoleConditionFolder},
} }
for name, tc := range tests { for name, tc := range tests {
t.Run(name, func(t *testing.T) { t.Run(name, func(t *testing.T) {
NewWithT(t).Expect( NewWithT(t).Expect(
unifiedrole.CS3ResourcePermissionsToRole(unifiedrole.BuildInRoles, tc.cs3ResourcePermissions, tc.constraints, false), unifiedrole.CS3ResourcePermissionsToRole(unifiedrole.BuildInRoles(), tc.cs3ResourcePermissions, tc.constraints, false),
).To(Equal(tc.unifiedRoleDefinition)) ).To(Equal(tc.unifiedRoleDefinition))
}) })
} }
+22 -2
View File
@@ -35,10 +35,30 @@ func RoleFilterIDs(ids ...string) RoleFilter {
// filterRoles filters the provided roles by the provided filter // filterRoles filters the provided roles by the provided filter
func filterRoles(roles []*libregraph.UnifiedRoleDefinition, f RoleFilter) []*libregraph.UnifiedRoleDefinition { func filterRoles(roles []*libregraph.UnifiedRoleDefinition, f RoleFilter) []*libregraph.UnifiedRoleDefinition {
return slices.DeleteFunc( return slices.DeleteFunc(roles,
slices.Clone(roles),
func(r *libregraph.UnifiedRoleDefinition) bool { func(r *libregraph.UnifiedRoleDefinition) bool {
return !f(r) return !f(r)
}, },
) )
} }
// buildInRoles contains the built-in roles.
func buildInRoles() []*libregraph.UnifiedRoleDefinition {
return []*libregraph.UnifiedRoleDefinition{
roleViewer(),
roleViewerListGrants(),
roleSpaceViewer(),
roleEditor(),
roleEditorListGrants(),
roleEditorListGrantsWithVersions(),
roleSpaceEditor(),
roleSpaceEditorWithoutVersions(),
roleFileEditor(),
roleFileEditorListGrants(),
roleFileEditorListGrantsWithVersions(),
roleEditorLite(),
roleManager(),
roleSecureViewer(),
roleDenied(),
}
}
@@ -14,7 +14,7 @@ func TestRoleFilterIDs(t *testing.T) {
unifiedrole.RoleFilterIDs( unifiedrole.RoleFilterIDs(
unifiedrole.UnifiedRoleEditorLiteID, unifiedrole.UnifiedRoleEditorLiteID,
unifiedrole.UnifiedRoleSpaceEditorID, unifiedrole.UnifiedRoleSpaceEditorID,
)(unifiedrole.RoleEditorLite), )(unifiedrole.RoleEditorLite()),
).To(BeTrue()) ).To(BeTrue())
} }
@@ -24,12 +24,12 @@ func TestRoleFilterInvert(t *testing.T) {
func(_ *libregraph.UnifiedRoleDefinition) bool { func(_ *libregraph.UnifiedRoleDefinition) bool {
return true return true
}, },
)(unifiedrole.RoleEditorLite), )(unifiedrole.RoleEditorLite()),
).To(BeFalse()) ).To(BeFalse())
} }
func TestRoleFilterAll(t *testing.T) { func TestRoleFilterAll(t *testing.T) {
NewWithT(t).Expect( NewWithT(t).Expect(
unifiedrole.RoleFilterAll()(unifiedrole.RoleEditorLite), unifiedrole.RoleFilterAll()(unifiedrole.RoleEditorLite()),
).To(BeTrue()) ).To(BeTrue())
} }
+31 -45
View File
@@ -104,7 +104,7 @@ var (
// UnifiedRole ViewerListGrants, Role Description (resolves directly) // UnifiedRole ViewerListGrants, Role Description (resolves directly)
_viewerListGrantsUnifiedRoleDescription = l10n.Template("View, download and show all invited people.") _viewerListGrantsUnifiedRoleDescription = l10n.Template("View, download and show all invited people.")
// UnifiedRole Viewer, Role DisplayName (resolves directly) // UnifiedRole ViewerListGrants, Role DisplayName (resolves directly)
_viewerListGrantsUnifiedRoleDisplayName = l10n.Template("Can view") _viewerListGrantsUnifiedRoleDisplayName = l10n.Template("Can view")
// UnifiedRole SpaceViewer, Role Description (resolves directly) // UnifiedRole SpaceViewer, Role Description (resolves directly)
@@ -117,18 +117,18 @@ var (
_editorUnifiedRoleDescription = l10n.Template("View, download, upload, edit, add and delete.") _editorUnifiedRoleDescription = l10n.Template("View, download, upload, edit, add and delete.")
// UnifiedRole Editor, Role DisplayName (resolves directly) // UnifiedRole Editor, Role DisplayName (resolves directly)
_editorUnifiedRoleDisplayName = l10n.Template("Can edit") _editorUnifiedRoleDisplayName = l10n.Template("Can edit without versions")
// UnifiedRoleListGrants Editor, Role Description (resolves directly) // UnifiedRole EditorListGrants Editor, Role Description (resolves directly)
_editorListGrantsUnifiedRoleDescription = l10n.Template("View, download, upload, edit, add, delete and show all invited people.") _editorListGrantsUnifiedRoleDescription = l10n.Template("View, download, upload, edit, add, delete and show all invited people.")
// UnifiedRole EditorListGrants, Role DisplayName (resolves directly) // UnifiedRole EditorListGrants, Role DisplayName (resolves directly)
_editorListGrantsUnifiedRoleDisplayName = l10n.Template("Can edit") _editorListGrantsUnifiedRoleDisplayName = l10n.Template("Can edit without versions")
// UnifiedRoleListGrants Editor, Role Description (resolves directly) // UnifiedRole EditorListGrantsWithVersions, Role Description (resolves directly)
_editorListGrantsWithVersionsUnifiedRoleDescription = l10n.Template("View, download, upload, edit, delete and show all invited people, show all versions.") _editorListGrantsWithVersionsUnifiedRoleDescription = l10n.Template("View, download, upload, edit, delete and show all invited people, show all versions.")
// UnifiedRole EditorListGrants, Role DisplayName (resolves directly) // UnifiedRole EditorListGrantsWithVersions, Role DisplayName (resolves directly)
_editorListGrantsWithVersionsUnifiedRoleDisplayName = l10n.Template("Can edit") _editorListGrantsWithVersionsUnifiedRoleDisplayName = l10n.Template("Can edit")
// UnifiedRole SpaseEditor, Role Description (resolves directly) // UnifiedRole SpaseEditor, Role Description (resolves directly)
@@ -147,13 +147,13 @@ var (
_fileEditorUnifiedRoleDescription = l10n.Template("View, download and edit.") _fileEditorUnifiedRoleDescription = l10n.Template("View, download and edit.")
// UnifiedRole FileEditor, Role DisplayName (resolves directly) // UnifiedRole FileEditor, Role DisplayName (resolves directly)
_fileEditorUnifiedRoleDisplayName = l10n.Template("Can edit") _fileEditorUnifiedRoleDisplayName = l10n.Template("Can edit without versions")
// UnifiedRole FileEditorListGrants, Role Description (resolves directly) // UnifiedRole FileEditorListGrants, Role Description (resolves directly)
_fileEditorListGrantsUnifiedRoleDescription = l10n.Template("View, download, edit and show all invited people.") _fileEditorListGrantsUnifiedRoleDescription = l10n.Template("View, download, edit and show all invited people.")
// UnifiedRole FileEditorListGrants, Role DisplayName (resolves directly) // UnifiedRole FileEditorListGrants, Role DisplayName (resolves directly)
_fileEditorListGrantsUnifiedRoleDisplayName = l10n.Template("Can edit") _fileEditorListGrantsUnifiedRoleDisplayName = l10n.Template("Can edit without versions")
// UnifiedRole FileEditorListGrants, Role Description (resolves directly) // UnifiedRole FileEditorListGrants, Role Description (resolves directly)
_fileEditorListGrantsWithVersionsUnifiedRoleDescription = l10n.Template("View, download, edit and show all invited people, show all versions.") _fileEditorListGrantsWithVersionsUnifiedRoleDescription = l10n.Template("View, download, edit and show all invited people, show all versions.")
@@ -200,25 +200,6 @@ var (
UnifiedRoleSecureViewerID: conversions.RoleSecureViewer, UnifiedRoleSecureViewerID: conversions.RoleSecureViewer,
} }
// buildInRoles contains the built-in roles.
buildInRoles = []*libregraph.UnifiedRoleDefinition{
roleViewer,
roleViewerListGrants,
roleSpaceViewer,
roleEditor,
roleEditorListGrants,
roleEditorListGrantsWithVersions,
roleSpaceEditor,
roleSpaceEditorWithoutVersions,
roleFileEditor,
roleFileEditorListGrants,
roleFileEditorListGrantsWithVersions,
roleEditorLite,
roleManager,
roleSecureViewer,
roleDenied,
}
// roleViewer creates a viewer role. // roleViewer creates a viewer role.
roleViewer = func() *libregraph.UnifiedRoleDefinition { roleViewer = func() *libregraph.UnifiedRoleDefinition {
r := conversions.NewViewerRole() r := conversions.NewViewerRole()
@@ -246,7 +227,7 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleViewerListGrants creates a viewer role. // roleViewerListGrants creates a viewer role.
roleViewerListGrants = func() *libregraph.UnifiedRoleDefinition { roleViewerListGrants = func() *libregraph.UnifiedRoleDefinition {
@@ -275,7 +256,7 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleSpaceViewer creates a spaceviewer role // roleSpaceViewer creates a spaceviewer role
roleSpaceViewer = func() *libregraph.UnifiedRoleDefinition { roleSpaceViewer = func() *libregraph.UnifiedRoleDefinition {
@@ -292,7 +273,7 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleEditor creates an editor role. // roleEditor creates an editor role.
roleEditor = func() *libregraph.UnifiedRoleDefinition { roleEditor = func() *libregraph.UnifiedRoleDefinition {
@@ -313,7 +294,7 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleEditorListGrants creates an editor role. // roleEditorListGrants creates an editor role.
roleEditorListGrants = func() *libregraph.UnifiedRoleDefinition { roleEditorListGrants = func() *libregraph.UnifiedRoleDefinition {
@@ -334,11 +315,13 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleEditorListGrantsWithVersions creates an editor role. // roleEditorListGrantsWithVersions creates an editor-list-grants-with-versions role.
roleEditorListGrantsWithVersions = func() *libregraph.UnifiedRoleDefinition { roleEditorListGrantsWithVersions = func() *libregraph.UnifiedRoleDefinition {
r := conversions.NewEditorListGrantsWithVersionsRole() r := conversions.NewEditorListGrantsWithVersionsRole()
// TODO: Workaround to avoid reva bump - fix in reva
r.Name = conversions.RoleEditorListGrantsWithVersions
return &libregraph.UnifiedRoleDefinition{ return &libregraph.UnifiedRoleDefinition{
Id: proto.String(UnifiedRoleEditorListGrantsWithVersionsID), Id: proto.String(UnifiedRoleEditorListGrantsWithVersionsID),
Description: proto.String(_editorListGrantsWithVersionsUnifiedRoleDescription), Description: proto.String(_editorListGrantsWithVersionsUnifiedRoleDescription),
@@ -355,7 +338,7 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleSpaceEditor creates an editor role // roleSpaceEditor creates an editor role
roleSpaceEditor = func() *libregraph.UnifiedRoleDefinition { roleSpaceEditor = func() *libregraph.UnifiedRoleDefinition {
@@ -372,7 +355,7 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleSpaceEditorWithoutVersions creates an editor without versions role // roleSpaceEditorWithoutVersions creates an editor without versions role
roleSpaceEditorWithoutVersions = func() *libregraph.UnifiedRoleDefinition { roleSpaceEditorWithoutVersions = func() *libregraph.UnifiedRoleDefinition {
@@ -389,7 +372,7 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleFileEditor creates a file-editor role // roleFileEditor creates a file-editor role
roleFileEditor = func() *libregraph.UnifiedRoleDefinition { roleFileEditor = func() *libregraph.UnifiedRoleDefinition {
@@ -410,7 +393,7 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleFileEditorListGrants creates a file-editor role // roleFileEditorListGrants creates a file-editor role
roleFileEditorListGrants = func() *libregraph.UnifiedRoleDefinition { roleFileEditorListGrants = func() *libregraph.UnifiedRoleDefinition {
@@ -431,11 +414,13 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleFileEditorListGrantsWithVersions creates a file-editor role // roleFileEditorListGrantsWithVersions creates a file-editor role
roleFileEditorListGrantsWithVersions = func() *libregraph.UnifiedRoleDefinition { roleFileEditorListGrantsWithVersions = func() *libregraph.UnifiedRoleDefinition {
r := conversions.NewFileEditorListGrantsWithVersionsRole() r := conversions.NewFileEditorListGrantsWithVersionsRole()
// TODO: Workaround to avoid reva bump - fix in reva
r.Name = conversions.RoleFileEditorListGrantsWithVersions
return &libregraph.UnifiedRoleDefinition{ return &libregraph.UnifiedRoleDefinition{
Id: proto.String(UnifiedRoleFileEditorListGrantsWithVersionsID), Id: proto.String(UnifiedRoleFileEditorListGrantsWithVersionsID),
Description: proto.String(_fileEditorListGrantsWithVersionsUnifiedRoleDescription), Description: proto.String(_fileEditorListGrantsWithVersionsUnifiedRoleDescription),
@@ -452,7 +437,7 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleEditorLite creates an editor-lite role // roleEditorLite creates an editor-lite role
roleEditorLite = func() *libregraph.UnifiedRoleDefinition { roleEditorLite = func() *libregraph.UnifiedRoleDefinition {
@@ -469,7 +454,7 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleManager creates a manager role // roleManager creates a manager role
roleManager = func() *libregraph.UnifiedRoleDefinition { roleManager = func() *libregraph.UnifiedRoleDefinition {
@@ -486,7 +471,7 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleSecureViewer creates a secure viewer role // roleSecureViewer creates a secure viewer role
roleSecureViewer = func() *libregraph.UnifiedRoleDefinition { roleSecureViewer = func() *libregraph.UnifiedRoleDefinition {
@@ -507,7 +492,8 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
// roleDenied creates a secure viewer role // roleDenied creates a secure viewer role
roleDenied = func() *libregraph.UnifiedRoleDefinition { roleDenied = func() *libregraph.UnifiedRoleDefinition {
r := conversions.NewDeniedRole() r := conversions.NewDeniedRole()
@@ -523,17 +509,17 @@ var (
}, },
LibreGraphWeight: proto.Int32(0), LibreGraphWeight: proto.Int32(0),
} }
}() }
) )
// GetRoles returns a role filter that matches the provided resources // GetRoles returns a role filter that matches the provided resources
func GetRoles(f RoleFilter) []*libregraph.UnifiedRoleDefinition { func GetRoles(f RoleFilter) []*libregraph.UnifiedRoleDefinition {
return filterRoles(buildInRoles, f) return filterRoles(buildInRoles(), f)
} }
// GetRole returns a role filter that matches the provided resources // GetRole returns a role filter that matches the provided resources
func GetRole(f RoleFilter) (*libregraph.UnifiedRoleDefinition, error) { func GetRole(f RoleFilter) (*libregraph.UnifiedRoleDefinition, error) {
roles := filterRoles(buildInRoles, f) roles := filterRoles(buildInRoles(), f)
if len(roles) == 0 { if len(roles) == 0 {
return nil, ErrUnknownRole return nil, ErrUnknownRole
} }
+58 -58
View File
@@ -19,11 +19,11 @@ func TestGetDefinition(t *testing.T) {
}{ }{
"pass single": { "pass single": {
ids: []string{unifiedrole.UnifiedRoleViewerID}, ids: []string{unifiedrole.UnifiedRoleViewerID},
unifiedRoleDefinition: unifiedrole.RoleViewer, unifiedRoleDefinition: unifiedrole.RoleViewer(),
}, },
"pass many": { "pass many": {
ids: []string{unifiedrole.UnifiedRoleViewerID, unifiedrole.UnifiedRoleEditorID}, ids: []string{unifiedrole.UnifiedRoleViewerID, unifiedrole.UnifiedRoleEditorID},
unifiedRoleDefinition: unifiedrole.RoleViewer, unifiedRoleDefinition: unifiedrole.RoleViewer(),
}, },
"fail unknown": { "fail unknown": {
ids: []string{"unknown"}, ids: []string{"unknown"},
@@ -55,26 +55,26 @@ func TestWeightDefinitions(t *testing.T) {
}{ }{
"ascending": { "ascending": {
[]*libregraph.UnifiedRoleDefinition{ []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
unifiedrole.RoleFileEditor, unifiedrole.RoleFileEditor(),
}, },
unifiedrole.UnifiedRoleConditionFile, unifiedrole.UnifiedRoleConditionFile,
false, false,
[]*libregraph.UnifiedRoleDefinition{ []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
unifiedrole.RoleFileEditor, unifiedrole.RoleFileEditor(),
}, },
}, },
"descending": { "descending": {
[]*libregraph.UnifiedRoleDefinition{ []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
unifiedrole.RoleFileEditor, unifiedrole.RoleFileEditor(),
}, },
unifiedrole.UnifiedRoleConditionFile, unifiedrole.UnifiedRoleConditionFile,
true, true,
[]*libregraph.UnifiedRoleDefinition{ []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleFileEditor, unifiedrole.RoleFileEditor(),
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
}, },
}, },
} }
@@ -97,100 +97,100 @@ func TestGetRolesByPermissions(t *testing.T) {
unifiedRoleDefinition []*libregraph.UnifiedRoleDefinition unifiedRoleDefinition []*libregraph.UnifiedRoleDefinition
}{ }{
"RoleViewer | folder": { "RoleViewer | folder": {
givenActions: getRoleActions(unifiedrole.RoleViewer), givenActions: getRoleActions(unifiedrole.RoleViewer()),
constraints: unifiedrole.UnifiedRoleConditionFolder, constraints: unifiedrole.UnifiedRoleConditionFolder,
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{ unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleSecureViewer, unifiedrole.RoleSecureViewer(),
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
}, },
}, },
"RoleViewer | file": { "RoleViewer | file": {
givenActions: getRoleActions(unifiedrole.RoleViewer), givenActions: getRoleActions(unifiedrole.RoleViewer()),
constraints: unifiedrole.UnifiedRoleConditionFile, constraints: unifiedrole.UnifiedRoleConditionFile,
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{ unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleSecureViewer, unifiedrole.RoleSecureViewer(),
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
}, },
}, },
"RoleViewer | file | federated": { "RoleViewer | file | federated": {
givenActions: getRoleActions(unifiedrole.RoleViewer), givenActions: getRoleActions(unifiedrole.RoleViewer()),
constraints: unifiedrole.UnifiedRoleConditionFile, constraints: unifiedrole.UnifiedRoleConditionFile,
listFederatedRoles: true, listFederatedRoles: true,
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{ unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
}, },
}, },
"RoleFileEditor | file": { "RoleFileEditor | file": {
givenActions: getRoleActions(unifiedrole.RoleFileEditor), givenActions: getRoleActions(unifiedrole.RoleFileEditor()),
constraints: unifiedrole.UnifiedRoleConditionFile, constraints: unifiedrole.UnifiedRoleConditionFile,
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{ unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleSecureViewer, unifiedrole.RoleSecureViewer(),
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
unifiedrole.RoleFileEditor, unifiedrole.RoleFileEditor(),
}, },
}, },
"RoleEditor | folder": { "RoleEditor | folder": {
givenActions: getRoleActions(unifiedrole.RoleEditor), givenActions: getRoleActions(unifiedrole.RoleEditor()),
constraints: unifiedrole.UnifiedRoleConditionFolder, constraints: unifiedrole.UnifiedRoleConditionFolder,
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{ unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleSecureViewer, unifiedrole.RoleSecureViewer(),
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
unifiedrole.RoleEditorLite, unifiedrole.RoleEditorLite(),
unifiedrole.RoleEditor, unifiedrole.RoleEditor(),
}, },
}, },
"RoleEditor | folder | federated": { "RoleEditor | folder | federated": {
givenActions: getRoleActions(unifiedrole.RoleEditor), givenActions: getRoleActions(unifiedrole.RoleEditor()),
constraints: unifiedrole.UnifiedRoleConditionFolder, constraints: unifiedrole.UnifiedRoleConditionFolder,
listFederatedRoles: true, listFederatedRoles: true,
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{ unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
unifiedrole.RoleEditor, unifiedrole.RoleEditor(),
}, },
}, },
"RoleEditor | file | federated": { "RoleEditor | file | federated": {
givenActions: getRoleActions(unifiedrole.RoleEditor), givenActions: getRoleActions(unifiedrole.RoleEditor()),
constraints: unifiedrole.UnifiedRoleConditionFile, constraints: unifiedrole.UnifiedRoleConditionFile,
listFederatedRoles: true, listFederatedRoles: true,
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{ unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
unifiedrole.RoleFileEditor, unifiedrole.RoleFileEditor(),
}, },
}, },
"BuildInRoles | file": { "BuildInRoles | file": {
givenActions: getRoleActions(unifiedrole.BuildInRoles...), givenActions: getRoleActions(unifiedrole.BuildInRoles()...),
constraints: unifiedrole.UnifiedRoleConditionFile, constraints: unifiedrole.UnifiedRoleConditionFile,
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{ unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleSecureViewer, unifiedrole.RoleSecureViewer(),
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
unifiedrole.RoleViewerListGrants, unifiedrole.RoleViewerListGrants(),
unifiedrole.RoleFileEditor, unifiedrole.RoleFileEditor(),
unifiedrole.RoleFileEditorListGrants, unifiedrole.RoleFileEditorListGrants(),
unifiedrole.RoleFileEditorListGrantsWithVersions, unifiedrole.RoleFileEditorListGrantsWithVersions(),
}, },
}, },
"BuildInRoles | folder": { "BuildInRoles | folder": {
givenActions: getRoleActions(unifiedrole.BuildInRoles...), givenActions: getRoleActions(unifiedrole.BuildInRoles()...),
constraints: unifiedrole.UnifiedRoleConditionFolder, constraints: unifiedrole.UnifiedRoleConditionFolder,
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{ unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleDenied, unifiedrole.RoleDenied(),
unifiedrole.RoleSecureViewer, unifiedrole.RoleSecureViewer(),
unifiedrole.RoleViewer, unifiedrole.RoleViewer(),
unifiedrole.RoleViewerListGrants, unifiedrole.RoleViewerListGrants(),
unifiedrole.RoleEditorLite, unifiedrole.RoleEditorLite(),
unifiedrole.RoleEditor, unifiedrole.RoleEditor(),
unifiedrole.RoleEditorListGrants, unifiedrole.RoleEditorListGrants(),
unifiedrole.RoleEditorListGrantsWithVersions, unifiedrole.RoleEditorListGrantsWithVersions(),
}, },
}, },
"BuildInRoles | drive": { "BuildInRoles | drive": {
givenActions: getRoleActions(unifiedrole.BuildInRoles...), givenActions: getRoleActions(unifiedrole.BuildInRoles()...),
constraints: unifiedrole.UnifiedRoleConditionDrive, constraints: unifiedrole.UnifiedRoleConditionDrive,
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{ unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleSpaceViewer, unifiedrole.RoleSpaceViewer(),
unifiedrole.RoleSpaceEditorWithoutVersions, unifiedrole.RoleSpaceEditorWithoutVersions(),
unifiedrole.RoleSpaceEditor, unifiedrole.RoleSpaceEditor(),
unifiedrole.RoleManager, unifiedrole.RoleManager(),
}, },
}, },
"custom | file": { "custom | file": {
@@ -199,11 +199,11 @@ func TestGetRolesByPermissions(t *testing.T) {
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{}, unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{},
}, },
"RoleEditorLite and custom | folder": { "RoleEditorLite and custom | folder": {
givenActions: append(getRoleActions(unifiedrole.RoleEditorLite), unifiedrole.DriveItemQuotaRead), givenActions: append(getRoleActions(unifiedrole.RoleEditorLite()), unifiedrole.DriveItemQuotaRead),
constraints: unifiedrole.UnifiedRoleConditionFolder, constraints: unifiedrole.UnifiedRoleConditionFolder,
unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{ unifiedRoleDefinition: []*libregraph.UnifiedRoleDefinition{
unifiedrole.RoleSecureViewer, unifiedrole.RoleSecureViewer(),
unifiedrole.RoleEditorLite, unifiedrole.RoleEditorLite(),
}, },
}, },
} }
@@ -211,7 +211,7 @@ func TestGetRolesByPermissions(t *testing.T) {
for name, tc := range tests { for name, tc := range tests {
t.Run(name, func(t *testing.T) { t.Run(name, func(t *testing.T) {
g := NewWithT(t) g := NewWithT(t)
generatedDefinitions := unifiedrole.GetRolesByPermissions(unifiedrole.BuildInRoles, tc.givenActions, tc.constraints, tc.listFederatedRoles, false) generatedDefinitions := unifiedrole.GetRolesByPermissions(unifiedrole.BuildInRoles(), tc.givenActions, tc.constraints, tc.listFederatedRoles, false)
g.Expect(len(generatedDefinitions)).To(Equal(len(tc.unifiedRoleDefinition))) g.Expect(len(generatedDefinitions)).To(Equal(len(tc.unifiedRoleDefinition)))
+2 -1
View File
@@ -708,7 +708,8 @@ func translateBundle(bundle *settingsmsg.Bundle, t *gotext.Locale) *settingsmsg.
defaults.SettingUUIDProfileEventSpaceUnshared, defaults.SettingUUIDProfileEventSpaceUnshared,
defaults.SettingUUIDProfileEventSpaceMembershipExpired, defaults.SettingUUIDProfileEventSpaceMembershipExpired,
defaults.SettingUUIDProfileEventSpaceDisabled, defaults.SettingUUIDProfileEventSpaceDisabled,
defaults.SettingUUIDProfileEventSpaceDeleted: defaults.SettingUUIDProfileEventSpaceDeleted,
defaults.SettingUUIDProfileEventPostprocessingStepFinished:
// translate event names ('Share Received', 'Share Removed', ...) // translate event names ('Share Received', 'Share Removed', ...)
set.DisplayName = t.Get(set.GetDisplayName()) set.DisplayName = t.Get(set.GetDisplayName())
// translate event descriptions ('Notify me when I receive a share', ...) // translate event descriptions ('Notify me when I receive a share', ...)
+1 -1
View File
@@ -1,6 +1,6 @@
SHELL := bash SHELL := bash
NAME := web NAME := web
WEB_ASSETS_VERSION = v11.3.0 WEB_ASSETS_VERSION = v11.3.4
include ../../.make/recursion.mk include ../../.make/recursion.mk
+1 -1
View File
@@ -2,7 +2,7 @@
sonar.projectKey=owncloud_ocis sonar.projectKey=owncloud_ocis
sonar.organization=owncloud-1 sonar.organization=owncloud-1
sonar.projectName=ocis sonar.projectName=ocis
sonar.projectVersion=7.1.0-rc.5 sonar.projectVersion=7.1.3
sonar.host.url=https://sonarcloud.io sonar.host.url=https://sonarcloud.io
# ===================================================== # =====================================================
@@ -329,8 +329,8 @@ The expected failures in this file are from features in the owncloud/ocis repo.
- [apiOcm/acceptInvitation.feature:148](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/acceptInvitation.feature#L148) - [apiOcm/acceptInvitation.feature:148](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/acceptInvitation.feature#L148)
#### [[OCM] Sharee can access expired federated share](https://github.com/owncloud/ocis/issues/11033) #### [[OCM] Sharee can access expired federated share](https://github.com/owncloud/ocis/issues/11033)
- [apiOcm/share.feature:1154](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1154) - [apiOcm/share.feature:1158](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1158)
- [apiOcm/share.feature:1174](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1174) - [apiOcm/share.feature:1178](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiOcm/share.feature#L1178)
Note: always have an empty line at the end of this file. Note: always have an empty line at the end of this file.
The bash script that processes this file requires that the last line has a newline on the end. The bash script that processes this file requires that the last line has a newline on the end.
@@ -211,7 +211,7 @@ Feature: permissions role definitions
"const": "View, download, upload, edit, add and delete." "const": "View, download, upload, edit, add and delete."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21" "const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -359,7 +359,7 @@ Feature: permissions role definitions
"const": "View, download and edit." "const": "View, download and edit."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" "const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -756,4 +756,4 @@ Feature: permissions role definitions
} }
} }
} }
""" """
@@ -1012,7 +1012,11 @@ Feature: an user shares resources using ScienceMesh application
"maxItems": 1, "maxItems": 1,
"items": { "items": {
"type": "object", "type": "object",
"required": ["@libre.graph.permissions.actions"] "properties": {
"@libre.graph.permissions.actions": {
"type": "null"
}
}
} }
} }
} }
@@ -90,7 +90,7 @@ Feature: filter sharing permissions
"const": "View, download, upload, edit, add and delete." "const": "View, download, upload, edit, add and delete."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21" "const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -189,7 +189,7 @@ Feature: filter sharing permissions
"const": "View, download and edit." "const": "View, download and edit."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" "const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -334,7 +334,7 @@ Feature: filter sharing permissions
"const": "View, download, upload, edit, add and delete." "const": "View, download, upload, edit, add and delete."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21" "const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -456,7 +456,7 @@ Feature: filter sharing permissions
"const": "View, download and edit." "const": "View, download and edit."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" "const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -554,7 +554,7 @@ Feature: filter sharing permissions
"const": "View, download, upload, edit, add and delete." "const": "View, download, upload, edit, add and delete."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21" "const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -653,7 +653,7 @@ Feature: filter sharing permissions
"const": "View, download and edit." "const": "View, download and edit."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" "const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -778,7 +778,7 @@ Feature: filter sharing permissions
"const": "View, download and edit." "const": "View, download and edit."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" "const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -926,7 +926,7 @@ Feature: filter sharing permissions
"const": "View, download, upload, edit, add and delete." "const": "View, download, upload, edit, add and delete."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21" "const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -1051,7 +1051,7 @@ Feature: filter sharing permissions
"const": "View, download, upload, edit, add and delete." "const": "View, download, upload, edit, add and delete."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21" "const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -1153,7 +1153,7 @@ Feature: filter sharing permissions
"const": "View, download and edit." "const": "View, download and edit."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" "const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -1206,7 +1206,7 @@ Feature: filter sharing permissions
"properties": { "properties": {
"@libre.graph.weight": {"const": 2}, "@libre.graph.weight": {"const": 2},
"description": {"const": "View, download and edit."}, "description": {"const": "View, download and edit."},
"displayName": {"const": "Can edit"}, "displayName": {"const": "Can edit without versions"},
"id": {"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" } "id": {"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" }
} }
} }
@@ -1256,7 +1256,7 @@ Feature: filter sharing permissions
"properties": { "properties": {
"@libre.graph.weight": {"const": 2}, "@libre.graph.weight": {"const": 2},
"description": {"const": "View, download, upload, edit, add and delete."}, "description": {"const": "View, download, upload, edit, add and delete."},
"displayName": {"const": "Can edit"}, "displayName": {"const": "Can edit without versions"},
"id": {"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"} "id": {"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"}
} }
} }
@@ -1309,7 +1309,7 @@ Feature: filter sharing permissions
"properties": { "properties": {
"@libre.graph.weight": {"const": 2}, "@libre.graph.weight": {"const": 2},
"description": {"const": "View, download and edit."}, "description": {"const": "View, download and edit."},
"displayName": {"const": "Can edit"}, "displayName": {"const": "Can edit without versions"},
"id": {"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"} "id": {"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"}
} }
} }
@@ -1362,7 +1362,7 @@ Feature: filter sharing permissions
"properties": { "properties": {
"@libre.graph.weight": {"const": 2}, "@libre.graph.weight": {"const": 2},
"description": {"const": "View, download, upload, edit, add and delete."}, "description": {"const": "View, download, upload, edit, add and delete."},
"displayName": {"const": "Can edit"}, "displayName": {"const": "Can edit without versions"},
"id": {"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"} "id": {"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"}
} }
} }
@@ -112,7 +112,7 @@ Feature: List a sharing permissions
"const": "View, download, upload, edit, add and delete." "const": "View, download, upload, edit, add and delete."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21" "const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -609,7 +609,7 @@ Feature: List a sharing permissions
"const": "View, download and edit." "const": "View, download and edit."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" "const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -732,7 +732,7 @@ Feature: List a sharing permissions
"const": "View, download, upload, edit, add and delete." "const": "View, download, upload, edit, add and delete."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "fb6c3e19-e378-47e5-b277-9732f9de6e21" "const": "fb6c3e19-e378-47e5-b277-9732f9de6e21"
@@ -832,7 +832,7 @@ Feature: List a sharing permissions
"const": "View, download and edit." "const": "View, download and edit."
}, },
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
}, },
"id": { "id": {
"const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a" "const": "2d00ce52-1fc2-4dbc-8b95-a73b73395f5a"
@@ -2239,7 +2239,7 @@ Feature: List a sharing permissions
], ],
"properties": { "properties": {
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
} }
} }
} }
@@ -2428,7 +2428,7 @@ Feature: List a sharing permissions
], ],
"properties": { "properties": {
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
} }
} }
} }
@@ -2525,7 +2525,7 @@ Feature: List a sharing permissions
], ],
"properties": { "properties": {
"displayName": { "displayName": {
"const": "Can edit" "const": "Can edit without versions"
} }
} }
} }
+46
View File
@@ -0,0 +1,46 @@
#!/usr/bin/env bash
set -e
COMMIT_SHA_SHORT=${DRONE_COMMIT:0:8}
BUILD_STATUS="✅ Success"
ROOMID="!rnWsCVUmDHDJbiSPMM:matrix.org"
# helper functions
log_error() {
echo -e "\e[31m$1\e[0m"
}
log_info() {
echo -e "\e[37m$1\e[0m"
}
log_success() {
echo -e "\e[32m$1\e[0m"
}
if [[ "$DRONE_BUILD_STATUS" == "failure" ]]; then
BUILD_STATUS="❌️ Failure"
fi
message_html='<b>'$BUILD_STATUS'</b> <a href="'${DRONE_BUILD_LINK}'">'${DRONE_REPO}'#'$COMMIT_SHA_SHORT'</a> ('${DRONE_BRANCH}') by <b>'${DRONE_COMMIT_AUTHOR}'</b>'
message_html=$(echo "$message_html" | sed 's/\\/\\\\/g' | sed 's/"/\\"/g')
log_info "Sending report to the element chat...."
response=$(curl -s -o /dev/null -X PUT -w "%{http_code}" 'https://matrix.org/_matrix/client/v3/rooms/'$ROOMID'/send/m.room.message/'$(date +%s) \
-H "Authorization: Bearer "$MATRIX_TOKEN \
-H 'Content-Type: application/json' \
-d '{
"msgtype": "m.text",
"body": "'"$message_html"'",
"format": "org.matrix.custom.html",
"formatted_body": "'"$message_html"'"
}')
if [[ "$response" != "200" ]]; then
log_error "❌ Error: Failed to send notification to element. Expected status code 200, but got $response."
exit 1
fi
log_success "✅ Notification successfully sent to Element chat (ownCloud Infinite Scale Alerts)"
@@ -70,9 +70,6 @@ func (w *WebDAV) ToOCMProtocol() *ocm.Protocol {
perms.Permissions.CreateContainer = true perms.Permissions.CreateContainer = true
perms.Permissions.Delete = true perms.Permissions.Delete = true
perms.Permissions.Move = true perms.Permissions.Move = true
perms.Permissions.ListGrants = true
case "share":
perms.Reshare = true
} }
} }
+11 -6
View File
@@ -46,8 +46,8 @@ func init() {
} }
type manager struct { type manager struct {
c *config c *config
gw gateway.GatewayAPIClient gateway *pool.Selector[gateway.GatewayAPIClient]
} }
type config struct { type config struct {
@@ -64,11 +64,11 @@ func New(m map[string]interface{}) (auth.Manager, error) {
if err := mgr.Configure(m); err != nil { if err := mgr.Configure(m); err != nil {
return nil, err return nil, err
} }
gw, err := pool.GetGatewayServiceClient(mgr.c.GatewayAddr) gw, err := pool.GatewaySelector(mgr.c.GatewayAddr)
if err != nil { if err != nil {
return nil, err return nil, err
} }
mgr.gw = gw mgr.gateway = gw
return &mgr, nil return &mgr, nil
} }
@@ -84,8 +84,13 @@ func (m *manager) Configure(ml map[string]interface{}) error {
func (m *manager) Authenticate(ctx context.Context, ocmshare, sharedSecret string) (*userpb.User, map[string]*authpb.Scope, error) { func (m *manager) Authenticate(ctx context.Context, ocmshare, sharedSecret string) (*userpb.User, map[string]*authpb.Scope, error) {
log := appctx.GetLogger(ctx).With().Str("ocmshare", ocmshare).Logger() log := appctx.GetLogger(ctx).With().Str("ocmshare", ocmshare).Logger()
gwc, err := m.gateway.Next()
if err != nil {
return nil, nil, err
}
// We need to use GetOCMShareByToken, as GetOCMShare would require a user in the context // We need to use GetOCMShareByToken, as GetOCMShare would require a user in the context
shareRes, err := m.gw.GetOCMShareByToken(ctx, &ocm.GetOCMShareByTokenRequest{ shareRes, err := gwc.GetOCMShareByToken(ctx, &ocm.GetOCMShareByTokenRequest{
Token: sharedSecret, Token: sharedSecret,
}) })
@@ -128,7 +133,7 @@ func (m *manager) Authenticate(ctx context.Context, ocmshare, sharedSecret strin
}, },
} }
userRes, err := m.gw.GetAcceptedUser(ctx, &ocminvite.GetAcceptedUserRequest{ userRes, err := gwc.GetAcceptedUser(ctx, &ocminvite.GetAcceptedUserRequest{
RemoteUserId: u, RemoteUserId: u,
Opaque: o, Opaque: o,
}) })
+6
View File
@@ -114,6 +114,7 @@ type CapabilitiesCore struct {
type CapabilitiesGraph struct { type CapabilitiesGraph struct {
PersonalDataExport ocsBool `json:"personal-data-export" xml:"personal-data-export" mapstructure:"personal_data_export"` PersonalDataExport ocsBool `json:"personal-data-export" xml:"personal-data-export" mapstructure:"personal_data_export"`
Users CapabilitiesGraphUsers `json:"users" xml:"users" mapstructure:"users"` Users CapabilitiesGraphUsers `json:"users" xml:"users" mapstructure:"users"`
Tags CapabilitiesGraphTags `json:"tags" xml:"tags" mapstructure:"tags"`
} }
// CapabilitiesPasswordPolicy hold the password policy capabilities // CapabilitiesPasswordPolicy hold the password policy capabilities
@@ -135,6 +136,11 @@ type CapabilitiesGraphUsers struct {
ChangePasswordSelfDisabled ocsBool `json:"change_password_self_disabled" xml:"change_password_self_disabled" mapstructure:"change_password_self_disabled"` ChangePasswordSelfDisabled ocsBool `json:"change_password_self_disabled" xml:"change_password_self_disabled" mapstructure:"change_password_self_disabled"`
} }
// CapabilitiesGraphTags holds the graph tags capabilities
type CapabilitiesGraphTags struct {
MaxTagLength int `json:"max_tag_length" xml:"max_tag_length" mapstructure:"max_tag_length"`
}
// Status holds basic status information // Status holds basic status information
type Status struct { type Status struct {
Installed ocsBool `json:"installed" xml:"installed"` Installed ocsBool `json:"installed" xml:"installed"`
@@ -66,7 +66,10 @@ func (session *OcisSession) WriteChunk(ctx context.Context, offset int64, src io
_, subspan := tracer.Start(ctx, "os.OpenFile") _, subspan := tracer.Start(ctx, "os.OpenFile")
file, err := os.OpenFile(session.binPath(), os.O_WRONLY|os.O_APPEND, defaultFilePerm) file, err := os.OpenFile(session.binPath(), os.O_WRONLY|os.O_APPEND, defaultFilePerm)
subspan.End() subspan.End()
log := appctx.GetLogger(ctx)
if err != nil { if err != nil {
log.Error().Err(err).Msg("WriteChunk: error opening upload file")
return 0, err return 0, err
} }
defer file.Close() defer file.Close()
@@ -84,6 +87,7 @@ func (session *OcisSession) WriteChunk(ctx context.Context, offset int64, src io
// However, for the ocis driver it's not important whether the stream has ended // However, for the ocis driver it's not important whether the stream has ended
// on purpose or accidentally. // on purpose or accidentally.
if err != nil && err != io.ErrUnexpectedEOF { if err != nil && err != io.ErrUnexpectedEOF {
log.Error().Err(err).Msg("WriteChunk: error copying data to upload file")
return n, err return n, err
} }
@@ -112,6 +116,13 @@ func (session *OcisSession) GetReader(ctx context.Context) (io.ReadCloser, error
func (session *OcisSession) FinishUpload(ctx context.Context) error { func (session *OcisSession) FinishUpload(ctx context.Context) error {
err := session.FinishUploadDecomposed(ctx) err := session.FinishUploadDecomposed(ctx)
if err != nil {
// this is part of the tusd integration and we might be able to
// log the error in another place
log := appctx.GetLogger(ctx)
log.Error().Err(err).Msg("failed to finish upload")
}
// we need to return a tusd error here to make the tusd handler return the correct status code // we need to return a tusd error here to make the tusd handler return the correct status code
switch err.(type) { switch err.(type) {
case errtypes.AlreadyExists: case errtypes.AlreadyExists:
+89 -38
View File
@@ -19,7 +19,9 @@
package tags package tags
import ( import (
"fmt"
"strings" "strings"
"unicode/utf8"
) )
var ( var (
@@ -42,35 +44,45 @@ type Tags struct {
// New creates a Tag struct from a slice of tags, e.g. ["tag1", "tag2"] or a list of tags, e.g. "tag1,tag2" // New creates a Tag struct from a slice of tags, e.g. ["tag1", "tag2"] or a list of tags, e.g. "tag1,tag2"
func New(ts ...string) *Tags { func New(ts ...string) *Tags {
t := &Tags{sep: _tagsep, maxtags: _maxtags, exists: make(map[string]bool), t: make([]string, 0)} t := &Tags{sep: _tagsep, maxtags: _maxtags, exists: make(map[string]bool), t: make([]string, 0)}
t.addTags(ts) t.addTags(t.normalize(ts))
return t return t
} }
// Add appends a list of new tags and returns true if at least one was appended // Add appends a list of new tags and returns true if at least one was appended
func (t *Tags) Add(ts ...string) bool { func (t *Tags) Add(ts ...string) bool {
return len(t.addTags(ts)) > 0 return len(t.addTags(t.normalize(ts))) > 0
}
// AddValidated appends a list of new tags and validates them using the provided validator function
// It returns true if at least one was appended and an error if the validation failed
func (t *Tags) AddValidated(validator func([]string) error, ts ...string) (bool, error) {
newTags := t.normalize(ts)
err := validator(newTags)
if err != nil {
return false, err
}
return len(t.addTags(newTags)) > 0, nil
} }
// Remove removes a list of tags and returns true if at least one was removed // Remove removes a list of tags and returns true if at least one was removed
func (t *Tags) Remove(s ...string) bool { func (t *Tags) Remove(s ...string) bool {
var removed bool var removed bool
tags := t.normalize(s)
for _, tt := range s { for _, tag := range tags {
for _, tag := range strings.Split(tt, t.sep) { if !t.exists[tag] {
if !t.exists[tag] { continue
continue
}
for i, tt := range t.t {
if tt == tag {
t.t = append(t.t[:i], t.t[i+1:]...)
break
}
}
delete(t.exists, tag)
removed = true
} }
for i, tt := range t.t {
if tt == tag {
t.t = append(t.t[:i], t.t[i+1:]...)
break
}
}
delete(t.exists, tag)
removed = true
} }
return removed return removed
} }
@@ -86,31 +98,70 @@ func (t *Tags) AsSlice() []string {
} }
// adds the tags and returns a list of added tags // adds the tags and returns a list of added tags
// the function receiving a normalized slice of tags, e.g.["tag1", "tag2"]
func (t *Tags) addTags(s []string) []string { func (t *Tags) addTags(s []string) []string {
added := make([]string, 0) added := make([]string, 0, len(t.t)+len(s))
for _, tt := range s { for _, tag := range s {
for _, tag := range strings.Split(tt, t.sep) { if tag == "" {
if tag == "" { // ignore empty tags
// ignore empty tags continue
continue
}
if t.exists[tag] {
// tag is already existing
continue
}
if t.numtags >= t.maxtags {
// max number of tags reached. We return silently without warning anyone
break
}
added = append(added, tag)
t.exists[tag] = true
t.numtags++
} }
if t.exists[tag] {
// tag is already existing
continue
}
if t.numtags >= t.maxtags {
// max number of tags reached. We return silently without warning anyone
break
}
added = append(added, tag)
t.exists[tag] = true
t.numtags++
} }
t.t = append(added, t.t...) t.t = append(added, t.t...)
return added return added
} }
// normalize splits the tags and removes empty tags
// the function receiving a slice of tags, e.g.["tag1", "tag2"] or a list of tags, e.g."tag1,tag2" or mixed.
func (t *Tags) normalize(s []string) []string {
res := make([]string, 0, t.maxtags/2)
for _, tt := range s {
for _, tag := range strings.Split(tt, t.sep) {
ttr := strings.TrimSpace(tag)
if ttr == "" {
// ignore empty tags
continue
}
res = append(res, ttr)
}
}
return res
}
// MaxLengthValidator returns a function that validates the length of each tag in a slice
func MaxLengthValidator(maxTagLength int) func([]string) error {
if maxTagLength <= 0 {
return func(tags []string) error { return nil }
}
return func(tags []string) error {
t := make([]string, 0, maxTagLength)
for _, tag := range tags {
if !utf8.ValidString(tag) {
return fmt.Errorf("tag [%s] contains invalid characters", tag)
}
if utf8.RuneCount([]byte(tag)) > maxTagLength {
t = append(t, tag)
continue
}
}
if len(t) > 0 {
return fmt.Errorf("tag [%s] too long, max length is %d", strings.Join(t, ", "), maxTagLength)
}
return nil
}
}
+2 -1
View File
@@ -371,7 +371,7 @@ github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1
github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1 github.com/cs3org/go-cs3apis/cs3/storage/registry/v1beta1
github.com/cs3org/go-cs3apis/cs3/tx/v1beta1 github.com/cs3org/go-cs3apis/cs3/tx/v1beta1
github.com/cs3org/go-cs3apis/cs3/types/v1beta1 github.com/cs3org/go-cs3apis/cs3/types/v1beta1
# github.com/cs3org/reva/v2 v2.27.6 # github.com/cs3org/reva/v2 v2.27.7 => github.com/owncloud/reva/v2 v2.0.0-20250526202834-eda90d6d516a
## explicit; go 1.22.7 ## explicit; go 1.22.7
github.com/cs3org/reva/v2/cmd/revad/internal/grace github.com/cs3org/reva/v2/cmd/revad/internal/grace
github.com/cs3org/reva/v2/cmd/revad/runtime github.com/cs3org/reva/v2/cmd/revad/runtime
@@ -2408,3 +2408,4 @@ stash.kopano.io/kgol/rndm
# github.com/unrolled/secure => github.com/DeepDiver1975/secure v0.0.0-20240611112133-abc838fb797c # github.com/unrolled/secure => github.com/DeepDiver1975/secure v0.0.0-20240611112133-abc838fb797c
# github.com/go-micro/plugins/v4/store/nats-js-kv => github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240807130109-f62bb67e8c90 # github.com/go-micro/plugins/v4/store/nats-js-kv => github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240807130109-f62bb67e8c90
# go-micro.dev/v4 => github.com/kobergj/go-micro/v4 v4.0.0-20250117084952-d07d30666b7c # go-micro.dev/v4 => github.com/kobergj/go-micro/v4 v4.0.0-20250117084952-d07d30666b7c
# github.com/cs3org/reva/v2 => github.com/owncloud/reva/v2 v2.0.0-20250526202834-eda90d6d516a