Compare commits

...
366 Commits
Author SHA1 Message Date
jkoberg 79c60b505c feat(ocis): prepare release
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-12-16 10:49:35 +01:00
ownClouders f8f4805d64 [tx] updated from transifex 2024-12-16 00:21:22 +00:00
ownClouders ab1d7053d8 [tx] updated from transifex 2024-12-15 00:47:19 +00:00
ownClouders 7eb8ae84bd [tx] updated from transifex 2024-12-14 00:20:23 +00:00
Sawjan Gurung fbf49a747f Merge pull request #10624 from owncloud/set-chunking-version
[tests-only][full-ci] refactor: Set chunking version 1 as default
2024-12-13 11:25:54 +05:45
pradip e4a836503f test(refactor): refactor some scenarios to the original and step definition 2024-12-13 10:02:41 +05:45
Michael Barz 09536fa650 Automated changelog update [skip ci] 2024-12-12 14:55:52 +00:00
Michael Barz 4bf95bd684 Merge pull request #10766 from owncloud/bump-reva
[full-ci] chore: bump reva to 2.27.0
2024-12-12 15:55:18 +01:00
Michael Barz 21dfd1147b chore: bump reva to 2.27.0 2024-12-12 13:39:19 +01:00
Martin 8738c56942 Merge pull request #10765 from owncloud/update_example_images
[docs-only] Update deployment example images
2024-12-12 12:07:20 +01:00
Martin Mattel 4c43661664 [docs-only] Update deployment example images 2024-12-12 11:58:34 +01:00
Sabin Panta 51982d7fa4 Merge pull request #10764 from owncloud/report-time-remove-from-failur
[tests-only][full-ci] tests: updated issue list in expected failure file
2024-12-12 15:20:34 +05:45
Niraj Acharya 1c96c2fbb0 tests: updated expected failure list 2024-12-12 14:05:00 +05:45
Sawjan Gurung 123aab9675 Merge pull request #10247 from owncloud/tests/test-coverage-7815-parent-id
[tests-only][full-ci] check parent-id of shares
2024-12-12 10:00:46 +05:45
Sawjan Gurung 749074e2cd Merge pull request #10745 from owncloud/test-remaning-quota-bug
[tests-only][full-ci]adding test coverage for remaining quota
2024-12-12 09:35:20 +05:45
ownClouders adad85a9a2 [tx] updated from transifex 2024-12-12 00:53:05 +00:00
Michael Barz 4663e88403 Merge pull request #10762 from rhafer/remove-ssh-key
Remove my ssh key for cd deployments
2024-12-11 13:42:16 +01:00
Ralf Haferkamp 7305694eb3 Remove my ssh key for cd deployments 2024-12-11 12:47:28 +01:00
Michael Barz 44ca518735 Automated changelog update [skip ci] 2024-12-11 10:00:17 +00:00
Michael Barz 3afea693fd Merge pull request #10743 from aduffeck/unifi-logging
Unifi logging
2024-12-11 10:59:40 +01:00
Michael Barz 24907d7ebb chore: bump reva to latest edge 2024-12-11 10:24:24 +01:00
André Duffeck ccdd08b152 Pass the initialized logger to ReverseProxy for error logging 2024-12-11 10:24:00 +01:00
André Duffeck ab5c9703c1 Adapt to changed interface in reva 2024-12-11 10:24:00 +01:00
Niraj Acharya 6848667292 adding test coverage for remaning quota bug 2024-12-11 14:59:38 +05:45
Sabin Panta 1d2a868fba Merge pull request #10662 from owncloud/test-auth-app-token-api
[tests-only][full-ci]add test for creating and listing auth token for an app using api
2024-12-11 12:31:48 +05:45
Saw-jan 7546e476be test: allow items check for multiple array items 2024-12-11 11:55:47 +05:45
Niraj Acharya 6c00b5d26b add test for creating auth tocken for an app using api 2024-12-11 11:54:30 +05:45
Saw-jan 669a5eb2bc tests: add to expected-failure 2024-12-11 11:25:45 +05:45
Saw-jan 158cede97f test: check file-parent id in shares propfind 2024-12-11 11:25:45 +05:45
Sawjan Gurung 1074b259f9 Merge pull request #10758 from owncloud/tests/update-expected-failure-lines
[tests-only][full-ci] update expected failure list
2024-12-11 11:25:20 +05:45
Saw-jan 0edc99340f tests: updated expected failure list 2024-12-11 09:56:18 +05:45
Sabin Panta 930f9053d8 Merge pull request #10722 from owncloud/list-permission-denied
[tests-only][full-ci] adding test for listing permission of a folder in personal and project space with denied role enabled
2024-12-11 09:23:11 +05:45
ownClouders b725c175ef [tx] updated from transifex 2024-12-11 00:21:21 +00:00
Roman Perekhod 9925627c91 Automated changelog update [skip ci] 2024-12-10 11:32:41 +00:00
Roman Perekhod fac368acfa Merge pull request #10757 from 2403905/issue-e7004-2
Made GetScopeByKeyPrefix function as a private method of the FileConnector
2024-12-10 12:31:22 +01:00
kobergj ffe56dbb6f Automated changelog update [skip ci] 2024-12-10 11:28:39 +00:00
kobergj 4df9532fd3 Merge pull request #10738 from owncloud/webdav_format_lastmodified
fix: change the format to RFC1123 to follow the specs
2024-12-10 12:27:00 +01:00
Juan Pablo Villafáñez 2e3f21afbb fix: fix date formatting 2024-12-10 10:21:08 +01:00
Roman Perekhod 8d1f990abd Made GetScopeByKeyPrefix function as a private method of the FileConnector 2024-12-10 10:08:30 +01:00
Roman Perekhod 8006b5d25e Automated changelog update [skip ci] 2024-12-10 08:39:01 +00:00
Roman Perekhod 0cc51c4cff Merge pull request #10663 from 2403905/issue-10295
Fix link activity message
2024-12-10 09:38:03 +01:00
Lukas Hirt e15dac85e9 Merge pull request #10755 from owncloud/chore/update-web-to-11.0.6
[full-ci] chore: bump web to 11.0.6
2024-12-10 09:36:10 +01:00
Lukas Hirt ed8342de5d chore: bump web to 11.0.6 2024-12-10 09:01:59 +01:00
pradip 4515240a67 test(refactor): remove variable in other code 2024-12-10 11:28:57 +05:45
pradip 3b9ee2e49f refactor: set chunking version 1 as default 2024-12-10 11:28:57 +05:45
Sawjan Gurung 6866f5a664 Merge pull request #10737 from owncloud/tests/update-issue-tag
[tests-only] update issue tags
2024-12-10 09:31:25 +05:45
Michael Barz 154feaaef9 Automated changelog update [skip ci] 2024-12-09 18:20:16 +00:00
Michael Barz c527d98b27 Merge pull request #10749 from owncloud/release-7.0.0-rc.4
[full-ci][k6-tests] chore: prepare release, bump version
2024-12-09 19:19:44 +01:00
Michael Barz ea698f6f7b Automated changelog update [skip ci] 2024-12-09 17:14:27 +00:00
Michael Barz bf8f6ea3c6 Merge pull request #10730 from rhafer/issue/10689
fix(graph): Don't return OCM shares in the drives list
2024-12-09 18:13:55 +01:00
Michael Barz 0bb287cd9c chore: prepare release, bump version 2024-12-09 17:10:29 +01:00
Michael Barz ee65fc87bb Merge pull request #10750 from owncloud/revert-10746-ocis_full_proper_label_naming
Revert "[docs-only][chore] Improve readbility of traefik labels"
2024-12-09 17:02:31 +01:00
Michael Barz 65f057e812 Revert "[docs-only][chore] Improve readbility of traefik labels" 2024-12-09 16:56:20 +01:00
Roman Perekhod 49bc2969c0 Automated changelog update [skip ci] 2024-12-09 14:42:19 +00:00
Roman Perekhod 6455f54ff1 Merge pull request #10720 from 2403905/issue-e7004
fixed the FileInfo.BreadcrumbFolderURL in a collaboration api
2024-12-09 15:41:47 +01:00
Roman Perekhod 4e509605f7 add the time formater to webdav 2024-12-09 15:33:43 +01:00
Roman Perekhod 1d08e9f5ea use the context as a scopes carrier 2024-12-09 14:45:40 +01:00
Roman Perekhod ebfcf5a164 use generic wopiContext.scope decoder 2024-12-09 14:45:39 +01:00
Roman Perekhod 8d83ac4459 fixed the FileInfo.BreadcrumbFolderURL in a collaboration api 2024-12-09 14:45:39 +01:00
Martin b7ba553e90 Merge pull request #10746 from owncloud/ocis_full_proper_label_naming
[docs-only][chore] Improve readbility of traefik labels
2024-12-09 14:45:04 +01:00
Juan Pablo Villafáñez f22864f969 chore: add changelog entry 2024-12-09 14:43:36 +01:00
Juan Pablo Villafáñez d0f3458261 fix: change the format to RFC1123 to follow the specs 2024-12-09 14:43:36 +01:00
kobergj 5598f098b4 Automated changelog update [skip ci] 2024-12-09 13:41:28 +00:00
kobergj 5551419170 Merge pull request #10735 from kobergj/BumpReva
[full-ci] Bump Reva to 2.26.8
2024-12-09 14:40:34 +01:00
Martin Mattel a760689ad7 update collabora image 2024-12-09 13:55:12 +01:00
Martin Mattel 0d0cd442f8 [docs-only] Improve readbility of traefik labels 2024-12-09 13:44:05 +01:00
Saw-jan ad2e310ec3 tests: more checks 2024-12-09 17:33:02 +05:45
Saw-jan c6859cc9fb test: check etag 2024-12-09 17:33:02 +05:45
Saw-jan 66f4204b09 test: update issue tags 2024-12-09 17:33:02 +05:45
Martin 9e6ce763e5 Merge pull request #10741 from owncloud/impersonation-docs
[docs-only] fixing auth-app api docs for creating token via impersonation API
2024-12-09 11:30:11 +01:00
Sawjan Gurung 2a5ed5213a Merge pull request #10685 from owncloud/tests/remove-duplicate-steps
[tests-only][full-ci] fix tests for reva
2024-12-09 16:02:40 +05:45
Niraj Acharya c6fd3aa5c3 fixing auth-app api docs for creating token via impersonation API 2024-12-09 16:02:29 +05:45
Saw-jan 529d29e5b1 test: do not try graph endpoints if testing on reva 2024-12-09 14:52:23 +05:45
Saw-jan bedddc4728 tests: fix tests 2024-12-09 14:52:23 +05:45
Saw-jan bc9c9fe58f test: skip sharing tests on reva 2024-12-09 14:52:23 +05:45
Saw-jan 4bdad9121f test: fix request to another user tests 2024-12-09 14:52:23 +05:45
Saw-jan 5d42d8ee0f test: remove duplicate steps 2024-12-09 14:52:23 +05:45
jkoberg 67e0ec93ca feat(reva): bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-12-09 09:49:52 +01:00
ownClouders e8879a9fd7 [tx] updated from transifex 2024-12-08 00:21:35 +00:00
ownClouders 57085e7e4d [tx] updated from transifex 2024-12-06 00:21:25 +00:00
Sawjan Gurung 2237534fc3 Merge pull request #10710 from owncloud/tests-ocm-folder-share
[tests-only][full-ci] add test to share copied folder to remote user
2024-12-05 16:56:17 +05:45
Martin cdeb0254cd Merge pull request #10732 from owncloud/dependabot/go_modules/golang.org/x/net-0.32.0
chore(deps): bump golang.org/x/net from 0.31.0 to 0.32.0
2024-12-05 11:27:07 +01:00
dependabot[bot] 12dc077355 chore(deps): bump golang.org/x/net from 0.31.0 to 0.32.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/net/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-05 07:32:39 +00:00
dependabot[bot] a681b14d3b chore(deps): bump golang.org/x/term from 0.26.0 to 0.27.0
Bumps [golang.org/x/term](https://github.com/golang/term) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/term/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/term
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-05 08:27:29 +01:00
Niraj Acharya 89baa049b7 adding test for listing permission of a folder in personal and project space with denied role enabled 2024-12-05 12:44:32 +05:45
prashant-gurung899 fe0da6511d add test to list copied folder ocm share
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-12-05 11:31:24 +05:45
Prajwol Amatya 024b0b81d3 Merge pull request #10702 from owncloud/fix-check-deleted-suites
[tests-only][full-ci] fix check for deleted suites in expected failure file
2024-12-05 09:03:19 +05:45
Ralf Haferkamp 565f58c68a fix(graph): Don't return OCM shares in the drives list
OCM shares don't have mountpoints currently. So they're no supposed
to show up in the drives list on the graph service.

Fixes: #10689
2024-12-04 14:48:56 +01:00
Prajwol Amatya 5388aaad40 add check for feature file name 2024-12-04 16:45:11 +05:45
dependabot[bot] e08899d224 chore(deps): bump github.com/libregraph/lico from 0.64.0 to 0.65.0
Bumps [github.com/libregraph/lico](https://github.com/libregraph/lico) from 0.64.0 to 0.65.0.
- [Changelog](https://github.com/libregraph/lico/blob/master/CHANGELOG.md)
- [Commits](https://github.com/libregraph/lico/compare/v0.64.0...v0.65.0)

---
updated-dependencies:
- dependency-name: github.com/libregraph/lico
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-04 09:19:55 +01:00
Prajwol Amatya 4f248ce47f fix check for deleted suites in expected failure file 2024-12-04 12:04:22 +05:45
Sawjan Gurung 58410b0b10 Merge pull request #10680 from owncloud/remove-duplicated-method
[tests-only][full-ci]Remove duplicate function
2024-12-04 10:33:55 +05:45
Juan Pablo Villafañez 68b64ea3be Automated changelog update [skip ci] 2024-12-03 17:28:24 +00:00
Juan Pablo Villafañez b4f2faa1d6 Merge pull request #10693 from owncloud/thumbnails_fix_fs_race
fix: use a tmp file and rename to prevent a possible race condition
2024-12-03 18:26:17 +01:00
Martin 6a3eac3765 Merge pull request #10713 from owncloud/ocis_shares_cleanup
[docs-only] Add 'ocis shares cleanup' command to the common readme
2024-12-03 15:10:29 +01:00
Jörn Friedrich Dreyer d3619d0eff Merge pull request #10712 from aduffeck/cleanup-stale-shares
Cleanup stale shares
2024-12-03 15:10:08 +01:00
Martin 92e6a9e9a2 Merge pull request #10705 from owncloud/update_envvar_tables
[docs-only] Updated added/removed/deprecated envvars tables
2024-12-03 11:07:46 +01:00
Juan Pablo Villafáñez f3d91f8c69 fix: ensure thumbnail is written into disk 2024-12-03 11:00:03 +01:00
MartinandAndre Duffeck 3d03c3e06c Update ocis/README.md
Co-authored-by: Andre Duffeck <aduffeck@users.noreply.github.com>
2024-12-03 10:50:28 +01:00
Martin Mattel 7bfa03570c [docs-only] Add 'ocis shares cleanup' command to the common readme 2024-12-03 10:25:50 +01:00
André Duffeck a925d09bbe Bump reva 2024-12-03 10:16:07 +01:00
André Duffeck 856a0794d7 Pass an initialized logger to reva 2024-12-03 10:09:55 +01:00
dependabot[bot] 75b71766ab chore(deps): bump github.com/thejerf/suture/v4 from 4.0.5 to 4.0.6
Bumps [github.com/thejerf/suture/v4](https://github.com/thejerf/suture) from 4.0.5 to 4.0.6.
- [Commits](https://github.com/thejerf/suture/compare/v4.0.5...v4.0.6)

---
updated-dependencies:
- dependency-name: github.com/thejerf/suture/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-03 09:09:07 +01:00
Martin Mattel f9d29821e7 [docs-only] Updated added/removed/deprecated envvars table 2024-12-02 17:40:51 +01:00
Ralf Haferkamp 82d2193ad6 fix(graph): Allow to combine $search and $filter in users query
This fixes the 'graph/v1.0/users' endpoint to allow a combination of a
memberOf filter in $filter with a search string in $search.

Allowing queries like:

$filter=(memberOf/any(m:m/id eq 509a9dcd-bb37-4f4f-a01a-19dca27d9cfa))&$search="example"
2024-12-02 17:15:21 +01:00
Martin 53d8d928f8 Merge pull request #10704 from owncloud/update_env_vars_yaml
[docs-only] Update env_vars.yaml
2024-12-02 17:03:53 +01:00
Martin Mattel 14e15e7ae7 [docs-only] Update env_vars.yaml 2024-12-02 16:53:49 +01:00
kobergj a4cb8dd81b Automated changelog update [skip ci] 2024-12-02 15:51:31 +00:00
kobergj 7cf0fd5ec8 Merge pull request #10683 from owncloud/graph-concurrent-share-listing
graph concurrent share listing
2024-12-02 16:50:55 +01:00
Martin 6fe8c2a794 Merge pull request #10695 from owncloud/mmattel-patch-1
[docs-only] Update posixfs-storage-driver.md
2024-12-02 14:04:18 +01:00
Jörn Friedrich Dreyer c0e1ddda95 Automated changelog update [skip ci] 2024-12-02 12:35:07 +00:00
Jörn Friedrich Dreyer 803d99e300 Merge pull request #10701 from owncloud/graph-skip-fetching-members
graph skip fetching members
2024-12-02 13:34:32 +01:00
dependabot[bot] 96a2262e46 chore(deps-dev): bump license-checker-rseidelsohn in /services/idp
Bumps [license-checker-rseidelsohn](https://github.com/RSeidelsohn/license-checker-rseidelsohn) from 4.3.0 to 4.4.2.
- [Release notes](https://github.com/RSeidelsohn/license-checker-rseidelsohn/releases)
- [Changelog](https://github.com/RSeidelsohn/license-checker-rseidelsohn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/RSeidelsohn/license-checker-rseidelsohn/compare/v4.3.0...v4.4.2)

---
updated-dependencies:
- dependency-name: license-checker-rseidelsohn
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 12:34:09 +01:00
amrita e83b63ffe6 rename variable name and remove unwanted function 2024-12-02 16:53:12 +05:45
amrita e76ba90bee remove getResponseXml 2024-12-02 16:51:51 +05:45
Sawjan Gurung f58f348466 Merge pull request #10682 from owncloud/remove-skeleton-files-line
[tests-only][full-ci] removing `without skeleton files` string from the user creation steps
2024-12-02 15:41:48 +05:45
Jörn Friedrich Dreyer 404e3e5580 graph skip fetching members
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-12-02 10:37:07 +01:00
dependabot[bot] 2d26ab4007 chore(deps-dev): bump mini-css-extract-plugin in /services/idp
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 1.6.2 to 2.9.2.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v1.6.2...v2.9.2)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 09:19:08 +01:00
André Duffeck 38e54515b0 Add a "ocis shares cleanup" command 2024-12-02 09:17:14 +01:00
André Duffeck 9a7b644e22 Fix gateway address in jsoncs3 config 2024-12-02 09:17:14 +01:00
dependabot[bot] ecff193847 chore(deps): bump github.com/riandyrn/otelchi from 0.10.1 to 0.11.0
Bumps [github.com/riandyrn/otelchi](https://github.com/riandyrn/otelchi) from 0.10.1 to 0.11.0.
- [Release notes](https://github.com/riandyrn/otelchi/releases)
- [Changelog](https://github.com/riandyrn/otelchi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/riandyrn/otelchi/compare/v0.10.1...v0.11.0)

---
updated-dependencies:
- dependency-name: github.com/riandyrn/otelchi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 09:14:09 +01:00
dependabot[bot] 6782c2473d chore(deps): bump github.com/tus/tusd/v2 from 2.5.0 to 2.6.0
Bumps [github.com/tus/tusd/v2](https://github.com/tus/tusd) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/tus/tusd/releases)
- [Commits](https://github.com/tus/tusd/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: github.com/tus/tusd/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 09:13:33 +01:00
Prashant Gurung 293aff1b53 Merge pull request #10691 from owncloud/tests-ocm-check-mimetype
[tests-only][full-ci] update test to check mimetype of federated share image file
2024-12-02 12:32:37 +05:45
prashant-gurung899 147864d6a4 update test to check mimetype of federated share image file
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-12-02 09:50:02 +05:45
Niraj Acharya c98841904d removing without skeleton files string from the user creation steps 2024-12-02 09:12:57 +05:45
ownClouders a265fcbe46 [tx] updated from transifex 2024-12-01 00:21:57 +00:00
Martin a2c77099b9 [docs-only] Update posixfs-storage-driver.md
We have removed the trashbin restriction already, but missed to remove one trashbin related item.
2024-11-30 16:17:02 +01:00
ownClouders 9c2b9cccc7 [tx] updated from transifex 2024-11-30 00:19:00 +00:00
Martin b6b9af8e2f Merge pull request #10674 from owncloud/update_new_service_checklist
[docs-only] Update the new service checklist
2024-11-29 15:44:39 +01:00
kobergjandMartin 47bd5735e4 fix(docs): better service startup explanation
Co-authored-by: Martin <github@diemattels.at>
2024-11-29 15:37:39 +01:00
Juan Pablo Villafáñez ce3d9c13f5 chore: add changelog entry 2024-11-29 15:27:00 +01:00
Juan Pablo Villafáñez 56f012ceb6 fix: use a tmp file and rename to prevent a possible race condition 2024-11-29 14:16:07 +01:00
Martin 3f26e0f568 Merge pull request #10681 from owncloud/antivirus_and_memory
[docs-only] Add memory considerations to the antivirus service
2024-11-29 12:02:23 +01:00
Martin 8f0d62f2cd Merge pull request #10690 from owncloud/update_example_images
[docs-only] Update ocis_full deployment example
2024-11-29 11:45:05 +01:00
Martin Mattel 0d86a08eba [docs-only] Update ocis_full deployment example 2024-11-29 10:35:00 +01:00
Martin 7f5a2ed00e Merge pull request #10686 from rhafer/bash-mem-usage
Reduce memory footprint in test runner
2024-11-29 09:42:50 +01:00
Sawjan Gurung 83406dee0c Merge pull request #10679 from owncloud/tests/refactor-test-code
[tests-only] do not use unnecessary array
2024-11-29 14:01:44 +05:45
ownClouders b87118b14d [tx] updated from transifex 2024-11-29 00:20:03 +00:00
Jörn Friedrich DreyerandMartin 01cc32deec Update services/graph/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2024-11-28 17:08:16 +01:00
Jörn Friedrich Dreyer 9fea5c3002 graph concurrent share listing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-28 16:52:54 +01:00
Ralf Haferkamp 617fc4480e Use sed instead of tr to remove nullbytes
The tr + echo was using HUGE amounts for memory due to some IFS- and
parameter expansion magic.
2024-11-28 16:51:59 +01:00
Saw-jan d3e8b71423 test: do not use unnecessary array 2024-11-28 16:59:16 +05:45
Prajwol Amatya 0252306214 Merge pull request #10351 from owncloud/healthzCheck
[test-only] add test for checking service ready and health
2024-11-28 16:56:51 +05:45
Prashant Gurung b1b9e7b77f Merge pull request #10626 from owncloud/tests-ocm-refactor-steps
[tests-only][full-ci] refactor multiple when steps in OCM tests
2024-11-28 16:41:10 +05:45
Prajwol Amatya 34dc52d426 update the scenarios for service availability check 2024-11-28 16:01:30 +05:45
Martin Mattel ead01a27e6 [docs-only] Add memory considerations to teh antivirus service 2024-11-28 10:44:02 +01:00
Sawjan Gurung 2e40f9905c Merge pull request #10523 from owncloud/ocm-test-shared-file
[tests-only][full-ci] adding test for editing shared file(OCM) by the share receiver
2024-11-28 14:18:36 +05:45
prashant-gurung899 cbf2b4f393 refactor multiple when steps in OCM tests
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-11-28 12:36:32 +05:45
Amrita cf47cee085 Merge pull request #10609 from owncloud/add-template-tests
[tests-only][full-ci]Add test for template
2024-11-28 12:16:40 +05:45
amrita cf8a83cb36 review addressed 2024-11-28 10:44:44 +05:45
amrita 62b314dc91 add test for template 2024-11-28 10:44:44 +05:45
Niraj Acharya 4f8fd47058 adding test for editing shared file(OCM) by the share receiver 2024-11-28 09:21:41 +05:45
Prajwol Amatya 15420a3d7b renamed the suite to apiServiceAvailability 2024-11-28 09:11:52 +05:45
Prajwol Amatya c1c6143568 change sse debug addr port 2024-11-28 09:11:52 +05:45
Viktor Scharf 06dc8ad5e3 change userlog port 2024-11-28 09:11:51 +05:45
Viktor Scharf 45116af784 skip collaboration test 2024-11-28 09:11:51 +05:45
Viktor Scharf c1bd9bd71d fix 2024-11-28 09:11:51 +05:45
Viktor Scharf 1789a1ad43 fix after review 2024-11-28 09:11:51 +05:45
Viktor Scharf 18e0af90b7 add test for checking service ready and health 2024-11-28 09:11:50 +05:45
ownClouders 46d397d74f [tx] updated from transifex 2024-11-28 00:20:04 +00:00
Sawjan Gurung 49c8bb6a55 Merge pull request #10652 from owncloud/tests/cleanup-n-fixes
[tests-only][full-ci] test code fixes and cleanup
2024-11-27 16:57:00 +05:45
Saw-jan b1512bde16 test: move test to respective suite 2024-11-27 15:26:59 +05:45
Saw-jan bc63c2cbd7 test: merge similar steps 2024-11-27 14:54:18 +05:45
Saw-jan 5bbe356d36 test: store preview content for comparison 2024-11-27 14:54:18 +05:45
Saw-jan 73d89721c6 test: fix addUserToGroup param 2024-11-27 14:54:17 +05:45
Saw-jan f4df2978ea test: add issue tag 2024-11-27 14:54:17 +05:45
Sawjan Gurung e4778ec314 Merge pull request #10651 from owncloud/tests-ocm-download-preview
[tests-only][full-ci] add tests to download thumbnail preview of a federated share image
2024-11-27 14:03:09 +05:45
Sawjan Gurung fdff68203c Merge pull request #10618 from owncloud/tests-change-share-activities
[tests-only][full-ci] add tests to check activities of space's resource after updating it's share
2024-11-27 14:00:59 +05:45
Martin Mattel bfc626d276 [docs-only] Update the new service checklist 2024-11-27 09:03:08 +01:00
Martin 28144417be Merge pull request #10673 from owncloud/mmattel-patch-1
[docs-only] Update posixfs-storage-driver.md
2024-11-27 08:56:58 +01:00
Martin 8edb2188e5 Update posixfs-storage-driver.md
As discussed with @aduffeck
2024-11-27 08:48:11 +01:00
prashant-gurung899 5475f6c60f add test to check activities after updating share in space context
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-11-27 13:01:58 +05:45
prashant-gurung899 1c14c03e53 add tests to download thumbnail preview of a federated share image
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-11-27 12:35:36 +05:45
ownClouders 9c53998e76 [tx] updated from transifex 2024-11-27 00:22:28 +00:00
Roman Perekhod 187c8f3133 Fix link activity message 2024-11-26 17:25:21 +01:00
Martin f4dc7492fa Merge pull request #10668 from owncloud/update_changed_envvar_python
[docs-only] Show more info in deprecation table
2024-11-26 16:32:59 +01:00
Martin Mattel ac723fdaba [docs-only] Show more info in deprecation table 2024-11-26 16:22:57 +01:00
Martin 54fac59d64 Merge pull request #10664 from owncloud/update_envvar_tables
[docs-only] Update the added/removed/deprecated envvars adoc table
2024-11-26 15:25:39 +01:00
Martin Mattel 3397197e5a [docs-only] Update the added/removed/deprecated envvars table 2024-11-26 15:13:06 +01:00
Martin 6c3684a02c Merge pull request #10659 from owncloud/update_envvars_yaml
[docs-only] The env_var.yaml file needs to be recreated
2024-11-26 10:54:49 +01:00
Martin Mattel 00f289b725 [docs-only] The env_var.yaml file needs to be recreated 2024-11-26 10:45:46 +01:00
Martin b78aa84ba2 Merge pull request #10653 from owncloud/deprecate_envvars_containing_ocs_
[doc-only] Deprecate OCS related frontend envvars because the OCS API is deprecated
2024-11-26 10:08:42 +01:00
dependabot[bot] 98929634bb chore(deps): bump github.com/onsi/gomega from 1.35.1 to 1.36.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.35.1 to 1.36.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.35.1...v1.36.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-26 09:05:42 +01:00
Sawjan Gurung 85271f155a Merge pull request #10644 from owncloud/ci/cleanup-config
[tests-only][full-ci] ci: cleanup drone config
2024-11-26 12:51:28 +05:45
Saw-jan 2d131fa878 ci: cleanup drone config 2024-11-26 11:59:37 +05:45
ownClouders 435a2aa8fe [tx] updated from transifex 2024-11-26 00:18:54 +00:00
ownClouders d0572f1190 [tx] updated from transifex 2024-11-25 19:15:30 +00:00
Michael Barz 7e9b5e7019 Merge pull request #10643 from owncloud/dependabot/go_modules/github.com/grpc-ecosystem/grpc-gateway/v2-2.24.0
chore(deps): bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.23.0 to 2.24.0
2024-11-25 19:05:30 +01:00
Michael Barz 997d8eabfd Merge pull request #10641 from owncloud/dependabot/npm_and_yarn/services/idp/eslint-plugin-i18next-6.1.1
chore(deps-dev): bump eslint-plugin-i18next from 6.0.9 to 6.1.1 in /services/idp
2024-11-25 18:51:39 +01:00
Michael Barz 5d058d1ba0 Merge pull request #10640 from owncloud/dependabot/npm_and_yarn/services/idp/html-webpack-plugin-5.6.3
chore(deps-dev): bump html-webpack-plugin from 5.6.0 to 5.6.3 in /services/idp
2024-11-25 18:26:21 +01:00
Michael Barz f87f767930 Automated changelog update [skip ci] 2024-11-25 12:30:45 +00:00
Michael Barz b5decc675c Merge pull request #10627 from owncloud/fix-denials-graph
fix: fix deny access to prevent a regression
2024-11-25 13:30:08 +01:00
Martin Mattel 5d6f4de4a3 [doc-only] Deprecate OCS related frontend envvars 2024-11-25 12:39:55 +01:00
Michael Barz bac2256c5f fix: fix deny access to prevent a regression 2024-11-25 11:32:31 +01:00
Martin b336183771 Merge pull request #10633 from owncloud/add_csp_to_proxy
[docs-only] Add CSP to proxy readme
2024-11-25 09:27:39 +01:00
Michael Barz 564decbb4d Merge pull request #10642 from owncloud/dependabot/go_modules/github.com/stretchr/testify-1.10.0
chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
2024-11-25 08:33:33 +01:00
dependabot[bot] 5923257034 chore(deps): bump github.com/grpc-ecosystem/grpc-gateway/v2
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.23.0 to 2.24.0.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/main/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.23.0...v2.24.0)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 06:52:30 +00:00
dependabot[bot] ce692dc851 chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 06:52:13 +00:00
dependabot[bot] da2be117fb chore(deps-dev): bump eslint-plugin-i18next in /services/idp
Bumps [eslint-plugin-i18next](https://github.com/edvardchen/eslint-plugin-i18next) from 6.0.9 to 6.1.1.
- [Changelog](https://github.com/edvardchen/eslint-plugin-i18next/blob/main/CHANGELOG.md)
- [Commits](https://github.com/edvardchen/eslint-plugin-i18next/compare/v6.0.9...v6.1.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-i18next
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 06:48:10 +00:00
dependabot[bot] 936c295732 chore(deps-dev): bump html-webpack-plugin in /services/idp
Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 5.6.0 to 5.6.3.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jantimon/html-webpack-plugin/compare/v5.6.0...v5.6.3)

---
updated-dependencies:
- dependency-name: html-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 06:47:32 +00:00
Prajwol Amatya 296af9738a Merge pull request #10636 from owncloud/update-expected-failure
add public link share feature to expected failure file
2024-11-25 10:12:37 +05:45
Prajwol Amatya 990576ec6d add public link share feature to expected failure file 2024-11-25 09:37:31 +05:45
Michael Barz 2deeda70ce Fix docs 2024-11-24 20:47:44 +01:00
ownClouders 0aef4fcdce [tx] updated from transifex 2024-11-24 00:24:01 +00:00
ownClouders cff364c998 [tx] updated from transifex 2024-11-23 00:56:23 +00:00
Martin Mattel 1daf2ecd97 [docs-only] Add CSP to proxy readme 2024-11-22 16:56:47 +01:00
Martin 2189323544 Merge pull request #10631 from owncloud/capitalization_fixes
[docs-only] Fix capitalization of some curl commands
2024-11-22 15:17:47 +01:00
Martin c0e8bd44a8 Merge pull request #10630 from owncloud/fix_ocis_full
[docs-only] Fix ocis_full for services to be started manually
2024-11-22 15:17:04 +01:00
Pradip Subedi 5f5fe9f5fa Merge pull request #10617 from owncloud/test/test-coverage-for-bug#9536
[tests-only][full-ci] Add test coverage for correct parent folder reference in activity messages
2024-11-22 17:07:07 +05:45
Martin Mattel fbab620489 fix ocis_full service startup 2024-11-22 12:09:00 +01:00
Sawjan Gurung 59e2605792 Merge pull request #10628 from owncloud/tests/test-changes-reva
[tests-only] cleanup unnecessary env variables
2024-11-22 16:46:29 +05:45
Martin Mattel ecc547ce3f [docs-only] Fix capitalization of some curl commands 2024-11-22 11:54:58 +01:00
Saw-jan 327e6260ff tests: error handling
tests: remove unnecessary logs
2024-11-22 16:01:58 +05:45
Prajwol Amatya 831f8eaa0b Merge pull request #10622 from owncloud/add-issue-tags-for-without-remote-php 2024-11-22 15:10:01 +05:45
Prajwol Amatya 23b3f9d7aa update add user test for apiAccountsHashDifficulty test suite 2024-11-22 14:24:00 +05:45
Martin d6eac9f5ba Merge pull request #10620 from owncloud/add_auth_token_api_description
[docs-only] Describe CLI-API commands in auth-app to manage tokens
2024-11-22 09:14:05 +01:00
Martin 9fa4287514 Merge pull request #10625 from owncloud/update_ocis_full
[docs-only] Update imgage versions for the ocis_full deployment example
2024-11-22 09:13:00 +01:00
Martin Mattel 276eda1ede [docs-only] Update imgage versions for the ocis_full deployment example 2024-11-22 09:04:53 +01:00
Prajwol Amatya 0add18fc9a remove @provisioning_api-app-required tag 2024-11-22 12:39:40 +05:45
Prajwol Amatya ae8f618bb0 add scenarios to expected failure file while running without remote.php 2024-11-22 12:39:39 +05:45
Prashant Gurung 1663e1eac7 Merge pull request #10415 from owncloud/tests-ocm-tus-upload
[tests-only][full-ci] add test to upload file to a shared folder via TUS by federated user
2024-11-22 11:41:50 +05:45
prashant-gurung899 e40015c2e2 add test to upload via TUS by federated user
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-11-22 09:47:08 +05:45
Michael Barz 271455703b Merge pull request #10621 from rhafer/bump-jwt
Bump golang-jwt/jwt to v5
2024-11-21 20:18:30 +01:00
Ralf Haferkamp 4c8a36f0d4 Bump golang-jwt/jwt to v5
Seems this was missed in 109b23966c
2024-11-21 17:56:31 +01:00
pradip 092136baac test: test-coverage-for-api-activities(bug #9536) 2024-11-21 16:48:27 +05:45
Martin Mattel 3c2efe1709 remove whitespace 2024-11-21 11:13:35 +01:00
Martin Mattel cb65cccf41 [docs-only] Describe CLI commands in auth-app to manage tokens 2024-11-21 11:10:00 +01:00
Sawjan Gurung 5c1be18f30 Merge pull request #10482 from owncloud/tests/loadbalance-services
[tests-only][full-ci] web e2e with multiple storage-users services
2024-11-21 15:38:57 +05:45
Michael Barz eac61b6c4e Automated changelog update [skip ci] 2024-11-21 09:34:20 +00:00
Michael Barz a7d94be6f4 Merge pull request #10616 from owncloud/release-7.0.0-rc.3
[full-ci][k6-tests] chore: prepare release, bump version
2024-11-21 10:32:52 +01:00
Saw-jan bfacee302d test: fix cors issue for large file upload test 2024-11-21 14:07:03 +05:45
Saw-jan 6a620870eb ci: fix storage path
skip failing test

test: revert .drone.env
2024-11-21 14:07:03 +05:45
Saw-jan 54751a9c4d ci: setup multiple storage-users services
ci: do health checks
2024-11-21 14:07:03 +05:45
Sawjan Gurung fbb319f3ba Merge pull request #10597 from owncloud/tests/upload-same-mtime-file
[tests-only] add tests to check file uploads with same mtime and different content
2024-11-21 14:04:49 +05:45
Michael Barz ebd7045ff3 chore: prepare release, bump version 2024-11-21 08:21:01 +01:00
Michael Barz 2ea96808a4 Merge pull request #7833 from owncloud/docs-add-collstorage
[docs-only] Initial commit of collaborative storage notes
2024-11-21 08:14:04 +01:00
Michael Barz dc24bc6110 Merge pull request #10614 from owncloud/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.22.0
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0
2024-11-21 08:04:30 +01:00
Michael Barz 2aa796a72e Merge pull request #10615 from owncloud/dependabot/go_modules/github.com/gabriel-vasile/mimetype-1.4.7
chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.6 to 1.4.7
2024-11-21 08:03:31 +01:00
dependabot[bot] a2f8d7bd5d chore(deps): bump github.com/gabriel-vasile/mimetype from 1.4.6 to 1.4.7
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) from 1.4.6 to 1.4.7.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases)
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.4.6...v1.4.7)

---
updated-dependencies:
- dependency-name: github.com/gabriel-vasile/mimetype
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-21 06:03:38 +00:00
dependabot[bot] 7451e6b213 chore(deps): bump github.com/onsi/ginkgo/v2 from 2.21.0 to 2.22.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.21.0 to 2.22.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.21.0...v2.22.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-21 06:03:22 +00:00
Saw-jan 7c1c9ddacc test: add tests to check file uploads with same mtime 2024-11-21 10:04:31 +05:45
Prajwol Amatya 9a7c8a43f8 Merge pull request #10610 from owncloud/merge-antivirus-test-scenarios
[tests-only][full-ci] merge similar test scenraios in antivirus test
2024-11-21 09:44:43 +05:45
ownClouders 98034ddcba [tx] updated from transifex 2024-11-21 00:24:27 +00:00
Roman Perekhod 589fc7923d Automated changelog update [skip ci] 2024-11-20 15:17:05 +00:00
Roman Perekhod bc8ff41891 Merge pull request #10612 from 2403905/bump-reva-v2.26.7
[full-ci] bump reva to v2.26.7
2024-11-20 16:16:20 +01:00
Roman Perekhod 2b07916f22 [full-ci] bump reva to v2.26.7 2024-11-20 14:58:35 +01:00
Sabin Panta bd4cf280df Merge pull request #10535 from owncloud/remove-old-dav-public-share-endpoint-test
[tests-only][full-ci]remove old dav path for public share
2024-11-20 15:20:38 +05:45
Prajwol Amatya 7697c354d5 merge similar test scenraios in antivirus test 2024-11-20 12:07:17 +05:45
Prajwol Amatya bbb3f2b958 Merge pull request #10602 from owncloud/skip-tests-on-reva
[tests-only][full-ci]skip spaces dav path test in reva
2024-11-20 11:19:37 +05:45
Prajwol Amatya fccc980ff0 skip spaces dav path version 2024-11-20 10:39:02 +05:45
Prajwol Amatya 85ad991107 skip spaces dav path test in reva 2024-11-20 09:55:44 +05:45
Sawjan Gurung 94931aa4bf Merge pull request #10558 from owncloud/test/refactor-steps-and-step-defns
[tests-only][full-ci] refactor `When` steps and step defns while moving, copying and renaming files and folders
2024-11-20 09:40:08 +05:45
ownClouders 803447f2af [tx] updated from transifex 2024-11-20 00:20:07 +00:00
Michael Barz 5b4da8b3c2 Automated changelog update [skip ci] 2024-11-19 13:02:43 +00:00
Michael Barz a2810cfdd2 Merge pull request #10604 from owncloud/bump-web-11.0.4
[full-ci] chore: bump web to v11.0.4
2024-11-19 14:01:59 +01:00
Jannik Stehle 0eaee6ba56 chore: bump web to v11.0.4 2024-11-19 13:32:47 +01:00
Michael Barz 9e92bfdfba Merge pull request #10601 from owncloud/proxy_context_canceled_log
feat: improve logs when a context is canceled in the proxy
2024-11-19 13:24:22 +01:00
pradip 0baccb922a test(refactor): change the structure of When step while moving, copying and renaming 2024-11-19 17:17:59 +05:45
Juan Pablo Villafáñez 69864b8ab9 feat: improve logs when a context is canceled in the proxy 2024-11-19 11:25:40 +01:00
Michael Barz e2c2787374 Merge pull request #10600 from aduffeck/bump-reva-6f05da
Bump reva 6f05da
2024-11-19 10:28:56 +01:00
Sabin b5d5afcd5c remove old dav path for public share 2024-11-19 14:54:02 +05:45
Michael Barz a3a5789dc6 Merge pull request #10599 from owncloud/dependabot/go_modules/github.com/go-playground/validator/v10-10.23.0
chore(deps): bump github.com/go-playground/validator/v10 from 10.22.1 to 10.23.0
2024-11-19 09:20:15 +01:00
Michael Barz 283338a7a7 Merge pull request #10598 from owncloud/dependabot/go_modules/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc-0.57.0
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.56.0 to 0.57.0
2024-11-19 09:19:52 +01:00
Prajwol Amatya 32bafde38e Merge pull request #10516 from owncloud/extend-webdav-test-for-all-paths
[tests-only][full-ci] extend webdav tests for old, new and spaces path
2024-11-19 14:02:01 +05:45
André Duffeck e2b40a2d67 Adapt to changed signature 2024-11-19 09:06:35 +01:00
André Duffeck 07b6c1309b Bump reva 2024-11-19 09:06:26 +01:00
Prajwol Amatya 9d6bd35bb5 extend dav paths versions 2024-11-19 13:05:34 +05:45
dependabot[bot] 4389bb16d2 chore(deps): bump github.com/go-playground/validator/v10
Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.22.1 to 10.23.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.22.1...v10.23.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-19 07:00:09 +00:00
dependabot[bot] 5dd14bc770 chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.56.0 to 0.57.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.56.0...zpages/v0.57.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-19 06:59:51 +00:00
Prajwol Amatya f31f92a028 update expected failure file 2024-11-19 09:07:45 +05:45
Prajwol Amatya 80f6b01d0b check for both with and without remote.php in dav path 2024-11-19 09:07:45 +05:45
Prajwol Amatya 33a99d6de3 extend webdav tests for old, new and spaces path 2024-11-19 09:07:45 +05:45
Michael Barz 0fa52f26e9 Fix docs on collaboration service. 2024-11-18 16:57:37 +01:00
Roman Perekhod e0d80f21e1 Automated changelog update [skip ci] 2024-11-18 15:54:29 +00:00
Roman Perekhod bd201e731a Merge pull request #10593 from 2403905/issue-10228
Fixed the activity field mapping
2024-11-18 16:53:54 +01:00
Ralf Haferkamp 91c41a48aa Automated changelog update [skip ci] 2024-11-18 15:18:55 +00:00
Ralf Haferkamp e0cf17d5e5 Fix thumbnails status code
Return 403 instead of 500 when the image is too large (in dimensions or file
size).

Fixes: #10589
2024-11-18 16:18:18 +01:00
Roman Perekhod 46a95b4176 Fixed the activity field mapping 2024-11-18 15:20:15 +01:00
Jörn Friedrich Dreyer 8a903991b8 Automated changelog update [skip ci] 2024-11-18 13:59:09 +00:00
Jörn Friedrich Dreyer 1efc82cb19 Merge pull request #10438 from owncloud/log-grpc-requests
log grpc requests in debug mode
2024-11-18 14:58:35 +01:00
ownClouders 57ba3d1780 [tx] updated from transifex 2024-11-18 13:55:23 +00:00
Juan Pablo Villafañez 37967afbd4 Automated changelog update [skip ci] 2024-11-18 12:04:00 +00:00
Juan Pablo Villafañez 29a24b4cd6 Merge pull request #10590 from owncloud/collaboration_public_key_fix
fix: properly return an error and use cache for public keys if possible
2024-11-18 13:03:20 +01:00
Juan Pablo Villafáñez 02488b5f5a chore: add changelog entry 2024-11-18 12:01:41 +01:00
Juan Pablo Villafáñez 904491c2b2 fix: properly return an error and use cache for public keys if possible 2024-11-18 11:01:34 +01:00
Jörn Friedrich Dreyer 6393e24d68 log grpc requests in debug mode
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-18 10:52:47 +01:00
dependabot[bot] db9e255592 chore(deps): bump cross-spawn from 7.0.3 to 7.0.5 in /services/idp
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.5.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.5)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 09:13:50 +01:00
dependabot[bot] 37ae73b77a chore(deps): bump google.golang.org/protobuf from 1.35.1 to 1.35.2
Bumps google.golang.org/protobuf from 1.35.1 to 1.35.2.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 08:48:47 +01:00
dependabot[bot] 7e470e9604 chore(deps): bump golang.org/x/net from 0.30.0 to 0.31.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/net/compare/v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 08:48:11 +01:00
Michael Barz 44135176e9 Merge pull request #10586 from owncloud/dependabot/npm_and_yarn/services/idp/eslint-webpack-plugin-3.2.0
chore(deps-dev): bump eslint-webpack-plugin from 2.7.0 to 3.2.0 in /services/idp
2024-11-18 08:34:38 +01:00
Michael Barz e67232615e Merge pull request #10585 from owncloud/dependabot/npm_and_yarn/services/idp/eslint-plugin-react-7.37.2
chore(deps-dev): bump eslint-plugin-react from 7.34.4 to 7.37.2 in /services/idp
2024-11-18 08:34:25 +01:00
Sawjan Gurung f5d42161e7 Merge pull request #10565 from owncloud/test-first-share-lost
[tests-only][full-ci] adding test coverage for sharing file with ocm
2024-11-18 12:47:26 +05:45
dependabot[bot] dd6dc21ca3 chore(deps-dev): bump eslint-webpack-plugin in /services/idp
Bumps [eslint-webpack-plugin](https://github.com/webpack-contrib/eslint-webpack-plugin) from 2.7.0 to 3.2.0.
- [Release notes](https://github.com/webpack-contrib/eslint-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/eslint-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/eslint-webpack-plugin/compare/v2.7.0...v3.2.0)

---
updated-dependencies:
- dependency-name: eslint-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 07:00:47 +00:00
dependabot[bot] 65475b3e95 chore(deps-dev): bump eslint-plugin-react in /services/idp
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.34.4 to 7.37.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.4...v7.37.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-18 06:59:30 +00:00
Niraj Acharya f881038adb adding test coverage for sharing file with ocm 2024-11-18 11:37:41 +05:45
ownClouders a7e8069429 [tx] updated from transifex 2024-11-17 00:40:31 +00:00
ownClouders bcef2e25a8 [tx] updated from transifex 2024-11-15 19:52:35 +00:00
Jörn Friedrich Dreyer ee1cbfbef6 Automated changelog update [skip ci] 2024-11-15 16:50:58 +00:00
Jörn Friedrich Dreyer 295dcfebc7 Merge pull request #10583 from owncloud/reusee-go-micro-service
reuse go-micro service clients
2024-11-15 17:50:20 +01:00
Jörn Friedrich Dreyer 62c46d4ffb Automated changelog update [skip ci] 2024-11-15 16:21:05 +00:00
Jörn Friedrich Dreyer 5da6fe1c2e Merge pull request #10584 from owncloud/collaboration-gateway-selector
use gateway selector
2024-11-15 17:20:18 +01:00
Jörn Friedrich Dreyer ff9d11ad1a reuse go-micro service clients
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-15 17:18:39 +01:00
Jörn Friedrich Dreyer b57da8128e use gateway selector
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-15 16:45:44 +01:00
kobergj 1cd7eadce4 Automated changelog update [skip ci] 2024-11-15 14:45:24 +00:00
kobergj d1309b78da Merge pull request #10580 from kobergj/SharingMaxCC
Use 1 Worker for sharing
2024-11-15 15:44:47 +01:00
Martin 54fc7804ca Merge pull request #10581 from owncloud/add_missing_added_envvars
[docs-only] Update the added envvars adoc table
2024-11-15 15:35:27 +01:00
Martin Mattel b33cf617f0 add changed env_vars.yaml 2024-11-15 15:19:44 +01:00
jkoberg a35618aa36 fix(sharing): use 1 worker in single binary
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-11-15 15:15:44 +01:00
Martin Mattel f49bd94aa5 [docs-only] Update the added envvars adoc table 2024-11-15 15:13:46 +01:00
Jörn Friedrich Dreyer fd4e53e2e6 Automated changelog update [skip ci] 2024-11-15 14:04:58 +00:00
Jörn Friedrich Dreyer 94b0ca963d Merge pull request #10575 from owncloud/fix-node-cache-ttl-updates
fix node cache ttl updates
2024-11-15 15:04:21 +01:00
Martin 592e97fd0d Merge pull request #10579 from owncloud/update_env_vars.yaml
[docs-only][chore] Update env_vars.yaml
2024-11-15 14:56:14 +01:00
Martin Mattel 22725da7e0 [docs-only] Update env_vars.yaml 2024-11-15 14:46:41 +01:00
Jörn Friedrich Dreyer 50176f6f6b fix node cache ttl updates
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-15 14:33:48 +01:00
Jörn Friedrich Dreyer ee61c32ab9 Automated changelog update [skip ci] 2024-11-15 13:33:03 +00:00
Jörn Friedrich Dreyer fb2755c3ac Merge pull request #10578 from owncloud/fix-sharing-concurrency-env
fix sharing concurrency env
2024-11-15 14:32:24 +01:00
Jörn Friedrich Dreyer 65aea4438d fix sharing concurrency env
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-15 14:02:03 +01:00
Michael Barz ede5f0fece Automated changelog update [skip ci] 2024-11-15 11:37:03 +00:00
Michael Barz 8f9b234030 Merge pull request #10464 from owncloud/collaboration_enable_validator_alltests
test: enable skipped validator tests
2024-11-15 12:33:38 +01:00
Michael Barz 09d86e7667 Merge pull request #10572 from owncloud/limitt-sharing-workers
limit the number of workers of the jsoncs3 share manager
2024-11-15 12:33:14 +01:00
Michael Barz e2547e79a9 Merge pull request #10570 from rhafer/enterprise/6967
[full-ci] fix(ocm): Adjust for recend change for federated user IDs
2024-11-15 12:32:32 +01:00
Juan Pablo Villafañez cb7c4fc3ec Merge pull request #10559 from owncloud/idp_remove_context_session
fix: remove context from the session
2024-11-15 09:44:45 +01:00
Prashant Gurung 2baff70481 Merge pull request #10534 from owncloud/tests-copy-activities-by-fileid
[tests-only][full-ci] add test to check activities of destination file and folder by copying a file using file-id
2024-11-15 14:06:33 +05:45
prashant-gurung899 b700b9b57a add test to check copy activities using file-id
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-11-15 11:40:42 +05:45
ownClouders 83d80621cf [tx] updated from transifex 2024-11-15 00:06:44 +00:00
Jörn Friedrich Dreyer 53c48dcb5d limit the number of workers of the jsoncs3 share manager
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-14 17:43:47 +01:00
Ralf Haferkamp e6ea4faf01 Bump reva to get https://github.com/cs3org/reva/pull/4933 2024-11-14 16:29:25 +01:00
Michael Barz 57f70dc989 Automated changelog update [skip ci] 2024-11-14 15:01:23 +00:00
Michael Barz e2f20f87cf Merge pull request #10571 from owncloud/release-docs
docs-only: forward port changelog to master and add 5.0.9
2024-11-14 16:00:44 +01:00
Ralf Haferkamp 6f90abd22d fix(ocm): Adjust for recend change for federated user IDs
The UserIds as returned by e.g. GetAcceptedUser do already contain
the provider domain in the IDP field now.

Also adjust the provider domain in the OCM config to be really a domain
without URI scheme and path.
2024-11-14 15:51:07 +01:00
Michael Barz 0633c3984a docs: forward port changelog to master and add 5.0.9 2024-11-14 15:50:21 +01:00
Benedikt Kulmann 6d9915e936 Automated changelog update [skip ci] 2024-11-14 14:34:53 +00:00
Benedikt Kulmann 7bf8c0537e Merge pull request #10569 from owncloud/bump-web-11.0.3
[full-ci] chore: bump web to v11.0.3
2024-11-14 15:34:13 +01:00
Jannik Stehle 60d720f7ad chore: bump web to v11.0.3 2024-11-14 14:55:46 +01:00
Martin 3a1ced1b9c Merge pull request #10566 from owncloud/improve_health_error_message
[docs-only] Improve error messages for health command output
2024-11-14 14:37:11 +01:00
Michael Barz cede25ebbf update production deployment to 5.0.9 2024-11-14 14:28:36 +01:00
Martin Mattel 168f1a89d3 [docs-only] Imporve error messages for health command output 2024-11-14 11:10:44 +01:00
dependabot[bot] 1104846219 chore(deps): bump github.com/blevesearch/bleve/v2 from 2.4.2 to 2.4.3
Bumps [github.com/blevesearch/bleve/v2](https://github.com/blevesearch/bleve) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/blevesearch/bleve/releases)
- [Commits](https://github.com/blevesearch/bleve/compare/v2.4.2...v2.4.3)

---
updated-dependencies:
- dependency-name: github.com/blevesearch/bleve/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-14 08:38:51 +01:00
dependabot[bot] 926bc8e22a chore(deps): bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
Bumps [go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.56.0 to 0.57.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.56.0...zpages/v0.57.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-14 08:37:21 +01:00
Sawjan Gurung 61ce572bb4 Merge pull request #10409 from owncloud/tests-move-activities-by-fileid
[tests-only][full-ci] add test to check activities of destination file and folder by moving a file using file-id
2024-11-14 09:39:29 +05:45
kobergj 8380f21cbe Automated changelog update [skip ci] 2024-11-13 14:52:15 +00:00
kobergj d99deb93e8 Merge pull request #10557 from owncloud/PerformanceDegradation2
Performance Degradation
2024-11-13 15:51:31 +01:00
jkoberg 2d2801009c fix(performance): use less workers for not essential consumers
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-11-13 15:07:29 +01:00
Christian Richter 08d9c14e27 Merge pull request #10561 from dragonchaser/fix-ocis-init
Fix ocis init
2024-11-13 12:57:59 +00:00
Christian Richter 30f8409b34 generate collaborationWOPISecret if old config does not contain any
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-11-13 13:06:30 +01:00
Christian Richter d1bfb73f96 remove tmpfile if no diff changes present
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-11-13 13:06:13 +01:00
Jörn Friedrich Dreyer 7546dab444 Merge pull request #10555 from owncloud/dependabot/go_modules/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc-1.32.0
chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.31.0 to 1.32.0
2024-11-13 12:38:15 +01:00
pradip 8b9da7ba29 test(refactor): change the structure of destinations to make it more readable 2024-11-13 17:04:24 +05:45
Juan Pablo Villafáñez 815b0cc3b9 fix: remove context from the session 2024-11-13 11:14:44 +01:00
Roman Perekhod df38e9d39f Automated changelog update [skip ci] 2024-11-13 09:43:21 +00:00
Roman Perekhod 5502cc25a4 Merge pull request #10550 from 2403905/issue-10292
fix impersonated request user mismatch
2024-11-13 10:39:39 +01:00
Martin 707ffa45c3 Merge pull request #10556 from owncloud/proxy_text_clarification
[docs-only] Text fix in proxy readme
2024-11-13 08:51:43 +01:00
Martin Mattel 0f4bd3fc0b [docs-only] Text fix in proxy readme 2024-11-13 08:40:45 +01:00
Michael Barz d16088e70d Merge pull request #10554 from owncloud/dependabot/go_modules/golang.org/x/image-0.22.0
chore(deps): bump golang.org/x/image from 0.21.0 to 0.22.0
2024-11-13 08:34:15 +01:00
dependabot[bot] ce368f7e8f chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.31.0...v1.32.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 06:59:01 +00:00
dependabot[bot] 5310dce231 chore(deps): bump golang.org/x/image from 0.21.0 to 0.22.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/image/compare/v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 06:58:45 +00:00
prashant-gurung899 84019acc3a add test to check move activities using file-id
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-11-13 11:28:24 +05:45
Sawjan Gurung 3998a9a4d9 Merge pull request #10436 from owncloud/remove-todo-step-in-webdav
[tests-only][full-ci] updated feature file to remove trailing slash for folder propfind request
2024-11-13 10:35:56 +05:45
Sabin 471d43a4e6 beautify feature file 2024-11-13 09:57:46 +05:45
Sabin d7b237eee2 updated feature file to remove trailing slash for folder propfind request 2024-11-13 09:53:49 +05:45
Michael Barz 98bada4fd5 Automated changelog update [skip ci] 2024-11-12 19:35:29 +00:00
Michael Barz b8226dc87a Merge pull request #10553 from owncloud/release-7.0.0-rc.2
[full-ci][k6-test] chore: prepare release, bump version
2024-11-12 20:34:43 +01:00
Roman Perekhod d61d63b66f fix impersonated request user mismatch 2024-11-12 16:52:55 +01:00
Juan Pablo Villafáñez 8db84e9041 test: enable skipped validator tests 2024-11-05 10:24:32 +01:00
Klaas Freitag 6adcde6d38 Add proper link to Clustered watch folder 2023-12-11 16:43:56 +01:00
Klaas Freitag 131f473529 Initial commit of collaborative storage notes 2023-11-28 17:07:47 +01:00
721 changed files with 14894 additions and 16642 deletions

No files matched your search

+2 -2
View File
@@ -1,3 +1,3 @@
# The test runner source for UI tests
WEB_COMMITID=4c348f6a0c697fcd9862cdcbf909c255a6eec848
WEB_BRANCH=master
WEB_COMMITID=264014d2f2a216de72114e5453cfa684ab275978
WEB_BRANCH=stable-11.0
+290 -107
View File
@@ -58,6 +58,14 @@ dirs = {
"ocmProviders": "tests/config/drone/providers.json",
}
# OCIS URLs
OCIS_SERVER_NAME = "ocis-server"
OCIS_URL = "https://%s:9200" % OCIS_SERVER_NAME
OCIS_DOMAIN = "%s:9200" % OCIS_SERVER_NAME
FED_OCIS_SERVER_NAME = "federation-ocis-server"
OCIS_FED_URL = "https://%s:10200" % FED_OCIS_SERVER_NAME
OCIS_FED_DOMAIN = "%s:10200" % FED_OCIS_SERVER_NAME
# configuration
config = {
"cs3ApiTests": {
@@ -86,6 +94,7 @@ config = {
"graph": {
"suites": [
"apiGraph",
"apiServiceAvailability",
],
"skip": False,
"withRemotePhp": [True],
@@ -172,6 +181,7 @@ config = {
"NOTIFICATIONS_SMTP_PORT": "2500",
"NOTIFICATIONS_SMTP_INSECURE": "true",
"NOTIFICATIONS_SMTP_SENDER": "ownCloud <noreply@example.com>",
"NOTIFICATIONS_DEBUG_ADDR": "0.0.0.0:9174",
},
},
"antivirus": {
@@ -186,6 +196,7 @@ config = {
"POSTPROCESSING_STEPS": "virusscan",
"OCIS_ASYNC_UPLOADS": True,
"OCIS_ADD_RUN_SERVICES": "antivirus",
"ANTIVIRUS_DEBUG_ADDR": "0.0.0.0:9297",
},
},
"searchContent": {
@@ -231,6 +242,17 @@ config = {
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
},
},
"authApp": {
"suites": [
"apiAuthApp",
],
"skip": False,
"withRemotePhp": [True],
"extraServerEnvironment": {
"OCIS_ADD_RUN_SERVICES": "auth-app",
"PROXY_ENABLE_APP_AUTH": True,
},
},
"cliCommands": {
"suites": [
"cliCommands",
@@ -263,6 +285,20 @@ config = {
"tikaNeeded": True,
},
},
"e2eMultiService": {
"testSuites": {
"skip": False,
"suites": [
"smoke",
"shares",
"search",
"journeys",
"file-action",
"spaces",
],
"tikaNeeded": True,
},
},
"rocketchat": {
"channel": "builds",
"channel_cron": "builds",
@@ -470,7 +506,7 @@ def testPipelines(ctx):
if "skip" not in config["apiTests"] or not config["apiTests"]["skip"]:
pipelines += apiTests(ctx)
pipelines += e2eTestPipeline(ctx)
pipelines += e2eTestPipeline(ctx) + multiServiceE2ePipeline(ctx)
if ("skip" not in config["k6LoadTests"] or not config["k6LoadTests"]["skip"]) and ("k6-test" in ctx.build.title.lower() or ctx.build.event == "cron"):
pipelines += k6LoadTests(ctx)
@@ -929,6 +965,10 @@ def codestyle(ctx):
def localApiTestPipeline(ctx):
pipelines = []
with_remote_php = [True]
if ctx.build.event == "cron" or "full-ci" in ctx.build.title.lower():
with_remote_php.append(False)
defaults = {
"suites": {},
"skip": False,
@@ -942,7 +982,7 @@ def localApiTestPipeline(ctx):
"federationServer": False,
"collaborationServiceNeeded": False,
"extraCollaborationEnvironment": {},
"withRemotePhp": [True, False] if ctx.build.event == "cron" else [True],
"withRemotePhp": with_remote_php,
}
if "localApiTests" in config:
@@ -952,11 +992,11 @@ def localApiTestPipeline(ctx):
for item in defaults:
params[item] = matrix[item] if item in matrix else defaults[item]
for storage in params["storages"]:
for withRemotePhp in params["withRemotePhp"]:
for run_with_remote_php in params["withRemotePhp"]:
pipeline = {
"kind": "pipeline",
"type": "docker",
"name": "%s-%s%s" % ("CLI" if name.startswith("cli") else "API", name, "-withoutRemotePhp" if not withRemotePhp else ""),
"name": "%s-%s%s" % ("CLI" if name.startswith("cli") else "API", name, "-withoutRemotePhp" if not run_with_remote_php else ""),
"platform": {
"os": "linux",
"arch": "amd64",
@@ -970,8 +1010,8 @@ def localApiTestPipeline(ctx):
(waitForEmailService() if params["emailNeeded"] else []) +
(ocisServer(storage, params["accounts_hash_difficulty"], deploy_type = "federation", extra_server_environment = params["extraServerEnvironment"]) if params["federationServer"] else []) +
((wopiCollaborationService("fakeoffice") + wopiCollaborationService("collabora") + wopiCollaborationService("onlyoffice")) if params["collaborationServiceNeeded"] else []) +
(waitForServices("wopi", ["wopi-collabora:9300", "wopi-onlyoffice:9300", "wopi-fakeoffice:9300"]) if params["collaborationServiceNeeded"] else []) +
localApiTests(ctx, name, params["suites"], storage, params["extraEnvironment"], withRemotePhp) +
(ocisHealthCheck("wopi", ["wopi-collabora:9304", "wopi-onlyoffice:9304", "wopi-fakeoffice:9304"]) if params["collaborationServiceNeeded"] else []) +
localApiTests(ctx, name, params["suites"], storage, params["extraEnvironment"], run_with_remote_php) +
logRequests(),
"services": (emailService() if params["emailNeeded"] else []) +
(clamavService() if params["antivirusNeeded"] else []) +
@@ -992,19 +1032,18 @@ def localApiTests(ctx, name, suites, storage = "ocis", extra_environment = {}, w
expected_failures_file = "%s/expected-failures-localAPI-on-%s-storage.md" % (test_dir, storage.upper())
environment = {
"PATH_TO_OCIS": dirs["base"],
"TEST_SERVER_URL": OCIS_URL,
"TEST_SERVER_FED_URL": OCIS_FED_URL,
"OCIS_REVA_DATA_ROOT": "%s" % (dirs["ocisRevaDataRoot"] if storage == "owncloud" else ""),
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
"SEND_SCENARIO_LINE_REFERENCES": "true",
"STORAGE_DRIVER": storage,
"BEHAT_SUITES": ",".join(suites),
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
"EXPECTED_FAILURES_FILE": expected_failures_file,
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
"OCIS_WRAPPER_URL": "http://ocis-server:5200",
"OCIS_WRAPPER_URL": "http://%s:5200" % OCIS_SERVER_NAME,
"WITH_REMOTE_PHP": with_remote_php,
"COLLABORATION_SERVICE_URL": "http://wopi-fakeoffice:9300",
}
for item in extra_environment:
@@ -1039,7 +1078,7 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
"image": OC_CS3_API_VALIDATOR,
"environment": {},
"commands": [
"/usr/bin/cs3api-validator /var/lib/cs3api-validator --endpoint=ocis-server:9142",
"/usr/bin/cs3api-validator /var/lib/cs3api-validator --endpoint=%s:9142" % OCIS_SERVER_NAME,
],
},
],
@@ -1094,7 +1133,6 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
wopiServer = wopiCollaborationService("fakeoffice")
wopiTestCases = dirs["base"] + "/tests/config/drone/wopiValidatorCustomTestCases.xml"
for testgroup in testgroups:
validatorTests.append({
"name": "wopiValidatorTests-%s" % testgroup,
@@ -1107,7 +1145,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
"export WOPI_SRC=$(cat wopisrc)",
"echo $WOPI_SRC",
"cd /app",
"/app/Microsoft.Office.WopiValidator -t $WOPI_TOKEN -w $WOPI_SRC -l $WOPI_TTL --testgroup %s -c %s" % (testgroup, wopiTestCases),
"/app/Microsoft.Office.WopiValidator -t $WOPI_TOKEN -w $WOPI_SRC -l $WOPI_TTL --testgroup %s" % testgroup,
],
})
if wopiServerType == "builtin":
@@ -1123,7 +1161,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
"export WOPI_SRC=$(cat wopisrc)",
"echo $WOPI_SRC",
"cd /app",
"/app/Microsoft.Office.WopiValidator -s -t $WOPI_TOKEN -w $WOPI_SRC -l $WOPI_TTL --testgroup %s -c %s" % (builtinOnlyGroup, wopiTestCases),
"/app/Microsoft.Office.WopiValidator -s -t $WOPI_TOKEN -w $WOPI_SRC -l $WOPI_TTL --testgroup %s" % builtinOnlyGroup,
],
})
@@ -1148,10 +1186,10 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
"image": OC_CI_ALPINE,
"environment": {},
"commands": [
"curl -v -X PUT 'https://ocis-server:9200/remote.php/webdav/test.wopitest' -k --fail --retry-connrefused --retry 7 --retry-all-errors -u admin:admin -D headers.txt",
"curl -v -X PUT '%s/remote.php/webdav/test.wopitest' -k --fail --retry-connrefused --retry 7 --retry-all-errors -u admin:admin -D headers.txt" % OCIS_URL,
"cat headers.txt",
"export FILE_ID=$(cat headers.txt | sed -n -e 's/^.*Oc-Fileid: //p')",
"export URL=\"https://ocis-server:9200/app/open?app_name=FakeOffice&file_id=$FILE_ID\"",
"export URL=\"%s/app/open?app_name=FakeOffice&file_id=$FILE_ID\"" % OCIS_URL,
"export URL=$(echo $URL | tr -d '[:cntrl:]')",
"curl -v -X POST \"$URL\" -k --fail --retry-connrefused --retry 7 --retry-all-errors -u admin:admin > open.json",
"cat open.json",
@@ -1193,10 +1231,8 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, with_remote_php = Fa
"name": "oC10ApiTests-%s" % part_number,
"image": OC_CI_PHP % DEFAULT_PHP_VERSION,
"environment": {
"PATH_TO_OCIS": "%s" % dirs["base"],
"TEST_SERVER_URL": OCIS_URL,
"OCIS_REVA_DATA_ROOT": "%s" % (dirs["ocisRevaDataRoot"] if storage == "owncloud" else ""),
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
"SEND_SCENARIO_LINE_REFERENCES": "true",
"STORAGE_DRIVER": storage,
"BEHAT_FILTER_TAGS": filterTags,
@@ -1205,7 +1241,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, with_remote_php = Fa
"ACCEPTANCE_TEST_TYPE": "core-api",
"EXPECTED_FAILURES_FILE": expected_failures_file,
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
"OCIS_WRAPPER_URL": "http://ocis-server:5200",
"OCIS_WRAPPER_URL": "http://%s:5200" % OCIS_SERVER_NAME,
"WITH_REMOTE_PHP": with_remote_php,
},
"commands": [
@@ -1230,13 +1266,19 @@ def apiTests(ctx):
pipelines = []
debugParts = config["apiTests"]["skipExceptParts"]
debugPartsEnabled = (len(debugParts) != 0)
with_remote_php = [True]
if ctx.build.event == "cron" or "full-ci" in ctx.build.title.lower():
with_remote_php.append(False)
defaults = {
"withRemotePhp": [True, False] if ctx.build.event == "cron" else [True],
"withRemotePhp": with_remote_php,
}
for runPart in range(1, config["apiTests"]["numberOfParts"] + 1):
for withRemotePhp in defaults["withRemotePhp"]:
for run_with_remote_php in defaults["withRemotePhp"]:
if (not debugPartsEnabled or (debugPartsEnabled and runPart in debugParts)):
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], withRemotePhp))
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], run_with_remote_php))
return pipelines
@@ -1304,7 +1346,7 @@ def e2eTestPipeline(ctx):
restoreWebCache() + \
restoreWebPnpmCache() + \
(tikaService() if params["tikaNeeded"] else []) + \
ocisServer("ocis", 4, [], extra_server_environment = extra_server_environment, tika_enabled = params["tikaNeeded"])
ocisServer(extra_server_environment = extra_server_environment, tika_enabled = params["tikaNeeded"])
step_e2e = {
"name": "e2e-tests",
@@ -1356,6 +1398,137 @@ def e2eTestPipeline(ctx):
return pipelines
def multiServiceE2ePipeline(ctx):
pipelines = []
defaults = {
"skip": False,
"suites": [],
"xsuites": [],
"tikaNeeded": False,
}
e2e_trigger = {
"ref": [
"refs/heads/master",
"refs/pull/**",
],
}
if ("skip-e2e" in ctx.build.title.lower()):
return pipelines
# run this pipeline only for cron jobs and full-ci PRs
if (not "full-ci" in ctx.build.title.lower() and ctx.build.event != "cron"):
return pipelines
extra_server_environment = {
"OCIS_PASSWORD_POLICY_BANNED_PASSWORDS_LIST": "%s" % dirs["bannedPasswordList"],
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
"OCIS_SERVICE_ACCOUNT_ID": "service-account-id",
"OCIS_SERVICE_ACCOUNT_SECRET": "service-account-secret",
"OCIS_EXCLUDE_RUN_SERVICES": "storage-users",
"OCIS_GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
"SETTINGS_GRPC_ADDR": "0.0.0.0:9191",
"GATEWAY_STORAGE_USERS_MOUNT_ID": "storage-users-id",
}
storage_users_environment = {
"OCIS_CORS_ALLOW_ORIGINS": "%s,https://%s:9201" % (OCIS_URL, OCIS_SERVER_NAME),
"STORAGE_USERS_JWT_SECRET": "some-ocis-jwt-secret",
"STORAGE_USERS_MOUNT_ID": "storage-users-id",
"STORAGE_USERS_SERVICE_ACCOUNT_ID": "service-account-id",
"STORAGE_USERS_SERVICE_ACCOUNT_SECRET": "service-account-secret",
"STORAGE_USERS_GATEWAY_GRPC_ADDR": "%s:9142" % OCIS_SERVER_NAME,
"STORAGE_USERS_EVENTS_ENDPOINT": "%s:9233" % OCIS_SERVER_NAME,
"STORAGE_USERS_DATA_GATEWAY_URL": "%s/data" % OCIS_URL,
"OCIS_CACHE_STORE": "nats-js-kv",
"OCIS_CACHE_STORE_NODES": "%s:9233" % OCIS_SERVER_NAME,
"MICRO_REGISTRY_ADDRESS": "%s:9233" % OCIS_SERVER_NAME,
}
storage_users1_environment = {
"STORAGE_USERS_GRPC_ADDR": "storageusers1:9157",
"STORAGE_USERS_HTTP_ADDR": "storageusers1:9158",
"STORAGE_USERS_DEBUG_ADDR": "storageusers1:9159",
"STORAGE_USERS_DATA_SERVER_URL": "http://storageusers1:9158/data",
}
for item in storage_users_environment:
storage_users1_environment[item] = storage_users_environment[item]
storage_users2_environment = {
"STORAGE_USERS_GRPC_ADDR": "storageusers2:9157",
"STORAGE_USERS_HTTP_ADDR": "storageusers2:9158",
"STORAGE_USERS_DEBUG_ADDR": "storageusers2:9159",
"STORAGE_USERS_DATA_SERVER_URL": "http://storageusers2:9158/data",
}
for item in storage_users_environment:
storage_users2_environment[item] = storage_users_environment[item]
storage_volume = [{
"name": "storage",
"path": "/root/.ocis",
}]
storage_users_services = startOcisService("storage-users", "storageusers1", storage_users1_environment, storage_volume) + \
startOcisService("storage-users", "storageusers2", storage_users2_environment, storage_volume) + \
ocisHealthCheck("storage-users", ["storageusers1:9159", "storageusers2:9159"])
for _, suite in config["e2eMultiService"].items():
if "skip" in suite and suite["skip"]:
continue
params = {}
for item in defaults:
params[item] = suite[item] if item in suite else defaults[item]
e2e_args = ""
if params["suites"]:
e2e_args = "--suites %s" % ",".join(params["suites"])
# suites to skip
if params["xsuites"]:
e2e_args += " --xsuites %s" % ",".join(params["xsuites"])
steps = \
skipIfUnchanged(ctx, "e2e-tests") + \
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin/ocis") + \
restoreWebCache() + \
restoreWebPnpmCache() + \
tikaService() + \
ocisServer(extra_server_environment = extra_server_environment, tika_enabled = params["tikaNeeded"]) + \
storage_users_services + \
[{
"name": "e2e-tests",
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
"environment": {
"BASE_URL_OCIS": OCIS_DOMAIN,
"HEADLESS": "true",
"RETRY": "1",
},
"commands": [
"cd %s/tests/e2e" % dirs["web"],
"bash run-e2e.sh %s" % e2e_args,
],
}] + \
uploadTracingResult(ctx) + \
logTracingResults()
pipelines.append({
"kind": "pipeline",
"type": "docker",
"name": "e2e-tests-multi-service",
"steps": steps,
"depends_on": getPipelineNames(buildOcisBinaryForTesting(ctx) + buildWebCache(ctx)),
"trigger": e2e_trigger,
"volumes": [
{
"name": "storage",
"temp": {},
},
pipelineVolumeGo,
],
})
return pipelines
def uploadTracingResult(ctx):
return [{
"name": "upload-tracing-result",
@@ -2144,9 +2317,9 @@ def notify(ctx):
},
}
def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on = [], deploy_type = "", extra_server_environment = {}, with_wrapper = False, tika_enabled = False):
def ocisServer(storage = "ocis", accounts_hash_difficulty = 4, volumes = [], depends_on = [], deploy_type = "", extra_server_environment = {}, with_wrapper = False, tika_enabled = False):
user = "0:0"
container_name = "ocis-server"
container_name = OCIS_SERVER_NAME
environment = {
"OCIS_URL": OCIS_URL,
"OCIS_CONFIG_DIR": "/root/.ocis/config", # needed for checking config later
@@ -2159,13 +2332,47 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
"FRONTEND_SEARCH_MIN_LENGTH": "2",
"OCIS_ASYNC_UPLOADS": True,
"OCIS_EVENTS_ENABLE_TLS": False,
"MICRO_REGISTRY": "nats-js-kv",
"MICRO_REGISTRY_ADDRESS": "127.0.0.1:9233",
"NATS_NATS_HOST": "0.0.0.0",
"NATS_NATS_PORT": 9233,
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
"EVENTHISTORY_STORE": "memory",
"OCIS_TRANSLATION_PATH": "%s/tests/config/translations" % dirs["base"],
# debug addresses required for running services health tests
"ACTIVITYLOG_DEBUG_ADDR": "0.0.0.0:9197",
"APP_PROVIDER_DEBUG_ADDR": "0.0.0.0:9165",
"APP_REGISTRY_DEBUG_ADDR": "0.0.0.0:9243",
"AUTH_BASIC_DEBUG_ADDR": "0.0.0.0:9147",
"AUTH_MACHINE_DEBUG_ADDR": "0.0.0.0:9167",
"AUTH_SERVICE_DEBUG_ADDR": "0.0.0.0:9198",
"CLIENTLOG_DEBUG_ADDR": "0.0.0.0:9260",
"EVENTHISTORY_DEBUG_ADDR": "0.0.0.0:9270",
"FRONTEND_DEBUG_ADDR": "0.0.0.0:9141",
"GATEWAY_DEBUG_ADDR": "0.0.0.0:9143",
"GRAPH_DEBUG_ADDR": "0.0.0.0:9124",
"GROUPS_DEBUG_ADDR": "0.0.0.0:9161",
"IDM_DEBUG_ADDR": "0.0.0.0:9239",
"IDP_DEBUG_ADDR": "0.0.0.0:9134",
"INVITATIONS_DEBUG_ADDR": "0.0.0.0:9269",
"NATS_DEBUG_ADDR": "0.0.0.0:9234",
"OCDAV_DEBUG_ADDR": "0.0.0.0:9163",
"OCM_DEBUG_ADDR": "0.0.0.0:9281",
"OCS_DEBUG_ADDR": "0.0.0.0:9114",
"POSTPROCESSING_DEBUG_ADDR": "0.0.0.0:9255",
"PROXY_DEBUG_ADDR": "0.0.0.0:9205",
"SEARCH_DEBUG_ADDR": "0.0.0.0:9224",
"SETTINGS_DEBUG_ADDR": "0.0.0.0:9194",
"SHARING_DEBUG_ADDR": "0.0.0.0:9151",
"SSE_DEBUG_ADDR": "0.0.0.0:9139",
"STORAGE_PUBLICLINK_DEBUG_ADDR": "0.0.0.0:9179",
"STORAGE_SHARES_DEBUG_ADDR": "0.0.0.0:9156",
"STORAGE_SYSTEM_DEBUG_ADDR": "0.0.0.0:9217",
"STORAGE_USERS_DEBUG_ADDR": "0.0.0.0:9159",
"THUMBNAILS_DEBUG_ADDR": "0.0.0.0:9189",
"USERLOG_DEBUG_ADDR": "0.0.0.0:9214",
"USERS_DEBUG_ADDR": "0.0.0.0:9145",
"WEB_DEBUG_ADDR": "0.0.0.0:9104",
"WEBDAV_DEBUG_ADDR": "0.0.0.0:9119",
"WEBFINGER_DEBUG_ADDR": "0.0.0.0:9279",
}
if deploy_type == "":
@@ -2191,7 +2398,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
if deploy_type == "federation":
environment["OCIS_URL"] = OCIS_FED_URL
environment["PROXY_HTTP_ADDR"] = OCIS_FED_DOMAIN
container_name = "federation-ocis-server"
container_name = FED_OCIS_SERVER_NAME
if tika_enabled:
environment["FRONTEND_FULL_TEXT_SEARCH_ENABLED"] = True
@@ -2246,6 +2453,38 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
wait_for_ocis,
]
def startOcisService(service = None, name = None, environment = {}, volumes = []):
"""
Starts an OCIS service in a detached container.
Args:
service (str): The name of the service to start.
name (str): The name of the container.
environment (dict): The environment variables to set in the container.
volumes (list): The volumes to mount in the container.
Returns:
list: A list of pipeline steps to start the service.
"""
if not service:
return []
if not name:
name = service
return [
{
"name": name,
"image": OC_CI_GOLANG,
"detach": True,
"environment": environment,
"commands": [
"ocis/bin/ocis %s server" % service,
],
"volumes": volumes,
},
]
def redis():
return [
{
@@ -2599,67 +2838,6 @@ def pipelineSanityChecks(ctx, pipelines):
for image in images.keys():
print(" %sx\t%s" % (images[image], image))
# configs
OCIS_URL = "https://ocis-server:9200"
OCIS_DOMAIN = "ocis-server:9200"
OC10_URL = "http://oc10:8080"
OCIS_FED_URL = "https://federation-ocis-server:10200"
OCIS_FED_DOMAIN = "federation-ocis-server:10200"
# step volumes
stepVolumeOC10Templates = \
{
"name": "oc10-templates",
"path": "/etc/templates",
}
stepVolumeOC10PreServer = \
{
"name": "preserver-config",
"path": "/etc/pre_server.d",
}
stepVolumeOC10Apps = \
{
"name": "core-apps",
"path": "/var/www/owncloud/apps",
}
stepVolumeOC10OCISData = \
{
"name": "data",
"path": "/mnt/data",
}
stepVolumeOCISConfig = \
{
"name": "proxy-config",
"path": "/etc/ocis",
}
# pipeline volumes
pipeOC10TemplatesVol = \
{
"name": "oc10-templates",
"temp": {},
}
pipeOC10PreServerVol = \
{
"name": "preserver-config",
"temp": {},
}
pipeOC10AppsVol = \
{
"name": "core-apps",
"temp": {},
}
pipeOC10OCISSharedVol = \
{
"name": "data",
"temp": {},
}
pipeOCISConfigVol = \
{
"name": "proxy-config",
"temp": {},
}
def litmus(ctx, storage):
pipelines = []
@@ -2693,7 +2871,7 @@ def litmus(ctx, storage):
"environment": environment,
"commands": [
"source .env",
'export LITMUS_URL="https://ocis-server:9200/remote.php/webdav"',
'export LITMUS_URL="%s/remote.php/webdav"' % OCIS_URL,
litmusCommand,
],
},
@@ -2703,7 +2881,7 @@ def litmus(ctx, storage):
"environment": environment,
"commands": [
"source .env",
'export LITMUS_URL="https://ocis-server:9200/remote.php/dav/files/admin"',
'export LITMUS_URL="%s/remote.php/dav/files/admin"' % OCIS_URL,
litmusCommand,
],
},
@@ -2713,7 +2891,7 @@ def litmus(ctx, storage):
"environment": environment,
"commands": [
"source .env",
'export LITMUS_URL="https://ocis-server:9200/remote.php/dav/files/admin/Shares/new_folder/"',
'export LITMUS_URL="%s/remote.php/dav/files/admin/Shares/new_folder/"' % OCIS_URL,
litmusCommand,
],
},
@@ -2723,7 +2901,7 @@ def litmus(ctx, storage):
"environment": environment,
"commands": [
"source .env",
'export LITMUS_URL="https://ocis-server:9200/remote.php/webdav/Shares/new_folder/"',
'export LITMUS_URL="%s/remote.php/webdav/Shares/new_folder/"' % OCIS_URL,
litmusCommand,
],
},
@@ -2737,7 +2915,7 @@ def litmus(ctx, storage):
# },
# "commands": [
# "source .env",
# "export LITMUS_URL='https://ocis-server:9200/remote.php/dav/public-files/'$PUBLIC_TOKEN",
# "export LITMUS_URL='%s/remote.php/dav/public-files/'$PUBLIC_TOKEN" % OCIS_URL,
# litmusCommand,
# ],
# },
@@ -2747,7 +2925,7 @@ def litmus(ctx, storage):
"environment": environment,
"commands": [
"source .env",
"export LITMUS_URL='https://ocis-server:9200/remote.php/dav/spaces/'$SPACE_ID",
"export LITMUS_URL='%s/remote.php/dav/spaces/'$SPACE_ID" % OCIS_URL,
litmusCommand,
],
},
@@ -2976,10 +3154,11 @@ def wopiCollaborationService(name):
environment = {
"MICRO_REGISTRY": "nats-js-kv",
"MICRO_REGISTRY_ADDRESS": "ocis-server:9233",
"MICRO_REGISTRY_ADDRESS": "%s:9233" % OCIS_SERVER_NAME,
"COLLABORATION_LOG_LEVEL": "debug",
"COLLABORATION_GRPC_ADDR": "0.0.0.0:9301",
"COLLABORATION_HTTP_ADDR": "0.0.0.0:9300",
"COLLABORATION_DEBUG_ADDR": "0.0.0.0:9304",
"COLLABORATION_APP_PROOF_DISABLE": "true",
"COLLABORATION_APP_INSECURE": "true",
"COLLABORATION_CS3API_DATAGATEWAY_INSECURE": "true",
@@ -3004,17 +3183,7 @@ def wopiCollaborationService(name):
environment["COLLABORATION_WOPI_SRC"] = "http://%s:9300" % service_name
return [
{
"name": service_name,
"image": OC_CI_GOLANG,
"detach": True,
"environment": environment,
"commands": [
"ocis/bin/ocis collaboration server",
],
},
]
return startOcisService("collaboration", service_name, environment)
def tikaService():
return [{
@@ -3149,6 +3318,20 @@ def waitForServices(name, services = []):
],
}]
def ocisHealthCheck(name, services = []):
commands = []
timeout = 300
curl_command = ["timeout %s bash -c 'while [ $(curl -s %s/%s ", "-w %{http_code} -o /dev/null) != 200 ]; do sleep 1; done'"]
for service in services:
commands.append(curl_command[0] % (timeout, service, "healthz") + curl_command[1])
commands.append(curl_command[0] % (timeout, service, "readyz") + curl_command[1])
return [{
"name": "health-check-%s" % name,
"image": OC_CI_ALPINE,
"commands": commands,
}]
def collaboraService():
return [
{
@@ -3158,7 +3341,7 @@ def collaboraService():
"detach": True,
"environment": {
"DONT_GEN_SSL_CERT": "set",
"extra_params": "--o:ssl.enable=true --o:ssl.termination=true --o:welcome.enable=false --o:net.frame_ancestors=https://ocis-server:9200",
"extra_params": "--o:ssl.enable=true --o:ssl.termination=true --o:welcome.enable=false --o:net.frame_ancestors=%s" % OCIS_URL,
},
"commands": [
"coolconfig generate-proof-key",
+447 -3
View File
@@ -1,11 +1,17 @@
# Table of Contents
* [Changelog for unreleased](#changelog-for-unreleased-unreleased)
* [Changelog for 7.0.0-rc.4](#changelog-for-700-rc4-2024-12-09)
* [Changelog for 7.0.0-rc.3](#changelog-for-700-rc3-2024-11-21)
* [Changelog for 5.0.9](#changelog-for-509-2024-11-14)
* [Changelog for 7.0.0-rc.2](#changelog-for-700-rc2-2024-11-12)
* [Changelog for 7.0.0-rc.1](#changelog-for-700-rc1-2024-11-07)
* [Changelog for 6.6.1](#changelog-for-661-2024-10-24)
* [Changelog for 6.6.0](#changelog-for-660-2024-10-21)
* [Changelog for 6.5.0](#changelog-for-650-2024-10-01)
* [Changelog for 5.0.8](#changelog-for-508-2024-09-30)
* [Changelog for 6.4.0](#changelog-for-640-2024-09-12)
* [Changelog for 5.0.7](#changelog-for-507-2024-09-04)
* [Changelog for 6.3.0](#changelog-for-630-2024-08-20)
* [Changelog for 6.2.0](#changelog-for-620-2024-07-30)
* [Changelog for 5.0.6](#changelog-for-506-2024-07-17)
@@ -54,7 +60,376 @@
The following sections list the changes for unreleased.
[unreleased]: https://github.com/owncloud/ocis/compare/v7.0.0-rc.1...master
[unreleased]: https://github.com/owncloud/ocis/compare/v7.0.0-rc.4...master
## Summary
* Bugfix - Fix link activity message: [#10663](https://github.com/owncloud/ocis/pull/10663)
* Bugfix - Fix graph drives response for federated shares: [#10730](https://github.com/owncloud/ocis/pull/10730)
* Bugfix - GetLastModified property in the REPORT response will use RFC1123 format: [#10738](https://github.com/owncloud/ocis/pull/10738)
* Bugfix - Unifi logging: [#10743](https://github.com/owncloud/ocis/pull/10743/)
* Bugfix - Fix FileInfo BreadcrumbFolderURL upd: [#10757](https://github.com/owncloud/ocis/pull/10757)
* Bugfix - Bump Reva: [#10766](https://github.com/owncloud/ocis/pull/10766)
* Enhancement - Update web to v11.0.6: [#10755](https://github.com/owncloud/ocis/pull/10755)
## Details
* Bugfix - Fix link activity message: [#10663](https://github.com/owncloud/ocis/pull/10663)
We changed the link token to display name in the activity message.
https://github.com/owncloud/ocis/issues/10295
https://github.com/owncloud/ocis/pull/10663
* Bugfix - Fix graph drives response for federated shares: [#10730](https://github.com/owncloud/ocis/pull/10730)
Federated shares where erroneously showing up in the /me/drives response on the
graph API.
https://github.com/owncloud/ocis/issues/10689
https://github.com/owncloud/ocis/pull/10730
* Bugfix - GetLastModified property in the REPORT response will use RFC1123 format: [#10738](https://github.com/owncloud/ocis/pull/10738)
This will follow the standard and will also match the format of the same
property in the PROPFIND response
https://github.com/owncloud/ocis/pull/10738
* Bugfix - Unifi logging: [#10743](https://github.com/owncloud/ocis/pull/10743/)
We fixed some cases where we did not use the correct logger.
https://github.com/owncloud/ocis/pull/10743/
* Bugfix - Fix FileInfo BreadcrumbFolderURL upd: [#10757](https://github.com/owncloud/ocis/pull/10757)
Made GetScopeByKeyPrefix function as a private method of the FileConnector
https://github.com/owncloud/ocis/pull/10757
* Bugfix - Bump Reva: [#10766](https://github.com/owncloud/ocis/pull/10766)
Bumps reva version to 2.27.0
* Bugfix [cs3org/reva#4985](https://github.com/cs3org/reva/pull/4985): Drop unneeded session locks
* Bugfix [cs3org/reva#5000](https://github.com/cs3org/reva/pull/5000): Fix ceph build
* Bugfix [cs3org/reva#4989](https://github.com/cs3org/reva/pull/4989): Deleting OCM share also updates storageprovider
* Enhancement [cs3org/reva#4998](https://github.com/cs3org/reva/pull/4998): Emit event when an ocm share is received
* Enhancement [cs3org/reva#4996](https://github.com/cs3org/reva/pull/4996): Get rid of some cases of unstructured logging
https://github.com/owncloud/ocis/pull/10766
* Enhancement - Update web to v11.0.6: [#10755](https://github.com/owncloud/ocis/pull/10755)
Tags: web
We updated ownCloud Web to v11.0.6. Please refer to the changelog (linked) for
details on the web release.
- Bugfix [owncloud/web#11992](https://github.com/owncloud/web/pull/11992): OCM
invite flow - Bugfix
[owncloud/web#11997](https://github.com/owncloud/web/pull/11997): Change search
scope without search term - Bugfix
[owncloud/web#11998](https://github.com/owncloud/web/pull/11998): Do not load
version when sidebar is closed - Bugfix
[owncloud/web#12000](https://github.com/owncloud/web/pull/12000): Use only space
resource with driveType "project" as space in sidebar - Bugfix
[owncloud/web#12002](https://github.com/owncloud/web/pull/12002): OCM share
editing - Bugfix
[owncloud/web#12002](https://github.com/owncloud/web/pull/12002): OCM share
recipient issuer - Bugfix
[owncloud/web#12008](https://github.com/owncloud/web/pull/12008): Missing
activities on Shared with me page - Bugfix
[owncloud/web#12010](https://github.com/owncloud/web/pull/12010): Sidebar file
info for shares - Bugfix
[owncloud/web#12012](https://github.com/owncloud/web/pull/12012): Show missing
role name in link share panel - Bugfix
[owncloud/web#12013](https://github.com/owncloud/web/pull/12013): Missing
translations for share type filters - Bugfix
[owncloud/web#12022](https://github.com/owncloud/web/pull/12022): Permanent link
for shares
https://github.com/owncloud/ocis/pull/10755
https://github.com/owncloud/web/releases/tag/v11.0.6
# Changelog for [7.0.0-rc.4] (2024-12-09)
The following sections list the changes for 7.0.0-rc.4.
[7.0.0-rc.4]: https://github.com/owncloud/ocis/compare/v7.0.0-rc.3...v7.0.0-rc.4
## Summary
* Bugfix - Fix deny access for graph roles: [#10627](https://github.com/owncloud/ocis/pull/10627)
* Bugfix - Fix possible race condition when a thumbnails is stored in the FS: [#10693](https://github.com/owncloud/ocis/pull/10693)
* Bugfix - Skip fetching members: [#10701](https://github.com/owncloud/ocis/pull/10701)
* Bugfix - Fix FileInfo BreadcrumbFolderURL: [#10718](https://github.com/owncloud/ocis/pull/10718)
* Bugfix - Bump Reva: [#10735](https://github.com/owncloud/ocis/pull/10735)
* Enhancement - Fetch shared resource metadata concurrently in graph: [#10683](https://github.com/owncloud/ocis/pull/10683)
## Details
* Bugfix - Fix deny access for graph roles: [#10627](https://github.com/owncloud/ocis/pull/10627)
We added a unified role "Cannot access" to prevent a regression when switching
the share implementation to the graph API. This role is now used to deny access
to a resource.The new role is not enabled by default. The whole deny feature is
still experimental.
https://github.com/owncloud/ocis/pull/10627
* Bugfix - Fix possible race condition when a thumbnails is stored in the FS: [#10693](https://github.com/owncloud/ocis/pull/10693)
A race condition could cause the thumbnail service to return a thumbnail with 0
bytes or with partial content. In order to fix this, the service will create a
temporary file with the contents and then rename that file to its final
location.
https://github.com/owncloud/ocis/pull/10693
* Bugfix - Skip fetching members: [#10701](https://github.com/owncloud/ocis/pull/10701)
We now skip fetching group members when they are not needed.
https://github.com/owncloud/ocis/pull/10701
* Bugfix - Fix FileInfo BreadcrumbFolderURL: [#10718](https://github.com/owncloud/ocis/pull/10718)
We fixed the FileInfo.BreadcrumbFolderURL in a collaboration api"
https://github.com/owncloud/ocis/pull/10718
* Bugfix - Bump Reva: [#10735](https://github.com/owncloud/ocis/pull/10735)
Bumps reva version to 2.26.8
* Fix [cs3org/reva#4983](https://github.com/cs3org/reva/pull/4983): Delete stale shares in the jsoncs3 share manager
* Fix [cs3org/reva#4963](https://github.com/cs3org/reva/pull/4963): Fix name and displayName in an ocm
* Fix [cs3org/reva#4968](https://github.com/cs3org/reva/pull/4968): Jsoncs3 cache fixes
* Fix [cs3org/reva#4928](https://github.com/cs3org/reva/pull/4928): Propagate lock in PROPPATCH
* Fix [cs3org/reva#4971](https://github.com/cs3org/reva/pull/4971): Use manager to list shares
* Fix [cs3org/reva#4978](https://github.com/cs3org/reva/pull/4978): We added more trace spans in decomposedfs
* Fix [cs3org/reva#4921](https://github.com/cs3org/reva/pull/4921): Polish propagation related code
https://github.com/owncloud/ocis/pull/10735
* Enhancement - Fetch shared resource metadata concurrently in graph: [#10683](https://github.com/owncloud/ocis/pull/10683)
We now concurrently stat shared resources when listing shares
https://github.com/owncloud/ocis/pull/10683
# Changelog for [7.0.0-rc.3] (2024-11-21)
The following sections list the changes for 7.0.0-rc.3.
[7.0.0-rc.3]: https://github.com/owncloud/ocis/compare/v5.0.9...v7.0.0-rc.3
## Summary
* Bugfix - Log GRPC requests in debug mode: [#10438](https://github.com/owncloud/ocis/pull/10438)
* Bugfix - Fix impersonated request user mismatch: [#10548](https://github.com/owncloud/ocis/pull/10548)
* Bugfix - Fix federated sharing when using an external IDP: [#10567](https://github.com/owncloud/ocis/pull/10567)
* Bugfix - Fix node cache ttl updates: [#10575](https://github.com/owncloud/ocis/pull/10575)
* Bugfix - We now limit the number of workers of the jsoncs3 share manager: [#10578](https://github.com/owncloud/ocis/pull/10578)
* Bugfix - Set MaxConcurrency to 1: [#10580](https://github.com/owncloud/ocis/pull/10580)
* Bugfix - Reuse go-micro service clients: [#10582](https://github.com/owncloud/ocis/pull/10582)
* Bugfix - Make collaboration service use a gateway selector: [#10584](https://github.com/owncloud/ocis/pull/10584)
* Bugfix - Return an error if we can't get the keys and ensure they're cached: [#10590](https://github.com/owncloud/ocis/pull/10590)
* Bugfix - Fix status code for thumbnail requests: [#10592](https://github.com/owncloud/ocis/pull/10592)
* Bugfix - Fix the activity field mapping: [#10593](https://github.com/owncloud/ocis/pull/10593)
* Bugfix - Bump Reva to v2.26.7: [#10612](https://github.com/owncloud/ocis/pull/10612)
* Enhancement - Update web to v11.0.4: [#10569](https://github.com/owncloud/ocis/pull/10569)
## Details
* Bugfix - Log GRPC requests in debug mode: [#10438](https://github.com/owncloud/ocis/pull/10438)
When log level is set to debug we will now also log grpc requests.
https://github.com/owncloud/ocis/pull/10438
* Bugfix - Fix impersonated request user mismatch: [#10548](https://github.com/owncloud/ocis/pull/10548)
We fixed a user id and name mismatch in the impersonated auth-app API request
https://github.com/owncloud/ocis/issues/10292
https://github.com/owncloud/ocis/pull/10548
* Bugfix - Fix federated sharing when using an external IDP: [#10567](https://github.com/owncloud/ocis/pull/10567)
We fixed a bug that caused federated sharing to fail, when the federated oCIS
instances where sharing the same external IDP.
https://github.com/owncloud/ocis/pull/10567
https://github.com/cs3org/reva/pull/4933
* Bugfix - Fix node cache ttl updates: [#10575](https://github.com/owncloud/ocis/pull/10575)
We now only udpate the TTL of the node that is created or updated.
https://github.com/owncloud/ocis/pull/10575
* Bugfix - We now limit the number of workers of the jsoncs3 share manager: [#10578](https://github.com/owncloud/ocis/pull/10578)
We now restrict the number of workers that look up shares to 5. The number can
be changed with `SHARING_USER_JSONCS3_MAX_CONCURRENCY` or
`OCIS_MAX_CONCURRENCY`.
https://github.com/owncloud/ocis/pull/10578
https://github.com/owncloud/ocis/pull/10552
* Bugfix - Set MaxConcurrency to 1: [#10580](https://github.com/owncloud/ocis/pull/10580)
Set MaxConcurrency for frontend and userlog and sharing services to 1. Too many
workers will negatively impact performance on small machines.
https://github.com/owncloud/ocis/pull/10580
https://github.com/owncloud/ocis/pull/10557
* Bugfix - Reuse go-micro service clients: [#10582](https://github.com/owncloud/ocis/pull/10582)
Go micro clients must not be reinitialized. The internal selector will spawn a
new go routine to watch for registry changes.
https://github.com/owncloud/ocis/pull/10582
* Bugfix - Make collaboration service use a gateway selector: [#10584](https://github.com/owncloud/ocis/pull/10584)
https://github.com/owncloud/ocis/pull/10584
* Bugfix - Return an error if we can't get the keys and ensure they're cached: [#10590](https://github.com/owncloud/ocis/pull/10590)
Previously, there was an issue where we could get an error while getting the
public keys from the /hosting/discovery endpoint but we're returning a wrong
success value instead. This is fixed now and we're returning the error.
In addition, the public keys weren't being cached, so we hit the
/hosting/discovery endpoint every time we need to use the public keys. The keys
are now cached so we don't need to hit the endpoint more than what we need.
https://github.com/owncloud/ocis/pull/10590
* Bugfix - Fix status code for thumbnail requests: [#10592](https://github.com/owncloud/ocis/pull/10592)
We fixed the status code returned by the thumbnails service when the image
source for a thumbnail exceeds the configured maximum dimensions or file size.
The service now returns a 403 Forbidden status code instead of a 500 Internal
Server Error status code.
https://github.com/owncloud/ocis/issues/10589
https://github.com/owncloud/ocis/pull/10592
* Bugfix - Fix the activity field mapping: [#10593](https://github.com/owncloud/ocis/pull/10593)
https://github.com/owncloud/ocis/issues/10228
https://github.com/owncloud/ocis/pull/10593
Fixed
the
activity
field
mapping
* Bugfix - Bump Reva to v2.26.7: [#10612](https://github.com/owncloud/ocis/pull/10612)
* Fix [cs3org/reva#4964](https://github.com/cs3org/reva/issues/4964): Fix a wrong error code when approvider creates a new file
Bump Reva to v2.26.6
* Fix [cs3org/reva#4955](https://github.com/cs3org/reva/issues/4955): Allow small clock skew in reva token validation
* Fix [cs3org/reva#4929](https://github.com/cs3org/reva/issues/4929): Fix flaky posixfs integration tests
* Fix [cs3org/reva#4953](https://github.com/cs3org/reva/issues/4953): Avoid gateway panics
* Fix [cs3org/reva#4959](https://github.com/cs3org/reva/issues/4959): Fix missing file touched event
* Fix [cs3org/reva#4933](https://github.com/cs3org/reva/issues/4933): Fix federated sharing when using an external identity provider
* Fix [cs3org/reva#4935](https://github.com/cs3org/reva/issues/4935): Enable datatx log
* Fix [cs3org/reva#4936](https://github.com/cs3org/reva/issues/4936): Do not delete mlock files
* Fix [cs3org/reva#4954](https://github.com/cs3org/reva/issues/4954): Prevent a panic when logging an error
* Fix [cs3org/reva#4956](https://github.com/cs3org/reva/issues/4956): Improve posixfs error handling and logging
* Fix [cs3org/reva#4951](https://github.com/cs3org/reva/issues/4951): Pass the initialized logger down the stack
https://github.com/owncloud/ocis/pull/10612
* Enhancement - Update web to v11.0.4: [#10569](https://github.com/owncloud/ocis/pull/10569)
Tags: web
We updated ownCloud Web to v11.0.4. Please refer to the changelog (linked) for
details on the web release.
- Bugfix [owncloud/web#11870](https://github.com/owncloud/web/issues/11870):
Preview image retries postprocessing - Bugfix
[owncloud/web#11883](https://github.com/owncloud/web/issues/11883): Preview app
Shared with me page - Bugfix
[owncloud/web#11897](https://github.com/owncloud/web/issues/11897): "Save as" /
"Open" when embed delegate authentication is enabled - Bugfix
[owncloud/web#11900](https://github.com/owncloud/web/issues/11900): App top bar
does not show location when shared file is opened - Bugfix
[owncloud/web#11900](https://github.com/owncloud/web/issues/11900): Open from
app and Save As feature broken when opened via shared file - Bugfix
[owncloud/web#11904](https://github.com/owncloud/web/issues/11904): Public
folder reload - Bugfix
[owncloud/web#11916](https://github.com/owncloud/web/issues/11916): Fix order in
roles drop down - Bugfix
[owncloud/web#11923](https://github.com/owncloud/web/issues/11923): Allow create
template with different editors - Bugfix
[owncloud/web#11924](https://github.com/owncloud/web/issues/11924): Extension
actions in right sidebar - Bugfix
[owncloud/web#11929](https://github.com/owncloud/web/issues/11929): Unique
request ids
https://github.com/owncloud/ocis/pull/10569
https://github.com/owncloud/ocis/pull/10604
https://github.com/owncloud/web/releases/tag/v11.0.3
https://github.com/owncloud/web/releases/tag/v11.0.4
# Changelog for [5.0.9] (2024-11-14)
The following sections list the changes for 5.0.9.
[5.0.9]: https://github.com/owncloud/ocis/compare/v7.0.0-rc.2...v5.0.9
## Summary
* Bugfix - Thumbnail request limit: [#10280](https://github.com/owncloud/ocis/pull/10280)
* Bugfix - Restart Postprocessing properly: [#10439](https://github.com/owncloud/ocis/pull/10439)
* Change - Define maximum input image dimensions and size when generating previews: [#10270](https://github.com/owncloud/ocis/pull/10270)
## Details
* Bugfix - Thumbnail request limit: [#10280](https://github.com/owncloud/ocis/pull/10280)
The `THUMBNAILS_MAX_CONCURRENT_REQUESTS` setting was not working correctly.
Previously it was just limiting the number of concurrent thumbnail downloads.
Now the limit is applied to the number thumbnail generations requests.
Additionally the webdav service is now returning a "Retry-After" header when it
is hitting the ratelimit of the thumbnail service.
https://github.com/owncloud/ocis/pull/10280
https://github.com/owncloud/ocis/pull/10270
https://github.com/owncloud/ocis/pull/10225
* Bugfix - Restart Postprocessing properly: [#10439](https://github.com/owncloud/ocis/pull/10439)
Properly differentiate between resume and restart postprocessing.
https://github.com/owncloud/ocis/pull/10439
* Change - Define maximum input image dimensions and size when generating previews: [#10270](https://github.com/owncloud/ocis/pull/10270)
This is a general hardening change to limit processing time and resources of the
thumbnailer.
https://github.com/owncloud/ocis/pull/10270
https://github.com/owncloud/ocis/pull/9360
https://github.com/owncloud/ocis/pull/9035
https://github.com/owncloud/ocis/pull/9069
# Changelog for [7.0.0-rc.2] (2024-11-12)
The following sections list the changes for 7.0.0-rc.2.
[7.0.0-rc.2]: https://github.com/owncloud/ocis/compare/v7.0.0-rc.1...v7.0.0-rc.2
## Summary
@@ -713,7 +1088,7 @@ The following sections list the changes for 6.6.0.
The following sections list the changes for 6.5.0.
[6.5.0]: https://github.com/owncloud/ocis/compare/v6.4.0...v6.5.0
[6.5.0]: https://github.com/owncloud/ocis/compare/v5.0.8...v6.5.0
## Summary
@@ -986,11 +1361,34 @@ The following sections list the changes for 6.5.0.
https://github.com/owncloud/ocis/pull/10157
https://github.com/owncloud/ocis/pull/9817
# Changelog for [5.0.8] (2024-09-30)
The following sections list the changes for 5.0.8.
[5.0.8]: https://github.com/owncloud/ocis/compare/v6.4.0...v5.0.8
## Summary
* Bugfix - Update reva to v2.19.8: [#10138](https://github.com/owncloud/ocis/pull/10138)
## Details
* Bugfix - Update reva to v2.19.8: [#10138](https://github.com/owncloud/ocis/pull/10138)
We updated reva to v2.19.8
* Fix [cs3org/reva#4761](https://github.com/cs3org/reva/pull/4761): Quotes in dav Content-Disposition header
* Fix [cs3org/reva#4853](https://github.com/cs3org/reva/pull/4853): Write upload session info atomically
* Enh [cs3org/reva#4701](https://github.com/cs3org/reva/pull/4701): Extend service account permissions
https://github.com/owncloud/ocis/pull/10138
https://github.com/owncloud/ocis/pull/10103
# Changelog for [6.4.0] (2024-09-12)
The following sections list the changes for 6.4.0.
[6.4.0]: https://github.com/owncloud/ocis/compare/v6.3.0...v6.4.0
[6.4.0]: https://github.com/owncloud/ocis/compare/v5.0.7...v6.4.0
## Summary
@@ -1240,6 +1638,52 @@ The following sections list the changes for 6.4.0.
https://github.com/owncloud/ocis/pull/9879
https://github.com/owncloud/ocis/pull/9860
# Changelog for [5.0.7] (2024-09-04)
The following sections list the changes for 5.0.7.
[5.0.7]: https://github.com/owncloud/ocis/compare/v6.3.0...v5.0.7
## Summary
* Enhancement - Add virus filter to sessions command: [#9041](https://github.com/owncloud/ocis/pull/9041)
* Enhancement - Assimilate `clean` into `sessions` command: [#9828](https://github.com/owncloud/ocis/pull/9828)
* Enhancement - Update web to v8.0.5: [#9958](https://github.com/owncloud/ocis/pull/9958)
## Details
* Enhancement - Add virus filter to sessions command: [#9041](https://github.com/owncloud/ocis/pull/9041)
Allow filtering upload session by virus status (has-virus=true/false)
https://github.com/owncloud/ocis/pull/9041
* Enhancement - Assimilate `clean` into `sessions` command: [#9828](https://github.com/owncloud/ocis/pull/9828)
We deprecated `ocis storage-user uploads clean` and added the same logic to
`ocis storage-users uploads session --clean`
https://github.com/owncloud/ocis/pull/9828
* Enhancement - Update web to v8.0.5: [#9958](https://github.com/owncloud/ocis/pull/9958)
Tags: web
We updated ownCloud Web to v8.0.5. Please refer to the changelog (linked) for
details on the web release.
- Bugfix [owncloud/web#11395](https://github.com/owncloud/web/pull/11395):
Missing space members for group memberships - Bugfix
[owncloud/web#11263](https://github.com/owncloud/web/pull/11263): Show more
toggle in space members view not reactive - Bugfix
[owncloud/web#11263](https://github.com/owncloud/web/pull/11263): Space show
links from other spaces - Bugfix
[owncloud/web#11303](https://github.com/owncloud/web/pull/11303): Uploading
nested folders
https://github.com/owncloud/ocis/pull/9958
https://github.com/owncloud/web/releases/tag/v8.0.5
# Changelog for [6.3.0] (2024-08-20)
The following sections list the changes for 6.3.0.
@@ -0,0 +1,5 @@
Enhancement: Add virus filter to sessions command
Allow filtering upload session by virus status (has-virus=true/false)
https://github.com/owncloud/ocis/pull/9041
@@ -0,0 +1,5 @@
Enhancement: Assimilate `clean` into `sessions` command
We deprecated `ocis storage-user uploads clean` and added the same logic to `ocis storage-users uploads session --clean`
https://github.com/owncloud/ocis/pull/9828
@@ -0,0 +1,13 @@
Enhancement: Update web to v8.0.5
Tags: web
We updated ownCloud Web to v8.0.5. Please refer to the changelog (linked) for details on the web release.
- Bugfix [owncloud/web#11395](https://github.com/owncloud/web/pull/11395): Missing space members for group memberships
- Bugfix [owncloud/web#11263](https://github.com/owncloud/web/pull/11263): Show more toggle in space members view not reactive
- Bugfix [owncloud/web#11263](https://github.com/owncloud/web/pull/11263): Space show links from other spaces
- Bugfix [owncloud/web#11303](https://github.com/owncloud/web/pull/11303): Uploading nested folders
https://github.com/owncloud/ocis/pull/9958
https://github.com/owncloud/web/releases/tag/v8.0.5
+10
View File
@@ -0,0 +1,10 @@
Bugfix: Update reva to v2.19.8
We updated reva to v2.19.8
* Fix [cs3org/reva#4761](https://github.com/cs3org/reva/pull/4761): Quotes in dav Content-Disposition header
* Fix [cs3org/reva#4853](https://github.com/cs3org/reva/pull/4853): Write upload session info atomically
* Enh [cs3org/reva#4701](https://github.com/cs3org/reva/pull/4701): Extend service account permissions
https://github.com/owncloud/ocis/pull/10138
https://github.com/owncloud/ocis/pull/10103
@@ -0,0 +1,11 @@
Bugfix: Thumbnail request limit
The `THUMBNAILS_MAX_CONCURRENT_REQUESTS` setting was not working correctly.
Previously it was just limiting the number of concurrent thumbnail downloads.
Now the limit is applied to the number thumbnail generations requests.
Additionally the webdav service is now returning a "Retry-After" header when
it is hitting the ratelimit of the thumbnail service.
https://github.com/owncloud/ocis/pull/10280
https://github.com/owncloud/ocis/pull/10270
https://github.com/owncloud/ocis/pull/10225
@@ -0,0 +1,8 @@
Change: Define maximum input image dimensions and size when generating previews
This is a general hardening change to limit processing time and resources of the thumbnailer.
https://github.com/owncloud/ocis/pull/10270
https://github.com/owncloud/ocis/pull/9360
https://github.com/owncloud/ocis/pull/9035
https://github.com/owncloud/ocis/pull/9069
@@ -0,0 +1,5 @@
Bugfix: Restart Postprocessing properly
Properly differentiate between resume and restart postprocessing.
https://github.com/owncloud/ocis/pull/10439
@@ -0,0 +1,18 @@
Bugfix: Bump Reva to v2.26.7
* Fix [cs3org/reva#4964](https://github.com/cs3org/reva/issues/4964): Fix a wrong error code when approvider creates a new file
Bump Reva to v2.26.6
* Fix [cs3org/reva#4955](https://github.com/cs3org/reva/issues/4955): Allow small clock skew in reva token validation
* Fix [cs3org/reva#4929](https://github.com/cs3org/reva/issues/4929): Fix flaky posixfs integration tests
* Fix [cs3org/reva#4953](https://github.com/cs3org/reva/issues/4953): Avoid gateway panics
* Fix [cs3org/reva#4959](https://github.com/cs3org/reva/issues/4959): Fix missing file touched event
* Fix [cs3org/reva#4933](https://github.com/cs3org/reva/issues/4933): Fix federated sharing when using an external identity provider
* Fix [cs3org/reva#4935](https://github.com/cs3org/reva/issues/4935): Enable datatx log
* Fix [cs3org/reva#4936](https://github.com/cs3org/reva/issues/4936): Do not delete mlock files
* Fix [cs3org/reva#4954](https://github.com/cs3org/reva/issues/4954): Prevent a panic when logging an error
* Fix [cs3org/reva#4956](https://github.com/cs3org/reva/issues/4956): Improve posixfs error handling and logging
* Fix [cs3org/reva#4951](https://github.com/cs3org/reva/issues/4951): Pass the initialized logger down the stack
https://github.com/owncloud/ocis/pull/10612
@@ -0,0 +1,3 @@
Bugfix: Make collaboration service use a gateway selector
https://github.com/owncloud/ocis/pull/10584
@@ -0,0 +1,11 @@
Bugfix: Return an error if we can't get the keys and ensure they're cached
Previously, there was an issue where we could get an error while getting the
public keys from the /hosting/discovery endpoint but we're returning a wrong
success value instead. This is fixed now and we're returning the error.
In addition, the public keys weren't being cached, so we hit the
/hosting/discovery endpoint every time we need to use the public keys. The keys
are now cached so we don't need to hit the endpoint more than what we need.
https://github.com/owncloud/ocis/pull/10590
@@ -0,0 +1,5 @@
Bugfix: Fix the activity field mapping
Fixed the activity field mapping
https://github.com/owncloud/ocis/pull/10593
https://github.com/owncloud/ocis/issues/10228
@@ -0,0 +1,6 @@
Bugfix: Fix impersonated request user mismatch
We fixed a user id and name mismatch in the impersonated auth-app API request
https://github.com/owncloud/ocis/pull/10548
https://github.com/owncloud/ocis/issues/10292
@@ -0,0 +1,5 @@
Bugfix: Fix node cache ttl updates
We now only udpate the TTL of the node that is created or updated.
https://github.com/owncloud/ocis/pull/10575
@@ -0,0 +1,7 @@
Bugfix: Fix federated sharing when using an external IDP
We fixed a bug that caused federated sharing to fail, when the
federated oCIS instances where sharing the same external IDP.
https://github.com/owncloud/ocis/pull/10567
https://github.com/cs3org/reva/pull/4933
@@ -0,0 +1,9 @@
Bugfix: Fix status code for thumbnail requests
We fixed the status code returned by the thumbnails service when the image
source for a thumbnail exceeds the configured maximum dimensions or file size.
The service now returns a 403 Forbidden status code instead of a 500 Internal
Server Error status code.
https://github.com/owncloud/ocis/pull/10592
https://github.com/owncloud/ocis/issues/10589
@@ -0,0 +1,6 @@
Bugfix: We now limit the number of workers of the jsoncs3 share manager
We now restrict the number of workers that look up shares to 5. The number can be changed with `SHARING_USER_JSONCS3_MAX_CONCURRENCY` or `OCIS_MAX_CONCURRENCY`.
https://github.com/owncloud/ocis/pull/10578
https://github.com/owncloud/ocis/pull/10552
@@ -0,0 +1,5 @@
Bugfix: Log GRPC requests in debug mode
When log level is set to debug we will now also log grpc requests.
https://github.com/owncloud/ocis/pull/10438
@@ -0,0 +1,6 @@
Bugfix: Set MaxConcurrency to 1
Set MaxConcurrency for frontend and userlog and sharing services to 1. Too many workers will negatively impact performance on small machines.
https://github.com/owncloud/ocis/pull/10580
https://github.com/owncloud/ocis/pull/10557
@@ -0,0 +1,5 @@
Bugfix: Reuse go-micro service clients
go micro clients must not be reinitialized. The internal selector will spawn a new go routine to watch for registry changes.
https://github.com/owncloud/ocis/pull/10582
@@ -0,0 +1,21 @@
Enhancement: Update web to v11.0.4
Tags: web
We updated ownCloud Web to v11.0.4. Please refer to the changelog (linked) for details on the web release.
- Bugfix [owncloud/web#11870](https://github.com/owncloud/web/issues/11870): Preview image retries postprocessing
- Bugfix [owncloud/web#11883](https://github.com/owncloud/web/issues/11883): Preview app Shared with me page
- Bugfix [owncloud/web#11897](https://github.com/owncloud/web/issues/11897): "Save as" / "Open" when embed delegate authentication is enabled
- Bugfix [owncloud/web#11900](https://github.com/owncloud/web/issues/11900): App top bar does not show location when shared file is opened
- Bugfix [owncloud/web#11900](https://github.com/owncloud/web/issues/11900): Open from app and Save As feature broken when opened via shared file
- Bugfix [owncloud/web#11904](https://github.com/owncloud/web/issues/11904): Public folder reload
- Bugfix [owncloud/web#11916](https://github.com/owncloud/web/issues/11916): Fix order in roles drop down
- Bugfix [owncloud/web#11923](https://github.com/owncloud/web/issues/11923): Allow create template with different editors
- Bugfix [owncloud/web#11924](https://github.com/owncloud/web/issues/11924): Extension actions in right sidebar
- Bugfix [owncloud/web#11929](https://github.com/owncloud/web/issues/11929): Unique request ids
https://github.com/owncloud/ocis/pull/10569
https://github.com/owncloud/ocis/pull/10604
https://github.com/owncloud/web/releases/tag/v11.0.3
https://github.com/owncloud/web/releases/tag/v11.0.4
@@ -0,0 +1,13 @@
Bugfix: Bump Reva
Bumps reva version to 2.26.8
* Fix [cs3org/reva#4983](https://github.com/cs3org/reva/pull/4983): Delete stale shares in the jsoncs3 share manager
* Fix [cs3org/reva#4963](https://github.com/cs3org/reva/pull/4963): Fix name and displayName in an ocm
* Fix [cs3org/reva#4968](https://github.com/cs3org/reva/pull/4968): Jsoncs3 cache fixes
* Fix [cs3org/reva#4928](https://github.com/cs3org/reva/pull/4928): Propagate lock in PROPPATCH
* Fix [cs3org/reva#4971](https://github.com/cs3org/reva/pull/4971): Use manager to list shares
* Fix [cs3org/reva#4978](https://github.com/cs3org/reva/pull/4978): We added more trace spans in decomposedfs
* Fix [cs3org/reva#4921](https://github.com/cs3org/reva/pull/4921): Polish propagation related code
https://github.com/owncloud/ocis/pull/10735
@@ -0,0 +1,5 @@
Bugfix: Fix deny access for graph roles
We added a unified role "Cannot access" to prevent a regression when switching the share implementation to the graph API. This role is now used to deny access to a resource.The new role is not enabled by default. The whole deny feature is still experimental.
https://github.com/owncloud/ocis/pull/10627
@@ -0,0 +1,5 @@
Bugfix: Fix FileInfo BreadcrumbFolderURL
We fixed the FileInfo.BreadcrumbFolderURL in a collaboration api"
https://github.com/owncloud/ocis/pull/10718
@@ -0,0 +1,5 @@
Enhancement: fetch shared resource metadata concurrently in graph
We now concurrently stat shared resources when listing shares
https://github.com/owncloud/ocis/pull/10683
@@ -0,0 +1,5 @@
Bugfix: Skip fetching members
We now skip fetching group members when they are not needed.
https://github.com/owncloud/ocis/pull/10701
@@ -0,0 +1,8 @@
Bugfix: Fix possible race condition when a thumbnails is stored in the FS
A race condition could cause the thumbnail service to return a thumbnail
with 0 bytes or with partial content. In order to fix this, the service will
create a temporary file with the contents and then rename that file to its
final location.
https://github.com/owncloud/ocis/pull/10693
@@ -0,0 +1,11 @@
Bugfix: Bump Reva
Bumps reva version to 2.27.0
* Bugfix [cs3org/reva#4985](https://github.com/cs3org/reva/pull/4985): Drop unneeded session locks
* Bugfix [cs3org/reva#5000](https://github.com/cs3org/reva/pull/5000): Fix ceph build
* Bugfix [cs3org/reva#4989](https://github.com/cs3org/reva/pull/4989): Deleting OCM share also updates storageprovider
* Enhancement [cs3org/reva#4998](https://github.com/cs3org/reva/pull/4998): Emit event when an ocm share is received
* Enhancement [cs3org/reva#4996](https://github.com/cs3org/reva/pull/4996): Get rid of some cases of unstructured logging
https://github.com/owncloud/ocis/pull/10766
@@ -0,0 +1,6 @@
Bugfix: Fix link activity message
We changed the link token to display name in the activity message.
https://github.com/owncloud/ocis/pull/10663
https://github.com/owncloud/ocis/issues/10295
@@ -0,0 +1,5 @@
Bugfix: Fix FileInfo BreadcrumbFolderURL upd
Made GetScopeByKeyPrefix function as a private method of the FileConnector
https://github.com/owncloud/ocis/pull/10757
@@ -0,0 +1,7 @@
Bugfix: Fix graph drives response for federated shares
Federated shares where erroneously showing up in the /me/drives response
on the graph API.
https://github.com/owncloud/ocis/pull/10730
https://github.com/owncloud/ocis/issues/10689
@@ -0,0 +1,5 @@
Bugfix: Unifi logging
We fixed some cases where we did not use the correct logger.
https://github.com/owncloud/ocis/pull/10743/
@@ -0,0 +1,20 @@
Enhancement: Update web to v11.0.6
Tags: web
We updated ownCloud Web to v11.0.6. Please refer to the changelog (linked) for details on the web release.
- Bugfix [owncloud/web#11992](https://github.com/owncloud/web/pull/11992): OCM invite flow
- Bugfix [owncloud/web#11997](https://github.com/owncloud/web/pull/11997): Change search scope without search term
- Bugfix [owncloud/web#11998](https://github.com/owncloud/web/pull/11998): Do not load version when sidebar is closed
- Bugfix [owncloud/web#12000](https://github.com/owncloud/web/pull/12000): Use only space resource with driveType "project" as space in sidebar
- Bugfix [owncloud/web#12002](https://github.com/owncloud/web/pull/12002): OCM share editing
- Bugfix [owncloud/web#12002](https://github.com/owncloud/web/pull/12002): OCM share recipient issuer
- Bugfix [owncloud/web#12008](https://github.com/owncloud/web/pull/12008): Missing activities on Shared with me page
- Bugfix [owncloud/web#12010](https://github.com/owncloud/web/pull/12010): Sidebar file info for shares
- Bugfix [owncloud/web#12012](https://github.com/owncloud/web/pull/12012): Show missing role name in link share panel
- Bugfix [owncloud/web#12013](https://github.com/owncloud/web/pull/12013): Missing translations for share type filters
- Bugfix [owncloud/web#12022](https://github.com/owncloud/web/pull/12022): Permanent link for shares
https://github.com/owncloud/ocis/pull/10755
https://github.com/owncloud/web/releases/tag/v11.0.6
@@ -0,0 +1,5 @@
Bugfix: GetLastModified property in the REPORT response will use RFC1123 format
This will follow the standard and will also match the format of the same property in the PROPFIND response
https://github.com/owncloud/ocis/pull/10738
@@ -22,7 +22,6 @@
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/rhafer.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
@@ -22,7 +22,6 @@
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/rhafer.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
@@ -22,7 +22,6 @@
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/rhafer.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
@@ -22,7 +22,6 @@
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/rhafer.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
@@ -32,7 +31,7 @@
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
OCIS_DOCKER_TAG: 5.0.6
OCIS_DOCKER_TAG: 5.0.9
OCIS_DOMAIN: ocis.ocis.production.owncloud.works
COMPANION_DOMAIN: companion.ocis.production.owncloud.works
COMPANION_IMAGE: owncloud/uppy-companion:3.12.13-owncloud
@@ -22,7 +22,6 @@
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/rhafer.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
@@ -22,7 +22,6 @@
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/rhafer.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
@@ -22,7 +22,6 @@
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/rhafer.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
@@ -22,7 +22,6 @@
- https://github.com/fschade.keys
- https://github.com/kulmann.keys
- https://github.com/micbar.keys
- https://github.com/rhafer.keys
- https://github.com/wkloucek.keys
docker_compose_projects:
- name: ocis
+11
View File
@@ -114,9 +114,18 @@ SMTP_AUTHENTICATION=
# Allow insecure connections to the SMTP server. Defaults to false.
SMTP_INSECURE=
# Addititional services to be started on ocis startup
# The following list of services is not startet automatically and must be
# manually defined for startup:
# IMPORTANT: The notification service is MANDATORY, do not delete!
# IMPORTANT: Add any services to the startup list comma separated like "notifications,antivirus" etc.
START_ADDITIONAL_SERVICES="notifications"
## oCIS Web Extensions ##
# It is possible to use the oCIS Web Extensions to add custom functionality to the oCIS frontend.
# For more details see https://github.com/owncloud/web-extensions/blob/main/README.md
# Note: the leading colon is required to enable the service.
# Enable this to create a new named volume
#EXTENSIONS=:web_extensions/extensions.yml
# Enable the desired extensions by uncommenting the following lines.
@@ -196,6 +205,8 @@ COLLABORA_SSL_VERIFICATION=false
### Virusscanner Settings ###
# IMPORTANT: If you enable antivirus, you also MUST configure the START_ADDITIONAL_SERVICES
# envvar in the Infinite Scale Settings above by adding 'antivirus' to the list.
# Note: the leading colon is required to enable the service.
#CLAMAV=:clamav.yml
# Image version of the ClamAV container.
+2 -2
View File
@@ -4,8 +4,7 @@ services:
environment:
ANTIVIRUS_SCANNER_TYPE: "clamav"
ANTIVIRUS_CLAMAV_SOCKET: "/var/run/clamav/clamd.sock"
# enable the antivirus service
OCIS_ADD_RUN_SERVICES: "antivirus"
# the antivirus service needs manual startup, see .env and ocis.yaml for START_ADDITIONAL_SERVICES
# configure the antivirus service
POSTPROCESSING_STEPS: "virusscan"
# PROXY_TLS is set to "false", the download url has no https
@@ -15,6 +14,7 @@ services:
clamav:
image: clamav/clamav:${CLAMAV_DOCKER_TAG:-latest}
# release notes: https://blog.clamav.net
networks:
ocis-net:
volumes:
+2 -1
View File
@@ -53,7 +53,8 @@ services:
restart: always
collabora:
image: collabora/code:24.04.5.1.1
image: collabora/code:24.04.10.2.1
# release notes: https://www.collaboraonline.com/release-notes/
networks:
ocis-net:
environment:
@@ -1,7 +1,8 @@
---
services:
traefik:
image: traefik:v3.1.6
image: traefik:v3.2.2
# release notes: https://github.com/traefik/traefik/releases
networks:
ocis-net:
command:
@@ -11,6 +11,7 @@ services:
inbucket:
image: inbucket/inbucket
# changelog: https://github.com/inbucket/inbucket/blob/main/CHANGELOG.md
networks:
- ocis-net
entrypoint:
+1
View File
@@ -2,6 +2,7 @@
services:
minio:
image: minio/minio:latest
# release notes: https://github.com/minio/minio/releases
networks:
ocis-net:
entrypoint:
+4 -2
View File
@@ -7,6 +7,8 @@ services:
- ${OCIS_DOMAIN:-ocis.owncloud.test}
ocis:
image: ${OCIS_DOCKER_IMAGE:-owncloud/ocis}:${OCIS_DOCKER_TAG:-latest}
# changelog: https://github.com/owncloud/ocis/tree/master/changelog
# release notes: https://doc.owncloud.com/ocis_release_notes.html
networks:
ocis-net:
entrypoint:
@@ -16,8 +18,8 @@ services:
# therefore we ignore the error and then start the ocis server
command: ["-c", "ocis init || true; ocis server"]
environment:
# enable the notifications service as it is not started automatically
OCIS_ADD_RUN_SERVICES: "notifications"
# enable services that are not started automatically
OCIS_ADD_RUN_SERVICES: ${START_ADDITIONAL_SERVICES}
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_LOG_LEVEL: ${LOG_LEVEL:-info}
OCIS_LOG_COLOR: "${LOG_PRETTY:-false}"
@@ -51,7 +51,8 @@ services:
onlyoffice:
# if you want to use oo enterprise edition, use: onlyoffice/documentserver-ee:<version>
# note, you also need to add a volume, see below
image: onlyoffice/documentserver:8.2.0
image: onlyoffice/documentserver:8.2.2
# changelog https://github.com/ONLYOFFICE/DocumentServer/releases
networks:
ocis-net:
entrypoint:
+1
View File
@@ -2,6 +2,7 @@
services:
tika:
image: ${TIKA_IMAGE:-apache/tika:latest-full}
# release notes: https://tika.apache.org
networks:
ocis-net:
restart: always
+111
View File
@@ -0,0 +1,111 @@
---
title: "Collaborative Storage"
date: 2023-11-09T12:35:00+01:00
weight: 30
geekdocRepo: https://github.com/owncloud/ocis
geekdocEditPath: edit/master/docs/ocis/storage-backends/
geekdocFilePath: collaborative-storage.md
---
{{< toc >}}
One of the envisioned design goals of Infinite Scale is to work with so called _collaborative storage_, which means that the file system it is running on is not exclusive for Infinite Scale, but can be manipulated in parallel through third party tools. Infinite Scale is expected to monitor the changes that happen independently and react in a consistent and user friendly way.
A real world example of that would be a third party "data producer" that submits data directly into a file system path, not going through Infinite Scale APIs.
This document outlines a few challenges and design concepts for collaborative storage. It is also the base "checklist" for custom storage provider implementations for certain storages, ie. for Ceph- or IBM Storage Scale which provide features that allow more sophisticated and efficient implementations of this goal.
# Storage Driver Components
This discusses a few components and sub functions of the storage driver that have relevance for the collaborative storage.
## Path Locations
What is called "the oCIS file system" is defined as the entire filetree underneath a special path in the local POSIX file system, which might either be a real local file system or a mounted net filesystem. It is expected that oCIS is the only consumer of that file tree, except what is expected behaviour with a collaborative file system, that adds and edits files in that tree.
Underneath the oCIS file system root, there is an collection of different folders containing oCIS specific data. Specific storage driver data is in the directory `storage/users`, organized by spaces.
(TODO: Check again how different storage drivers work together without overwriting data of each other)
## Spaces
Infinite Scale provides spaces as an additional organization organizational unit for data. Each space is a separate entity with its own attributes such as access patterns and quota.
A storage driver has to model the separation of spaces and provide a list of spaces in general and also a list of spaces a user can access. Furthermore, it needs to be able to create different types of spaces (Home- or Project space).
On POSIX, each space could for example be mapped to it's own directory in a special spaces folder under the oCIS root folder.
## ID to Path Lookup
Infinite Scale uses file IDs to efficiently identify files within a file tree. The lookup from a given ID to a path within the oCIS file tree is a very basic function that more or less defines the Infinite Scale performance. The functionality to for example query the file path for a given Inode number (which is the nearest equivalent for the Infinite Scale file ID) can not be done with standard POSIX system calls.
The interface defining the collaborative storage needs an abstraction for this particular function, returning the file id for a given path, and returning the path for given id.
## Change Notification
When a file is changed by a process outside of oCIS, this needs to be monitored by oCIS to quickly maintain internal caches and data structures as required.
The collaborative storage driver needs a way to achieve that. The easiest way for an POSIX based collaborative storage is inotify, that needs to be set up recursively on a file tree to record changes. Additional it is a challenge to destinguish between changes that were done from external activity and the ones that oCIS creates by its own file operations.
For GPFS, there is a subsystem called delivering that:
https://www.ibm.com/docs/en/storage-scale/5.1.9?topic=reference-clustered-watch-folder]
## ETag Propagation
ownCloud requires that changes which happen "down" in a tree, can be detected in the root element of the tree. That happens through the change of the ETag metadata of each file and/or directory. An ETag is a random, text based tag, that only has one requirement: It has to change its content if a resource further down in the file tree has changed either its content or its metadata. (See [this issue](https://github.com/owncloud/ocis/issues/3782) for further discussion about the ETag/CTag).
POSIX file systems do not maintain a change flag like the ETag by default. The file time stamps (atime, ctime, mtime) in general are not fine granular enough (only seconds for some file systems) and depend on the server time, which renders them useless in a distributed environment.
Infinite Scale needs to implement ETag propagation "up". For the collaborative storage, that needs to be combined with the change notification described above.
Certain file systems implement this functionality either independently from Infinite Scale (EOS) or at least support proper change notifications (Ceph, GPFS?).
## Metadata Management
Metadata are data "snippets" that are as tightly attached to files as ever possible. In best case, a rename of a file silently keeps the metadata as well. In POSIX, this can be achieved by extended file attributes with certain limitations.
## Quota
Each space has it's own quota, thus a storage driver implementation needs to consider that.
For GPFS for example, there is support for quota handling in the file system.
https://www.ibm.com/docs/en/gpfs/4.1.0.4?topic=interfaces-gpfs-quotactl-subroutine
Other systems store quota data in the metadata storage and implement propagation of used quota similar to the ETag propagation.
## User Management
With user management it is meant how to handle the users and groups within oCIS and how that reflects to the file system where data is stored.
### Exclusive Environment
In exclusive environments (aka. decomposedFS) all files of oCIS (ie. the entire oCIS filetree) belongs to a system user with the name `ocis` typically.
### Collaborative Storage
For collaborative storages, the approach described above does not longer work because users are supposed to be able to manipulate data in "their" file tree parts, and that is identified by ACLs and the owner of the files.
That requires a few prerequisites that have to be fulfilled:
1. oCIS as one "client" changing data and the system that allows to access the file tree directly have to use the same user provider, to ensure that each user that is available on a shell is also available in oCIS. That ensures that changes are authenticated through system ACLs and users. LDAP based authentication on the system via PAM and the same LDAP as source for the oCIS IDP should be a sufficient setup.
2. oCIS must be able to write as a "different" user than the ocis system user. That means that we somehow have to impersonate file changing ooperations and run these as the user that is authenticated in oCIS.
Example: There is a user ben. It has to have an entry in the LDAP that is used by IDP which oCIS is running "behind". With that, ben is able to authenticate through the IDP and work in the oCIS web app. The oCIS linux process will do writes and other changes impersonated as user ben.
For the access of data on the commandline, the logins to the linux system must be authenticated against the same LDAP - so that ben can authenticate on a terminal using username and password. With that, the user can interactively change data that belongs to user ben (simplified said).
To give permissions to groups, the linux group management must work accordingly. The same is true for file permissions.
## Trashbin
When a user deletes a file in oCIS it is moved to a so called trashbin that allows to restore the file if the deletion was accidentailly.
## Versions
When an existing file is changed, the former file state is to be preserved with data and metadata by oCIS. Some file system types provide this functionality via snapshots on partition or even file level. Other do not and have to implement that via a hidden directory keeping old file versions.
+1 -3
View File
@@ -129,8 +129,6 @@ If the underlying file system handles deleted files in a trash bin that allows r
If not available it will follow the [the Free Desktop Trash specificaton](https://specifications.freedesktop.org/trash-spec/trashspec-latest.html).
In the current state of the Posix FS Storage Driver, trash bin is not supported.
## Limitations
As of Q2/2024 the Posix FS Storage Driver is not officially supported and in technical preview state.
@@ -138,7 +136,7 @@ As of Q2/2024 the Posix FS Storage Driver is not officially supported and in tec
The tech preview comes with the following limitations:
1. Only inotify and GPFS file system change notification methods are supported
1. Advanced features versioning and trashbin are not supported yet
1. Versioning is not supported yet
1. The space/project folders in the filesystem are named after the UUID, not the real space name
1. No CephFS support yet
1. Postprocessing (ie. anti virus check) does not happen for file actions outside of Infinite Scale
+70 -30
View File
@@ -94,19 +94,20 @@ def get_deprecated(fileNew):
deprecatedWith[key] = value
return deprecatedWith
def create_adoc_start(type_text, from_version, to_version, creation_date, default):
def create_adoc_start(type_text, from_version, to_version, creation_date, columns, closing):
# create the page/table header
# 'closing' contains variable column names dependen if added/removed ir deprecated
a = '''// # {ftype} Variables between oCIS {ffrom} and oCIS {fto}
// commenting the headline to make it better includable
// table created per {fdate}
// the table should be recreated/updated on source () changes
[width="100%",cols="~,~,~,~",options="header"]
[width="100%",cols="{fcolumns}",options="header"]
|===
| Service| Variable| Description| {fdefault}
| Service | Variable | Description | {fclosing}
'''.format(ftype = type_text, ffrom = from_version, fto = to_version, fdate = creation_date, fdefault = default)
'''.format(ftype = type_text, ffrom = from_version, fto = to_version, fdate = creation_date, fcolumns = columns, fclosing = closing)
return a
def create_adoc_end():
@@ -116,38 +117,77 @@ def create_adoc_end():
'''
return a
def add_adoc_line(service, variable, description, default):
# add a table line
def add_adoc_line_1(service, variable, description, value):
# add a table line for added/removed
# the dummy values are only here to have the same number of parameters as add_adoc_line_2
a = '''| {fservice}
| {fvariable}
| {fdescription}
| {fdefault}
| {fvalue}
'''.format(fservice = service, fvariable = variable, fdescription = description, fdefault = default)
'''.format(fservice = service, fvariable = variable, fdescription = description, fvalue = value)
return a
def create_table(type_text, source_dict, from_version, to_version, date_today, default = 'Default'):
def add_adoc_line_2(service, variable, description, removalVersion, deprecationInfo):
# add a table line for deprecated, this has different columns
a = '''| {fservice}
| {fvariable}
| {fdescription}
| {fremovalVersion}
| {fdeprecationInfo}
'''.format(fservice = service, fvariable = variable, fdescription = description, fremovalVersion = removalVersion, fdeprecationInfo = deprecationInfo)
return a
def create_table(type_text, source_dict, from_version, to_version, date_today, type = False):
# get the table header
a = create_adoc_start(type_text, from_version, to_version, date_today, default)
cond_value = 'defaultValue' if default == 'Default' else 'removalVersion'
# first add all ocis_
for key, value in source_dict.items():
if key.startswith('OCIS_'):
a += add_adoc_line(
'xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]',
key,
value['description'],
value[cond_value]
)
# then add all others
for key, value in source_dict.items():
if not key.startswith('OCIS_'):
a += add_adoc_line(
'xref:{s-path}/xxx.adoc[xxx]',
key,
value['description'],
value[cond_value]
)
columns = '~,~,~,~' if type == False else '~,~,~,~,~'
closing = 'Default' if type == False else 'Removal Version | Deprecation Info'
a = create_adoc_start(type_text, from_version, to_version, date_today, columns, closing)
if not type:
# added and removed envvars
# first add all ocis_
for key, value in source_dict.items():
if key.startswith('OCIS_'):
a += add_adoc_line_1(
'xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]',
key,
value['description'],
value['defaultValue']
)
# then add all others
for key, value in source_dict.items():
if not key.startswith('OCIS_'):
a += add_adoc_line_1(
'xref:{s-path}/xxx.adoc[xxx]',
key,
value['description'],
value['defaultValue']
)
else:
# deprecated envvars
# first add all ocis_
for key, value in source_dict.items():
if key.startswith('OCIS_'):
a += add_adoc_line_2(
'xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]',
key,
value['description'],
value['removalVersion'],
value['deprecationInfo']
)
# then add all others
for key, value in source_dict.items():
if not key.startswith('OCIS_'):
a += add_adoc_line_2(
'xref:{s-path}/xxx.adoc[xxx]',
key,
value['description'],
value['removalVersion'],
value['deprecationInfo']
)
# finally close the table
a += create_adoc_end()
return a
@@ -172,7 +212,7 @@ deprecatedWith = get_deprecated(fileNew)
a = create_table('Added', addedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'))
r = create_table('Removed', removedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'))
d = create_table('Deprecated', deprecatedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'), 'Removalversion')
d = create_table('Deprecated', deprecatedWith, from_version, to_version, date.today().strftime('%Y.%m.%d'), True)
write_output(a, 'added')
write_output(r, 'removed')
+178 -491
View File
File diff suppressed because it is too large. Load diff
+2 -1
View File
@@ -30,10 +30,11 @@ This page is designed to provide clarity and transparency regarding the scheduli
| 13.01.2025 | Rolling | - | - | - |
| 02.12.2024 | Rolling | - | - | - |
| 11.11.2024 | Production | - | - | - |
| **14.11.2024** | **Production** | **[Infinite Scale 5 (5.0.9)](https://download.owncloud.com/ocis/ocis/stable/5.0.9/)** | **[Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-9-production)** | **Active Support** |
| 24.10.2024 | Rolling | [Infinite Scale 6 (6.6.1)](https://download.owncloud.com/ocis/ocis/rolling/6.6.1/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-6-1-rolling) | - |
| 22.10.2024 | Rolling | [Infinite Scale 6 (6.6.0)](https://download.owncloud.com/ocis/ocis/rolling/6.6.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-6-0-rolling) | - |
| 01.10.2024 | Rolling | [Infinite Scale 6 (6.5.0)](https://download.owncloud.com/ocis/ocis/rolling/6.5.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-5-0-rolling) | - |
| **30.09.2024** | **Production** | **[Infinite Scale 5 (5.0.8)](https://download.owncloud.com/ocis/ocis/stable/5.0.8/)** | **[Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-8-production)** | **Active Support** |
| 30.09.2024 | Production | [Infinite Scale 5 (5.0.8)](https://download.owncloud.com/ocis/ocis/stable/5.0.8/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-8-production) | Active Support |
| 12.09.2024 | Rolling | [Infinite Scale 6 (6.4.0)](https://download.owncloud.com/ocis/ocis/rolling/6.4.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-4-0-rolling) | - |
| 04.09.2024 | Production | [Infinite Scale 5 (5.0.7)](https://download.owncloud.com/ocis/ocis/stable/5.0.7/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-5-0-7-production) | Active Support |
| 19.08.2024 | Rolling | [Infinite Scale 6 (6.3.0)](https://download.owncloud.com/ocis/ocis/rolling/6.3.0/) | [Release Notes](https://doc.owncloud.com/ocis_release_notes.html#infinite-scale-6-3-0-rolling) | - |
@@ -1,39 +1,24 @@
// # Added Variables between oCIS 5.0.0 and oCIS 7.0.0
// commenting the headline to make it better includable
// table created per 2024.11.07
// table created per 2024.12.02
// the table should be recreated/updated on source () changes
[width="100%",cols="~,~,~,~",options="header"]
|===
| Service| Variable| Description| Default
| Service | Variable | Description | Default
| xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]
| OCIS_ASSET_THEMES_PATH
| Serve ownCloud themes from a path on the filesystem instead of the builtin assets. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/web/assets/themes
| /var/lib/ocis/web/assets/themes
|
| OCIS_DEFAULT_LANGUAGE
| The default language used by services and the WebUI. If not defined, English will be used as default. See the documentation for more details.
|
|
| OCIS_DISABLE_VERSIONING
| Disables versioning of files. When set to true, new uploads with the same filename will overwrite existing files instead of creating a new version.
| false
|
| OCIS_MACHINE_AUTH_API_KEY
| The machine auth API key used to validate internal requests necessary to access resources from other services.
|
|
| OCIS_MAX_CONCURRENCY
| Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
| 5
|
| xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]
| OCIS_SHOW_USER_EMAIL_IN_RESULTS
| Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses.
| false
@@ -44,6 +29,11 @@
|
|
| OCIS_WOPI_DISABLE_CHAT
| Disable chat in the office web frontend. This feature applies to OnlyOffice and Microsoft.
| false
| xref:{s-path}/activitylog.adoc[Activitylog]
| ACTIVITYLOG_TRANSLATION_PATH
| (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details.
|
@@ -168,11 +158,6 @@
| Enable license checking to edit files. Needs to be enabled when using Microsoft365 with the business flow.
| false
|
| COLLABORATION_APP_LOCKNAME
| Name for the app lock
| com.github.owncloud.collaboration
|
| COLLABORATION_APP_NAME
| The name of the app which is shown to the user. You can chose freely but you are limited to a single word without special characters or whitespaces. We recommend to use pascalCase like 'CollaboraOnline'.
@@ -198,11 +183,6 @@
| Connect to the CS3API data gateway insecurely.
| false
|
| COLLABORATION_CS3API_GATEWAY_NAME
| CS3 gateway used to look up user metadata.
| com.owncloud.api.gateway
|
| COLLABORATION_DEBUG_ADDR
| Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
@@ -351,7 +331,7 @@
|
| FRONTEND_MAX_CONCURRENCY
| Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
| 25
| 1
| xref:{s-path}/gateway.adoc[Gateway]
| GATEWAY_APP_REGISTRY_ENDPOINT
@@ -428,6 +408,11 @@
| A comma separated list of roles that are available for assignment.
| [b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5 a8d5fe5e-96e3-418d-825b-534dbdf22b99 fb6c3e19-e378-47e5-b277-9732f9de6e21 58c63c02-1d89-4572-916a-870abc5a1b7d 2d00ce52-1fc2-4dbc-8b95-a73b73395f5a 1c996275-f1c9-4e71-abdf-a42f6495e960 312c0871-5ef7-4b3a-85b6-0e4074c64049]
|
| GRAPH_MAX_CONCURRENCY
| The maximum number of concurrent requests the service will handle.
| 20
|
| GRAPH_TRANSLATION_PATH
| (optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details.
@@ -518,6 +503,11 @@
| The root CA certificate used to validate the server's TLS certificate. If provided PROXY_EVENTS_TLS_INSECURE will be seen as false.
|
| xref:{s-path}/sharing.adoc[Sharing]
| SHARING_USER_JSONCS3_MAX_CONCURRENCY
| Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
| 1
| xref:{s-path}/sse.adoc[SSE]
| SSE_KEEPALIVE_INTERVAL
| To prevent intermediate proxies from closing the SSE connection, send periodic SSE comments to keep it open.
@@ -528,6 +518,11 @@
| Template string to construct the paths of the projects space roots.
|
|
| STORAGE_USERS_OCIS_MAX_CONCURRENCY
| Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
| 1
|
| STORAGE_USERS_OCIS_PERSONAL_SPACE_PATH_TEMPLATE
| Template string to construct the paths of the personal space roots.
@@ -556,7 +551,7 @@
|
| STORAGE_USERS_POSIX_ROOT
| The directory where the filesystem storage will store its data. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH/storage/users.
|
| /var/lib/ocis/storage/users
|
| STORAGE_USERS_POSIX_SCAN_DEBOUNCE_DELAY
@@ -621,7 +616,7 @@
| xref:{s-path}/userlog.adoc[Userlog]
| USERLOG_MAX_CONCURRENCY
| Maximum number of concurrent go-routines. Higher values can potentially get work done faster but will also cause more load on the system. Values of 0 or below will be ignored and the default value will be used.
| 5
| 1
| xref:{s-path}/web.adoc[Web]
| WEB_ASSET_APPS_PATH
@@ -1,17 +1,102 @@
// # Deprecated Variables between oCIS 5.0.0 and oCIS 7.0.0
// commenting the headline to make it better includable
// table created per 2024.11.07
// table created per 2024.12.02
// the table should be recreated/updated on source () changes
[width="100%",cols="~,~,~,~",options="header"]
[width="100%",cols="~,~,~,~,~",options="header"]
|===
| Service| Variable| Description| Removalversion
| Service | Variable | Description | Removal Version | Deprecation Info
| xref:{s-path}/antivirus.adoc[Antivirus]
| ANTIVIRUS_ICAP_TIMEOUT
| Timeout for the ICAP client.
| xref:{s-path}/clientlog.adoc[Clientlog]
| CLIENTLOG_REVA_GATEWAY
| CS3 gateway used to look up user metadata
| %%NEXT_PRODUCTION_VERSION%%
| CLIENTLOG_REVA_GATEWAY removed for simplicity.
| xref:{s-path}/frontend.adoc[Frontend]
| FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE
| Additional information attribute for the user like {{.Mail}}.
| %%NEXT_PRODUCTION_VERSION%%
| The OCS API is deprecated
|
| FRONTEND_OCS_ENABLE_DENIALS
| EXPERIMENTAL: enable the feature to deny access on folders.
| %%NEXT_PRODUCTION_VERSION%%
| The OCS API is deprecated
|
| FRONTEND_OCS_INCLUDE_OCM_SHAREES
| Include OCM sharees when listing sharees.
| %%NEXT_PRODUCTION_VERSION%%
| FRONTEND_OCS_INCLUDE_OCM_SHAREES, the OCS API is deprecated
|
| FRONTEND_OCS_LIST_OCM_SHARES
| Include OCM shares when listing shares. See the OCM service documentation for more details.
| %%NEXT_PRODUCTION_VERSION%%
| FRONTEND_OCS_LIST_OCM_SHARES, the OCS API is deprecated
|
| FRONTEND_OCS_PERSONAL_NAMESPACE
| Home namespace identifier.
| %%NEXT_PRODUCTION_VERSION%%
| The OCS API is deprecated
|
| FRONTEND_OCS_PREFIX
| URL path prefix for the OCS service. Note that the string must not start with '/'.
| %%NEXT_PRODUCTION_VERSION%%
| The OCS API is deprecated
|
| FRONTEND_OCS_SHARE_PREFIX
| Path prefix for shares as part of an ocis resource. Note that the path must start with '/'.
| %%NEXT_PRODUCTION_VERSION%%
| The OCS API is deprecated
|
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD
| The password to use for authentication. Only applies when using the 'nats-js-kv' store type.
| %%NEXT_PRODUCTION_VERSION%%
| FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD, the OCS API is deprecated
|
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME
| The username to use for authentication. Only applies when using the 'nats-js-kv' store type.
| %%NEXT_PRODUCTION_VERSION%%
| FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME, the OCS API is deprecated
|
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE
| Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false.
| %%NEXT_PRODUCTION_VERSION%%
| FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE, the OCS API is deprecated
|
| FRONTEND_OCS_STAT_CACHE_STORE
| The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details.
| %%NEXT_PRODUCTION_VERSION%%
| FRONTEND_OCS_STAT_CACHE_STORE, the OCS API is deprecated
|
| FRONTEND_OCS_STAT_CACHE_STORE_NODES
| A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
| %%NEXT_PRODUCTION_VERSION%%
| FRONTEND_OCS_STAT_CACHE_STORE_NODES, the OCS API is deprecated
|
| FRONTEND_OCS_STAT_CACHE_TABLE
| The database table the store should use.
| %%NEXT_PRODUCTION_VERSION%%
| The OCS API is deprecated
|
| FRONTEND_OCS_STAT_CACHE_TTL
| Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details.
| %%NEXT_PRODUCTION_VERSION%%
| FRONTEND_OCS_STAT_CACHE_TTL, the OCS API is deprecated
|===
@@ -1,43 +1,138 @@
// # Removed Variables between oCIS 5.0.0 and oCIS 7.0.0
// commenting the headline to make it better includable
// table created per 2024.11.07
// table created per 2024.12.02
// the table should be recreated/updated on source () changes
[width="100%",cols="~,~,~,~",options="header"]
|===
| Service| Variable| Description| Default
| Service | Variable | Description | Default
| xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]
| OCIS_CACHE_SIZE
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
| 0
|
| OCIS_DECOMPOSEDFS_METADATA_BACKEND
| The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'.
| messagepack
|
| OCIS_ENABLE_RESHARING
| Changing this value is NOT supported. Enables the support for re-sharing in the clients.
| false
|
| OCIS_PERSISTENT_STORE_SIZE
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
| 0
| xref:{s-path}/antivirus.adoc[Antivirus]
| ANTIVIRUS_ICAP_TIMEOUT
| Timeout for the ICAP client.
| 0
| xref:{s-path}/eventhistory.adoc[Eventhistory]
| EVENTHISTORY_STORE_SIZE
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived and used from the ocmem package though no explicit default was set.
| 0
| xref:{s-path}/frontend.adoc[Frontend]
| FRONTEND_ENABLE_RESHARING
| Changing this value is NOT supported. Enables the support for re-sharing in the clients.
| false
|
| FRONTEND_OCS_STAT_CACHE_SIZE
| Max number of entries to hold in the cache.
| 0
| xref:{s-path}/gateway.adoc[Gateway]
| GATEWAY_CREATE_HOME_CACHE_SIZE
| The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
| 0
|
| GATEWAY_PROVIDER_CACHE_SIZE
| The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
| 0
| xref:{s-path}/graph.adoc[Graph]
| GRAPH_CACHE_SIZE
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
| 0
|
| GRAPH_ENABLE_RESHARING
| Changing this value is NOT supported. Enables the support for re-sharing.
| false
| xref:{s-path}/ocm.adoc[OCM]
| OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME
| Verify the hostname of the incoming request against the hostname of the OCM provider.
| false
| xref:{s-path}/postprocessing.adoc[Postprocessing]
| POSTPROCESSING_STORE_SIZE
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
| 0
| xref:{s-path}/proxy.adoc[Proxy]
| PROXY_OIDC_USERINFO_CACHE_SIZE
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not explicitly set as default.
| 0
| xref:{s-path}/settings.adoc[Settings]
| SETTINGS_CACHE_SIZE
| The maximum quantity of items in the cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
| 0
|
| SETTINGS_DATA_PATH
| The directory where the filesystem storage will store ocis settings. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/settings.
| /var/lib/ocis/settings
|
| SETTINGS_STORE_TYPE
| Store type configures the persistency driver. Supported values are 'metadata' and 'filesystem'. Note that the value 'filesystem' is considered deprecated.
| metadata
| xref:{s-path}/sharing.adoc[Sharing]
| SHARING_ENABLE_RESHARING
| Changing this value is NOT supported. Enables the support for resharing.
| false
| xref:{s-path}/storage-system.adoc[Storage-System]
| STORAGE_SYSTEM_CACHE_SIZE
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
| 0
|
| STORAGE_SYSTEM_OCIS_METADATA_BACKEND
| The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'.
| messagepack
| xref:{s-path}/storage-users.adoc[Storage-Users]
| STORAGE_USERS_FILEMETADATA_CACHE_SIZE
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
| 0
|
| STORAGE_USERS_ID_CACHE_SIZE
| The maximum quantity of items in the user info cache. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
| 0
|
| STORAGE_USERS_OCIS_METADATA_BACKEND
| The backend to use for storing metadata. Supported values are 'messagepack' and 'xattrs'. The setting 'messagepack' uses a dedicated file to store file metadata while 'xattrs' uses extended attributes to store file metadata. Defaults to 'messagepack'.
| messagepack
|
| STORAGE_USERS_S3NG_METADATA_BACKEND
| The backend to use for storing metadata. Supported values are 'xattrs' and 'messagepack'. The setting 'xattrs' uses extended attributes to store file metadata while 'messagepack' uses a dedicated file to store file metadata. Defaults to 'xattrs'.
| messagepack
| The `Store` service has been removed completely
| STORE_DATA_PATH
| The directory where the filesystem storage will store ocis settings. If not defined, the root directory derives from $OCIS_BASE_DATA_PATH:/store.
@@ -108,10 +203,55 @@
| The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
| xref:{s-path}/userlog.adoc[Userlog]
| USERLOG_STORE_SIZE
| The maximum quantity of items in the store. Only applies when store type 'ocmem' is configured. Defaults to 512 which is derived from the ocmem package though not exclicitly set as default.
| 0
| xref:{s-path}/web.adoc[Web]
| WEB_ASSET_PATH
| Serve ownCloud Web assets from a path on the filesystem instead of the builtin assets.
|
|
| WEB_OPTION_DISABLE_PREVIEWS
| Set this option to 'true' to disable previews in all the different web file listing views. This can speed up file listings in folders with many files. The only list view that is not affected by this setting is the trash bin, as it does not allow previewing at all.
| false
|
| WEB_OPTION_HOME_FOLDER
| Specifies a folder that is used when the user navigates 'home'. Navigating home gets triggered by clicking on the 'All files' menu item. The user will not be jailed in that directory, it simply serves as a default location. A static location can be provided, or variables of the user object to come up with a user specific home path can be used. This uses the twig template variable style and allows picking a value or a substring of a value of the authenticated user. Examples are '/Shares', '/{{.Id}}' and '/{{substr 0 3 .Id}}/{{.Id}'.
|
|
| WEB_OPTION_HOVERABLE_QUICK_ACTIONS
| Set this option to 'true' to hide quick actions (buttons appearing on file rows) and only show them when the user hovers over the row with his mouse. Defaults to 'false'.
| false
|
| WEB_OPTION_OPEN_LINKS_WITH_DEFAULT_APP
| Specifies whether single file link shares should be opened with the default app or not. If not opened by the default app, the Web UI just displays the file details.
| true
|
| WEB_OPTION_PREVIEW_FILE_MIMETYPES
| A list of mimeTypes to specify which ones will be previewed in the UI. For example, to only preview jpg and text files, set this option to 'image/jpeg,text/plain'. See the Environment Variable Types description for more details.
| [image/gif image/png image/jpeg text/plain image/tiff image/bmp image/x-ms-bmp application/vnd.geogebra.slides]
|
| WEB_OPTION_ROUTING_ID_BASED
| Enable or disable fileIds being added to the URL. Defaults to 'true', because otherwise spaces with name clashes cannot be resolved correctly. Note: Only disable this if you can guarantee on the server side, that spaces of the same namespace cannot have name clashes.
| true
|
| WEB_OPTION_SHARING_RECIPIENTS_PER_PAGE
| Sets the number of users shown as recipients in the dropdown menu when sharing resources.
| 200
|
| WEB_OPTION_SIDEBAR_SHARES_SHOW_ALL_ON_LOAD
| Sets the list of the (link) shares list in the sidebar to be initially expanded. Default is a collapsed state, only showing the first three shares.
| false
|===
@@ -24,13 +24,18 @@ Use this checklist with copy/paste in your PR - right from the beginning. It ren
bad `<img src="https://github.com/owncloud/ocis/blob/master/services/graph/images/mermaid-graph.svg" width="500" />`
good `<img src="https://raw.githubusercontent.com/owncloud/ocis/master/services/graph/images/mermaid-graph.svg" width="500" />`
- [ ] If new CLI commands are introduced, those commands must be described in the README.md.
- Commands are added to `ocis/pkg/command`
- [ ] If new global envvars are introduced, the name must start with `OCIS_`.
- [ ] Add the service to the makefile in the ocis repo root.
- [ ] Make the service startable for binary and individual startup:
- For single binary add service to `ocis/pkg/runtime`
- For individual startup add service to `ocis/pkg/commands`
- [ ] Service startup:
- add it to `ocis/pkg/command/services.go`
- Include for automatic startup:
- add it to `ocis/pkg/runtime/service/service.go`
- Exclude from automatic startup:
- add it to the `populate optional services` block in `ocis/pkg/runtime/service/service.go`
- Add the service config to `ocis-pkg/config/defaultconfig.go`
- [ ] If the service is using service accounts, add it to `ocis/pkg/init/init.go`
- [ ] Check that the service properly responds to `ocis <service-name> health` and has `/healthz` and `/readyz` endpoints
- [ ] Add the service to `.drone.star` to enable CI.
- [ ] Inform doc team in an *early stage* to review the readme AND the environment variables created.
- The description must reflect the behaviour AND usually has a positive code quality impact.
@@ -45,4 +50,5 @@ Use this checklist with copy/paste in your PR - right from the beginning. It ren
- [ ] Add metrics to the code to enable monitoring. See the proxy service for implementation details.
- Plus add documentation about monitoring in the README.md file
- [ ] When the service requires translations that have to be covered by the service and are not sourced by web, see the [add translation]({{< ref "./add-translations.md" >}}) documentation for more details.
- [ ] If the service requires a `cache` or `store`, check existing services for implementation and add a documentation in the README.md
```
+36 -37
View File
@@ -1,6 +1,7 @@
module github.com/owncloud/ocis/v2
go 1.22.0
go 1.22.7
toolchain go1.22.9
require (
@@ -12,16 +13,16 @@ require (
github.com/Nerzal/gocloak/v13 v13.9.0
github.com/bbalet/stopwords v1.0.0
github.com/beevik/etree v1.4.1
github.com/blevesearch/bleve/v2 v2.4.2
github.com/blevesearch/bleve/v2 v2.4.3
github.com/cenkalti/backoff v2.2.1+incompatible
github.com/coreos/go-oidc/v3 v3.11.0
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1
github.com/cs3org/reva/v2 v2.26.5
github.com/cs3org/reva/v2 v2.27.0
github.com/davidbyttow/govips/v2 v2.15.0
github.com/dhowden/tag v0.0.0-20240417053706-3d75831295e8
github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e
github.com/egirna/icap-client v0.1.1
github.com/gabriel-vasile/mimetype v1.4.6
github.com/gabriel-vasile/mimetype v1.4.7
github.com/ggwhite/go-masker v1.1.0
github.com/go-chi/chi/v5 v5.1.0
github.com/go-chi/render v1.0.3
@@ -35,9 +36,8 @@ require (
github.com/go-micro/plugins/v4/store/nats-js-kv v0.0.0-20240726082623-6831adfdcdc4
github.com/go-micro/plugins/v4/wrapper/monitoring/prometheus v1.2.0
github.com/go-micro/plugins/v4/wrapper/trace/opentelemetry v1.2.0
github.com/go-playground/validator/v10 v10.22.1
github.com/go-playground/validator/v10 v10.23.0
github.com/gofrs/uuid v4.4.0+incompatible
github.com/golang-jwt/jwt/v4 v4.5.1
github.com/golang-jwt/jwt/v5 v5.2.1
github.com/golang/protobuf v1.5.4
github.com/google/go-cmp v0.6.0
@@ -45,7 +45,7 @@ require (
github.com/google/uuid v1.6.0
github.com/gookit/config/v2 v2.2.5
github.com/gorilla/mux v1.8.1
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0
github.com/invopop/validation v0.8.0
github.com/jellydator/ttlcache/v2 v2.11.1
github.com/jellydator/ttlcache/v3 v3.3.0
@@ -54,7 +54,7 @@ require (
github.com/kovidgoyal/imaging v1.6.3
github.com/leonelquinteros/gotext v1.7.0
github.com/libregraph/idm v0.5.0
github.com/libregraph/lico v0.64.0
github.com/libregraph/lico v0.65.0
github.com/mitchellh/mapstructure v1.5.0
github.com/mna/pigeon v1.3.0
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
@@ -63,8 +63,8 @@ require (
github.com/oklog/run v1.1.0
github.com/olekukonko/tablewriter v0.0.5
github.com/onsi/ginkgo v1.16.5
github.com/onsi/ginkgo/v2 v2.21.0
github.com/onsi/gomega v1.35.1
github.com/onsi/ginkgo/v2 v2.22.0
github.com/onsi/gomega v1.36.0
github.com/open-policy-agent/opa v0.70.0
github.com/orcaman/concurrent-map v1.0.0
github.com/owncloud/libre-graph-api-go v1.0.5-0.20240829135935-80dc00d6f5ea
@@ -72,7 +72,7 @@ require (
github.com/pkg/xattr v0.4.10
github.com/prometheus/client_golang v1.20.5
github.com/r3labs/sse/v2 v2.10.0
github.com/riandyrn/otelchi v0.10.1
github.com/riandyrn/otelchi v0.11.0
github.com/rogpeppe/go-internal v1.13.1
github.com/rs/cors v1.11.1
github.com/rs/zerolog v1.33.0
@@ -80,35 +80,35 @@ require (
github.com/sirupsen/logrus v1.9.3
github.com/spf13/afero v1.11.0
github.com/spf13/cobra v1.8.1
github.com/stretchr/testify v1.9.0
github.com/stretchr/testify v1.10.0
github.com/test-go/testify v1.1.4
github.com/thejerf/suture/v4 v4.0.5
github.com/thejerf/suture/v4 v4.0.6
github.com/tidwall/gjson v1.18.0
github.com/tus/tusd/v2 v2.5.0
github.com/tus/tusd/v2 v2.6.0
github.com/unrolled/secure v1.16.0
github.com/urfave/cli/v2 v2.27.5
github.com/xhit/go-simple-mail/v2 v2.16.0
go-micro.dev/v4 v4.11.0
go.etcd.io/bbolt v1.3.11
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.57.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.57.0
go.opentelemetry.io/contrib/zpages v0.57.0
go.opentelemetry.io/otel v1.32.0
go.opentelemetry.io/otel/exporters/jaeger v1.17.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.31.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.32.0
go.opentelemetry.io/otel/sdk v1.32.0
go.opentelemetry.io/otel/trace v1.32.0
golang.org/x/crypto v0.29.0
golang.org/x/crypto v0.30.0
golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c
golang.org/x/image v0.21.0
golang.org/x/net v0.30.0
golang.org/x/image v0.22.0
golang.org/x/net v0.32.0
golang.org/x/oauth2 v0.24.0
golang.org/x/sync v0.9.0
golang.org/x/term v0.26.0
golang.org/x/text v0.20.0
google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38
golang.org/x/sync v0.10.0
golang.org/x/term v0.27.0
golang.org/x/text v0.21.0
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697
google.golang.org/grpc v1.68.0
google.golang.org/protobuf v1.35.1
google.golang.org/protobuf v1.35.2
gopkg.in/yaml.v2 v2.4.0
gotest.tools/v3 v3.5.1
stash.kopano.io/kgol/rndm v1.1.2
@@ -135,13 +135,13 @@ require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/bitly/go-simplejson v0.5.0 // indirect
github.com/bits-and-blooms/bitset v1.12.0 // indirect
github.com/blevesearch/bleve_index_api v1.1.10 // indirect
github.com/blevesearch/bleve_index_api v1.1.12 // indirect
github.com/blevesearch/geo v0.1.20 // indirect
github.com/blevesearch/go-faiss v1.0.20 // indirect
github.com/blevesearch/go-faiss v1.0.23 // indirect
github.com/blevesearch/go-porterstemmer v1.0.3 // indirect
github.com/blevesearch/gtreap v0.1.1 // indirect
github.com/blevesearch/mmap-go v1.0.4 // indirect
github.com/blevesearch/scorch_segment_api/v2 v2.2.15 // indirect
github.com/blevesearch/scorch_segment_api/v2 v2.2.16 // indirect
github.com/blevesearch/segment v0.9.1 // indirect
github.com/blevesearch/snowballstem v0.9.0 // indirect
github.com/blevesearch/upsidedown_store_api v1.0.2 // indirect
@@ -150,8 +150,8 @@ require (
github.com/blevesearch/zapx/v12 v12.3.10 // indirect
github.com/blevesearch/zapx/v13 v13.3.10 // indirect
github.com/blevesearch/zapx/v14 v14.3.10 // indirect
github.com/blevesearch/zapx/v15 v15.3.13 // indirect
github.com/blevesearch/zapx/v16 v16.1.5 // indirect
github.com/blevesearch/zapx/v15 v15.3.16 // indirect
github.com/blevesearch/zapx/v16 v16.1.8 // indirect
github.com/bluele/gcache v0.0.2 // indirect
github.com/bombsimon/logrusr/v3 v3.1.0 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
@@ -217,7 +217,7 @@ require (
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/gofrs/flock v0.12.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang-jwt/jwt/v4 v4.5.1 // indirect
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/snappy v0.0.4 // indirect
@@ -232,7 +232,7 @@ require (
github.com/gorilla/schema v1.4.1 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-plugin v1.6.1 // indirect
github.com/hashicorp/go-plugin v1.6.2 // indirect
github.com/hashicorp/yamux v0.1.1 // indirect
github.com/huandu/xstrings v1.5.0 // indirect
github.com/iancoleman/strcase v0.3.0 // indirect
@@ -263,7 +263,6 @@ require (
github.com/minio/md5-simd v1.1.2 // indirect
github.com/minio/minio-go/v7 v7.0.78 // indirect
github.com/mitchellh/copystructure v1.2.0 // indirect
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
@@ -321,19 +320,19 @@ require (
go.etcd.io/etcd/client/pkg/v3 v3.5.16 // indirect
go.etcd.io/etcd/client/v3 v3.5.16 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.31.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.32.0 // indirect
go.opentelemetry.io/otel/metric v1.32.0 // indirect
go.opentelemetry.io/proto/otlp v1.3.1 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
go.uber.org/zap v1.23.0 // indirect
golang.org/x/mod v0.21.0 // indirect
golang.org/x/sys v0.27.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/time v0.7.0 // indirect
golang.org/x/tools v0.26.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/genproto v0.0.0-20241015192408-796eee8c2d53 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241118233622-e639e219e697 // indirect
gopkg.in/cenkalti/backoff.v1 v1.1.0 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
@@ -349,7 +348,7 @@ replace github.com/unrolled/secure => github.com/DeepDiver1975/secure v0.0.0-202
replace github.com/go-micro/plugins/v4/store/nats-js-kv => github.com/kobergj/plugins/v4/store/nats-js-kv v0.0.0-20240807130109-f62bb67e8c90
replace go-micro.dev/v4 => github.com/butonic/go-micro/v4 v4.11.1-0.20241028133844-ac2cdce96c71
replace go-micro.dev/v4 => github.com/butonic/go-micro/v4 v4.11.1-0.20241115112658-b5d4de5ed9b3
// 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
+66 -70
View File
@@ -149,22 +149,22 @@ github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngE
github.com/bits-and-blooms/bitset v1.12.0 h1:U/q1fAF7xXRhFCrhROzIfffYnu+dlS38vCZtmFVPHmA=
github.com/bits-and-blooms/bitset v1.12.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84=
github.com/blevesearch/bleve/v2 v2.4.2 h1:NooYP1mb3c0StkiY9/xviiq2LGSaE8BQBCc/pirMx0U=
github.com/blevesearch/bleve/v2 v2.4.2/go.mod h1:ATNKj7Yl2oJv/lGuF4kx39bST2dveX6w0th2FFYLkc8=
github.com/blevesearch/bleve_index_api v1.1.10 h1:PDLFhVjrjQWr6jCuU7TwlmByQVCSEURADHdCqVS9+g0=
github.com/blevesearch/bleve_index_api v1.1.10/go.mod h1:PbcwjIcRmjhGbkS/lJCpfgVSMROV6TRubGGAODaK1W8=
github.com/blevesearch/bleve/v2 v2.4.3 h1:XDYj+1prgX84L2Cf+V3ojrOPqXxy0qxyd2uLMmeuD+4=
github.com/blevesearch/bleve/v2 v2.4.3/go.mod h1:hEPDPrbYw3vyrm5VOa36GyS4bHWuIf4Fflp7460QQXY=
github.com/blevesearch/bleve_index_api v1.1.12 h1:P4bw9/G/5rulOF7SJ9l4FsDoo7UFJ+5kexNy1RXfegY=
github.com/blevesearch/bleve_index_api v1.1.12/go.mod h1:PbcwjIcRmjhGbkS/lJCpfgVSMROV6TRubGGAODaK1W8=
github.com/blevesearch/geo v0.1.20 h1:paaSpu2Ewh/tn5DKn/FB5SzvH0EWupxHEIwbCk/QPqM=
github.com/blevesearch/geo v0.1.20/go.mod h1:DVG2QjwHNMFmjo+ZgzrIq2sfCh6rIHzy9d9d0B59I6w=
github.com/blevesearch/go-faiss v1.0.20 h1:AIkdTQFWuZ5LQmKQSebgMR4RynGNw8ZseJXaan5kvtI=
github.com/blevesearch/go-faiss v1.0.20/go.mod h1:jrxHrbl42X/RnDPI+wBoZU8joxxuRwedrxqswQ3xfU8=
github.com/blevesearch/go-faiss v1.0.23 h1:Wmc5AFwDLKGl2L6mjLX1Da3vCL0EKa2uHHSorcIS1Uc=
github.com/blevesearch/go-faiss v1.0.23/go.mod h1:OMGQwOaRRYxrmeNdMrXJPvVx8gBnvE5RYrr0BahNnkk=
github.com/blevesearch/go-porterstemmer v1.0.3 h1:GtmsqID0aZdCSNiY8SkuPJ12pD4jI+DdXTAn4YRcHCo=
github.com/blevesearch/go-porterstemmer v1.0.3/go.mod h1:angGc5Ht+k2xhJdZi511LtmxuEf0OVpvUUNrwmM1P7M=
github.com/blevesearch/gtreap v0.1.1 h1:2JWigFrzDMR+42WGIN/V2p0cUvn4UP3C4Q5nmaZGW8Y=
github.com/blevesearch/gtreap v0.1.1/go.mod h1:QaQyDRAT51sotthUWAH4Sj08awFSSWzgYICSZ3w0tYk=
github.com/blevesearch/mmap-go v1.0.4 h1:OVhDhT5B/M1HNPpYPBKIEJaD0F3Si+CrEKULGCDPWmc=
github.com/blevesearch/mmap-go v1.0.4/go.mod h1:EWmEAOmdAS9z/pi/+Toxu99DnsbhG1TIxUoRmJw/pSs=
github.com/blevesearch/scorch_segment_api/v2 v2.2.15 h1:prV17iU/o+A8FiZi9MXmqbagd8I0bCqM7OKUYPbnb5Y=
github.com/blevesearch/scorch_segment_api/v2 v2.2.15/go.mod h1:db0cmP03bPNadXrCDuVkKLV6ywFSiRgPFT1YVrestBc=
github.com/blevesearch/scorch_segment_api/v2 v2.2.16 h1:uGvKVvG7zvSxCwcm4/ehBa9cCEuZVE+/zvrSl57QUVY=
github.com/blevesearch/scorch_segment_api/v2 v2.2.16/go.mod h1:VF5oHVbIFTu+znY1v30GjSpT5+9YFs9dV2hjvuh34F0=
github.com/blevesearch/segment v0.9.1 h1:+dThDy+Lvgj5JMxhmOVlgFfkUtZV2kw49xax4+jTfSU=
github.com/blevesearch/segment v0.9.1/go.mod h1:zN21iLm7+GnBHWTao9I+Au/7MBiL8pPFtJBJTsk6kQw=
github.com/blevesearch/snowballstem v0.9.0 h1:lMQ189YspGP6sXvZQ4WZ+MLawfV8wOmPoD/iWeNXm8s=
@@ -181,10 +181,10 @@ github.com/blevesearch/zapx/v13 v13.3.10 h1:0KY9tuxg06rXxOZHg3DwPJBjniSlqEgVpxIq
github.com/blevesearch/zapx/v13 v13.3.10/go.mod h1:w2wjSDQ/WBVeEIvP0fvMJZAzDwqwIEzVPnCPrz93yAk=
github.com/blevesearch/zapx/v14 v14.3.10 h1:SG6xlsL+W6YjhX5N3aEiL/2tcWh3DO75Bnz77pSwwKU=
github.com/blevesearch/zapx/v14 v14.3.10/go.mod h1:qqyuR0u230jN1yMmE4FIAuCxmahRQEOehF78m6oTgns=
github.com/blevesearch/zapx/v15 v15.3.13 h1:6EkfaZiPlAxqXz0neniq35my6S48QI94W/wyhnpDHHQ=
github.com/blevesearch/zapx/v15 v15.3.13/go.mod h1:Turk/TNRKj9es7ZpKK95PS7f6D44Y7fAFy8F4LXQtGg=
github.com/blevesearch/zapx/v16 v16.1.5 h1:b0sMcarqNFxuXvjoXsF8WtwVahnxyhEvBSRJi/AUHjU=
github.com/blevesearch/zapx/v16 v16.1.5/go.mod h1:J4mSF39w1QELc11EWRSBFkPeZuO7r/NPKkHzDCoiaI8=
github.com/blevesearch/zapx/v15 v15.3.16 h1:Ct3rv7FUJPfPk99TI/OofdC+Kpb4IdyfdMH48sb+FmE=
github.com/blevesearch/zapx/v15 v15.3.16/go.mod h1:Turk/TNRKj9es7ZpKK95PS7f6D44Y7fAFy8F4LXQtGg=
github.com/blevesearch/zapx/v16 v16.1.8 h1:Bxzpw6YQpFs7UjoCV1+RvDw6fmAT2GZxldwX8b3wVBM=
github.com/blevesearch/zapx/v16 v16.1.8/go.mod h1:JqQlOqlRVaYDkpLIl3JnKql8u4zKTNlVEa3nLsi0Gn8=
github.com/bluele/gcache v0.0.2 h1:WcbfdXICg7G/DGBh1PFfcirkWOQV+v077yF1pSy3DGw=
github.com/bluele/gcache v0.0.2/go.mod h1:m15KV+ECjptwSPxKhOhQoAFQVtUFjTVkc3H8o0t/fp0=
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY=
@@ -194,8 +194,8 @@ github.com/bombsimon/logrusr/v3 v3.1.0/go.mod h1:PksPPgSFEL2I52pla2glgCyyd2OqOHA
github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8=
github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZlaQsNA=
github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8=
github.com/butonic/go-micro/v4 v4.11.1-0.20241028133844-ac2cdce96c71 h1:O26NWIQEs6vT4j/mQBH81D82ix7NE2ks1lekZ+g+C2k=
github.com/butonic/go-micro/v4 v4.11.1-0.20241028133844-ac2cdce96c71/go.mod h1:eE/tD53n3KbVrzrWxKLxdkGw45Fg1qaNLWjpJMvIUF4=
github.com/butonic/go-micro/v4 v4.11.1-0.20241115112658-b5d4de5ed9b3 h1:h8Z0hBv5tg/uZMKu8V47+DKWYVQg0lYP8lXDQq7uRpE=
github.com/butonic/go-micro/v4 v4.11.1-0.20241115112658-b5d4de5ed9b3/go.mod h1:eE/tD53n3KbVrzrWxKLxdkGw45Fg1qaNLWjpJMvIUF4=
github.com/bwesterb/go-ristretto v1.2.3/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2 h1:3uZCA/BLTIu+DqCfguByNMJa2HVHpXvjfy0Dy7g6fuA=
github.com/bytecodealliance/wasmtime-go/v3 v3.0.2/go.mod h1:RnUjnIXxEJcL6BgCvNyzCCRzZcxCgsZCi+RNlvYor5Q=
@@ -255,8 +255,8 @@ github.com/crewjam/saml v0.4.14 h1:g9FBNx62osKusnFzs3QTN5L9CVA/Egfgm+stJShzw/c=
github.com/crewjam/saml v0.4.14/go.mod h1:UVSZCf18jJkk6GpWNVqcyQJMD5HsRugBPf4I1nl2mME=
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1 h1:RU6LT6mkD16xZs011+8foU7T3LrPvTTSWeTQ9OgfhkA=
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1/go.mod h1:DedpcqXl193qF/08Y04IO0PpxyyMu8+GrkD6kWK2MEQ=
github.com/cs3org/reva/v2 v2.26.5 h1:LWIOSpmgoVQDfe9S2renzqqAXorFs6lT+5Vodhr3M68=
github.com/cs3org/reva/v2 v2.26.5/go.mod h1:KP0Zomt3dNIr/kU2M1mXzTIVFOtxBVS4qmBDMRCfrOQ=
github.com/cs3org/reva/v2 v2.27.0 h1:Lq8VBRjQmyCfCO6+wC80Z4vH2Q1MfgORggg1e6mEcdM=
github.com/cs3org/reva/v2 v2.27.0/go.mod h1:fJWmn7EkttWOWphZfiKdFOcHuthcUsU55aSN1VeTOhU=
github.com/cyberdelia/templates v0.0.0-20141128023046-ca7fffd4298c/go.mod h1:GyV+0YP4qX0UQ7r2MoYZ+AvYDp12OF5yg4q8rGnyNh4=
github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg=
github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
@@ -334,8 +334,8 @@ github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMo
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
github.com/gabriel-vasile/mimetype v1.4.6 h1:3+PzJTKLkvgjeTbts6msPJt4DixhT4YtFNf1gtGe3zc=
github.com/gabriel-vasile/mimetype v1.4.6/go.mod h1:JX1qVKqZd40hUPpAfiNTe0Sne7hdfKSbOqqmkq8GCXc=
github.com/gabriel-vasile/mimetype v1.4.7 h1:SKFKl7kD0RiPdbht0s7hFtjl489WcQ1VyPW8ZzUMYCA=
github.com/gabriel-vasile/mimetype v1.4.7/go.mod h1:GDlAgAyIRT27BhFl53XNAFtfjzOkLaF35JdEG0P7LtU=
github.com/gdexlab/go-render v1.0.1 h1:rxqB3vo5s4n1kF0ySmoNeSPRYkEsyHgln4jFIQY7v0U=
github.com/gdexlab/go-render v1.0.1/go.mod h1:wRi5nW2qfjiGj4mPukH4UV0IknS1cHD4VgFTmJX5JzM=
github.com/getkin/kin-openapi v0.13.0/go.mod h1:WGRs2ZMM1Q8LR1QBEwUxC6RJEfaBcD0s+pcEVXFuAjw=
@@ -425,8 +425,8 @@ github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/o
github.com/go-playground/locales v0.14.1/go.mod h1:hxrqLVvrK65+Rwrd5Fc6F2O76J/NuW9t0sjnWqG1slY=
github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJnYK9S473LQFuzCbDbfSFY=
github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY=
github.com/go-playground/validator/v10 v10.22.1 h1:40JcKH+bBNGFczGuoBYgX4I6m/i27HYW8P9FDk5PbgA=
github.com/go-playground/validator/v10 v10.22.1/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
github.com/go-playground/validator/v10 v10.23.0 h1:/PwmTwZhS0dPkav3cdK9kV1FsAmrL8sThn8IHr/sO+o=
github.com/go-playground/validator/v10 v10.23.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM=
github.com/go-redis/redis/v8 v8.11.5 h1:AcZZR7igkdvfVmQTPnu9WE37LRrO/YrBH5zWyjDC0oI=
github.com/go-redis/redis/v8 v8.11.5/go.mod h1:gREzHqY1hg6oD9ngVRbLStwAWKhA0FEgq8Jd4h5lpwo=
github.com/go-resty/resty/v2 v2.1.1-0.20191201195748-d7b97669fe48/go.mod h1:dZGr0i9PLlaaTD4H/hoZIDjQ+r6xq8mgbRzHZf7f2J8=
@@ -471,8 +471,6 @@ github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zV
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/goji/httpauth v0.0.0-20160601135302-2da839ab0f4d/go.mod h1:nnjvkQ9ptGaCkuDUx6wNykzzlUixGxvkme+H/lnzb+A=
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
github.com/golang-jwt/jwt/v4 v4.5.1 h1:JdqV9zKUdtaa9gdPlywC3aeoEsR681PlKC+4F5gQgeo=
github.com/golang-jwt/jwt/v4 v4.5.1/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17wHk=
@@ -596,8 +594,8 @@ github.com/grpc-ecosystem/go-grpc-middleware v1.4.0/go.mod h1:g5qyo/la0ALbONm6Vb
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0 h1:ad0vkEBuk23VJzZR9nkLVG0YAoN9coASF1GusYX6AlU=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0/go.mod h1:igFoXX2ELCW06bol23DWPB5BEWfZISOzSP5K2sbLea0=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 h1:TmHmbvxPmaegwhDubVz0lICL0J5Ka2vwTzhoePEXsGE=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0/go.mod h1:qztMSjm835F2bXf+5HKAPIS5qsmQDqZna/PgVt4rWtI=
github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542/go.mod h1:Ow0tF8D4Kplbc8s8sSb3V2oUCygFHVp8gC3Dn6U4MNI=
github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q=
github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8=
@@ -609,8 +607,8 @@ github.com/hashicorp/go-hclog v1.6.3/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVH
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
github.com/hashicorp/go-plugin v1.6.1 h1:P7MR2UP6gNKGPp+y7EZw2kOiq4IR9WiqLvp0XOsVdwI=
github.com/hashicorp/go-plugin v1.6.1/go.mod h1:XPHFku2tFo3o3QKFgSYo+cghcUhw1NA1hZyMK0PWAw0=
github.com/hashicorp/go-plugin v1.6.2 h1:zdGAEd0V1lCaU0u+MxWQhtSDQmahpkwOun8U8EiRVog=
github.com/hashicorp/go-plugin v1.6.2/go.mod h1:CkgLQ5CZqNmdL9U9JzM532t8ZiYQ35+pj3b1FD37R0Q=
github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU=
github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
@@ -738,8 +736,8 @@ github.com/leonelquinteros/gotext v1.7.0 h1:jcJmF4AXqyamP7vuw2MMIKs+O3jAEmvrc5JQ
github.com/leonelquinteros/gotext v1.7.0/go.mod h1:qJdoQuERPpccw7L70uoU+K/BvTfRBHYsisCQyFLXyvw=
github.com/libregraph/idm v0.5.0 h1:tDMwKbAOZzdeDYMxVlY5PbSqRKO7dbAW9KT42A51WSk=
github.com/libregraph/idm v0.5.0/go.mod h1:BGMwIQ/6orJSPVzJ1x6kgG2JyG9GY05YFmbsnaD80k0=
github.com/libregraph/lico v0.64.0 h1:fbMV2ALjrOysGL0m58bhRrF+9e/HCL5RkoSwMN+xoWQ=
github.com/libregraph/lico v0.64.0/go.mod h1:J2ZNe1DcO+K/5ptOOrQk2A2mn6OwXRdGUI4ASgw2WGg=
github.com/libregraph/lico v0.65.0 h1:h8GYJhTOBuNvxQzdViHdWkNSUp+YbPB1H18Bfn/zdlY=
github.com/libregraph/lico v0.65.0/go.mod h1:6w+kgoTYiXpJ7VriAaKJfeyF0eV/Stapd9pnK64du84=
github.com/libregraph/oidc-go v1.1.0 h1:RyudjL3UyQblqeBQI06W53PniWobqODeeyAy6v/HumA=
github.com/libregraph/oidc-go v1.1.0/go.mod h1:qW9ubcXvZrfbbWZBaLMuk7bt5qAUMYyt9/NtXQt07Cw=
github.com/linode/linodego v0.25.3/go.mod h1:GSBKPpjoQfxEfryoCRcgkuUOCuVtGHWhzI8OMdycNTE=
@@ -807,8 +805,6 @@ github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HK
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU=
github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8=
github.com/mitchellh/go-vnc v0.0.0-20150629162542-723ed9867aed/go.mod h1:3rdaFaCv4AyBgu5ALFM0+tSuHrBh6v692nyQe3ikrq0=
github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY=
@@ -868,13 +864,13 @@ github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W
github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk=
github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU=
github.com/onsi/ginkgo/v2 v2.21.0 h1:7rg/4f3rB88pb5obDgNZrNHrQ4e6WpjonchcpuBRnZM=
github.com/onsi/ginkgo/v2 v2.21.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo=
github.com/onsi/ginkgo/v2 v2.22.0 h1:Yed107/8DjTr0lKCNt7Dn8yQ6ybuDRQoMGrNFKzMfHg=
github.com/onsi/ginkgo/v2 v2.22.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo=
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
github.com/onsi/gomega v1.35.1 h1:Cwbd75ZBPxFSuZ6T+rN/WCb/gOc6YgFBXLlZLhC7Ds4=
github.com/onsi/gomega v1.35.1/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog=
github.com/onsi/gomega v1.36.0 h1:Pb12RlruUtj4XUuPUqeEWc6j5DkVVVA49Uf6YLfC95Y=
github.com/onsi/gomega v1.36.0/go.mod h1:PvZbdDc8J6XJEpDK4HCuRBm8a6Fzp9/DmhC9C7yFlog=
github.com/open-policy-agent/opa v0.70.0 h1:B3cqCN2iQAyKxK6+GI+N40uqkin+wzIrM7YA60t9x1U=
github.com/open-policy-agent/opa v0.70.0/go.mod h1:Y/nm5NY0BX0BqjBriKUiV81sCl8XOjjvqQG7dXrggtI=
github.com/opencontainers/runtime-spec v1.1.0 h1:HHUyrt9mwHUjtasSbXSMvs4cyFxh+Bll4AjJ9odEGpg=
@@ -981,8 +977,8 @@ github.com/rainycape/memcache v0.0.0-20150622160815-1031fa0ce2f2/go.mod h1:7tZKc
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 h1:MkV+77GLUNo5oJ0jf870itWm3D0Sjh7+Za9gazKc5LQ=
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
github.com/riandyrn/otelchi v0.10.1 h1:x86f8M0pGvjW3tJUxpva4cpdNtMydLPnarIXHssYUy4=
github.com/riandyrn/otelchi v0.10.1/go.mod h1:SWarhA5rdeiCNq+Ygc4p59ZGM5AtYCiyPU/3Q5rzT0M=
github.com/riandyrn/otelchi v0.11.0 h1:x9MFoTgHcwCC2DdWkTEEZ2ZQFkbl6z7GXLQtTANN6Gk=
github.com/riandyrn/otelchi v0.11.0/go.mod h1:FlBYmG9fBQu0jFRvZZrATP4mDvLX2H5gwELfpZvNlxY=
github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ=
github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88=
@@ -1080,8 +1076,8 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stvp/go-udp-testing v0.0.0-20201019212854-469649b16807/go.mod h1:7jxmlfBCDBXRzr0eAQJ48XC1hBu1np4CS5+cHEYfwpc=
github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
github.com/tchap/go-patricia/v2 v2.3.1 h1:6rQp39lgIYZ+MHmdEq4xzuk1t7OdC35z/xm0BGhTkes=
@@ -1090,8 +1086,8 @@ github.com/test-go/testify v1.1.4 h1:Tf9lntrKUMHiXQ07qBScBTSA0dhYQlu83hswqelv1iE
github.com/test-go/testify v1.1.4/go.mod h1:rH7cfJo/47vWGdi4GPj16x3/t1xGOj2YxzmNQzk2ghU=
github.com/thanhpk/randstr v1.0.6 h1:psAOktJFD4vV9NEVb3qkhRSMvYh4ORRaj1+w/hn4B+o=
github.com/thanhpk/randstr v1.0.6/go.mod h1:M/H2P1eNLZzlDwAzpkkkUvoyNNMbzRGhESZuEQk3r0U=
github.com/thejerf/suture/v4 v4.0.5 h1:F1E/4FZwXWqvlWDKEUo6/ndLtxGAUzMmNqkrMknZbAA=
github.com/thejerf/suture/v4 v4.0.5/go.mod h1:gu9Y4dXNUWFrByqRt30Rm9/UZ0wzRSt9AJS6xu/ZGxU=
github.com/thejerf/suture/v4 v4.0.6 h1:QsuCEsCqb03xF9tPAsWAj8QOAJBgQI1c0VqJNaingg8=
github.com/thejerf/suture/v4 v4.0.6/go.mod h1:gu9Y4dXNUWFrByqRt30Rm9/UZ0wzRSt9AJS6xu/ZGxU=
github.com/tidwall/gjson v1.18.0 h1:FIDeeyB800efLX89e5a8Y0BNH+LOngJyGrIWxG2FKQY=
github.com/tidwall/gjson v1.18.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk=
github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA=
@@ -1109,8 +1105,8 @@ github.com/toorop/go-dkim v0.0.0-20201103131630-e1cd1a0a5208/go.mod h1:BzWtXXrXz
github.com/transip/gotransip/v6 v6.2.0/go.mod h1:pQZ36hWWRahCUXkFWlx9Hs711gLd8J4qdgLdRzmtY+g=
github.com/trustelem/zxcvbn v1.0.1 h1:mp4JFtzdDYGj9WYSD3KQSkwwUumWNFzXaAjckaTYpsc=
github.com/trustelem/zxcvbn v1.0.1/go.mod h1:zonUyKeh7sw6psPf/e3DtRqkRyZvAbOfjNz/aO7YQ5s=
github.com/tus/tusd/v2 v2.5.0 h1:72/2Ws3kF0upYqENcbb0yr4aca0HByDNkIjOs5yh0es=
github.com/tus/tusd/v2 v2.5.0/go.mod h1:dUDNT4TvTMSqsTZvdAokc8e5xsZ+SsxvOCOPoyEeOJQ=
github.com/tus/tusd/v2 v2.6.0 h1:Je243QDKnFTvm/WkLH2bd1oQ+7trolrflRWyuI0PdWI=
github.com/tus/tusd/v2 v2.6.0/go.mod h1:1Eb1lBoSRBfYJ/mQfFVjyw8ZdNMdBqW17vgQKl3Ah9g=
github.com/uber-go/atomic v1.3.2/go.mod h1:/Ct5t2lcmbJ4OSe/waGBoaVvVqtO0bmtfVNex1PFV8g=
github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
@@ -1172,20 +1168,20 @@ go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E=
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0 h1:yMkBS9yViCc7U7yeLzJPM2XizlfdVvBRSmsQDWu6qc0=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.56.0/go.mod h1:n8MR6/liuGB5EmTETUBeU5ZgqMOlqKRxUaqPQBOANZ8=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0 h1:UP6IpuHFkUgOQL9FFQFrZ+5LiwhhYRbi7VZSIx6Nj5s=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.56.0/go.mod h1:qxuZLtbq5QDtdeSHsS7bcf6EH6uO6jUAgk764zd3rhM=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.57.0 h1:qtFISDHKolvIxzSs0gIaiPUPR0Cucb0F2coHC7ZLdps=
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.57.0/go.mod h1:Y+Pop1Q6hCOnETWTW4NROK/q1hv50hM7yDaUTjG8lp8=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.57.0 h1:DheMAlT6POBP+gh8RUH19EOTnQIor5QE0uSRPtzCpSw=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.57.0/go.mod h1:wZcGmeVO9nzP67aYSLDqXNWK87EZWhi7JWj1v7ZXf94=
go.opentelemetry.io/contrib/zpages v0.57.0 h1:mHFZlTkyrUJcuBhpytPSaVPiVkqri96RKUDk01d83eQ=
go.opentelemetry.io/contrib/zpages v0.57.0/go.mod h1:u/SScNsxj6TacMBA6KCJZjXVC1uwkdVgLFyHrOe0x9M=
go.opentelemetry.io/otel v1.32.0 h1:WnBN+Xjcteh0zdk01SVqV55d/m62NJLJdIyb4y/WO5U=
go.opentelemetry.io/otel v1.32.0/go.mod h1:00DCVSB0RQcnzlwyTfqtxSm+DRr9hpYrHjNGiBHVQIg=
go.opentelemetry.io/otel/exporters/jaeger v1.17.0 h1:D7UpUy2Xc2wsi1Ras6V40q806WM07rqoCWzXu7Sqy+4=
go.opentelemetry.io/otel/exporters/jaeger v1.17.0/go.mod h1:nPCqOnEH9rNLKqH/+rrUjiMzHJdV1BlpKcTwRTyKkKI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.31.0 h1:K0XaT3DwHAcV4nKLzcQvwAgSyisUghWoY20I7huthMk=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.31.0/go.mod h1:B5Ki776z/MBnVha1Nzwp5arlzBbE3+1jk+pGmaP5HME=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.31.0 h1:FFeLy03iVTXP6ffeN2iXrxfGsZGCjVx0/4KlizjyBwU=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.31.0/go.mod h1:TMu73/k1CP8nBUpDLc71Wj/Kf7ZS9FK5b53VapRsP9o=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.32.0 h1:IJFEoHiytixx8cMiVAO+GmHR6Frwu+u5Ur8njpFO6Ac=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.32.0/go.mod h1:3rHrKNtLIoS0oZwkY2vxi+oJcwFRWdtUyRII+so45p8=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.32.0 h1:9kV11HXBHZAvuPUZxmMWrH8hZn/6UnHX4K0mu36vNsU=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.32.0/go.mod h1:JyA0FHXe22E1NeNiHmVp7kFHglnexDQ7uRWDiiJ1hKQ=
go.opentelemetry.io/otel/metric v1.32.0 h1:xV2umtmNcThh2/a/aCP+h64Xx5wsj8qqnkYZktzNa0M=
go.opentelemetry.io/otel/metric v1.32.0/go.mod h1:jH7CIbbK6SH2V2wE16W05BHCtIDzauciCRLoc/SyMv8=
go.opentelemetry.io/otel/sdk v1.32.0 h1:RNxepc9vK59A8XsgZQouW8ue8Gkb4jpWtJm9ge5lEG4=
@@ -1233,8 +1229,8 @@ golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU=
golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
golang.org/x/crypto v0.29.0 h1:L5SG1JTTXupVV3n6sUqMTeWbjAyfPwoda2DLX8J8FrQ=
golang.org/x/crypto v0.29.0/go.mod h1:+F4F4N5hv6v38hfeYwTdx20oUvLLc+QfrE9Ax9HtgRg=
golang.org/x/crypto v0.30.0 h1:RwoQn3GkWiMkzlX562cLB7OxWvjH1L8xutO2WoJcRoY=
golang.org/x/crypto v0.30.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
@@ -1250,8 +1246,8 @@ golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c/go.mod h1:NQtJDoLvd6faHhE7m4
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/image v0.10.0/go.mod h1:jtrku+n79PfroUbvDdeUWMAI+heR786BofxrbiSF+J0=
golang.org/x/image v0.21.0 h1:c5qV36ajHpdj4Qi0GnE0jUc/yuo33OLFaa0d+crTD5s=
golang.org/x/image v0.21.0/go.mod h1:vUbsLavqK/W303ZroQQVKQ+Af3Yl6Uz1Ppu5J/cLz78=
golang.org/x/image v0.22.0 h1:UtK5yLUzilVrkjMAZAZ34DXGpASN8i8pj8g+O+yd10g=
golang.org/x/image v0.22.0/go.mod h1:9hPFhljd4zZ1GNSIZJ49sqbp45GKK9t6w+iXvGqZUz4=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
@@ -1331,8 +1327,8 @@ golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44=
golang.org/x/net v0.22.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg=
golang.org/x/net v0.30.0 h1:AcW1SDZMkb8IpzCdQUaIq2sP4sZ4zw+55h6ynffypl4=
golang.org/x/net v0.30.0/go.mod h1:2wGyMJ5iFasEhkwi13ChkO/t1ECNC4X4eBKkVFyYFlU=
golang.org/x/net v0.32.0 h1:ZqPmj8Kzc+Y6e0+skZsuACbx+wzMgo5MQsJh9Qd6aYI=
golang.org/x/net v0.32.0/go.mod h1:CwU0IoeOlnQQWJ6ioyFrfRuomB8GKF6KbYXZVyeXNfs=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -1356,8 +1352,8 @@ golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.9.0 h1:fEo0HyrW1GIgZdpbhCRO0PkJajUS5H9IFUztCgEo2jQ=
golang.org/x/sync v0.9.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ=
golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20180622082034-63fc586f45fe/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -1439,8 +1435,8 @@ golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.27.0 h1:wBqf8DvsY9Y/2P8gAfPDEYNuS30J4lPHJxXSb/nJZ+s=
golang.org/x/sys v0.27.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.28.0 h1:Fksou7UEQUWlKvIdsqzJmUmCX3cZuD2+P3XyyzwMhlA=
golang.org/x/sys v0.28.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
@@ -1451,8 +1447,8 @@ golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U=
golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58=
golang.org/x/term v0.26.0 h1:WEQa6V3Gja/BhNxg540hBip/kkaYtRg3cxg4oXSw4AU=
golang.org/x/term v0.26.0/go.mod h1:Si5m1o57C5nBNQo5z1iq+XDijt21BDBDp2bK0QI8e3E=
golang.org/x/term v0.27.0 h1:WP60Sv1nlK1T6SupCHbXzSaN0b9wUmsPoRS9b61A23Q=
golang.org/x/term v0.27.0/go.mod h1:iMsnZpn0cago0GOrHO2+Y7u7JPn5AylBrcoWkElMTSM=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -1469,8 +1465,8 @@ golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug=
golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4=
golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo=
golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
@@ -1594,10 +1590,10 @@ google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6D
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20241015192408-796eee8c2d53 h1:Df6WuGvthPzc+JiQ/G+m+sNX24kc0aTBqoDN/0yyykE=
google.golang.org/genproto v0.0.0-20241015192408-796eee8c2d53/go.mod h1:fheguH3Am2dGp1LfXkrvwqC/KlFq8F0nLq3LryOMrrE=
google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38 h1:2oV8dfuIkM1Ti7DwXc0BJfnwr9csz4TDXI9EmiI+Rbw=
google.golang.org/genproto/googleapis/api v0.0.0-20241021214115-324edc3d5d38/go.mod h1:vuAjtvlwkDKF6L1GQ0SokiRLCGFfeBUXWr/aFFkHACc=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 h1:zciRKQ4kBpFgpfC5QQCVtnnNAcLIqweL7plyZRQHVpI=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697 h1:pgr/4QbFyktUv9CtQ/Fq4gzEE6/Xs7iCXbktaGzLHbQ=
google.golang.org/genproto/googleapis/api v0.0.0-20241118233622-e639e219e697/go.mod h1:+D9ySVjN8nY8YCVjc5O7PZDIdZporIDY3KaGfJunh88=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241118233622-e639e219e697 h1:LWZqQOEjDyONlF1H6afSWpAL/znlREo2tHfLoe+8LMA=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241118233622-e639e219e697/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU=
google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
@@ -1631,8 +1627,8 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA=
google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
google.golang.org/protobuf v1.35.2 h1:8Ar7bF+apOIoThw1EdZl0p1oWvMqTHmpA2fRTyZO8io=
google.golang.org/protobuf v1.35.2/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/cenkalti/backoff.v1 v1.1.0 h1:Arh75ttbsvlpVA7WtVpH4u9h6Zl46xuptxqLxPiSo4Y=
gopkg.in/cenkalti/backoff.v1 v1.1.0/go.mod h1:J6Vskwqd+OMVJl8C33mmtxTBs2gyzfv7UDAkHu8BrjI=
+42 -6
View File
@@ -1,20 +1,26 @@
package grpc
import (
"context"
"crypto/tls"
"fmt"
"strings"
"time"
mgrpcs "github.com/go-micro/plugins/v4/server/grpc"
"github.com/go-micro/plugins/v4/wrapper/monitoring/prometheus"
mtracer "github.com/go-micro/plugins/v4/wrapper/trace/opentelemetry"
ociscrypto "github.com/owncloud/ocis/v2/ocis-pkg/crypto"
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
"github.com/rs/zerolog"
"go-micro.dev/v4"
"go-micro.dev/v4/client"
"go-micro.dev/v4/server"
"go.opentelemetry.io/otel/trace"
"google.golang.org/grpc"
"google.golang.org/grpc/keepalive"
ociscrypto "github.com/owncloud/ocis/v2/ocis-pkg/crypto"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
)
// Service simply wraps the go-micro grpc service.
@@ -54,6 +60,16 @@ func NewServiceWithClient(client client.Client, opts ...Option) (Service, error)
mServer = mgrpcs.NewServer(mgrpcs.Options(keepaliveParams))
}
handlerWrappers := []server.HandlerWrapper{
mtracer.NewHandlerWrapper(
mtracer.WithTraceProvider(sopts.TraceProvider),
),
}
if sopts.Logger.GetLevel() == zerolog.DebugLevel {
handlerWrappers = append(handlerWrappers, LogHandler(&sopts.Logger))
}
handlerWrappers = append(handlerWrappers, sopts.HandlerWrappers...)
mopts := []micro.Option{
// first add a server because it will reset any options
micro.Server(mServer),
@@ -70,10 +86,7 @@ func NewServiceWithClient(client client.Client, opts ...Option) (Service, error)
micro.WrapClient(mtracer.NewClientWrapper(
mtracer.WithTraceProvider(sopts.TraceProvider),
)),
micro.WrapHandler(mtracer.NewHandlerWrapper(
mtracer.WithTraceProvider(sopts.TraceProvider),
)),
micro.WrapHandler(sopts.HandlerWrappers...),
micro.WrapHandler(handlerWrappers...),
micro.WrapSubscriber(mtracer.NewSubscriberWrapper(
mtracer.WithTraceProvider(sopts.TraceProvider),
)),
@@ -81,3 +94,26 @@ func NewServiceWithClient(client client.Client, opts ...Option) (Service, error)
return Service{micro.NewService(mopts...)}, nil
}
// If used with tracing, please ensure this is registered (by micro.WrapHandler()) after
// micro-plugin's opentracing wrapper: `opentracing.NewHandlerWrapper()`
func LogHandler(l *log.Logger) func(fn server.HandlerFunc) server.HandlerFunc {
return func(fn server.HandlerFunc) server.HandlerFunc {
return func(ctx context.Context, req server.Request, rsp interface{}) error {
now := time.Now()
spanContext := trace.SpanContextFromContext(ctx)
defer func() {
l.Debug().
Str("traceid", spanContext.TraceID().String()).
Str("method", req.Method()).
Str("endpoint", req.Endpoint()).
Str("content-type", req.ContentType()).
Str("service", req.Service()).
Interface("headers", req.Header()).
Dur("duration", time.Since(now)).
Msg("grpc call")
}()
return fn(ctx, req, rsp)
}
}
}
+11 -11
View File
@@ -9,7 +9,7 @@ import (
func MissingMachineAuthApiKeyError(service string) error {
return fmt.Errorf("The Machineauth API key has not been configured for %s. "+
"Make sure your %s config contains the proper values "+
"(e.g. by running ocis init or setting it manually in "+
"(e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in "+
"the config/corresponding environment variable).",
service, defaults.BaseConfigPath())
}
@@ -17,7 +17,7 @@ func MissingMachineAuthApiKeyError(service string) error {
func MissingSystemUserApiKeyError(service string) error {
return fmt.Errorf("The SystemUser API key has not been configured for %s. "+
"Make sure your %s config contains the proper values "+
"(e.g. by running ocis init or setting it manually in "+
"(e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in "+
"the config/corresponding environment variable).",
service, defaults.BaseConfigPath())
}
@@ -25,7 +25,7 @@ func MissingSystemUserApiKeyError(service string) error {
func MissingJWTTokenError(service string) error {
return fmt.Errorf("The jwt_secret has not been set properly in your config for %s. "+
"Make sure your %s config contains the proper values "+
"(e.g. by running ocis init or setting it manually in "+
"(e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in "+
"the config/corresponding environment variable).",
service, defaults.BaseConfigPath())
}
@@ -33,7 +33,7 @@ func MissingJWTTokenError(service string) error {
func MissingRevaTransferSecretError(service string) error {
return fmt.Errorf("The transfer_secret has not been set properly in your config for %s. "+
"Make sure your %s config contains the proper values "+
"(e.g. by running ocis init or setting it manually in "+
"(e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in "+
"the config/corresponding environment variable).",
service, defaults.BaseConfigPath())
}
@@ -41,7 +41,7 @@ func MissingRevaTransferSecretError(service string) error {
func MissingLDAPBindPassword(service string) error {
return fmt.Errorf("The ldap bind_password has not been set properly in your config for %s. "+
"Make sure your %s config contains the proper values "+
"(e.g. by running ocis init or setting it manually in "+
"(e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in "+
"the config/corresponding environment variable).",
service, defaults.BaseConfigPath())
}
@@ -49,7 +49,7 @@ func MissingLDAPBindPassword(service string) error {
func MissingServiceUserPassword(service, serviceUser string) error {
return fmt.Errorf("The password of service user %s has not been set properly in your config for %s. "+
"Make sure your %s config contains the proper values "+
"(e.g. by running ocis init or setting it manually in "+
"(e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in "+
"the config/corresponding environment variable).",
serviceUser, service, defaults.BaseConfigPath())
}
@@ -57,7 +57,7 @@ func MissingServiceUserPassword(service, serviceUser string) error {
func MissingSystemUserID(service string) error {
return fmt.Errorf("The system user ID has not been configured for %s. "+
"Make sure your %s config contains the proper values "+
"(e.g. by running ocis init or setting it manually in "+
"(e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in "+
"the config/corresponding environment variable).",
service, defaults.BaseConfigPath())
}
@@ -65,7 +65,7 @@ func MissingSystemUserID(service string) error {
func MissingAdminUserID(service string) error {
return fmt.Errorf("The admin user ID has not been configured for %s. "+
"Make sure your %s config contains the proper values "+
"(e.g. by running ocis init or setting it manually in "+
"(e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in "+
"the config/corresponding environment variable).",
service, defaults.BaseConfigPath())
}
@@ -73,7 +73,7 @@ func MissingAdminUserID(service string) error {
func MissingServiceAccountID(service string) error {
return fmt.Errorf("The service account id has not been configured for %s. "+
"Make sure your %s config contains the proper values "+
"(e.g. by running ocis init or setting it manually in "+
"(e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in "+
"the config/corresponding environment variable).",
service, defaults.BaseConfigPath())
}
@@ -81,7 +81,7 @@ func MissingServiceAccountID(service string) error {
func MissingServiceAccountSecret(service string) error {
return fmt.Errorf("The service account secret has not been configured for %s. "+
"Make sure your %s config contains the proper values "+
"(e.g. by running ocis init or setting it manually in "+
"(e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in "+
"the config/corresponding environment variable).",
service, defaults.BaseConfigPath())
}
@@ -89,7 +89,7 @@ func MissingServiceAccountSecret(service string) error {
func MissingWOPISecretError(service string) error {
return fmt.Errorf("The WOPI secret has not been set properly in your config for %s. "+
"Make sure your %s config contains the proper values "+
"(e.g. by running ocis init or setting it manually in "+
"(e.g. by using 'ocis init --diff' and applying the patch or setting a value manually in "+
"the config/corresponding environment variable).",
service, defaults.BaseConfigPath())
}
+1 -1
View File
@@ -16,7 +16,7 @@ var (
// LatestTag is the latest released version plus the dev meta version.
// Will be overwritten by the release pipeline
// Needs a manual change for every tagged release
LatestTag = "7.0.0-rc.2+dev"
LatestTag = "7.0.0-rc.5+dev"
// Date indicates the build date.
// This has been removed, it looks like you can only replace static strings with recent go versions
+8
View File
@@ -59,6 +59,14 @@ Allows specifying the blobstore to use. Defaults to `ocis`. Empty blobs will not
* `--fail`\
Exits with non-zero exit code if inconsistencies are found. Useful for automation.
### Cleanup Orphaned Shares
When a shared space or directory got deleted, use the `shares cleanup` command to remove those share orphans. This can't be done automatically at the moment.
```bash
ocis shares cleanup
```
### Revisions CLI
The revisions command allows removing the revisions of files in the storage.
+2 -1
View File
@@ -24,6 +24,7 @@ import (
"github.com/cs3org/reva/v2/pkg/store"
"github.com/owncloud/ocis/v2/ocis-pkg/config"
"github.com/owncloud/ocis/v2/ocis/pkg/register"
"github.com/rs/zerolog"
"github.com/urfave/cli/v2"
)
@@ -96,7 +97,7 @@ func check(c *cli.Context) error {
return err
}
tree := tree.New(lu, bs, o, store.Create())
tree := tree.New(lu, bs, o, store.Create(), &zerolog.Logger{})
nId := c.String("node")
n, err := lu.NodeFromSpaceID(context.Background(), nId)
+1 -1
View File
@@ -519,7 +519,7 @@ func revaShareConfig(cfg *sharing.Config) map[string]interface{} {
"machine_auth_apikey": cfg.UserSharingDrivers.CS3.SystemUserAPIKey,
},
"jsoncs3": map[string]interface{}{
"gateway_addr": cfg.UserSharingDrivers.JSONCS3.ProviderAddr,
"gateway_addr": cfg.Reva.Address,
"provider_addr": cfg.UserSharingDrivers.JSONCS3.ProviderAddr,
"service_user_id": cfg.UserSharingDrivers.JSONCS3.SystemUserID,
"service_user_idp": cfg.UserSharingDrivers.JSONCS3.SystemUserIDP,
+128
View File
@@ -0,0 +1,128 @@
package command
import (
"errors"
"github.com/rs/zerolog"
"github.com/urfave/cli/v2"
"github.com/cs3org/reva/v2/pkg/rgrpc/todo/pool"
"github.com/cs3org/reva/v2/pkg/share/manager/jsoncs3"
"github.com/cs3org/reva/v2/pkg/share/manager/registry"
"github.com/cs3org/reva/v2/pkg/utils"
"github.com/owncloud/ocis/v2/ocis-pkg/config"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
"github.com/owncloud/ocis/v2/ocis-pkg/config/parser"
mregistry "github.com/owncloud/ocis/v2/ocis-pkg/registry"
"github.com/owncloud/ocis/v2/ocis/pkg/register"
sharingparser "github.com/owncloud/ocis/v2/services/sharing/pkg/config/parser"
)
// SharesCommand is the entrypoint for the groups command.
func SharesCommand(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "shares",
Usage: `cli tools to manage entries in the share manager.`,
Category: "maintenance",
Before: func(c *cli.Context) error {
// Parse base config
if err := parser.ParseConfig(cfg, true); err != nil {
return configlog.ReturnError(err)
}
// Parse sharing config
cfg.Sharing.Commons = cfg.Commons
return configlog.ReturnError(sharingparser.ParseConfig(cfg.Sharing))
},
Subcommands: []*cli.Command{
cleanupCmd(cfg),
},
}
}
func init() {
register.AddCommand(SharesCommand)
}
func cleanupCmd(cfg *config.Config) *cli.Command {
return &cli.Command{
Name: "cleanup",
Usage: `clean up stale entries in the share manager.`,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "service-account-id",
Value: "",
Usage: "Name of the service account to use for the cleanup",
EnvVars: []string{"OCIS_SERVICE_ACCOUNT_ID"},
Required: true,
},
&cli.StringFlag{
Name: "service-account-secret",
Value: "",
Usage: "Secret for the service account",
EnvVars: []string{"OCIS_SERVICE_ACCOUNT_SECRET"},
Required: true,
},
},
Before: func(c *cli.Context) error {
// Parse base config
if err := parser.ParseConfig(cfg, true); err != nil {
return configlog.ReturnError(err)
}
// Parse sharing config
cfg.Sharing.Commons = cfg.Commons
return configlog.ReturnError(sharingparser.ParseConfig(cfg.Sharing))
},
Action: func(c *cli.Context) error {
return cleanup(c, cfg)
},
}
}
func cleanup(c *cli.Context, cfg *config.Config) error {
driver := cfg.Sharing.UserSharingDriver
// cleanup is only implemented for the jsoncs3 share manager
if driver != "jsoncs3" {
return configlog.ReturnError(errors.New("cleanup is only implemented for the jsoncs3 share manager"))
}
rcfg := revaShareConfig(cfg.Sharing)
f, ok := registry.NewFuncs[driver]
if !ok {
return configlog.ReturnError(errors.New("Unknown share manager type '" + driver + "'"))
}
mgr, err := f(rcfg[driver].(map[string]interface{}))
if err != nil {
return configlog.ReturnError(err)
}
// Initialize registry to make service lookup work
_ = mregistry.GetRegistry()
// get an authenticated context
gatewaySelector, err := pool.GatewaySelector(cfg.Sharing.Reva.Address)
if err != nil {
return configlog.ReturnError(err)
}
client, err := gatewaySelector.Next()
if err != nil {
return configlog.ReturnError(err)
}
serviceUserCtx, err := utils.GetServiceUserContext(c.String("service-account-id"), client, c.String("service-account-secret"))
if err != nil {
return configlog.ReturnError(err)
}
l := logger()
zerolog.SetGlobalLevel(zerolog.InfoLevel)
serviceUserCtx = l.WithContext(serviceUserCtx)
mgr.(*jsoncs3.Manager).CleanupStaleShares(serviceUserCtx)
return nil
}
+4
View File
@@ -86,6 +86,10 @@ func writePatch(configPath string, yamlOutput []byte) error {
cmd := exec.Command("diff", "-u", path.Join(configPath, configFilename), tmpFile)
stdout, err := cmd.Output()
if err == nil {
err = os.Remove(tmpFile)
if err != nil {
return err
}
fmt.Println("no changes, your config is up to date")
return nil
}
+6
View File
@@ -83,6 +83,12 @@ func CreateConfig(insecure, forceOverwrite, diff bool, configPath, adminPassword
revaServicePassword = oldCfg.Idm.ServiceUserPasswords.RevaPassword
tokenManagerJwtSecret = oldCfg.TokenManager.JWTSecret
collaborationWOPISecret = oldCfg.Collaboration.WopiApp.Secret
if collaborationWOPISecret == "" {
collaborationWOPISecret, err = generators.GenerateRandomPassword(passwordLength)
if err != nil {
return fmt.Errorf("could not generate random wopi secret for collaboration service: %s", err)
}
}
machineAuthAPIKey = oldCfg.MachineAuthAPIKey
systemUserAPIKey = oldCfg.SystemUserAPIKey
revaTransferSecret = oldCfg.TransferSecret
+1 -1
View File
@@ -204,7 +204,7 @@ func (s *ActivitylogService) HandleGetItemActivities(w http.ResponseWriter, r *h
WithVar("resource", storagespace.FormatResourceID(ev.ItemID), ev.ResourceName),
WithUser(ev.Executant, nil, nil),
WithTranslation(&t, loc, "field", []string{ev.FieldUpdated}),
WithVar("token", ev.ItemID.GetOpaqueId(), ev.Token))
WithVar("token", ev.ItemID.GetOpaqueId(), ev.DisplayName))
case events.LinkRemoved:
message = MessageLinkDeleted
ts = utils.TSToTime(ev.Timestamp)
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-11-10 00:05+0000\n"
"POT-Creation-Date: 2024-11-30 00:18+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Martin <github@diemattels.at>, 2024\n"
"Language-Team: German (https://app.transifex.com/owncloud-org/teams/6149/de/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-10-28 00:04+0000\n"
"POT-Creation-Date: 2024-12-08 00:19+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Andi Chandler <andi@gowling.com>, 2024\n"
"Language-Team: English (United Kingdom) (https://app.transifex.com/owncloud-org/teams/6149/en_GB/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-11-06 00:05+0000\n"
"POT-Creation-Date: 2024-12-16 00:19+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Jesús Recio <jrecio@solidgear.es>, 2024\n"
"Language-Team: Spanish (https://app.transifex.com/owncloud-org/teams/6149/es/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-10-31 05:08+0000\n"
"POT-Creation-Date: 2024-12-12 00:51+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: hoshi1800 <hoshi1800@gmail.com>, 2024\n"
"Language-Team: Japanese (Japan) (https://app.transifex.com/owncloud-org/teams/6149/ja_JP/)\n"
@@ -12,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-11-03 00:06+0000\n"
"POT-Creation-Date: 2024-12-14 00:17+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Flávio Veras <flaviove@gmail.com>, 2024\n"
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/owncloud-org/teams/6149/pt_BR/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-11-07 00:42+0000\n"
"POT-Creation-Date: 2024-11-28 00:19+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Viktor Scharf, 2024\n"
"Language-Team: Russian (https://app.transifex.com/owncloud-org/teams/6149/ru/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-11-09 00:04+0000\n"
"POT-Creation-Date: 2024-11-29 00:18+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Besnik Bleta <besnik@programeshqip.org>, 2024\n"
"Language-Team: Albanian (https://app.transifex.com/owncloud-org/teams/6149/sq/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-11-04 00:04+0000\n"
"POT-Creation-Date: 2024-12-15 00:43+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Keram, 2024\n"
"Language-Team: Uyghur (https://app.transifex.com/owncloud-org/teams/6149/ug/)\n"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-11-02 00:43+0000\n"
"POT-Creation-Date: 2024-12-14 00:17+0000\n"
"PO-Revision-Date: 2024-08-20 10:13+0000\n"
"Last-Translator: Roman Perekhod, 2024\n"
"Language-Team: Ukrainian (https://app.transifex.com/owncloud-org/teams/6149/uk/)\n"
+1 -1
View File
@@ -331,7 +331,7 @@ func getFolderName(ctx context.Context, gwc gateway.GatewayAPIClient, ref *provi
func mapField(val string) string {
switch val {
case "TYPE_PERMISSIONS", "permission":
case "TYPE_PERMISSIONS", "permission", "permissions":
return StrPermission
case "TYPE_PASSWORD", "password":
return StrPassword
+13
View File
@@ -2,6 +2,19 @@
The `antivirus` service is responsible for scanning files for viruses.
## Memory Considerations
The antivirus service can consume considerably amounts of memory. This is relevant to provide or define sufficient memory for the deployment selected. To avoid out of memory (OOM) situations, the following equation gives a rough overview based on experiences made. The memory calculation comes without any guarantee, is intended as overview only and subject of change.
`memory limit` = `max file size` x `workers` x `factor 8 - 14`
With:
`ANTIVIRUS_WORKERS` == 1
```plaintext
50MB file --> factor 14 --> 700MB memory
844MB file --> factor 8,3 --> 7GB memory
```
## Configuration
### Antivirus Scanner Type
+79 -3
View File
@@ -35,9 +35,85 @@ Once generated, these tokens can be used to authenticate requests to ocis. They
### Via API
The `auth-app` service provides an API to create (POST), list (GET) and delete (DELETE) tokens at `/auth-app/tokens`.
The `auth-app` service provides an API to create (POST), list (GET) and delete (DELETE) tokens at the `/auth-app/tokens` endpoint.
When using curl for the respective command, you need to authenticate with a header. To do so, get from the browsers developer console the currently active bearer token. Consider that this token has a short lifetime. In any example, replace `<your host[:port]>` with the URL:port of your Infinite Scale instance, and `{token}` `{value}` accordingly. Note that the active bearer token authenticates the user the token was issued for.
* **Create a token**\
The POST request requires:
* A `expiry` key/value pair in the form of `expiry=<number><h|m|s>`\
Example: `expiry=72h`
* An active bearer token
```bash
curl --request POST 'https://<your host:9200>/auth-app/tokens?expiry={value}' \
--header 'accept: application/json' \
--header 'authorization: Bearer {token}'
```
Example output:
```
{
"token": "3s2K7816M4vuSpd5",
"expiration_date": "2024-08-08T13:42:42.796888022+02:00",
"created_date": "2024-08-07T13:42:42+02:00",
"label": "Generated via API"
}
```
* **List tokens**\
The GET request only requires an active bearer token for authentication:\
Note that `--request GET` is technically not required because it is curl default.
```bash
curl --request GET 'https://<your host:9200>/auth-app/tokens' \
--header 'accept: application/json' \
--header 'authorization: Bearer {token}'
```
Example output:
```
[
{
"token": "$2a$11$EyudDGAJ18bBf5NG6PL9Ru9gygZAu0oPyLawdieNjGozcbXyyuUhG",
"expiration_date": "2024-08-08T13:44:31.025199075+02:00",
"created_date": "2024-08-07T13:44:31+02:00",
"label": "Generated via Impersonation API"
},
{
"token": "$2a$11$dfRBQrxRMPg8fvyvkFwaX.IPoIUiokvhzK.YNI/pCafk0us3MyPzy",
"expiration_date": "2024-08-08T13:46:41.936052281+02:00",
"created_date": "2024-08-07T13:46:42+02:00",
"label": "Generated via Impersonation API"
}
]
```
* **Delete a token**\
The DELETE request requires:
* A `token` key/value pair in the form of `token=<token_issued>`\
Example: `token=Z3s2K7816M4vuSpd5`
* An active bearer token
```bash
curl --request DELETE 'https://<your host:9200>/auth-app/tokens?token={value}' \
--header 'accept: application/json' \
--header 'authorization: Bearer {token}'
```
### Via Impersonation API
When setting the environment variable `AUTH_APP_ENABLE_IMPERSONATION` to `true`, admins will be able to use the `/auth-app/tokens` endpoint to create tokens for other users. This is crucial for migration scenarios,
but should not be used on a productive system.
When setting the environment variable `AUTH_APP_ENABLE_IMPERSONATION` to `true`, admins will be able to use the `/auth-app/tokens` endpoint to create tokens for other users but using their own bearer token for authentication. This can be important for migration scenarios, but should not be considered for regular tasks on a production system for security reasons.
To impersonate, the respective requests from the CLI commands above extend with the following parameters, where you can use one or the other:
* The `userID` in the form of: `userID={value}`\
Example:\
`userID=4c510ada- ... -42cdf82c3d51`
* The `userName` in the form of: `userName={value}`\
Example:\
`userName=einstein`
Example:\
A final create request would then look like:
```bash
curl --request POST 'https://<your host:9200>/auth-app/tokens?expiry={value}&userName={value}' \
--header 'accept: application/json' \
--header 'authorization: Bearer {token}'
```
+18 -5
View File
@@ -4,6 +4,7 @@ import (
"context"
"encoding/json"
"errors"
"fmt"
"net/http"
"time"
@@ -25,6 +26,8 @@ import (
"google.golang.org/grpc/metadata"
)
var ErrBadRequest = errors.New("bad request")
// AuthAppToken represents an app token.
type AuthAppToken struct {
Token string `json:"token"`
@@ -97,8 +100,10 @@ func (a *AuthAppService) HandleCreate(w http.ResponseWriter, r *http.Request) {
}
label := "Generated via API"
cid := buildClientID(q.Get("userID"), q.Get("userName"))
if cid != "" {
// Impersonated request
userID, userName := q.Get("userID"), q.Get("userName")
if userID != "" || userName != "" {
if !a.cfg.AllowImpersonation {
sublog.Error().Msg("impersonation is not allowed")
http.Error(w, "impersonation is not allowed", http.StatusForbidden)
@@ -115,9 +120,13 @@ func (a *AuthAppService) HandleCreate(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusForbidden)
return
}
ctx, err = a.authenticateUser(cid, gwc)
ctx, err = a.authenticateUser(userID, userName, gwc)
if err != nil {
sublog.Error().Err(err).Msg("error authenticating user")
if errors.Is(err, ErrBadRequest) {
http.Error(w, err.Error(), http.StatusBadRequest)
return
}
w.WriteHeader(http.StatusInternalServerError)
return
}
@@ -241,11 +250,11 @@ func (a *AuthAppService) HandleDelete(w http.ResponseWriter, r *http.Request) {
w.WriteHeader(http.StatusOK)
}
func (a *AuthAppService) authenticateUser(clientID string, gwc gateway.GatewayAPIClient) (context.Context, error) {
func (a *AuthAppService) authenticateUser(userID, userName string, gwc gateway.GatewayAPIClient) (context.Context, error) {
ctx := context.Background()
authRes, err := gwc.Authenticate(ctx, &gateway.AuthenticateRequest{
Type: "machine",
ClientId: clientID,
ClientId: buildClientID(userID, userName),
ClientSecret: a.cfg.MachineAuthAPIKey,
})
if err != nil {
@@ -256,6 +265,10 @@ func (a *AuthAppService) authenticateUser(clientID string, gwc gateway.GatewayAP
return nil, errors.New("error authenticating user: " + authRes.GetStatus().GetMessage())
}
if (userID != "" && authRes.GetUser().GetId().GetOpaqueId() != userID) || (userName != "" && authRes.GetUser().GetUsername() != userName) {
return nil, fmt.Errorf("requested user does not match authenticated user: userID:%s, userName:%s, %w", authRes.GetUser().GetId().GetOpaqueId(), authRes.GetUser().GetUsername(), ErrBadRequest)
}
ctx = ctxpkg.ContextSetUser(ctx, &userpb.User{Id: authRes.GetUser().GetId()})
return metadata.AppendToOutgoingContext(ctx, ctxpkg.TokenHeader, authRes.GetToken()), nil
}
+5 -2
View File
@@ -27,8 +27,11 @@ If any of the named services above have not been started or are not reachable, t
There are a few variables that you need to set:
* `COLLABORATION_APP_NAME`:\
The name of the connected WebOffice app, which can be one of the following:\
`Collabora`, `OnlyOffice`, `Microsoft365` or `MicrosoftOfficeOnline`.
The name of the app which is shown to the user. You can chose freely but you are limited to a single word without special characters or whitespaces. We recommend to use pascalCase like 'CollaboraOnline'.
* `COLLABORATION_APP_PRODUCT`:\
The product name of the connected WebOffice app, which can be one of the following:\
`Collabora`, `OnlyOffice`, `Microsoft365` or `MicrosoftOfficeOnline`. This is used to internally control the behavior according to the different features of the used products.
* `COLLABORATION_APP_ADDR`:\
The URL of the collaborative editing app (onlyoffice, collabora, etc).\
@@ -6,6 +6,7 @@ import (
"encoding/base64"
"encoding/binary"
"encoding/hex"
"fmt"
"io"
"net/url"
"path"
@@ -13,15 +14,18 @@ import (
"time"
appproviderv1beta1 "github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1"
auth "github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1"
gatewayv1beta1 "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"
userv1beta1 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
rpcv1beta1 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
link "github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1"
providerv1beta1 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
typesv1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
ctxpkg "github.com/cs3org/reva/v2/pkg/ctx"
"github.com/cs3org/reva/v2/pkg/rgrpc/todo/pool"
"github.com/cs3org/reva/v2/pkg/storagespace"
"github.com/cs3org/reva/v2/pkg/utils"
"github.com/golang/protobuf/proto"
"github.com/google/uuid"
"github.com/owncloud/ocis/v2/services/collaboration/pkg/config"
"github.com/owncloud/ocis/v2/services/collaboration/pkg/connector/fileinfo"
@@ -1206,7 +1210,7 @@ func (f *FileConnector) CheckFileInfo(ctx context.Context) (*ConnectorResponse,
}
}
breadcrumbFolderName := path.Dir(statRes.Info.Path)
breadcrumbFolderName := path.Dir(statRes.GetInfo().GetPath())
if breadcrumbFolderName == "." || breadcrumbFolderName == "" || breadcrumbFolderName == "/" {
breadcrumbFolderName = statRes.GetInfo().GetSpace().GetName()
}
@@ -1222,6 +1226,22 @@ func (f *FileConnector) CheckFileInfo(ctx context.Context) (*ConnectorResponse,
privateLinkURL := &url.URL{}
*privateLinkURL = *ocisURL
privateLinkURL.Path = path.Join(ocisURL.Path, "f", storagespace.FormatResourceID(statRes.GetInfo().GetId()))
parentFolderURL := &url.URL{}
*parentFolderURL = *ocisURL
if !isPublicShare {
parentFolderURL.Path = path.Join(ocisURL.Path, "f", storagespace.FormatResourceID(statRes.GetInfo().GetParentId()))
} else {
if scopes, ok := ctxpkg.ContextGetScopes(ctx); ok {
publicShare := &link.PublicShare{}
if err := f.getScopeByKeyPrefix(scopes, "publicshare:", publicShare); err == nil {
parentFolderURL.Path = path.Join(ocisURL.Path, "s", publicShare.GetToken())
} else {
logger.Error().Err(err).Msg("CheckFileInfo: error getting public share scope")
}
} else {
logger.Error().Err(err).Msg("CheckFileInfo: error getting scopes from the context")
}
}
// fileinfo map
infoMap := map[string]interface{}{
fileinfo.KeyOwnerID: hexEncodedOwnerId,
@@ -1231,7 +1251,7 @@ func (f *FileConnector) CheckFileInfo(ctx context.Context) (*ConnectorResponse,
fileinfo.KeyBreadcrumbDocName: path.Base(statRes.GetInfo().GetPath()),
// to get the folder we actually need to do a GetPath() request
fileinfo.KeyBreadcrumbFolderName: breadcrumbFolderName,
fileinfo.KeyBreadcrumbFolderURL: privateLinkURL.String(),
fileinfo.KeyBreadcrumbFolderURL: parentFolderURL.String(),
fileinfo.KeyHostViewURL: createHostUrl("view", ocisURL, f.cfg.App.Name, statRes.GetInfo()),
fileinfo.KeyHostEditURL: createHostUrl("write", ocisURL, f.cfg.App.Name, statRes.GetInfo()),
@@ -1466,3 +1486,17 @@ func (f *FileConnector) adjustWopiReference(ctx context.Context, wopiContext *mi
return newStatRes.GetInfo(), nil
}
// getScopeByKeyPrefix returns the scope from the AccessToken Scope map by key prefix
func (f *FileConnector) getScopeByKeyPrefix(scopes map[string]*auth.Scope, keyPrefix string, m proto.Message) error {
for k, v := range scopes {
if strings.HasPrefix(k, keyPrefix) && v.Resource.Decoder == "json" {
err := utils.UnmarshalJSONToProtoV1(v.Resource.Value, m)
if err != nil {
return fmt.Errorf("can't unmarshal public share from scope: %w", err)
}
return nil
}
}
return fmt.Errorf("scope %s not found", keyPrefix)
}
@@ -10,12 +10,15 @@ import (
"strings"
appproviderv1beta1 "github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1"
auth "github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1"
gateway "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"
userv1beta1 "github.com/cs3org/go-cs3apis/cs3/identity/user/v1beta1"
link "github.com/cs3org/go-cs3apis/cs3/sharing/link/v1beta1"
providerv1beta1 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
typesv1beta1 "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
ctxpkg "github.com/cs3org/reva/v2/pkg/ctx"
"github.com/cs3org/reva/v2/pkg/rgrpc/status"
"github.com/cs3org/reva/v2/pkg/utils"
cs3mocks "github.com/cs3org/reva/v2/tests/cs3mocks/mocks"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
@@ -1686,6 +1689,11 @@ var _ = Describe("FileConnector", func() {
OpaqueId: "opaqueid",
SpaceId: "spaceid",
},
ParentId: &providerv1beta1.ResourceId{
StorageId: "storageid",
OpaqueId: "parentopaqueid",
SpaceId: "spaceid",
},
},
}, nil)
@@ -1696,7 +1704,7 @@ var _ = Describe("FileConnector", func() {
BaseFileName: "test.txt",
BreadcrumbDocName: "test.txt",
BreadcrumbFolderName: "/path/to",
BreadcrumbFolderURL: "https://ocis.example.prv/f/storageid$spaceid%21opaqueid",
BreadcrumbFolderURL: "https://ocis.example.prv/f/storageid$spaceid%21parentopaqueid",
UserCanNotWriteRelative: false,
SupportsExtendedLockLength: true,
SupportsGetLock: true,
@@ -1755,6 +1763,11 @@ var _ = Describe("FileConnector", func() {
OpaqueId: "opaqueid",
SpaceId: "spaceid",
},
ParentId: &providerv1beta1.ResourceId{
StorageId: "storageid",
OpaqueId: "parentopaqueid",
SpaceId: "spaceid",
},
// Other properties aren't used for now.
},
}, nil)
@@ -1796,6 +1809,109 @@ var _ = Describe("FileConnector", func() {
Expect(response.Body.(*fileinfo.Collabora)).To(Equal(expectedFileInfo))
})
It("Stat success guests", func() {
ResourceId := &providerv1beta1.ResourceId{
StorageId: "storageid",
OpaqueId: "opaqueid",
SpaceId: "spaceid",
}
// add user's opaque to include public-share-role
u := &userv1beta1.User{}
u.Opaque = &typesv1beta1.Opaque{
Map: map[string]*typesv1beta1.OpaqueEntry{
"public-share-role": {
Decoder: "plain",
Value: []byte("viewer"),
},
},
}
// Create a new "scope share" to only expose the required fields `ResourceId` and `Token` to the scope.
scopeShare := &link.PublicShare{ResourceId: ResourceId, Token: "ABC123"}
val, err := utils.MarshalProtoV1ToJSON(scopeShare)
Expect(err).ToNot(HaveOccurred())
scopes := map[string]*auth.Scope{
"publicshare:ABC123": {
Resource: &typesv1beta1.OpaqueEntry{
Decoder: "json",
Value: val,
},
Role: auth.Role(appproviderv1beta1.ViewMode_VIEW_MODE_VIEW_ONLY), //
},
}
// change view mode to view only
wopiCtx.ViewMode = appproviderv1beta1.ViewMode_VIEW_MODE_VIEW_ONLY
ctx := middleware.WopiContextToCtx(context.Background(), wopiCtx)
ctx = ctxpkg.ContextSetUser(ctx, u)
ctx = ctxpkg.ContextSetScopes(ctx, scopes)
gatewayClient.On("Stat", mock.Anything, mock.Anything).Times(1).Return(&providerv1beta1.StatResponse{
Status: status.NewOK(ctx),
Info: &providerv1beta1.ResourceInfo{
Owner: &userv1beta1.UserId{
Idp: "customIdp",
OpaqueId: "aabbcc",
Type: userv1beta1.UserType_USER_TYPE_PRIMARY,
},
Size: uint64(998877),
Mtime: &typesv1beta1.Timestamp{
Seconds: uint64(16273849),
},
Path: "/path/to/test.txt",
Id: ResourceId,
ParentId: &providerv1beta1.ResourceId{
StorageId: "storageid",
OpaqueId: "parentopaqueid",
SpaceId: "spaceid",
},
// Other properties aren't used for now.
},
}, nil)
// change wopi app provider
cfg.App.Name = "OnlyOffice"
cfg.App.Product = "OnlyOffice"
expectedFileInfo := &fileinfo.OnlyOffice{
Version: "v162738490",
BaseFileName: "test.txt",
BreadcrumbDocName: "test.txt",
BreadcrumbFolderName: "/path/to",
BreadcrumbFolderURL: "https://ocis.example.prv/s/ABC123",
DisablePrint: true,
UserCanNotWriteRelative: false,
SupportsLocks: true,
SupportsUpdate: true,
SupportsRename: true,
IsAnonymousUser: true,
UserCanRename: false,
UserCanReview: false,
UserCanWrite: false,
EnableInsertRemoteImage: false,
UserID: "guest-zzz000",
UserFriendlyName: "guest zzz000",
FileSharingURL: "https://ocis.example.prv/f/storageid$spaceid%21opaqueid?details=sharing",
FileVersionURL: "https://ocis.example.prv/f/storageid$spaceid%21opaqueid?details=versions",
HostEditURL: "https://ocis.example.prv/external-onlyoffice/path/to/test.txt?fileId=storageid%24spaceid%21opaqueid&view_mode=write",
PostMessageOrigin: "https://ocis.example.prv",
}
response, err := fc.CheckFileInfo(ctx)
// UserID and UserFriendlyName have random Ids generated which are impossible to guess
// Check both separately
Expect(response.Body.(*fileinfo.OnlyOffice).UserID).To(HavePrefix(hex.EncodeToString([]byte("guest-"))))
Expect(response.Body.(*fileinfo.OnlyOffice).UserFriendlyName).To(HavePrefix("Guest "))
// overwrite UserID and UserFriendlyName here for easier matching
response.Body.(*fileinfo.OnlyOffice).UserID = "guest-zzz000"
response.Body.(*fileinfo.OnlyOffice).UserFriendlyName = "guest zzz000"
Expect(err).ToNot(HaveOccurred())
Expect(response.Status).To(Equal(200))
Expect(response.Body.(*fileinfo.OnlyOffice)).To(Equal(expectedFileInfo))
})
It("Stat success authenticated user", func() {
// change view mode to view only
wopiCtx.ViewMode = appproviderv1beta1.ViewMode_VIEW_MODE_VIEW_ONLY
@@ -1830,6 +1946,11 @@ var _ = Describe("FileConnector", func() {
OpaqueId: "opaqueid",
SpaceId: "spaceid",
},
ParentId: &providerv1beta1.ResourceId{
StorageId: "storageid",
OpaqueId: "parentopaqueid",
SpaceId: "spaceid",
},
},
}, nil)
@@ -1898,6 +2019,11 @@ var _ = Describe("FileConnector", func() {
OpaqueId: "opaqueid",
SpaceId: "spaceid",
},
ParentId: &providerv1beta1.ResourceId{
StorageId: "storageid",
OpaqueId: "parentopaqueid",
SpaceId: "spaceid",
},
},
}, nil)
@@ -1906,7 +2032,7 @@ var _ = Describe("FileConnector", func() {
BaseFileName: "test.txt",
BreadcrumbDocName: "test.txt",
BreadcrumbFolderName: "/path/to",
BreadcrumbFolderURL: "https://ocis.example.prv/f/storageid$spaceid%21opaqueid",
BreadcrumbFolderURL: "https://ocis.example.prv/f/storageid$spaceid%21parentopaqueid",
UserCanNotWriteRelative: false,
SupportsLocks: true,
SupportsUpdate: true,
@@ -120,18 +120,20 @@ func WopiContextAuthMiddleware(cfg *config.Config, st microstore.Store, next htt
http.Error(w, http.StatusText(http.StatusUnauthorized), http.StatusUnauthorized)
return
}
user, _, err := tokenManager.DismantleToken(ctx, wopiContextAccessToken)
user, scopes, err := tokenManager.DismantleToken(ctx, wopiContextAccessToken)
if err != nil {
wopiLogger.Error().Err(err).Msg("failed to dismantle reva token manager")
http.Error(w, http.StatusText(http.StatusUnauthorized), http.StatusUnauthorized)
return
}
claims.WopiContext.AccessToken = wopiContextAccessToken
ctx = context.WithValue(ctx, wopiContextKey, claims.WopiContext)
// authentication for the CS3 api
ctx = metadata.AppendToOutgoingContext(ctx, ctxpkg.TokenHeader, claims.WopiContext.AccessToken)
ctx = ctxpkg.ContextSetUser(ctx, user)
ctx = ctxpkg.ContextSetScopes(ctx, scopes)
// include additional info in the context's logger
wopiLogger = wopiLogger.With().
@@ -104,6 +104,7 @@ func (vh *VerifyHandler) Verify(accessToken, url, timestamp, sig64, oldSig64 str
return err
}
pubkeys = newpubkeys
vh.cachedKeys = newpubkeys
}
// build and hash the expected proof
@@ -195,6 +196,8 @@ func (vh *VerifyHandler) generateProof(accessToken, url, timestamp string) []byt
// The PubKeys returned might be either nil (with the non-nil error), or might
// contain only a PubKeys.Key field (the PubKeys.OldKey might be nil)
func (vh *VerifyHandler) fetchPublicKeys(logger *zerolog.Logger) (*PubKeys, error) {
logger.Debug().Str("WopiAppUrl", vh.discoveryURL).Msg("WopiDiscovery: requesting new public keys")
httpClient := http.Client{
Transport: &http.Transport{
TLSClientConfig: &tls.Config{
@@ -220,7 +223,7 @@ func (vh *VerifyHandler) fetchPublicKeys(logger *zerolog.Logger) (*PubKeys, erro
Str("WopiAppUrl", vh.discoveryURL).
Int("HttpCode", httpResp.StatusCode).
Msg("WopiDiscovery: wopi app url failed with unexpected code")
return nil, err
return nil, errors.New("wopi app url failed with unexpected code")
}
doc := etree.NewDocument()
@@ -2,9 +2,11 @@ package service
import (
gatewayv1beta1 "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"
"github.com/cs3org/reva/v2/pkg/rgrpc/todo/pool"
microstore "go-micro.dev/v4/store"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/services/collaboration/pkg/config"
microstore "go-micro.dev/v4/store"
)
// Option defines a single option function.
@@ -12,11 +14,11 @@ type Option func(o *Options)
// Options defines the available options for this package.
type Options struct {
Logger log.Logger
Config *config.Config
AppURLs map[string]map[string]string
Gwc gatewayv1beta1.GatewayAPIClient
Store microstore.Store
Logger log.Logger
Config *config.Config
AppURLs map[string]map[string]string
GatewaySelector pool.Selectable[gatewayv1beta1.GatewayAPIClient]
Store microstore.Store
}
// newOptions initializes the available default options.
@@ -51,10 +53,10 @@ func AppURLs(val map[string]map[string]string) Option {
}
}
// GatewayAPIClient provides a function to set the GatewayAPIClient option.
func GatewayAPIClient(val gatewayv1beta1.GatewayAPIClient) Option {
// GatewaySelector provides a function to set the GatewaySelector option.
func GatewaySelector(val pool.Selectable[gatewayv1beta1.GatewayAPIClient]) Option {
return func(o *Options) {
o.Gwc = val
o.GatewaySelector = val
}
}
@@ -16,13 +16,13 @@ import (
"github.com/cs3org/reva/v2/pkg/rgrpc/todo/pool"
"github.com/cs3org/reva/v2/pkg/storagespace"
"github.com/cs3org/reva/v2/pkg/utils"
"github.com/owncloud/ocis/v2/services/collaboration/pkg/wopisrc"
microstore "go-micro.dev/v4/store"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/services/collaboration/pkg/config"
"github.com/owncloud/ocis/v2/services/collaboration/pkg/helpers"
"github.com/owncloud/ocis/v2/services/collaboration/pkg/middleware"
microstore "go-micro.dev/v4/store"
"github.com/owncloud/ocis/v2/services/collaboration/pkg/wopisrc"
)
// NewHandler creates a new grpc service implementing the OpenInApp interface
@@ -33,33 +33,33 @@ func NewHandler(opts ...Option) (*Service, func(), error) {
}
options := newOptions(opts...)
gwc := options.Gwc
gatewaySelector := options.GatewaySelector
var err error
if gwc == nil {
gwc, err = pool.GetGatewayServiceClient(options.Config.CS3Api.Gateway.Name)
if gatewaySelector == nil {
gatewaySelector, err = pool.GatewaySelector(options.Config.CS3Api.Gateway.Name)
if err != nil {
return nil, teardown, err
}
}
return &Service{
id: options.Config.GRPC.Namespace + "." + options.Config.Service.Name + "." + options.Config.App.Name,
appURLs: options.AppURLs,
logger: options.Logger,
config: options.Config,
gwc: gwc,
store: options.Store,
id: options.Config.GRPC.Namespace + "." + options.Config.Service.Name + "." + options.Config.App.Name,
appURLs: options.AppURLs,
logger: options.Logger,
config: options.Config,
gatewaySelector: gatewaySelector,
store: options.Store,
}, teardown, nil
}
// Service implements the OpenInApp interface
type Service struct {
id string
appURLs map[string]map[string]string
logger log.Logger
config *config.Config
gwc gatewayv1beta1.GatewayAPIClient
store microstore.Store
id string
appURLs map[string]map[string]string
logger log.Logger
config *config.Config
gatewaySelector pool.Selectable[gatewayv1beta1.GatewayAPIClient]
store microstore.Store
}
// OpenInApp will implement the OpenInApp interface of the app provider
@@ -73,7 +73,13 @@ func (s *Service) OpenInApp(
meReq := &gatewayv1beta1.WhoAmIRequest{
Token: req.GetAccessToken(),
}
meResp, err := s.gwc.WhoAmI(ctx, meReq)
gwc, err := s.gatewaySelector.Next()
if err != nil {
s.logger.Error().Err(err).Msg("OpenInApp: could not select a gateway client")
return nil, err
}
meResp, err := gwc.WhoAmI(ctx, meReq)
if err == nil {
if meResp.GetStatus().GetCode() == rpcv1beta1.Code_CODE_OK {
user = meResp.GetUser()
@@ -5,12 +5,6 @@ import (
"strconv"
"time"
"github.com/cs3org/reva/v2/pkg/utils"
"github.com/golang-jwt/jwt/v5"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/stretchr/testify/mock"
appproviderv1beta1 "github.com/cs3org/go-cs3apis/cs3/app/provider/v1beta1"
authpb "github.com/cs3org/go-cs3apis/cs3/auth/provider/v1beta1"
gatewayv1beta1 "github.com/cs3org/go-cs3apis/cs3/gateway/v1beta1"
@@ -18,10 +12,16 @@ import (
rpcv1beta1 "github.com/cs3org/go-cs3apis/cs3/rpc/v1beta1"
providerv1beta1 "github.com/cs3org/go-cs3apis/cs3/storage/provider/v1beta1"
types "github.com/cs3org/go-cs3apis/cs3/types/v1beta1"
"github.com/cs3org/reva/v2/pkg/rgrpc/status"
"github.com/cs3org/reva/v2/pkg/utils"
cs3mocks "github.com/cs3org/reva/v2/tests/cs3mocks/mocks"
"github.com/golang-jwt/jwt/v5"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/stretchr/testify/mock"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
"github.com/owncloud/ocis/v2/services/collaboration/mocks"
"github.com/owncloud/ocis/v2/services/collaboration/pkg/config"
service "github.com/owncloud/ocis/v2/services/collaboration/pkg/service/grpc/v0"
)
@@ -77,23 +77,26 @@ var _ = Describe("Discovery", func() {
cfg = &config.Config{}
gatewayClient = &cs3mocks.GatewayAPIClient{}
gatewaySelector := mocks.NewSelectable[gatewayv1beta1.GatewayAPIClient](GinkgoT())
gatewaySelector.On("Next").Return(gatewayClient, nil)
srv, srvTear, _ = service.NewHandler(
service.Logger(log.NopLogger()),
service.Config(cfg),
service.AppURLs(map[string]map[string]string{
"view": map[string]string{
"view": {
".pdf": "https://test.server.prv/hosting/wopi/word/view",
".djvu": "https://test.server.prv/hosting/wopi/word/view",
".docx": "https://test.server.prv/hosting/wopi/word/view",
".xls": "https://test.server.prv/hosting/wopi/cell/view",
".xlsb": "https://test.server.prv/hosting/wopi/cell/view",
},
"edit": map[string]string{
"edit": {
".docx": "https://test.server.prv/hosting/wopi/word/edit",
".invalid": "://test.server.prv/hosting/wopi/cell/edit",
},
}),
service.GatewayAPIClient(gatewayClient),
service.GatewaySelector(gatewaySelector),
)
})
@@ -5,7 +5,7 @@ import (
"net/url"
"path"
"github.com/golang-jwt/jwt/v4"
"github.com/golang-jwt/jwt/v5"
"github.com/owncloud/ocis/v2/services/collaboration/pkg/config"
)
+3 -3
View File
@@ -32,11 +32,11 @@ Aggregating share information is one of the most time consuming operations in OC
To save network trips the sharing implementation can cache the stat requests with an in memory cache or in Redis. It will shorten the response time by the network round-trip overhead at the cost of the API only eventually being updated.
Setting `FRONTEND_OCS_RESOURCE_INFO_CACHE_TTL=60` would cache the stat info for 60 seconds. Increasing this value makes sense for large deployments with thousands of active users that keep the cache up to date. Low frequency usage scenarios should not expect a noticeable improvement.
Setting `FRONTEND_OCS_RESOURCE_INFO_CACHE_TTL=60` (deprecated) would cache the stat info for 60 seconds. Increasing this value makes sense for large deployments with thousands of active users that keep the cache up to date. Low frequency usage scenarios should not expect a noticeable improvement.
## Scalability
While the frontend service does not persist any data, it does cache information about files and filesystem (`Stat()`) responses and user information. Therefore, multiple instances of this service can be spawned in a bigger deployment like when using container orchestration with Kubernetes, when configuring `FRONTEND_OCS_RESOURCE_INFO_CACHE_STORE` and the related config options.
While the frontend service does not persist any data, it does cache information about files and filesystem (`Stat()`) responses and user information. Therefore, multiple instances of this service can be spawned in a bigger deployment like when using container orchestration with Kubernetes, when configuring `FRONTEND_OCS_RESOURCE_INFO_CACHE_STORE` (deprecated) and the related config options.
## Define Read-Only Attributes
@@ -46,7 +46,7 @@ You can find more details regarding available attributes at the [libre-graph-api
## Caching
The `frontend` service can use a configured store via `FRONTEND_OCS_STAT_CACHE_STORE`. Possible stores are:
The `frontend` service can use a configured store via `FRONTEND_OCS_STAT_CACHE_STORE` (deprecated). Possible stores are:
- `memory`: Basic in-memory store and the default.
- `redis-sentinel`: Stores data in a configured Redis Sentinel cluster.
- `nats-js-kv`: Stores data using key-value-store feature of [nats jetstream](https://docs.nats.io/nats-concepts/jetstream/key-value-store)
+16 -16
View File
@@ -123,26 +123,26 @@ type DataGateway struct {
}
type OCS struct {
Prefix string `yaml:"prefix" env:"FRONTEND_OCS_PREFIX" desc:"URL path prefix for the OCS service. Note that the string must not start with '/'." introductionVersion:"pre5.0"`
SharePrefix string `yaml:"share_prefix" env:"FRONTEND_OCS_SHARE_PREFIX" desc:"Path prefix for shares as part of an ocis resource. Note that the path must start with '/'." introductionVersion:"pre5.0"`
HomeNamespace string `yaml:"home_namespace" env:"FRONTEND_OCS_PERSONAL_NAMESPACE" desc:"Home namespace identifier." introductionVersion:"pre5.0"`
AdditionalInfoAttribute string `yaml:"additional_info_attribute" env:"FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE" desc:"Additional information attribute for the user like {{.Mail}}." introductionVersion:"pre5.0"`
StatCacheType string `yaml:"stat_cache_type" env:"OCIS_CACHE_STORE;FRONTEND_OCS_STAT_CACHE_STORE" desc:"The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details." introductionVersion:"pre5.0"`
StatCacheNodes []string `yaml:"stat_cache_nodes" env:"OCIS_CACHE_STORE_NODES;FRONTEND_OCS_STAT_CACHE_STORE_NODES" desc:"A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details." introductionVersion:"pre5.0"`
Prefix string `yaml:"prefix" env:"FRONTEND_OCS_PREFIX" desc:"URL path prefix for the OCS service. Note that the string must not start with '/'." introductionVersion:"pre5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"The OCS API is deprecated" deprecationReplacement:""`
SharePrefix string `yaml:"share_prefix" env:"FRONTEND_OCS_SHARE_PREFIX" desc:"Path prefix for shares as part of an ocis resource. Note that the path must start with '/'." introductionVersion:"pre5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"The OCS API is deprecated" deprecationReplacement:""`
HomeNamespace string `yaml:"home_namespace" env:"FRONTEND_OCS_PERSONAL_NAMESPACE" desc:"Home namespace identifier." introductionVersion:"pre5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"The OCS API is deprecated" deprecationReplacement:""`
AdditionalInfoAttribute string `yaml:"additional_info_attribute" env:"FRONTEND_OCS_ADDITIONAL_INFO_ATTRIBUTE" desc:"Additional information attribute for the user like {{.Mail}}." introductionVersion:"pre5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"The OCS API is deprecated" deprecationReplacement:""`
StatCacheType string `yaml:"stat_cache_type" env:"OCIS_CACHE_STORE;FRONTEND_OCS_STAT_CACHE_STORE" desc:"The type of the cache store. Supported values are: 'memory', 'redis-sentinel', 'nats-js-kv', 'noop'. See the text description for details." introductionVersion:"pre5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"FRONTEND_OCS_STAT_CACHE_STORE, the OCS API is deprecated" deprecationReplacement:""`
StatCacheNodes []string `yaml:"stat_cache_nodes" env:"OCIS_CACHE_STORE_NODES;FRONTEND_OCS_STAT_CACHE_STORE_NODES" desc:"A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details." introductionVersion:"pre5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"FRONTEND_OCS_STAT_CACHE_STORE_NODES, the OCS API is deprecated" deprecationReplacement:""`
StatCacheDatabase string `yaml:"stat_cache_database" env:"OCIS_CACHE_DATABASE" desc:"The database name the configured store should use." introductionVersion:"pre5.0"`
StatCacheTable string `yaml:"stat_cache_table" env:"FRONTEND_OCS_STAT_CACHE_TABLE" desc:"The database table the store should use." introductionVersion:"pre5.0"`
StatCacheTTL time.Duration `yaml:"stat_cache_ttl" env:"OCIS_CACHE_TTL;FRONTEND_OCS_STAT_CACHE_TTL" desc:"Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details." introductionVersion:"pre5.0"`
StatCacheDisablePersistence bool `yaml:"stat_cache_disable_persistence" env:"OCIS_CACHE_DISABLE_PERSISTENCE;FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE" desc:"Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false." introductionVersion:"5.0"`
StatCacheAuthUsername string `yaml:"stat_cache_auth_username" env:"OCIS_CACHE_AUTH_USERNAME;FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME" desc:"The username to use for authentication. Only applies when using the 'nats-js-kv' store type." introductionVersion:"5.0"`
StatCacheAuthPassword string `yaml:"stat_cache_auth_password" env:"OCIS_CACHE_AUTH_PASSWORD;FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD" desc:"The password to use for authentication. Only applies when using the 'nats-js-kv' store type." introductionVersion:"5.0"`
StatCacheTable string `yaml:"stat_cache_table" env:"FRONTEND_OCS_STAT_CACHE_TABLE" desc:"The database table the store should use." introductionVersion:"pre5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"The OCS API is deprecated" deprecationReplacement:""`
StatCacheTTL time.Duration `yaml:"stat_cache_ttl" env:"OCIS_CACHE_TTL;FRONTEND_OCS_STAT_CACHE_TTL" desc:"Default time to live for user info in the cache. Only applied when access tokens has no expiration. See the Environment Variable Types description for more details." introductionVersion:"pre5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"FRONTEND_OCS_STAT_CACHE_TTL, the OCS API is deprecated" deprecationReplacement:""`
StatCacheDisablePersistence bool `yaml:"stat_cache_disable_persistence" env:"OCIS_CACHE_DISABLE_PERSISTENCE;FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE" desc:"Disable persistence of the cache. Only applies when using the 'nats-js-kv' store type. Defaults to false." introductionVersion:"5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"FRONTEND_OCS_STAT_CACHE_DISABLE_PERSISTENCE, the OCS API is deprecated" deprecationReplacement:""`
StatCacheAuthUsername string `yaml:"stat_cache_auth_username" env:"OCIS_CACHE_AUTH_USERNAME;FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME" desc:"The username to use for authentication. Only applies when using the 'nats-js-kv' store type." introductionVersion:"5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"FRONTEND_OCS_STAT_CACHE_AUTH_USERNAME, the OCS API is deprecated" deprecationReplacement:""`
StatCacheAuthPassword string `yaml:"stat_cache_auth_password" env:"OCIS_CACHE_AUTH_PASSWORD;FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD" desc:"The password to use for authentication. Only applies when using the 'nats-js-kv' store type." introductionVersion:"5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"FRONTEND_OCS_STAT_CACHE_AUTH_PASSWORD, the OCS API is deprecated" deprecationReplacement:""`
CacheWarmupDriver string `yaml:"cache_warmup_driver,omitempty"` // not supported by the oCIS product, therefore not part of docs
CacheWarmupDrivers CacheWarmupDrivers `yaml:"cache_warmup_drivers,omitempty"` // not supported by the oCIS product, therefore not part of docs
EnableDenials bool `yaml:"enable_denials" env:"FRONTEND_OCS_ENABLE_DENIALS" desc:"EXPERIMENTAL: enable the feature to deny access on folders." introductionVersion:"pre5.0"`
ListOCMShares bool `yaml:"list_ocm_shares" env:"OCIS_ENABLE_OCM;FRONTEND_OCS_LIST_OCM_SHARES" desc:"Include OCM shares when listing shares. See the OCM service documentation for more details." introductionVersion:"5.0"`
IncludeOCMSharees bool `yaml:"include_ocm_sharees" env:"OCIS_ENABLE_OCM;FRONTEND_OCS_INCLUDE_OCM_SHAREES" desc:"Include OCM sharees when listing sharees." introductionVersion:"5.0"`
PublicShareMustHavePassword bool `yaml:"public_sharing_share_must_have_password" env:"OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD;FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD" desc:"Set this to true if you want to enforce passwords on all public shares." introductionVersion:"5.0"`
WriteablePublicShareMustHavePassword bool `yaml:"public_sharing_writeableshare_must_have_password" env:"OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD;FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD" desc:"Set this to true if you want to enforce passwords for writable shares. Only effective if the setting for 'passwords on all public shares' is set to false." introductionVersion:"5.0"`
EnableDenials bool `yaml:"enable_denials" env:"FRONTEND_OCS_ENABLE_DENIALS" desc:"EXPERIMENTAL: enable the feature to deny access on folders." introductionVersion:"pre5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"The OCS API is deprecated" deprecationReplacement:""`
ListOCMShares bool `yaml:"list_ocm_shares" env:"OCIS_ENABLE_OCM;FRONTEND_OCS_LIST_OCM_SHARES" desc:"Include OCM shares when listing shares. See the OCM service documentation for more details." introductionVersion:"5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"FRONTEND_OCS_LIST_OCM_SHARES, the OCS API is deprecated" deprecationReplacement:""`
IncludeOCMSharees bool `yaml:"include_ocm_sharees" env:"OCIS_ENABLE_OCM;FRONTEND_OCS_INCLUDE_OCM_SHAREES" desc:"Include OCM sharees when listing sharees." introductionVersion:"5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"FRONTEND_OCS_INCLUDE_OCM_SHAREES, the OCS API is deprecated" deprecationReplacement:""`
PublicShareMustHavePassword bool `yaml:"public_sharing_share_must_have_password" env:"OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD;FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD" desc:"Set this to true if you want to enforce passwords on all public shares." introductionVersion:"5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"FRONTEND_OCS_PUBLIC_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated" deprecationReplacement:""`
WriteablePublicShareMustHavePassword bool `yaml:"public_sharing_writeableshare_must_have_password" env:"OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD;FRONTEND_OCS_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD" desc:"Set this to true if you want to enforce passwords for writable shares. Only effective if the setting for 'passwords on all public shares' is set to false." introductionVersion:"5.0" deprecationVersion:"7.0.0" removalVersion:"%%NEXT_PRODUCTION_VERSION%%" deprecationInfo:"FRONTEND_OCS_PUBLIC_WRITABLE_SHARE_MUST_HAVE_PASSWORD, the OCS API is deprecated" deprecationReplacement:""`
ShowUserEmailInResults bool `yaml:"show_email_in_results" env:"OCIS_SHOW_USER_EMAIL_IN_RESULTS" desc:"Include user email addresses in responses. If absent or set to false emails will be omitted from results. Please note that admin users can always see all email addresses." introductionVersion:"6.0.0"`
}
@@ -130,7 +130,7 @@ func DefaultConfig() *config.Config {
Cluster: "ocis-cluster",
EnableTLS: false,
},
MaxConcurrency: 25,
MaxConcurrency: 1,
PasswordPolicy: config.PasswordPolicy{
MinCharacters: 8,
MinLowerCaseCharacters: 1,
+1
View File
@@ -31,6 +31,7 @@ type Config struct {
IncludeOCMSharees bool `yaml:"include_ocm_sharees" env:"OCIS_ENABLE_OCM;GRAPH_INCLUDE_OCM_SHAREES" desc:"Include OCM sharees when listing users." introductionVersion:"5.0"`
Events Events `yaml:"events"`
UnifiedRoles UnifiedRoles `yaml:"unified_roles"`
MaxConcurrency int `yaml:"max_concurrency" env:"OCIS_MAX_CONCURRENCY;GRAPH_MAX_CONCURRENCY" desc:"The maximum number of concurrent requests the service will handle." introductionVersion:"7.0.0"`
Keycloak Keycloak `yaml:"keycloak"`
ServiceAccount ServiceAccount `yaml:"service_account"`
Loaded 100 of 721 files, more files were not shown because too many files have changed in this diff. Show more