Compare commits

..
282 Commits
Author SHA1 Message Date
Michael Barz b52e6cc470 chore: prepare release, bump version 2024-11-12 18:59:16 +01:00
Michael Barz 9282cfe1f8 Automated changelog update [skip ci] 2024-11-12 17:00:56 +00:00
Michael Barz a42a81cc83 Merge pull request #10552 from owncloud/bump-reva-cbef82ff6
[full-ci] bump reva to bump-reva-cbef82ff6
2024-11-12 18:00:18 +01:00
Michael Barz 3ec4f1c777 docs: add secure view to ocis_full 2024-11-12 17:53:55 +01:00
Jörn Friedrich Dreyer fe65742adb bump reva to v2.26.5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-12 17:28:31 +01:00
Martin 951de08343 Merge pull request #10537 from owncloud/update_claims
[docs-only] Claim update process (proxy service readme)
2024-11-12 15:46:20 +01:00
Martin Mattel d664043562 fixes 2024-11-12 14:43:29 +01:00
Martin Mattel 9491abd1b9 rewrite and impacts 2024-11-12 12:39:42 +01:00
Prashant Gurung 80861d3a01 Merge pull request #10485 from owncloud/tests-copy-activities
[tests-only][full-ci] add test to check copy activities of destination file and folder
2024-11-12 16:31:29 +05:45
Michael Barz 2f4d50fb42 Automated changelog update [skip ci] 2024-11-12 09:06:06 +00:00
Michael Barz 07883b0696 Merge pull request #10539 from kobergj/BumpReva
[full-ci] Bump Reva
2024-11-12 10:04:52 +01:00
Viktor Scharf 8e9b14da74 Merge pull request #10542 from owncloud/addPatchCommandToImage
add patch command to the ocis image
2024-11-12 08:51:17 +01:00
dependabot[bot] 9e6a27e71b chore(deps): bump go.opentelemetry.io/contrib/zpages
Bumps [go.opentelemetry.io/contrib/zpages](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/zpages
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-12 08:05:33 +01:00
dependabot[bot] 613214f4f8 chore(deps): bump google.golang.org/grpc from 1.67.1 to 1.68.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.67.1 to 1.68.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.67.1...v1.68.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-12 08:05:01 +01:00
Sawjan Gurung 932e23a410 Merge pull request #10418 from owncloud/run-remote.php-config-nightly
[tests-only][full-ci] run cron job on both config, with and without `remote.php` in dav path
2024-11-12 12:18:11 +05:45
prashant-gurung899 ab7f8fb62f add test to check copy activities
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-11-12 11:46:09 +05:45
Prajwol Amatya c00679fe91 run cron job on both config, with and without remote.php 2024-11-12 11:35:58 +05:45
jkoberg 15d687dfe7 feat(reva): bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-11-11 17:30:59 +01:00
Viktor Scharf 8796a7c308 add patch command to the ocis image 2024-11-11 17:14:32 +01:00
Viktor Scharf d5471ec7f3 Merge pull request #10538 from owncloud/fixOcmLocalInstance
fix local ocm instance
2024-11-11 15:20:37 +01:00
Viktor Scharf 2730633f0b fix ocm misconfiguration 2024-11-11 13:11:43 +01:00
Viktor Scharf 4f42e344ea Merge pull request #10525 from owncloud/tests/ocm-docs-setup
[tests-only][full-ci] update ocm docs and setup
2024-11-11 13:01:13 +01:00
MartinandPhil Davis 379feec22e Update services/proxy/README.md
Co-authored-by: Phil Davis <phil@jankaritech.com>
2024-11-11 12:46:03 +01:00
Martin Mattel f3e86c0de8 [docs-only] Claim update process (proxy service readme) 2024-11-11 12:28:20 +01:00
dependabot[bot] 74a7be9d22 chore(deps): bump golang.org/x/crypto from 0.28.0 to 0.29.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.28.0 to 0.29.0.
- [Commits](https://github.com/golang/crypto/compare/v0.28.0...v0.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 12:18:54 +01:00
Saw-jan c3b442491d tests: update ocm setup and docs
docs: separate provider config

tests: substitution for local and remote server urls

tests: create local configs

tests: fix vscode debugger config

tests: separate federation share steps
2024-11-11 14:37:52 +05:45
Michael Barz 22d80256d6 Merge pull request #10533 from owncloud/dependabot/npm_and_yarn/services/idp/react-i18next-15.1.1
chore(deps): bump react-i18next from 15.0.3 to 15.1.1 in /services/idp
2024-11-11 09:41:50 +01:00
Michael Barz 0849fe1af8 Merge pull request #10532 from owncloud/dependabot/npm_and_yarn/services/idp/dotenv-16.4.5
chore(deps-dev): bump dotenv from 16.3.1 to 16.4.5 in /services/idp
2024-11-11 09:40:07 +01:00
dependabot[bot] 544e7aa12d chore(deps): bump react-i18next from 15.0.3 to 15.1.1 in /services/idp
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 15.0.3 to 15.1.1.
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v15.0.3...v15.1.1)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 06:44:09 +00:00
dependabot[bot] 23166c8f90 chore(deps-dev): bump dotenv from 16.3.1 to 16.4.5 in /services/idp
Bumps [dotenv](https://github.com/motdotla/dotenv) from 16.3.1 to 16.4.5.
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.3.1...v16.4.5)

---
updated-dependencies:
- dependency-name: dotenv
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 06:42:55 +00:00
ownClouders e7968996b5 [tx] updated from transifex 2024-11-11 00:06:19 +00:00
ownClouders beee2cb7e9 [tx] updated from transifex 2024-11-10 00:07:53 +00:00
ownClouders d5ed2b6a18 [tx] updated from transifex 2024-11-09 00:06:55 +00:00
Martin f0d4b71804 Merge pull request #10520 from owncloud/update_helpers_readme
[docs-only] Helper readme update
2024-11-08 17:26:30 +01:00
kobergj 3237f3001b Automated changelog update [skip ci] 2024-11-08 14:07:24 +00:00
kobergj 305454d4a9 Merge pull request #10524 from kobergj/RemoveMBreaker
Remove gobreaker lib
2024-11-08 15:06:04 +01:00
Martin 38151cfe7f Merge pull request #10521 from owncloud/update_.env_from_ocis_full
[docs-only] Add important comment to .env in ocis_full deployment
2024-11-08 14:11:43 +01:00
jkoberg ea726ffcca fix(ocis-pkg/service): remove gobreaker lib
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-11-08 12:27:45 +01:00
Michael Barz 2c3eee8d8d Merge pull request #10518 from owncloud/dependabot/go_modules/golang.org/x/oauth2-0.24.0
chore(deps): bump golang.org/x/oauth2 from 0.23.0 to 0.24.0
2024-11-08 12:23:39 +01:00
Martin Mattel ab2d6be924 fix link name 2024-11-08 11:32:30 +01:00
Martin Mattel 63645c8121 [docs-only] Add important comment to .env in ocis_full deployment 2024-11-08 10:49:38 +01:00
Martin Mattel 4ca2f3e7db update 2024-11-08 10:31:28 +01:00
Roman Perekhod 5acd24d313 Automated changelog update [skip ci] 2024-11-08 08:40:32 +00:00
Roman Perekhod 990311f38e Merge pull request #10512 from 2403905/issue-10474
Fix idp guest role assignment
2024-11-08 09:38:43 +01:00
dependabot[bot] 0eb28c6e41 chore(deps): bump golang.org/x/oauth2 from 0.23.0 to 0.24.0
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.23.0 to 0.24.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.23.0...v0.24.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 06:28:27 +00:00
Sawjan Gurung c230763e97 Automated changelog update [skip ci] 2024-11-08 06:13:02 +00:00
Sawjan Gurung ebce3b86ef Merge pull request #10515 from owncloud/docs-fix-pr-number
docs: fix issue and PR numbers
2024-11-08 11:57:26 +05:45
Sawjan Gurung 00e51d58b4 Merge pull request #10314 from owncloud/test-backup-consistency
[tests-only][full-ci] adding test coverage for backup consistency
2024-11-08 10:57:38 +05:45
Saw-jan f8b8d3558a docs: fix issue and PR numbers 2024-11-08 10:52:07 +05:45
Phil Davis 495ac241db Automated changelog update [skip ci] 2024-11-08 04:03:29 +00:00
Phil Davis 23abcb38b6 Merge pull request #10514 from owncloud/docs-fix-pr-number
[docs-only] fix PR number
2024-11-08 09:46:50 +05:45
Saw-jan 04956b8656 docs: fix PR number 2024-11-08 09:35:31 +05:45
ownClouders d1c9e3de59 [tx] updated from transifex 2024-11-08 00:42:34 +00:00
Michael Barz e1f5b1f792 Automated changelog update [skip ci] 2024-11-07 22:58:32 +00:00
Michael Barz 2b7803f196 Merge pull request #10513 from owncloud/release-7.0.0-rc.1
[full-ci] chore: prepare release, bump version
2024-11-07 23:57:49 +01:00
Martin Mattel 41b31ccf64 [docs-only] Helper readme update 2024-11-07 18:22:54 +01:00
kobergj 0b26d45a9b Merge pull request #10510 from rhafer/issue/10488
fix(graph/ocm): Fix ocm share creation when user is in cache
2024-11-07 18:11:31 +01:00
Michael Barz 9e061856f8 chore: prepare release, bump version 2024-11-07 18:09:14 +01:00
Michael Barz 72bd8ef12b Automated changelog update [skip ci] 2024-11-07 17:04:53 +00:00
Michael Barz f11e3e03b1 Merge pull request #10501 from rhafer/issue/10495
fix(graph): Use the correct opaqueId when Statting OCM shares
2024-11-07 18:03:00 +01:00
Roman Perekhod 3a060331f7 fixed an idp guest role default assignment 2024-11-07 17:57:01 +01:00
Michael Barz d65f073c1c Automated changelog update [skip ci] 2024-11-07 16:52:46 +00:00
Michael Barz c9b37ba21e Merge pull request #10304 from kobergj/BumpReva
[full-ci] Thumbnails for GGP files
2024-11-07 17:52:08 +01:00
Martin c8e7c2ccbd Merge pull request #10511 from owncloud/one_more_added_change
[docs-only] One more added envvar change found
2024-11-07 17:18:28 +01:00
jkoberg 2b8b853c4d feat(thumbnails): make ggp thumbnails work
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-11-07 17:18:28 +01:00
Martin Mattel 99585094ed [docs-only] One more added envvar change found 2024-11-07 17:11:13 +01:00
Martin 8a3ad39d85 Merge pull request #10509 from owncloud/add_max_concurrency_to_added
[docs-only] Update added envvar table due to recent changes
2024-11-07 16:53:53 +01:00
Ralf Haferkamp c463559ee7 fix(graph/ocm): Fix ocm share creation when user is in cache
Federated users are sharing the cache with regular users. So can't
we need to check the user type to determine if the user is federated.

Fixes #10488
2024-11-07 16:51:18 +01:00
Ralf Haferkamp 336d34821f fix(linter): Avoid copying protobuf messages
This shoud silence some linter warning about copying lock values.
2024-11-07 16:46:17 +01:00
Martin Mattel 817ef633d2 [docs-only] Update added envvar table due to recent changes 2024-11-07 16:45:22 +01:00
Ralf Haferkamp 4792071d3d fix(graph): Use the correct opaqueId when Statting OCM shares
File shares need to use the base64 encoded path as the opaqueID, while
for folder shares the base64 encode '/' should work.

Fixes #10495
2024-11-07 16:41:04 +01:00
Martin 28a0c9a98f Merge pull request #10508 from owncloud/envvar_yaml_update
[docs-only] Update env_vars.yaml due to recent changes
2024-11-07 16:26:58 +01:00
Martin Mattel ec40b8132f [docs-only] Update env_vars.yaml due to recent changes 2024-11-07 16:19:33 +01:00
Michael Barz 5d9ae3f67a Automated changelog update [skip ci] 2024-11-07 15:18:22 +00:00
Michael Barz f76357af55 Merge pull request #10504 from owncloud/userlog-concurrency
concurrent userlog
2024-11-07 16:17:26 +01:00
Jörn Friedrich Dreyer 26b71f6886 Automated changelog update [skip ci] 2024-11-07 15:07:45 +00:00
Jörn Friedrich Dreyer d5c5e803ca Merge pull request #10507 from owncloud/fix-autoaccept-concurrency
fix autoaccept concurrency
2024-11-07 16:06:56 +01:00
Roman Perekhod be5b216b0e Automated changelog update [skip ci] 2024-11-07 15:02:55 +00:00
Roman Perekhod 0ed39a4513 Merge pull request #10500 from 2403905/issue-10469
[full-ci] [bum reva] Fix 0-byte file uploads
2024-11-07 16:02:15 +01:00
Jörn Friedrich Dreyer 164be04293 concurrent userlog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-07 15:47:47 +01:00
Jörn Friedrich Dreyer 3c6c253e14 fix autoaccept concurrency
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-07 15:10:32 +01:00
Roman Perekhod 2c0a593406 [bum reva] Fix 0-byte file uploads 2024-11-07 15:03:59 +01:00
Martin 52cc044a1b Merge pull request #10505 from owncloud/grammar_fix
[docs-only] Just a small grammar fix
2024-11-07 14:39:26 +01:00
Martin Mattel 6fd9f21e5e remove not necessary link 2024-11-07 14:30:35 +01:00
Martin Mattel e7137ca545 [docs-only] Just a small grammar fix 2024-11-07 14:26:56 +01:00
Jörn Friedrich Dreyer 977a65d729 Automated changelog update [skip ci] 2024-11-07 13:15:39 +00:00
Jörn Friedrich Dreyer eb8b013ff5 Merge pull request #10502 from owncloud/fix-gateway-nats-checks
only check nats if it is used
2024-11-07 14:15:00 +01:00
Jannik Stehle 5610e093a6 Automated changelog update [skip ci] 2024-11-07 12:07:32 +00:00
Jannik Stehle 4376fe34e3 Merge pull request #10503 from owncloud/bump-web-11.0.2
[full-ci] chore: bump web to v11.0.2
2024-11-07 13:06:53 +01:00
Jannik Stehle aa5c4b8c10 chore: bump web to v11.0.2 2024-11-07 12:36:56 +01:00
Jörn Friedrich Dreyer 409259949e only check nats if it is used
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-07 12:26:12 +01:00
Martin 1f3d9dc5c9 Merge pull request #10499 from owncloud/changed_envvars
[docs-only] Create envvar delta files after v5 to master (v7.0.0)
2024-11-07 12:23:42 +01:00
Martin Mattel e20faab777 [docs-only] Create envvar delta files 2024-11-07 11:54:46 +01:00
Jörn Friedrich Dreyer a46ea13e41 Automated changelog update [skip ci] 2024-11-07 10:11:58 +00:00
Jörn Friedrich Dreyer 3bddf4fa03 Merge pull request #10498 from owncloud/register-when-ready
register services after they are ready
2024-11-07 11:11:17 +01:00
Jörn Friedrich Dreyer 1a429115c2 register services after they are ready
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-07 10:38:23 +01:00
Niraj Acharya 4dea245f80 adding test coverage for backup consistency 2024-11-07 10:32:35 +05:45
ownClouders 75cba423c2 [tx] updated from transifex 2024-11-07 00:42:54 +00:00
jkoberg 1571d39a74 feat(thumbnails): add ggp test file
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-11-06 19:32:08 +01:00
jkoberg 02196da2e0 feat(thumbnails): allow thumbnails on ggp files
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-11-06 19:32:08 +01:00
Michael Barz 1fc3de6714 Automated changelog update [skip ci] 2024-11-06 16:48:07 +00:00
Michael Barz 093e6f0c02 Merge pull request #10490 from owncloud/collaboration_config_upgrade_6to7
fix: copy app name if product name isn't provided
2024-11-06 17:47:18 +01:00
Ralf Haferkamp 2fa5a4d454 Automated changelog update [skip ci] 2024-11-06 16:12:47 +00:00
Ralf Haferkamp f2e857ff05 fix: 'ocis backup consistency' file regex
'ocis backup consistency' was stumbling over revision (and trash) nodes
whose timestamp lacked the nanosecond component (which happens if the nanoseconds
of the mtime are 0)

Fixes: #9498
2024-11-06 17:12:07 +01:00
Michael Barz d2f373c23b Automated changelog update [skip ci] 2024-11-06 16:08:19 +00:00
Michael Barz e6681cf8f5 Merge pull request #10494 from owncloud/update-reva
chore: update reva to 2.26.3
2024-11-06 17:07:18 +01:00
Juan Pablo Villafáñez 86dd3e79dc chore: add PR to the relevant changelog entry 2024-11-06 16:38:16 +01:00
Michael Barz 2072e21a18 chore: update reva to 2.26.3 2024-11-06 16:36:28 +01:00
Martin ada86c1a25 Merge pull request #10492 from owncloud/remove_store_from_envvar_list
[docs-only] Missed env_vars.yaml changes
2024-11-06 15:54:07 +01:00
Jörn Friedrich Dreyer 1dcd803293 Automated changelog update [skip ci] 2024-11-06 14:53:27 +00:00
Jörn Friedrich Dreyer af806dcaa9 Merge pull request #10476 from owncloud/concurrent-autoaccept
concurrent autoaccept
2024-11-06 15:52:50 +01:00
Martin Mattel 7dcfcbbd8e [docs-only] Missed env_vars.yaml changes 2024-11-06 15:46:03 +01:00
Martin 28e8a84477 Merge pull request #10491 from owncloud/update_envvars_yaml
[docs-only] Update envvars.yaml based on recent changes
2024-11-06 15:39:39 +01:00
Martin Mattel 7f8b8cd124 [docs-only] Update envvars.yaml based on recent changes 2024-11-06 15:29:42 +01:00
Juan Pablo Villafáñez 3d654683da fix: copy app name if product name isn't provided 2024-11-06 15:27:20 +01:00
Jörn Friedrich DreyerandMartin 42711aef88 concurrent autoaccept
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Update services/frontend/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

align concurrency approach

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-06 15:17:46 +01:00
Michael Barz 331e134398 Automated changelog update [skip ci] 2024-11-06 08:56:33 +00:00
Michael Barz 6f3322a3d5 Merge pull request #10484 from owncloud/collaboration_product_changelog
chore: add changelog entry
2024-11-06 09:55:58 +01:00
Martin 54cab0827a Merge pull request #10483 from owncloud/adding_OCIS_MAX_CONCURRENCY
[docs-only] Adding OCIS_MAX_CONCURRENCY to storage_users service
2024-11-06 09:33:24 +01:00
dependabot[bot] fb88b14908 Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.22.0 to 2.23.0
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.22.0 to 2.23.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.22.0...v2.23.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-06 09:07:21 +01:00
Juan Pablo Villafáñez dee1d83726 chore: add changelog entry 2024-11-06 09:06:25 +01:00
Roman Perekhod 6e39f0b613 Automated changelog update [skip ci] 2024-11-06 07:56:01 +00:00
Roman Perekhod a7125b2928 Merge pull request #10472 from 2403905/bump-reva-latest
[bump-reva] latest
2024-11-06 08:55:22 +01:00
Martin 71bed9d131 Merge pull request #10477 from owncloud/fix_envvar_yaml
[docs-only] Remove/fix deprecated items from env_vars.yaml
2024-11-06 08:23:39 +01:00
Sawjan Gurung a31155cdcf Merge pull request #10380 from owncloud/test-space-no-versions-list-permission
[tests-only][full-ci] listing permission with role Space Editor Without Version enabled
2024-11-06 12:56:55 +05:45
Martin Mattel 3a05eb5f6b [docs-only] Adding OCIS_MAX_CONCURRENCY to storage_users service 2024-11-06 08:10:47 +01:00
Michael Barz 92965fca0f Merge pull request #10480 from owncloud/onlyoffice-master
[docs-only] feat: add ocis master deployment with OnlyOffice
2024-11-06 05:57:57 +01:00
Benedikt Kulmann 5b1631944a docs: add master with onlyoffice to dev docs 2024-11-06 05:31:20 +01:00
Niraj Acharya 844891abaa adding test for listing permissions with space editor without version role enabled 2024-11-06 09:23:16 +05:45
ownClouders 15b80aeb1c [tx] updated from transifex 2024-11-06 00:07:42 +00:00
Michael Barz e5f882e7f5 feat: add ocis master deployment with OnlyOffice 2024-11-05 23:02:50 +01:00
Martin 8efc2cc65d Merge pull request #10478 from owncloud/fix_envvar_version
[docs-only] SSE_KEEPALIVE_INTERVAL envvar version consistenty
2024-11-05 19:59:26 +01:00
Martin Mattel 985c8efd10 [docs-only] SSE_KEEPALIVE_INTERVAL envvar version consistenty 2024-11-05 19:20:19 +01:00
Martin Mattel 8e62dac566 [docs-only] Remove deprecated items from env_vars.yaml 2024-11-05 18:21:35 +01:00
Martin 9b03acb9ad Merge pull request #10475 from owncloud/mmattel-patch-1
[docs-only] Update collaboration envvar descriptions
2024-11-05 17:39:00 +01:00
Michael Barz b1bb3c2bb5 Automated changelog update [skip ci] 2024-11-05 16:27:27 +00:00
Michael Barz b5b3036140 Merge pull request #10467 from owncloud/bump-web-11.0.1
[full-ci] chore: bump web to v11.0.1
2024-11-05 17:26:41 +01:00
Martin 21c584c2e8 Merge pull request #10447 from owncloud/collaboration_remove_lockname_config
feat: use only the app name in order to name the lock
2024-11-05 17:11:47 +01:00
Martin b6d33acc83 [docs-only] Update collaboration envvar descriptions
As discussed with @micbar
2024-11-05 17:09:17 +01:00
Michael Barz 8698e8276e fix: add missing parameter to collabora deployments 2024-11-05 16:57:43 +01:00
Viktor Scharf a1469b2d95 exclude ocm from e2e test for ocisCi 2024-11-05 16:19:37 +01:00
Benedikt Kulmann 0d7b68fc49 chore: bump web to v11.0.1 2024-11-05 16:19:16 +01:00
Michael Barz c9a6670e1c Merge pull request #10473 from owncloud/fix-deployments
[docs-only] fix: adapt continuous deployments to new structure
2024-11-05 16:13:27 +01:00
Martin ec09b04834 Merge pull request #10471 from owncloud/update_onlyoffice.yml
[docs-only] Add comment in ocis_full / onlyoffice.yml
2024-11-05 16:11:59 +01:00
Michael Barz 45b95c367b Automated changelog update [skip ci] 2024-11-05 15:05:05 +00:00
Michael Barz 3d590390ac fix: adapt continuous deployments to new structure 2024-11-05 16:04:50 +01:00
Michael Barz 6da6c6c58a Merge pull request #10470 from owncloud/fix-get-lock-header
fix: wopi lock header in get lock response
2024-11-05 16:03:16 +01:00
Roman Perekhod 6bf40030c0 [bump-reva] latest 2024-11-05 15:56:13 +01:00
Martin Mattel 692b849e55 [docs-only] Add comment in ocis_full / onlyoffice.yml 2024-11-05 15:48:18 +01:00
Michael Barz dddc6fbdb5 fix: wopi lock header in get lock response 2024-11-05 15:35:43 +01:00
dependabot[bot] 110196d8a3 Bump @fontsource/roboto from 5.0.14 to 5.1.0 in /services/idp
Bumps [@fontsource/roboto](https://github.com/fontsource/font-files/tree/HEAD/fonts/google/roboto) from 5.0.14 to 5.1.0.
- [Changelog](https://github.com/fontsource/font-files/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fontsource/font-files/commits/HEAD/fonts/google/roboto)

---
updated-dependencies:
- dependency-name: "@fontsource/roboto"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 15:22:59 +01:00
dependabot[bot] b300f30c94 Bump webpack from 5.94.0 to 5.96.1 in /services/idp
Bumps [webpack](https://github.com/webpack/webpack) from 5.94.0 to 5.96.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.94.0...v5.96.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 15:22:36 +01:00
dependabot[bot] 53847677ba Bump github.com/onsi/gomega from 1.35.0 to 1.35.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.35.0 to 1.35.1.
- [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.0...v1.35.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 15:03:56 +01:00
Juan Pablo Villafáñez 8d80b5ca25 fix: remove obsolete configuration option 2024-11-05 14:44:20 +01:00
Juan Pablo Villafáñez eb1736d099 feat: use only the app name in order to name the lock 2024-11-05 14:43:20 +01:00
Michael Barz 786efd367e Merge pull request #10335 from owncloud/collaboration_provider_config
feat: include a provider option to allow custom app names
2024-11-05 14:18:50 +01:00
dependabot[bot] 8a4523b406 Bump github.com/open-policy-agent/opa from 0.69.0 to 0.70.0
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.69.0 to 0.70.0.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v0.69.0...v0.70.0)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 13:23:44 +01:00
Juan Pablo Villafáñez ff8d674666 fix: adjust tests for the new config option 2024-11-05 13:20:28 +01:00
Juan Pablo Villafáñez 1e8b5fae70 fix: add product name to the registration info 2024-11-05 11:57:14 +01:00
Juan Pablo Villafáñez 32607b2481 refactor: change App.Provider to App.Product 2024-11-05 11:57:14 +01:00
Juan Pablo Villafáñez c822522b65 feat: include a provider option to allow custom app names 2024-11-05 11:57:14 +01:00
Roman Perekhod b63841cd62 Automated changelog update [skip ci] 2024-11-05 10:47:17 +00:00
Roman Perekhod 99648e3df7 Merge pull request #10449 from 2403905/issue-10306-bump-go-cs3apis
[full-ci] bump go-cs3apis and reva
2024-11-05 11:46:34 +01:00
Michael Barz 92a3f4fed0 Merge pull request #10466 from owncloud/dj4oC-patch-2
Update release_roadmap.md 2025
2024-11-05 11:24:39 +01:00
David Walter 82ce20c6d9 Update release_roadmap.md 2025
Added release dates for 2025
2024-11-05 11:17:14 +01:00
Roman Perekhod a739bbe5e7 bump go-cs3apis 2024-11-05 11:13:56 +01:00
Michael Barz 213259c5ab Merge pull request #10463 from owncloud/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.5.1
Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1
2024-11-05 09:41:07 +01:00
Michael Barz 6fa20ccc65 Automated changelog update [skip ci] 2024-11-05 08:20:59 +00:00
Michael Barz b24c2df5df Merge pull request #10462 from owncloud/fix-proofkeys-o365
fix: proofkeys validation with proxy
2024-11-05 09:19:15 +01:00
dependabot[bot] c9585abd5b Bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.5.0...v4.5.1)

---
updated-dependencies:
- dependency-name: github.com/golang-jwt/jwt/v4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-04 23:45:28 +00:00
Michael Barz 9f5eba034c Merge pull request #10461 from pascalwengerter/chore/remove-idp-comments
Remove eslint-disable after node/pnpm update in CI
2024-11-04 21:41:32 +01:00
Michael Barz f9510e028e fix: proofkeys validation with proxy 2024-11-04 21:00:24 +01:00
Martin 239c1dab56 Merge pull request #10460 from owncloud/update_envars_yaml
[docs-only][chore] update env_vars.yaml
2024-11-04 19:20:56 +01:00
Martin aafd27be54 Merge pull request #10459 from owncloud/update_service_readme
[docs-only] Update service readme's
2024-11-04 19:19:31 +01:00
Pascal Wengerter 44e3881b41 Remove eslint-disable after node/pnpm update in CI 2024-11-04 17:59:34 +01:00
Martin Mattel ccd49b8f8d [docs-only][chore] update env_vars.yaml 2024-11-04 17:18:54 +01:00
Martin Mattel bc3762bc08 [docs-only] Update service readme's 2024-11-04 16:45:11 +01:00
kobergj fa7eb2c4de Automated changelog update [skip ci] 2024-11-04 13:24:03 +00:00
kobergj e85a8b9fff Merge pull request #10439 from kobergj/RestartPPReworked
Restart Postprocessing Properly
2024-11-04 14:23:24 +01:00
Viktor Scharf a2b986872a Merge pull request #10457 from owncloud/addVolumeToLdaptokeepLdapdata
add volume to ldap to keep users and groups
2024-11-04 14:18:37 +01:00
jkoberg 64ff81575d docs(postprocessing): update docs
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-11-04 12:56:35 +01:00
Viktor Scharf 5416fb3162 add volume to ldap to keep users and groups 2024-11-04 10:32:25 +01:00
jkoberg 6ea3f2f782 fix(postprocessing): restart postprocessing properly
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-11-04 10:30:41 +01:00
ownClouders 821200b48c [tx] updated from transifex 2024-11-04 00:07:00 +00:00
ownClouders 84dde1e34b [tx] updated from transifex 2024-11-03 00:08:17 +00:00
ownClouders 38a1a410ea [tx] updated from transifex 2024-11-02 00:44:10 +00:00
ownClouders 3747ee4643 [tx] updated from transifex 2024-10-31 05:10:27 +00:00
Ralf Haferkamp 0a6fe26369 Automated changelog update [skip ci] 2024-10-30 15:46:32 +00:00
Ralf Haferkamp 0d88a68c79 fix(ocm): add data_server_url to ocm storage provider
Fixes: #10358
2024-10-30 16:45:51 +01:00
Sawjan Gurung a04458a0a0 Merge pull request #10443 from owncloud/fix-expected-failure-file-line-no
[tests-only][full-ci]fix expected failures files line number
2024-10-30 15:36:34 +05:45
dependabot[bot] c31ef69966 Bump github.com/onsi/ginkgo/v2 from 2.20.2 to 2.21.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.20.2 to 2.21.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.20.2...v2.21.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-10-30 09:42:54 +01:00
Niraj Acharya 5d021970ac fix expected failures files line number 2024-10-30 14:16:32 +05:45
dependabot[bot] 7e5b189685 Bump github.com/onsi/gomega from 1.34.2 to 1.35.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.34.2 to 1.35.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.34.2...v1.35.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-10-30 09:06:45 +01:00
ownClouders 30f001e3c2 [tx] updated from transifex 2024-10-30 00:41:59 +00:00
Roman Perekhod 7d492b5302 Automated changelog update [skip ci] 2024-10-29 14:02:53 +00:00
Roman Perekhod f86b5e37d5 Merge pull request #10433 from 2403905/issue-10427
set the memlimit default loglevel to error
2024-10-29 15:02:12 +01:00
Martin 753ffa6328 Merge pull request #10437 from owncloud/update_services_per_release
[docs-only] Update the added services per release table
2024-10-29 12:38:54 +01:00
Roman Perekhod b4f330278e set the memlimit default loglevel to error 2024-10-29 12:32:04 +01:00
Martin Mattel 17eeabd227 [docs-only] Update the added services per release table 2024-10-29 12:27:52 +01:00
Roman Perekhod 6f27b4d53d Automated changelog update [skip ci] 2024-10-29 11:05:45 +00:00
Roman Perekhod f4cab91767 Merge pull request #10432 from 2403905/issue-10430
Remove deprecated CLI commands
2024-10-29 12:05:00 +01:00
Roman Perekhod f16c7dec21 Remove deprecated CLI commands 2024-10-29 09:59:19 +01:00
dependabot[bot] 5fc891ce94 Bump i18next from 23.13.0 to 23.16.4 in /services/idp
Bumps [i18next](https://github.com/i18next/i18next) from 23.13.0 to 23.16.4.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v23.13.0...v23.16.4)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 08:37:32 +01:00
Sawjan Gurung 66cdd04d36 Merge pull request #10407 from owncloud/tests-move-activities
[tests-only][full-ci] add test to check move activities of destination file and folder
2024-10-29 13:01:48 +05:45
dependabot[bot] 2745dc9556 Bump postcss-preset-env from 10.0.2 to 10.0.8 in /services/idp
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 10.0.2 to 10.0.8.
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 08:00:21 +01:00
dependabot[bot] af71e56246 Bump github.com/riandyrn/otelchi from 0.10.0 to 0.10.1
Bumps [github.com/riandyrn/otelchi](https://github.com/riandyrn/otelchi) from 0.10.0 to 0.10.1.
- [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.0...v0.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 07:59:53 +01:00
Sawjan Gurung 3540c490e0 Merge pull request #10434 from owncloud/clean-behat-config-to-do-step
[tests-only][full-ci]removed to do comment-in-behat-config
2024-10-29 12:39:52 +05:45
Sabin b574af4307 removed to do comment 2024-10-29 11:31:14 +05:45
ownClouders cec9888b14 [tx] updated from transifex 2024-10-29 00:33:54 +00:00
kobergj 58f41ac98b Automated changelog update [skip ci] 2024-10-28 16:26:45 +00:00
kobergj e43398049f Merge pull request #10419 from owncloud/update-reva
[full-ci] chore: update reva to 2.26.2
2024-10-28 17:26:04 +01:00
Michael Barz 6684577724 chore: update reva to 2.26.2
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-28 16:54:04 +01:00
kobergj bd262f4a1a Automated changelog update [skip ci] 2024-10-28 15:17:26 +00:00
kobergj 43dd586509 Merge pull request #10429 from owncloud/registry-cache-fixes
registry cache fixes
2024-10-28 16:16:49 +01:00
Jörn Friedrich Dreyer 15637b31f6 registry cache fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-28 15:31:55 +01:00
Jörn Friedrich Dreyer a79e3b3f63 Merge pull request #10412 from owncloud/fix-signal-handling
Fix signal handling
2024-10-28 15:24:35 +01:00
Jörn Friedrich Dreyer 04632ad34c make sure services have some time to deregister
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-28 14:47:11 +01:00
Jörn Friedrich Dreyer 32287da09e work on signal handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-28 14:47:11 +01:00
Jörn Friedrich Dreyer dde999d5c2 align shutdown logging
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-28 14:47:11 +01:00
Jörn Friedrich Dreyer ad43ae824c delete unused trap
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-28 14:47:11 +01:00
Martin d701e79956 Merge pull request #10426 from owncloud/add_vips_mac_compile
[docs-only] Add libvips build dependencies for macOS
2024-10-28 14:30:36 +01:00
Roman Perekhod 64d7aba1f6 Automated changelog update [skip ci] 2024-10-28 11:48:50 +00:00
Roman Perekhod a80768ea80 Merge pull request #10425 from rhafer/issue/10355
Remove 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' setting
2024-10-28 12:47:58 +01:00
Martin Mattel 31e728af10 [docs-only] Add libvips build dependencies for macOS 2024-10-28 11:33:19 +01:00
Ralf Haferkamp f48e549929 Remove 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' setting
The feature never really worked correctly and it's added value is at least
arguable.

Fixes #10355
2024-10-28 11:29:35 +01:00
Ralf Haferkamp 04c2dcd427 Revert "use secure config defaults for OCM"
This reverts commit 59589cd7d3.
2024-10-28 11:06:17 +01:00
Sawjan Gurung d91d18932d Merge pull request #10424 from owncloud/remove-todo-from-trashbin
[tests-only]removed to do comment inside Trashbin
2024-10-28 15:24:18 +05:45
Sabin 279bf0aa0f removed to do comment 2024-10-28 14:07:23 +05:45
prashant-gurung899 c0dbded19c add test to check move activities
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-10-28 11:26:00 +05:45
Sawjan Gurung 703a5264bf Merge pull request #10348 from owncloud/run-roles-with-wrapper
[tests-only][full-ci] running secure viewer role with ocis wrapper instead of running ocis with GRAPH_AVAILABLE_ROLES
2024-10-28 10:05:37 +05:45
ownClouders 3b73b56db9 [tx] updated from transifex 2024-10-28 00:06:18 +00:00
Martin 46fcd9fc28 Merge pull request #10414 from owncloud/update_services_per_release
[docs-only] Update "added services table per release"
2024-10-26 02:55:46 +02:00
Phil Davis a308f2d330 Update docs/services/general-info/added-services.md 2024-10-26 06:34:58 +05:45
Martin Mattel 9062c77944 [docs-only] Update added services table per release 2024-10-25 10:26:05 +02:00
Michael Barz 834ef6fb4d Automated changelog update [skip ci] 2024-10-25 07:53:32 +00:00
Michael Barz 2a8d7f5493 Merge pull request #10403 from owncloud/fix-put-relative
fix: add missing urls to putRelative
2024-10-25 09:52:50 +02:00
Jörn Friedrich Dreyer 1800a3fa19 Automated changelog update [skip ci] 2024-10-25 06:26:15 +00:00
Jörn Friedrich Dreyer 821d7b5fed Merge pull request #10411 from owncloud/sse-keepalive
make sse keepalive interval configurable
2024-10-25 08:25:33 +02:00
Niraj Acharya a780da88d1 running secure viewer role with ocis wrapper instead of running ocis with GRAPH_AVAILABLE_ROLES 2024-10-25 11:55:50 +05:45
Sawjan Gurung 84a9da53a4 Merge pull request #10395 from owncloud/tests-api-activities-rename-folder
[tests-only][full-ci] add test to check activities of a folder after renaming
2024-10-25 11:30:17 +05:45
Amrita 3a7014a582 Merge pull request #10413 from owncloud/update-ocm-env
[tests-only][full-ci]Add environment needed for ocm
2024-10-25 10:51:53 +05:45
Prajwol Amatya 57b9a62519 Merge pull request #10408 from owncloud/clean-upload-sessions-processing-false
[tests-only][full-ci] added test to clean upload sessions that are not in postprocessing and not infected by virus
2024-10-25 10:50:34 +05:45
amrita 65bf1048d6 add environment for ocm 2024-10-25 10:06:15 +05:45
ownClouders 7ec3ab9a12 [tx] updated from transifex 2024-10-25 00:41:45 +00:00
Michael Barz 406c8ca98d tests: add checks to unit tests 2024-10-24 22:57:21 +02:00
Michael Barz c4bd2f3987 fix: add missing urls to putRelative 2024-10-24 22:57:21 +02:00
Michael Barz 280688d95d Automated changelog update [skip ci] 2024-10-24 20:54:38 +00:00
Michael Barz 5ab4fbbb0b Merge pull request #10401 from owncloud/release-6.6.1
[full-ci] [k6-test] chore: prepare release, bump version
2024-10-24 22:54:00 +02:00
Martin 2b883012c9 Automated changelog update [skip ci] 2024-10-24 14:00:25 +00:00
Martin 52d965f6b9 Merge pull request #10391 from owncloud/collaboration_short_tokens
Collaboration short tokens
2024-10-24 15:59:26 +02:00
Martin Mattel 4d47323df4 add readme text for sse keep alive 2024-10-24 15:51:55 +02:00
Jörn Friedrich DreyerandMartin 5f9290c552 Update services/sse/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2024-10-24 15:40:40 +02:00
Jörn Friedrich Dreyer fddf50ce71 make sse keepalive interval configurable
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-24 15:21:17 +02:00
Martin Mattel 69402542a8 add changelog 2024-10-24 15:17:43 +02:00
Juan Pablo Villafáñez af178155e4 fix: change introductionVersion for the store variables 2024-10-24 14:54:51 +02:00
MartinandMichael Barz dec5d270de Update services/collaboration/README.md
Co-authored-by: Michael Barz <mbarz@owncloud.com>
2024-10-24 14:34:47 +02:00
Christian Richter 77a554d74a Merge pull request #10405 from dragonchaser/bugfix-healthchecks
avoid 0.0.0.0 & replace by outbound ip
2024-10-24 10:28:17 +00:00
Prajwol Amatya f3f53a27d9 added test to clean upload sessions that are not in postprocessing and not infected by virus 2024-10-24 15:19:25 +05:45
Christian Richter fd262970b3 simplify code
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-24 11:16:25 +02:00
Martin Mattel 6e23662a73 text fix 2024-10-24 11:07:11 +02:00
Martin Mattel 6aef66a3c1 adding readme content 2024-10-24 10:56:49 +02:00
Juan Pablo Villafáñez b3f72d7a4d chore: typos and minor consistency changes for sonarcloud 2024-10-24 09:56:54 +02:00
Christian Richter 0dc9e99761 tackle ipv6 wildcard binds
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-24 09:56:45 +02:00
Christian Richter 0cb8331284 avoid 0.0.0.0 & replace by outbound ip
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-10-24 09:13:03 +02:00
Juan Pablo Villafáñez 924f77f044 fix: adjust unit tests 2024-10-24 08:46:54 +02:00
Juan Pablo Villafáñez 6782b243ae feat: switch to md5 + timestamp
MD5 will make the token shorter. The timestamp will help to prevent
collisions since the tokens must be generated at the same nanosecond
(assuming the md5 sum generates the same hash, which is unlikely).

Using MD5 shouldn't be a security issue. The "real" access token is
already encrypted, and it's visible and accessible if short tokens
aren't used.
2024-10-24 08:46:54 +02:00
Juan Pablo Villafáñez b8f8ca813e feat: use short tokens as access tokens
The "real" access token will be stored using the short token as key.
This short token will be sent to the clients to be used as access token
for the WOPI server.

This is configurable, and requires a store in order to keep the tokens.
2024-10-24 08:46:54 +02:00
prashant-gurung899 abc512671e add test to check activities after renaming a folder
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
2024-10-24 10:41:27 +05:45
Martin 4dfba210e1 Merge pull request #10402 from owncloud/fix_antivirus_readme
[docs-only] Fix Antivirus readme
2024-10-23 17:18:46 +02:00
Martin 0a5552e60c Merge pull request #10375 from owncloud/update_gateway_readme
[docs-only] Update gateway readme
2024-10-23 17:14:42 +02:00
Martin Mattel a9c00d7d14 [docs-only] Fix Antivirus readme 2024-10-23 17:10:17 +02:00
Michael Barz e0c7609723 Automated changelog update [skip ci] 2024-10-23 15:03:58 +00:00
Michael Barz 512f062c5b Merge pull request #10399 from owncloud/web-extensions
feat: add web extensions to the ocis_full example
2024-10-23 16:58:35 +02:00
Martin a12384d58f Merge pull request #10397 from kobergj/ReplaceNext
[docs-only] Pin NEXT version
2024-10-23 16:48:02 +02:00
Martin f7771f2040 Automated changelog update [skip ci] 2024-10-23 14:37:42 +00:00
Michael BarzandMartin d65e68ff35 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2024-10-23 16:30:24 +02:00
Michael Barz 17370c2d7d feat: add web extensions to the ocis_full example 2024-10-23 16:26:19 +02:00
jkoberg cbd9addc0f docs(ocis): make docs generate
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-23 14:36:13 +02:00
jkoberg 42f18ca500 docs(ocis): pin NEXT version
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-10-23 14:35:20 +02:00
Martin Mattel f5cefed8ce use the correct envvar 2024-10-23 09:06:49 +02:00
MartinandJörn Friedrich Dreyer a67fa5a79d Update services/gateway/README.md
Co-authored-by: Jörn Friedrich Dreyer <jfd@owncloud.com>
2024-10-22 11:19:34 +02:00
Martin Mattel 4aa8a883de [docs-only] Update gateway readme 2024-10-22 11:09:36 +02:00
493 changed files with 20871 additions and 7301 deletions

No files matched your search

+1 -1
View File
@@ -1,3 +1,3 @@
# The test runner source for UI tests
WEB_COMMITID=3f933278b7085ffebfb8386037103be6865162aa
WEB_COMMITID=4c348f6a0c697fcd9862cdcbf909c255a6eec848
WEB_BRANCH=master
+102 -46
View File
@@ -5,7 +5,7 @@
# NOTE: need to be updated if new production releases are determined
# - follow semver
# - omit 'v' prefix
PRODUCTION_RELEASE_TAGS = ["5.0", "7.0.0"]
PRODUCTION_RELEASE_TAGS = ["5.0", "7.0"]
# images
ALPINE_GIT = "alpine/git:latest"
@@ -74,40 +74,93 @@ config = {
"suites": [
"apiArchiver",
"apiContract",
"apiGraph",
"apiGraphUserGroup",
"apiSpaces",
"apiSpacesShares",
"apiCors",
"apiAsyncUpload",
"apiDownloads",
"apiReshare",
"apiSpacesDavOperation",
"apiDepthInfinity",
"apiLocks",
"apiSearch1",
"apiSearch2",
"apiSharingNg1",
"apiSharingNg2",
"apiSharingNgShareInvitation",
"apiSharingNgLinkSharePermission",
"apiSharingNgLinkShareRoot",
"apiActivities",
],
"skip": False,
},
"apiAccountsHashDifficulty": {
"graph": {
"suites": [
"apiGraph",
],
"skip": False,
"withRemotePhp": [True],
},
"graphUserGroup": {
"suites": [
"apiGraphUserGroup",
],
"skip": False,
"withRemotePhp": [True],
},
"spaces": {
"suites": [
"apiSpaces",
],
"skip": False,
},
"spacesShares": {
"suites": [
"apiSpacesShares",
],
"skip": False,
},
"spacesDavOperation": {
"suites": [
"apiSpacesDavOperation",
],
"skip": False,
},
"search1": {
"suites": [
"apiSearch1",
],
"skip": False,
},
"search2": {
"suites": [
"apiSearch2",
],
"skip": False,
},
"sharingNg": {
"suites": [
"apiReshare",
"apiSharingNg1",
"apiSharingNg2",
],
"skip": False,
},
"sharingNgShareInvitation": {
"suites": [
"apiSharingNgShareInvitation",
],
"skip": False,
},
"sharingNgLinkShare": {
"suites": [
"apiSharingNgLinkSharePermission",
"apiSharingNgLinkShareRoot",
],
"skip": False,
},
"accountsHashDifficulty": {
"skip": False,
"suites": [
"apiAccountsHashDifficulty",
],
"accounts_hash_difficulty": "default",
},
"apiNotification": {
"notification": {
"suites": [
"apiNotification",
],
"skip": False,
"withRemotePhp": [True],
"emailNeeded": True,
"extraEnvironment": {
"EMAIL_HOST": "email",
@@ -121,7 +174,7 @@ config = {
"NOTIFICATIONS_SMTP_SENDER": "ownCloud <noreply@example.com>",
},
},
"apiAntivirus": {
"antivirus": {
"suites": [
"apiAntivirus",
],
@@ -135,18 +188,19 @@ config = {
"OCIS_ADD_RUN_SERVICES": "antivirus",
},
},
"apiSearchContent": {
"searchContent": {
"suites": [
"apiSearchContent",
],
"skip": False,
"tikaNeeded": True,
},
"apiOcm": {
"ocm": {
"suites": [
"apiOcm",
],
"skip": False,
"withRemotePhp": [True],
"federationServer": True,
"emailNeeded": True,
"extraEnvironment": {
@@ -167,7 +221,7 @@ config = {
"NOTIFICATIONS_SMTP_SENDER": "ownCloud <noreply@example.com>",
},
},
"apiWopi": {
"wopi": {
"suites": [
"apiCollaboration",
],
@@ -177,11 +231,12 @@ config = {
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
},
},
"cli": {
"cliCommands": {
"suites": [
"cliCommands",
],
"skip": False,
"withRemotePhp": [True],
"antivirusNeeded": True,
"extraServerEnvironment": {
"ANTIVIRUS_SCANNER_TYPE": "clamav",
@@ -192,7 +247,7 @@ config = {
},
},
"apiTests": {
"numberOfParts": 10,
"numberOfParts": 7,
"skip": False,
"skipExceptParts": [],
},
@@ -200,7 +255,7 @@ config = {
"part": {
"skip": False,
"totalParts": 4, # divide and run all suites in parts (divide pipelines)
"xsuites": ["search", "app-provider", "oidc"], # suites to skip
"xsuites": ["search", "app-provider", "oidc", "ocm"], # suites to skip
},
"search": {
"skip": False,
@@ -887,6 +942,7 @@ def localApiTestPipeline(ctx):
"federationServer": False,
"collaborationServiceNeeded": False,
"extraCollaborationEnvironment": {},
"withRemotePhp": [True, False] if ctx.build.event == "cron" else [True],
}
if "localApiTests" in config:
@@ -895,12 +951,12 @@ def localApiTestPipeline(ctx):
params = {}
for item in defaults:
params[item] = matrix[item] if item in matrix else defaults[item]
for suite in params["suites"]:
for storage in params["storages"]:
for storage in params["storages"]:
for withRemotePhp in params["withRemotePhp"]:
pipeline = {
"kind": "pipeline",
"type": "docker",
"name": "%s-Tests-%s" % ("CLI" if name.startswith("cli") else "API", suite),
"name": "%s-%s%s" % ("CLI" if name.startswith("cli") else "API", name, "-withoutRemotePhp" if not withRemotePhp else ""),
"platform": {
"os": "linux",
"arch": "amd64",
@@ -915,7 +971,7 @@ def localApiTestPipeline(ctx):
(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, suite, storage, params["extraEnvironment"]) +
localApiTests(ctx, name, params["suites"], storage, params["extraEnvironment"], withRemotePhp) +
logRequests(),
"services": (emailService() if params["emailNeeded"] else []) +
(clamavService() if params["antivirusNeeded"] else []) +
@@ -931,7 +987,7 @@ def localApiTestPipeline(ctx):
pipelines.append(pipeline)
return pipelines
def localApiTests(ctx, suite, storage, extra_environment = {}):
def localApiTests(ctx, name, suites, storage = "ocis", extra_environment = {}, with_remote_php = False):
test_dir = "%s/tests/acceptance" % dirs["base"]
expected_failures_file = "%s/expected-failures-localAPI-on-%s-storage.md" % (test_dir, storage.upper())
@@ -943,24 +999,24 @@ def localApiTests(ctx, suite, storage, extra_environment = {}):
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
"SEND_SCENARIO_LINE_REFERENCES": "true",
"STORAGE_DRIVER": storage,
"BEHAT_SUITE": suite,
"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",
"WITH_REMOTE_PHP": get_remotephp_config(ctx),
"WITH_REMOTE_PHP": with_remote_php,
}
for item in extra_environment:
environment[item] = extra_environment[item]
return [{
"name": "localApiTests-%s" % suite,
"name": "localApiTests-%s" % name,
"image": OC_CI_PHP % DEFAULT_PHP_VERSION,
"environment": environment,
"commands": [
# merge the expected failures
"" if get_remotephp_config(ctx) else "cat %s/expected-failures-without-remotephp.md >> %s" % (test_dir, expected_failures_file),
"" if with_remote_php else "cat %s/expected-failures-without-remotephp.md >> %s" % (test_dir, expected_failures_file),
"make -C %s test-acceptance-api" % (dirs["base"]),
],
}]
@@ -1116,7 +1172,7 @@ def wopiValidatorTests(ctx, storage, wopiServerType, accounts_hash_difficulty =
},
}
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", accounts_hash_difficulty = 4):
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, with_remote_php = False, storage = "ocis", accounts_hash_difficulty = 4):
filterTags = "~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS")
test_dir = "%s/tests/acceptance" % dirs["base"]
expected_failures_file = "%s/expected-failures-API-on-%s-storage.md" % (test_dir, storage.upper())
@@ -1124,7 +1180,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
return {
"kind": "pipeline",
"type": "docker",
"name": "Core-API-Tests-%s" % part_number,
"name": "Core-API-Tests-%s%s" % (part_number, "-withoutRemotePhp" if not with_remote_php else ""),
"platform": {
"os": "linux",
"arch": "amd64",
@@ -1150,11 +1206,11 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
"EXPECTED_FAILURES_FILE": expected_failures_file,
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
"OCIS_WRAPPER_URL": "http://ocis-server:5200",
"WITH_REMOTE_PHP": get_remotephp_config(ctx),
"WITH_REMOTE_PHP": with_remote_php,
},
"commands": [
# merge the expected failures
"" if get_remotephp_config(ctx) else "cat %s/expected-failures-without-remotephp.md >> %s" % (test_dir, expected_failures_file),
"" if with_remote_php else "cat %s/expected-failures-without-remotephp.md >> %s" % (test_dir, expected_failures_file),
"make -C %s test-acceptance-api" % (dirs["base"]),
],
},
@@ -1174,19 +1230,16 @@ def apiTests(ctx):
pipelines = []
debugParts = config["apiTests"]["skipExceptParts"]
debugPartsEnabled = (len(debugParts) != 0)
defaults = {
"withRemotePhp": [True, False] if ctx.build.event == "cron" else [True],
}
for runPart in range(1, config["apiTests"]["numberOfParts"] + 1):
if (not debugPartsEnabled or (debugPartsEnabled and runPart in debugParts)):
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], "ocis"))
for withRemotePhp in defaults["withRemotePhp"]:
if (not debugPartsEnabled or (debugPartsEnabled and runPart in debugParts)):
pipelines.append(coreApiTests(ctx, runPart, config["apiTests"]["numberOfParts"], withRemotePhp))
return pipelines
def get_remotephp_config(ctx):
# run tests with remote.php for PRs and commit push
# run tests without remote.php for cron jobs
if ctx.build.event == "cron":
return False
return True
def e2eTestPipeline(ctx):
defaults = {
"skip": False,
@@ -2112,7 +2165,6 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
"NATS_NATS_PORT": 9233,
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
"EVENTHISTORY_STORE": "memory",
"GRAPH_AVAILABLE_ROLES": "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,aa97fe03-7980-45ac-9e50-b325749fd7e6",
"OCIS_TRANSLATION_PATH": "%s/tests/config/translations" % dirs["base"],
}
@@ -2271,6 +2323,7 @@ def skipIfUnchanged(ctx, type):
def example_deploys(ctx):
on_merge_deploy = [
"ocis_full/master.yml",
"ocis_full/onlyoffice-master.yml",
]
nightly_deploy = [
"ocis_ldap/rolling.yml",
@@ -2936,14 +2989,17 @@ def wopiCollaborationService(name):
if name == "collabora":
environment["COLLABORATION_APP_NAME"] = "Collabora"
environment["COLLABORATION_APP_PRODUCT"] = "Collabora"
environment["COLLABORATION_APP_ADDR"] = "https://collabora:9980"
environment["COLLABORATION_APP_ICON"] = "https://collabora:9980/favicon.ico"
elif name == "onlyoffice":
environment["COLLABORATION_APP_NAME"] = "OnlyOffice"
environment["COLLABORATION_APP_PRODUCT"] = "OnlyOffice"
environment["COLLABORATION_APP_ADDR"] = "https://onlyoffice"
environment["COLLABORATION_APP_ICON"] = "https://onlyoffice/web-apps/apps/documenteditor/main/resources/img/favicon.ico"
elif name == "fakeoffice":
environment["COLLABORATION_APP_NAME"] = "FakeOffice"
environment["COLLABORATION_APP_PRODUCT"] = "Microsoft"
environment["COLLABORATION_APP_ADDR"] = "http://fakeoffice:8080"
environment["COLLABORATION_WOPI_SRC"] = "http://%s:9300" % service_name
+1
View File
@@ -66,6 +66,7 @@ linters-settings:
- github.com/egirna/icap-client
- github.com/unrolled/secure
- github.com/go-micro/plugins/v4/store/nats-js-kv
- go-micro.dev/v4
interfacebloat:
max: 15
+207 -203
View File
@@ -1,207 +1,211 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch"
},
{
"name": "Debug remote :40000",
"type": "go",
"request": "attach",
"mode": "remote",
"port": 40000
},
{
"name": "oCIS server",
"type": "go",
"request": "launch",
"mode": "debug",
"buildFlags": [
// "-tags", "enable_vips"
],
"program": "${workspaceFolder}/ocis/cmd/ocis",
"args": [
"server"
],
"env": {
// log settings for human developers
"OCIS_LOG_LEVEL": "debug",
"OCIS_LOG_PRETTY": "true",
"OCIS_LOG_COLOR": "true",
// set insecure options because we don't have valid certificates in dev environments
"OCIS_INSECURE": "true",
// enable basic auth for dev setup so that we can use curl for testing
"PROXY_ENABLE_BASIC_AUTH": "true",
// demo users
"IDM_CREATE_DEMO_USERS": "true",
// OCIS_RUN_SERVICES allows to start a subset of services even in the supervised mode
//"OCIS_RUN_SERVICES": "settings,storage-system,graph,idp,idm,ocs,store,thumbnails,web,webdav,frontend,gateway,users,groups,auth-basic,storage-authmachine,storage-users,storage-shares,storage-publiclink,storage-system,app-provider,sharing,proxy,ocdav",
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch"
},
{
"name": "Debug remote :40000",
"type": "go",
"request": "attach",
"mode": "remote",
"port": 40000
},
{
"name": "oCIS server",
"type": "go",
"request": "launch",
"mode": "debug",
"buildFlags": [
// "-tags", "enable_vips"
],
"program": "${workspaceFolder}/ocis/cmd/ocis",
"args": ["server"],
"env": {
// log settings for human developers
"OCIS_LOG_LEVEL": "debug",
"OCIS_LOG_PRETTY": "true",
"OCIS_LOG_COLOR": "true",
// set insecure options because we don't have valid certificates in dev environments
"OCIS_INSECURE": "true",
// enable basic auth for dev setup so that we can use curl for testing
"PROXY_ENABLE_BASIC_AUTH": "true",
// demo users
"IDM_CREATE_DEMO_USERS": "true",
// OCIS_RUN_SERVICES allows to start a subset of services even in the supervised mode
//"OCIS_RUN_SERVICES": "settings,storage-system,graph,idp,idm,ocs,store,thumbnails,web,webdav,frontend,gateway,users,groups,auth-basic,storage-authmachine,storage-users,storage-shares,storage-publiclink,storage-system,app-provider,sharing,proxy,ocdav",
/*
* Keep secrets and passwords in one block to allow easy uncommenting
*/
// user id of "admin", for user creation and admin role assignement
"OCIS_ADMIN_USER_ID": "some-admin-user-id-0000-000000000000", // FIXME currently must have the length of a UUID, see reva/pkg/storage/utils/decomposedfs/spaces.go:228
// admin user default password
"IDM_ADMIN_PASSWORD": "admin",
// system user
"OCIS_SYSTEM_USER_ID": "some-system-user-id-000-000000000000", // FIXME currently must have the length of a UUID, see reva/pkg/storage/utils/decomposedfs/spaces.go:228
"OCIS_SYSTEM_USER_API_KEY": "some-system-user-machine-auth-api-key",
// set some hardcoded secrets
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
"OCIS_MACHINE_AUTH_API_KEY": "some-ocis-machine-auth-api-key",
"OCIS_TRANSFER_SECRET": "some-ocis-transfer-secret",
// collaboration
"COLLABORATION_WOPIAPP_SECRET": "some-wopi-secret",
// idm ldap
"IDM_SVC_PASSWORD": "some-ldap-idm-password",
"GRAPH_LDAP_BIND_PASSWORD": "some-ldap-idm-password",
// reva ldap
"IDM_REVASVC_PASSWORD": "some-ldap-reva-password",
"GROUPS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
"USERS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
"AUTH_BASIC_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
// idp ldap
"IDM_IDPSVC_PASSWORD": "some-ldap-idp-password",
"IDP_LDAP_BIND_PASSWORD": "some-ldap-idp-password",
// storage users mount ID
"GATEWAY_STORAGE_USERS_MOUNT_ID": "storage-users-1",
"STORAGE_USERS_MOUNT_ID": "storage-users-1",
// graph application ID
"GRAPH_APPLICATION_ID": "application-1",
/*
* Keep secrets and passwords in one block to allow easy uncommenting
*/
// user id of "admin", for user creation and admin role assignement
"OCIS_ADMIN_USER_ID": "some-admin-user-id-0000-000000000000", // FIXME currently must have the length of a UUID, see reva/pkg/storage/utils/decomposedfs/spaces.go:228
// admin user default password
"IDM_ADMIN_PASSWORD": "admin",
// system user
"OCIS_SYSTEM_USER_ID": "some-system-user-id-000-000000000000", // FIXME currently must have the length of a UUID, see reva/pkg/storage/utils/decomposedfs/spaces.go:228
"OCIS_SYSTEM_USER_API_KEY": "some-system-user-machine-auth-api-key",
// set some hardcoded secrets
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
"OCIS_MACHINE_AUTH_API_KEY": "some-ocis-machine-auth-api-key",
"OCIS_TRANSFER_SECRET": "some-ocis-transfer-secret",
// collaboration
"COLLABORATION_WOPIAPP_SECRET": "some-wopi-secret",
// idm ldap
"IDM_SVC_PASSWORD": "some-ldap-idm-password",
"GRAPH_LDAP_BIND_PASSWORD": "some-ldap-idm-password",
// reva ldap
"IDM_REVASVC_PASSWORD": "some-ldap-reva-password",
"GROUPS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
"USERS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
"AUTH_BASIC_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
// idp ldap
"IDM_IDPSVC_PASSWORD": "some-ldap-idp-password",
"IDP_LDAP_BIND_PASSWORD": "some-ldap-idp-password",
// storage users mount ID
"GATEWAY_STORAGE_USERS_MOUNT_ID": "storage-users-1",
"STORAGE_USERS_MOUNT_ID": "storage-users-1",
// graph application ID
"GRAPH_APPLICATION_ID": "application-1",
// service accounts
"OCIS_SERVICE_ACCOUNT_ID": "service-account-id",
"OCIS_SERVICE_ACCOUNT_SECRET": "service-account-secret"
}
},
{
"name": "10200",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/ocis/cmd/ocis/main.go",
"args": [
"server"
],
"env": {
"OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE": "${workspaceFolder}/tests/config/drone/providers.json",
"OCM_OCM_INVITE_MANAGER_INSECURE": "true",
"OCM_OCM_SHARE_PROVIDER_INSECURE": "true",
"OCM_OCM_STORAGE_PROVIDER_INSECURE": "true",
"OCIS_BASE_DATA_PATH": "${env:HOME}/.ocis-10200",
"OCIS_CONFIG_DIR": "${env:HOME}/.ocis-10200/config",
"OCIS_EVENTS_ENDPOINT": "127.0.0.1:10233",
"OCIS_LDAP_URI": "ldaps://localhost:10235",
"OCIS_RUNTIME_PORT": "10250",
"OCIS_URL": "https://federation-ocis-server:10200",
"OCIS_ADD_RUN_SERVICES": "ocm",
"OCIS_ENABLE_OCM": "true",
"APP_PROVIDER_DEBUG_ADDR": "127.0.0.1:10165",
"APP_PROVIDER_GRPC_ADDR": "127.0.0.1:10164",
"APP_REGISTRY_DEBUG_ADDR": "127.0.0.1:10243",
"APP_REGISTRY_GRPC_ADDR": "127.0.0.1:10242",
"AUTH_BASIC_DEBUG_ADDR": "127.0.0.1:10147",
"AUTH_BASIC_GRPC_ADDR": "127.0.0.1:10146",
"AUTH_MACHINE_DEBUG_ADDR": "127.0.0.1:10167",
"AUTH_MACHINE_GRPC_ADDR": "127.0.0.1:10166",
"AUTH_SERVICE_DEBUG_ADDR": "127.0.0.1:10169",
"AUTH_SERVICE_GRPC_ADDR": "127.0.0.1:10199",
"CLIENTLOG_DEBUG_ADDR": "127.0.0.1:10260",
"ACTIVITYLOG_DEBUG_ADDR": "127.0.0.1:10261",
"EVENTHISTORY_DEBUG_ADDR": "127.0.0.1:10270",
"FRONTEND_DEBUG_ADDR": "127.0.0.1:10141",
"FRONTEND_HTTP_ADDR": "127.0.0.1:10140",
"GATEWAY_DEBUG_ADDR": "127.0.0.1:10143",
"GATEWAY_GRPC_ADDR": "127.0.0.1:10142",
"GRAPH_DEBUG_ADDR": "127.0.0.1:10124",
"GRAPH_HTTP_ADDR": "127.0.0.1:10120",
"GROUPS_DEBUG_ADDR": "127.0.0.1:10161",
"GROUPS_GRPC_ADDR": "127.0.0.1:10160",
"IDM_DEBUG_ADDR": "127.0.0.1:10239",
"IDM_LDAPS_ADDR": "127.0.0.1:10235",
"IDP_DEBUG_ADDR": "127.0.0.1:10134",
"IDP_HTTP_ADDR": "127.0.0.1:10130",
"NATS_DEBUG_ADDR": "127.0.0.1:10234",
"NATS_NATS_PORT": "10233",
"OCDAV_DEBUG_ADDR": "127.0.0.1:10163",
"OCM_DEBUG_ADDR": "127.0.0.1:10281",
"OCM_HTTP_ADDR": "127.0.0.1:10280",
"OCM_GRPC_ADDR": "127.0.0.1:10282",
"OCS_DEBUG_ADDR": "127.0.0.1:10114",
"OCS_HTTP_ADDR": "127.0.0.1:10110",
"POSTPROCESSING_DEBUG_ADDR": "127.0.0.1:10255",
"POSTPROCESSING_SERVICE_DEBUG_ADDR": "127.0.0.1:10255",
"PROXY_DEBUG_ADDR": "127.0.0.1:10205",
"PROXY_HTTP_ADDR": "127.0.0.1:10200",
"SEARCH_DEBUG_ADDR": "127.0.0.1:10224",
"SEARCH_GRPC_ADDR": "127.0.0.1:10220",
"SETTINGS_DEBUG_ADDR": "127.0.0.1:10189",
"SETTINGS_GRPC_ADDR": "127.0.0.1:10185",
"SETTINGS_HTTP_ADDR": "127.0.0.1:10186",
"SHARING_DEBUG_ADDR": "127.0.0.1:10151",
"SHARING_GRPC_ADDR": "127.0.0.1:10150",
"SSE_DEBUG_ADDR": "127.0.0.1:10135",
"STORAGE_PUBLICLINK_DEBUG_ADDR": "127.0.0.1:10179",
"STORAGE_PUBLICLINK_GRPC_ADDR": "127.0.0.1:10178",
"STORAGE_SHARES_DEBUG_ADDR": "127.0.0.1:10156",
"STORAGE_SHARES_GRPC_ADDR": "127.0.0.1:10154",
"STORAGE_SYSTEM_DATA_SERVER_URL": "http://localhost:10216/data",
"STORAGE_SYSTEM_DEBUG_ADDR": "127.0.0.1:10217",
"STORAGE_SYSTEM_GRPC_ADDR": "127.0.0.1:10215",
"STORAGE_SYSTEM_HTTP_ADDR": "127.0.0.1:10216",
"STORAGE_USERS_DEBUG_ADDR": "127.0.0.1:10159",
"STORAGE_USERS_GRPC_ADDR": "127.0.0.1:10157",
"STORAGE_USERS_HTTP_ADDR": "127.0.0.1:10158",
"STORAGE_USERS_DATA_SERVER_URL": "http://localhost:10158/data",
"STORE_DEBUG_ADDR": "127.0.0.1:10464",
"STORE_GRPC_ADDR": "127.0.0.1:10460",
"THUMBNAILS_DEBUG_ADDR": "127.0.0.1:10194",
"THUMBNAILS_GRPC_ADDR": "127.0.0.1:10191",
"THUMBNAILS_HTTP_ADDR": "127.0.0.1:10190",
"USERLOG_DEBUG_ADDR": "127.0.0.1:10210",
"USERS_DEBUG_ADDR": "127.0.0.1:10145",
"USERS_GRPC_ADDR": "127.0.0.1:10144",
"WEB_DEBUG_ADDR": "localhost:10104",
"WEB_HTTP_ADDR": "localhost:10100",
"WEBDAV_DEBUG_ADDR": "127.0.0.1:10119",
"WEBDAV_HTTP_ADDR": "127.0.0.1:10115",
"OCIS_SERVICE_ACCOUNT_ID": "serviceaccount",
"OCIS_SERVICE_ACCOUNT_SECRET": "serviceaccountsecret",
"OCIS_DECOMPOSEDFS_PROPAGATOR": "async",
"STORAGE_USERS_ASYNC_PROPAGATOR_PROPAGATION_DELAY": "10s",
"TLS_INSECURE": "true",
"OCIS_INSECURE": "true",
"IDP_ACCESS_TOKEN_EXPIRATION": "9000",
"GATEWAY_STORAGE_USERS_MOUNT_ID": "storage-users-1",
"STORAGE_USERS_MOUNT_ID": "storage-users-1",
"MICRO_REGISTRY": "memory",
"SHARING_PUBLIC_DRIVER": "jsoncs3",
"FRONTEND_OCS_RESOURCE_INFO_CACHE_TTL": "0",
"OCIS_LOG_LEVEL": "info",
"OCIS_LOG_PRETTY": "true",
"OCIS_LOG_COLOR": "true",
"PROXY_ENABLE_BASIC_AUTH": "true",
"IDM_CREATE_DEMO_USERS": "true",
"OCIS_ADMIN_USER_ID": "some-admin-user-id-0000-000000000000",
"IDM_ADMIN_PASSWORD": "admin",
"OCIS_SYSTEM_USER_ID": "some-system-user-id-000-000000000000",
"OCIS_SYSTEM_USER_API_KEY": "some-system-user-machine-auth-api-key",
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
"OCIS_MACHINE_AUTH_API_KEY": "some-ocis-machine-auth-api-key",
"OCIS_TRANSFER_SECRET": "some-ocis-transfer-secret",
"IDM_SVC_PASSWORD": "some-ldap-idm-password",
"GRAPH_LDAP_BIND_PASSWORD": "some-ldap-idm-password",
"IDM_REVASVC_PASSWORD": "some-ldap-reva-password",
"GROUPS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
"USERS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
"AUTH_BASIC_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
"IDM_IDPSVC_PASSWORD": "some-ldap-idp-password",
"IDP_LDAP_BIND_PASSWORD": "some-ldap-idp-password",
"GRAPH_APPLICATION_ID": "application-1"
}
},
]
// service accounts
"OCIS_SERVICE_ACCOUNT_ID": "service-account-id",
"OCIS_SERVICE_ACCOUNT_SECRET": "service-account-secret"
}
},
{
"name": "Fed oCIS server",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/ocis/cmd/ocis/main.go",
"args": ["server"],
"env": {
"WEB_UI_CONFIG_FILE": "${workspaceFolder}/tests/config/local/fed-ocis-web.json",
"OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE": "${workspaceFolder}/tests/config/local/providers.json",
"OCM_OCM_INVITE_MANAGER_INSECURE": "true",
"OCM_OCM_SHARE_PROVIDER_INSECURE": "true",
"OCM_OCM_STORAGE_PROVIDER_INSECURE": "true",
"OCIS_BASE_DATA_PATH": "${env:HOME}/.ocis-10200",
"OCIS_CONFIG_DIR": "${env:HOME}/.ocis-10200/config",
"OCIS_EVENTS_ENDPOINT": "127.0.0.1:10233",
"OCIS_LDAP_URI": "ldaps://localhost:10235",
"OCIS_RUNTIME_PORT": "10250",
"OCIS_URL": "https://localhost:10200",
"OCIS_ADD_RUN_SERVICES": "ocm",
"OCIS_ENABLE_OCM": "true",
"APP_PROVIDER_DEBUG_ADDR": "127.0.0.1:10165",
"APP_PROVIDER_GRPC_ADDR": "127.0.0.1:10164",
"APP_REGISTRY_DEBUG_ADDR": "127.0.0.1:10243",
"APP_REGISTRY_GRPC_ADDR": "127.0.0.1:10242",
"AUTH_BASIC_DEBUG_ADDR": "127.0.0.1:10147",
"AUTH_BASIC_GRPC_ADDR": "127.0.0.1:10146",
"AUTH_MACHINE_DEBUG_ADDR": "127.0.0.1:10167",
"AUTH_MACHINE_GRPC_ADDR": "127.0.0.1:10166",
"AUTH_SERVICE_DEBUG_ADDR": "127.0.0.1:10169",
"AUTH_SERVICE_GRPC_ADDR": "127.0.0.1:10199",
"CLIENTLOG_DEBUG_ADDR": "127.0.0.1:10260",
"ACTIVITYLOG_HTTP_ADDR": "127.0.0.1:10195",
"ACTIVITYLOG_DEBUG_ADDR": "127.0.0.1:10261",
"EVENTHISTORY_GRPC_ADDR": "127.0.0.1:10274",
"EVENTHISTORY_DEBUG_ADDR": "127.0.0.1:10270",
"FRONTEND_DEBUG_ADDR": "127.0.0.1:10141",
"FRONTEND_HTTP_ADDR": "127.0.0.1:10140",
"GATEWAY_DEBUG_ADDR": "127.0.0.1:10143",
"GATEWAY_GRPC_ADDR": "127.0.0.1:10142",
"GRAPH_DEBUG_ADDR": "127.0.0.1:10124",
"GRAPH_HTTP_ADDR": "127.0.0.1:10120",
"GROUPS_DEBUG_ADDR": "127.0.0.1:10161",
"GROUPS_GRPC_ADDR": "127.0.0.1:10160",
"IDM_DEBUG_ADDR": "127.0.0.1:10239",
"IDM_LDAPS_ADDR": "127.0.0.1:10235",
"IDP_DEBUG_ADDR": "127.0.0.1:10134",
"IDP_HTTP_ADDR": "127.0.0.1:10130",
"NATS_DEBUG_ADDR": "127.0.0.1:10234",
"NATS_NATS_PORT": "10233",
"OCDAV_HTTP_ADDR": "127.0.0.1:10350",
"OCDAV_DEBUG_ADDR": "127.0.0.1:10163",
"OCM_DEBUG_ADDR": "127.0.0.1:10281",
"OCM_HTTP_ADDR": "127.0.0.1:10280",
"OCM_GRPC_ADDR": "127.0.0.1:10282",
"OCS_DEBUG_ADDR": "127.0.0.1:10114",
"OCS_HTTP_ADDR": "127.0.0.1:10110",
"POSTPROCESSING_DEBUG_ADDR": "127.0.0.1:10255",
"POSTPROCESSING_SERVICE_DEBUG_ADDR": "127.0.0.1:10255",
"PROXY_DEBUG_ADDR": "127.0.0.1:10205",
"PROXY_HTTP_ADDR": "127.0.0.1:10200",
"SEARCH_DEBUG_ADDR": "127.0.0.1:10224",
"SEARCH_GRPC_ADDR": "127.0.0.1:10220",
"SETTINGS_DEBUG_ADDR": "127.0.0.1:10189",
"SETTINGS_GRPC_ADDR": "127.0.0.1:10185",
"SETTINGS_HTTP_ADDR": "127.0.0.1:10186",
"SHARING_DEBUG_ADDR": "127.0.0.1:10151",
"SHARING_GRPC_ADDR": "127.0.0.1:10150",
"SSE_HTTP_ADDR": "127.0.0.1:10132",
"SSE_DEBUG_ADDR": "127.0.0.1:10135",
"STORAGE_PUBLICLINK_DEBUG_ADDR": "127.0.0.1:10179",
"STORAGE_PUBLICLINK_GRPC_ADDR": "127.0.0.1:10178",
"STORAGE_SHARES_DEBUG_ADDR": "127.0.0.1:10156",
"STORAGE_SHARES_GRPC_ADDR": "127.0.0.1:10154",
"STORAGE_SYSTEM_DATA_SERVER_URL": "http://localhost:10216/data",
"STORAGE_SYSTEM_DEBUG_ADDR": "127.0.0.1:10217",
"STORAGE_SYSTEM_GRPC_ADDR": "127.0.0.1:10215",
"STORAGE_SYSTEM_HTTP_ADDR": "127.0.0.1:10216",
"STORAGE_USERS_DEBUG_ADDR": "127.0.0.1:10159",
"STORAGE_USERS_GRPC_ADDR": "127.0.0.1:10157",
"STORAGE_USERS_HTTP_ADDR": "127.0.0.1:10158",
"STORAGE_USERS_DATA_SERVER_URL": "http://localhost:10158/data",
"STORE_DEBUG_ADDR": "127.0.0.1:10464",
"STORE_GRPC_ADDR": "127.0.0.1:10460",
"THUMBNAILS_DEBUG_ADDR": "127.0.0.1:10194",
"THUMBNAILS_GRPC_ADDR": "127.0.0.1:10191",
"THUMBNAILS_HTTP_ADDR": "127.0.0.1:10190",
"USERLOG_HTTP_ADDR": "127.0.0.1:10211",
"USERLOG_DEBUG_ADDR": "127.0.0.1:10210",
"USERS_DEBUG_ADDR": "127.0.0.1:10145",
"USERS_GRPC_ADDR": "127.0.0.1:10144",
"WEB_DEBUG_ADDR": "localhost:10104",
"WEB_HTTP_ADDR": "localhost:10100",
"WEBDAV_DEBUG_ADDR": "127.0.0.1:10119",
"WEBDAV_HTTP_ADDR": "127.0.0.1:10115",
"WEBFINGER_DEBUG_ADDR": "127.0.0.1:10279",
"WEBFINGER_HTTP_ADDR": "127.0.0.1:10275",
"OCIS_SERVICE_ACCOUNT_ID": "serviceaccount",
"OCIS_SERVICE_ACCOUNT_SECRET": "serviceaccountsecret",
"OCIS_DECOMPOSEDFS_PROPAGATOR": "async",
"STORAGE_USERS_ASYNC_PROPAGATOR_PROPAGATION_DELAY": "10s",
"TLS_INSECURE": "true",
"OCIS_INSECURE": "true",
"IDP_ACCESS_TOKEN_EXPIRATION": "9000",
"GATEWAY_STORAGE_USERS_MOUNT_ID": "storage-users-1",
"STORAGE_USERS_MOUNT_ID": "storage-users-1",
"MICRO_REGISTRY": "memory",
"SHARING_PUBLIC_DRIVER": "jsoncs3",
"FRONTEND_OCS_RESOURCE_INFO_CACHE_TTL": "0",
"OCIS_LOG_LEVEL": "info",
"OCIS_LOG_PRETTY": "true",
"OCIS_LOG_COLOR": "true",
"PROXY_ENABLE_BASIC_AUTH": "true",
"IDM_CREATE_DEMO_USERS": "true",
"OCIS_ADMIN_USER_ID": "some-admin-user-id-0000-000000000000",
"IDM_ADMIN_PASSWORD": "admin",
"OCIS_SYSTEM_USER_ID": "some-system-user-id-000-000000000000",
"OCIS_SYSTEM_USER_API_KEY": "some-system-user-machine-auth-api-key",
"OCIS_JWT_SECRET": "some-ocis-jwt-secret",
"OCIS_MACHINE_AUTH_API_KEY": "some-ocis-machine-auth-api-key",
"OCIS_TRANSFER_SECRET": "some-ocis-transfer-secret",
"IDM_SVC_PASSWORD": "some-ldap-idm-password",
"GRAPH_LDAP_BIND_PASSWORD": "some-ldap-idm-password",
"IDM_REVASVC_PASSWORD": "some-ldap-reva-password",
"GROUPS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
"USERS_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
"AUTH_BASIC_LDAP_BIND_PASSWORD": "some-ldap-reva-password",
"IDM_IDPSVC_PASSWORD": "some-ldap-idp-password",
"IDP_LDAP_BIND_PASSWORD": "some-ldap-idp-password",
"GRAPH_APPLICATION_ID": "application-1"
}
}
]
}
+341 -25
View File
@@ -1,6 +1,8 @@
# Table of Contents
* [Changelog for unreleased](#changelog-for-unreleased-unreleased)
* [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 6.4.0](#changelog-for-640-2024-09-12)
@@ -26,8 +28,8 @@
* [Changelog for 3.0.0](#changelog-for-300-2023-06-06)
* [Changelog for 2.0.0](#changelog-for-200-2022-11-30)
* [Changelog for 1.20.0](#changelog-for-1200-2022-04-13)
* [Changelog for 1.19.1](#changelog-for-1191-2022-03-29)
* [Changelog for 1.19.0](#changelog-for-1190-2022-03-29)
* [Changelog for 1.19.1](#changelog-for-1191-2022-03-29)
* [Changelog for 1.18.0](#changelog-for-1180-2022-03-03)
* [Changelog for 1.17.0](#changelog-for-1170-2022-02-16)
* [Changelog for 1.16.0](#changelog-for-1160-2021-12-10)
@@ -52,16 +54,316 @@
The following sections list the changes for unreleased.
[unreleased]: https://github.com/owncloud/ocis/compare/v6.6.0...master
[unreleased]: https://github.com/owncloud/ocis/compare/v7.0.0-rc.1...master
## Summary
* Bugfix - Fix idp guest role default assignment: [#10511](https://github.com/owncloud/ocis/pull/10511)
* Bugfix - Remove mbreaker: [#10524](https://github.com/owncloud/ocis/pull/10524)
* Bugfix - Bump Reva to v2.26.5: [#10552](https://github.com/owncloud/ocis/pull/10552)
## Details
* Bugfix - Fix idp guest role default assignment: [#10511](https://github.com/owncloud/ocis/pull/10511)
We fixed an idp guest role default assignment.
https://github.com/owncloud/ocis/issues/10474
https://github.com/owncloud/ocis/pull/10511
* Bugfix - Remove mbreaker: [#10524](https://github.com/owncloud/ocis/pull/10524)
The circuit breaker is not handle correctly and leads therefore to more issues
than it solves. We removed it.
https://github.com/owncloud/ocis/pull/10524
* Bugfix - Bump Reva to v2.26.5: [#10552](https://github.com/owncloud/ocis/pull/10552)
* Fix [cs3org/reva#4926](https://github.com/cs3org/reva/issues/4926): Make etag always match content on downloads
* Fix [cs3org/reva#4920](https://github.com/cs3org/reva/issues/4920): Return correct status codes for simple uploads
* Fix [cs3org/reva#4924](https://github.com/cs3org/reva/issues/4924): Fix sync propagation
* Fix [cs3org/reva#4916](https://github.com/cs3org/reva/issues/4916): Improve posixfs stability and performanc
https://github.com/owncloud/ocis/pull/10552
https://github.com/owncloud/ocis/pull/10539
# Changelog for [7.0.0-rc.1] (2024-11-07)
The following sections list the changes for 7.0.0-rc.1.
[7.0.0-rc.1]: https://github.com/owncloud/ocis/compare/v6.6.1...v7.0.0-rc.1
## Summary
* Bugfix - Generate short tokens to be used as access tokens for WOPI: [#10391](https://github.com/owncloud/ocis/pull/10391)
* Bugfix - Fix put relative wopi operation for microsoft: [#10403](https://github.com/owncloud/ocis/pull/10403)
* Bugfix - Make SSE keepalive interval configurable: [#10411](https://github.com/owncloud/ocis/pull/10411)
* Bugfix - Removed 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' setting: [#10425](https://github.com/owncloud/ocis/pull/10425)
* Bugfix - Micro registry cache fixes: [#10429](https://github.com/owncloud/ocis/pull/10429)
* Bugfix - Fix the memlimit loglevel: [#10433](https://github.com/owncloud/ocis/pull/10433)
* Bugfix - Restart Postprocessing properly: [#10439](https://github.com/owncloud/ocis/pull/10439)
* Bugfix - Allow to configure data server URL for ocm: [#10440](https://github.com/owncloud/ocis/pull/10440)
* Bugfix - Respect proxy url when validating proofkeys: [#10462](https://github.com/owncloud/ocis/pull/10462)
* Bugfix - Return wopi lock header in get lock response: [#10470](https://github.com/owncloud/ocis/pull/10470)
* Bugfix - 'ocis backup consistency' fixed for file revisions: [#10493](https://github.com/owncloud/ocis/pull/10493)
* Bugfix - Wait for services to be ready before registering them: [#10498](https://github.com/owncloud/ocis/pull/10498)
* Bugfix - Fix 0-byte file uploads: [#10500](https://github.com/owncloud/ocis/pull/10500)
* Bugfix - Fixed `sharedWithMe` response for OCM shares: [#10501](https://github.com/owncloud/ocis/pull/10501)
* Bugfix - Fix gateway nats checks: [#10502](https://github.com/owncloud/ocis/pull/10502)
* Enhancement - Create thumbnails for GGP MIME types: [#10304](https://github.com/owncloud/ocis/pull/10304)
* Enhancement - Include a product name in the collaboration service: [#10335](https://github.com/owncloud/ocis/pull/10335)
* Enhancement - Add web extensions to the ocis_full example: [#10399](https://github.com/owncloud/ocis/pull/10399)
* Enhancement - Bump reva to 2.26.4: [#10419](https://github.com/owncloud/ocis/pull/10419)
* Enhancement - Remove deprecated CLI commands: [#10432](https://github.com/owncloud/ocis/pull/10432)
* Enhancement - Bump cs3api: [#10449](https://github.com/owncloud/ocis/pull/10449)
* Enhancement - Update web to v11.0.2: [#10467](https://github.com/owncloud/ocis/pull/10467)
* Enhancement - Bump reva to latest: [#10472](https://github.com/owncloud/ocis/pull/10472)
* Enhancement - Concurrent userlog processing: [#10504](https://github.com/owncloud/ocis/pull/10504)
* Enhancement - Concurrent autoaccept for shares: [#10507](https://github.com/owncloud/ocis/pull/10507)
## Details
* Bugfix - Generate short tokens to be used as access tokens for WOPI: [#10391](https://github.com/owncloud/ocis/pull/10391)
Currently, the access tokens being used might be too long. In particular,
Microsoft Office Online complains about the URL (which contains the access
token) is too long and refuses to work.
https://github.com/owncloud/ocis/pull/10391
* Bugfix - Fix put relative wopi operation for microsoft: [#10403](https://github.com/owncloud/ocis/pull/10403)
We fixed a bug in the put relative wopi operation for microsoft. The response
now contains the correct properties.
https://github.com/owncloud/ocis/pull/10403
* Bugfix - Make SSE keepalive interval configurable: [#10411](https://github.com/owncloud/ocis/pull/10411)
To prevent intermediate proxies from closing the SSE connection admins can now
configure a `SSE_KEEPALIVE_INTERVAL`.
https://github.com/owncloud/ocis/pull/10411
* Bugfix - Removed 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' setting: [#10425](https://github.com/owncloud/ocis/pull/10425)
The config option 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' was
removed from the OCM service. The additional security provided by this setting
is somewhat questionable and only provided in very specific setups.
We are not going through the normal deprecation process for this setting, as it
was never really working anyway. If you have this setting in your configuration,
it will be ignored. You can safely remove it.
https://github.com/owncloud/ocis/issues/10355
https://github.com/owncloud/ocis/pull/10425
* Bugfix - Micro registry cache fixes: [#10429](https://github.com/owncloud/ocis/pull/10429)
We now invalidate cache entries when any of the nodes was not updated.
https://github.com/owncloud/ocis/pull/10429
* Bugfix - Fix the memlimit loglevel: [#10433](https://github.com/owncloud/ocis/pull/10433)
We set the memlimit default loglevel to error.
https://github.com/owncloud/ocis/issues/10427
https://github.com/owncloud/ocis/pull/10433
* 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
* Bugfix - Allow to configure data server URL for ocm: [#10440](https://github.com/owncloud/ocis/pull/10440)
We introduced the `OCM_OCM_STORAGE_DATA_SERVER_URL` setting to fix a bug when
downloading files from an OCM share. Before the data server URL defaulted to the
listen address of the OCM server, which did not work when using 0.0.0.0 as the
listen address.
https://github.com/owncloud/ocis/issues/10358
https://github.com/owncloud/ocis/pull/10440
* Bugfix - Respect proxy url when validating proofkeys: [#10462](https://github.com/owncloud/ocis/pull/10462)
We fixed a bug where the proxied wopi URL was not used when validating
proofkeys. This caused the validation to fail when the proxy was used.
https://github.com/owncloud/ocis/pull/10462
* Bugfix - Return wopi lock header in get lock response: [#10470](https://github.com/owncloud/ocis/pull/10470)
We fixed a bug where the wopi lock header was not returned in the get lock
response. This is now fixed and the wopi validator tests are passing.
https://github.com/owncloud/ocis/pull/10470
* Bugfix - 'ocis backup consistency' fixed for file revisions: [#10493](https://github.com/owncloud/ocis/pull/10493)
A bug was fixed that caused the 'ocis backup consistency' command to incorrectly
report inconistencies when file revisions with a zero value for the nano-second
part of the timestamp were present.
https://github.com/owncloud/ocis/issues/9498
https://github.com/owncloud/ocis/pull/10493
* Bugfix - Wait for services to be ready before registering them: [#10498](https://github.com/owncloud/ocis/pull/10498)
https://github.com/owncloud/ocis/pull/10498
* Bugfix - Fix 0-byte file uploads: [#10500](https://github.com/owncloud/ocis/pull/10500)
We fixed an issue where 0-byte files upload did not return the Location header.
https://github.com/owncloud/ocis/issues/10469
https://github.com/owncloud/ocis/pull/10500
* Bugfix - Fixed `sharedWithMe` response for OCM shares: [#10501](https://github.com/owncloud/ocis/pull/10501)
OCM shares returned in the `sharedWithMe` response did not have the `mimeType`
property populated correctly.
https://github.com/owncloud/ocis/issues/10495
https://github.com/owncloud/ocis/pull/10501
* Bugfix - Fix gateway nats checks: [#10502](https://github.com/owncloud/ocis/pull/10502)
We now only check if nats is available when the gateway actually uses it.
Furthermore, we added a backoff for checking the readys endpoint.
https://github.com/owncloud/ocis/pull/10502
* Enhancement - Create thumbnails for GGP MIME types: [#10304](https://github.com/owncloud/ocis/pull/10304)
Creates thumbnails for newly added ggp files
https://github.com/owncloud/ocis/pull/10304
* Enhancement - Include a product name in the collaboration service: [#10335](https://github.com/owncloud/ocis/pull/10335)
The product name will allow using a different app name. For example, a "CoolBox"
app name might use a branded Collabora instance by using "Collabora" as product
name.
https://github.com/owncloud/ocis/pull/10335
https://github.com/owncloud/ocis/pull/10490
* Enhancement - Add web extensions to the ocis_full example: [#10399](https://github.com/owncloud/ocis/pull/10399)
We added some of the web extensions from ownCloud to the ocis_full docker
compose example.
- importer - draw-io - external-sites - json-viewer - unzip - progressbars
These can be enabled in the .env file one by one.
Read more about ocis extensions in
https://github.com/owncloud/web-extensions/blob/main/README.md
https://github.com/owncloud/ocis/pull/10399
* Enhancement - Bump reva to 2.26.4: [#10419](https://github.com/owncloud/ocis/pull/10419)
* Bugfix [cs3org/reva#4917](https://github.com/cs3org/reva/pull/4917): Fix 0-byte file uploads
* Bugfix [cs3org/reva#4918](https://github.com/cs3org/reva/pull/4918): Fix app templates
Bump reva to 2.26.3
* Bugfix [cs3org/reva#4908](https://github.com/cs3org/reva/pull/4908): Add checksum to OCM storageprovider responses
* Enhancement [cs3org/reva#4910](https://github.com/cs3org/reva/pull/4910): Bump cs3api
* Enhancement [cs3org/reva#4909](https://github.com/cs3org/reva/pull/4909): Bump cs3api
* Enhancement [cs3org/reva#4906](https://github.com/cs3org/reva/pull/4906): Bump cs3api
Bump reva to 2.26.2
* Enhancement [cs3org/reva#4897](https://github.com/cs3org/reva/pull/4897): Fix remaining quota calculation
* Bugfix [cs3org/reva#4902](https://github.com/cs3org/reva/pull/4902): Fix quota calculation
https://github.com/owncloud/ocis/pull/10419
* Enhancement - Remove deprecated CLI commands: [#10432](https://github.com/owncloud/ocis/pull/10432)
We removed the following deprecated CLI commands: `ocis storage-users uploads
list` `ocis storage-users uploads clean`
https://github.com/owncloud/ocis/issues/10428
https://github.com/owncloud/ocis/pull/10432
* Enhancement - Bump cs3api: [#10449](https://github.com/owncloud/ocis/pull/10449)
https://github.com/owncloud/ocis/pull/10449
* Enhancement - Update web to v11.0.2: [#10467](https://github.com/owncloud/ocis/pull/10467)
Tags: web
We updated ownCloud Web to v11.0.2. Please refer to the changelog (linked) for
details on the web release.
- Bugfix [owncloud/web#11803](https://github.com/owncloud/web/issues/11803):
Files appearing in file list - Bugfix
[owncloud/web#11804](https://github.com/owncloud/web/pull/11804): Add missing
translations - Bugfix
[owncloud/web#11806](https://github.com/owncloud/web/issues/11806): Folder size
mismatch - Bugfix
[owncloud/web#11813](https://github.com/owncloud/web/pull/11813): Preview image
retries - Bugfix
[owncloud/web#11817](https://github.com/owncloud/web/pull/11817): Respect post
logout url - Bugfix
[owncloud/web#11830](https://github.com/owncloud/web/issues/11830): Right side
bar cut off - Bugfix
[owncloud/web#11831](https://github.com/owncloud/web/pull/11831): Sidebar
showing wrong shares - Bugfix
[owncloud/web#11853](https://github.com/owncloud/web/issues/11853): Context menu
"Open app in new tab" broken - Bugfix
[owncloud/web#11008](https://github.com/owncloud/web/issues/11008): Show lock
information in file details
https://github.com/owncloud/ocis/pull/10467
https://github.com/owncloud/ocis/pull/10503
https://github.com/owncloud/web/releases/tag/v11.0.1
https://github.com/owncloud/web/releases/tag/v11.0.2
* Enhancement - Bump reva to latest: [#10472](https://github.com/owncloud/ocis/pull/10472)
https://github.com/owncloud/ocis/pull/10472
* Enhancement - Concurrent userlog processing: [#10504](https://github.com/owncloud/ocis/pull/10504)
We now start multiple go routines that process events. The default of 5
goroutines can be changed with the new `USERLOG_MAX_CONCURRENCY` environment
variable.
https://github.com/owncloud/ocis/pull/10504
* Enhancement - Concurrent autoaccept for shares: [#10507](https://github.com/owncloud/ocis/pull/10507)
Shares for groups are now concurrently accepted. Tha default of 25 goroutinges
can be changed with the new `FRONTEND_MAX_CONCURRENCY` environment variable.
https://github.com/owncloud/ocis/pull/10507
https://github.com/owncloud/ocis/pull/10476
# Changelog for [6.6.1] (2024-10-24)
The following sections list the changes for 6.6.1.
[6.6.1]: https://github.com/owncloud/ocis/compare/v6.6.0...v6.6.1
## Summary
* Bugfix - Fix panic when stopping the nats: [#10363](https://github.com/owncloud/ocis/pull/10363)
* Bugfix - Disable download activity: [#10367](https://github.com/owncloud/ocis/pull/10367)
* Bugfix - Disable download activity: [#10368](https://github.com/owncloud/ocis/pull/10368)
* Bugfix - Fix Activitylog issues: [#10376](https://github.com/owncloud/ocis/pull/10376)
* Bugfix - Security fixes: [#10376](https://github.com/owncloud/ocis/pull/10376)
* Bugfix - Make antivirus workers configurable: [#10383](https://github.com/owncloud/ocis/pull/10383)
* Bugfix - Increase event processing workers: [#10385](https://github.com/owncloud/ocis/pull/10385)
* Bugfix - Fix envvar deprecations for next production release: [#10386](https://github.com/owncloud/ocis/pull/10386)
* Bugfix - Fix healthchecks: [#10405](https://github.com/owncloud/ocis/pull/10405)
## Details
@@ -73,12 +375,12 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/issues/10360
https://github.com/owncloud/ocis/pull/10363
* Bugfix - Disable download activity: [#10367](https://github.com/owncloud/ocis/pull/10367)
* Bugfix - Disable download activity: [#10368](https://github.com/owncloud/ocis/pull/10368)
We disable the download activity until we have a proper solution for it.
https://github.com/owncloud/ocis/issues/10293
https://github.com/owncloud/ocis/pull/10367
https://github.com/owncloud/ocis/pull/10368
* Bugfix - Fix Activitylog issues: [#10376](https://github.com/owncloud/ocis/pull/10376)
@@ -110,6 +412,20 @@ The following sections list the changes for unreleased.
https://github.com/owncloud/ocis/pull/10385
https://github.com/owncloud/ocis/pull/10368
* Bugfix - Fix envvar deprecations for next production release: [#10386](https://github.com/owncloud/ocis/pull/10386)
Some envvar deprecations were incomplete. One was missed to be removed, one had
missing information.
https://github.com/owncloud/ocis/pull/10386
* Bugfix - Fix healthchecks: [#10405](https://github.com/owncloud/ocis/pull/10405)
We needed to replace 0.0.0.0 bind addresses by outbound IP addresses in the
healthcheck routine.
https://github.com/owncloud/ocis/pull/10405
# Changelog for [6.6.0] (2024-10-21)
The following sections list the changes for 6.6.0.
@@ -10097,7 +10413,7 @@ The following sections list the changes for 2.0.0.
The following sections list the changes for 1.20.0.
[1.20.0]: https://github.com/owncloud/ocis/compare/v1.19.1...v1.20.0
[1.20.0]: https://github.com/owncloud/ocis/compare/v1.19.0...v1.20.0
## Summary
@@ -10271,29 +10587,11 @@ The following sections list the changes for 1.20.0.
https://github.com/owncloud/ocis/pull/3509
https://github.com/owncloud/web/releases/tag/v5.4.0
# Changelog for [1.19.1] (2022-03-29)
The following sections list the changes for 1.19.1.
[1.19.1]: https://github.com/owncloud/ocis/compare/v1.19.0...v1.19.1
## Summary
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
## Details
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
URLs for Special items (space image, readme) were broken.
https://github.com/owncloud/ocis/pull/3419
# Changelog for [1.19.0] (2022-03-29)
The following sections list the changes for 1.19.0.
[1.19.0]: https://github.com/owncloud/ocis/compare/v1.18.0...v1.19.0
[1.19.0]: https://github.com/owncloud/ocis/compare/v1.19.1...v1.19.0
## Summary
@@ -10467,6 +10765,24 @@ The following sections list the changes for 1.19.0.
https://github.com/owncloud/ocis/pull/3375
https://github.com/owncloud/web/releases/tag/v5.3.0
# Changelog for [1.19.1] (2022-03-29)
The following sections list the changes for 1.19.1.
[1.19.1]: https://github.com/owncloud/ocis/compare/v1.18.0...v1.19.1
## Summary
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
## Details
* Bugfix - Return correct special item urls: [#3419](https://github.com/owncloud/ocis/pull/3419)
URLs for Special items (space image, readme) were broken.
https://github.com/owncloud/ocis/pull/3419
# Changelog for [1.18.0] (2022-03-03)
The following sections list the changes for 1.18.0.
@@ -0,0 +1,3 @@
Enhancement: Bump cs3api
https://github.com/owncloud/ocis/pull/10449
@@ -0,0 +1,3 @@
Enhancement: Bump reva to latest
https://github.com/owncloud/ocis/pull/10472
@@ -0,0 +1,19 @@
Enhancement: Bump reva to 2.26.4
* Bugfix [cs3org/reva#4917](https://github.com/cs3org/reva/pull/4917): Fix 0-byte file uploads
* Bugfix [cs3org/reva#4918](https://github.com/cs3org/reva/pull/4918): Fix app templates
Bump reva to 2.26.3
* Bugfix [cs3org/reva#4908](https://github.com/cs3org/reva/pull/4908): Add checksum to OCM storageprovider responses
* Enhancement [cs3org/reva#4910](https://github.com/cs3org/reva/pull/4910): Bump cs3api
* Enhancement [cs3org/reva#4909](https://github.com/cs3org/reva/pull/4909): Bump cs3api
* Enhancement [cs3org/reva#4906](https://github.com/cs3org/reva/pull/4906): Bump cs3api
Bump reva to 2.26.2
* Enhancement [cs3org/reva#4897](https://github.com/cs3org/reva/pull/4897): Fix remaining quota calculation
* Bugfix [cs3org/reva#4902](https://github.com/cs3org/reva/pull/4902): Fix quota calculation
https://github.com/owncloud/ocis/pull/10419
@@ -0,0 +1,7 @@
Enhancement: Include a product name in the collaboration service
The product name will allow using a different app name.
For example, a "CoolBox" app name might use a branded Collabora instance by using "Collabora" as product name.
https://github.com/owncloud/ocis/pull/10335
https://github.com/owncloud/ocis/pull/10490
@@ -0,0 +1,7 @@
Bugfix: Generate short tokens to be used as access tokens for WOPI
Currently, the access tokens being used might be too long.
In particular, Microsoft Office Online complains about the URL (which contains the access token)
is too long and refuses to work.
https://github.com/owncloud/ocis/pull/10391
@@ -0,0 +1,6 @@
Enhancement: Concurrent autoaccept for shares
Shares for groups are now concurrently accepted. Tha default of 25 goroutinges can be changed with the new `FRONTEND_MAX_CONCURRENCY` environment variable.
https://github.com/owncloud/ocis/pull/10507
https://github.com/owncloud/ocis/pull/10476
@@ -0,0 +1,5 @@
Enhancement: Concurrent userlog processing
We now start multiple go routines that process events. The default of 5 goroutines can be changed with the new `USERLOG_MAX_CONCURRENCY` environment variable.
https://github.com/owncloud/ocis/pull/10504
@@ -0,0 +1,6 @@
Bugfix: Fix 0-byte file uploads
We fixed an issue where 0-byte files upload did not return the Location header.
https://github.com/owncloud/ocis/pull/10500
https://github.com/owncloud/ocis/issues/10469
@@ -0,0 +1,8 @@
Bugfix: 'ocis backup consistency' fixed for file revisions
A bug was fixed that caused the 'ocis backup consistency' command to incorrectly report
inconistencies when file revisions with a zero value for the nano-second part of the
timestamp were present.
https://github.com/owncloud/ocis/pull/10493
https://github.com/owncloud/ocis/issues/9498
@@ -0,0 +1,5 @@
Bugfix: fix gateway nats checks
We now only check if nats is available when the gateway actually uses it. Furthermore, we added a backoff for checking the readys endpoint.
https://github.com/owncloud/ocis/pull/10502
@@ -0,0 +1,5 @@
Bugfix: Return wopi lock header in get lock response
We fixed a bug where the wopi lock header was not returned in the get lock response. This is now fixed and the wopi validator tests are passing.
https://github.com/owncloud/ocis/pull/10470
@@ -0,0 +1,6 @@
Bugfix: Fix the memlimit loglevel
We set the memlimit default loglevel to error.
https://github.com/owncloud/ocis/pull/10433
https://github.com/owncloud/ocis/issues/10427
@@ -0,0 +1,10 @@
Bugfix: Allow to configure data server URL for ocm
We introduced the `OCM_OCM_STORAGE_DATA_SERVER_URL` setting to fix a bug
when downloading files from an OCM share. Before the data server URL defaulted
to the listen address of the OCM server, which did not work when using
0.0.0.0 as the listen address.
https://github.com/owncloud/ocis/pull/10440
https://github.com/owncloud/ocis/issues/10358
@@ -0,0 +1,7 @@
Bugfix: Fixed `sharedWithMe` response for OCM shares
OCM shares returned in the `sharedWithMe` response did not have the `mimeType` property
populated correctly.
https://github.com/owncloud/ocis/pull/10501
https://github.com/owncloud/ocis/issues/10495
@@ -0,0 +1,5 @@
Bugfix: Respect proxy url when validating proofkeys
We fixed a bug where the proxied wopi URL was not used when validating proofkeys. This caused the validation to fail when the proxy was used.
https://github.com/owncloud/ocis/pull/10462
@@ -0,0 +1,5 @@
Bugfix: Fix put relative wopi operation for microsoft
We fixed a bug in the put relative wopi operation for microsoft. The response now contains the correct properties.
https://github.com/owncloud/ocis/pull/10403
@@ -0,0 +1,12 @@
Bugfix: Removed 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' setting
The config option 'OCM_OCM_PROVIDER_AUTHORIZER_VERIFY_REQUEST_HOSTNAME' was
removed from the OCM service. The additional security provided by this setting
is somewhat questionable and only provided in very specific setups.
We are not going through the normal deprecation process for this setting, as it
was never really working anyway. If you have this setting in your configuration,
it will be ignored. You can safely remove it.
https://github.com/owncloud/ocis/pull/10425
https://github.com/owncloud/ocis/issues/10355
@@ -0,0 +1,5 @@
Enhancement: Create thumbnails for GGP MIME types
Creates thumbnails for newly added ggp files
https://github.com/owncloud/ocis/pull/10304
@@ -0,0 +1,3 @@
Bugfix: wait for services to be ready before registering them
https://github.com/owncloud/ocis/pull/10498
@@ -0,0 +1,5 @@
Bugfix: Micro registry cache fixes
We now invalidate cache entries when any of the nodes was not updated.
https://github.com/owncloud/ocis/pull/10429
@@ -0,0 +1,8 @@
Enhancement: Remove deprecated CLI commands
We removed the following deprecated CLI commands:
`ocis storage-users uploads list`
`ocis storage-users uploads clean`
https://github.com/owncloud/ocis/pull/10432
https://github.com/owncloud/ocis/issues/10428
@@ -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,5 @@
Bugfix: make SSE keepalive interval configurable
To prevent intermediate proxies from closing the SSE connection admins can now configure a `SSE_KEEPALIVE_INTERVAL`.
https://github.com/owncloud/ocis/pull/10411
@@ -0,0 +1,20 @@
Enhancement: Update web to v11.0.2
Tags: web
We updated ownCloud Web to v11.0.2. Please refer to the changelog (linked) for details on the web release.
- Bugfix [owncloud/web#11803](https://github.com/owncloud/web/issues/11803): Files appearing in file list
- Bugfix [owncloud/web#11804](https://github.com/owncloud/web/pull/11804): Add missing translations
- Bugfix [owncloud/web#11806](https://github.com/owncloud/web/issues/11806): Folder size mismatch
- Bugfix [owncloud/web#11813](https://github.com/owncloud/web/pull/11813): Preview image retries
- Bugfix [owncloud/web#11817](https://github.com/owncloud/web/pull/11817): Respect post logout url
- Bugfix [owncloud/web#11830](https://github.com/owncloud/web/issues/11830): Right side bar cut off
- Bugfix [owncloud/web#11831](https://github.com/owncloud/web/pull/11831): Sidebar showing wrong shares
- Bugfix [owncloud/web#11853](https://github.com/owncloud/web/issues/11853): Context menu "Open app in new tab" broken
- Bugfix [owncloud/web#11008](https://github.com/owncloud/web/issues/11008): Show lock information in file details
https://github.com/owncloud/ocis/pull/10467
https://github.com/owncloud/ocis/pull/10503
https://github.com/owncloud/web/releases/tag/v11.0.1
https://github.com/owncloud/web/releases/tag/v11.0.2
@@ -0,0 +1,16 @@
Enhancement: Add web extensions to the ocis_full example
We added some of the web extensions from ownCloud to the ocis_full docker compose example.
- importer
- draw-io
- external-sites
- json-viewer
- unzip
- progressbars
These can be enabled in the .env file one by one.
Read more about ocis extensions in https://github.com/owncloud/web-extensions/blob/main/README.md
https://github.com/owncloud/ocis/pull/10399
@@ -0,0 +1,9 @@
Bugfix: Bump Reva to v2.26.5
* Fix [cs3org/reva#4926](https://github.com/cs3org/reva/issues/4926): Make etag always match content on downloads
* Fix [cs3org/reva#4920](https://github.com/cs3org/reva/issues/4920): Return correct status codes for simple uploads
* Fix [cs3org/reva#4924](https://github.com/cs3org/reva/issues/4924): Fix sync propagation
* Fix [cs3org/reva#4916](https://github.com/cs3org/reva/issues/4916): Improve posixfs stability and performanc
https://github.com/owncloud/ocis/pull/10552
https://github.com/owncloud/ocis/pull/10539
@@ -0,0 +1,6 @@
Bugfix: Fix idp guest role default assignment
We fixed an idp guest role default assignment.
https://github.com/owncloud/ocis/pull/10511
https://github.com/owncloud/ocis/issues/10474
@@ -0,0 +1,5 @@
Bugfix: Remove mbreaker
The circuit breaker is not handle correctly and leads therefore to more issues than it solves. We removed it.
https://github.com/owncloud/ocis/pull/10524
@@ -41,7 +41,7 @@
COLLABORA_DOMAIN: collabora.ocis.master.owncloud.works
INBUCKET_DOMAIN: mail.ocis.master.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:collabora.yml:cloudimporter.yml:inbucket.yml:monitoring_tracing/monitoring.yml
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:collabora.yml:web_extensions/extensions.yml:web_extensions/unzip.yml:web_extensions/importer.yml:inbucket.yml:monitoring_tracing/monitoring.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
ref: master
@@ -0,0 +1,54 @@
---
- name: continuous-deployment-ocis-onlyoffice-master
server:
server_type: cx22
image: ubuntu-24.04
location: nbg1
initial_ssh_key_names:
- owncloud-ocis@drone.owncloud.com
labels:
owner: ocis-team
for: oCIS-continuous-deployment-examples
rebuild: $REBUILD
rebuild_carry_paths:
- /var/lib/docker/volumes/ocis_certs
domains:
- "*.ocis-onlyoffice.master.owncloud.works"
vars:
ssh_authorized_keys:
- https://github.com/butonic.keys
- 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
git_url: https://github.com/owncloud/ocis.git
ref: master
docker_compose_path: deployments/examples/ocis_full
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: mbarz@owncloud.com
OCIS_DOCKER_TAG: master
OCIS_DOCKER_IMAGE: owncloud/ocis-rolling
OCIS_DOMAIN: ocis.ocis-onlyoffice.master.owncloud.works
COMPANION_DOMAIN: companion.ocis-onlyoffice.master.owncloud.works
COMPANION_IMAGE: owncloud/uppy-companion:3.12.13-owncloud
WOPISERVER_ONLYOFFICE_DOMAIN: wopiserver-oo.ocis-onlyoffice.master.owncloud.works
ONLYOFFICE_DOMAIN: onlyoffice.ocis-onlyoffice.master.owncloud.works
INBUCKET_DOMAIN: mail.ocis-onlyoffice.master.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:onlyoffice.yml:web_extensions/extensions.yml:web_extensions/unzip.yml:web_extensions/importer.yml:inbucket.yml:monitoring_tracing/monitoring-oo.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
ref: master
env:
NETWORK_NAME: ocis-net
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-onlyoffice.master.owncloud.works
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
TELEGRAF_SPECIFIC_CONFIG: ocis_onlyoffice
OCIS_URL: ocis.ocis-onlyoffice.master.owncloud.works
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-onlyoffice-master
@@ -41,7 +41,7 @@
ONLYOFFICE_DOMAIN: onlyoffice.ocis-onlyoffice.rolling.owncloud.works
INBUCKET_DOMAIN: mail.ocis-onlyoffice.rolling.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:onlyoffice.yml:cloudimporter.yml:inbucket.yml:monitoring_tracing/monitoring-oo.yml
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:onlyoffice.yml:web_extensions/extensions.yml:web_extensions/unzip.yml:web_extensions/importer.yml:inbucket.yml:monitoring_tracing/monitoring-oo.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
ref: master
@@ -41,7 +41,7 @@
COLLABORA_DOMAIN: collabora.ocis.rolling.owncloud.works
INBUCKET_DOMAIN: mail.ocis.rolling.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:collabora.yml:cloudimporter.yml:inbucket.yml:monitoring_tracing/monitoring.yml
COMPOSE_FILE: docker-compose.yml:ocis.yml:tika.yml:collabora.yml:web_extensions/extensions.yml:web_extensions/unzip.yml:web_extensions/importer.yml:inbucket.yml:monitoring_tracing/monitoring.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
ref: master
@@ -42,7 +42,7 @@
INBUCKET_DOMAIN: mail.ocis-s3.rolling.owncloud.works
MINIO_DOMAIN: minio.ocis-s3.rolling.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:ocis.yml:s3ng.yml:minio.yml:tika.yml:collabora.yml:cloudimporter.yml:inbucket.yml:monitoring_tracing/monitoring.yml
COMPOSE_FILE: docker-compose.yml:ocis.yml:s3ng.yml:minio.yml:tika.yml:collabora.yml:web_extensions/extensions.yml:web_extensions/unzip.yml:web_extensions/importer.yml:inbucket.yml:monitoring_tracing/monitoring.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
ref: master
+33 -15
View File
@@ -114,6 +114,34 @@ SMTP_AUTHENTICATION=
# Allow insecure connections to the SMTP server. Defaults to false.
SMTP_INSECURE=
## 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
# Enable this to create a new named volume
#EXTENSIONS=:web_extensions/extensions.yml
# Enable the desired extensions by uncommenting the following lines.
# Note: the leading colon is required to enable the service.
# Note: if you want to remove a web extension, you must delete the ocis-apps volume. It will be properly recreated on docker compose startup.
#UNZIP=:web_extensions/unzip.yml
#DRAWIO=:web_extensions/drawio.yml
#JSONVIEWER=:web_extensions/jsonviewer.yml
#PROGRESSBARS=:web_extensions/progressbars.yml
#EXTERNALSITES=:web_extensions/externalsites.yml
# External Sites needs additional config, see the following files for more details.
# - config/ocis/apps.yaml
# - config/ocis/csp.yaml
#IMPORTER=:web_extensions/importer.yml
# The importer needs additional config, see the following lines for more details.
## The docker image to be used for uppy companion.
# owncloud has built a container with public link import support.
COMPANION_IMAGE=
# Domain of Uppy Companion. Defaults to "companion.owncloud.test".
COMPANION_DOMAIN=
# Provider settings, see https://uppy.io/docs/companion/#provideroptions for reference.
# Empty by default, which disables providers.
COMPANION_ONEDRIVE_KEY=
COMPANION_ONEDRIVE_SECRET=
## Default Enabled Services ##
@@ -125,6 +153,10 @@ TIKA=:tika.yml
# Defaults to "latest"
TIKA_IMAGE=
### IMPORTANT Note for Online Office Apps ###
# To avoid app interlocking issues, you should select only one app to be active/configured.
# This is due the fact that there is currently no app interlocking for the same file and one
# has to wait for a lock release to open the file with another app.
### Collabora Settings ###
# Collabora web office is default enabled, comment if not required.
@@ -163,20 +195,6 @@ COLLABORA_SSL_VERIFICATION=false
#MONITORING=:monitoring_tracing/monitoring.yml
### Uppy Companion Settings ###
# Note: the leading colon is required to enable the service.
#CLOUD_IMPORTER=:cloudimporter.yml
## The docker image to be used for uppy companion.
# owncloud has built a container with public link import support.
COMPANION_IMAGE=
# Domain of Uppy Companion. Defaults to "companion.owncloud.test".
COMPANION_DOMAIN=
# Provider settings, see https://uppy.io/docs/companion/#provideroptions for reference.
# Empty by default, which disables providers.
COMPANION_ONEDRIVE_KEY=
COMPANION_ONEDRIVE_SECRET=
### Virusscanner Settings ###
# Note: the leading colon is required to enable the service.
#CLAMAV=:clamav.yml
@@ -208,4 +226,4 @@ INBUCKET_DOMAIN=
# This MUST be the last line as it assembles the supplemental compose files to be used.
# ALL supplemental configs must be added here, whether commented or not.
# Each var must either be empty or contain :path/file.yml
COMPOSE_FILE=docker-compose.yml${OCIS:-}${TIKA:-}${S3NG:-}${S3NG_MINIO:-}${COLLABORA:-}${MONITORING:-}${CLOUD_IMPORTER:-}${CLAMAV:-}${ONLYOFFICE:-}${INBUCKET:-}
COMPOSE_FILE=docker-compose.yml${OCIS:-}${TIKA:-}${S3NG:-}${S3NG_MINIO:-}${COLLABORA:-}${MONITORING:-}${IMPORTER:-}${CLAMAV:-}${ONLYOFFICE:-}${INBUCKET:-}${EXTENSIONS:-}${UNZIP:-}${DRAWIO:-}${JSONVIEWER:-}${PROGRESSBARS:-}${EXTERNALSITES:-}
+4 -2
View File
@@ -9,7 +9,8 @@ services:
ocis:
environment:
# make collabora the secure view app
FRONTEND_APP_HANDLER_SECURE_VIEW_APP_ADDR: com.owncloud.api.collaboration.Collabora
FRONTEND_APP_HANDLER_SECURE_VIEW_APP_ADDR: com.owncloud.api.collaboration.CollaboraOnline
GRAPH_AVAILABLE_ROLES: "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,aa97fe03-7980-45ac-9e50-b325749fd7e6"
collaboration:
image: ${OCIS_DOCKER_IMAGE:-owncloud/ocis}:${OCIS_DOCKER_TAG:-latest}
@@ -29,7 +30,8 @@ services:
MICRO_REGISTRY: "nats-js-kv"
MICRO_REGISTRY_ADDRESS: "ocis:9233"
COLLABORATION_WOPI_SRC: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
COLLABORATION_APP_NAME: "Collabora"
COLLABORATION_APP_NAME: "CollaboraOnline"
COLLABORATION_APP_PRODUCT: "Collabora"
COLLABORATION_APP_ADDR: https://${COLLABORA_DOMAIN:-collabora.owncloud.test}
COLLABORATION_APP_ICON: https://${COLLABORA_DOMAIN:-collabora.owncloud.test}/favicon.ico
COLLABORATION_APP_INSECURE: "${INSECURE:-true}"
@@ -0,0 +1,23 @@
importer:
config:
companionUrl: https://${COMPANION_DOMAIN|companion.owncloud.test}
supportedClouds:
- WebdavPublicLink
#- OneDrive # needs a client id and secret
#- GoogleDrive # needs a client id and secret and an addition to the DNS zone
external-sites:
config:
sites:
# For settings see: https://github.com/owncloud/web-extensions/tree/main/packages/web-app-external-sites
- name: ownCloud
url: "https://owncloud.dev"
target: embedded
color: "#0D856F"
icon: cloud
priority: 50
- name: Wikipedia
url: "https://www.wikipedia.org"
target: external
color: "#0D856F"
icon: book
priority: 51
@@ -20,6 +20,8 @@ directives:
# In contrary to bash and docker the default is given after the | character
- 'https://${ONLYOFFICE_DOMAIN|onlyoffice.owncloud.test}/'
- 'https://${COLLABORA_DOMAIN|collabora.owncloud.test}/'
# This is needed for the external-sites web extension when embedding sites
- 'https://owncloud.dev'
img-src:
- '''self'''
- 'data:'
@@ -1,18 +0,0 @@
web:
config:
external_apps:
- id: preview
path: web-app-preview
config:
mimeTypes:
- image/tiff
- image/bmp
- image/x-ms-bmp
- id: importer
path: web-app-importer
config:
companionUrl: https://${COMPANION_DOMAIN|companion.owncloud.test}
supportedClouds:
- WebdavPublicLink
#- OneDrive # needs a client id and secret
#- GoogleDrive # needs a client id and secret and an addition to the DNS zone
@@ -26,6 +26,7 @@ services:
MICRO_REGISTRY_ADDRESS: "ocis:9233"
COLLABORATION_WOPI_SRC: https://${WOPISERVER_ONLYOFFICE_DOMAIN:-wopiserver-oo.owncloud.test}
COLLABORATION_APP_NAME: "OnlyOffice"
COLLABORATION_APP_PRODUCT: "OnlyOffice"
COLLABORATION_APP_ADDR: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}
COLLABORATION_APP_ICON: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}/web-apps/apps/documenteditor/main/resources/img/favicon.ico
COLLABORATION_APP_INSECURE: "${INSECURE:-true}"
@@ -48,6 +49,8 @@ services:
restart: always
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
networks:
ocis-net:
@@ -62,6 +65,9 @@ services:
# paths are relative to the main compose file
- ./config/onlyoffice/entrypoint-override.sh:/entrypoint-override.sh
- ./config/onlyoffice/local.json:/etc/onlyoffice/documentserver/local.dist.json
# if you want to use oo enterprise edition, you need to add a volume for the license file
# for details see: Registering your Enterprise Edition version -->
# https://helpcenter.onlyoffice.com/installation/docs-enterprise-install-docker.aspx
labels:
- "traefik.enable=true"
- "traefik.http.routers.onlyoffice.entrypoints=https"
@@ -0,0 +1,15 @@
---
services:
ocis:
depends_on:
drawio-init:
condition: service_completed_successfully
drawio-init:
image: owncloud/web-extensions:draw-io-0.2.0
user: root
volumes:
- ocis-apps:/apps
entrypoint:
- /bin/sh
command: ["-c", "cp -R /var/lib/nginx/html/draw-io/ /apps"]
@@ -0,0 +1,7 @@
services:
ocis:
volumes:
- ocis-apps:/var/lib/ocis/web/assets/apps
volumes:
ocis-apps:
@@ -0,0 +1,15 @@
---
services:
ocis:
depends_on:
externalsites-init:
condition: service_completed_successfully
externalsites-init:
image: owncloud/web-extensions:external-sites-0.2.0
user: root
volumes:
- ocis-apps:/apps
entrypoint:
- /bin/sh
command: ["-c", "cp -R /var/lib/nginx/html/external-sites/ /apps"]
@@ -8,7 +8,19 @@ services:
ocis:
volumes:
# the cloud importer needs to be enabled in the web.yaml
- ./config/ocis/web.yaml:/etc/ocis/web.yaml
- ./config/ocis/apps.yaml:/etc/ocis/apps.yaml
depends_on:
importer-init:
condition: service_completed_successfully
importer-init:
image: owncloud/web-extensions:importer-0.1.0
user: root
volumes:
- ocis-apps:/apps
entrypoint:
- /bin/sh
command: [ "-c", "cp -R /var/lib/nginx/html/importer/ /apps" ]
companion:
image: ${COMPANION_IMAGE:-owncloud/uppy-companion:3.12.13-owncloud}
@@ -0,0 +1,15 @@
---
services:
ocis:
depends_on:
jsonviewer-init:
condition: service_completed_successfully
jsonviewer-init:
image: owncloud/web-extensions:json-viewer-0.2.0
user: root
volumes:
- ocis-apps:/apps
entrypoint:
- /bin/sh
command: ["-c", "cp -R /var/lib/nginx/html/json-viewer/ /apps"]
@@ -0,0 +1,15 @@
---
services:
ocis:
depends_on:
progressbars-init:
condition: service_completed_successfully
progressbars-init:
image: owncloud/web-extensions:progress-bars-0.2.0
user: root
volumes:
- ocis-apps:/apps
entrypoint:
- /bin/sh
command: ["-c", "cp -R /var/lib/nginx/html/progress-bars/ /apps"]
@@ -0,0 +1,17 @@
---
services:
ocis:
depends_on:
unzip-init:
condition: service_completed_successfully
unzip-init:
image: owncloud/web-extensions:unzip-0.3.0
user: root
volumes:
- ocis-apps:/apps
entrypoint:
- /bin/sh
command: ["-c", "cp -R /var/lib/nginx/html/unzip/ /apps"]
@@ -127,6 +127,7 @@ services:
- ./config/ldap/schemas:/schemas
- ./config/ldap/docker-entrypoint-override.sh:/opt/bitnami/scripts/openldap/docker-entrypoint-override.sh
- ldap-certs:/opt/bitnami/openldap/share
- ldap-data:/bitnami/openldap
logging:
driver: ${LOG_DRIVER:-local}
restart: always
@@ -154,6 +155,7 @@ volumes:
ldap-certs:
ocis-config:
ocis-data:
ldap-data:
networks:
+51 -33
View File
@@ -154,50 +154,68 @@ This yaml file can later be manually edited to add descriptions, default values,
The process further picks up the `yaml` file generated in the `Extract Rogue Envvars` step and renders it to an adoc file (a table is created) using a go template. The template file for this step can be found at `docs/templates/ADOC_extended.tmpl`.
## Tasks for New Releases
## Doc Tasks for New Releases
Close before a new release gets published, and **before** a new ocis admin docs branch is created, some tasks need to be done manually. These tasks cant be done automatically! By processing these manual tasks, doc related and important files get updated or created, ready to be consumed by the admin docs. The following situations can occur, see the solution provided:
**IMPORTANT**\
For a new ocis release, some tasks are necessary to be done **before** and **after** releasing. Follow the steps carefully to avoid issues. Most of the docs related tasks are not part of the CI. With each step finished successfully, the next step can be started. Sometimes, due to last minute changes, steps need to be redone!
1. Admin docs prepares in master for envvar delta changes. Building the admin docs report non-existent referenced delta files.\
&#8594; Run the manual tasks described below and restart the branched admin docs.
**Backgroud Information**\
Admin docs rely on the existance of the following branches in the ocis repo. Note that the reference in the admin docs which ocis branch is accessed is defined in the `antora.yml` file via `attributes` existing in each branch.
2. A new admin docs branch gets created but no `docs-stable-x.y` branch has been created in the ocis repo so far. Building the branched admin docs reports non-existent referenced files.\
&#8594; Run the manual tasks described below.\
&#8594; Take care that the `docs-stable-x.y` branch gets created in the ocis repo.\
&#8594; Alternatively you can _temporarily_ point in the branched [docs-ocis/antora.yml](https://github.com/owncloud/docs-ocis/blob/master/antora.yml) `compose_url_component` to `master`.\
&#8594; Restart building the branched admin docs.
* `docs`\
This reflects ocis master and is referenced from the admin docs from the master branch showing as `next` in the documentation.
* `docs-stable-x.y`\
This reflects a published ocis release and is referenced from the admin docs from the corresponding branch showing like `7.0`
3. A new ocis release is close to being released, the manual tasks **have not been** processed so far.\
&#8594; Run the manual tasks AND backport the results into the `docs-stable-x.y` branch.
Because of this, branching and parametrizing admin docs occurs **after** branching an ocis release with its necessary branches! If you branch admin docs before the required ocis branches are available, you must set the ocis source branch to import data from to `docs` and reconfigure afterwards.
4. A new ocis release is close to being released, the manual tasks **have been** processed some time ago.\
&#8594; Re-run the manual tasks AND backport the results into the `docs-stable-x.y` branch.
**Notes**
* When docs relevant data will be generated in ocis, they will be written into the `docs/servcies/...` folder structure, but they are in the master branch. When merging, an automated process will move/copy them into the `docs`branch. When running make commands locally, the relocation is not done and files reside on the generated location!
* .adoc file generation
* Service related adoc files are autogenerated and saved in `/docs/services/<service-name>` but will be _relocated_ by each merge into the docs branch into a subfolder named `services/_include/adoc/<service-name.adoc>`.
* Release based envvar changes are saved during manual generation in `/docs/services/general-info/env-var-deltas/<filename>` but will be _copied_ on each merge into the doc branch into a subfolder named `services/_include/adoc/env-var-deltas/<filename>`.
* Exclude paths for Hugo
* The paths defined above for .adoc files are excluded from parsing by Hugo. The source of what to exclude is defined in the `config.yaml` file located in [owncloud.github.io](https://github.com/owncloud/owncloud.github.io/). Any folder containg .adoc files must be added there else `make -C docs docs-serve` or CI will fail reporting an adoc related parsing error. (We could also add an asciidoc parser to Hugo as alternative...)
5. A new ocis release **has been released**, the manual tasks **have not been** processed so far.\
&#8594; Re-run the manual tasks AND backport the results into the `docs-stable-x.y` branch.
### Task List
The following can be done at any time but *latest* it must be done before a new release gets published.
The following can be done at any time but it must be done *latest* when no envvar changes are made which is just before a new release gets finally tagged. The data generated **must** be part of the upcoming release and be merged before tagging/branching!
1. From the ocis root, run `make -C docs docs-generate` and check if there is a change in the `extended-envars.yaml` output. In this case, process [Extended Envvars](#extended-envvars). When done, re-run the make command and check if the output of `./docs/services/_includes/adoc/extended_configvars.adoc` matches the expectations.
**Before Releasing** Generate required .adoc files necessary for the admin docs
2. In `./docs/helpers` run: `go run . --help` This will give you an overview of available commands.
1. Run `go run . all` to generate and/or update required base files.\
&#8594; Any change in `env_vars.yaml` must be check out to be available in master.
2. Create delta files for added, removed and deprecated envvars. To do so type:\
`go run . env-var-delta-table` and use as parameter the versions you want to compare. Example: `v5.0.0 v6.0.0`.
3. List and check the files created in `./docs/helpers/output/env-deltas/`. These are the files defining a table in markdown and asciidoc where the former is used in the dev docs and the latter is consumed by the admin docs build process.\
**Important**: To make the files consumable, the following attribute must be changed in the respective admin docs respective branch definition: [docs-ocis/antora.yml](https://github.com/owncloud/docs-ocis/blob/master/antora.yml) `env_var_delta_name`. Only the delta filename part needs to be used. The complete filenames will be assembled automatically.
```
v5.0.0-v6.0.0 -->
v5.0.0-v6.0.0-added.md
v5.0.0-v6.0.0-deprecated.md
v5.0.0-v6.0.0-removed.md
```
* Run from the ocis root `make -C docs docs-generate`
* **Check for Extended Envvars**\
Check if there is a change in the `extended-envars.yaml` output. In this case, process [Extended Envvars](#extended-envvars). When done, re-run the make command and check if the output of `./docs/services/_includes/adoc/extended_configvars.adoc` matches the expectations.
* **Check for a changed 'env_vars.yaml' File**\
This file will most likely show changes and merging them is essential as base for added/removed or deprecated envvars. This file will get additions/updates only, but things never get automatically deleted.
* **Mandatory for a new release**, remove all envvars from the `env_vars.yaml` file manually that have been removed from the code, either with or without deprecation.
3. Commit all changes, create a PR and post merging, adapt, if necessary, the ocis admin docs. With any merge in the admin docs, the newly created content for that ocis admin docs branch will be consumed.
Commit the changes, create a PR and merge it. Next steps are based on this!
* Create added/removed and deprecated envvar .adoc files between versions containing includable tables pulled by the admin docs.
* Parametrize variables in `docs/helpers/changed_envvars.py` according your needs necessary to generate proper output.
* Create a branch and run from the ocis root `python3 docs/helpers/changed_envvars.py`\
This will create three files that need manual treatment before committing/merging. Note that this script accesses sources from github and not locally, therefore an actual `env_vars.yaml` in github is essential.
* Check the output of all three files and fix/delete any envvar in `env_vars.yaml` if required. If fixes have been done, the changed `env_vars.yaml` file **MUST** be _merged_ first, you must rebase and rerun the python script.
* If all three files contain correct data, manually set the xrefs. This cant be done automatically. Use one of the existing `added` files as template to generate a consistent output.
* Merge the three files and rerun the python script to prove all has been done correctly. You should now see only changes in xrefs as they get overwritten by default data. If this is the case, you can safely drop the generated changes.
**After Releasing** Generate required .md files necessary for the dev docs
Similar to the Asciidoc files for the admin docs, Markdown files necessary for the dev docs need to be generated. The program for this is written in go and currently does not compare versions but only checks the introduction version. This is sufficient for devs as details necessary for migration documentation is done via the .adoc files in the admin docs.
* In `./docs/helpers` run: `go run . --help`\
This will give you an overview of available commands.
* Because `env_vars.yaml` has been cleaned up as part of the _before release_ tasks above, we can rely on its actuality for the branches to be compared.
* Create delta files for added, removed and deprecated envvars. To do so type:\
`go run . env-var-delta-table` and use as parameter the versions you want to compare. Example: `v5.0.0 v7.0.0`.
* List and check the files created in `./docs/helpers/output/env-deltas/`. The markdown files created contain a table with dev relevant data. Any other files created are not relevant and can safely be deleted.
* Create a branch and move the markdown files from `./docs/helpers/output/env-deltas/` to `./docs/services/general-info/env-var-deltas/`. The markdown files will be consumed by dev docs from this location.
* Commit all changes, create a PR and merge. Dev docs is now up-to-date.
## Backporting
+181
View File
@@ -0,0 +1,181 @@
import yaml
import sys
import os
from datetime import date
from urllib.request import urlopen
## this python script generates based on defined variables adoc files for added, removed and deprecated
## envvars based on the env_vars.yaml that must exist in each referenced version.
## it is CRUCIAL that the version compared TO is actual - do required updates first!
## note that env_vars.yaml has been introduced with v6.0.0, comparing earlier is not possible
## note that we are always comparing from github sources and NOT local files
## when the files got created, you MUST do some post work manually like referencing services with xref:
## when running, files get recreated, existing content gets overwritten!!
## you MUST run this script from the local ocis repo root !!
## like: python3 docs/helpers/changed_envvars.py
## create a branch to prepare the changes
# CHANGE according your needs
# old is the base version to compare from
# new is the target version to compare to
# tagged versions must be of format: 'tags/v6.0.0'
# master is different, it must be: 'heads/master'
versionOld = 'tags/v6.0.0'
versionNew = 'heads/master'
# CHANGE according your needs
from_version = '5.0.0'
to_version = '7.0.0'
# CHANGE according your needs
# this will create files like 5.0.0-7.0.0-added and 5.0.0-7.0.0-removed
# this should match which versions you compare. master is ok if that is the base for a named release
nameComponent = '5.0.0-7.0.0'
# ADD new elements when a new version has been published so that it gets excluded
# array of version patterns to be excluded for added items. we dont need patch versions
excludePattern = ['pre5.0', '5.0', '6.0']
# DO NOT CHANGE
# this is the path the added/removed result is written to
adocWritePath = 'docs/services/general-info/env-var-deltas'
addedWith = {}
removedWith = {}
deprecatedWith = {}
def check_path():
# check which path the script started. we can do this because the target path must be present
# exit if not present
if not os.path.exists(adocWritePath):
print('Path not found: ' + adocWritePath)
sys.exit()
def get_sources(versionOld, versionNew):
# get the sources from github
git_bleft_dir = 'https://raw.githubusercontent.com/owncloud/ocis/refs/'
git_right_dir ='/docs/helpers/env_vars.yaml'
urlOld = git_bleft_dir + versionOld + git_right_dir
urlNew = git_bleft_dir + versionNew + git_right_dir
try:
fileOld = urlopen(urlOld).read().decode('utf-8')
fileNew = urlopen(urlNew).read().decode('utf-8')
return yaml.safe_load(fileOld), yaml.safe_load(fileNew)
except Exception as e:
print(e)
sys.exit()
def get_added(fileNew, excludePattern):
# create dict with added items
addedWith = {}
for key, value in fileNew.items():
if not fileNew[key]['introductionVersion'] in str(excludePattern):
addedWith[key] = value
return addedWith
def get_removed(fileOld, fileNew):
# create dict with removed items
removedWith = {}
for key, value in fileOld.items():
if not key in fileNew:
removedWith[key] = value
return removedWith
def get_deprecated(fileNew):
# create dict with deprecated items
deprecatedWith = {}
for key, value in fileNew.items():
if value['removalVersion']:
deprecatedWith[key] = value
return deprecatedWith
def create_adoc_start(type_text, from_version, to_version, creation_date, default):
# create the page/table header
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"]
|===
| Service| Variable| Description| {fdefault}
'''.format(ftype = type_text, ffrom = from_version, fto = to_version, fdate = creation_date, fdefault = default)
return a
def create_adoc_end():
# close the table
a = '''|===
'''
return a
def add_adoc_line(service, variable, description, default):
# add a table line
a = '''| {fservice}
| {fvariable}
| {fdescription}
| {fdefault}
'''.format(fservice = service, fvariable = variable, fdescription = description, fdefault = default)
return a
def create_table(type_text, source_dict, from_version, to_version, date_today, default = 'Default'):
# 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]
)
# finally close the table
a += create_adoc_end()
return a
def write_output(a, type_text):
# write the content to a file
try:
with open(adocWritePath + '/' + nameComponent + '-' + type_text + '.adoc', 'w') as file:
file.write(a)
except Exception as e:
print('Failed creating ' + type_text + ' file')
print(e)
sys.exit()
## here are the tasks in sequence
check_path()
fileOld, fileNew = get_sources(versionOld, versionNew)
addedWith = get_added(fileNew, excludePattern)
removedWith = get_removed(fileOld, fileNew)
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')
write_output(a, 'added')
write_output(r, 'removed')
write_output(d, 'deprecated')
print('Success, see files created in: ' + adocWritePath)
+335 -369
View File
File diff suppressed because it is too large. Load diff
@@ -40,9 +40,15 @@ Credentials:
- oCIS: [ocis.ocis.production.owncloud.works](https://ocis.ocis.production.owncloud.works)
- Mail: [mail.ocis.production.owncloud.works](https://mail.ocis.production.owncloud.works)
## Master with OnlyOffice
This example is using OnlyOffice as the office suite.
- oCIS: [ocis.ocis-onlyoffice.master.owncloud.works](https://ocis.ocis-onlyoffice.master.owncloud.works)
## Rolling Release with OnlyOffice
This example is based on the [ocis_full Example](ocis_full.md) and uses the default configuration with OnlyOffice as the office suite.
This example is using OnlyOffice as the office suite.
- oCIS: [ocis.ocis-onlyoffice.rolling.owncloud.works](https://ocis.ocis-onlyoffice.rolling.owncloud.works)
+23 -19
View File
@@ -472,6 +472,10 @@ docker run -d -p 3310:3310 -v /your/local/filesystem/path/to/clamav/:/var/lib/cl
As `antivirus` service is not enabled by default we need to enable the service while running oCIS server. We also need to enable `async upload` and as virus scan is performed in post-processing step, we need to set it as well. Documentation for environment variables related to antivirus is available [here](https://owncloud.dev/services/antivirus/#environment-variables)
```bash
# init oCIS
IDM_ADMIN_PASSWORD=admin \
ocis/bin/ocis init --insecure true
# run oCIS
PROXY_ENABLE_BASIC_AUTH=true \
ANTIVIRUS_SCANNER_TYPE="clamav" \
@@ -504,47 +508,47 @@ make test-acceptance-api
Test suites that are tagged with `@ocm` require running two different ocis instances. More detailed information and configuration related to it can be found [here](https://doc.owncloud.com/ocis/5.0/deployment/services/s-list/ocm.html).
Put
### Setup First oCIS Instance
```bash
127.0.0.1 ocis-server
127.0.0.1 federation-ocis-server
```
# init oCIS
IDM_ADMIN_PASSWORD=admin \
ocis/bin/ocis init --insecure true
in the `/etc/hosts` file
### Setup first ocis instance
```bash
# run oCIS
OCIS_URL="https://ocis-server:9200" \
OCIS_URL="https://localhost:9200" \
PROXY_ENABLE_BASIC_AUTH=true \
OCIS_ENABLE_OCM=true \
OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE="${workspaceFolder}/tests/config/drone/providers.json" \
OCM_OCM_PROVIDER_AUTHORIZER_PROVIDERS_FILE="tests/config/local/providers.json" \
OCIS_ADD_RUN_SERVICES="ocm" \
OCM_OCM_INVITE_MANAGER_INSECURE=true \
OCM_OCM_SHARE_PROVIDER_INSECURE=true \
OCM_OCM_STORAGE_PROVIDER_INSECURE=true \
WEB_UI_CONFIG_FILE="tests/config/local/ocis-web.json" \
ocis/bin/ocis server
```
The first oCIS instance should be available at: https://ocis-server:9200/
The first oCIS instance should be available at: https://localhost:9200/
### Setup second ocis instance
### Setup Second oCIS Instance
#### Using .vscode/launch.json
You can run the second oCIS instance in two ways:
#### Using .env file
#### Using `.vscode/launch.json`
From the `Run and Debug` panel of VSCode, select `Fed oCIS Server` and start the debugger.
#### Using env file
```bash
# init oCIS
source tests/config/drone/.env-federation && ocis/bin/ocis init
source tests/config/local/.env-federation && ocis/bin/ocis init
# run oCIS
ocis/bin/ocis server
```
The second oCIS instance should be available at: https://federation-ocis-server:10200/
The second oCIS instance should be available at: https://localhost:10200/
{{< hint info >}}
To enable ocm in the web interface, you need to set the following envs:
@@ -557,8 +561,8 @@ To enable ocm in the web interface, you need to set the following envs:
Run the acceptance test with the following command:
```bash
TEST_SERVER_URL="https://ocis-server:9200" \
TEST_SERVER_FED_URL="https://federation-ocis-server:10200" \
TEST_SERVER_URL="https://localhost:9200" \
TEST_SERVER_FED_URL="https://localhost:10200" \
BEHAT_FEATURE="tests/acceptance/features/apiOcm/ocm.feature" \
make test-acceptance-api
```
+12 -1
View File
@@ -16,7 +16,18 @@ This page is designed to provide clarity and transparency regarding the scheduli
| Release Date | Type | Version | Notes | Support |
|----------------|----------------|---------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|--------------------|
| 23.12.2024 | Rolling | - | - | - |
| 22.09.2025 | Production | - | - | - |
| 01.09.2025 | Rolling | - | - | - |
| 11.08.2025 | Rolling | - | - | - |
| 21.07.2025 | Rolling | - | - | - |
| 30.06.2025 | Rolling | - | - | - |
| 09.06.2025 | Rolling | - | - | - |
| 19.05.2025 | Rolling | - | - | - |
| 28.04.2025 | Rolling | - | - | - |
| 17.03.2025 | Production | - | - | - |
| 24.02.2025 | Rolling | - | - | - |
| 03.02.2025 | Rolling | - | - | - |
| 13.01.2025 | Rolling | - | - | - |
| 02.12.2024 | Rolling | - | - | - |
| 11.11.2024 | Production | - | - | - |
| 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) | - |
+48 -45
View File
@@ -13,49 +13,52 @@ have been added per release.
## Added Services
The following table gives an overview about releases and their services.
The following table gives an overview about releases and their services. Note that v6.x were rolling releases only and not mentioned therefore. Any changes from v6.x were incorporated in v7.
| 3.0 | 4.0 | 5.0 | Rolling |
| ------------------ | ------------------ | ------------------ | ------------------ |
| | | | activitylog |
| antivirus | antivirus | antivirus | antivirus |
| app-provider | app-provider | app-provider | app-provider |
| app-registry | app-registry | app-registry | app-registry |
| audit | audit | audit | audit |
| auth-basic | auth-basic | auth-basic | auth-basic |
| auth-bearer | auth-bearer | auth-bearer | auth-bearer |
| auth-machine | auth-machine | auth-machine | auth-machine |
| | | auth-service | auth-service |
| | | clientlog | clientlog |
| | | | collaboration |
| | | eventhistory | eventhistory |
| frontend | frontend | frontend | frontend |
| gateway | gateway | gateway | gateway |
| graph | graph | graph | graph |
| groups | groups | groups | groups |
| idm | idm | idm | idm |
| idp | idp | idp | idp |
| invitations | invitations | invitations | invitations |
| nats | nats | nats | nats |
| notifications | notifications | notifications | notifications |
| ocdav | ocdav | ocdav | ocdav |
| | | ocm | ocm |
| ocs | ocs | ocs | ocs |
| policies | policies | policies | policies |
| postprocessing | postprocessing | postprocessing | postprocessing |
| proxy | proxy | proxy | proxy |
| search | search | search | search |
| settings | settings | settings | settings |
| sharing | sharing | sharing | sharing |
| | | sse | sse |
| storage-publiclink | storage-publiclink | storage-publiclink | storage-publiclink |
| storage-shares | storage-shares | storage-shares | storage-shares |
| storage-system | storage-system | storage-system | storage-system |
| storage-users | storage-users | storage-users | storage-users |
| store | store | store | store |
| thumbnails | thumbnails | thumbnails | thumbnails |
| userlog | userlog | userlog | userlog |
| users | users | users | users |
| web | web | web | web |
| webdav | webdav | webdav | webdav |
| webfinger | webfinger | webfinger | webfinger |
[//]: # (for ease of handling, use the .excel table from the same folder and convert it via https://tabletomarkdown.com/convert-spreadsheet-to-markdown/)
| 3.0 | 4.0 | 5.0 | 7.0 | Rolling |
| ------------------ | ------------------ | ------------------ | ------------------ | ------------------ |
| | | | activitylog | activitylog |
| antivirus | antivirus | antivirus | antivirus | antivirus |
| app-provider | app-provider | app-provider | app-provider | app-provider |
| app-registry | app-registry | app-registry | app-registry | app-registry |
| audit | audit | audit | audit | audit |
| | | | | auth-app |
| auth-basic | auth-basic | auth-basic | auth-basic | auth-basic |
| auth-bearer | auth-bearer | auth-bearer | auth-bearer | auth-bearer |
| auth-machine | auth-machine | auth-machine | auth-machine | auth-machine |
| eventhistory | eventhistory | auth-service | auth-service | auth-service |
| | | clientlog | clientlog | clientlog |
| | | | collaboration | collaboration |
| | | eventhistory | eventhistory | eventhistory |
| frontend | frontend | frontend | frontend | frontend |
| gateway | gateway | gateway | gateway | gateway |
| graph | graph | graph | graph | graph |
| groups | groups | groups | groups | groups |
| idm | idm | idm | idm | idm |
| idp | idp | idp | idp | idp |
| invitations | invitations | invitations | invitations | invitations |
| nats | nats | nats | nats | nats |
| notifications | notifications | notifications | notifications | notifications |
| ocdav | ocdav | ocdav | ocdav | ocdav |
| | | ocm | ocm | ocm |
| ocs | ocs | ocs | ocs | ocs |
| policies | policies | policies | policies | policies |
| postprocessing | postprocessing | postprocessing | postprocessing | postprocessing |
| proxy | proxy | proxy | proxy | proxy |
| search | search | search | search | search |
| settings | settings | settings | settings | settings |
| sharing | sharing | sharing | sharing | sharing |
| | | sse | sse | sse |
| store | store | store | store | store |
| storage-publiclink | storage-publiclink | storage-publiclink | storage-publiclink | storage-publiclink |
| storage-shares | storage-shares | storage-shares | storage-shares | storage-shares |
| storage-system | storage-system | storage-system | storage-system | storage-system |
| storage-users | storage-users | storage-users | storage-users | storage-users |
| thumbnails | thumbnails | thumbnails | thumbnails | thumbnails |
| userlog | userlog | userlog | userlog | userlog |
| users | users | users | users | users |
| web | web | web | web | web |
| webdav | webdav | webdav | webdav | webdav |
| webfinger | webfinger | webfinger | webfinger | webfinger |
Binary file not shown.
@@ -0,0 +1,642 @@
// # 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
// the table should be recreated/updated on source () changes
[width="100%",cols="~,~,~,~",options="header"]
|===
| 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
|
| 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
|
| OCIS_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.
|
|
| 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.
|
| xref:{s-path}/antivirus.adoc[Antivirus]
| ANTIVIRUS_WORKERS
| The number of concurrent go routines that fetch events from the event queue.
| 10
| xref:{s-path}/auth-app.adoc[Auth-App]
| AUTH_APP_DEBUG_ADDR
| Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
| 127.0.0.1:9245
|
| AUTH_APP_DEBUG_PPROF
| Enables pprof, which can be used for profiling.
| false
|
| AUTH_APP_DEBUG_TOKEN
| Token to secure the metrics endpoint.
|
|
| AUTH_APP_DEBUG_ZPAGES
| Enables zpages, which can be used for collecting and viewing traces in-memory.
| false
|
| AUTH_APP_ENABLE_IMPERSONATION
| Allows admins to create app tokens for other users. Used for migration. Do NOT use in productive deployments.
| false
|
| AUTH_APP_GRPC_ADDR
| The bind address of the GRPC service.
| 127.0.0.1:9246
|
| AUTH_APP_GRPC_PROTOCOL
| The transport protocol of the GRPC service.
| tcp
|
| AUTH_APP_JWT_SECRET
| The secret to mint and validate jwt tokens.
|
|
| AUTH_APP_LOG_COLOR
| Activates colorized log output.
| false
|
| AUTH_APP_LOG_FILE
| The path to the log file. Activates logging to this file if set.
|
|
| AUTH_APP_LOG_LEVEL
| The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
|
|
| AUTH_APP_LOG_PRETTY
| Activates pretty log output.
| false
|
| AUTH_APP_MACHINE_AUTH_API_KEY
| The machine auth API key used to validate internal requests necessary to access resources from other services.
|
|
| AUTH_APP_SKIP_USER_GROUPS_IN_TOKEN
| Disables the encoding of the user's group memberships in the access token. This reduces the token size, especially when users are members of a large number of groups.
| false
|
| AUTH_APP_TRACING_COLLECTOR
| The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.
|
|
| AUTH_APP_TRACING_ENABLED
| Activates tracing.
| false
|
| AUTH_APP_TRACING_ENDPOINT
| The endpoint of the tracing agent.
|
|
| AUTH_APP_TRACING_TYPE
| The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
| xref:{s-path}/collaboration.adoc[Collaboration]
| COLLABORATION_APP_ADDR
| The URL where the WOPI app is located, such as https://127.0.0.1:8080.
| https://127.0.0.1:9980
|
| COLLABORATION_APP_DESCRIPTION
| App description
| Open office documents with Collabora
|
| COLLABORATION_APP_ICON
| Icon for the app
| image-edit
|
| COLLABORATION_APP_INSECURE
| Skip TLS certificate verification when connecting to the WOPI app
| false
|
| COLLABORATION_APP_LICENSE_CHECK_ENABLE
| 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'.
| Collabora
|
| COLLABORATION_APP_PRODUCT
| The WebOffice app, either Collabora, OnlyOffice, Microsoft365 or MicrosoftOfficeOnline.
| Collabora
|
| COLLABORATION_APP_PROOF_DISABLE
| Disable the proof keys verification
| false
|
| COLLABORATION_APP_PROOF_DURATION
| Duration for the proof keys to be cached in memory, using time.ParseDuration format. If the duration can't be parsed, we'll use the default 12h as duration
| 12h
|
| COLLABORATION_CS3API_DATAGATEWAY_INSECURE
| 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.
| 127.0.0.1:9304
|
| COLLABORATION_DEBUG_PPROF
| Enables pprof, which can be used for profiling.
| false
|
| COLLABORATION_DEBUG_TOKEN
| Token to secure the metrics endpoint.
|
|
| COLLABORATION_DEBUG_ZPAGES
| Enables zpages, which can be used for collecting and viewing in-memory traces.
| false
|
| COLLABORATION_GRPC_ADDR
| The bind address of the GRPC service.
| 127.0.0.1:9301
|
| COLLABORATION_GRPC_PROTOCOL
| The transport protocol of the GRPC service.
| tcp
|
| COLLABORATION_HTTP_ADDR
| The bind address of the HTTP service.
| 127.0.0.1:9300
|
| COLLABORATION_LOG_COLOR
| Activates colorized log output.
| false
|
| COLLABORATION_LOG_FILE
| The path to the log file. Activates logging to this file if set.
|
|
| COLLABORATION_LOG_LEVEL
| The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
|
|
| COLLABORATION_LOG_PRETTY
| Activates pretty log output.
| false
|
| COLLABORATION_STORE
| The type of the store. Supported values are: 'memory', 'nats-js-kv', 'redis-sentinel', 'noop'. See the text description for details.
| nats-js-kv
|
| COLLABORATION_STORE_AUTH_PASSWORD
| The password to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
|
| COLLABORATION_STORE_AUTH_USERNAME
| The username to authenticate with the store. Only applies when store type 'nats-js-kv' is configured.
|
|
| COLLABORATION_STORE_DATABASE
| The database name the configured store should use.
| collaboration
|
| COLLABORATION_STORE_NODES
| A list of nodes to access the configured store. This has no effect when 'memory' store is configured. Note that the behaviour how nodes are used is dependent on the library of the configured store. See the Environment Variable Types description for more details.
| [127.0.0.1:9233]
|
| COLLABORATION_STORE_TABLE
| The database table the store should use.
|
|
| COLLABORATION_STORE_TTL
| Time to live for events in the store. Defaults to '30m' (30 minutes). See the Environment Variable Types description for more details.
| 30m0s
|
| COLLABORATION_TRACING_COLLECTOR
| The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.
|
|
| COLLABORATION_TRACING_ENABLED
| Activates tracing.
| false
|
| COLLABORATION_TRACING_ENDPOINT
| The endpoint of the tracing agent.
|
|
| COLLABORATION_TRACING_TYPE
| The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
|
| COLLABORATION_WOPI_DISABLE_CHAT
| Disable chat in the office web frontend. This feature applies to OnlyOffice and Microsoft.
| false
|
| COLLABORATION_WOPI_PROXY_SECRET
| Optional, the secret to authenticate against the ownCloud Office365 WOPI proxy. This secret can be obtained from ownCloud via the office365 proxy subscription.
|
|
| COLLABORATION_WOPI_PROXY_URL
| The URL to the ownCloud Office365 WOPI proxy. Optional. To use this feature, you need an office365 proxy subscription. If you become part of the Microsoft CSP program (https://learn.microsoft.com/en-us/partner-center/enroll/csp-overview), you can use WebOffice without a proxy.
|
|
| COLLABORATION_WOPI_SECRET
| Used to mint and verify WOPI JWT tokens and encrypt and decrypt the REVA JWT token embedded in the WOPI JWT token.
|
|
| COLLABORATION_WOPI_SHORTTOKENS
| Use short access tokens for WOPI access. This is useful for office packages, like Microsoft Office Online, which have URL length restrictions. If enabled, a persistent store must be configured.
| false
|
| COLLABORATION_WOPI_SRC
| The WOPI source base URL containing schema, host and port. Set this to the schema and domain where the collaboration service is reachable for the wopi app, such as https://office.owncloud.test.
| https://localhost:9300
| xref:{s-path}/frontend.adoc[Frontend]
| FRONTEND_APP_HANDLER_SECURE_VIEW_APP_ADDR
| Service name or address of the app provider to use for secure view. Should match the service name or address of the registered CS3 app provider.
| com.owncloud.api.collaboration
|
| 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
| xref:{s-path}/gateway.adoc[Gateway]
| GATEWAY_APP_REGISTRY_ENDPOINT
| The endpoint of the app-registry service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.app-registry
|
| GATEWAY_AUTH_APP_ENDPOINT
| The endpoint of the auth-app service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.auth-app
|
| GATEWAY_AUTH_BASIC_ENDPOINT
| The endpoint of the auth-basic service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.auth-basic
|
| GATEWAY_AUTH_BEARER_ENDPOINT
| The endpoint of the auth-bearer service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
|
|
| GATEWAY_AUTH_MACHINE_ENDPOINT
| The endpoint of the auth-machine service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.auth-machine
|
| GATEWAY_AUTH_SERVICE_ENDPOINT
| The endpoint of the auth-service service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.auth-service
|
| GATEWAY_GROUPS_ENDPOINT
| The endpoint of the groups service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.groups
|
| GATEWAY_OCM_ENDPOINT
| The endpoint of the ocm service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.ocm
|
| GATEWAY_PERMISSIONS_ENDPOINT
| The endpoint of the permissions service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.settings
|
| GATEWAY_SHARING_ENDPOINT
| The endpoint of the shares service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.sharing
|
| GATEWAY_STORAGE_PUBLIC_LINK_ENDPOINT
| The endpoint of the storage-publiclink service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.storage-publiclink
|
| GATEWAY_STORAGE_SHARES_ENDPOINT
| The endpoint of the storage-shares service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.storage-shares
|
| GATEWAY_STORAGE_USERS_ENDPOINT
| The endpoint of the storage-users service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.storage-users
|
| GATEWAY_USERS_ENDPOINT
| The endpoint of the users service. Can take a service name or a gRPC URI with the dns, kubernetes or unix protocol.
| com.owncloud.api.users
| xref:{s-path}/graph.adoc[Graph]
| GRAPH_AVAILABLE_ROLES
| 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_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.
|
| xref:{s-path}/ocm.adoc[OCM]
| OCM_OCM_INVITE_MANAGER_TIMEOUT
| Timeout specifies a time limit for requests made to OCM endpoints.
| 30s
|
| OCM_OCM_INVITE_MANAGER_TOKEN_EXPIRATION
| Expiry duration for invite tokens.
| 24h0m0s
|
| OCM_OCM_STORAGE_DATA_SERVER_URL
| URL of the data server, needs to be reachable by the data gateway provided by the frontend service or the user if directly exposed.
| http://localhost:9280/data
| xref:{s-path}/postprocessing.adoc[Postprocessing]
| POSTPROCESSING_WORKERS
| The number of concurrent go routines that fetch events from the event queue.
| 3
| xref:{s-path}/proxy.adoc[Proxy]
| PROXY_AUTOPROVISION_CLAIM_DISPLAYNAME
| The name of the OIDC claim that holds the display name.
| name
|
| PROXY_AUTOPROVISION_CLAIM_EMAIL
| The name of the OIDC claim that holds the email.
| email
|
| PROXY_AUTOPROVISION_CLAIM_GROUPS
| The name of the OIDC claim that holds the groups.
| groups
|
| PROXY_AUTOPROVISION_CLAIM_USERNAME
| The name of the OIDC claim that holds the username.
| preferred_username
|
| PROXY_CSP_CONFIG_FILE_LOCATION
| The location of the CSP configuration file.
|
|
| PROXY_ENABLE_APP_AUTH
| Allow app authentication. This can be used to authenticate 3rd party applications. Note that auth-app service must be running for this feature to work.
| false
|
| PROXY_EVENTS_AUTH_PASSWORD
| The password to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.
|
|
| PROXY_EVENTS_AUTH_USERNAME
| The username to authenticate with the events broker. The events broker is the ocis service which receives and delivers events between the services.
|
|
| PROXY_EVENTS_CLUSTER
| The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture.
| ocis-cluster
|
| PROXY_EVENTS_ENABLE_TLS
| Enable TLS for the connection to the events broker. The events broker is the ocis service which receives and delivers events between the services.
| false
|
| PROXY_EVENTS_ENDPOINT
| The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Set to a empty string to disable emitting events.
| 127.0.0.1:9233
|
| PROXY_EVENTS_TLS_INSECURE
| Whether to verify the server TLS certificates.
| false
|
| PROXY_EVENTS_TLS_ROOT_CA_CERTIFICATE
| 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}/sse.adoc[SSE]
| SSE_KEEPALIVE_INTERVAL
| To prevent intermediate proxies from closing the SSE connection, send periodic SSE comments to keep it open.
| 0s
| xref:{s-path}/storage-users.adoc[Storage-Users]
| STORAGE_USERS_OCIS_GENERAL_SPACE_PATH_TEMPLATE
| Template string to construct the paths of the projects space roots.
|
|
| STORAGE_USERS_OCIS_PERSONAL_SPACE_PATH_TEMPLATE
| Template string to construct the paths of the personal space roots.
|
|
| STORAGE_USERS_PERMISSION_ENDPOINT
| Endpoint of the permissions service. The endpoints can differ for 'ocis', 'posix' and 's3ng'.
| com.owncloud.api.settings
|
| STORAGE_USERS_POSIX_GENERAL_SPACE_PATH_TEMPLATE
| Template string to construct the paths of the projects space roots.
| projects/{{.SpaceId}}
|
| STORAGE_USERS_POSIX_PERMISSIONS_ENDPOINT
| Endpoint of the permissions service. The endpoints can differ for 'ocis', 'posix' and 's3ng'.
| com.owncloud.api.settings
|
| STORAGE_USERS_POSIX_PERSONAL_SPACE_PATH_TEMPLATE
| Template string to construct the paths of the personal space roots.
| users/{{.User.Username}}
|
| 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.
|
|
| STORAGE_USERS_POSIX_SCAN_DEBOUNCE_DELAY
| The time in milliseconds to wait before scanning the filesystem for changes after a change has been detected.
| 1s
|
| STORAGE_USERS_POSIX_USE_SPACE_GROUPS
| Use space groups to manage permissions on spaces.
| false
|
| STORAGE_USERS_POSIX_WATCH_FOLDER_KAFKA_BROKERS
| Comma-separated list of kafka brokers to read the watchfolder events from.
|
|
| STORAGE_USERS_POSIX_WATCH_PATH
| Path to the watch directory/file. Only applies to the 'gpfsfileauditlogging' and 'inotifywait' watcher, in which case it is the path of the file audit log file/base directory to watch.
|
|
| STORAGE_USERS_POSIX_WATCH_TYPE
| Type of the watcher to use for getting notified about changes to the filesystem. Currently available options are 'inotifywait' (default), 'gpfswatchfolder' and 'gpfsfileauditlogging'.
|
|
| STORAGE_USERS_S3NG_GENERAL_SPACE_PATH_TEMPLATE
| Template string to construct the paths of the projects space roots.
|
|
| STORAGE_USERS_S3NG_PERSONAL_SPACE_PATH_TEMPLATE
| Template string to construct the paths of the personal space roots.
|
|
| STORAGE_USERS_SERVICE_NAME
| Service name to use. Change this when starting an additional storage provider with a custom configuration to prevent it from colliding with the default 'storage-users' service.
| storage-users
| xref:{s-path}/thumbnails.adoc[Thumbnails]
| THUMBNAILS_MAX_CONCURRENT_REQUESTS
| Number of maximum concurrent thumbnail requests. Default is 0 which is unlimited.
| 0
|
| THUMBNAILS_MAX_INPUT_HEIGHT
| The maximum height of an input image which is being processed.
| 7680
|
| THUMBNAILS_MAX_INPUT_IMAGE_FILE_SIZE
| The maximum file size of an input image which is being processed. Usable common abbreviations: [KB, KiB, MB, MiB, GB, GiB, TB, TiB, PB, PiB, EB, EiB], example: 2GB.
| 50MB
|
| THUMBNAILS_MAX_INPUT_WIDTH
| The maximum width of an input image which is being processed.
| 7680
| 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
| xref:{s-path}/web.adoc[Web]
| WEB_ASSET_APPS_PATH
| Serve ownCloud Web apps assets 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/apps
| /var/lib/ocis/web/assets/apps
|
| WEB_ASSET_CORE_PATH
| Serve ownCloud Web assets 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/core
| /var/lib/ocis/web/assets/core
|
| WEB_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
|===
@@ -0,0 +1,17 @@
// # 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
// the table should be recreated/updated on source () changes
[width="100%",cols="~,~,~,~",options="header"]
|===
| Service| Variable| Description| Removalversion
| xref:{s-path}/antivirus.adoc[Antivirus]
| ANTIVIRUS_ICAP_TIMEOUT
| Timeout for the ICAP client.
| %%NEXT_PRODUCTION_VERSION%%
|===
@@ -0,0 +1,117 @@
// # 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
// the table should be recreated/updated on source () changes
[width="100%",cols="~,~,~,~",options="header"]
|===
| Service| Variable| Description| Default
| xref:deployment/services/env-vars-special-scope.adoc[Special Scope Envvars]
| OCIS_ENABLE_RESHARING
| Changing this value is NOT supported. Enables the support for re-sharing in the clients.
| false
| 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
| xref:{s-path}/graph.adoc[Graph]
| GRAPH_ENABLE_RESHARING
| Changing this value is NOT supported. Enables the support for re-sharing.
| false
| 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_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_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
| 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.
| /var/lib/ocis/store
|
| STORE_DEBUG_ADDR
| Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed.
| 127.0.0.1:9464
|
| STORE_DEBUG_PPROF
| Enables pprof, which can be used for profiling.
| false
|
| STORE_DEBUG_TOKEN
| Token to secure the metrics endpoint.
|
|
| STORE_DEBUG_ZPAGES
| Enables zpages, which can be used for collecting and viewing in-memory traces.
| false
|
| STORE_GRPC_ADDR
| The bind address of the GRPC service.
| 127.0.0.1:9460
|
| STORE_LOG_COLOR
| Activates colorized log output.
| false
|
| STORE_LOG_FILE
| The path to the log file. Activates logging to this file if set.
|
|
| STORE_LOG_LEVEL
| The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'.
|
|
| STORE_LOG_PRETTY
| Activates pretty log output.
| false
|
| STORE_TRACING_COLLECTOR
| The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset.
|
|
| STORE_TRACING_ENABLED
| Activates tracing.
| false
|
| STORE_TRACING_ENDPOINT
| The endpoint of the tracing agent.
|
|
| STORE_TRACING_TYPE
| The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now.
|
| xref:{s-path}/web.adoc[Web]
| WEB_ASSET_PATH
| Serve ownCloud Web assets from a path on the filesystem instead of the builtin assets.
|
|===
@@ -0,0 +1 @@
see docs/helpers/README.md#doc-tasks-for-new-releases for details how to create the necessary .adoc and .md files
@@ -1,46 +0,0 @@
make the markdown a asciidoc table
cp 4.0.0-5.0.0.md 4.0.0-5.0.0.adoc copy file
sed -i 's/.$//g' 4.0.0-5.0.0.adoc remove last character of each line which is |
sed -i 's/ \+//g' 4.0.0-5.0.0.adoc remove any double spaces
fully remove the line containing |----...|
rename: | File| Variable| Description| Default --> | Service| Variable| Description| Default
add on top under the page heading:
[width="100%",cols="~,~,~,~",options="header"]
|===
and at the bottom
|===
check SSE_HTTP_ADDR and SSE_HTTP_ROOT, there is one | too much
check WEB_OPTION_LOGIN_URL, there is one | missing
check WEB_OPTION_DISABLED_EXTENSIONS, in the line before, there is one | too much
sed -i "s/\;/\` \+\n\`/g" 4.0.0-5.0.0.adoc make each envvar a single line for ease of readability
sed -i "s/\`|/\`\n|/g" 4.0.0-5.0.0.adoc put the next | after the last envvar in a line into a new line
sed -i "s/|| \`/|\n|\`/g" 4.0.0-5.0.0.adoc split the || before an envvar into two lines
sed -i "s/services\/(.*)\//xref\:\{s-path\}\/\1\.adoc/g" 4.0.0-5.0.0.adoc make "service" a xref
sed -i "s/\(services\/\)\(.*\)\(\/pkg\/config\/config.go\)/xref\:\{s-path\}\/\2.adoc\[\2\]/g" 4.0.0-5.0.0.adoc
sed -i "s/\(services\/\)\(.*\)\(\/pkg\/config\/reva.go\)/xref\:\{s-path\}\/\2.adoc\[\2\]/g" 4.0.0-5.0.0.adoc
sed -i "s/\(services\/\)\(.*\)\(\/pkg\/config\/debug.go\)/xref\:\{s-path\}\/\2.adoc\[\2\]/g" 4.0.0-5.0.0.adoc
sed -i "s/\(services\/\)\(.*\)\(\/pkg\/config\/log.go\)/xref\:\{s-path\}\/\2.adoc\[\2\]/g" 4.0.0-5.0.0.adoc
sed -i "s/\(services\/\)\(.*\)\(\/pkg\/config\/tracing.go\)/xref\:\{s-path\}\/\2.adoc\[\2\]/g" 4.0.0-5.0.0.adoc
sed -i "s/\(services\/\)\(.*\)\(\/pkg\/config\/cache.go\)/xref\:\{s-path\}\/\2.adoc\[\2\]/g" 4.0.0-5.0.0.adoc
sed -i "s/\(services\/\)\(.*\)\(\/pkg\/config\/content.go\)/xref\:\{s-path\}\/\2.adoc\[\2\]/g" 4.0.0-5.0.0.adoc
sed -i "s/\(services\/\)\(.*\)\(\/pkg\/config\/search.go\)/xref\:\{s-path\}\/\2.adoc\[\2\]/g" 4.0.0-5.0.0.adoc
sed -i "s/\(services\/\)\(.*\)\(\/pkg\/config\/options.go\)/xref\:\{s-path\}\/\2.adoc\[\2\]/g" 4.0.0-5.0.0.adoc
services/antivirus/pkg/config/config.go --> xref:{s-path}/antivirus.adoc[antivirus]
change: ocis-pkg/shared/shared_types.go --> Available in multiple services
sed -i "s/\]|/\]\n|/g" 4.0.0-5.0.0.adoc put tab separator of service and envvar into a new line
sed -i "s/|\`/| \`/g" 4.0.0-5.0.0.adoc |`OCIS --> | `OCIS
sed -i 's/\.\./\./g' 4.0.0-5.0.0.adoc remove trailing double dots in sentences
manually fix (remove) any double occurrences if a service like clientlog, auth-service, graph, ocm, policies, postprocessing, search, sse. this is because the origin path points to different go routines inside the same service.
manually checking the result and fixing issues (mostly minor) is mandatory
+26 -25
View File
@@ -1,6 +1,7 @@
module github.com/owncloud/ocis/v2
go 1.22.0
toolchain go1.22.9
require (
dario.cat/mergo v1.0.1
@@ -14,8 +15,8 @@ require (
github.com/blevesearch/bleve/v2 v2.4.2
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-20240724121416-062c4e3046cb
github.com/cs3org/reva/v2 v2.26.0
github.com/cs3org/go-cs3apis v0.0.0-20241105092511-3ad35d174fc1
github.com/cs3org/reva/v2 v2.26.5
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
@@ -32,12 +33,11 @@ require (
github.com/go-micro/plugins/v4/server/grpc v1.2.0
github.com/go-micro/plugins/v4/server/http v1.2.2
github.com/go-micro/plugins/v4/store/nats-js-kv v0.0.0-20240726082623-6831adfdcdc4
github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker v1.2.0
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/gofrs/uuid v4.4.0+incompatible
github.com/golang-jwt/jwt/v4 v4.5.0
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.22.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.23.0
github.com/invopop/validation v0.8.0
github.com/jellydator/ttlcache/v2 v2.11.1
github.com/jellydator/ttlcache/v3 v3.3.0
@@ -63,16 +63,16 @@ 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.20.2
github.com/onsi/gomega v1.34.2
github.com/open-policy-agent/opa v0.69.0
github.com/onsi/ginkgo/v2 v2.21.0
github.com/onsi/gomega v1.35.1
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
github.com/pkg/errors v0.9.1
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.0
github.com/riandyrn/otelchi v0.10.1
github.com/rogpeppe/go-internal v1.13.1
github.com/rs/cors v1.11.1
github.com/rs/zerolog v1.33.0
@@ -92,22 +92,22 @@ require (
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/zpages v0.56.0
go.opentelemetry.io/otel v1.31.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/sdk v1.31.0
go.opentelemetry.io/otel/trace v1.31.0
golang.org/x/crypto v0.28.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/exp v0.0.0-20241009180824-f66d83c29e7c
golang.org/x/image v0.21.0
golang.org/x/net v0.30.0
golang.org/x/oauth2 v0.23.0
golang.org/x/sync v0.8.0
golang.org/x/term v0.25.0
golang.org/x/text v0.19.0
google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53
google.golang.org/grpc v1.67.1
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
google.golang.org/grpc v1.68.0
google.golang.org/protobuf v1.35.1
gopkg.in/yaml.v2 v2.4.0
gotest.tools/v3 v3.5.1
@@ -224,7 +224,7 @@ require (
github.com/gomodule/redigo v1.9.2 // indirect
github.com/google/flatbuffers v2.0.8+incompatible // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5 // indirect
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db // indirect
github.com/google/renameio/v2 v2.0.0 // indirect
github.com/gookit/color v1.5.4 // indirect
github.com/gookit/goutil v0.6.15 // indirect
@@ -301,7 +301,6 @@ require (
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749 // indirect
github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546 // indirect
github.com/skeema/knownhosts v1.2.1 // indirect
github.com/sony/gobreaker v0.5.0 // indirect
github.com/spacewander/go-suffix-tree v0.0.0-20191010040751-0865e368c784 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/objx v0.5.2 // indirect
@@ -323,18 +322,18 @@ require (
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/metric v1.31.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.26.0 // indirect
golang.org/x/sys v0.27.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-20241007155032-5fefd90f89a9 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241021214115-324edc3d5d38 // 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
@@ -350,6 +349,8 @@ 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
// 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
exclude github.com/mattn/go-sqlite3 v2.0.3+incompatible
+48 -54
View File
@@ -194,6 +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/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=
@@ -251,12 +253,10 @@ github.com/crewjam/httperr v0.2.0 h1:b2BfXR8U3AlIHwNeFFvZ+BV1LFvKLlzMjzaTnZMybNo
github.com/crewjam/httperr v0.2.0/go.mod h1:Jlz+Sg/XqBQhyMjdDiC+GNNRzZTD7x39Gu3pglZ5oH4=
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-20240724121416-062c4e3046cb h1:KmYZDReplv/yfwc1LNYpDcVhVujC3Pasv6WjXx1haSU=
github.com/cs3org/go-cs3apis v0.0.0-20240724121416-062c4e3046cb/go.mod h1:yyP8PRo0EZou3nSH7H4qjlzQwaydPeIRNgX50npQHpE=
github.com/cs3org/reva/v2 v2.25.1-0.20241018153308-a9a7270b8657 h1:AiW6J0bWKpsIL8DjdpF67vkzFY9c/tjp211b6EIEbQ4=
github.com/cs3org/reva/v2 v2.25.1-0.20241018153308-a9a7270b8657/go.mod h1:b+AwpMCeJo7pihdjr0ZBvs7gvgbVNCzFpCOIHqS2hiY=
github.com/cs3org/reva/v2 v2.26.0 h1:FTM0L0eP9MOfnEgmU9R+fAjCstgk0dCDbDMm9xg2FA4=
github.com/cs3org/reva/v2 v2.26.0/go.mod h1:b+AwpMCeJo7pihdjr0ZBvs7gvgbVNCzFpCOIHqS2hiY=
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/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=
@@ -413,8 +413,6 @@ github.com/go-micro/plugins/v4/store/redis v1.2.1 h1:d9kwr9bSpoK9vkHkqcv+isQUbgB
github.com/go-micro/plugins/v4/store/redis v1.2.1/go.mod h1:MbCG0YiyPqETTtm7uHFmxQNCaW1o9hBoYtFwhbVjLUg=
github.com/go-micro/plugins/v4/transport/grpc v1.1.0 h1:mXfDYfFQLnVDzjGY3o84oe4prfux9h8txsnA19dKsj8=
github.com/go-micro/plugins/v4/transport/grpc v1.1.0/go.mod h1:J5xMp70xXZzm8yafICrDrWaUDd8Gwy8vt0xif7NcOPg=
github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker v1.2.0 h1:EQj4l7fuOSz8ueUYhFlpZPp9+tN4JeONL32ARRKXW/U=
github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker v1.2.0/go.mod h1:JR9Ox/iJIrcXm8nCWdAEBsyG7Q7lyMLzsTZPfXrqvwo=
github.com/go-micro/plugins/v4/wrapper/monitoring/prometheus v1.2.0 h1:UWBUYtMXCxQ9bIGOYcbLOjtPv8ovvCRjWWM6tHhB4S8=
github.com/go-micro/plugins/v4/wrapper/monitoring/prometheus v1.2.0/go.mod h1:8BYxs/wEE4ZJayHZQffw4A8s9rcPumyoNms0hYoNocM=
github.com/go-micro/plugins/v4/wrapper/trace/opentelemetry v1.2.0 h1:e2hgtWMNqJ3DmbMt9ZxzmH/BkVAw9Xg23l6CHrXQfKw=
@@ -475,8 +473,8 @@ github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69
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.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg=
github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
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=
github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
github.com/golang/geo v0.0.0-20210211234256-740aa86cb551 h1:gtexQ/VGyN+VVFRXSFiguSNcXmS6rkKT+X7FdIrTtfo=
@@ -557,8 +555,8 @@ github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hf
github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5 h1:5iH8iuqE5apketRbSFBy+X1V0o+l+8NF1avt4HWl7cA=
github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144=
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db h1:097atOisP2aRj7vFgYQBbFN4U4JNXUNYpxael3UzMyo=
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/renameio/v2 v2.0.0 h1:UifI23ZTGY8Tt29JbYFiuyIU3eX+RNFtUwefq9qAhxg=
github.com/google/renameio/v2 v2.0.0/go.mod h1:BtmJXm5YlszgC+TD4HOEEUFgkJP3nLxehU6hfe7jRt4=
@@ -598,8 +596,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.22.0 h1:asbCHRVmodnJTuQ3qamDwqVOIjwqUPTYmYuemVOx+Ys=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.22.0/go.mod h1:ggCgvZ2r7uOoQjOyu2Y1NhHmEPPzzuhWgcza5M1Ji1I=
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/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=
@@ -870,15 +868,15 @@ 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.20.2 h1:7NVCeyIWROIAheY21RLS+3j2bb52W0W82tkberYytp4=
github.com/onsi/ginkgo/v2 v2.20.2/go.mod h1:K9gyxPIlb+aIvnZ8bd9Ak+YP18w3APlR+5coaZoE2ag=
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/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.34.2 h1:pNCwDkzrsv7MS9kpaQvVb1aVLahQXyJ/Tv5oAZMI3i8=
github.com/onsi/gomega v1.34.2/go.mod h1:v1xfxRgk0KIsG+QOdm7p8UosrOzPYRo60fd3B/1Dukc=
github.com/open-policy-agent/opa v0.69.0 h1:s2igLw2Z6IvGWGuXSfugWkVultDMsM9pXiDuMp7ckWw=
github.com/open-policy-agent/opa v0.69.0/go.mod h1:+qyXJGkpEJ6kpB1kGo8JSwHtVXbTdsGdQYPWWNYNj+4=
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/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=
github.com/opencontainers/runtime-spec v1.1.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
@@ -983,8 +981,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.0 h1:QMbR/FMDWBOkej6dfyWteYefUKqIFxnyrpaoWRJ9RPQ=
github.com/riandyrn/otelchi v0.10.0/go.mod h1:zBaX2FavWMlsvq4GqHit+QXxF1c5wIMZZFaYyW4+7FA=
github.com/riandyrn/otelchi v0.10.1 h1:x86f8M0pGvjW3tJUxpva4cpdNtMydLPnarIXHssYUy4=
github.com/riandyrn/otelchi v0.10.1/go.mod h1:SWarhA5rdeiCNq+Ygc4p59ZGM5AtYCiyPU/3Q5rzT0M=
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=
@@ -1046,8 +1044,6 @@ github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:s
github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
github.com/smartystreets/gunit v1.0.4/go.mod h1:EH5qMBab2UclzXUcpR8b93eHsIlp9u+pDQIRp5DZNzQ=
github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
github.com/sony/gobreaker v0.5.0 h1:dRCvqm0P490vZPmy7ppEk2qCnCieBooFJ+YoXGYB+yg=
github.com/sony/gobreaker v0.5.0/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY=
github.com/spacewander/go-suffix-tree v0.0.0-20191010040751-0865e368c784 h1:0jjO3HdJfOn6gYHD/ZNZh0LLMxEAqkYX7xoDPQReEgs=
github.com/spacewander/go-suffix-tree v0.0.0-20191010040751-0865e368c784/go.mod h1:ff/5myEGgtsAwf26goQCO905GrEm5ugEZSd6OWTsrhM=
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
@@ -1157,8 +1153,6 @@ github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9dec
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
go-micro.dev/v4 v4.11.0 h1:DZ2xcr0pnZJDlp6MJiCLhw4tXRxLw9xrJlPT91kubr0=
go-micro.dev/v4 v4.11.0/go.mod h1:eE/tD53n3KbVrzrWxKLxdkGw45Fg1qaNLWjpJMvIUF4=
go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
go.etcd.io/bbolt v1.3.11 h1:yGEzV1wPz2yVCLsD8ZAiGHhHVlczyC9d1rP43/VCRJ0=
go.etcd.io/bbolt v1.3.11/go.mod h1:dksAq7YMXoljX0xu6VF5DMZGbhYYoLUalEiSySYAS4I=
@@ -1182,22 +1176,22 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.5
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/zpages v0.56.0 h1:W7vP6s3juzL5KiHpr41zLNmsJ0QAZudYu8ay0zGAoko=
go.opentelemetry.io/contrib/zpages v0.56.0/go.mod h1:IxPRP4TYHw9jLeaEOSDIiA9zmyJNZNO6sbW55iMvSXs=
go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY=
go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE=
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/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE=
go.opentelemetry.io/otel/metric v1.31.0/go.mod h1:C3dEloVbLuYoX41KpmAhOqNriGbA+qqH6PQ5E5mUfnY=
go.opentelemetry.io/otel/sdk v1.31.0 h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk=
go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0=
go.opentelemetry.io/otel/trace v1.31.0 h1:ffjsj1aRouKewfr85U2aGagJ46+MvodynlQ1HYdmJys=
go.opentelemetry.io/otel/trace v1.31.0/go.mod h1:TXZkRk7SM2ZQLtR6eoAWQFIHPvzQ06FJAsO1tJg480A=
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=
go.opentelemetry.io/otel/sdk v1.32.0/go.mod h1:LqgegDBjKMmb2GC6/PrTnteJG39I8/vJCAP9LlJXEjU=
go.opentelemetry.io/otel/trace v1.32.0 h1:WIC9mYrXf8TmY/EXuULKc8hR17vE+Hjv2cssQDe03fM=
go.opentelemetry.io/otel/trace v1.32.0/go.mod h1:+i4rkvCraA+tG6AzwloGaCtkx53Fa+L+V8e9a7YvhT8=
go.opentelemetry.io/proto/otlp v1.3.1 h1:TrMUixzpM0yuc/znrFTP9MMRh8trP93mkCiDVeXrui0=
go.opentelemetry.io/proto/otlp v1.3.1/go.mod h1:0X1WI4de4ZsLrrJNLAQbFeLCm3T7yBkR0XqQ7niQU+8=
go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
@@ -1239,8 +1233,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.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw=
golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U=
golang.org/x/crypto v0.29.0 h1:L5SG1JTTXupVV3n6sUqMTeWbjAyfPwoda2DLX8J8FrQ=
golang.org/x/crypto v0.29.0/go.mod h1:+F4F4N5hv6v38hfeYwTdx20oUvLLc+QfrE9Ax9HtgRg=
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=
@@ -1346,8 +1340,8 @@ golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4Iltr
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc=
golang.org/x/oauth2 v0.23.0 h1:PbgcYx2W7i4LvjJWEbf0ngHV6qJYr86PkAV3bXdLEbs=
golang.org/x/oauth2 v0.23.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
golang.org/x/oauth2 v0.24.0 h1:KTBBxWqUa0ykRPLtV69rRto9TLXcqYkeswu48x/gvNE=
golang.org/x/oauth2 v0.24.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -1362,8 +1356,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.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sync v0.9.0 h1:fEo0HyrW1GIgZdpbhCRO0PkJajUS5H9IFUztCgEo2jQ=
golang.org/x/sync v0.9.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=
@@ -1445,8 +1439,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.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo=
golang.org/x/sys v0.26.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/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=
@@ -1457,8 +1451,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.25.0 h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24=
golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M=
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/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=
@@ -1475,8 +1469,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.19.0 h1:kTxAhCbGbxhK0IwgSKiMO5awPoDQ0RpfiVYBfK860YM=
golang.org/x/text v0.19.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY=
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/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=
@@ -1600,10 +1594,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-20241015192408-796eee8c2d53 h1:fVoAXEKA4+yufmbdVYv+SE73+cPZbbbe8paLsHfkK+U=
google.golang.org/genproto/googleapis/api v0.0.0-20241015192408-796eee8c2d53/go.mod h1:riSXTwQ4+nqmPGtobMFyW5FqVAmIs0St6VPp4Ug7CE4=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9 h1:QCqS/PdaHTSWGvupk2F/ehwHtGc0/GYkT+3GAcR1CCc=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241007155032-5fefd90f89a9/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI=
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/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=
@@ -1619,8 +1613,8 @@ google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3Iji
google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E=
google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA=
google.golang.org/grpc v1.68.0 h1:aHQeeJbo8zAkAa3pRzrVjZlbz6uSfeOXlJNQM0RAbz0=
google.golang.org/grpc v1.68.0/go.mod h1:fmSPC5AsjSBCK54MyHRx48kpOti1/jRfOlwEWywNjWA=
google.golang.org/grpc/examples v0.0.0-20211102180624-670c133e568e h1:m7aQHHqd0q89mRwhwS9Bx2rjyl/hsFAeta+uGrHsQaU=
google.golang.org/grpc/examples v0.0.0-20211102180624-670c133e568e/go.mod h1:gID3PKrg7pWKntu9Ss6zTLJ0ttC0X9IHgREOCZwbCVU=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
+15 -2
View File
@@ -2,15 +2,17 @@ package registry
import (
"context"
"net/http"
"time"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
mRegistry "go-micro.dev/v4/registry"
"github.com/owncloud/ocis/v2/ocis-pkg/log"
)
// RegisterService publishes an arbitrary endpoint to the service-registry. This allows querying nodes of
// non-micro services like reva. No health-checks are done, thus the caller is responsible for canceling.
func RegisterService(ctx context.Context, service *mRegistry.Service, logger log.Logger) error {
func RegisterService(ctx context.Context, logger log.Logger, service *mRegistry.Service, debugAddr string) error {
registry := GetRegistry()
node := service.Nodes[0]
@@ -24,6 +26,17 @@ func RegisterService(ctx context.Context, service *mRegistry.Service, logger log
t := time.NewTicker(GetRegisterInterval())
go func() {
// check if the service is ready
delay := 500 * time.Millisecond
for {
resp, err := http.DefaultClient.Get("http://" + debugAddr + "/readyz")
if err == nil && resp.StatusCode == http.StatusOK {
resp.Body.Close()
break
}
time.Sleep(delay)
delay *= 2
}
for {
select {
case <-t.C:
-2
View File
@@ -7,7 +7,6 @@ import (
"os"
mgrpcc "github.com/go-micro/plugins/v4/client/grpc"
mbreaker "github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker"
mtracer "github.com/go-micro/plugins/v4/wrapper/trace/opentelemetry"
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
"github.com/owncloud/ocis/v2/ocis-pkg/shared"
@@ -69,7 +68,6 @@ func NewClient(opts ...ClientOption) (client.Client, error) {
var tlsConfig *tls.Config
cOpts := []client.Option{
client.Registry(reg),
client.Wrap(mbreaker.NewClientWrapper()),
client.Wrap(mtracer.NewClientWrapper(
mtracer.WithTraceProvider(options.tp),
)),
+11 -2
View File
@@ -1,6 +1,15 @@
package shared
import (
// we import automemlimit here to include it for ocis als well as individual service binaries
_ "github.com/KimMachineGun/automemlimit"
"log/slog"
"github.com/KimMachineGun/automemlimit/memlimit"
)
// we init the memlimit here to include it for ocis als well as individual service binaries
func init() {
slog.SetLogLoggerLevel(slog.LevelError)
_, _ = memlimit.SetGoMemLimitWithOpts(
memlimit.WithLogger(slog.Default()),
)
}
-21
View File
@@ -1,21 +0,0 @@
package sync
import (
"context"
"os"
"os/signal"
"github.com/oklog/run"
)
// Trap listens to interrupt signals and handles context cancellation and channel closing on a group run.
func Trap(gr *run.Group, cancel context.CancelFunc) {
stop := make(chan os.Signal, 1)
gr.Add(func() error {
signal.Notify(stop, os.Interrupt)
<-stop
return nil
}, func(err error) {
cancel()
})
}
+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 = "6.6.1+dev"
LatestTag = "7.0.0-rc.2+dev"
// Date indicates the build date.
// This has been removed, it looks like you can only replace static strings with recent go versions
+1 -1
View File
@@ -3,7 +3,7 @@ FROM amd64/alpine:3.20
ARG VERSION=""
ARG REVISION=""
RUN apk add --no-cache attr bash ca-certificates curl inotify-tools libc6-compat mailcap tree vips && \
RUN apk add --no-cache attr bash ca-certificates curl inotify-tools libc6-compat mailcap tree vips patch && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
+1 -1
View File
@@ -3,7 +3,7 @@ FROM arm64v8/alpine:3.20
ARG VERSION=""
ARG REVISION=""
RUN apk add --no-cache attr bash ca-certificates curl inotify-tools libc6-compat mailcap tree vips && \
RUN apk add --no-cache attr bash ca-certificates curl inotify-tools libc6-compat mailcap tree vips patch && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
+1 -1
View File
@@ -3,7 +3,7 @@ FROM amd64/alpine:latest
ARG VERSION=""
ARG REVISION=""
RUN apk add --no-cache attr bash ca-certificates curl delve inotify-tools libc6-compat mailcap tree vips && \
RUN apk add --no-cache attr bash ca-certificates curl delve inotify-tools libc6-compat mailcap tree vips patch && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
+2 -2
View File
@@ -28,9 +28,9 @@ var (
// regex to determine if a node is trashed or versioned.
// 9113a718-8285-4b32-9042-f930f1a58ac2.REV.2024-05-22T07:32:53.89969726Z
_versionRegex = regexp.MustCompile(`\.REV\.[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]+Z$`)
_versionRegex = regexp.MustCompile(`\.REV\.[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$`)
// 9113a718-8285-4b32-9042-f930f1a58ac2.T.2024-05-23T08:25:20.006571811Z <- this HAS a symlink
_trashRegex = regexp.MustCompile(`\.T\.[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]+Z$`)
_trashRegex = regexp.MustCompile(`\.T\.[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]+)?Z$`)
)
// Consistency holds the node and blob data of a storage provider
+2 -1
View File
@@ -515,7 +515,8 @@ func trap(s *Service, ctx context.Context) {
}
}
s.Log.Debug().Str("service", "runtime service").Msgf("terminating with signal: %v", s)
os.Exit(0)
time.Sleep(3 * time.Second) // give the services time to deregister
os.Exit(0) // FIXME this cause an early exit that prevents services from shitting down properly
}
// pingNats will attempt to connect to nats, blocking until a connection is established
+11 -4
View File
@@ -134,10 +134,17 @@ func Server(cfg *config.Config) *cli.Command {
gr.Add(func() error {
return svc.Run()
}, func(err error) {
logger.Error().
Str("transport", "http").
Err(err).
Msg("Shutting down server")
if err == nil {
logger.Info().
Str("transport", "http").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
} else {
logger.Error().Err(err).
Str("transport", "http").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
}
cancel()
})
+2 -2
View File
@@ -26,8 +26,8 @@ type Config struct {
HTTP HTTP `yaml:"http"`
TokenManager *TokenManager `yaml:"token_manager"`
TranslationPath string `yaml:"translation_path" env:"OCIS_TRANSLATION_PATH;ACTIVITYLOG_TRANSLATION_PATH" desc:"(optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details." introductionVersion:"%%NEXT%%"`
DefaultLanguage string `yaml:"default_language" env:"OCIS_DEFAULT_LANGUAGE" desc:"The default language used by services and the WebUI. If not defined, English will be used as default. See the documentation for more details." introductionVersion:"%%NEXT%%"`
TranslationPath string `yaml:"translation_path" env:"OCIS_TRANSLATION_PATH;ACTIVITYLOG_TRANSLATION_PATH" desc:"(optional) Set this to a path with custom translations to overwrite the builtin translations. Note that file and folder naming rules apply, see the documentation for more details." introductionVersion:"7.0.0"`
DefaultLanguage string `yaml:"default_language" env:"OCIS_DEFAULT_LANGUAGE" desc:"The default language used by services and the WebUI. If not defined, English will be used as default. See the documentation for more details." introductionVersion:"7.0.0"`
ServiceAccount ServiceAccount `yaml:"service_account"`
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-10-20 01:00+0000\n"
"POT-Creation-Date: 2024-11-10 00:05+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-07 00:42+0000\n"
"POT-Creation-Date: 2024-10-28 00:04+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-10-16 01:00+0000\n"
"POT-Creation-Date: 2024-11-06 00:05+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-11 00:20+0000\n"
"POT-Creation-Date: 2024-10-31 05:08+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"
@@ -4,6 +4,7 @@
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# F Bausch, 2024
# Flávio Veras <flaviove@gmail.com>, 2024
#
#, fuzzy
@@ -11,7 +12,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-09-21 00:44+0000\n"
"POT-Creation-Date: 2024-11-03 00:06+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"
@@ -21,50 +22,82 @@ msgstr ""
"Language: pt_BR\n"
"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
#: pkg/service/response.go:44
msgid "description"
msgstr "descrição"
#: pkg/service/response.go:43
msgid "display name"
msgstr "nome de exibição"
#: pkg/service/response.go:42
msgid "expiration date"
msgstr "data de expiração"
#: pkg/service/response.go:41
msgid "password"
msgstr "senha"
#: pkg/service/response.go:40
msgid "permission"
msgstr "permissão"
#: pkg/service/response.go:39
msgid "some field"
msgstr "algum campo"
#: pkg/service/response.go:26
msgid "{resource} was downloaded via public link {token}"
msgstr "{Resource} foi baixado via link público {token}"
#: pkg/service/response.go:24
msgid "{user} added {resource} to {folder}"
msgstr ""
msgstr "{user} adicionado {Resource} para {pasta}"
#: pkg/service/response.go:34
#: pkg/service/response.go:36
msgid "{user} added {sharee} as member of {space}"
msgstr "{user} adicionou {sharee} como membro de {space}"
#: pkg/service/response.go:26
msgid "{user} deleted {resource} from {folder}"
msgstr ""
#: pkg/service/response.go:27
msgid "{user} moved {resource} to {folder}"
msgstr ""
msgid "{user} deleted {resource} from {folder}"
msgstr "{user} excluído {Resource} de {pasta}"
#: pkg/service/response.go:33
#: pkg/service/response.go:28
msgid "{user} moved {resource} to {folder}"
msgstr "{user} movido {Resource} para {pasta}"
#: pkg/service/response.go:35
msgid "{user} removed link to {resource}"
msgstr "{user} removeu link para {resource}"
#: pkg/service/response.go:30
#: pkg/service/response.go:32
msgid "{user} removed {sharee} from {resource}"
msgstr "{user} removeu {sharee} de {resource}"
#: pkg/service/response.go:35
#: pkg/service/response.go:37
msgid "{user} removed {sharee} from {space}"
msgstr "{user} removeu {sharee} de {space}"
#: pkg/service/response.go:28
#: pkg/service/response.go:29
msgid "{user} renamed {oldResource} to {resource}"
msgstr "{usuário} renomeado {oldResource} para {resource}"
#: pkg/service/response.go:31
#: pkg/service/response.go:33
msgid "{user} shared {resource} via link"
msgstr "{usuário} compartilhou {recurso} via link"
#: pkg/service/response.go:29
#: pkg/service/response.go:30
msgid "{user} shared {resource} with {sharee}"
msgstr "{usuário} compartilhou {recurso} com {sharee}"
#: pkg/service/response.go:32
#: pkg/service/response.go:34
msgid "{user} updated {field} for a link {token} on {resource}"
msgstr "{user} atualizou {field} para um link {token} em {resource}"
#: pkg/service/response.go:31
msgid "{user} updated {field} for the {resource}"
msgstr "{user} atualizado {field} para {Resource}"
#: pkg/service/response.go:25
msgid "{user} updated {resource} in {folder}"
msgstr "{usuário} atualizou {recurso} em {pasta}"
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2024-10-17 01:01+0000\n"
"POT-Creation-Date: 2024-11-07 00:42+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-10-19 01:54+0000\n"
"POT-Creation-Date: 2024-11-09 00:04+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-10-14 01:38+0000\n"
"POT-Creation-Date: 2024-11-04 00:04+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-10-12 01:07+0000\n"
"POT-Creation-Date: 2024-11-02 00:43+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"
+6 -2
View File
@@ -15,9 +15,13 @@ The antivirus service currently supports [ICAP](https://tools.ietf.org/html/rfc3
Several factors can make it necessary to limit the maximum filesize the antivirus service will use for scanning. Use the `ANTIVIRUS_MAX_SCAN_SIZE` environment variable to scan only a given amount of bytes. Obviously, it is recommended to scan the whole file, but several factors like scanner type and version, bandwidth, performance issues, etc. might make a limit necessary.
> [!CAUTION]
**IMPORTANT**
> Streaming of files to the virus scan service still [needs to be implemented](https://github.com/owncloud/ocis/issues/6803). To prevent OOM errors `ANTIVIRUS_MAX_SCAN_SIZE` needs to be set lower than available ram.
### Antivirus Workers
The number of concurrent scans can be increased by setting `ANTIVIRUS_WORKERS`. Be aware that this will also increase memory usage.
### Infected File Handling
The antivirus service allows three different ways of handling infected files. Those can be set via the `ANTIVIRUS_INFECTED_FILE_HANDLING` environment variable:
@@ -44,4 +48,4 @@ The number of concurrent scans can be increased by setting `ANTIVIRUS_WORKERS`,
### Scaling in Kubernetes
In kubernetes `ANTIVIRUS_WORKERS` and `ANTIVIRUS_MAX_SCAN_SIZE` can be used to trigger the horizontal pod autoscaler by requesting a memory size that is below `ANTIVIRUS_MAX_SCAN_SIZE`. Keep in mind that `ANTIVIRUS_MAX_SCAN_SIZE` amount of memory might be held by `ANTIVIRUS_WORKERS` number of go routines.
In kubernetes, `ANTIVIRUS_WORKERS` and `ANTIVIRUS_MAX_SCAN_SIZE` can be used to trigger the horizontal pod autoscaler by requesting a memory size that is below `ANTIVIRUS_MAX_SCAN_SIZE`. Keep in mind that `ANTIVIRUS_MAX_SCAN_SIZE` amount of memory might be held by `ANTIVIRUS_WORKERS` number of go routines.
+1 -1
View File
@@ -18,7 +18,7 @@ type Config struct {
InfectedFileHandling string `yaml:"infected-file-handling" env:"ANTIVIRUS_INFECTED_FILE_HANDLING" desc:"Defines the behaviour when a virus has been found. Supported options are: 'delete', 'continue' and 'abort '. Delete will delete the file. Continue will mark the file as infected but continues further processing. Abort will keep the file in the uploads folder for further admin inspection and will not move it to its final destination." introductionVersion:"pre5.0"`
Events Events
Workers int `yaml:"workers" env:"ANTIVIRUS_WORKERS" desc:"The number of concurrent go routines that fetch events from the event queue." introductionVersion:"%%NEXT%%"`
Workers int `yaml:"workers" env:"ANTIVIRUS_WORKERS" desc:"The number of concurrent go routines that fetch events from the event queue." introductionVersion:"7.0.0"`
Scanner Scanner
MaxScanSize string `yaml:"max-scan-size" env:"ANTIVIRUS_MAX_SCAN_SIZE" desc:"The maximum scan size the virus scanner can handle. Only this many bytes of a file will be scanned. 0 means unlimited and is the default. Usable common abbreviations: [KB, KiB, MB, MiB, GB, GiB, TB, TiB, PB, PiB, EB, EiB], example: 2GB." introductionVersion:"pre5.0"`
+21 -11
View File
@@ -9,9 +9,10 @@ import (
"github.com/cs3org/reva/v2/cmd/revad/runtime"
"github.com/gofrs/uuid"
"github.com/oklog/run"
"github.com/urfave/cli/v2"
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
"github.com/owncloud/ocis/v2/ocis-pkg/sync"
"github.com/owncloud/ocis/v2/ocis-pkg/tracing"
"github.com/owncloud/ocis/v2/ocis-pkg/version"
"github.com/owncloud/ocis/v2/services/app-provider/pkg/config"
@@ -19,7 +20,6 @@ import (
"github.com/owncloud/ocis/v2/services/app-provider/pkg/logging"
"github.com/owncloud/ocis/v2/services/app-provider/pkg/revaconfig"
"github.com/owncloud/ocis/v2/services/app-provider/pkg/server/debug"
"github.com/urfave/cli/v2"
)
// Server is the entry point for the server command.
@@ -42,6 +42,13 @@ func Server(cfg *config.Config) *cli.Command {
defer cancel()
// make sure the run group executes all interrupt handlers when the context is canceled
gr.Add(func() error {
<-ctx.Done()
return nil
}, func(_ error) {
})
gr.Add(func() error {
pidFile := path.Join(os.TempDir(), "revad-"+cfg.Service.Name+"-"+uuid.Must(uuid.NewV4()).String()+".pid")
rCfg := revaconfig.AppProviderConfigFromStruct(cfg)
@@ -55,10 +62,17 @@ func Server(cfg *config.Config) *cli.Command {
return nil
}, func(err error) {
logger.Error().
Str("server", cfg.Service.Name).
Err(err).
Msg("Shutting down server")
if err == nil {
logger.Info().
Str("transport", "reva").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
} else {
logger.Error().Err(err).
Str("transport", "reva").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
}
cancel()
})
@@ -77,12 +91,8 @@ func Server(cfg *config.Config) *cli.Command {
cancel()
})
if !cfg.Supervised {
sync.Trap(&gr, cancel)
}
grpcSvc := registry.BuildGRPCService(cfg.GRPC.Namespace+"."+cfg.Service.Name, cfg.GRPC.Protocol, cfg.GRPC.Addr, version.GetString())
if err := registry.RegisterService(ctx, grpcSvc, logger); err != nil {
if err := registry.RegisterService(ctx, logger, grpcSvc, cfg.Debug.Addr); err != nil {
logger.Fatal().Err(err).Msg("failed to register the grpc service")
}
+1 -2
View File
@@ -22,8 +22,7 @@ type Config struct {
Driver string `yaml:"driver" env:"APP_PROVIDER_DRIVER" desc:"Driver, the APP PROVIDER services uses. Only 'wopi' is supported as of now." introductionVersion:"pre5.0"`
Drivers Drivers `yaml:"drivers"`
Supervised bool `yaml:"-"`
Context context.Context `yaml:"-"`
Context context.Context `yaml:"-"`
}
type Log struct {
+19 -5
View File
@@ -41,6 +41,13 @@ func Server(cfg *config.Config) *cli.Command {
defer cancel()
// make sure the run group executes all interrupt handlers when the context is canceled
gr.Add(func() error {
<-ctx.Done()
return nil
}, func(_ error) {
})
gr.Add(func() error {
pidFile := path.Join(os.TempDir(), "revad-"+cfg.Service.Name+"-"+uuid.Must(uuid.NewV4()).String()+".pid")
rCfg := revaconfig.AppRegistryConfigFromStruct(cfg, logger)
@@ -54,10 +61,17 @@ func Server(cfg *config.Config) *cli.Command {
return nil
}, func(err error) {
logger.Error().
Str("server", cfg.Service.Name).
Err(err).
Msg("Shutting down server")
if err == nil {
logger.Info().
Str("transport", "reva").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
} else {
logger.Error().Err(err).
Str("transport", "reva").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
}
cancel()
})
@@ -78,7 +92,7 @@ func Server(cfg *config.Config) *cli.Command {
})
grpcSvc := registry.BuildGRPCService(cfg.GRPC.Namespace+"."+cfg.Service.Name, cfg.GRPC.Protocol, cfg.GRPC.Addr, version.GetString())
if err := registry.RegisterService(ctx, grpcSvc, logger); err != nil {
if err := registry.RegisterService(ctx, logger, grpcSvc, cfg.Debug.Addr); err != nil {
logger.Fatal().Err(err).Msg("failed to register the grpc service")
}
+1 -2
View File
@@ -21,8 +21,7 @@ type Config struct {
AppRegistry AppRegistry `yaml:"app_registry"`
Supervised bool `yaml:"-"`
Context context.Context `yaml:"-"`
Context context.Context `yaml:"-"`
}
type Log struct {
+12 -3
View File
@@ -49,9 +49,18 @@ func Server(cfg *config.Config) *cli.Command {
svc.AuditLoggerFromConfig(ctx, cfg.Auditlog, evts, logger)
return nil
}, func(err error) {
logger.Error().
Err(err).
Msg("Shutting down server")
if err == nil {
logger.Info().
Str("transport", "stream").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
} else {
logger.Error().Err(err).
Str("transport", "stream").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
}
cancel()
})
+19 -10
View File
@@ -13,7 +13,6 @@ import (
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
ogrpc "github.com/owncloud/ocis/v2/ocis-pkg/service/grpc"
"github.com/owncloud/ocis/v2/ocis-pkg/sync"
"github.com/owncloud/ocis/v2/ocis-pkg/tracing"
"github.com/owncloud/ocis/v2/ocis-pkg/version"
settingssvc "github.com/owncloud/ocis/v2/protogen/gen/ocis/services/settings/v0"
@@ -50,6 +49,13 @@ func Server(cfg *config.Config) *cli.Command {
defer cancel()
// make sure the run group executes all interrupt handlers when the context is canceled
gr.Add(func() error {
<-ctx.Done()
return nil
}, func(_ error) {
})
gr.Add(func() error {
pidFile := path.Join(os.TempDir(), "revad-"+cfg.Service.Name+"-"+uuid.Must(uuid.NewV4()).String()+".pid")
rCfg := revaconfig.AuthAppConfigFromStruct(cfg)
@@ -63,10 +69,17 @@ func Server(cfg *config.Config) *cli.Command {
return nil
}, func(err error) {
logger.Error().
Str("server", cfg.Service.Name).
Err(err).
Msg("Shutting down server")
if err == nil {
logger.Info().
Str("transport", "reva").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
} else {
logger.Error().Err(err).
Str("transport", "reva").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
}
cancel()
})
@@ -86,12 +99,8 @@ func Server(cfg *config.Config) *cli.Command {
cancel()
})
if !cfg.Supervised {
sync.Trap(&gr, cancel)
}
grpcSvc := registry.BuildGRPCService(cfg.GRPC.Namespace+"."+cfg.Service.Name, cfg.GRPC.Protocol, cfg.GRPC.Addr, version.GetString())
if err := registry.RegisterService(ctx, grpcSvc, logger); err != nil {
if err := registry.RegisterService(ctx, logger, grpcSvc, cfg.Debug.Addr); err != nil {
logger.Fatal().Err(err).Msg("failed to register the grpc service")
}
+14 -15
View File
@@ -22,22 +22,21 @@ type Config struct {
TokenManager *TokenManager `yaml:"token_manager"`
Reva *shared.Reva `yaml:"reva"`
SkipUserGroupsInToken bool `yaml:"skip_user_groups_in_token" env:"AUTH_APP_SKIP_USER_GROUPS_IN_TOKEN" desc:"Disables the encoding of the user's group memberships in the access token. This reduces the token size, especially when users are members of a large number of groups." introductionVersion:"%%NEXT%%"`
SkipUserGroupsInToken bool `yaml:"skip_user_groups_in_token" env:"AUTH_APP_SKIP_USER_GROUPS_IN_TOKEN" desc:"Disables the encoding of the user's group memberships in the access token. This reduces the token size, especially when users are members of a large number of groups." introductionVersion:"7.0.0"`
MachineAuthAPIKey string `yaml:"machine_auth_api_key" env:"OCIS_MACHINE_AUTH_API_KEY;AUTH_APP_MACHINE_AUTH_API_KEY" desc:"The machine auth API key used to validate internal requests necessary to access resources from other services." introductionVersion:"%%NEXT%%"`
MachineAuthAPIKey string `yaml:"machine_auth_api_key" env:"OCIS_MACHINE_AUTH_API_KEY;AUTH_APP_MACHINE_AUTH_API_KEY" desc:"The machine auth API key used to validate internal requests necessary to access resources from other services." introductionVersion:"7.0.0"`
AllowImpersonation bool `yaml:"allow_impersonation" env:"AUTH_APP_ENABLE_IMPERSONATION" desc:"Allows admins to create app tokens for other users. Used for migration. Do NOT use in productive deployments." introductionVersion:"%%NEXT%%"`
AllowImpersonation bool `yaml:"allow_impersonation" env:"AUTH_APP_ENABLE_IMPERSONATION" desc:"Allows admins to create app tokens for other users. Used for migration. Do NOT use in productive deployments." introductionVersion:"7.0.0"`
Supervised bool `yaml:"-"`
Context context.Context `yaml:"-"`
Context context.Context `yaml:"-"`
}
// Log defines the loging configuration
type Log struct {
Level string `yaml:"level" env:"OCIS_LOG_LEVEL;AUTH_APP_LOG_LEVEL" desc:"The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'." introductionVersion:"%%NEXT%%"`
Pretty bool `yaml:"pretty" env:"OCIS_LOG_PRETTY;AUTH_APP_LOG_PRETTY" desc:"Activates pretty log output." introductionVersion:"%%NEXT%%"`
Color bool `yaml:"color" env:"OCIS_LOG_COLOR;AUTH_APP_LOG_COLOR" desc:"Activates colorized log output." introductionVersion:"%%NEXT%%"`
File string `yaml:"file" env:"OCIS_LOG_FILE;AUTH_APP_LOG_FILE" desc:"The path to the log file. Activates logging to this file if set." introductionVersion:"%%NEXT%%"`
Level string `yaml:"level" env:"OCIS_LOG_LEVEL;AUTH_APP_LOG_LEVEL" desc:"The log level. Valid values are: 'panic', 'fatal', 'error', 'warn', 'info', 'debug', 'trace'." introductionVersion:"7.0.0"`
Pretty bool `yaml:"pretty" env:"OCIS_LOG_PRETTY;AUTH_APP_LOG_PRETTY" desc:"Activates pretty log output." introductionVersion:"7.0.0"`
Color bool `yaml:"color" env:"OCIS_LOG_COLOR;AUTH_APP_LOG_COLOR" desc:"Activates colorized log output." introductionVersion:"7.0.0"`
File string `yaml:"file" env:"OCIS_LOG_FILE;AUTH_APP_LOG_FILE" desc:"The path to the log file. Activates logging to this file if set." introductionVersion:"7.0.0"`
}
// Service defines the service configuration
@@ -47,18 +46,18 @@ type Service struct {
// Debug defines the debug configuration
type Debug struct {
Addr string `yaml:"addr" env:"AUTH_APP_DEBUG_ADDR" desc:"Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed." introductionVersion:"%%NEXT%%"`
Token string `yaml:"token" env:"AUTH_APP_DEBUG_TOKEN" desc:"Token to secure the metrics endpoint." introductionVersion:"%%NEXT%%"`
Pprof bool `yaml:"pprof" env:"AUTH_APP_DEBUG_PPROF" desc:"Enables pprof, which can be used for profiling." introductionVersion:"%%NEXT%%"`
Zpages bool `yaml:"zpages" env:"AUTH_APP_DEBUG_ZPAGES" desc:"Enables zpages, which can be used for collecting and viewing traces in-memory." introductionVersion:"%%NEXT%%"`
Addr string `yaml:"addr" env:"AUTH_APP_DEBUG_ADDR" desc:"Bind address of the debug server, where metrics, health, config and debug endpoints will be exposed." introductionVersion:"7.0.0"`
Token string `yaml:"token" env:"AUTH_APP_DEBUG_TOKEN" desc:"Token to secure the metrics endpoint." introductionVersion:"7.0.0"`
Pprof bool `yaml:"pprof" env:"AUTH_APP_DEBUG_PPROF" desc:"Enables pprof, which can be used for profiling." introductionVersion:"7.0.0"`
Zpages bool `yaml:"zpages" env:"AUTH_APP_DEBUG_ZPAGES" desc:"Enables zpages, which can be used for collecting and viewing traces in-memory." introductionVersion:"7.0.0"`
}
// GRPCConfig defines the GRPC configuration
type GRPCConfig struct {
Addr string `yaml:"addr" env:"AUTH_APP_GRPC_ADDR" desc:"The bind address of the GRPC service." introductionVersion:"%%NEXT%%"`
Addr string `yaml:"addr" env:"AUTH_APP_GRPC_ADDR" desc:"The bind address of the GRPC service." introductionVersion:"7.0.0"`
TLS *shared.GRPCServiceTLS `yaml:"tls"`
Namespace string `yaml:"-"`
Protocol string `yaml:"protocol" env:"OCIS_GRPC_PROTOCOL;AUTH_APP_GRPC_PROTOCOL" desc:"The transport protocol of the GRPC service." introductionVersion:"%%NEXT%%"`
Protocol string `yaml:"protocol" env:"OCIS_GRPC_PROTOCOL;AUTH_APP_GRPC_PROTOCOL" desc:"The transport protocol of the GRPC service." introductionVersion:"7.0.0"`
}
// HTTP defines the available http configuration.
+1 -1
View File
@@ -2,5 +2,5 @@ package config
// TokenManager is the config for using the reva token manager
type TokenManager struct {
JWTSecret string `yaml:"jwt_secret" env:"OCIS_JWT_SECRET;AUTH_APP_JWT_SECRET" desc:"The secret to mint and validate jwt tokens." introductionVersion:"%%NEXT%%"`
JWTSecret string `yaml:"jwt_secret" env:"OCIS_JWT_SECRET;AUTH_APP_JWT_SECRET" desc:"The secret to mint and validate jwt tokens." introductionVersion:"7.0.0"`
}
+4 -4
View File
@@ -4,10 +4,10 @@ import "github.com/owncloud/ocis/v2/ocis-pkg/tracing"
// Tracing defines the tracing configuration.
type Tracing struct {
Enabled bool `yaml:"enabled" env:"OCIS_TRACING_ENABLED;AUTH_APP_TRACING_ENABLED" desc:"Activates tracing." introductionVersion:"%%NEXT%%"`
Type string `yaml:"type" env:"OCIS_TRACING_TYPE;AUTH_APP_TRACING_TYPE" desc:"The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now." introductionVersion:"%%NEXT%%"`
Endpoint string `yaml:"endpoint" env:"OCIS_TRACING_ENDPOINT;AUTH_APP_TRACING_ENDPOINT" desc:"The endpoint of the tracing agent." introductionVersion:"%%NEXT%%"`
Collector string `yaml:"collector" env:"OCIS_TRACING_COLLECTOR;AUTH_APP_TRACING_COLLECTOR" desc:"The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset." introductionVersion:"%%NEXT%%"`
Enabled bool `yaml:"enabled" env:"OCIS_TRACING_ENABLED;AUTH_APP_TRACING_ENABLED" desc:"Activates tracing." introductionVersion:"7.0.0"`
Type string `yaml:"type" env:"OCIS_TRACING_TYPE;AUTH_APP_TRACING_TYPE" desc:"The type of tracing. Defaults to '', which is the same as 'jaeger'. Allowed tracing types are 'jaeger' and '' as of now." introductionVersion:"7.0.0"`
Endpoint string `yaml:"endpoint" env:"OCIS_TRACING_ENDPOINT;AUTH_APP_TRACING_ENDPOINT" desc:"The endpoint of the tracing agent." introductionVersion:"7.0.0"`
Collector string `yaml:"collector" env:"OCIS_TRACING_COLLECTOR;AUTH_APP_TRACING_COLLECTOR" desc:"The HTTP endpoint for sending spans directly to a collector, i.e. http://jaeger-collector:14268/api/traces. Only used if the tracing endpoint is unset." introductionVersion:"7.0.0"`
}
// Convert Tracing to the tracing package's Config struct.
+19 -10
View File
@@ -12,7 +12,6 @@ import (
"github.com/owncloud/ocis/v2/ocis-pkg/config/configlog"
"github.com/owncloud/ocis/v2/ocis-pkg/ldap"
"github.com/owncloud/ocis/v2/ocis-pkg/registry"
"github.com/owncloud/ocis/v2/ocis-pkg/sync"
"github.com/owncloud/ocis/v2/ocis-pkg/tracing"
"github.com/owncloud/ocis/v2/ocis-pkg/version"
"github.com/owncloud/ocis/v2/services/auth-basic/pkg/config"
@@ -55,6 +54,13 @@ func Server(cfg *config.Config) *cli.Command {
}
}
// make sure the run group executes all interrupt handlers when the context is canceled
gr.Add(func() error {
<-ctx.Done()
return nil
}, func(_ error) {
})
gr.Add(func() error {
pidFile := path.Join(os.TempDir(), "revad-"+cfg.Service.Name+"-"+uuid.Must(uuid.NewV4()).String()+".pid")
rCfg := revaconfig.AuthBasicConfigFromStruct(cfg)
@@ -68,10 +74,17 @@ func Server(cfg *config.Config) *cli.Command {
return nil
}, func(err error) {
logger.Error().
Str("server", cfg.Service.Name).
Err(err).
Msg("Shutting down server")
if err == nil {
logger.Info().
Str("transport", "reva").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
} else {
logger.Error().Err(err).
Str("transport", "reva").
Str("server", cfg.Service.Name).
Msg("Shutting down server")
}
cancel()
})
@@ -91,12 +104,8 @@ func Server(cfg *config.Config) *cli.Command {
cancel()
})
if !cfg.Supervised {
sync.Trap(&gr, cancel)
}
grpcSvc := registry.BuildGRPCService(cfg.GRPC.Namespace+"."+cfg.Service.Name, cfg.GRPC.Protocol, cfg.GRPC.Addr, version.GetString())
if err := registry.RegisterService(ctx, grpcSvc, logger); err != nil {
if err := registry.RegisterService(ctx, logger, grpcSvc, cfg.Debug.Addr); err != nil {
logger.Fatal().Err(err).Msg("failed to register the grpc service")
}
Loaded 100 of 493 files, more files were not shown because too many files have changed in this diff. Show more