Compare commits

..
Author SHA1 Message Date
Michael Barz e7a3d0c535 prepare changelog, add beta to template, bump version 2022-05-09 18:18:03 +02:00
Willy Kloucek 9ef68fdcfd Automated changelog update [skip ci] 2022-05-09 13:00:28 +00:00
Willy Kloucek faa818385b Merge pull request #3740 from wkloucek/remove-run-kill-runtime
remove run and kill commands from the runtime
2022-05-09 14:58:41 +02:00
Benedikt Kulmann f2c8ea075a Automated changelog update [skip ci] 2022-05-09 12:10:15 +00:00
Benedikt Kulmann 24599f7a5a Merge pull request #3747 from owncloud/bump-web-to-5.5.0-rc.5
[full-ci] Bump web to v5.5.0-rc.5
2022-05-09 14:09:45 +02:00
Benedikt Kulmann 079fb63927 Bump web to v5.5.0-rc.5 2022-05-09 13:38:19 +02:00
Willy Kloucek e6dfd502d6 Automated changelog update [skip ci] 2022-05-09 11:36:37 +00:00
Willy Kloucek dedd5228f3 Merge pull request #3744 from wkloucek/idp-env-secrets
expose IDP secret configuration via environment variables
2022-05-09 13:36:04 +02:00
Michael Barz e028632e4a Automated changelog update [skip ci] 2022-05-09 11:34:09 +00:00
Michael Barz 8145478101 Merge pull request #3743 from owncloud/exit-on-parse-error
Exit when encountering config parsing errors
2022-05-09 13:33:28 +02:00
Willy Kloucek 19d7acbd38 Merge pull request #3737 from owncloud/dependabot/go_modules/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc-0.32.0
Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.31.0 to 0.32.0
2022-05-09 13:28:42 +02:00
Willy Kloucek 318b76abbf Merge pull request #3735 from owncloud/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.8.2
Bump github.com/nats-io/nats-server/v2 from 2.8.1 to 2.8.2
2022-05-09 13:28:12 +02:00
Willy Kloucek 0453dba7a3 remove rpc side of kill and run commands 2022-05-09 13:23:17 +02:00
Jörn Friedrich Dreyer b795aabd37 Merge pull request #3666 from wkloucek/reenable-parallel-deployment-in-ci
reenable parallel deployment in ci
2022-05-09 11:12:10 +00:00
Willy Kloucek b9abdabf25 Merge pull request #3742 from wkloucek/remove-codimd-deployment-example
remove codimd from deployment example
2022-05-09 12:07:57 +02:00
Willy Kloucek f2e44c6353 expose IDP secret configuration via environment variables 2022-05-09 12:01:46 +02:00
Willy Kloucek 43d74f276b Merge branch 'master' into reenable-parallel-deployment-in-ci 2022-05-09 11:52:55 +02:00
Michael Barz f6e2f46ebb Exit when encountering config parsing errors 2022-05-09 11:49:15 +02:00
Willy Kloucek 52f9938a3b remove codimd from deployment example 2022-05-09 11:39:20 +02:00
kobergj 22ef980210 Automated changelog update [skip ci] 2022-05-09 09:38:21 +00:00
kobergj 74139f6c52 Permissions for deleting spaces (#3716)
* check permissions when deleting space

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* bump feature reva

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-09 11:35:52 +02:00
Willy Kloucek 10c956121a Revert "bring back uid,mail as login attributes"
This reverts commit 17a97f48cd.
2022-05-09 11:35:25 +02:00
Willy Kloucek 53e26f8ad2 remove run / kill from docs 2022-05-09 11:32:46 +02:00
Willy Kloucek a793a4d1e6 remove run and kill commands from the runtime 2022-05-09 11:31:26 +02:00
Willy Kloucek 17a97f48cd bring back uid,mail as login attributes 2022-05-09 11:21:27 +02:00
Christian Richter 93b54b9144 Merge pull request #3738 from owncloud/reword-ocis-init
reword ocis init from ocis to Infinite Scale
2022-05-09 10:37:18 +02:00
Christian Richter 3047e48add reword ocis init from ocis to Infinite Scale
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-09 09:47:54 +02:00
dependabot[bot] 511a0c9b46 Bump github.com/nats-io/nats-server/v2 from 2.8.1 to 2.8.2
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.8.1...v2.8.2)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 07:40:23 +00:00
dependabot[bot] edfdb4610a Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.31.0 to 0.32.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.31.0...zpages/v0.32.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 07:38:55 +00:00
Willy Kloucek be4fc13389 Merge pull request #3736 from wkloucek/update-ldap-deployment-example
update ldap deplyoment example
2022-05-09 09:38:17 +02:00
Willy Kloucek fd98beeecc Merge pull request #3718 from owncloud/dependabot/go_modules/go.opentelemetry.io/otel/exporters/jaeger-1.7.0
Bump go.opentelemetry.io/otel/exporters/jaeger from 1.6.3 to 1.7.0
2022-05-09 09:37:58 +02:00
Michael Barz ba63c2bb2c Automated changelog update [skip ci] 2022-05-09 07:37:13 +00:00
Michael Barz ccdc54effc Merge pull request #3733 from owncloud/update-reva
[full-ci] update reva to v2.3.1
2022-05-09 09:36:39 +02:00
Willy Kloucek d3af9f6913 update ldap deplyoment example 2022-05-09 09:13:20 +02:00
dependabot[bot] 6fecf79581 Bump go.opentelemetry.io/otel/exporters/jaeger from 1.6.3 to 1.7.0
Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.6.3 to 1.7.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.6.3...v1.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-09 06:54:30 +00:00
Willy Kloucek 726b6b6a86 Merge pull request #3708 from owncloud/dependabot/go_modules/go.opentelemetry.io/otel-1.7.0
Bump go.opentelemetry.io/otel from 1.6.3 to 1.7.0
2022-05-09 08:52:44 +02:00
Michael Barz 2a07392692 update reva to v2.3.1 2022-05-09 08:42:54 +02:00
Michael Barz cb1b6d7ac7 Merge pull request #3730 from owncloud/bump-core-commit-id-20220508
[tests-only] [full-ci] Change back to commit id on core master
2022-05-08 15:19:10 +02:00
Phil Davis c0d4c6c83d Change back to commit id on core master 2022-05-08 16:12:59 +05:45
Jörn Friedrich Dreyer 28a8c57288 Automated changelog update [skip ci] 2022-05-07 21:18:37 +00:00
Jörn Friedrich Dreyer 8f1ecd3d2c Merge pull request #2918 from owncloud/ocs-version-update
[full-ci] Set OCS version to up to date values
2022-05-07 21:17:54 +00:00
Michael Barz 071db57f14 bump core commitID 2022-05-07 22:24:41 +02:00
Michael Barz 5f0c635f92 make status values configurable 2022-05-07 15:40:51 +02:00
Benedikt Kulmann 4ce35acf01 Update reva and use ocis-pkg version string in capabilities
Needed to use github.com/Masterminds/semver/v3 instead of v1 to be able
to extract major, minor and patch version from a version string.
Falling back to 0.0.0 in any error case (e.g. if the version.String is a
hash)
2022-05-07 15:40:51 +02:00
Michael Barz bae3834861 Merge pull request #3728 from owncloud/bump-commit-id-20220507
[tests-only] [full-ci] Bump CORE_COMMITID for tests
2022-05-07 15:38:52 +02:00
Willy Kloucek 5c1ffb5038 adapt proxy config and remove uneeded config 2022-05-07 14:03:42 +02:00
Willy Kloucek 72c1ea5137 Merge branch 'master' into reenable-parallel-deployment-in-ci 2022-05-07 12:34:25 +02:00
Phil Davis 13f5ab0510 Bump CORE_COMMITID for tests 2022-05-07 10:23:16 +05:45
Pascal Wengerter 031b326cc1 Automated changelog update [skip ci] 2022-05-06 15:44:00 +00:00
Pascal Wengerter 09faa068fd Merge pull request #3727 from owncloud/bump-web-5.5.0-rc.4
[full-ci] Bump web to v5.5.0-rc.4
2022-05-06 17:43:33 +02:00
Michael Barz 0dd12cae93 Merge pull request #3724 from wkloucek/ocdav-version-namespace
set version and namespace for ocdav service
2022-05-06 17:27:05 +02:00
Pascal Wengerter cf83fe324a Bump web to v5.5.0-rc.4 2022-05-06 17:05:42 +02:00
Willy Kloucek 276ee4b8f1 update reva 2022-05-06 15:44:51 +02:00
Willy Kloucek 72c2775089 set version and namespace for ocdav service 2022-05-06 15:19:29 +02:00
Willy Kloucek 90937e027c update extensions to run 2022-05-06 14:27:39 +02:00
Willy Kloucek 6b5447ef7b remove unused entrypoint script 2022-05-06 12:57:54 +02:00
Willy Kloucek ca2dcf1514 Revert "temporalily skip other tests"
This reverts commit 7cb7daffd0.
2022-05-06 12:55:16 +02:00
Willy Kloucek 5e5f350c75 update proxy config for ci 2022-05-06 12:54:17 +02:00
Willy Kloucek 68be48b95a use userprovider in owncloudsql storage and add gateway for sharing driver 2022-05-06 12:52:47 +02:00
Willy Kloucek dfafcb9664 update proxy config 2022-05-06 12:50:38 +02:00
Willy Kloucek 1912fd601d Merge pull request #3591 from owncloud/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.1.4
Bump github.com/onsi/ginkgo/v2 from 2.1.3 to 2.1.4
2022-05-06 12:49:45 +02:00
Michael Barz 4155b15f61 Merge pull request #3717 from owncloud/fix-space-thumbnails
fix spaces thumbnails
2022-05-06 12:47:57 +02:00
Jörn Friedrich Dreyer c4014f478e fiv spaces thumbnails
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-06 10:08:01 +00:00
Martin 5e8ec2bfc1 Merge pull request #3712 from owncloud/update-env-vars
Fix env var naming
2022-05-06 11:22:40 +02:00
Christian Richter 61f0eb7738 Merge pull request #3714 from owncloud/fix-adoc
escape adoc pipe & remove linewrap in output
2022-05-06 11:20:34 +02:00
Christian Richter 84a93d24a9 escape adoc pipe & remove linewrap in output
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-06 11:10:47 +02:00
Jörn Friedrich Dreyer 84de8d563e Fix env var naming
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-06 08:43:03 +00:00
dependabot[bot] f2ce3c8965 Bump go.opentelemetry.io/otel from 1.6.3 to 1.7.0
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.6.3 to 1.7.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.6.3...v1.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 07:39:21 +00:00
Willy Kloucek baf8c8ef73 Merge pull request #3585 from owncloud/dependabot/go_modules/gotest.tools/v3-3.2.0
Bump gotest.tools/v3 from 3.1.0 to 3.2.0
2022-05-06 09:38:21 +02:00
Willy Kloucek 4a9d0f297f update proxy conf 2022-05-06 09:27:39 +02:00
dependabot[bot] ea6e743a22 Bump gotest.tools/v3 from 3.1.0 to 3.2.0
Bumps [gotest.tools/v3](https://github.com/gotestyourself/gotest.tools) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/gotestyourself/gotest.tools/releases)
- [Commits](https://github.com/gotestyourself/gotest.tools/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: gotest.tools/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 06:57:38 +00:00
dependabot[bot] 357b7f0064 Bump github.com/onsi/ginkgo/v2 from 2.1.3 to 2.1.4
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.1.3 to 2.1.4.
- [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.1.3...v2.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-06 06:57:24 +00:00
Artur NeumannandPhil Davis 2ca62051b0 [docs-only] improve docs of running API acceptance tests (#3707)
Co-authored-by: Phil Davis <phil@jankaritech.com>
2022-05-06 12:38:46 +05:45
Willy Kloucek deff182729 Merge branch 'master' into reenable-parallel-deployment-in-ci 2022-05-06 08:48:37 +02:00
Jörn Friedrich Dreyer 109ebaef8a Automated changelog update [skip ci] 2022-05-05 19:11:01 +00:00
Jörn Friedrich Dreyer 87147edaa2 Merge pull request #3567 from wkloucek/proxy-thumbnails
add more proxy routes for thumbnails
2022-05-05 19:07:47 +00:00
kobergj 761d72d901 add "/data" to public link URLs (#3703)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-05 18:40:12 +02:00
Willy Kloucek 0cfc365629 update proxy config 2022-05-05 17:03:46 +02:00
Jörn Friedrich Dreyer fd995475b6 use WhoAmI to look up user for legacy webdav endpoints
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-05 14:48:57 +00:00
Willy Kloucek 6e4dc0a9eb Merge pull request #3699 from wkloucek/idp-config-fix
idp: configure clients in the idp configuration instead of the templated file
2022-05-05 16:36:12 +02:00
Benedikt Kulmann bfc978c400 Merge pull request #3691 from owncloud/extend-shares-in-ci-sidebar
Extend shares in web sidebar in CI
2022-05-05 16:15:55 +02:00
Willy Kloucek 5b49432d2d add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-05 13:51:36 +00:00
Willy Kloucek 5581558869 add .keep file for idp asset folder to make unit tests run without generating assets 2022-05-05 15:51:19 +02:00
Willy Kloucek 2ddc7f7399 split context functions for public and user thumbnails 2022-05-05 13:48:54 +00:00
Willy Kloucek ea9cbb8c2d return 404 for /remote.php/webdav and /webdav/ previews 2022-05-05 13:48:54 +00:00
Willy Kloucek a04c5c2f6f implement thumbnails also for webdav and non remote.php routes 2022-05-05 13:48:51 +00:00
Willy Kloucek 0e2c85d635 fix nats command naming 2022-05-05 15:45:56 +02:00
Willy Kloucek d2de2a775d add OCIS_OIDC_ISSUER config env 2022-05-05 15:45:22 +02:00
Willy Kloucek 9db5216bc4 add route handler for all possible webdav urls 2022-05-05 13:44:43 +00:00
Willy Kloucek 79970b0812 add omitempty to proxy routes to slim down configuration example 2022-05-05 13:43:51 +00:00
Willy Kloucek 6b259f6637 add tumbnails proxy route for /dav and /webdav 2022-05-05 13:41:55 +00:00
Pascal Wengerter 9dae458cdc Extend shares in web sidebar in CI 2022-05-05 15:39:47 +02:00
Willy Kloucek 7cb7daffd0 temporalily skip other tests 2022-05-05 15:35:23 +02:00
Willy Kloucek 64a669d69f reenable parallel deployment tests 2022-05-05 15:35:23 +02:00
Willy Kloucek b09bc344da idp: configure clients in the idp configuration instead of the templated file 2022-05-05 15:20:09 +02:00
Jörn Friedrich Dreyer d0a00f8a8f Merge pull request #3698 from owncloud/adoc-fixes
prepend http by  in adoc generator
2022-05-05 13:08:43 +00:00
Christian Richter 38532e2df0 prepend http by in adoc generator
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-05 14:49:57 +02:00
Christian Richter 99c405fefe Merge pull request #3696 from owncloud/adoc-fixes
doc fixes
2022-05-05 14:36:41 +02:00
Jörn Friedrich Dreyer d2b0cb870b Merge pull request #3690 from wkloucek/fix-deployment-examples
fix deployment examples
2022-05-05 12:31:41 +00:00
Jörn Friedrich Dreyer 15f7c00186 Merge pull request #3695 from owncloud/notifications-config
update notifications docs
2022-05-05 11:45:55 +00:00
Christian Richter 1e8fe52b3a fix unescaped default values
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-05 13:35:56 +02:00
Christian Richter 3c0928f0a2 fix linewrap 2022-05-05 13:24:42 +02:00
Jörn Friedrich Dreyer 9c120d0758 update notifications docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-05 11:00:07 +00:00
Willy Kloucek 6e3752bb47 fix s3 deployment example 2022-05-05 12:53:56 +02:00
Willy Kloucek bba70c5ba5 Merge branch 'fix-compile-time-options' into fix-deployment-examples 2022-05-05 12:30:05 +02:00
Willy Kloucek bd83771d86 remove todos 2022-05-05 12:23:53 +02:00
Willy Kloucek 9e224849fa fix compile time options after switch to v2 2022-05-05 12:19:02 +02:00
Jörn Friedrich Dreyer ffb1365742 Merge pull request #3692 from owncloud/rename-users-and-groups-services
rename users and groups extensions
2022-05-05 09:49:36 +00:00
Jörn Friedrich Dreyer 51e1aa2978 rename users and groups extensions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-05 09:14:27 +00:00
Willy Kloucek b43d99b198 update docs 2022-05-05 10:55:37 +02:00
Willy Kloucek f2d82bd1ac fix wopi integration and wopi deployment 2022-05-05 10:55:16 +02:00
Willy Kloucek b9803e3690 fix ocis hello example 2022-05-05 09:27:59 +02:00
Jörn Friedrich Dreyer 2b6220d790 Merge pull request #3687 from owncloud/fix-launch-json
fix missing system user api key
2022-05-05 07:14:27 +00:00
Christian Richter 403b16a5e8 fix missing system user api key
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-05 08:59:52 +02:00
Jörn Friedrich Dreyer 6369e8752b Merge pull request #3683 from owncloud/bump-commit-id-20220505-2
[tests-only] [full-ci] Bump CORE_COMMITID to include new trashbin test code
2022-05-05 05:44:56 +00:00
Phil Davis 0773698e40 Bump CORE_COMMITID to include new trashbin test code 2022-05-05 09:35:59 +05:45
Artur Neumann a11250ee1c Merge pull request #3679 from owncloud/bump-commit-id-20220505
[tests-only] [full-ci] Bump CORE_COMMITID for tests
2022-05-05 09:33:06 +05:45
Phil Davis a71ba149c8 Bump CORE_COMMITID for tests 2022-05-05 08:52:20 +05:45
Phil Davis ecaef91312 Automated changelog update [skip ci] 2022-05-05 02:46:54 +00:00
Phil Davis b8fe3274a2 Merge pull request #3680 from owncloud/bump-web-5.5.0-rc.3
[full-ci] Bump web to v5.5.0-rc.3
2022-05-05 08:31:00 +05:45
Michael Barz 9079f3bd8f add regression to expected failures 2022-05-04 23:03:56 +02:00
Jörn Friedrich Dreyer 3b0eb5df32 Automated changelog update [skip ci] 2022-05-04 20:38:27 +00:00
Jörn Friedrich Dreyer 065511f240 Merge pull request #3681 from owncloud/update-reva
[full-ci] update reva to v2.3.0
2022-05-04 20:37:49 +00:00
Michael Barz 2cb04683bc update reva to v2.3.0 2022-05-04 20:57:50 +02:00
Michael Barz a4d6fb9549 adapt expected failures 2022-05-04 20:43:56 +02:00
Benedikt Kulmann 32d4deb97a Bump web to v5.5.0-rc.3 2022-05-04 19:12:14 +02:00
Michael Barz 20e687f094 fix naming in error message 2022-05-04 17:36:43 +02:00
Michael Barz f812f66191 Automated changelog update [skip ci] 2022-05-04 14:40:33 +00:00
Michael Barz 4b71cd40af Merge pull request #3678 from owncloud/v2
Update ocis packages and imports to V2
2022-05-04 16:36:01 +02:00
kobergj 35e81ced43 Automated changelog update [skip ci] 2022-05-04 14:31:54 +00:00
kobergjandJörn Friedrich Dreyer 25dc46ecd0 ServiceUser -> SystemUser (#3673)
* serviceUser -> systemUser

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* leave out OCIS_URL, cleanup

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 16:31:18 +02:00
Michael Barz 2eb906a3ff fix docs generate 2022-05-04 15:49:18 +02:00
kobergj d7d9d76cfa Automated changelog update [skip ci] 2022-05-04 13:48:39 +00:00
kobergjandJörn Friedrich Dreyer eb59d2291e MachineAuthAPIKey -> SystemUserAPIKey (#3672)
* split machineauthapikey and systemuserapikey

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* specific errors and some reverts

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* use correct machine auth api key

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 15:48:02 +02:00
Michael Barz 5ab09764aa Change ocis package in reflect test 2022-05-04 15:29:30 +02:00
Jörn Friedrich Dreyer 2bd63509e3 align more storage-system names (#3674)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 15:19:35 +02:00
Michael Barz 3b41bc164e Upgrade protobuf go package version to v2 2022-05-04 15:10:00 +02:00
Michael Barz 189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
kobergj ebf39a6a90 fix the first contact typo (#3676)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-04 14:44:37 +02:00
Christian Richter a3c4a9d57d Merge pull request #3659 from owncloud/add-adoc-export
Adoc export
2022-05-04 14:40:05 +02:00
Jörn Friedrich Dreyer 8bfb589879 Merge pull request #3675 from owncloud/fix-launch-json
set OCIS_SYSTEM_USER_ID
2022-05-04 12:30:40 +00:00
Jörn Friedrich Dreyer 6193c4a1f6 use uuid length user ids
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 12:17:41 +00:00
Jörn Friedrich Dreyer 3f5f4865c1 set OCIS_SYSTEM_USER_ID
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 12:05:27 +00:00
Andre Duffeck d540c4405d [full-ci] Fix searching shares (#3668)
* Be more robust when limiting the search to a directory in the space

* Add more debug logs

* Fix searching in shares

* Delay indexing by a second so that everything has time to settle

Indexing immediately when the event arrives sometimes causes issues
trying to stat the changed resource.

* Pick up the machine auth secret from the default config

* Adapt to the resourceid refactoring in reva

* Fix unit tests
2022-05-04 13:15:28 +02:00
Ralf Haferkamp b41498c121 Automated changelog update [skip ci] 2022-05-04 10:43:03 +00:00
Ralf Haferkamp d6bf26c744 Rename ADMIN_USER_ID env var to OCIS_ADMIN_USER_ID
Also let the top-level ocis config validator error out if admin_user_id
is unset at start.
2022-05-04 12:42:28 +02:00
Michael Barz 905bbe53ac Add ADMIN_USER_ID to launch.json 2022-05-04 12:42:28 +02:00
Ralf Haferkamp 7ef205d232 Get rid of hardcoded admin user uuid
The UUID is generated by `ocs init` now and stored in the config file.
To avoid that every ocis install uses the same UUID

Closes: #3524
2022-05-04 12:42:28 +02:00
Ralf Haferkamp c312ecf926 Remove a couple of unneeded users from Default Role Assignments
The reva and idp users are service users and don't need any roles
assigned. They currently used for performing LDAP searches.
2022-05-04 12:42:28 +02:00
Christian Richter 55d28f45c6 Merge pull request #3670 from owncloud/yaml-underscores
make yaml tags always use underscore
2022-05-04 12:28:03 +02:00
Christian Richter 9d7c9d3409 add yaml filename to example yaml
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-04 12:22:26 +02:00
Christian Richter 4e0e19dfc7 add extension name to adoc template
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-04 12:22:13 +02:00
kobergj 7805c831c3 Automated changelog update [skip ci] 2022-05-04 09:42:07 +00:00
kobergj 5346299e6d MetadataUserID -> SystemUserID (#3671)
* replace MetadataUserID with SystemUserID

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* the missing change

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* changelog

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-04 11:41:37 +02:00
David Christofas 580e65ae2c Automated changelog update [skip ci] 2022-05-04 09:35:24 +00:00
David Christofas da1abdbd8e Merge pull request #3669 from owncloud/thumbnails-fix
reduce hacky reference handling in thumbnailer
2022-05-04 11:34:53 +02:00
David Christofas ae9aff3d59 reduce hacky reference handling in thumbnailer 2022-05-04 10:58:04 +02:00
Christian Richter 6f5b60861a Merge remote-tracking branch 'origin/master' into add-adoc-export 2022-05-04 10:55:07 +02:00
Jörn Friedrich Dreyer edd3adcf1d make yaml tags always use underscore
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 08:54:46 +00:00
Jörn Friedrich Dreyer a22cfe6cee Merge pull request #3667 from owncloud/rename-storage-system
storage-metadata -> storage-system
2022-05-04 08:54:20 +00:00
Benedikt Kulmann b847dd6b63 Automated changelog update [skip ci] 2022-05-04 08:27:45 +00:00
Benedikt KulmannandPascal Wengerter 16c3b1ae57 [full-ci] Bump web to v5.5.0-rc.2 (#3664)
Bump web to v5.5.0-rc.2

Co-authored-by: Pascal Wengerter <pascal@wengerter.info>
2022-05-04 10:27:07 +02:00
Christian Richter b88b1946d2 add initial adoc export
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-04 10:18:23 +02:00
Jörn Friedrich Dreyer 565548ebce storage-metadata -> storage-system
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 08:14:13 +00:00
Jörn Friedrich Dreyer ad6142d519 Merge pull request #3665 from owncloud/rename-app-provider
approvider -> app-provider
2022-05-04 08:06:29 +00:00
Jörn Friedrich Dreyer 449a0169f6 approvider -> app-provider
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 06:39:28 +00:00
Jörn Friedrich Dreyer 706eb21c7e Merge pull request #3589 from wkloucek/config-env
[full-ci] config env
2022-05-03 21:52:04 +02:00
Jörn Friedrich Dreyer 3d2c80432f Revert "reenable parallel deployment tests"
This reverts commit f588e90e23.
2022-05-03 18:56:01 +00:00
Jörn Friedrich Dreyer 39cc17bb36 fix typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-03 18:55:28 +00:00
Willy Kloucek 231041737b reintroduce redis in ci 2022-05-03 19:10:32 +02:00
Willy Kloucek 56261e3e63 Merge branch 'master' into config-env 2022-05-03 18:52:23 +02:00
Willy Kloucek 932904fd2e Merge pull request #3657 from rhafer/drone-cleanup
cleanup: Remove some unneeded code from .drone.star
2022-05-03 18:51:47 +02:00
Willy Kloucek e14952a0af update environment variables for parallel deployment in CI 2022-05-03 18:47:58 +02:00
Willy Kloucek 90e0eb47cb update owncloudsql sharing settings in CI 2022-05-03 18:44:15 +02:00
Willy Kloucek 5bf8f254e1 expose owncloudsql sharing driver 2022-05-03 18:40:55 +02:00
David Christofas b42c09c3d0 Automated changelog update [skip ci] 2022-05-03 16:31:42 +00:00
David Christofas 5a36f8f3b9 Merge pull request #3648 from owncloud/new-space-id-functions
[full-ci] use new space ID util functions
2022-05-03 18:31:09 +02:00
Willy Kloucek a6c295627d Automated changelog update [skip ci] 2022-05-03 16:10:15 +00:00
Willy Kloucek 36a8fbadb3 Merge pull request #3641 from wkloucek/docker_narrow_volume_permissions
reduce docker image volume permissions and update alpine
2022-05-03 18:09:36 +02:00
Jörn Friedrich Dreyer e32f909b82 oc10-sql -> owncloudsql
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-03 16:08:17 +00:00
Jörn Friedrich Dreyer 201722a88f Update extensions/storage-metadata/pkg/command/root.go 2022-05-03 18:04:10 +02:00
Jörn Friedrich Dreyer 68ccfa39f3 owncloudsql driver typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-03 16:01:37 +00:00
Jörn Friedrich Dreyer 2c49a47d66 fix misnamed owncloudsql driver 2022-05-03 17:50:40 +02:00
Jörn Friedrich Dreyer 0fe6676738 drop specific service name from tracing docs 2022-05-03 17:48:45 +02:00
David Christofas 958b4fe5e3 use new space ID util functions 2022-05-03 17:27:39 +02:00
David Christofas a29d202cae Merge pull request #3662 from owncloud/workaround-chi-registermethod
implement workaround for chi.RegisterMethod
2022-05-03 17:26:40 +02:00
Jörn Friedrich Dreyer 8ded0ced20 fix doc typo 2022-05-03 17:22:39 +02:00
Willy Kloucek 1e6b2fef38 change permission to 750 2022-05-03 17:18:03 +02:00
Willy Kloucek b8ae9618c7 reduce docker image volume permissions and update alpine 2022-05-03 17:18:03 +02:00
Jörn Friedrich Dreyer b13a9d7bba ocdav env typo 2022-05-03 17:10:52 +02:00
Willy Kloucek b65936fe99 strip ocis- from command name for all standalone services 2022-05-03 17:08:23 +02:00
Jörn Friedrich Dreyer eac18a9404 Update group doc 2022-05-03 17:04:45 +02:00
Willy Kloucek 4f6cc66d57 fix metadata storage permissions endpoint 2022-05-03 16:57:17 +02:00
Jörn Friedrich Dreyer 003945edec Update group service usage 2022-05-03 16:53:45 +02:00
Jörn Friedrich Dreyer 28978e81ed fix env var typo 2022-05-03 16:52:13 +02:00
Jörn Friedrich Dreyer 7c6cdf0008 Apply suggestions from code review
update usage
2022-05-03 16:51:20 +02:00
Willy Kloucek e97ec5ed58 reintroduce Skip users groups in token option 2022-05-03 16:48:09 +02:00
David Christofas 618e6a6899 implement workaround for chi.RegisterMethod
chi.RegisterMethod writes to a global map. Other parts of chi read that map and since we start multiple chi router in different goroutines we concurrently read/write to the map which is not valid and results in panics
2022-05-03 16:39:36 +02:00
Willy Kloucek 3ad56ed8ad bring back folde precreation for sharing service 2022-05-03 16:00:48 +02:00
Willy Kloucek 49e39f3a4f remove artifacts from ports docs 2022-05-03 15:44:57 +02:00
Willy Kloucek 59c4727421 temporarily revert back to json sharing drivers 2022-05-03 15:41:53 +02:00
Willy Kloucek 2be54a8c54 fix owner on ocis config files 2022-05-03 15:31:44 +02:00
Willy Kloucek 771bfb6c6b remove rest default config from user provider 2022-05-03 15:27:12 +02:00
Willy Kloucek 9268fdcf86 fix ocis build 2022-05-03 15:12:36 +02:00
Willy Kloucek 2df402cf7e user config docs 2022-05-03 15:12:35 +02:00
Willy Kloucek fd44da4629 storage-users config docs 2022-05-03 15:12:35 +02:00
Willy Kloucek b3c8ee3d30 storage sahres config docs 2022-05-03 15:12:35 +02:00
Willy Kloucek d2edd6e98e storage-publiclink config docs 2022-05-03 15:12:35 +02:00
Willy Kloucek f501814bef storage-metadata config docs 2022-05-03 15:12:35 +02:00
Willy Kloucek c6af86c2a8 sharing config docs 2022-05-03 15:12:35 +02:00
Willy Kloucek dde2d41831 ocdav config docs 2022-05-03 15:12:35 +02:00
Willy Kloucek c0c19dc36a fix app registry port 2022-05-03 15:12:35 +02:00
Willy Kloucek 859ae544d5 groups config docs 2022-05-03 15:12:35 +02:00
Willy Kloucek ecb3d4bc84 fix app registry default config 2022-05-03 15:12:35 +02:00
Willy Kloucek 6c2b9cb29b gateway config docs 2022-05-03 15:12:35 +02:00
Willy Kloucek 26a92f2bad add app-registry service 2022-05-03 15:12:35 +02:00
Willy Kloucek ba2fbee07d fix makefile names 2022-05-03 15:12:34 +02:00
Willy Kloucek b6f03f9a6c frontend config docs 2022-05-03 15:12:34 +02:00
Willy Kloucek 977c4fd9e9 ensure commands for all services 2022-05-03 15:12:34 +02:00
Willy Kloucek f643de22c4 machine auth config docs 2022-05-03 15:12:34 +02:00
Willy Kloucek b35178584b auth bearer config docs 2022-05-03 15:12:34 +02:00
Willy Kloucek 18296ceea7 auth basic config docs 2022-05-03 15:12:34 +02:00
Willy Kloucek eb82c646c0 app provider config docs 2022-05-03 15:12:34 +02:00
Willy Kloucek 5e48b30dd0 add all extensions to extensions list and ensure the Makefile 2022-05-03 15:12:34 +02:00
Willy Kloucek ef6d32a12a remove extensions/storage leftovers 2022-05-03 15:12:34 +02:00
Willy Kloucek 061808ca72 remove unsupported drivers from the documentation 2022-05-03 15:12:34 +02:00
Willy Kloucek 47ed302e43 add config docs for services 2022-05-03 15:12:33 +02:00
Willy Kloucek f588e90e23 reenable parallel deployment tests 2022-05-03 15:12:33 +02:00
Christian Richter 4b70484c8f Merge pull request #3658 from owncloud/add_env_line_wrap
replace `;` by `<br/>`
2022-05-03 14:59:13 +02:00
David Christofas 1a0e55cc74 Automated changelog update [skip ci] 2022-05-03 12:46:34 +00:00
David Christofas 90a8978a2b Merge pull request #3652 from kobergj/BumpRevaVersion
[full-ci] Bump to latest edge
2022-05-03 14:42:26 +02:00
Christian Richter cb679a2ebc replace ; by <br/>
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-03 14:36:21 +02:00
jkoberg a766b77d26 expect favorite test to fail
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-03 13:48:39 +02:00
Ralf Haferkamp 31ed3391d4 cleanup: Remove some unneeded code from .drone.star
The GraphAPI is used by default now, we don't need a specific pipeline
for that anymore. Similar we don't need an accounts service specific
ocis setup any more after the test-middleware was updated to allow
user-provisioning via GraphAPI.
2022-05-03 13:33:12 +02:00
Jörn Friedrich Dreyer bc41aca13f Merge pull request #3650 from owncloud/bump-core-commit-20220503
[tests-only] Bump CORE_COMMITID
2022-05-03 11:56:59 +02:00
Christian RichterandDavid Christofas 0d875d30b7 Add pointers to the config var extractor
Co-authored-by: David Christofas <dchristofas@owncloud.com>
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-03 11:39:12 +02:00
jkoberg 63be515ce9 bump to latest edge
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-03 10:49:41 +02:00
Phil Davis 5aa90918c9 Merge pull request #3649 from owncloud/minor-typos-in-tests
[docs-only] Minor typos in tests and docs
2022-05-03 12:16:44 +05:45
Phil Davis c148c7ca5f Bump CORE_COMMITID 2022-05-03 11:48:23 +05:45
Phil Davis 3fd33957ca Fix docs typos 2022-05-03 11:04:37 +05:45
Phil Davis 8560c3bc00 Minor typo fixes in acceptance tests 2022-05-03 09:48:12 +05:45
Jörn Friedrich Dreyer 2446c3927e Automated changelog update [skip ci] 2022-05-02 17:28:16 +00:00
Jörn Friedrich Dreyer 1c8b353d44 Merge pull request #3635 from aduffeck/search
Add initial version of the search extension
2022-05-02 19:25:07 +02:00
André Duffeck fd4ec56b3e Cleanup 2022-05-02 18:43:03 +02:00
André Duffeck a1b34a62a7 Also index new directories 2022-05-02 18:42:47 +02:00
Michael Barz ea08dc995d Automated changelog update [skip ci] 2022-05-02 16:17:30 +00:00
Michael Barz 40572a0838 Merge pull request #3647 from owncloud/fix-env-metadata
fix env variable for metadata user ID
2022-05-02 18:16:58 +02:00
Jörn Friedrich Dreyer acd6b33eda expect favorites to fail
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 16:00:07 +00:00
Michael Barz b08eb44c5b fix env variable for metadata user ID 2022-05-02 17:44:21 +02:00
Jörn Friedrich Dreyer 4d888ccb7a fix proxy directorSelectionDirector test
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 14:49:30 +00:00
Jörn Friedrich Dreyer c720d18de8 update config to init changes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 14:19:08 +00:00
Jörn Friedrich Dreyer bfc8196ac2 Merge branch 'master' into search
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 13:43:24 +00:00
Jörn Friedrich Dreyer af54f4d824 Automated changelog update [skip ci] 2022-05-02 13:16:56 +00:00
Jörn Friedrich Dreyer 398caeed2c Merge pull request #3602 from owncloud/metadata-gateway
introduce metadata gateway
2022-05-02 15:16:27 +02:00
Jörn Friedrich Dreyer 3074d70cae revert some debug changes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 12:38:58 +00:00
Jörn Friedrich Dreyer f88c000bac generate metadata user id
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 12:36:30 +00:00
Willy Kloucek 0bb830097c Merge pull request #3642 from wkloucek/fix-config-parsing-unsupervised
fix ocis config parsing for subcommands
2022-05-02 14:35:35 +02:00
Willy Kloucek 6936a23d93 Merge pull request #3643 from owncloud/fix-service-names-in-init
fix service names in init
2022-05-02 13:36:54 +02:00
Jörn Friedrich Dreyer df8fd7626d revert a launch.json change
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 11:31:22 +00:00
Jörn Friedrich Dreyer 161c23976f remove unused system user initialization
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 11:30:36 +00:00
Jörn Friedrich Dreyer 7dd486ba17 use cs3 user type constant
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 11:17:08 +00:00
Willy Kloucek 18e9661a24 fix ocis config parsing for subcommands 2022-05-02 13:13:29 +02:00
Benedikt Kulmann 73a7a61fb7 Automated changelog update [skip ci] 2022-05-02 11:00:20 +00:00
Benedikt Kulmann 40d5f95c5e Merge pull request #3626 from owncloud/spaces-capability-feature-flags
Spaces capability feature flags
2022-05-02 12:59:53 +02:00
Jörn Friedrich Dreyer e5577a1c97 fix service names in init
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 10:56:41 +00:00
Jörn Friedrich Dreyer d8e84db539 Automated changelog update [skip ci] 2022-05-02 10:44:52 +00:00
Jörn Friedrich Dreyer 0642a5e0ca Align service naming (#3606)
* use configured names as service names in ocis runtime

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add changelog

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* correct service names for group and storage-shares

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use correct service names in .drone.star

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* align ocis-pkg/config/config.go

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 12:44:21 +02:00
Jörn Friedrich Dreyer df58097c5a Merge branch 'master' into metadata-gateway
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 10:33:50 +00:00
Jörn Friedrich Dreyer fd292563d8 do not overwrite metadata IDP with oCIS IDP
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 10:30:51 +00:00
Benedikt Kulmann 1c5bfacac1 Add new capability for announcing share jail 2022-05-02 12:07:07 +02:00
Michael Barz bf936c8da1 Automated changelog update [skip ci] 2022-05-02 09:53:42 +00:00
Michael Barz 7988125362 Merge pull request #3637 from owncloud/bumpreva-merge-unrestrict
[full-ci] Bump reva  & merge unrestrict combined
2022-05-02 11:53:01 +02:00
Jörn Friedrich Dreyer d1d6cf3b00 Merge branch 'master' into metadata-gateway
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 09:15:42 +00:00
Michael Barz 469fc3d4c5 update reva to latest edge 2022-05-02 10:06:59 +02:00
Michael Barz d74e3d168b use reva version with no concurrent share listing 2022-05-02 09:53:50 +02:00
Michael Barz 1e1016abea adapt expected failures 2022-05-02 09:53:50 +02:00
Michael Barz b629aa6b6d use reva replace 2022-05-02 09:53:50 +02:00
Michael Barz 7245c354ca omit opaque id correctly 2022-05-02 09:53:50 +02:00
Michael Barz c3511c71ac adapt spaces context 2022-05-02 09:53:50 +02:00
David Christofas 5b0988f307 fix local api test
URL decode href before comparing with a given string
2022-05-02 09:53:50 +02:00
David Christofas ab71b21fc7 reduce drives in listing of graph /me/drives API 2022-05-02 09:53:50 +02:00
Michael Barz 78a6af3af5 handle resource ids better 2022-05-02 09:53:50 +02:00
jkoberg a86cc5ab3a bump reva again
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-02 09:52:48 +02:00
jkoberg 622e0774da decode href in xml response
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-02 09:52:48 +02:00
jkoberg 0db6fae3ad update expected failures
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-02 09:52:48 +02:00
jkoberg dd9acdce7a fix audit service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-02 09:52:25 +02:00
jkoberg c1e7aa3876 next reva version
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-02 09:52:25 +02:00
jkoberg 23c1f155ab use feature core commitid
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-02 09:51:44 +02:00
jkoberg 3cb78021d2 bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-02 09:51:44 +02:00
Willy Kloucek c878adbd8b Automated changelog update [skip ci] 2022-05-02 07:31:40 +00:00
Willy Kloucek 9934895843 Merge pull request #3551 from owncloud/ocis-init
[full-ci] ocis init & remove default secrets
2022-05-02 09:31:01 +02:00
Willy Kloucek f9dcf37674 Merge branch 'master' into ocis-init 2022-05-02 08:30:11 +02:00
Phil Davis b013974494 Merge pull request #3636 from owncloud/bump-commit-id-20220429-2
[tests-only] [full-ci] Bump core commit id
2022-05-01 17:59:59 +05:45
Phil Davis 927198a9cd Bump core commit id 2022-05-01 15:52:53 +05:45
Jörn Friedrich Dreyer 9d8072cda9 try to make lint happy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 21:11:11 +00:00
Jörn Friedrich Dreyer 4c53707920 omit extension name in ParseConfig doc
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 20:21:18 +00:00
Jörn Friedrich Dreyer 89a9a14d24 Update extensions/storage-shares/pkg/config/parser/parse.go 2022-04-29 22:04:12 +02:00
Jörn Friedrich Dreyer 6474d46252 nitpicks and typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 19:09:03 +00:00
Jörn Friedrich Dreyer 34554f319a fix some storage env vars
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 18:39:29 +00:00
Ralf Haferkamp c655e6bfe9 Increase log level for ci debugging 2022-04-29 18:55:00 +02:00
Jörn Friedrich Dreyer 5f7c40373a update reva
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 18:50:21 +02:00
Jörn Friedrich Dreyer b553f7a5f3 add changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 18:50:21 +02:00
Jörn Friedrich Dreyer ce16c4f92c minor config cleanup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 18:50:21 +02:00
Jörn Friedrich Dreyer ec86cd82f7 use demo permissions service for metadata
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 18:50:21 +02:00
Jörn Friedrich Dreyer 416c966dbc introduce metadata gateway
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 18:50:21 +02:00
André Duffeck cd285c9ad9 Fix merge error 2022-04-29 18:42:33 +02:00
Viktor Scharf 54ad9c3a87 [full-ci] Switch UI tests to graphApi (#3594)
* use ocis server in UI test and use middleware with changings

* back to default middleware

* Update .drone.star

change middleware tag

* run tests with my middleware image

* use web commitId

* change middleware version and web commit

* back to webcommitID and add failed test to expected failures
2022-04-29 17:52:42 +02:00
André Duffeck e3b1a0ea65 Merge remote-tracking branch 'upstream/master' into search 2022-04-29 17:08:03 +02:00
Willy Kloucek 1cdb81bd3e add fixes from review 2022-04-29 16:10:21 +02:00
Jörn Friedrich Dreyer d9e3fb322d Automated changelog update [skip ci] 2022-04-29 13:38:53 +00:00
Jörn Friedrich Dreyer 9f4bb8ffde Merge pull request #3633 from rhafer/enable-usermanagent
Enable user-management webui
2022-04-29 15:38:21 +02:00
Jörn Friedrich Dreyer 22fb70684e Automated changelog update [skip ci] 2022-04-29 13:36:03 +00:00
Jörn Friedrich Dreyer bde3996e1b Merge pull request #3632 from rhafer/issue-3623
idp: Check if CA cert if present
2022-04-29 15:35:41 +02:00
André Duffeck 498d078a06 Add changelog 2022-04-29 15:23:27 +02:00
Ralf Haferkamp 9bf1dcbf5b Enable user-management webui
The switch to libregraph/idm happend we can enable the new UI.
2022-04-29 14:43:28 +02:00
Willy Kloucek 4fdd3170cc only mount config volume for initialization 2022-04-29 14:40:30 +02:00
Willy Kloucek feda972487 add idm admin password variable to init command 2022-04-29 14:28:08 +02:00
Willy Kloucek d0506cf048 fix the traefik deployment example 2022-04-29 14:17:57 +02:00
Christian Richter c47e43318a allow override of admin password wit ocis init
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 14:15:48 +02:00
Edith Parzefall e1430270b4 Language review on new IDM section (#3634) 2022-04-29 14:08:40 +02:00
André Duffeck 851c64945f Remove reva go mod replace 2022-04-29 13:59:09 +02:00
Christian Richter 59c96413d9 beautify error messages
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 13:45:12 +02:00
Willy Kloucek 19e893704b Merge branch 'master' into ocis-init 2022-04-29 13:20:28 +02:00
Willy Kloucek 1b68e8589c simplify secure an ocis instance section 2022-04-29 13:18:49 +02:00
Ralf Haferkamp ce146f830f idp: Check if CA cert if present
Upon first start with the default configurtation the idm service creates
a server certificate, that might not be finished before the idp service
is starting. Add a check to idp similar to what the user, group, and
auth-providers implement.

Fixes: #3623
2022-04-29 13:18:10 +02:00
f302f8a8c3 [docs-only] Adjust idm docs after it's now running by default (#3608)
* Add libregraph/idm and remove accounts and glauth

Also add the reva authproviders

* Adjust idm docs after it's now running by default

* Apply suggestions from code review

Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>

* Update docs/extensions/idm/configuration_hints.md

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

Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
Co-authored-by: Martin <github@diemattels.at>
2022-04-29 13:13:15 +02:00
Willy Kloucek 4ff313b0a5 check for more secrets need to be set 2022-04-29 13:07:25 +02:00
André Duffeck 0fdd23c2c6 Fix search config after master merge 2022-04-29 13:05:49 +02:00
André Duffeck 08df2e32d9 Merge remote-tracking branch 'upstream/master' into search 2022-04-29 13:00:01 +02:00
André Duffeck 18d0fa2416 Move the children as well when a directory is moved 2022-04-29 12:47:34 +02:00
Michael Barz 5597f5f5d5 Merge pull request #3619 from owncloud/fakeproviderids
add storageproviderids to config
2022-04-29 12:35:55 +02:00
Christian Richter 9971867d5a Merge branch 'ocis-init' of github.com:owncloud/ocis into ocis-init 2022-04-29 11:56:10 +02:00
Christian Richter bc6cd9141d [WIP] add missing secret checks
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 11:55:56 +02:00
Willy Kloucek 7b5d705d64 add more documentation 2022-04-29 11:37:11 +02:00
Christian Richter 72688b3650 move generic secret errors to shared, fix edgecase in cli flags
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 11:15:13 +02:00
Willy Kloucek d86a86a884 update documentation 2022-04-29 10:56:48 +02:00
André Duffeck be15d63747 Add items back to the index recursively when the parent is restored 2022-04-29 10:31:02 +02:00
Phil Davis 3ec15bd1e0 Merge pull request #3620 from owncloud/bump-commit-id-20220429
[tests-only] [full-ci] Bump CORE_COMMITID
2022-04-29 14:12:53 +05:45
Willy Kloucek 622218ef49 add changelog 2022-04-29 09:58:01 +02:00
Christian Richter 767845d90a fix force overwrite bug
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 09:25:46 +02:00
André Duffeck 15c60df064 Return up to 200 search results 2022-04-29 09:16:28 +02:00
Willy Kloucek 1c2a67f9b7 fix machine auth api key for frontend 2022-04-29 09:03:34 +02:00
André Duffeck 6bd67c0f27 Mark items as deleted (recursively) but still keep them around 2022-04-29 09:02:57 +02:00
Willy Kloucek 293dbac7b3 remove underscores from variable names and use yaml tags instead 2022-04-29 08:33:11 +02:00
Phil Davis 2a2bfc4789 Bump CORE_COMMITID 2022-04-29 12:09:51 +05:45
Willy Kloucek 703a333ff0 fix settings machine auth api key 2022-04-29 08:07:52 +02:00
Michael Barz 09c6f23c42 Merge pull request #3618 from kobergj/UnescapePathInGraph
[tests-only] Unescape path in graph getdrive
2022-04-29 07:08:54 +02:00
jkoberg ce45e90122 unescape path in graph getdrive
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-04-28 22:10:27 +00:00
Willy Kloucek afa8ca8246 use FullDefaultConfig in example config generator and remove leftover 2022-04-28 17:38:07 +02:00
Willy Kloucek e582b609b5 fix startup with ocis init 2022-04-28 17:20:10 +02:00
Willy Kloucek 25254140ac fix .drone.star formatting 2022-04-28 16:47:05 +02:00
Willy Kloucek 9e31bc0c1b revert Web json config struct omitempty tags 2022-04-28 16:44:22 +02:00
Willy Kloucek 9860f798bf revert go.mod changes 2022-04-28 16:40:22 +02:00
Willy Kloucek 20f916ca34 run ocis init in CI 2022-04-28 16:38:33 +02:00
Willy Kloucek 4e531ca442 fix ocis startup with debugging config / environment variables only 2022-04-28 16:28:12 +02:00
Jörn Friedrich Dreyer 55c4682823 add storageproviderids to config
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-28 14:13:16 +00:00
Christian Richter ed1c459d98 Merge branch 'ocis-init' of github.com:owncloud/ocis into ocis-init 2022-04-28 15:56:16 +02:00
Christian Richter 0330b431bb unclutter ocis init code
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-28 15:55:21 +02:00
Willy Kloucek 83b94cf82d log parsing errors to stdout 2022-04-28 15:52:26 +02:00
Christian Richter 5a6c44afa0 move config generator to own structures, to avoid having to fork the yaml package (omitempty issues)
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-28 15:43:40 +02:00
Willy Kloucek 3a9ba10dc4 fix and restructure ocis-pkg config parser 2022-04-28 15:34:31 +02:00
Willy Kloucek 1b2cc6df3e revert empty yaml tags 2022-04-28 15:14:56 +02:00
Willy Kloucek b515d7f83f fix typo and hide supervised 2022-04-28 15:13:03 +02:00
Willy Kloucek ab254b05d0 remove all "omitempty" from config structs to bring back full configuration file documentation 2022-04-28 15:08:40 +02:00
Willy Kloucek aba2ee0c39 fix build 2022-04-28 11:31:15 +02:00
Christian Richter fb6a8ffc7b add backup of config on force overwrite
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-28 11:12:22 +02:00
Willy Kloucek 3054875a05 move config validation into a separate function 2022-04-28 11:10:39 +02:00
Michael Barz fb73322621 Automated changelog update [skip ci] 2022-04-28 08:32:26 +00:00
Michael Barz 874b45be94 Merge pull request #3611 from owncloud/update-reva
[full-ci] update reva
2022-04-28 10:31:53 +02:00
Willy Kloucek df53c2a545 fix graph tests 2022-04-28 10:30:02 +02:00
Willy Kloucek 5c159ee295 Merge branch 'master' into ocis-init 2022-04-28 10:12:46 +02:00
André Duffeck 68c5e2366c Store the parent id in the index to allow for handling directories 2022-04-28 10:10:01 +02:00
Willy Kloucek 83f75bf089 fix ginko testsuite 2022-04-28 10:05:51 +02:00
Phil Davis 5437c853bd Merge pull request #3609 from owncloud/bump-middleware-v1.5.0
[tests-only] bump owncloud-test-middleware version to v1.5.0
2022-04-28 13:12:33 +05:45
Michael Barz 1005e96edb update reva 2022-04-28 09:17:26 +02:00
André Duffeck e5338dff55 Trigger updates on all relevant events 2022-04-28 08:51:18 +02:00
Willy Kloucek 4a9b31f3b4 fix machineauth to right machine auth api key 2022-04-28 08:49:44 +02:00
Willy Kloucek 31656e1a97 remove TODOs 2022-04-28 08:48:32 +02:00
André Duffeck 0b0efd6799 Remove items from the index when they were deleted 2022-04-28 08:43:14 +02:00
André Duffeck 4dd89aa804 Adapt to renamed field 2022-04-28 08:39:12 +02:00
PKiran a00d28982f bump owncloud-test-middleware version to v1.5.0 2022-04-28 11:56:13 +05:45
David Christofas ae64a8f54b Automated changelog update [skip ci] 2022-04-27 15:46:28 +00:00
David Christofas 6e186e4b65 Merge pull request #3605 from owncloud/update-reva
update reva to include go-chi workaround
2022-04-27 17:45:59 +02:00
David Christofas 6bd4330103 update reva to include go-chi workaround 2022-04-27 17:12:42 +02:00
Willy Kloucek 4043f181b1 set generate ldap secrets 2022-04-27 17:00:31 +02:00
Willy Kloucek a37126f523 Merge branch 'master' into ocis-init 2022-04-27 15:50:26 +02:00
Willy Kloucek 5b572b3852 initialize insecure options 2022-04-27 15:46:17 +02:00
Michael Barz e5b98095b8 Automated changelog update [skip ci] 2022-04-27 13:39:34 +00:00
Michael Barz e9a86c736a Merge pull request #3601 from owncloud/update-reva
[full-ci] update reva to get the caching fix
2022-04-27 15:38:58 +02:00
Willy Kloucek a261fc8c88 cleanup 2022-04-27 15:01:31 +02:00
Michael Barz 6efdede2b8 update reva for caching fix 2022-04-27 14:44:08 +02:00
Willy Kloucek f74d1e27c1 use machine auth secret from common config 2022-04-27 14:40:53 +02:00
Willy Kloucek b3f55765d8 use common transfer secrets 2022-04-27 14:13:17 +02:00
Willy Kloucek 9095b11d6c load reva gateway and token manager from common config 2022-04-27 13:58:59 +02:00
David Christofas 407399dd91 Automated changelog update [skip ci] 2022-04-27 11:22:56 +00:00
David Christofas 0a18c256b6 Merge pull request #3597 from owncloud/urlencoding-graph-api
url encode the webdav URL in the graph API
2022-04-27 13:21:56 +02:00
David Christofas 4bb4f9fbb1 url encode the webdav URL in the graph API 2022-04-27 12:39:59 +02:00
Willy Kloucek 48a6978e24 move TokenManager back to extension config 2022-04-27 11:04:18 +02:00
Christian Richter c5d0791f53 add password generator
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-27 10:58:27 +02:00
Christian Richter d106c87c51 [WIP] adapt storage changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-27 10:37:40 +02:00
Ralf Haferkamp 0758854b63 Merge pull request #3331 from rhafer/idm-default-cfg
[full-ci] Switch default config from account/glauth to builtin libregraph/idm
2022-04-27 10:08:13 +02:00
André Duffeck 656ef9d6ae Add a IndexSpace method to the search provider
IndexSpace recursively traverses a given space and (re-)index all files
it finds.
2022-04-27 09:55:32 +02:00
André Duffeck 827885abad Add a DocCount() method to the index client 2022-04-27 09:48:26 +02:00
André Duffeck d5084eea84 Add command for (re-)indexing existing spaces 2022-04-27 09:30:08 +02:00
Willy Kloucek 103abf840d Merge pull request #3565 from owncloud/TheOneRing-patch-1
Document C:\Windows\System32\Drivers\etc\hosts
2022-04-27 09:21:53 +02:00
Ralf Haferkamp aa7d75c845 Run UI test with accounts service enabled
until the ui tests are able to switch to the Graph API for user
provisioning
2022-04-27 08:58:36 +02:00
Viktor Scharf 33cb8a4e63 addSteps: clean project space after test 2022-04-27 08:58:36 +02:00
Ralf Haferkamp 095e3c3f77 skip test that requires ocs provisioning API
When using the GraphAPI skip ocs specific test
2022-04-27 08:58:36 +02:00
Ralf Haferkamp 5d4800b570 move test away from accounts api, use graph to get userid 2022-04-27 08:58:36 +02:00
Ralf Haferkamp 72cb960790 Adjust drone config for defaulting to libreidm/graph 2022-04-27 08:58:36 +02:00
Ralf Haferkamp 45f0940071 Turn of "insecure" of built-in IDP
Setup idp to verify the LDAP server certificate. As this certificate
might be generated on startup, this also moved the IDP to the "delayed"
set of services. So it starts after "idm".
2022-04-26 18:59:10 +02:00
Ralf Haferkamp 1a38f3623c switch default config to idm
- The accounts and glauth service are turned off by default
- proxy is switch from "accounts" to "cs3" for the account backend
- The LDAP configuration (graph, idp, storage) of all services now
  points to idm instead of glauth
2022-04-26 18:59:10 +02:00
Christian Richter fb5ca006e4 Merge remote-tracking branch 'origin/master' into ocis-init
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 16:28:12 +02:00
Willy Kloucek 5100465464 Automated changelog update [skip ci] 2022-04-26 13:28:56 +00:00
Willy Kloucek 0f12ffbabe Merge pull request #3587 from wkloucek/single-config-file-location
load configuration only from one directory
2022-04-26 15:28:17 +02:00
David Christofas 4b65e6dbbe Merge pull request #3569 from owncloud/storage-config
[full-ci] Refactor storage configuration to make it similar to other oCIS configuration
2022-04-26 15:26:46 +02:00
Willy Kloucek 0daaf08f3a add windows hosts file hint also to s3 example 2022-04-26 15:00:56 +02:00
Willy Kloucek 485fa6db73 Merge pull request #3582 from owncloud/dependabot/go_modules/github.com/urfave/cli/v2-2.5.0
Bump github.com/urfave/cli/v2 from 2.4.4 to 2.5.0
2022-04-26 14:41:05 +02:00
Willy Kloucek c235e07320 reference windows' host file also on all other deployment examples 2022-04-26 14:39:11 +02:00
Christian Richter 58a24e620e Move reva transfer secret to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 14:10:03 +02:00
David Christofas e2ea74c9bc remove commented out code 2022-04-26 13:52:40 +02:00
David Christofas 4ae93e6efb skip parallel deployment tests 2022-04-26 13:27:55 +02:00
Willy Kloucek a915f2e342 construct OCIS_BASE_DATA_PATH and OCIS_CONFIG_DIR from one base path 2022-04-26 13:17:35 +02:00
Willy Kloucek c710e1f794 load configuration only from one directory 2022-04-26 12:04:12 +02:00
Michael Barz d89055c854 Merge pull request #3572 from owncloud/dependabot/go_modules/google.golang.org/grpc-1.46.0
Bump google.golang.org/grpc from 1.45.0 to 1.46.0
2022-04-26 11:34:13 +02:00
David Christofas c7844e2925 remove unused env variables and increase log level 2022-04-26 11:31:30 +02:00
Willy Kloucek 1e8493369f Merge pull request #3522 from owncloud/update-wopi-server-config
[deployment-examples] update wopiserver config
2022-04-26 10:47:15 +02:00
David Christofas 3c1f43ee51 add missing environment variables 2022-04-26 10:46:27 +02:00
David Christofas 5919d256f5 add missing insecure environment variables 2022-04-26 10:26:31 +02:00
Christian Richter a4d7696232 Move machine-auth-api-key to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 10:20:15 +02:00
Willy Kloucek a7840ba1b9 update config file and add insecure option 2022-04-26 09:42:19 +02:00
Willy Kloucek 25e6d2cbdf Merge pull request #3566 from wkloucek/update-gitignore
update and order gitignore, remove uneeded entries
2022-04-26 08:59:03 +02:00
dependabot[bot] a31aff912e Bump github.com/urfave/cli/v2 from 2.4.4 to 2.5.0
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.4.4 to 2.5.0.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.4.4...v2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-26 06:19:45 +00:00
ownClouders c8f31888a8 [tx] updated from transifex 2022-04-26 01:24:52 +00:00
Phil Davis 84c8115c1a Merge pull request #3576 from owncloud/core-commit-id-202220425
[tests-only] [full-ci] Bump core commit id for tests
2022-04-25 21:51:06 +05:45
David Christofas 40320fbb36 start ocdav delayed
Try to prevent concurrent read/write access on a global map in go-chi
2022-04-25 17:45:02 +02:00
Phil Davis 29c7a5a1dc Add web failure for issue 3581 2022-04-25 21:14:28 +05:45
Phil Davis 78dd337a4d Bump core commit id for tests 2022-04-25 21:00:51 +05:45
David Christofas 4f2ea7ef44 add missing archiver defaults 2022-04-25 17:01:42 +02:00
Christian Richter acf75afebc Move Tokenmanager to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-25 16:35:10 +02:00
David Christofas 5311c31433 add environment variables for ldap config 2022-04-25 16:10:08 +02:00
André Duffeck 1a84afc401 Persist the search index on disk 2022-04-25 16:00:25 +02:00
David Christofas 82bbb9fca3 fix archiver url 2022-04-25 15:44:43 +02:00
David Christofas 89b925f34a fix environment variables 2022-04-25 15:44:38 +02:00
David Christofas c29f69d26b add missing configs 2022-04-25 15:44:33 +02:00
Willy Kloucek b26b68b943 fix sharing yaml tag 2022-04-25 15:44:29 +02:00
Willy Kloucek f51bdd8946 fix config docs generation by adding the Sanitize function everywhere 2022-04-25 15:44:24 +02:00
David Christofas 01e307fb72 clean up the new commands 2022-04-25 15:44:19 +02:00
David Christofas 60bf000308 make gateway config similar to other services 2022-04-25 15:44:15 +02:00
David Christofas 76a6588d88 make frontend config similar to other services 2022-04-25 15:44:10 +02:00
David Christofas 430e7f6115 make ocdav config similar to other services 2022-04-25 15:44:06 +02:00
David Christofas f39e354eea make storage shares config similar to other services 2022-04-25 15:44:01 +02:00
David Christofas f40ec3c934 make storage users config similar to other services 2022-04-25 15:43:56 +02:00
David Christofas 12c14e3135 make storage publiclink config similar to other services 2022-04-25 15:43:52 +02:00
David Christofas 4c6848e6bf make auth machine config similar to other services 2022-04-25 15:43:48 +02:00
David Christofas d303bb6f55 make storage metadata config similar to other services 2022-04-25 15:43:43 +02:00
David Christofas 5013d71dac make sharing config similar to other services 2022-04-25 15:43:39 +02:00
David Christofas 7c879343e8 make auth bearer config similar to other services 2022-04-25 15:43:35 +02:00
David Christofas c70a60d7bc make app provider config similar to other services 2022-04-25 15:43:31 +02:00
David Christofas 9e20992c0b make group provider config similar to other services 2022-04-25 15:43:26 +02:00
David Christofas ed4e9ee866 make user provider config similar to other services 2022-04-25 15:43:23 +02:00
David Christofas b31b70890f make auth-basic config similar to other services 2022-04-25 15:43:19 +02:00
David Christofas 57e4e70888 remove auth basic command to improve config code 2022-04-25 15:43:15 +02:00
Willy Kloucek 634d557279 update bingo (#3573) 2022-04-25 13:42:32 +02:00
Jörn Friedrich Dreyer 44e8b6e7be Automated changelog update [skip ci] 2022-04-25 10:36:03 +00:00
Jörn Friedrich Dreyer 93bee371f5 Merge pull request #3570 from owncloud/merge-master-edge
[full-ci] Update reva to latest edge
2022-04-25 12:35:22 +02:00
Pascal Wengerter a9ea6b5ff0 Automated changelog update [skip ci] 2022-04-25 10:23:56 +00:00
Pascal Wengerter 4202a99600 Merge pull request #3579 from owncloud/update-linkshare-capabilities
Update password enforcement & expiration date capabilities for public links
2022-04-25 12:23:18 +02:00
Pascal Wengerter 40b38dcf47 Update password enforcement & expiration date capabilities for public links 2022-04-25 11:47:35 +02:00
André Duffeck 51cf27d767 Add etag, mtime and mimetype to the search index and response 2022-04-25 11:23:30 +02:00
Michael Barz 0b6dcd8fe6 test merge reva master into edge 2022-04-25 11:11:55 +02:00
dependabot[bot] 855ea0bcda Bump google.golang.org/grpc from 1.45.0 to 1.46.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.45.0 to 1.46.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.45.0...v1.46.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>
2022-04-25 06:18:13 +00:00
Artur Neumann 2ac2680e68 Merge pull request #3518 from owncloud/createLinkToFileWithEditPermitions
[test-only]apiTest: create public link to file with edit permissions
2022-04-25 10:01:04 +05:45
Pascal Wengerter a14b7f6c8a Merge pull request #3537 from owncloud/dependabot/npm_and_yarn/extensions/settings/nanoid-3.3.2
Bump nanoid from 3.1.25 to 3.3.2 in /extensions/settings
2022-04-23 20:13:43 +02:00
Pascal Wengerter 0834f0efa4 Merge pull request #3536 from owncloud/dependabot/npm_and_yarn/extensions/settings/node-fetch-2.6.7
Bump node-fetch from 2.6.5 to 2.6.7 in /extensions/settings
2022-04-23 20:12:46 +02:00
André Duffeck 962840ec55 Fix file id field in the search response 2022-04-22 17:54:55 +02:00
André Duffeck b14bded1d3 Limit the search to the relevant fields 2022-04-22 17:54:42 +02:00
Jörn Friedrich Dreyer 6d2c8342c0 Automated changelog update [skip ci] 2022-04-22 14:54:31 +00:00
Jörn Friedrich Dreyer d9648609bb Merge pull request #3564 from wkloucek/update-reva-2022-04-22
[full-ci] update reva
2022-04-22 16:54:02 +02:00
Willy Kloucek b531c47ce1 update expected failures after cs3org/reva#2735 2022-04-22 14:56:49 +02:00
André Duffeck fe61ef58e6 Fix searching files from the web ui 2022-04-22 14:34:04 +02:00
André Duffeck ca29517527 Use proper natsjs plugin 2022-04-22 14:33:24 +02:00
Christian Richter 699f929422 Merge remote-tracking branch 'origin/master' into ocis-init 2022-04-22 13:10:53 +02:00
André Duffeck 3ec212c0cb Properly pass on the token in the context to the search provider 2022-04-22 12:59:09 +02:00
André Duffeck 5598fc04ec Listen to nats and trigger the indexing of uploaded files 2022-04-22 12:59:09 +02:00
Jörn Friedrich Dreyer c17717d7c9 enable search in web ui
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-22 10:47:34 +00:00
Jörn Friedrich Dreyer 190ee68c95 Merge branch 'master' into search 2022-04-22 09:45:06 +00:00
Jörn Friedrich Dreyer 1e5a9e90ff Merge branch 'master' into search 2022-04-22 09:42:23 +00:00
Willy Kloucek 01f0704e53 update and order gitignore, remove uneeded entries 2022-04-22 10:59:30 +02:00
Willy Kloucek 3642b40f9f update reva 2022-04-22 09:13:25 +02:00
Willy Kloucek 1fa61006a1 Merge pull request #3563 from owncloud/dependabot/go_modules/github.com/urfave/cli/v2-2.4.4
Bump github.com/urfave/cli/v2 from 2.4.0 to 2.4.4
2022-04-22 09:00:52 +02:00
Willy Kloucek 2e08c1c22a Merge pull request #3562 from owncloud/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.8.1
Bump github.com/nats-io/nats-server/v2 from 2.8.0 to 2.8.1
2022-04-22 09:00:25 +02:00
Willy Kloucek e0420ea2f9 update wopiserver config 2022-04-22 08:50:00 +02:00
dependabot[bot] d28a082448 Bump github.com/urfave/cli/v2 from 2.4.0 to 2.4.4
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.4.0 to 2.4.4.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v2.4.0...v2.4.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 06:17:18 +00:00
dependabot[bot] 9931ccf93f Bump github.com/nats-io/nats-server/v2 from 2.8.0 to 2.8.1
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.8.0...v2.8.1)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 06:17:07 +00:00
PKiran 6e20eb7d7a Merge pull request #3560 from owncloud/remove-passing-test
[tests-only][full-ci] Remove passing test from expected to fail
2022-04-22 11:04:00 +05:45
Swikriti Tripathi 9321f34cc8 Remove passing test from expected to fail 2022-04-22 09:43:57 +05:45
Willy Kloucek f57d6ee413 Merge pull request #3556 from owncloud/bump-middleware
[tests-only] bump middleware to v1.4.1
2022-04-21 14:30:20 +02:00
Ralf Haferkamp ca15068695 Merge pull request #3404 from owncloud/add-graph-api-test-automation
[tests-only][full-ci] run core acceptance tests with the Graph API
2022-04-21 14:16:20 +02:00
Willy Kloucek f9e8f11df7 Merge pull request #3552 from owncloud/dependabot/go_modules/github.com/mitchellh/mapstructure-1.5.0
Bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0
2022-04-21 14:14:05 +02:00
Willy Kloucek 3990b3c754 Merge pull request #3555 from owncloud/dependabot/go_modules/github.com/go-micro/plugins/v4/events/natsjs-1.0.1
Bump github.com/go-micro/plugins/v4/events/natsjs from 1.0.0 to 1.0.1
2022-04-21 14:13:15 +02:00
Kiran Parajuli fbecb7cb05 Bump middleware to v1.4.1
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 17:35:30 +05:45
dependabot[bot] 709453e3c5 Bump github.com/go-micro/plugins/v4/events/natsjs from 1.0.0 to 1.0.1
Bumps [github.com/go-micro/plugins/v4/events/natsjs](https://github.com/go-micro/plugins) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.0.0...v3/server/grpc/v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/events/natsjs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 11:44:41 +00:00
Jörn Friedrich Dreyer be539f7217 Merge pull request #3546 from owncloud/switch-micro-plugin-source-server
switch micro plugin source for the grpc server plugin
2022-04-21 13:43:29 +02:00
saw-jan 8c08c98cc7 add OCIS_URL 2022-04-21 16:55:05 +05:45
saw-jan 78c5a2c34a copy from ocis-api expected-failure file
update expected-failure file
2022-04-21 16:55:05 +05:45
saw-jan bddfade253 update expected to fail file, refactor comment doc
exlude TestHelpers from codacy as done for other test context files

Signed-off-by: saw-jan <saw.jan.grg3e@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli 2b49a15b83 Use latest commit id from owncloud/core master
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli f7bb9063b2 Reverted changes for quick feedback loop
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli e078abc7fd Add group existane check methods
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli 4857a6dbe3 Fix codacy related errors
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli fba90f772b Fixed links in expected to failures file
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Parajuli Kiran 341be5ee6f Updated list of expected failures
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Ralf Haferkamp 7425cb5f61 Add ocdav service to idp configuration 2022-04-21 16:55:05 +05:45
Parajuli Kiran e39f49ef11 Helper and context refactorings
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Kiran Parajuli 3285ec9c92 Updated expected to failures list with suite grouping
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:05 +05:45
Ralf Haferkamp 7a3ab44ae6 Adapt for new LDAP config 2022-04-21 16:55:04 +05:45
Kiran Parajuli 54583ca936 Set ACCOUNTS_DEMO_USERS_AND_GROUPS to true
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Kiran Parajuli 3bae522031 Use latest core commit id
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Parajuli Kiran 5c0f0d3eed Introduced expected to fail file
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Parajuli Kiran a3f4a57c47 Set log level to debug
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Parajuli Kiran ce0e47b365 Setup ci for graph tests
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Parajuli Kiran 5b04aa1ee7 Implement context for core
Signed-off-by: Parajuli Kiran <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Kiran Parajuli 9e2962d561 added graph helper
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:55:04 +05:45
Phil Davis 09baf574aa Automated changelog update [skip ci] 2022-04-21 11:06:31 +00:00
Phil Davis ed4a809442 Merge pull request #3553 from owncloud/remove-jarnaiz/behat-junit-formatter
Remove jarnaiz/behat-junit-formatter from acceptance tests
2022-04-21 16:51:05 +05:45
Kiran Parajuli 4c16b16445 Removed formatter config from parallel deployment config
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 16:20:48 +05:45
Kiran Parajuli c82a3f4b0e Removed vendor php
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 15:42:24 +05:45
Kiran Parajuli b802c78762 Remove jarnaiz/behat-junit-formatter from acceptance tests
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-04-21 15:25:27 +05:45
dependabot[bot] 1cf095ccc1 Bump github.com/mitchellh/mapstructure from 1.4.3 to 1.5.0
Bumps [github.com/mitchellh/mapstructure](https://github.com/mitchellh/mapstructure) from 1.4.3 to 1.5.0.
- [Release notes](https://github.com/mitchellh/mapstructure/releases)
- [Changelog](https://github.com/mitchellh/mapstructure/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitchellh/mapstructure/compare/v1.4.3...v1.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-21 06:22:45 +00:00
Christian Richter 0d45dc8777 Merge remote-tracking branch 'origin/master' into ocis-init 2022-04-20 13:12:36 +02:00
Ralf Haferkamp addbbdadeb Automated changelog update [skip ci] 2022-04-20 11:11:12 +00:00
Ralf Haferkamp fa1b6d5a58 Merge pull request #3530 from rhafer/cs3-no-fatal
return proper errors when ocs/cloud/users is using the cs3 backend
2022-04-20 13:06:52 +02:00
Christian Richter f7a84491ef add missing extensions
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-20 12:20:37 +02:00
Ralf Haferkamp 916b2bbdc0 return proper errors when ocs/cloud/users is using the cs3 backend
The ocs API was just exiting with a fatal error on any update request,
when configured for the cs3 backend. Now it returns a proper error.

Closes: #3483
2022-04-20 12:15:19 +02:00
Christian Richter 88cf3eec89 handle insecure flag
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-20 11:56:26 +02:00
Willy Kloucek 726604951d Automated changelog update [skip ci] 2022-04-20 09:26:22 +00:00
Willy Kloucek a55dae1703 Merge pull request #3550 from owncloud/update-docs-1.20.0
update ocis references from 1.19.1 to 1.20.0
2022-04-20 11:25:57 +02:00
Willy Kloucek daeb1a6c63 Merge pull request #3549 from owncloud/fix-dockerfile
fix dockerfile in the ocis root
2022-04-20 11:25:44 +02:00
Christian Richter 3956108e17 add password generator
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-20 11:12:55 +02:00
Willy Kloucek adb26fc62e update ocis references from 1.19.1 to 1.20.0 2022-04-20 10:52:09 +02:00
Willy Kloucek cf49097af9 Merge pull request #3547 from owncloud/docs-20220419
Various grammar and typos
2022-04-20 10:33:28 +02:00
Willy Kloucek fde5b21a32 Automated changelog update [skip ci] 2022-04-20 08:32:29 +00:00
Willy Kloucek 1f23452619 Merge pull request #3548 from owncloud/dependabot/go_modules/github.com/go-chi/cors-1.2.1
Bump github.com/go-chi/cors from 1.2.0 to 1.2.1
2022-04-20 10:31:57 +02:00
Willy Kloucek 833b5ac4ea fix dockerfile in the ocis root 2022-04-20 09:19:34 +02:00
dependabot[bot] 142b97878b Bump github.com/go-chi/cors from 1.2.0 to 1.2.1
Bumps [github.com/go-chi/cors](https://github.com/go-chi/cors) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/go-chi/cors/releases)
- [Commits](https://github.com/go-chi/cors/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/go-chi/cors
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-20 06:22:33 +00:00
Phil Davis b3aff31466 Various grammar and typos 2022-04-19 20:47:37 +05:45
Willy Kloucek 2e696f9ac4 update grpc server plugin to tag 2022-04-19 16:30:08 +02:00
Willy Kloucek 3108565b9a switch micro plugin source for the grpc server plugin 2022-04-19 16:22:12 +02:00
Christian Richter 8d81e39bd6 refactor yaml labels, add overwrite protection
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-19 15:14:01 +02:00
Jörn Friedrich Dreyer dcb8e4f356 use
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-19 12:56:10 +00:00
Willy Kloucek d2dc0358a7 Merge pull request #3543 from owncloud/switch-micro-source
switch source for go micro plugins
2022-04-19 12:36:24 +02:00
Willy Kloucek f6ead08dbd update reva to get cs3org/reva#2749 2022-04-19 12:08:43 +02:00
Willy Kloucek e5b7496c29 switch source for go micro plugins 2022-04-19 09:44:47 +02:00
Willy Kloucek ff48a58c1f Merge pull request #3542 from owncloud/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.8.0
Bump github.com/nats-io/nats-server/v2 from 2.7.4 to 2.8.0
2022-04-19 08:53:39 +02:00
Willy Kloucek 31d4cd17cb Merge pull request #3541 from owncloud/dependabot/go_modules/github.com/gookit/config/v2-2.1.0
Bump github.com/gookit/config/v2 from 2.0.27 to 2.1.0
2022-04-19 08:36:53 +02:00
dependabot[bot] 30cbc7f599 Bump github.com/nats-io/nats-server/v2 from 2.7.4 to 2.8.0
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.7.4 to 2.8.0.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/.goreleaser.yml)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.7.4...v2.8.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 06:20:19 +00:00
dependabot[bot] b3b7c9cb77 Bump github.com/gookit/config/v2 from 2.0.27 to 2.1.0
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config) from 2.0.27 to 2.1.0.
- [Release notes](https://github.com/gookit/config/releases)
- [Commits](https://github.com/gookit/config/compare/v2.0.27...v2.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-18 06:19:21 +00:00
Michael Barz 50f2be7d9b Automated changelog update [skip ci] 2022-04-15 08:55:53 +00:00
Michael Barz 9efc1b9201 small typo in changelog 2022-04-15 10:55:23 +02:00
Michael Barz 77f7adb277 Automated changelog update [skip ci] 2022-04-15 05:42:47 +00:00
Michael Barz 4eed08bc3e Merge pull request #3539 from owncloud/single-file-edit
[full-ci] update reva and add capability
2022-04-15 07:42:23 +02:00
ownClouders 75804c58aa [tx] updated from transifex 2022-04-15 01:01:25 +00:00
Michael Barz 9a68be7a64 sql share driver has been renamed 2022-04-15 00:01:02 +02:00
Michael Barz b385e26299 update reva and add capability 2022-04-14 19:49:17 +02:00
Michael Barz 3e6fc7829c Merge pull request #3533 from owncloud/1.20_release_notes
[docs-only] oCIS 1.20.0 release notes
2022-04-14 17:17:35 +02:00
9d756fd611 Apply suggestions from code review
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
Co-authored-by: Michael Barz <mbarz@owncloud.com>
2022-04-14 16:59:21 +02:00
Christian Richter c9c329b139 initial skel for subcommand
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-14 15:46:25 +02:00
Jörn Friedrich Dreyer 37f64eb0e8 Merge branch 'master' into search
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-14 11:56:26 +00:00
dependabot[bot] 34c9a36d7c Bump nanoid from 3.1.25 to 3.3.2 in /extensions/settings
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.25 to 3.3.2.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.25...3.3.2)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 10:40:10 +00:00
dependabot[bot] 180fb34ee4 Bump node-fetch from 2.6.5 to 2.6.7 in /extensions/settings
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.5 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.5...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-14 10:40:06 +00:00
Jörn Friedrich Dreyer a332ba8c00 Automated changelog update [skip ci] 2022-04-14 10:39:36 +00:00
Jörn Friedrich Dreyer 685f9fb410 Merge pull request #3531 from owncloud/refactor-structure-v2
Refactor structure
2022-04-14 12:39:11 +02:00
Christian Richter c21cc06b66 fix drone FEATURE_PATH for accounts
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-14 12:05:38 +02:00
André Duffeck 2de90423b7 Actually call the search provider when searching 2022-04-14 11:18:18 +02:00
Christian Richter f3e5e4d0fb remove assets from graph-explorer
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-14 10:51:42 +02:00
André Duffeck a0d99464b2 Fix parsing the search pattern 2022-04-14 10:51:37 +02:00
Jörn Friedrich Dreyer bba190f980 add ocis search command
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-14 08:19:51 +00:00
Jörn Friedrich Dreyer 6573c2adba check in missing packages
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-14 07:54:32 +00:00
André Duffeck 997cfc2121 Limit the search to the specified space in the reference 2022-04-14 08:49:04 +02:00
Christian Richter cfd85f4f6c Merge remote-tracking branch 'origin/master' into refactor-structure-v2 2022-04-14 08:03:58 +02:00
Viktor Scharf ec2401ec46 apiTest: create public link to file with edit permissions 2022-04-13 22:34:35 +02:00
Michael Barz a78df515f4 Merge pull request #3532 from owncloud/sonarcloud-v1.20.0
bump sonarcloud version to 1.20.0
2022-04-13 19:14:47 +02:00
Patrick Maier 4f07fc4a47 Update release_notes.md 2022-04-13 18:52:31 +02:00
Willy Kloucek 6457144a80 bump sonarcloud version to 1.20.0 2022-04-13 18:40:55 +02:00
Willy Kloucek 099c805f36 Automated changelog update [skip ci] 2022-04-13 16:40:45 +00:00
Willy Kloucek 750286bc1a Merge pull request #3525 from owncloud/release-1.20.0
release oCIS v1.20.0
2022-04-13 18:40:01 +02:00
Jörn Friedrich Dreyer ab2a4e7068 fix nil
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-13 16:19:05 +00:00
Jörn Friedrich Dreyer b4017a0451 minimal report handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-13 15:25:32 +00:00
Christian Richter 3a9f2d8e15 Merge remote-tracking branch 'origin/master' into refactor-structure-v2 2022-04-13 17:20:54 +02:00
Christian Richter 960b4546d1 fix import path for storage extension
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:17:36 +02:00
Ralf Haferkamp f21eee2d93 Automated changelog update [skip ci] 2022-04-13 17:04:38 +02:00
Ralf Haferkamp 80c0d9527a Use a different wait for ocis check in the parallel deployment
The routing in the parallel deployment is directed to oc10 by default,
which might not have and admin user and does not provide the graph API.
Switch back to the old wait-for image, which should be good enough in
that specific test setup.
2022-04-13 17:04:38 +02:00
Ralf Haferkamp 26bc531c52 Improve wait-for-ocis check
Retry on all HTTP response codes indicating and error.
2022-04-13 17:04:38 +02:00
Christian Richter d84f3043ca update drone
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:38 +02:00
Ralf Haferkamp 5948417cee Refresh idm setup docs after LDAP config changes 2022-04-13 17:04:38 +02:00
Willy Kloucek 2e49c9abc2 ensure svg width does not exceed the page space 2022-04-13 17:04:38 +02:00
Willy Kloucek 7773b9c23d Automated changelog update [skip ci] 2022-04-13 17:04:38 +02:00
jkoberg 3f2ac2eb8f bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-04-13 17:04:38 +02:00
Michael Barz 62afc46704 update reva 2022-04-13 17:04:38 +02:00
Michael Barz 089aa09e91 Automated changelog update [skip ci] 2022-04-13 17:04:38 +02:00
jkoberg 77e764e4d5 try different wait-for-ocis-server command
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-04-13 17:04:38 +02:00
Jörn Friedrich Dreyer 70ca1f45f8 Automated changelog update [skip ci] 2022-04-13 17:04:38 +02:00
Jörn Friedrich Dreyerandjkoberg 40a4c5070a Use embeddable ocdav go micro service (#3397)
* allow proxy to route to micro service

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* use go micre ocdav service instead of reva frontend

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add missing gateway default config

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* update reva branch for testing

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add changelog

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* add missing comands

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* bump reva version

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* tidy

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* bump reva again

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* a blind mans config change

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* add ocdav to must start extensions

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* fail when neither backend nor service is set

Signed-off-by: jkoberg <jkoberg@owncloud.com>

Co-authored-by: jkoberg <jkoberg@owncloud.com>
2022-04-13 17:04:38 +02:00
jkoberg ae4c72d1c7 bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-04-13 17:04:38 +02:00
Swikriti Tripathi b99e565c51 Bump Commit id and update expected to fail file 2022-04-13 17:04:38 +02:00
Swikriti Tripathi 7774240ab1 Update commit id 2022-04-13 17:04:38 +02:00
Swikriti Tripathi 09061ced50 Update expected to fail 2022-04-13 17:04:38 +02:00
Swikriti Tripathi 3860e5fd85 Bump core commit id for tests 2022-04-13 17:04:38 +02:00
Viktor Scharf 6b96183618 [tests-only] apiTest: list of trash files and restore files from the trash (#3462)
* apiTest: see trashbin and restore files from trash
2022-04-13 17:04:38 +02:00
Christian Richter 418e32f3d7 refactor makefiles
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:38 +02:00
Christian Richter 725d55b494 refactor audit
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:38 +02:00
Christian Richter fdd94daae8 restore deleted files
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:38 +02:00
Christian Richter a919195f34 refactor thumbnails
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:38 +02:00
Christian Richter afea0b4304 refactor webdav
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:38 +02:00
Christian Richter e5abc25aa1 refactor web
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:38 +02:00
Christian Richter 4347b2672f refactor store
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:38 +02:00
Christian Richter e079465ff8 refactor storage 2022-04-13 17:04:38 +02:00
Christian Richter 1a1a4d6a3c refactor settings 2022-04-13 17:04:37 +02:00
Christian Richter 92d76e00ab refactor proxy
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00
Christian Richter 689ec4f266 refactor ocs
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00
Christian Richter 2153d22e61 refactor notifications
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00
Christian Richter bff47cc0f1 refactor nats
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00
Christian Richter bfc8db848c refactor idp
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00
Christian Richter 4404b9741d refactor idm
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00
Christian Richter 1932e594d1 refactor graph-explorer
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00
Christian Richter 4d821cdc9d refactor graph
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00
Christian Richter d4442941a1 refactor glauth
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00
Christian Richter 2089ac5f7b refactor accounts
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:35 +02:00
Christian Richter 1c5d02da20 fix .gitignore & cleanup
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 16:46:12 +02:00
Ralf Haferkamp 30f636abb8 Automated changelog update [skip ci] 2022-04-13 13:34:05 +00:00
Ralf Haferkamp 0b68094ecd Merge pull request #3529 from rhafer/idm-doc
[docs-only] Fix idm setup docs
2022-04-13 15:33:35 +02:00
André Duffeck a737f4e0a7 Fix type, hook up proper service 2022-04-13 15:17:08 +02:00
André Duffeck 4c23ced637 Fix the index after the protobuf refactoring 2022-04-13 15:14:21 +02:00
Ralf Haferkamp bca502d2bd Fix idm setup docs 2022-04-13 15:09:16 +02:00
Jörn Friedrich Dreyer 9535b73904 Merge branch 'master' into search
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-13 11:54:32 +00:00
Jörn Friedrich Dreyer f232923d60 webdav: handle REPORT
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-13 11:47:15 +00:00
Ralf Haferkamp 629f15afcb Automated changelog update [skip ci] 2022-04-13 11:11:50 +00:00
Ralf Haferkamp c752b3df75 Merge pull request #3527 from rhafer/wait-for-ocis
[tests-only] Improve wait-for-ocis check
2022-04-13 13:11:12 +02:00
Ralf Haferkamp 3e0158e4a6 Use a different wait for ocis check in the parallel deployment
The routing in the parallel deployment is directed to oc10 by default,
which might not have and admin user and does not provide the graph API.
Switch back to the old wait-for image, which should be good enough in
that specific test setup.
2022-04-13 12:40:50 +02:00
Ralf Haferkamp 6a21f12ec6 Improve wait-for-ocis check
Retry on all HTTP response codes indicating and error.
2022-04-13 11:34:14 +02:00
André Duffeck 6be2d8c0c5 Add protobuf definitions and use those instead of our structs 2022-04-13 09:55:07 +02:00
Jörn Friedrich Dreyer 6bb9af5a24 allow proxy to route based on request method
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-12 14:53:14 +00:00
André Duffeck 6f59395611 Cleanup 2022-04-11 10:20:50 +02:00
André Duffeck a0890eb043 Implement Remove for removing entries from the index 2022-04-11 09:26:48 +02:00
André Duffeck 099a89a523 Limit the search to the directory specified in the reference 2022-04-11 09:13:44 +02:00
André Duffeck 79035baaf0 Store and return the path. Add more tests 2022-04-11 08:47:18 +02:00
André Duffeck 0768aef1b5 Use NewQueryStringQuery to allow for using wildcards etc. 2022-04-11 08:47:18 +02:00
André Duffeck 6cc04872ee Also store (and return) the Size in the index 2022-04-08 10:57:44 +02:00
André Duffeck 3099d4a821 Add an initial version of a search service.
It's still incomplete and isn't working yet.
2022-04-08 10:53:37 +02:00
1499 changed files with 29077 additions and 12933 deletions

No files matched your search

+4 -4
View File
@@ -1,4 +1,4 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.5.2. DO NOT EDIT.
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.6. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
GOPATH ?= $(shell go env GOPATH)
@@ -17,11 +17,11 @@ GO ?= $(shell which go)
# @echo "Running bingo"
# @$(BINGO) <flags/args..>
#
BINGO := $(GOBIN)/bingo-v0.5.2
BINGO := $(GOBIN)/bingo-v0.6.0
$(BINGO): $(BINGO_DIR)/bingo.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/bingo-v0.5.2"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.5.2 "github.com/bwplotka/bingo"
@echo "(re)installing $(GOBIN)/bingo-v0.6.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=bingo.mod -o=$(GOBIN)/bingo-v0.6.0 "github.com/bwplotka/bingo"
BUF := $(GOBIN)/buf-v1.3.1
$(BUF): $(BINGO_DIR)/buf.mod
+1 -1
View File
@@ -2,4 +2,4 @@ module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT
go 1.17
require github.com/bwplotka/bingo v0.5.2
require github.com/bwplotka/bingo v0.6.0
+31
View File
@@ -2,23 +2,37 @@ github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3Q
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
github.com/bwplotka/bingo v0.5.2 h1:iNCW7magHQK/ozLxoBVEhzhuFiftNQeFsfR9TuIEFxE=
github.com/bwplotka/bingo v0.5.2/go.mod h1:CNMrHaFo3AhgU86psqpMQ8BOac2SZMhYfd0On/Ubt64=
github.com/bwplotka/bingo v0.6.0 h1:AlRrI9J/GVjOUSZbsYQ5WS8X8FnLpTbEAhUVW5iOQ7M=
github.com/bwplotka/bingo v0.6.0/go.mod h1:/qx0tLceUEeAs1R8QnIF+n9+Q0xUe7hmdQTB2w0eDYk=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/creack/pty v1.1.15/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/efficientgo/tools/core v0.0.0-20210201220623-8118984754c2 h1:GD19G/vhEa8amDJDBYcTaFXZjxKed67Ev0ZFPHdd/LQ=
github.com/efficientgo/tools/core v0.0.0-20210201220623-8118984754c2/go.mod h1:cFZoHUhKg31xkPnPjhPKFtevnx0Xcg67ptBRxbpaxtk=
github.com/efficientgo/tools/core v0.0.0-20220225185207-fe763185946b h1:ZHiD4/yE4idlbqvAO6iYCOYRzOMRpxkW+FKasRA3tsQ=
github.com/efficientgo/tools/core v0.0.0-20220225185207-fe763185946b/go.mod h1:OmVcnJopJL8d3X3sSXTiypGoUSgFq1aDGmlrdi9dn/M=
github.com/frankban/quicktest v1.13.1/go.mod h1:NeW+ay9A/U67EYXNFA1nPE8e/tnQv/09mUdL/ijj8og=
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
github.com/google/renameio v1.0.1/go.mod h1:t/HQoYBZSsWSNK35C6CO/TpPLDVWvxOHboWUAweKUpk=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA=
github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU=
github.com/pkg/diff v0.0.0-20200914180035-5b29258ca4f7/go.mod h1:zO8QMzTeZd5cpnIkz/Gn6iK0jDfGicM1nynOkkPIl28=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.6.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
github.com/rogpeppe/go-internal v1.8.1-0.20210923151022-86f73c517451/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o=
github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
@@ -29,19 +43,30 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U
golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
golang.org/x/mod v0.4.2 h1:Gz96sIWK3OalVv/I/qNygP42zyoKp3xptRVCWRFEBvo=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.5.1 h1:OJxoQ/rynoF0dcCdI7cLPktw/hR2cueqYfjm43oqK38=
golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9 h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ=
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201029080932-201ba4db2418 h1:HlFl4V6pEMziuLXyRkm5BIYq1y1GAbb02pRlWvI54OM=
golang.org/x/sys v0.0.0-20201029080932-201ba4db2418/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210925032602-92d5a993a665/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f h1:rlezHXNlxYWvBCzNses9Dlc7nGFaNMJeqLolcmQSSZY=
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20191110171634-ad39bd3f0407 h1:5zh5atpUEdIc478E/ebrIaHLKcfVvG6dL/fGv7BcMoM=
golang.org/x/term v0.0.0-20191110171634-ad39bd3f0407/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20210916214954-140adaaadfaf/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
@@ -49,11 +74,17 @@ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtn
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898 h1:/atklqdjdhuosWIl6AIbOeHJjicWYPqR9bpxqxYG2pA=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
mvdan.cc/editorconfig v0.1.1-0.20200121172147-e40951bde157/go.mod h1:Ge4atmRUYqueGppvJ7JNrtqpqokoJEFxYbP0Z+WeKS8=
mvdan.cc/editorconfig v0.2.0/go.mod h1:lvnnD3BNdBYkhq+B4uBuFFKatfp02eB6HixDvEz91C0=
mvdan.cc/sh/v3 v3.2.4 h1:+fZaWcXWRjYAvqzEKoDhDM3DkxdDUykU2iw0VMKFe9s=
mvdan.cc/sh/v3 v3.2.4/go.mod h1:fPQmabBpREM/XQ9YXSU5ZFZ/Sm+PmKP9/vkFHgYKJEI=
mvdan.cc/sh/v3 v3.4.3 h1:zbuKH7YH9cqU6PGajhFFXZY7dhPXcDr55iN/cUAqpuw=
mvdan.cc/sh/v3 v3.4.3/go.mod h1:p/tqPPI4Epfk2rICAe2RoaNd8HBSJ8t9Y2DA9yQlbzY=
+2 -2
View File
@@ -1,4 +1,4 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.5.2. DO NOT EDIT.
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.6. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
# Those variables will work only until 'bingo get' was invoked, or if tools were installed via Makefile's Variables.mk.
GOBIN=${GOBIN:=$(go env GOBIN)}
@@ -8,7 +8,7 @@ if [ -z "$GOBIN" ]; then
fi
BINGO="${GOBIN}/bingo-v0.5.2"
BINGO="${GOBIN}/bingo-v0.6.0"
BUF="${GOBIN}/buf-v1.3.1"
+1
View File
@@ -15,5 +15,6 @@ exclude_paths:
- 'deployments/**'
- 'tests/acceptance/expected-failures-*.md'
- 'tests/acceptance/features/bootstrap/**'
- 'tests/TestHelpers/**'
...
-1
View File
@@ -1,7 +1,6 @@
.bingo
!.bingo/*.mod
!.bingo/Variables.mk
**/.git
**/bin
docs
**/node_modules
+2 -2
View File
@@ -1,7 +1,7 @@
# The test runner source for API tests
CORE_COMMITID=8d336099571f9218e09ba5ddf0eb30b19cab7d4f
CORE_COMMITID=5699b6e0adf79ec3241a918ac28c8eb20c70f8bd
CORE_BRANCH=master
# The test runner source for UI tests
WEB_COMMITID=41c62d459c4e7bc4a04367eb80f45a8c29aa3baa
WEB_COMMITID=54495e55a46c051680e121dae8c9c4f7938746cb
WEB_BRANCH=master
+117 -103
View File
@@ -18,7 +18,7 @@ OC_CI_NODEJS = "owncloudci/nodejs:%s"
OC_CI_PHP = "owncloudci/php:%s"
OC_CI_WAIT_FOR = "owncloudci/wait-for:latest"
OC_CS3_API_VALIDATOR = "owncloud/cs3api-validator:latest"
OC_OC_TEST_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.4.0"
OC_OC_TEST_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.6.0"
OC_SERVER = "owncloud/server:10"
OC_UBUNTU = "owncloud/ubuntu:18.04"
OSIXIA_OPEN_LDAP = "osixia/openldap:latest"
@@ -43,22 +43,39 @@ DEFAULT_NODEJS_VERSION = "14"
config = {
"modules": [
# if you add a module here please also add it to the root level Makefile
"accounts",
"audit",
"glauth",
"graph-explorer",
"graph",
"idp",
"extensions/accounts",
"extensions/app-provider",
"extensions/app-registry",
"extensions/audit",
"extensions/auth-basic",
"extensions/auth-bearer",
"extensions/auth-machine",
"extensions/frontend",
"extensions/gateway",
"extensions/glauth",
"extensions/graph-explorer",
"extensions/graph",
"extensions/groups",
"extensions/idm",
"extensions/idp",
"extensions/nats",
"extensions/notifications",
"extensions/ocdav",
"extensions/ocs",
"extensions/proxy",
"extensions/settings",
"extensions/sharing",
"extensions/storage-system",
"extensions/storage-publiclink",
"extensions/storage-shares",
"extensions/storage-users",
"extensions/store",
"extensions/thumbnails",
"extensions/users",
"extensions/web",
"extensions/webdav",
"ocis-pkg",
"ocis",
"ocs",
"proxy",
"settings",
"storage",
"store",
"thumbnails",
"web",
"webdav",
],
"cs3ApiTests": {
"skip": False,
@@ -81,11 +98,11 @@ config = {
"earlyFail": True,
},
"accountsUITests": {
"skip": False,
"skip": True,
"earlyFail": True,
},
"settingsUITests": {
"skip": False,
"skip": True,
"earlyFail": True,
},
"parallelApiTests": {
@@ -301,7 +318,7 @@ def testOcisModule(ctx, module):
"commands": [
"mkdir -p cache/checkstyle",
"make -C %s ci-golangci-lint" % (module),
"mv %s/checkstyle.xml cache/checkstyle/%s_checkstyle.xml" % (module, module),
"mv %s/checkstyle.xml cache/checkstyle/$(basename %s)_checkstyle.xml" % (module, module),
],
"volumes": [stepVolumeGo],
},
@@ -311,7 +328,7 @@ def testOcisModule(ctx, module):
"commands": [
"mkdir -p cache/coverage",
"make -C %s test" % (module),
"mv %s/coverage.out cache/coverage/%s_coverage.out" % (module, module),
"mv %s/coverage.out cache/coverage/$(basename %s)_coverage.out" % (module, module),
],
"volumes": [stepVolumeGo],
},
@@ -492,6 +509,9 @@ def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
"name": "localApiTests-%s-%s" % (suite, storage),
"image": OC_CI_PHP % DEFAULT_PHP_VERSION,
"environment": {
"TEST_WITH_GRAPH_API": "true",
"PATH_TO_OCIS": "/drone/src",
"PATH_TO_CORE": "/srv/app/testrunner",
"TEST_SERVER_URL": "https://ocis-server:9200",
"OCIS_REVA_DATA_ROOT": "%s" % ("/srv/app/tmp/ocis/owncloud/data/" if storage == "owncloud" else ""),
"SKELETON_DIR": "/srv/app/tmp/testing/data/apiSkeleton",
@@ -500,8 +520,7 @@ def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
"SEND_SCENARIO_LINE_REFERENCES": "true",
"STORAGE_DRIVER": storage,
"BEHAT_SUITE": suite,
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
"PATH_TO_CORE": "/srv/app/testrunner",
"BEHAT_FILTER_TAGS": "~@skip&&~@skipOnGraph&&~@skipOnOcis-%s-Storage" % ("OC" if storage == "owncloud" else "OCIS"),
"EXPECTED_FAILURES_FILE": "/drone/src/tests/acceptance/expected-failures-localAPI-on-%s-storage.md" % (storage.upper()),
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
},
@@ -557,6 +576,8 @@ def cs3ApiTests(ctx, storage, accounts_hash_difficulty = 4):
def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", accounts_hash_difficulty = 4):
early_fail = config["apiTests"]["earlyFail"] if "earlyFail" in config["apiTests"] else False
filterTags = "~@skipOnGraph&&~@skipOnOcis&&~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage&&~@issue-ocis-3023" % ("OC" if storage == "owncloud" else "OCIS")
expectedFailuresFile = "/drone/src/tests/acceptance/expected-failures-API-on-%s-storage.md" % (storage.upper())
return {
"kind": "pipeline",
@@ -573,6 +594,9 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
"name": "oC10ApiTests-%s-storage-%s" % (storage, part_number),
"image": OC_CI_PHP % DEFAULT_PHP_VERSION,
"environment": {
"TEST_WITH_GRAPH_API": "true",
"PATH_TO_OCIS": "/drone/src",
"PATH_TO_CORE": "/srv/app/testrunner",
"TEST_SERVER_URL": "https://ocis-server:9200",
"OCIS_REVA_DATA_ROOT": "%s" % ("/srv/app/tmp/ocis/owncloud/data/" if storage == "owncloud" else ""),
"SKELETON_DIR": "/srv/app/tmp/testing/data/apiSkeleton",
@@ -580,10 +604,10 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
"TEST_OCIS": "true",
"SEND_SCENARIO_LINE_REFERENCES": "true",
"STORAGE_DRIVER": storage,
"BEHAT_FILTER_TAGS": "~@skipOnOcis&&~@notToImplementOnOCIS&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage&&~@issue-ocis-3023" % ("OC" if storage == "owncloud" else "OCIS"),
"BEHAT_FILTER_TAGS": filterTags,
"DIVIDE_INTO_NUM_PARTS": number_of_parts,
"RUN_PART": part_number,
"EXPECTED_FAILURES_FILE": "/drone/src/tests/acceptance/expected-failures-API-on-%s-storage.md" % (storage.upper()),
"EXPECTED_FAILURES_FILE": expectedFailuresFile,
"UPLOAD_DELETE_WAIT_TIME": "1" if storage == "owncloud" else 0,
},
"commands": [
@@ -751,7 +775,7 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
"LOCAL_UPLOAD_DIR": "/uploads",
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
"WEB_PATH": "/srv/app/web",
"FEATURE_PATH": "/drone/src/accounts/ui/tests/acceptance/features",
"FEATURE_PATH": "/drone/src/extensions/accounts/ui/tests/acceptance/features",
"MIDDLEWARE_HOST": "http://middleware:3000",
},
"commands": [
@@ -762,7 +786,7 @@ def accountsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
"git checkout $WEB_COMMITID",
# TODO: settings/package.json has all the acceptance test dependencies
# they shouldn't be needed since we could also use them from web:/tests/acceptance/package.json
"cd /drone/src/accounts",
"cd /drone/src/extensions/accounts",
"yarn install --immutable",
"make test-acceptance-webui",
],
@@ -815,7 +839,7 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
"LOCAL_UPLOAD_DIR": "/uploads",
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
"WEB_PATH": "/srv/app/web",
"FEATURE_PATH": "/drone/src/settings/ui/tests/acceptance/features",
"FEATURE_PATH": "/drone/src/extensions/settings/ui/tests/acceptance/features",
"MIDDLEWARE_HOST": "http://middleware:3000",
},
"commands": [
@@ -826,7 +850,7 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
"git checkout $WEB_COMMITID",
# TODO: settings/package.json has all the acceptance test dependencies
# they shouldn't be needed since we could also use them from web:/tests/acceptance/package.json
"cd /drone/src/settings",
"cd /drone/src/extensions/settings",
"yarn install --immutable",
"make test-acceptance-webui",
],
@@ -1613,102 +1637,96 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
if not testing_parallel_deploy:
user = "0:0"
environment = {
"OCIS_URL": "https://ocis-server:9200",
"STORAGE_GATEWAY_GRPC_ADDR": "0.0.0.0:9142",
"STORAGE_HOME_DRIVER": "%s" % (storage),
"OCIS_URL": OCIS_URL,
"GATEWAY_GRPC_ADDR": "0.0.0.0:9142", # cs3api-validator needs the cs3api gatway exposed
"STORAGE_USERS_DRIVER": "%s" % (storage),
"STORAGE_USERS_DRIVER_LOCAL_ROOT": "/srv/app/tmp/ocis/local/root",
"STORAGE_USERS_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/users",
"STORAGE_METADATA_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/metadata",
"STORAGE_SHARING_USER_JSON_FILE": "/srv/app/tmp/ocis/shares.json",
"STORAGE_SYSTEM_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/metadata",
"SHARING_USER_JSON_FILE": "/srv/app/tmp/ocis/shares.json",
"PROXY_ENABLE_BASIC_AUTH": True,
"WEB_UI_CONFIG": "/drone/src/tests/config/drone/ocis-config.json",
"IDP_IDENTIFIER_REGISTRATION_CONF": "/drone/src/tests/config/drone/identifier-registration.yml",
"OCIS_LOG_LEVEL": "error",
"SETTINGS_DATA_PATH": "/srv/app/tmp/ocis/settings",
"OCIS_INSECURE": "true",
"ACCOUNTS_DEMO_USERS_AND_GROUPS": True, # deprecated, remove after switching to LibreIDM
"IDM_CREATE_DEMO_USERS": True,
"IDM_ADMIN_PASSWORD": "admin", # override the random admin password from `ocis init`
}
wait_for_ocis = {
"name": "wait-for-ocis-server",
"image": OC_CI_ALPINE,
"commands": [
"curl -k -u admin:admin --fail --retry-connrefused --retry 10 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/admin'",
],
"depends_on": depends_on,
}
else:
user = "33:33"
environment = {
# Keycloak IDP specific configuration
"PROXY_OIDC_ISSUER": "https://keycloak/auth/realms/owncloud",
"WEB_OIDC_AUTHORITY": "https://keycloak/auth/realms/owncloud",
"WEB_OIDC_CLIENT_ID": "ocis-web",
"OCIS_OIDC_ISSUER": "https://keycloak/auth/realms/owncloud",
"WEB_OIDC_METADATA_URL": "https://keycloak/auth/realms/owncloud/.well-known/openid-configuration",
"STORAGE_OIDC_ISSUER": "https://keycloak",
"STORAGE_LDAP_IDP": "https://keycloak/auth/realms/owncloud",
"WEB_OIDC_CLIENT_ID": "ocis-web",
"WEB_OIDC_SCOPE": "openid profile email owncloud",
# external ldap is supposed to be read only
"GRAPH_IDENTITY_BACKEND": "ldap",
"GRAPH_LDAP_SERVER_WRITE_ENABLED": "false",
# LDAP bind
"STORAGE_LDAP_URI": "ldaps://openldap",
"STORAGE_LDAP_INSECURE": "true",
"STORAGE_LDAP_BIND_DN": "cn=admin,dc=owncloud,dc=com",
"STORAGE_LDAP_BIND_PASSWORD": "admin",
"LDAP_URI": "ldaps://openldap",
"LDAP_INSECURE": "true",
"LDAP_BIND_DN": "cn=admin,dc=owncloud,dc=com",
"LDAP_BIND_PASSWORD": "admin",
# LDAP user settings
"PROXY_AUTOPROVISION_ACCOUNTS": "true", # automatically create users when they login
"PROXY_ACCOUNT_BACKEND_TYPE": "cs3", # proxy should get users from CS3APIS (which gets it from LDAP)
"PROXY_USER_OIDC_CLAIM": "ocis.user.uuid", # claim was added in Keycloak
"PROXY_USER_CS3_CLAIM": "userid", # equals STORAGE_LDAP_USER_SCHEMA_UID
"STORAGE_LDAP_GROUP_BASE_DN": "ou=testgroups,dc=owncloud,dc=com",
"STORAGE_LDAP_GROUP_OBJECTCLASS": "groupOfUniqueNames",
"STORAGE_LDAP_GROUPFILTER": "(objectclass=owncloud)",
"STORAGE_LDAP_GROUP_SCHEMA_DISPLAYNAME": "cn",
"STORAGE_LDAP_GROUP_SCHEMA_GID_NUMBER": "gidnumber",
"STORAGE_LDAP_GROUP_SCHEMA_ID": "cn",
"STORAGE_LDAP_GROUP_SCHEMA_MAIL": "mail",
"STORAGE_LDAP_GROUP_SCHEMA_MEMBER": "cn",
"STORAGE_LDAP_USER_BASE_DN": "ou=testusers,dc=owncloud,dc=com",
"STORAGE_LDAP_USER_OBJECTCLASS": "posixAccount",
"STORAGE_LDAP_USERFILTER": "(objectclass=owncloud)",
"STORAGE_LDAP_USER_SCHEMA_USERNAME": "cn",
"STORAGE_LDAP_USER_SCHEMA_DISPLAYNAME": "displayname",
"STORAGE_LDAP_USER_SCHEMA_GID_NUMBER": "gidnumber",
"STORAGE_LDAP_USER_SCHEMA_MAIL": "mail",
"STORAGE_LDAP_USER_SCHEMA_UID_NUMBER": "uidnumber",
"STORAGE_LDAP_USER_SCHEMA_ID": "ownclouduuid",
"STORAGE_LDAP_LOGIN_ATTRIBUTES": "uid,mail",
"LDAP_GROUP_BASE_DN": "ou=TestGroups,dc=owncloud,dc=com",
"LDAP_GROUP_OBJECTCLASS": "groupOfUniqueNames",
"LDAP_GROUP_SCHEMA_DISPLAYNAME": "cn",
"LDAP_GROUP_SCHEMA_ID": "cn",
"LDAP_GROUP_SCHEMA_MAIL": "mail",
"LDAP_GROUP_SCHEMA_MEMBER": "cn",
"LDAP_GROUPFILTER": "(objectclass=owncloud)",
"LDAP_LOGIN_ATTRIBUTES": "uid",
"LDAP_USER_BASE_DN": "ou=TestUsers,dc=owncloud,dc=com",
"LDAP_USER_OBJECTCLASS": "posixAccount",
"LDAP_USER_SCHEMA_DISPLAYNAME": "displayname",
"LDAP_USER_SCHEMA_ID": "ownclouduuid",
"LDAP_USER_SCHEMA_MAIL": "mail",
"LDAP_USER_SCHEMA_USERNAME": "cn",
"LDAP_USERFILTER": "(objectclass=owncloud)",
# ownCloudSQL storage driver
"STORAGE_HOME_DRIVER": "owncloudsql",
"STORAGE_USERS_DRIVER": "owncloudsql",
"STORAGE_METADATA_DRIVER": "ocis",
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DATADIR": "/mnt/data/files",
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_UPLOADINFO_DIR": "/tmp",
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_SHARE_FOLDER": "/Shares",
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_LAYOUT": "{{.Username}}",
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBUSERNAME": "owncloud",
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBPASSWORD": "owncloud",
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBHOST": "oc10-db",
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBPORT": 3306,
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBNAME": "owncloud",
# TODO: redis is not yet supported
"STORAGE_USERS_DRIVER_OWNCLOUDSQL_REDIS_ADDR": "redis:6379",
"STORAGE_USERS_OWNCLOUDSQL_DATADIR": "/mnt/data/files",
"STORAGE_USERS_OWNCLOUDSQL_SHARE_FOLDER": "/Shares",
"STORAGE_USERS_OWNCLOUDSQL_LAYOUT": "{{.Username}}",
"STORAGE_USERS_OWNCLOUDSQL_DB_USERNAME": "owncloud",
"STORAGE_USERS_OWNCLOUDSQL_DB_PASSWORD": "owncloud",
"STORAGE_USERS_OWNCLOUDSQL_DB_HOST": "oc10-db",
"STORAGE_USERS_OWNCLOUDSQL_DB_PORT": 3306,
"STORAGE_USERS_OWNCLOUDSQL_DB_NAME": "owncloud",
# ownCloudSQL sharing driver
"STORAGE_SHARING_USER_DRIVER": "oc10-sql",
"STORAGE_SHARING_USER_SQL_USERNAME": "owncloud",
"STORAGE_SHARING_USER_SQL_PASSWORD": "owncloud",
"STORAGE_SHARING_USER_SQL_HOST": "oc10-db",
"STORAGE_SHARING_USER_SQL_PORT": 3306,
"STORAGE_SHARING_USER_SQL_NAME": "owncloud",
# ownCloud storage readonly
# TODO: conflict with OWNCLOUDSQL -> https://github.com/owncloud/ocis/issues/2303
"OCIS_STORAGE_READ_ONLY": "false",
"SHARING_USER_DRIVER": "owncloudsql",
"SHARING_USER_OWNCLOUDSQL_DB_USERNAME": "owncloud",
"SHARING_USER_OWNCLOUDSQL_DB_PASSWORD": "owncloud",
"SHARING_USER_OWNCLOUDSQL_DB_HOST": "oc10-db",
"SHARING_USER_OWNCLOUDSQL_DB_PORT": 3306,
"SHARING_USER_OWNCLOUDSQL_DB_NAME": "owncloud",
# General oCIS config
# OCIS_RUN_EXTENSIONS specifies to start all extensions except glauth, idp and accounts. These are replaced by external services
"OCIS_RUN_EXTENSIONS": "settings,storage-metadata,graph,graph-explorer,ocs,store,thumbnails,web,webdav,storage-frontend,storage-gateway,storage-userprovider,storage-groupprovider,storage-authbasic,storage-authbearer,storage-authmachine,storage-users,storage-shares,storage-public-link,storage-appprovider,storage-sharing,proxy,nats,ocdav",
"OCIS_LOG_LEVEL": "error",
"OCIS_RUN_EXTENSIONS": "app-registry,app-provider,audit,auth-basic,auth-bearer,auth-machine,frontend,gateway,graph,graph-explorer,groups,nats,notifications,ocdav,ocs,proxy,search,settings,sharing,storage-system,storage-publiclink,storage-shares,storage-users,store,thumbnails,users,web,webdav",
"OCIS_LOG_LEVEL": "info",
"OCIS_URL": OCIS_URL,
"PROXY_TLS": "true",
"OCIS_BASE_DATA_PATH": "/mnt/data/ocis",
# change default secrets
"OCIS_JWT_SECRET": "Pive-Fumkiu4",
"STORAGE_TRANSFER_SECRET": "replace-me-with-a-transfer-secret",
"OCIS_MACHINE_AUTH_API_KEY": "change-me-please",
"OCIS_INSECURE": "true",
"OCIS_CONFIG_DIR": "/etc/ocis",
"PROXY_ENABLE_BASIC_AUTH": "true",
"ACCOUNTS_DEMO_USERS_AND_GROUPS": True, # deprecated, remove after switching to LibreIDM
"IDM_CREATE_DEMO_USERS": True,
}
wait_for_ocis = {
"name": "wait-for-ocis-server",
"image": OC_CI_WAIT_FOR,
"commands": [
"wait-for -it ocis-server:9200 -t 300",
],
"depends_on": depends_on,
}
# Pass in "default" accounts_hash_difficulty to not set this environment variable.
@@ -1726,19 +1744,13 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
"environment": environment,
"user": user,
"commands": [
"ocis/bin/ocis init --insecure true",
"ocis/bin/ocis server",
],
"volumes": volumes,
"depends_on": depends_on,
},
{
"name": "wait-for-ocis-server",
"image": OC_CI_ALPINE,
"commands": [
"curl -k -u admin:admin --retry 10 --retry-all-errors 'https://ocis-server:9200/graph/v1.0/users/ddc2004c-0977-11eb-9d3f-a793888cd0f8'",
],
"depends_on": depends_on,
},
wait_for_ocis,
]
def middlewareService():
@@ -1753,6 +1765,7 @@ def middlewareService():
"REMOTE_UPLOAD_DIR": "/uploads",
"NODE_TLS_REJECT_UNAUTHORIZED": "0",
"MIDDLEWARE_HOST": "middleware",
"TEST_WITH_GRAPH_API": "true",
},
"volumes": [{
"name": "uploads",
@@ -2453,6 +2466,7 @@ def copyConfigs():
# ocis proxy config
"mkdir -p /etc/ocis",
"cp %s/ocis/proxy.yaml /etc/ocis/proxy.yaml" % (PARALLEL_DEPLOY_CONFIG_PATH),
"chown -R 33:33 /etc/ocis",
# oc10 configs
"mkdir -p /etc/templates",
"mkdir -p /etc/pre_server.d",
+20 -15
View File
@@ -1,27 +1,32 @@
# coverage reports
*/coverage.out
*/checkstyle.xml
*/package-lock.json
extensions/*/coverage.out
ocis/config/identifier-registration.yaml
*/bin
dist/
/hugo
*.key
*crt
# unit test reports
*/checkstyle.xml
extensions/*/checkstyle.xml
# nodejs / yarn
*/package-lock.json
node_modules/
*/assets
yarn-error.log
yarn.lock
# build artifacts
*/bin
extensions/*/bin
dist/
extensions/*/assets
ocis/ocis
ocis/cmd/ocis/__debug_bin
ocis/cmd/ocis/config/
# docs
/hugo
# IDEs
.idea
yarn-error.log
yarn.lock
# Konnectd
idp/assets/identifier
# Composer - used for API acceptance tests
composer.lock
vendor
+1 -1
View File
@@ -1,6 +1,6 @@
SKIP_CONFIG_DOCS_GENERATE ?= 0
CONFIG_DOCS_BASE_PATH ?= ../docs/extensions
CONFIG_DOCS_BASE_PATH ?= ../../docs/extensions
.PHONY: config-docs-generate
config-docs-generate: #$(FLAEX)
+1 -1
View File
@@ -1,4 +1,4 @@
OCIS_REPO := github.com/owncloud/ocis
OCIS_REPO := github.com/owncloud/ocis/v2
IMPORT := ($OCIS_REPO)/$(NAME)
BIN := bin
DIST := dist
+10 -10
View File
@@ -1,24 +1,24 @@
SHA1_LOCK_FILE := $(abspath $(CURDIR)/../protogen/buf.sha1.lock)
SHA1_LOCK_FILE := $(abspath $(CURDIR)/../../protogen/buf.sha1.lock)
# bingo creates symlinks from the -l option in GOBIN, from where
# we can easily use it with buf. To have the symlinks inside this
# repo and on a known location, we set GOBIN to .bingo in the root
# of the repository (therefore we need to cd ..)
# of the repository (therefore we need to cd ../..)
.PHONY: protoc-deps
protoc-deps: $(BINGO)
@cd .. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l google.golang.org/protobuf/cmd/protoc-gen-go
@cd .. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/asim/go-micro/cmd/protoc-gen-micro/v4
@cd .. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/owncloud/protoc-gen-microweb
@cd .. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
@cd .. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
@cd ../.. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l google.golang.org/protobuf/cmd/protoc-gen-go
@cd ../.. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/asim/go-micro/cmd/protoc-gen-micro/v4
@cd ../.. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/owncloud/protoc-gen-microweb
@cd ../.. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
@cd ../.. && GOPATH="" GOBIN=".bingo" $(BINGO) get -l github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc
.PHONY: buf-generate
buf-generate: $(BUF) protoc-deps $(SHA1_LOCK_FILE)
@find $(abspath $(CURDIR)/../protogen/proto/) -type f -print0 | sort -z | xargs -0 sha1sum > buf.sha1.lock.tmp
@find $(abspath $(CURDIR)/../../protogen/proto/) -type f -print0 | sort -z | xargs -0 sha1sum > buf.sha1.lock.tmp
@cmp $(SHA1_LOCK_FILE) buf.sha1.lock.tmp --quiet || $(MAKE) -B $(SHA1_LOCK_FILE)
@rm -f buf.sha1.lock.tmp
$(SHA1_LOCK_FILE):
@echo "generating protobuf content"
cd ../protogen/proto && $(BUF) generate
find $(abspath $(CURDIR)/../protogen/proto/) -type f -print0 | sort -z | xargs -0 sha1sum > $(SHA1_LOCK_FILE)
cd ../../protogen/proto && $(BUF) generate
find $(abspath $(CURDIR)/../../protogen/proto/) -type f -print0 | sort -z | xargs -0 sha1sum > $(SHA1_LOCK_FILE)
+1
View File
@@ -11,6 +11,7 @@ release-dirs:
# docker specific packaging flags
DOCKER_LDFLAGS += -X "$(OCIS_REPO)/ocis-pkg/config/defaults.BaseDataPathType=path" -X "$(OCIS_REPO)/ocis-pkg/config/defaults.BaseDataPathValue=/var/lib/ocis"
DOCKER_LDFLAGS += -X "$(OCIS_REPO)/ocis-pkg/config/defaults.BaseConfigPathType=path" -X "$(OCIS_REPO)/ocis-pkg/config/defaults.BaseConfigPathValue=/etc/ocis"
release-linux-docker-amd64: release-dirs
GOOS=linux \
+30 -5
View File
@@ -15,15 +15,40 @@
"OCIS_LOG_LEVEL": "debug",
"OCIS_LOG_PRETTY": "true",
"OCIS_LOG_COLOR": "true",
// enable basic auth for dev setup so that we can use curl for testing
"PROXY_ENABLE_BASIC_AUTH": "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
"ACCOUNTS_DEMO_USERS_AND_GROUPS": "true",
"IDM_CREATE_DEMO_USERS": "true"
"IDM_CREATE_DEMO_USERS": "true",
// OCIS_RUN_EXTENSIONS allows to start a subset of extensions even in the supervised mode
//"OCIS_RUN_EXTENSIONS": "settings,storage-metadata,glauth,graph,graph-explorer,idp,ocs,store,thumbnails,web,webdav,storage-frontend,storage-gateway,storage-userprovider,storage-groupprovider,storage-authbasic,storage-authbearer,storage-authmachine,storage-users,storage-shares,storage-public-link,storage-appprovider,storage-sharing,accounts,proxy,ocdav",
//"OCIS_RUN_EXTENSIONS": "settings,storage-system,glauth,graph,graph-explorer,idp,ocs,store,thumbnails,web,webdav,frontend,gateway,users,groups,auth-basic,auth-bearer,storage-authmachine,storage-users,storage-shares,storage-publiclink,app-provider,sharing,accounts,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",
"STORAGE_TRANSFER_SECRET": "some-ocis-transfer-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",
}
}
]
+339 -19
View File
@@ -1,8 +1,328 @@
# Changelog for [unreleased] (UNRELEASED)
The following sections list the changes for unreleased.
[unreleased]: https://github.com/owncloud/ocis/compare/v1.20.0...master
## Summary
* Bugfix - Remove runtime kill and run commands: [#3740](https://github.com/owncloud/ocis/pull/3740)
* Bugfix - Check permissions when deleting Space: [#3709](https://github.com/owncloud/ocis/pull/3709)
* Bugfix - Make IDP secrets configurable via environment variables: [#3744](https://github.com/owncloud/ocis/pull/3744)
* Bugfix - Thumbnails for `/dav/xxx?preview=1` requests: [#3567](https://github.com/owncloud/ocis/pull/3567)
* Bugfix - Idp: Check if CA certificate if present: [#3623](https://github.com/owncloud/ocis/issues/3623)
* Bugfix - Return proper errors when ocs/cloud/users is using the cs3 backend: [#3483](https://github.com/owncloud/ocis/issues/3483)
* Bugfix - URL encode the webdav url in the graph API: [#3597](https://github.com/owncloud/ocis/pull/3597)
* Change - Update ocis packages and imports to V2: [#3678](https://github.com/owncloud/ocis/pull/3678)
* Change - Load configuration files just from one directory: [#3587](https://github.com/owncloud/ocis/pull/3587)
* Change - Reduce permissions on docker image predeclared volumes: [#3641](https://github.com/owncloud/ocis/pull/3641)
* Change - Introduce `ocis init` and remove all default secrets: [#3551](https://github.com/owncloud/ocis/pull/3551)
* Change - Reduce drives in graph /me/drives API: [#3629](https://github.com/owncloud/ocis/pull/3629)
* Change - Switched default configuration to use libregraph/idm: [#3331](https://github.com/owncloud/ocis/pull/3331)
* Change - Rename MetadataUserID: [#3671](https://github.com/owncloud/ocis/pull/3671)
* Change - Use new space ID util functions: [#3648](https://github.com/owncloud/ocis/pull/3648)
* Change - Rename serviceUser to systemUser: [#3673](https://github.com/owncloud/ocis/pull/3673)
* Change - Split MachineAuth from SystemUser: [#3672](https://github.com/owncloud/ocis/pull/3672)
* Enhancement - Align service naming: [#3606](https://github.com/owncloud/ocis/pull/3606)
* Enhancement - Wrap metadata storage with dedicated reva gateway: [#3602](https://github.com/owncloud/ocis/pull/3602)
* Enhancement - Product field in OCS version: [#2918](https://github.com/owncloud/ocis/pull/2918)
* Enhancement - Add initial version of the search extensions: [#3635](https://github.com/owncloud/ocis/pull/3635)
* Enhancement - Add capability for public link single file edit: [#6787](https://github.com/owncloud/web/pull/6787)
* Enhancement - Added `share_jail` and `projects` feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
* Enhancement - Update linkshare capabilities: [#3579](https://github.com/owncloud/ocis/pull/3579)
* Enhancement - Update reva to v2.3.1: [#3552](https://github.com/owncloud/ocis/pull/3552)
* Enhancement - Update ownCloud Web to v5.5.0-rc.5: [#6854](https://github.com/owncloud/web/pull/6854)
## Details
* Bugfix - Remove runtime kill and run commands: [#3740](https://github.com/owncloud/ocis/pull/3740)
We've removed the kill and run commands from the oCIS runtime. If these dynamic capabilities
are needed, one should switch to a full fledged supervisor and start oCIS as individual
services.
If one wants to start a only a subset of services, this is still possible by setting
OCIS_RUN_EXTENSIONS.
https://github.com/owncloud/ocis/pull/3740
* Bugfix - Check permissions when deleting Space: [#3709](https://github.com/owncloud/ocis/pull/3709)
Check for manager permissions when deleting spaces. Do not allow deleting spaces via dav
service
https://github.com/owncloud/ocis/pull/3709
* Bugfix - Make IDP secrets configurable via environment variables: [#3744](https://github.com/owncloud/ocis/pull/3744)
We've fixed the configuration options of the IDP to make the IDP secrets again configurable via
environment variables.
https://github.com/owncloud/ocis/pull/3744
* Bugfix - Thumbnails for `/dav/xxx?preview=1` requests: [#3567](https://github.com/owncloud/ocis/pull/3567)
We've added the thumbnail rendering for `/dav/xxx?preview=1`,
`/remote.php/webdav/{relative path}?preview=1` and `/webdav/{relative
path}?preview=1` requests, which was previously not supported because of missing routes. It
now returns the same thumbnails as for `/remote.php/dav/xxx?preview=1`.
https://github.com/owncloud/ocis/pull/3567
* Bugfix - Idp: Check if CA certificate if present: [#3623](https://github.com/owncloud/ocis/issues/3623)
Upon first start with the default configurtation the idm service creates a server
certificate, that might not be finished before the idp service is starting. Add a check to idp
similar to what the user, group, and auth-providers implement.
https://github.com/owncloud/ocis/issues/3623
* Bugfix - Return proper errors when ocs/cloud/users is using the cs3 backend: [#3483](https://github.com/owncloud/ocis/issues/3483)
The ocs API was just exiting with a fatal error on any update request, when configured for the cs3
backend. Now it returns a proper error.
https://github.com/owncloud/ocis/issues/3483
* Bugfix - URL encode the webdav url in the graph API: [#3597](https://github.com/owncloud/ocis/pull/3597)
Fixed the webdav URL in the drives responses. Without encoding the URL could be broken by files
with spaces in the file name.
https://github.com/owncloud/ocis/issues/3538
https://github.com/owncloud/ocis/pull/3597
* Change - Update ocis packages and imports to V2: [#3678](https://github.com/owncloud/ocis/pull/3678)
This needs to be done in preparation for the major version bump in ocis.
https://github.com/owncloud/ocis/pull/3678
* Change - Load configuration files just from one directory: [#3587](https://github.com/owncloud/ocis/pull/3587)
We've changed the configuration file loading behavior and are now only loading configuration
files from ONE single directory. This directory can be set on compile time or via an environment
variable on startup (`OCIS_CONFIG_DIR`).
We are using following configuration default paths:
- Docker images: `/etc/ocis/` - Binary releases: `$HOME/.ocis/config/`
https://github.com/owncloud/ocis/pull/3587
* Change - Reduce permissions on docker image predeclared volumes: [#3641](https://github.com/owncloud/ocis/pull/3641)
We've lowered the permissions on the predeclared volumes of the oCIS docker image from 777 to
750.
This change doesn't affect you, unless you use the docker image with the non default uid/guid to
start oCIS (default is 1000:1000).
https://github.com/owncloud/ocis/pull/3641
* Change - Introduce `ocis init` and remove all default secrets: [#3551](https://github.com/owncloud/ocis/pull/3551)
We've removed all default secrets and the hardcoded UUID of the user `admin`. This means you
can't start oCIS any longer without setting these via environment variable or configuration
file.
In order to make this easy for you, we introduced a new command: `ocis init`. You can run this
command before starting oCIS with `ocis server` and it will bootstrap you a configuration file
for a secure oCIS instance.
https://github.com/owncloud/ocis/issues/3524
https://github.com/owncloud/ocis/pull/3551
https://github.com/owncloud/ocis/pull/3743
* Change - Reduce drives in graph /me/drives API: [#3629](https://github.com/owncloud/ocis/pull/3629)
Reduced the drives in the graph `/me/drives` API to only the drives the user has access to. The
endpoint `/drives` will list all drives when the user has the permission.
https://github.com/owncloud/ocis/pull/3629
* Change - Switched default configuration to use libregraph/idm: [#3331](https://github.com/owncloud/ocis/pull/3331)
We switched the default configuration of oCIS to use the "idm" service (based on
libregraph/idm) as the standard source for user and group information. The accounts and
glauth services are no longer enabled by default and will be removed with an upcoming release.
https://github.com/owncloud/ocis/pull/3331
https://github.com/owncloud/ocis/pull/3633
* Change - Rename MetadataUserID: [#3671](https://github.com/owncloud/ocis/pull/3671)
MetadataUserID is renamed to SystemUserID including yaml tags and env vars
https://github.com/owncloud/ocis/pull/3671
* Change - Use new space ID util functions: [#3648](https://github.com/owncloud/ocis/pull/3648)
Changed code to use the new space ID util functions so that everything works with the new spaces
ID format.
https://github.com/owncloud/ocis/pull/3648
https://github.com/owncloud/ocis/pull/3669
* Change - Rename serviceUser to systemUser: [#3673](https://github.com/owncloud/ocis/pull/3673)
We renamed serviceUser to systemUser in all configs and vars including yaml-tags and env vars
https://github.com/owncloud/ocis/pull/3673
* Change - Split MachineAuth from SystemUser: [#3672](https://github.com/owncloud/ocis/pull/3672)
We now have two different APIKeys: MachineAuth for the machine-auth service and SystemUser
for the system user used e.g. by settings service
https://github.com/owncloud/ocis/pull/3672
* Enhancement - Align service naming: [#3606](https://github.com/owncloud/ocis/pull/3606)
We now reflect the configured service names when listing them in the ocis runtime
https://github.com/owncloud/ocis/issues/3603
https://github.com/owncloud/ocis/pull/3606
* Enhancement - Wrap metadata storage with dedicated reva gateway: [#3602](https://github.com/owncloud/ocis/pull/3602)
We wrapped the metadata storage in a minimal reva instance with a dedicated gateway, including
static storage registry, static auth registry, in memory userprovider, machine
authprovider and demo permissions service. This allows us to preconfigure the service user
for the ocis settings service, share and public share providers.
https://github.com/owncloud/ocis/pull/3602
https://github.com/owncloud/ocis/pull/3647
* Enhancement - Product field in OCS version: [#2918](https://github.com/owncloud/ocis/pull/2918)
We've added a new field to the OCS Version, which is supposed to announce the product name. The
web ui as a client will make use of it to make the backend product and version available (e.g. for
easier bug reports).
https://github.com/owncloud/ocis/pull/2918
* Enhancement - Add initial version of the search extensions: [#3635](https://github.com/owncloud/ocis/pull/3635)
It is now possible to search for files and directories by their name using the web UI. Therefor
new search extension indexes files in a persistent local index.
https://github.com/owncloud/ocis/pull/3635
* Enhancement - Add capability for public link single file edit: [#6787](https://github.com/owncloud/web/pull/6787)
It is now possible to share a single file by link with edit permissions. Therefore we need a
public share capability to enable that feature in the clients. At the same time, we improved the
WebDAV permissions for public links.
https://github.com/owncloud/web/pull/6787
https://github.com/owncloud/ocis/pull/3538
* Enhancement - Added `share_jail` and `projects` feature flags in spaces capability: [#3626](https://github.com/owncloud/ocis/pull/3626)
We've added feature flags to the `spaces` capability to indicate to clients which features are
supposed to be shown to users.
https://github.com/owncloud/ocis/pull/3626
* Enhancement - Update linkshare capabilities: [#3579](https://github.com/owncloud/ocis/pull/3579)
We have updated the capabilities regarding password enforcement and expiration dates of
public links. They were previously hardcoded in a way that didn't reflect the actual backend
functionality anymore.
https://github.com/owncloud/ocis/pull/3579
* Enhancement - Update reva to v2.3.1: [#3552](https://github.com/owncloud/ocis/pull/3552)
Updated reva to version 2.3.1. This update includes
* Bugfix [cs3org/reva#2827](https://github.com/cs3org/reva/pull/2827): Check permissions when deleting spaces
* Bugfix [cs3org/reva#2830](https://github.com/cs3org/reva/pull/2830): Correctly render response when accepting merged shares
* Bugfix [cs3org/reva#2831](https://github.com/cs3org/reva/pull/2831): Fix uploads to owncloudsql storage when no mtime is provided
* Enhancement [cs3org/reva#2833](https://github.com/cs3org/reva/pull/2833): Make status.php values configurable
* Enhancement [cs3org/reva#2832](https://github.com/cs3org/reva/pull/2832): Add version option for ocdav go-micro service
Updated reva to version 2.3.0. This update includes:
* Bugfix [cs3org/reva#2693](https://github.com/cs3org/reva/pull/2693): Support editnew actions from MS Office
* Bugfix [cs3org/reva#2588](https://github.com/cs3org/reva/pull/2588): Dockerfile.revad-ceph to use the right base image
* Bugfix [cs3org/reva#2499](https://github.com/cs3org/reva/pull/2499): Removed check DenyGrant in resource permission
* Bugfix [cs3org/reva#2285](https://github.com/cs3org/reva/pull/2285): Accept new userid idp format
* Bugfix [cs3org/reva#2802](https://github.com/cs3org/reva/pull/2802): Bugfix the resource id handling for space shares
* Bugfix [cs3org/reva#2800](https://github.com/cs3org/reva/pull/2800): Bugfix spaceid parsing in spaces trashbin API
* Bugfix [cs3org/reva#2608](https://github.com/cs3org/reva/pull/2608): Respect the tracing_service_name config variable
* Bugfix [cs3org/reva#2742](https://github.com/cs3org/reva/pull/2742): Use exact match in login filter
* Bugfix [cs3org/reva#2759](https://github.com/cs3org/reva/pull/2759): Made uid, gid claims parsing more robust in OIDC auth provider
* Bugfix [cs3org/reva#2788](https://github.com/cs3org/reva/pull/2788): Return the correct file IDs on public link resources
* Bugfix [cs3org/reva#2322](https://github.com/cs3org/reva/pull/2322): Use RFC3339 for parsing dates
* Bugfix [cs3org/reva#2784](https://github.com/cs3org/reva/pull/2784): Disable storageprovider cache for the share jail
* Bugfix [cs3org/reva#2555](https://github.com/cs3org/reva/pull/2555): Bugfix site accounts endpoints
* Bugfix [cs3org/reva#2675](https://github.com/cs3org/reva/pull/2675): Updates Makefile according to latest go standards
* Bugfix [cs3org/reva#2572](https://github.com/cs3org/reva/pull/2572): Wait for nats server on middleware start
* Change [cs3org/reva#2735](https://github.com/cs3org/reva/pull/2735): Avoid user enumeration
* Change [cs3org/reva#2737](https://github.com/cs3org/reva/pull/2737): Bump go-cs3api
* Change [cs3org/reva#2763](https://github.com/cs3org/reva/pull/2763): Change the oCIS and S3NG storage driver blob store layout
* Change [cs3org/reva#2596](https://github.com/cs3org/reva/pull/2596): Remove hash from public link urls
* Change [cs3org/reva#2785](https://github.com/cs3org/reva/pull/2785): Implement workaround for chi.RegisterMethod
* Change [cs3org/reva#2559](https://github.com/cs3org/reva/pull/2559): Do not encode webDAV ids to base64
* Change [cs3org/reva#2740](https://github.com/cs3org/reva/pull/2740): Rename oc10 share manager driver
* Change [cs3org/reva#2561](https://github.com/cs3org/reva/pull/2561): Merge oidcmapping auth manager into oidc
* Enhancement [cs3org/reva#2698](https://github.com/cs3org/reva/pull/2698): Make capabilities endpoint public, authenticate users is present
* Enhancement [cs3org/reva#2515](https://github.com/cs3org/reva/pull/2515): Enabling tracing by default if not explicitly disabled
* Enhancement [cs3org/reva#2686](https://github.com/cs3org/reva/pull/2686): Features for favorites xattrs in EOS, cache for scope expansion
* Enhancement [cs3org/reva#2494](https://github.com/cs3org/reva/pull/2494): Use sys ACLs for file permissions
* Enhancement [cs3org/reva#2522](https://github.com/cs3org/reva/pull/2522): Introduce events
* Enhancement [cs3org/reva#2811](https://github.com/cs3org/reva/pull/2811): Add event for created directories
* Enhancement [cs3org/reva#2798](https://github.com/cs3org/reva/pull/2798): Add additional fields to events to enable search
* Enhancement [cs3org/reva#2790](https://github.com/cs3org/reva/pull/2790): Fake providerids so API stays stable after beta
* Enhancement [cs3org/reva#2685](https://github.com/cs3org/reva/pull/2685): Enable federated account access
* Enhancement [cs3org/reva#1787](https://github.com/cs3org/reva/pull/1787): Add support for HTTP TPC
* Enhancement [cs3org/reva#2799](https://github.com/cs3org/reva/pull/2799): Add flag to enable unrestriced listing of spaces
* Enhancement [cs3org/reva#2560](https://github.com/cs3org/reva/pull/2560): Mentix PromSD extensions
* Enhancement [cs3org/reva#2741](https://github.com/cs3org/reva/pull/2741): Meta path for user
* Enhancement [cs3org/reva#2613](https://github.com/cs3org/reva/pull/2613): Externalize custom mime types configuration for storage providers
* Enhancement [cs3org/reva#2163](https://github.com/cs3org/reva/pull/2163): Nextcloud-based share manager for pkg/ocm/share
* Enhancement [cs3org/reva#2696](https://github.com/cs3org/reva/pull/2696): Preferences driver refactor and cbox sql implementation
* Enhancement [cs3org/reva#2052](https://github.com/cs3org/reva/pull/2052): New CS3API datatx methods
* Enhancement [cs3org/reva#2743](https://github.com/cs3org/reva/pull/2743): Add capability for public link single file edit
* Enhancement [cs3org/reva#2738](https://github.com/cs3org/reva/pull/2738): Site accounts site-global settings
* Enhancement [cs3org/reva#2672](https://github.com/cs3org/reva/pull/2672): Further Site Accounts improvements
* Enhancement [cs3org/reva#2549](https://github.com/cs3org/reva/pull/2549): Site accounts improvements
* Enhancement [cs3org/reva#2795](https://github.com/cs3org/reva/pull/2795): Add feature flags "projects" and "share_jail" to spaces capability
* Enhancement [cs3org/reva#2514](https://github.com/cs3org/reva/pull/2514): Reuse ocs role objects in other drivers
* Enhancement [cs3org/reva#2781](https://github.com/cs3org/reva/pull/2781): In memory user provider
* Enhancement [cs3org/reva#2752](https://github.com/cs3org/reva/pull/2752): Refactor the rest user and group provider drivers
https://github.com/owncloud/ocis/issues/3621
https://github.com/owncloud/ocis/pull/3552
https://github.com/owncloud/ocis/pull/3570
https://github.com/owncloud/ocis/pull/3601
https://github.com/owncloud/ocis/pull/3602
https://github.com/owncloud/ocis/pull/3605
https://github.com/owncloud/ocis/pull/3611
https://github.com/owncloud/ocis/pull/3637
https://github.com/owncloud/ocis/pull/3652
https://github.com/owncloud/ocis/pull/3681
* Enhancement - Update ownCloud Web to v5.5.0-rc.5: [#6854](https://github.com/owncloud/web/pull/6854)
Tags: web
We updated ownCloud Web to v5.5.0-rc.5. Please refer to the changelog (linked) for details on
the web release.
https://github.com/owncloud/web/pull/6854
https://github.com/owncloud/ocis/pull/3664
https://github.com/owncloud/ocis/pull/3680
https://github.com/owncloud/ocis/pull/3727
https://github.com/owncloud/ocis/pull/3747
https://github.com/owncloud/web/releases/tag/v5.5.0-rc.5
# Changelog for [1.20.0] (2022-04-13)
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
@@ -170,28 +490,11 @@ The following sections list the changes for 1.20.0.
Group member remove
https://github.com/owncloud/ocis/pull/3467
# 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
@@ -360,6 +663,23 @@ The following sections list the changes for 1.19.0.
https://github.com/owncloud/ocis/pull/3291
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.
+14 -14
View File
@@ -9,7 +9,7 @@ For simplicity reasons, this document mostly refers to the ownCloud [Infinite Sc
[I don't want to read this whole thing, I just have a question](#i-dont-want-to-read-this-whole-thing-i-just-have-a-question)
[What should I know before I get started](#what-should-i-know-before-i-get-started)
* [ownCloud is hosted on Github](#owncloud-is-hosted-on-github)
* [ownCloud is hosted on GitHub](#owncloud-is-hosted-on-github)
* [ownCloud Company, Engineering Partners and Community](#owncloud-company,-engineering-partners-and-community)
* [Licensing and CLA](#licensing-and-cla)
@@ -42,17 +42,17 @@ We also have a [Rocket Chat Server](https://talk.owncloud.com/channel/ocis) to a
## What should I know before I get started
### ownCloud is hosted on Github
### ownCloud is hosted on GitHub
To effectively contribute to ownCloud Infinite Scale, you need a Github account. You can get that for free at [Github](https://github.com/join). You can find howtos on the internet, for example [here](https://www.wikihow.com/Create-an-Account-on-GitHub).
To effectively contribute to ownCloud Infinite Scale, you need a GitHub account. You can get that for free at [GitHub](https://github.com/join). You can find howtos on the internet, for example [here](https://www.wikihow.com/Create-an-Account-on-GitHub).
For other ways of contributing, for example with translations, other systems require you to have an account as well, for example [Transifex](https://www.transifex.com).
The ownCloud project follows the strict Github workflow of development as briefly [described here](https://guides.github.com/introduction/flow/).
The ownCloud project follows the strict GitHub workflow of development as briefly [described here](https://guides.github.com/introduction/flow/).
### ownCloud Company, Engineering Partners and Community
ownCloud Infinite Scale is largely created by developers who are employed by the [ownCloud company](https://www.owncloud.com), which is located in Germany. It is providing support for ownCloud for customers worldwide. In addition there are engineering partners who also work full time on ownCloud related code, for example in [CERN REVA](https://github.com/cs3org/reva/).
ownCloud Infinite Scale is largely created by developers who are employed by the [ownCloud company](https://www.owncloud.com), which is located in Germany. It is providing support for ownCloud for customers worldwide. In addition, there are engineering partners who also work full time on ownCloud related code, for example in [CERN REVA](https://github.com/cs3org/reva/).
Because of that fact, the pace that the development is moving forward is sometimes high for people who are not willing and/or able to spend a comparable amount of time to contribute. Even though this can be a challenge, it should not scare anybody away. Here is our clear commitment that we feel honored by everybody who is interested in our work and improves it, no matter how big the contribution might be.
@@ -76,7 +76,7 @@ There are many ways to contribute to open source projects, and all are equally v
This way to contribute to the project can not be overestimated: People who talk about their experience with ownCloud Infinite Scale and help others with that are the key to success of the project.
There are too many ways of doing that to line them up here, but examples are answering questions in [ownCloud Central](https://central.owncloud.org/) or on [ownCloud Talk](https://talk.owncloud.com/channel/ocis), writing blog posts etc pp.
There are too many ways of doing that to line them up here, but examples are answering questions in [ownCloud Central](https://central.owncloud.org/) or on [ownCloud Talk](https://talk.owncloud.com/channel/ocis), writing blog posts etc. pp.
There is no formal guideline to this, just do it :-)
@@ -92,7 +92,7 @@ Before creating bug reports, please check [this list](#before-submitting-a-bug-r
* **Make sure you are running a recent version** Usually, developers' interest in old versions of software drops very fast once a new shiny version has been released. So the general recommendation is: Use the latest released version or even the current master to reproduce problems that you might encounter. That helps a lot to attract developers attention.
* **Determine which [repository](https://github.com/owncloud) the problem should be reported in**.
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** with possibly a more granular filter on the repository, to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue instead of opening a new one **if you have new information**. Please abstain from adding "plus ones", except using the Github emojis. That might indicate how many users are affected.
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** with possibly a more granular filter on the repository, to see if the problem has already been reported. If it has **and the issue is still open**, add a comment to the existing issue instead of opening a new one **if you have new information**. Please abstain from adding "plus ones", except using the GitHub emojis. That might indicate how many users are affected.
#### How Do I Submit A (Good) Bug Report
@@ -126,7 +126,7 @@ Before creating enhancement suggestions, please check [this list](#before-submit
#### Before Submitting An Enhancement Suggestion
* **Check if there's already an extension or other component which provides that enhancement, even in a different way.**
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one. Feel free to use the Github emojis to indicate that you are in favour of an enhancement request.
* **Perform a [cursory search](https://github.com/search?q=+is%3Aissue+user%3Aowncloud)** to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one. Feel free to use the GitHub emojis to indicate that you are in favour of an enhancement request.
#### How Do I Submit A (Good) Enhancement Suggestion
@@ -152,7 +152,7 @@ To find out how to set up ownCloud Infinite Scale for local development please r
### Pull Requests
All contributions to ownClouds projects use so called pull requests following the [Github PR workflow](https://guides.github.com/introduction/flow/).
All contributions to ownClouds projects use so-called pull requests following the [GitHub PR workflow](https://guides.github.com/introduction/flow/).
Please follow these steps to have your contribution considered by the maintainers:
@@ -180,7 +180,7 @@ Depending on the ownCloud component, there is complex deployment tooling to inst
## Styleguides
To keep up with a consistent code and tooling landscape, some of the ownCloud modules maintain styleguides for contributions. It is mandatory to follow them in contributions.
To keep up with a consistent code and tooling landscape, some ownCloud modules maintain styleguides for contributions. It is mandatory to follow them in contributions.
### Git Commit Messages
@@ -192,7 +192,7 @@ To keep up with a consistent code and tooling landscape, some of the ownCloud mo
### Golang Styleguide
Use the built in golang code formatter before submitting the patch. Also, consulting documentation like [Effective Go](https://golang.org/doc/effective_go) or [Practical Go](http://bit.ly/gcsg-2019) helps to improve the code quality.
Use the built-in golang code formatter before submitting the patch. Also, consulting documentation like [Effective Go](https://golang.org/doc/effective_go) or [Practical Go](http://bit.ly/gcsg-2019) helps to improve the code quality.
### Web Styleguide
@@ -216,7 +216,7 @@ The list here contains all the more general categories of issues which are follo
#### Platform
Describes the platform the issue is happening on, ie. iOS or Windows.
Describes the platform the issue is happening on, i.e. iOS or Windows.
#### Estimation
@@ -224,7 +224,7 @@ T-Shirt sizes for effort estimation to fix that bug or implement an enhancement.
#### Priority
P1 to P4 (lowest) to indicate an priority. Mostly a tool for internal project management and support.
P1 to P4 (lowest) to indicate a priority. Mostly a tool for internal project management and support.
#### QA
@@ -260,4 +260,4 @@ Important for browser dependent web issues. It specifies the browser that shows
#### Early-Adopter
Tags issues that were reported by one of the oCIS early adopters, ie. customers and users who start using ownCloud Infinite Scale before it's general availability.
Tags issues that were reported by one of the oCIS early adopters, i.e. customers and users who start using ownCloud Infinite Scale before its general availability.
+33 -16
View File
@@ -16,22 +16,39 @@ L10N_MODULES := $(shell find . -path '*.tx*' -name 'config' | sed 's|/[^/]*$$||'
# if you add a module here please also add it to the .drone.star file
OCIS_MODULES = \
accounts \
audit \
glauth \
graph \
graph-explorer \
idp \
extensions/accounts \
extensions/app-provider \
extensions/app-registry \
extensions/audit \
extensions/auth-basic \
extensions/auth-bearer \
extensions/auth-machine \
extensions/frontend \
extensions/gateway \
extensions/glauth \
extensions/graph \
extensions/graph-explorer \
extensions/groups \
extensions/idm \
extensions/idp \
extensions/nats \
extensions/notifications \
extensions/ocdav \
extensions/ocs \
extensions/proxy \
extensions/settings \
extensions/sharing \
extensions/storage-system \
extensions/storage-publiclink \
extensions/storage-shares \
extensions/storage-users \
extensions/store \
extensions/thumbnails \
extensions/users \
extensions/web \
extensions/webdav\
ocis \
ocis-pkg \
ocs \
proxy \
settings \
storage \
store \
thumbnails \
web \
webdav
ocis-pkg
# bin file definitions
PHP_CS_FIXER=php -d zend.enable_gc=0 vendor-bin/owncloud-codestyle/vendor/bin/php-cs-fixer
@@ -111,7 +128,7 @@ composer.lock: composer.json
.PHONY: generate
generate:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod generate || exit 1; \
$(MAKE) -C $$mod generate || exit 1; \
done
.PHONY: vet
-27
View File
@@ -1,27 +0,0 @@
package main
import (
"fmt"
accountsdefaults "github.com/owncloud/ocis/accounts/pkg/config/defaults"
idpdefaults "github.com/owncloud/ocis/idp/pkg/config/defaults"
"gopkg.in/yaml.v2"
)
func main() {
fn1 := accountsdefaults.FullDefaultConfig
fn2 := idpdefaults.FullDefaultConfig
b, err := yaml.Marshal(fn1())
if err != nil {
return
}
fmt.Println(string(b))
b, err = yaml.Marshal(fn2())
if err != nil {
return
}
fmt.Println(string(b))
}
@@ -0,0 +1,6 @@
Enhancement: align service naming
We now reflect the configured service names when listing them in the ocis runtime
https://github.com/owncloud/ocis/pull/3606
https://github.com/owncloud/ocis/issues/3603
@@ -0,0 +1,5 @@
Change: Update ocis packages and imports to V2
This needs to be done in preparation for the major version bump in ocis.
https://github.com/owncloud/ocis/pull/3678
@@ -0,0 +1,12 @@
Change: Load configuration files just from one directory
We've changed the configuration file loading behavior and are now only loading
configuration files from ONE single directory. This directory can be set on
compile time or via an environment variable on startup (`OCIS_CONFIG_DIR`).
We are using following configuration default paths:
- Docker images: `/etc/ocis/`
- Binary releases: `$HOME/.ocis/config/`
https://github.com/owncloud/ocis/pull/3587
@@ -0,0 +1,9 @@
Change: Reduce permissions on docker image predeclared volumes
We've lowered the permissions on the predeclared volumes of the oCIS
docker image from 777 to 750.
This change doesn't affect you, unless you use the docker image with
the non default uid/guid to start oCIS (default is 1000:1000).
https://github.com/owncloud/ocis/pull/3641
@@ -0,0 +1,13 @@
Change: Introduce `ocis init` and remove all default secrets
We've removed all default secrets and the hardcoded UUID of the user `admin`.
This means you can't start oCIS any longer without setting these via
environment variable or configuration file.
In order to make this easy for you, we introduced a new command: `ocis init`.
You can run this command before starting oCIS with `ocis server` and it will
bootstrap you a configuration file for a secure oCIS instance.
https://github.com/owncloud/ocis/pull/3551
https://github.com/owncloud/ocis/issues/3524
https://github.com/owncloud/ocis/pull/3743
@@ -0,0 +1,10 @@
Bugfix: Remove runtime kill and run commands
We've removed the kill and run commands from the oCIS runtime.
If these dynamic capabilities are needed, one should switch to a full fledged
supervisor and start oCIS as individual services.
If one wants to start a only a subset of services, this is still possible
by setting OCIS_RUN_EXTENSIONS.
https://github.com/owncloud/ocis/pull/3740
@@ -0,0 +1,6 @@
Bugfix: Check permissions when deleting Space
Check for manager permissions when deleting spaces.
Do not allow deleting spaces via dav service
https://github.com/owncloud/ocis/pull/3709
@@ -0,0 +1,6 @@
Bugfix: Make IDP secrets configurable via environment variables
We've fixed the configuration options of the IDP to make the IDP secrets again
configurable via environment variables.
https://github.com/owncloud/ocis/pull/3744
@@ -0,0 +1,6 @@
Bugfix: Thumbnails for `/dav/xxx?preview=1` requests
We've added the thumbnail rendering for `/dav/xxx?preview=1`, `/remote.php/webdav/{relative path}?preview=1` and `/webdav/{relative path}?preview=1` requests, which was previously not supported because of missing routes. It now returns the same thumbnails as for
`/remote.php/dav/xxx?preview=1`.
https://github.com/owncloud/ocis/pull/3567
@@ -0,0 +1,6 @@
Change: Reduce drives in graph /me/drives API
Reduced the drives in the graph `/me/drives` API to only the drives the user has access to.
The endpoint `/drives` will list all drives when the user has the permission.
https://github.com/owncloud/ocis/pull/3629
@@ -0,0 +1,8 @@
Bugfix: idp: Check if CA certificate if present
Upon first start with the default configurtation the idm service creates
a server certificate, that might not be finished before the idp service
is starting. Add a check to idp similar to what the user, group, and
auth-providers implement.
https://github.com/owncloud/ocis/issues/3623
@@ -0,0 +1,9 @@
Change: Switched default configuration to use libregraph/idm
We switched the default configuration of oCIS to use the "idm" service (based
on libregraph/idm) as the standard source for user and group information. The
accounts and glauth services are no longer enabled by default and will be
removed with an upcoming release.
https://github.com/owncloud/ocis/pull/3331
https://github.com/owncloud/ocis/pull/3633
@@ -0,0 +1,6 @@
Enhancement: wrap metadata storage with dedicated reva gateway
We wrapped the metadata storage in a minimal reva instance with a dedicated gateway, including static storage registry, static auth registry, in memory userprovider, machine authprovider and demo permissions service. This allows us to preconfigure the service user for the ocis settings service, share and public share providers.
https://github.com/owncloud/ocis/pull/3602
https://github.com/owncloud/ocis/pull/3647
@@ -0,0 +1,5 @@
Change: rename MetadataUserID
MetadataUserID is renamed to SystemUserID including yaml tags and env vars
https://github.com/owncloud/ocis/pull/3671
@@ -0,0 +1,6 @@
Change: Use new space ID util functions
Changed code to use the new space ID util functions so that everything works with the new spaces ID format.
https://github.com/owncloud/ocis/pull/3648
https://github.com/owncloud/ocis/pull/3669
@@ -0,0 +1,6 @@
Bugfix: return proper errors when ocs/cloud/users is using the cs3 backend
The ocs API was just exiting with a fatal error on any update request,
when configured for the cs3 backend. Now it returns a proper error.
https://github.com/owncloud/ocis/issues/3483
@@ -0,0 +1,5 @@
Enhancement: Product field in OCS version
We've added a new field to the OCS Version, which is supposed to announce the product name. The web ui as a client will make use of it to make the backend product and version available (e.g. for easier bug reports).
https://github.com/owncloud/ocis/pull/2918
@@ -0,0 +1,5 @@
Enhancement: Add initial version of the search extensions
It is now possible to search for files and directories by their name using the web UI. Therefor new search extension indexes files in a persistent local index.
https://github.com/owncloud/ocis/pull/3635
@@ -0,0 +1,6 @@
Change: rename serviceUser to systemUser
We renamed serviceUser to systemUser in all configs and vars
including yaml-tags and env vars
https://github.com/owncloud/ocis/pull/3673
@@ -0,0 +1,6 @@
Enhancement: Add capability for public link single file edit
It is now possible to share a single file by link with edit permissions. Therefore we need a public share capability to enable that feature in the clients. At the same time, we improved the WebDAV permissions for public links.
https://github.com/owncloud/web/pull/6787
https://github.com/owncloud/ocis/pull/3538
@@ -0,0 +1,5 @@
Enhancement: Added `share_jail` and `projects` feature flags in spaces capability
We've added feature flags to the `spaces` capability to indicate to clients which features are supposed to be shown to users.
https://github.com/owncloud/ocis/pull/3626
@@ -0,0 +1,6 @@
Change: Split MachineAuth from SystemUser
We now have two different APIKeys: MachineAuth for the machine-auth service
and SystemUser for the system user used e.g. by settings service
https://github.com/owncloud/ocis/pull/3672
@@ -0,0 +1,5 @@
Enhancement: Update linkshare capabilities
We have updated the capabilities regarding password enforcement and expiration dates of public links. They were previously hardcoded in a way that didn't reflect the actual backend functionality anymore.
https://github.com/owncloud/ocis/pull/3579
+71
View File
@@ -0,0 +1,71 @@
Enhancement: update reva to v2.3.1
Updated reva to version 2.3.1. This update includes
* Bugfix [cs3org/reva#2827](https://github.com/cs3org/reva/pull/2827): Check permissions when deleting spaces
* Bugfix [cs3org/reva#2830](https://github.com/cs3org/reva/pull/2830): Correctly render response when accepting merged shares
* Bugfix [cs3org/reva#2831](https://github.com/cs3org/reva/pull/2831): Fix uploads to owncloudsql storage when no mtime is provided
* Enhancement [cs3org/reva#2833](https://github.com/cs3org/reva/pull/2833): Make status.php values configurable
* Enhancement [cs3org/reva#2832](https://github.com/cs3org/reva/pull/2832): Add version option for ocdav go-micro service
Updated reva to version 2.3.0. This update includes:
* Bugfix [cs3org/reva#2693](https://github.com/cs3org/reva/pull/2693): Support editnew actions from MS Office
* Bugfix [cs3org/reva#2588](https://github.com/cs3org/reva/pull/2588): Dockerfile.revad-ceph to use the right base image
* Bugfix [cs3org/reva#2499](https://github.com/cs3org/reva/pull/2499): Removed check DenyGrant in resource permission
* Bugfix [cs3org/reva#2285](https://github.com/cs3org/reva/pull/2285): Accept new userid idp format
* Bugfix [cs3org/reva#2802](https://github.com/cs3org/reva/pull/2802): Bugfix the resource id handling for space shares
* Bugfix [cs3org/reva#2800](https://github.com/cs3org/reva/pull/2800): Bugfix spaceid parsing in spaces trashbin API
* Bugfix [cs3org/reva#2608](https://github.com/cs3org/reva/pull/2608): Respect the tracing_service_name config variable
* Bugfix [cs3org/reva#2742](https://github.com/cs3org/reva/pull/2742): Use exact match in login filter
* Bugfix [cs3org/reva#2759](https://github.com/cs3org/reva/pull/2759): Made uid, gid claims parsing more robust in OIDC auth provider
* Bugfix [cs3org/reva#2788](https://github.com/cs3org/reva/pull/2788): Return the correct file IDs on public link resources
* Bugfix [cs3org/reva#2322](https://github.com/cs3org/reva/pull/2322): Use RFC3339 for parsing dates
* Bugfix [cs3org/reva#2784](https://github.com/cs3org/reva/pull/2784): Disable storageprovider cache for the share jail
* Bugfix [cs3org/reva#2555](https://github.com/cs3org/reva/pull/2555): Bugfix site accounts endpoints
* Bugfix [cs3org/reva#2675](https://github.com/cs3org/reva/pull/2675): Updates Makefile according to latest go standards
* Bugfix [cs3org/reva#2572](https://github.com/cs3org/reva/pull/2572): Wait for nats server on middleware start
* Change [cs3org/reva#2735](https://github.com/cs3org/reva/pull/2735): Avoid user enumeration
* Change [cs3org/reva#2737](https://github.com/cs3org/reva/pull/2737): Bump go-cs3api
* Change [cs3org/reva#2763](https://github.com/cs3org/reva/pull/2763): Change the oCIS and S3NG storage driver blob store layout
* Change [cs3org/reva#2596](https://github.com/cs3org/reva/pull/2596): Remove hash from public link urls
* Change [cs3org/reva#2785](https://github.com/cs3org/reva/pull/2785): Implement workaround for chi.RegisterMethod
* Change [cs3org/reva#2559](https://github.com/cs3org/reva/pull/2559): Do not encode webDAV ids to base64
* Change [cs3org/reva#2740](https://github.com/cs3org/reva/pull/2740): Rename oc10 share manager driver
* Change [cs3org/reva#2561](https://github.com/cs3org/reva/pull/2561): Merge oidcmapping auth manager into oidc
* Enhancement [cs3org/reva#2698](https://github.com/cs3org/reva/pull/2698): Make capabilities endpoint public, authenticate users is present
* Enhancement [cs3org/reva#2515](https://github.com/cs3org/reva/pull/2515): Enabling tracing by default if not explicitly disabled
* Enhancement [cs3org/reva#2686](https://github.com/cs3org/reva/pull/2686): Features for favorites xattrs in EOS, cache for scope expansion
* Enhancement [cs3org/reva#2494](https://github.com/cs3org/reva/pull/2494): Use sys ACLs for file permissions
* Enhancement [cs3org/reva#2522](https://github.com/cs3org/reva/pull/2522): Introduce events
* Enhancement [cs3org/reva#2811](https://github.com/cs3org/reva/pull/2811): Add event for created directories
* Enhancement [cs3org/reva#2798](https://github.com/cs3org/reva/pull/2798): Add additional fields to events to enable search
* Enhancement [cs3org/reva#2790](https://github.com/cs3org/reva/pull/2790): Fake providerids so API stays stable after beta
* Enhancement [cs3org/reva#2685](https://github.com/cs3org/reva/pull/2685): Enable federated account access
* Enhancement [cs3org/reva#1787](https://github.com/cs3org/reva/pull/1787): Add support for HTTP TPC
* Enhancement [cs3org/reva#2799](https://github.com/cs3org/reva/pull/2799): Add flag to enable unrestriced listing of spaces
* Enhancement [cs3org/reva#2560](https://github.com/cs3org/reva/pull/2560): Mentix PromSD extensions
* Enhancement [cs3org/reva#2741](https://github.com/cs3org/reva/pull/2741): Meta path for user
* Enhancement [cs3org/reva#2613](https://github.com/cs3org/reva/pull/2613): Externalize custom mime types configuration for storage providers
* Enhancement [cs3org/reva#2163](https://github.com/cs3org/reva/pull/2163): Nextcloud-based share manager for pkg/ocm/share
* Enhancement [cs3org/reva#2696](https://github.com/cs3org/reva/pull/2696): Preferences driver refactor and cbox sql implementation
* Enhancement [cs3org/reva#2052](https://github.com/cs3org/reva/pull/2052): New CS3API datatx methods
* Enhancement [cs3org/reva#2743](https://github.com/cs3org/reva/pull/2743): Add capability for public link single file edit
* Enhancement [cs3org/reva#2738](https://github.com/cs3org/reva/pull/2738): Site accounts site-global settings
* Enhancement [cs3org/reva#2672](https://github.com/cs3org/reva/pull/2672): Further Site Accounts improvements
* Enhancement [cs3org/reva#2549](https://github.com/cs3org/reva/pull/2549): Site accounts improvements
* Enhancement [cs3org/reva#2795](https://github.com/cs3org/reva/pull/2795): Add feature flags "projects" and "share_jail" to spaces capability
* Enhancement [cs3org/reva#2514](https://github.com/cs3org/reva/pull/2514): Reuse ocs role objects in other drivers
* Enhancement [cs3org/reva#2781](https://github.com/cs3org/reva/pull/2781): In memory user provider
* Enhancement [cs3org/reva#2752](https://github.com/cs3org/reva/pull/2752): Refactor the rest user and group provider drivers
https://github.com/owncloud/ocis/pull/3552
https://github.com/owncloud/ocis/pull/3570
https://github.com/owncloud/ocis/pull/3601
https://github.com/owncloud/ocis/pull/3602
https://github.com/owncloud/ocis/pull/3605
https://github.com/owncloud/ocis/pull/3611
https://github.com/owncloud/ocis/issues/3621
https://github.com/owncloud/ocis/pull/3637
https://github.com/owncloud/ocis/pull/3652
https://github.com/owncloud/ocis/pull/3681
@@ -0,0 +1,12 @@
Enhancement: Update ownCloud Web to v5.5.0-rc.5
Tags: web
We updated ownCloud Web to v5.5.0-rc.5. Please refer to the changelog (linked) for details on the web release.
https://github.com/owncloud/web/pull/6854
https://github.com/owncloud/ocis/pull/3664
https://github.com/owncloud/ocis/pull/3680
https://github.com/owncloud/ocis/pull/3727
https://github.com/owncloud/ocis/pull/3747
https://github.com/owncloud/web/releases/tag/v5.5.0-rc.5
@@ -0,0 +1,6 @@
Bugfix: URL encode the webdav url in the graph API
Fixed the webdav URL in the drives responses. Without encoding the URL could be broken by files with spaces in the file name.
https://github.com/owncloud/ocis/pull/3597
https://github.com/owncloud/ocis/issues/3538
+10 -5
View File
@@ -1,19 +1,24 @@
{{ $allVersions := . }}
{{- range $index, $changes := . }}{{ with $changes -}}
{{ $version := .Version -}}
{{/* ocis beta program */ -}}
{{ if eq .Version "2.0.0" -}}
{{ $version = (printf "%v-%v" $version "beta1") -}}
{{ end -}}
{{ if gt (len $allVersions) 1 -}}
# Changelog for [{{ .Version }}] ({{ .Date }})
# Changelog for [{{ $version }}] ({{ .Date }})
The following sections list the changes for {{ .Version }}.
The following sections list the changes for {{ $version }}.
{{/* creating version compare links */ -}}
{{ $next := add1 $index -}}
{{ if ne (len $allVersions) $next -}}
{{ $previousVersion := (index $allVersions $next).Version -}}
{{ if eq .Version "unreleased" -}}
[{{ .Version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...master
[{{ $version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...master
{{ else -}}
[{{ .Version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...v{{ .Version }}
[{{ $version }}]: https://github.com/owncloud/ocis/compare/v{{ $previousVersion }}...v{{ $version }}
{{ end -}}
{{ end -}}
@@ -24,7 +29,7 @@ The following sections list the changes for {{ .Version }}.
{{ end -}}
{{ else -}}
# Changes in {{ .Version }}
# Changes in {{ $version }}
{{ end -}}
+4 -1
View File
@@ -4,7 +4,10 @@
"platform": {
"php": "7.2"
},
"vendor-dir": "./vendor-php"
"vendor-dir": "./vendor-php",
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"require": {
},
@@ -1,5 +1,5 @@
---
- name: continuous-deployment-ocis-s3-latest
- name: continuous-deployment-ocis-hello-latest
server:
server_type: cx21
image: ubuntu-20.04
@@ -14,7 +14,7 @@
- /var/lib/docker/volumes/ocis_certs
domains:
- "*.ocis-s3.latest.owncloud.works"
- "*.ocis-hello.latest.owncloud.works"
vars:
ssh_authorized_keys:
@@ -29,21 +29,21 @@
- name: ocis
git_url: https://github.com/owncloud/ocis.git
ref: master
docker_compose_path: deployments/examples/ocis_s3
docker_compose_path: deployments/examples/ocis_hello
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: latest
OCIS_DOMAIN: ocis.ocis-s3.latest.owncloud.works
MINIO_DOMAIN: minio.ocis-s3.latest.owncloud.works
OCIS_DOMAIN: ocis.ocis-hello.latest.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.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-s3.latest.owncloud.works
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-hello.latest.owncloud.works
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
OCIS_URL: ocis.ocis-s3.latest.owncloud.works
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-s3-latest
OCIS_URL: ocis.ocis-hello.latest.owncloud.works
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-hello-latest
@@ -36,6 +36,7 @@
OCIS_DOCKER_TAG: latest
OCIS_SCALE: 6
OCIS_DOMAIN: ocis.ocis-individual-services.latest.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
@@ -1,5 +1,5 @@
---
- name: continuous-deployment-ocis-hello-latest
- name: continuous-deployment-ocis-s3-latest
server:
server_type: cx21
image: ubuntu-20.04
@@ -14,7 +14,7 @@
- /var/lib/docker/volumes/ocis_certs
domains:
- "*.ocis-hello.latest.owncloud.works"
- "*.ocis-s3.latest.owncloud.works"
vars:
ssh_authorized_keys:
@@ -29,20 +29,22 @@
- name: ocis
git_url: https://github.com/owncloud/ocis.git
ref: master
docker_compose_path: deployments/examples/ocis_hello
docker_compose_path: deployments/examples/ocis_s3
env:
INSECURE: "false"
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: latest
OCIS_DOMAIN: ocis.ocis-hello.latest.owncloud.works
OCIS_DOMAIN: ocis.ocis-s3.latest.owncloud.works
MINIO_DOMAIN: minio.ocis-s3.latest.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.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-hello.latest.owncloud.works
TELEMETRY_SERVE_DOMAIN: telemetry.ocis-s3.latest.owncloud.works
JAEGER_COLLECTOR: jaeger-collector.infra.owncloud.works:443
TELEGRAF_SPECIFIC_CONFIG: ocis_single_container
OCIS_URL: ocis.ocis-hello.latest.owncloud.works
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-hello-latest
OCIS_URL: ocis.ocis-s3.latest.owncloud.works
OCIS_DEPLOYMENT_ID: continuous-deployment-ocis-s3-latest
@@ -35,6 +35,7 @@
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: latest
OCIS_DOMAIN: ocis.ocis-traefik.latest.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
@@ -35,6 +35,7 @@
TRAEFIK_ACME_MAIL: wkloucek@owncloud.com
OCIS_DOCKER_TAG: 1
OCIS_DOMAIN: ocis.ocis-traefik.released.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
@@ -38,7 +38,7 @@
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.latest.owncloud.works
COLLABORA_DOMAIN: collabora.ocis-wopi.latest.owncloud.works
ONLYOFFICE_DOMAIN: onlyoffice.ocis-wopi.latest.owncloud.works
CODIMD_DOMAIN: codimd.ocis-wopi.latest.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
@@ -38,7 +38,7 @@
WOPISERVER_DOMAIN: wopiserver.ocis-wopi.released.owncloud.works
COLLABORA_DOMAIN: collabora.ocis-wopi.released.owncloud.works
ONLYOFFICE_DOMAIN: onlyoffice.ocis-wopi.released.owncloud.works
CODIMD_DOMAIN: codimd.ocis-wopi.released.owncloud.works
DEMO_USERS: "true"
COMPOSE_FILE: docker-compose.yml:monitoring_tracing/docker-compose-additions.yml
- name: monitoring
git_url: https://github.com/owncloud-devops/monitoring-tracing-client.git
+2 -2
View File
@@ -8,7 +8,7 @@ DEMO_USERS=false
### Traefik settings ###
TRAEFIK_LOG_LEVEL=
# Serve Treafik dashboard. Defaults to "false".
# Serve Traefik dashboard. Defaults to "false".
TRAEFIK_DASHBOARD=
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
TRAEFIK_DOMAIN=
@@ -48,7 +48,7 @@ LDAP_ADMIN_PASSWORD=
LDAP_MANAGER_DOMAIN=
### Keycloak ###
# Domain of Keycloak, where you can find the managment and authentication frontend. Defaults to "keycloak.owncloud.test"
# Domain of Keycloak, where you can find the management and authentication frontend. Defaults to "keycloak.owncloud.test"
KEYCLOAK_DOMAIN=
# Realm which to be used with oCIS. Defaults to "oCIS"
KEYCLOAK_REALM=
@@ -6,5 +6,5 @@ objectClass: olcSchemaConfig
cn: owncloud
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.1 NAME 'ownCloudQuota' DESC 'User Quota (e.g. 2 GB)' EQUALITY caseExactMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.2 NAME 'ownCloudUUID' DESC 'A non-reassignable and persistent account ID)' EQUALITY uuidMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.1.16.1 SINGLE-VALUE )
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.3 NAME 'ownCloudSelector' DESC 'A selector attribute for a route in the ownCloud Infinte Scale proxy)' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcAttributeTypes: ( 1.3.6.1.4.1.39430.1.1.3 NAME 'ownCloudSelector' DESC 'A selector attribute for a route in the ownCloud Infinite Scale proxy)' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
olcObjectClasses: ( 1.3.6.1.4.1.39430.1.2.1 NAME 'ownCloud' DESC 'ownCloud LDAP Schema' AUXILIARY MAY ( ownCloudQuota $ ownCloudUUID $ ownCloudSelector ) )
@@ -6,7 +6,7 @@ gomplate \
-f /etc/templates/oidc.config.php \
-o ${OWNCLOUD_VOLUME_CONFIG}/oidc.config.php
# we need at least version 2.1.0 of the oenidconnect app
# we need at least version 2.1.0 of the openidconnect app
occ market:upgrade --major openidconnect
occ app:enable openidconnect
+42 -27
View File
@@ -6,45 +6,60 @@ policy_selector:
policies:
- name: ocis
routes:
- endpoint: "/"
- endpoint: /
backend: http://localhost:9100
- endpoint: "/.well-known/"
- endpoint: /.well-known/
backend: http://localhost:9130
- endpoint: /konnect/
backend: http://localhost:9130
- endpoint: /signin/
backend: http://localhost:9130
- endpoint: /archiver
backend: http://localhost:9140
- type: regex
endpoint: "/ocs/v[12].php/cloud/user/signing-key"
endpoint: /ocs/v[12].php/cloud/(users?|groups)
backend: http://localhost:9110
- endpoint: "/ocs/"
- endpoint: /ocs/
backend: http://localhost:9140
- type: query
endpoint: "/remote.php/?preview=1"
endpoint: /remote.php/?preview=1
backend: http://localhost:9115
- endpoint: "/remote.php/"
- method: REPORT
endpoint: /remote.php/dav/
backend: http://localhost:9115
- type: query
endpoint: /dav/?preview=1
backend: http://localhost:9115
- type: query
endpoint: /webdav/?preview=1
backend: http://localhost:9115
- endpoint: /remote.php/
service: com.owncloud.web.ocdav
- endpoint: /dav/
service: com.owncloud.web.ocdav
- endpoint: /webdav/
service: com.owncloud.web.ocdav
- endpoint: /status.php
service: com.owncloud.web.ocdav
- endpoint: /index.php/
service: com.owncloud.web.ocdav
- endpoint: /apps/
service: com.owncloud.web.ocdav
- endpoint: /data
backend: http://localhost:9140
- endpoint: "/dav/"
- endpoint: /app/
backend: http://localhost:9140
- endpoint: "/webdav/"
backend: http://localhost:9140
- endpoint: "/status.php"
backend: http://localhost:9140
- endpoint: "/index.php/"
backend: http://localhost:9140
- endpoint: "/index.php/login"
backend: http://localhost:9100
- endpoint: "/login"
backend: http://localhost:9100
- endpoint: "/data"
backend: http://localhost:9140
- endpoint: "/graph/"
- endpoint: /graph/
backend: http://localhost:9120
- endpoint: "/app/"
backend: http://localhost:9140
- endpoint: "/archiver"
backend: http://localhost:9140
- endpoint: "/graph-explorer/"
- endpoint: /graph-explorer
backend: http://localhost:9135
- endpoint: "/api/v0/settings"
- endpoint: /api/v0/accounts
backend: http://localhost:9181
- endpoint: /accounts.js
backend: http://localhost:9181
- endpoint: /api/v0/settings
backend: http://localhost:9190
- endpoint: "/settings.js"
- endpoint: /settings.js
backend: http://localhost:9190
- name: oc10
routes:
@@ -43,88 +43,94 @@ services:
driver: "local"
restart: always
ocis-init-volumes:
image: busybox
entrypoint:
- /bin/sh
# prepare the oCIS config volume for oCIS
command: ["-c", "chown -R 33:33 /etc/ocis /var/lib/ocis"]
volumes:
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
ocis:
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
networks:
ocis-net:
user: "33:33" # equals the user "www-data" for oC10
entrypoint:
- /bin/sh
# run ocis init to initialize a configuration file with random secrets
# it will fail on subsequent runs, because the config file already exists
# therefore we ignore the error and then start the ocis server
command: ["-c", "ocis init || true; ocis server"]
#entrypoint:
# - /bin/sh
# - /entrypoint-override.sh
environment:
# Keycloak IDP specific configuration
PROXY_OIDC_ISSUER: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}
WEB_OIDC_AUTHORITY: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}
WEB_OIDC_CLIENT_ID: ocis-web
OCIS_OIDC_ISSUER: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}
WEB_OIDC_METADATA_URL: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}/.well-known/openid-configuration
STORAGE_OIDC_ISSUER: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}
STORAGE_LDAP_IDP: https://${KEYCLOAK_DOMAIN:-keycloak.owncloud.test}/auth/realms/${KEYCLOAK_REALM:-owncloud}
WEB_OIDC_CLIENT_ID: ocis-web
WEB_OIDC_SCOPE: openid profile email owncloud
# external ldap is supposed to be read only
GRAPH_IDENTITY_BACKEND: ldap
GRAPH_LDAP_SERVER_WRITE_ENABLED: "false"
# LDAP bind
STORAGE_LDAP_URI: "ldaps://openldap"
STORAGE_LDAP_INSECURE: "true"
STORAGE_LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
STORAGE_LDAP_BIND_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
LDAP_URI: "ldaps://openldap"
LDAP_INSECURE: "true"
LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
LDAP_BIND_PASSWORD: ${LDAP_ADMIN_PASSWORD:-admin}
# LDAP user settings
PROXY_AUTOPROVISION_ACCOUNTS: "true" # automatically create users when they login
PROXY_ACCOUNT_BACKEND_TYPE: cs3 # proxy should get users from CS3APIS (which gets it from LDAP)
PROXY_USER_OIDC_CLAIM: ocis.user.uuid # claim was added in Keycloak
PROXY_USER_CS3_CLAIM: userid # equals STORAGE_LDAP_USER_SCHEMA_UID
STORAGE_LDAP_GROUP_BASE_DN: "dc=owncloud,dc=com"
STORAGE_LDAP_GROUP_SCHEMA_DISPLAYNAME: "cn"
STORAGE_LDAP_GROUP_SCHEMA_GID_NUMBER: "gidnumber"
STORAGE_LDAP_GROUP_SCHEMA_ID: "cn"
STORAGE_LDAP_GROUP_SCHEMA_MAIL: "mail"
STORAGE_LDAP_GROUP_SCHEMA_MEMBER: "cn"
STORAGE_LDAP_GROUP_OBJECTCLASS: "groupOfUniqueNames"
STORAGE_LDAP_GROUPFILTER: "(objectclass=owncloud)"
STORAGE_LDAP_USER_BASE_DN: "dc=owncloud,dc=com"
STORAGE_LDAP_USER_SCHEMA_USERNAME: "cn"
STORAGE_LDAP_USER_SCHEMA_DISPLAYNAME: "displayname"
STORAGE_LDAP_USER_SCHEMA_GID_NUMBER: "gidnumber"
STORAGE_LDAP_USER_SCHEMA_MAIL: "mail"
STORAGE_LDAP_USER_SCHEMA_UID_NUMBER: "uidnumber"
STORAGE_LDAP_USER_SCHEMA_ID: "ownclouduuid"
STORAGE_LDAP_LOGIN_ATTRIBUTES: "uid,mail"
LDAP_GROUP_BASE_DN: "ou=groups,dc=owncloud,dc=com"
LDAP_GROUP_OBJECTCLASS: "groupOfUniqueNames"
LDAP_GROUP_SCHEMA_DISPLAYNAME: "cn"
LDAP_GROUP_SCHEMA_ID: "cn"
LDAP_GROUP_SCHEMA_MAIL: "mail"
LDAP_GROUP_SCHEMA_MEMBER: "cn"
LDAP_GROUPFILTER: "(objectclass=owncloud)"
LDAP_LOGIN_ATTRIBUTES: "uid"
LDAP_USER_BASE_DN: "ou=users,dc=owncloud,dc=com"
LDAP_USER_OBJECTCLASS: "posixAccount"
LDAP_USER_SCHEMA_DISPLAYNAME: "displayname"
LDAP_USER_SCHEMA_ID: "ownclouduuid"
LDAP_USER_SCHEMA_MAIL: "mail"
LDAP_USER_SCHEMA_USERNAME: "cn"
LDAP_USERFILTER: "(objectclass=owncloud)"
# ownCloudSQL storage driver
STORAGE_USERS_DRIVER: owncloudsql
STORAGE_METADATA_DRIVER: ocis # keep metadata on ocis storage since this are only small files atm
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DATADIR: /mnt/data/files
STORAGE_USERS_DRIVER_OWNCLOUDSQL_UPLOADINFO_DIR: /tmp
STORAGE_USERS_DRIVER_OWNCLOUDSQL_SHARE_FOLDER: "/Shares"
STORAGE_USERS_DRIVER_OWNCLOUDSQL_LAYOUT: "{{.Username}}"
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBUSERNAME: owncloud
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBPASSWORD: owncloud
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBHOST: oc10-db
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBPORT: 3306
STORAGE_USERS_DRIVER_OWNCLOUDSQL_DBNAME: owncloud
STORAGE_USERS_DRIVER_OWNCLOUDSQL_REDIS_ADDR: redis:6379 # TODO: redis is not yet supported
STORAGE_USERS_DRIVER: "owncloudsql"
STORAGE_USERS_OWNCLOUDSQL_DATADIR: "/mnt/data/files"
STORAGE_USERS_OWNCLOUDSQL_SHARE_FOLDER: "/Shares"
STORAGE_USERS_OWNCLOUDSQL_LAYOUT: "{{.Username}}"
STORAGE_USERS_OWNCLOUDSQL_DB_USERNAME: "owncloud"
STORAGE_USERS_OWNCLOUDSQL_DB_PASSWORD: "owncloud"
STORAGE_USERS_OWNCLOUDSQL_DB_HOST: "oc10-db"
STORAGE_USERS_OWNCLOUDSQL_DB_PORT: 3306
STORAGE_USERS_OWNCLOUDSQL_DB_NAME: "owncloud"
# ownCloudSQL sharing driver
STORAGE_SHARING_USER_DRIVER: oc10-sql
STORAGE_SHARING_USER_SQL_USERNAME: owncloud
STORAGE_SHARING_USER_SQL_PASSWORD: owncloud
STORAGE_SHARING_USER_SQL_HOST: oc10-db
STORAGE_SHARING_USER_SQL_PORT: 3306
STORAGE_SHARING_USER_SQL_NAME: owncloud
SHARING_USER_DRIVER: "owncloudsql"
SHARING_USER_OWNCLOUDSQL_DB_USERNAME: "owncloud"
SHARING_USER_OWNCLOUDSQL_DB_PASSWORD: "owncloud"
SHARING_USER_OWNCLOUDSQL_DB_HOST: "oc10-db"
SHARING_USER_OWNCLOUDSQL_DB_PORT: 3306
SHARING_USER_OWNCLOUDSQL_DB_NAME: "owncloud"
# ownCloud storage readonly
OCIS_STORAGE_READ_ONLY: "false" # TODO: conflict with OWNCLOUDSQL -> https://github.com/owncloud/ocis/issues/2303
# General oCIS config
# OCIS_RUN_EXTENSIONS specifies to start all extensions except glauth, idp and accounts. These are replaced by external services
OCIS_RUN_EXTENSIONS: settings,storage-metadata,graph,graph-explorer,ocs,store,thumbnails,web,webdav,storage-frontend,storage-gateway,storage-userprovider,storage-groupprovider,storage-authbasic,storage-authbearer,storage-authmachine,storage-users,storage-shares,storage-public-link,storage-appprovider,storage-sharing,proxy,nats
OCIS_RUN_EXTENSIONS: app-registry,app-provider,audit,auth-basic,auth-bearer,auth-machine,frontend,gateway,graph,graph-explorer,groups,nats,notifications,ocdav,ocs,proxy,search,settings,sharing,storage-system,storage-publiclink,storage-shares,storage-users,store,thumbnails,users,web,webdav
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
OCIS_URL: https://${CLOUD_DOMAIN:-cloud.owncloud.test}
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
# change default secrets
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
# INSECURE: needed if oCIS / Traefik is using self generated certificates
OCIS_INSECURE: "${INSECURE:-false}"
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
# demo users
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
volumes:
- ./config/ocis/proxy.yaml:/etc/ocis/proxy.yaml
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
# shared volume with oC10
- oc10-data:/mnt/data
@@ -339,6 +345,7 @@ services:
volumes:
certs:
ocis-config:
ocis-data:
keycloak-postgres-data:
oc10-mysql-data:
@@ -23,7 +23,7 @@ services:
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
+6 -15
View File
@@ -2,12 +2,8 @@
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
INSECURE=true
# The demo users should not be created on a production instance
# because their passwords are public
DEMO_USERS=true
### Traefik settings ###
# Serve Treafik dashboard. Defaults to "false".
# Serve Traefik dashboard. Defaults to "false".
TRAEFIK_DASHBOARD=
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
TRAEFIK_DOMAIN=
@@ -21,16 +17,11 @@ TRAEFIK_ACME_MAIL=
OCIS_DOCKER_TAG=
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
OCIS_DOMAIN=
# IDP LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "idp".
IDP_LDAP_BIND_PASSWORD=
# Storage LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "reva".
STORAGE_LDAP_BIND_PASSWORD=
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
OCIS_JWT_SECRET=
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
STORAGE_TRANSFER_SECRET=
# Machine auth api key secret. Must be changed in order to have a secure oCIS. Defaults to "change-me-please"
OCIS_MACHINE_AUTH_API_KEY=
# oCIS admin user password. Defaults to "admin".
ADMIN_PASSWORD=
# The demo users should not be created on a production instance
# because their passwords are public. Defaults to "false".
DEMO_USERS=
### oCIS Hello settings ###
# oCIS Hello version. Defaults to "latest"
@@ -1,28 +0,0 @@
#!/bin/sh
set -e
mkdir -p /var/tmp/ocis/.config/
cp /config/web-config.dist.json /var/tmp/ocis/.config/web-config.json
sed -i 's/ocis.owncloud.test/'${OCIS_DOMAIN:-ocis.owncloud.test}'/g' /var/tmp/ocis/.config/web-config.json
ocis server&
sleep 10
echo "##################################################"
echo "change default secrets:"
# IDP
IDP_USER_UUID=$(ocis accounts list | grep "| Kopano IDP " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " IDP user UUID: $IDP_USER_UUID"
ocis accounts update --password $IDP_LDAP_BIND_PASSWORD $IDP_USER_UUID
# REVA
REVA_USER_UUID=$(ocis accounts list | grep " | Reva Inter " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " Reva user UUID: $REVA_USER_UUID"
ocis accounts update --password $STORAGE_LDAP_BIND_PASSWORD $REVA_USER_UUID
echo "default secrets changed"
echo "##################################################"
wait # wait for oCIS to exit
@@ -1,55 +1,151 @@
---
policy_selector:
static:
policy: ocis
policies:
- name: ocis
routes:
- endpoint: "/"
backend: http://localhost:9100
- endpoint: "/.well-known/"
backend: http://localhost:9130
- endpoint: "/konnect/"
backend: http://localhost:9130
- endpoint: "/signin/"
backend: http://localhost:9130
- type: regex
endpoint: "/ocs/v[12].php/cloud/(users?|groups)"
backend: http://localhost:9110
- endpoint: "/ocs/"
backend: http://localhost:9140
- type: query
endpoint: "/remote.php/?preview=1"
backend: http://localhost:9115
- endpoint: "/remote.php/"
backend: http://localhost:9140
- endpoint: "/dav/"
backend: http://localhost:9140
- endpoint: "/webdav/"
backend: http://localhost:9140
- endpoint: "/status.php"
backend: http://localhost:9140
- endpoint: "/index.php/"
backend: http://localhost:9140
- endpoint: "/data"
backend: http://localhost:9140
- endpoint: "/app/"
backend: http://localhost:9140
- endpoint: "/archiver"
backend: http://localhost:9140
- endpoint: "/graph/"
backend: http://localhost:9120
- endpoint: "/graph-explorer/"
backend: http://localhost:9135
- endpoint: "/api/v0/accounts"
backend: http://localhost:9181
- endpoint: "/accounts.js"
backend: http://localhost:9181
- endpoint: "/api/v0/settings"
backend: http://localhost:9190
- endpoint: "/settings.js"
backend: http://localhost:9190
- endpoint: "/api/v0/greet"
backend: http://ocis-hello:9105
- endpoint: "/hello.js"
backend: http://ocis-hello:9105
- name: ocis
routes:
# defaults, taken from https://owncloud.dev/extensions/proxy/configuration/
- type: ""
method: ""
endpoint: /
backend: http://localhost:9100
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /.well-known/
backend: http://localhost:9130
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /konnect/
backend: http://localhost:9130
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /signin/
backend: http://localhost:9130
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /archiver
backend: http://localhost:9140
service: ""
apache_vhost: false
- type: regex
method: ""
endpoint: /ocs/v[12].php/cloud/(users?|groups)
backend: http://localhost:9110
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /ocs/
backend: http://localhost:9140
service: ""
apache_vhost: false
- type: query
method: ""
endpoint: /remote.php/?preview=1
backend: http://localhost:9115
service: ""
apache_vhost: false
- type: ""
method: REPORT
endpoint: /remote.php/dav/
backend: http://localhost:9115
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /remote.php/
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /dav/
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /webdav/
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /status.php
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /index.php/
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /apps/
backend: ""
service: ocdav
apache_vhost: false
- type: ""
method: ""
endpoint: /data
backend: http://localhost:9140
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /app/
backend: http://localhost:9140
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /graph/
backend: http://localhost:9120
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /graph-explorer
backend: http://localhost:9135
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /api/v0/accounts
backend: http://localhost:9181
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /accounts.js
backend: http://localhost:9181
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /api/v0/settings
backend: http://localhost:9190
service: ""
apache_vhost: false
- type: ""
method: ""
endpoint: /settings.js
backend: http://localhost:9190
service: ""
apache_vhost: false
# oCIS Hello specific routes
- endpoint: "/api/v0/greet"
backend: http://ocis-hello:9105
- endpoint: "/hello.js"
backend: http://ocis-hello:9105
@@ -1,30 +0,0 @@
{
"server": "https://ocis.owncloud.test",
"theme": "https://ocis.owncloud.test/themes/owncloud/theme.json",
"version": "0.1.0",
"openIdConnect": {
"metadata_url": "https://ocis.owncloud.test/.well-known/openid-configuration",
"authority": "https://ocis.owncloud.test",
"client_id": "web",
"response_type": "code",
"scope": "openid profile email"
},
"apps": ["files"],
"external_apps": [
{
"id": "settings",
"path": "/settings.js"
},
{
"id": "accounts",
"path": "/accounts.js"
},
{
"id": "hello",
"path": "/hello.js"
}
],
"options": {
"hideSearchBar": true
}
}
@@ -0,0 +1,5 @@
web:
config:
external_apps:
- id: hello
path: /hello.js
@@ -48,33 +48,28 @@ services:
ocis-net:
entrypoint:
- /bin/sh
- /entrypoint-override.sh
# run ocis init to initialize a configuration file with random secrets
# it will fail on subsequent runs, because the config file already exists
# therefore we ignore the error and then start the ocis server
command: ["-c", "ocis init || true; ocis server"]
environment:
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_DOMAIN: ${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
# change default secrets
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
# web ui
WEB_UI_CONFIG: "/var/tmp/ocis/.config/web-config.json"
# make settings service available to oCIS Hello
SETTINGS_GRPC_ADDR: 0.0.0.0:9191
# INSECURE: needed if oCIS / Traefik is using self generated certificates
OCIS_INSECURE: "${INSECURE:-false}"
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
# admin user password
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
# demo users
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
volumes:
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
- ./config/ocis/web-config.dist.json:/config/web-config.dist.json
- ./config/ocis/proxy.yaml:/etc/ocis/proxy.yaml
- ./config/ocis/web.yaml:/etc/ocis/web.yaml
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
labels:
- "traefik.enable=true"
@@ -99,6 +94,7 @@ services:
volumes:
certs:
ocis-config:
ocis-data:
networks:
@@ -23,7 +23,7 @@ services:
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
@@ -7,7 +7,7 @@ INSECURE=true
DEMO_USERS=true
### Traefik settings ###
# Serve Treafik dashboard. Defaults to "false".
# Serve Traefik dashboard. Defaults to "false".
TRAEFIK_DASHBOARD=
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
TRAEFIK_DOMAIN=
@@ -128,7 +128,7 @@ services:
ACCOUNTS_GRPC_ADDR: 0.0.0.0:9180
ACCOUNTS_STORAGE_BACKEND: cs3
ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR: storage-metadata:9215
ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR: storage-system:9215
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
@@ -366,7 +366,7 @@ services:
driver: "local"
restart: always
storage-metadata:
storage-system:
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
deploy:
replicas: 1
@@ -374,7 +374,7 @@ services:
ocis-net:
entrypoint:
- ocis
- storage-metadata
- storage-system
- server
environment:
OCIS_LOG_LEVEL: "${OCIS_LOG_LEVEL:-error}"
@@ -383,18 +383,18 @@ services:
STORAGE_HOME_DATAPROVIDER_INSECURE: "${INSECURE:-false}"
STORAGE_METADATA_GRPC_ADDR: 0.0.0.0:9215
STORAGE_METADATA_HTTP_ADDR: 0.0.0.0:9216
STORAGE_METADATA_DATA_SERVER_URL: http://storage-metadata:9216/data
STORAGE_SYSTEM_GRPC_ADDR: 0.0.0.0:9215
STORAGE_SYSTEM_HTTP_ADDR: 0.0.0.0:9216
STORAGE_SYSTEM_DATA_SERVER_URL: http://storage-system:9216/data
STORAGE_JWT_SECRET: ${OCIS_METADATA_JWT_SECRET:-Pive-Fumkiu4}
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
STORAGE_METADATA_DRIVER: ocis
STORAGE_SYSTEM_DRIVER: ocis
REVA_GATEWAY: storage-gateway:9142
volumes:
- "ocis-storage-metadata:/var/lib/ocis"
- "ocis-storage-system:/var/lib/ocis"
logging:
driver: "local"
restart: always
@@ -589,7 +589,7 @@ services:
driver: "local"
restart: always
storage-userprovider:
users:
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
deploy:
replicas: ${OCIS_SCALE:-1}
@@ -597,14 +597,14 @@ services:
ocis-net:
entrypoint:
- ocis
- storage-userprovider
- users
- server
environment:
OCIS_LOG_LEVEL: "${OCIS_LOG_LEVEL:-error}"
OCIS_LOG_COLOR: "${OCIS_LOG_COLOR:-false}"
OCIS_LOG_PRETTY: "${OCIS_LOG_PRETTY:-false}"
STORAGE_USERPROVIDER_ENDPOINT: storage-userprovider:9144
STORAGE_USERPROVIDER_ENDPOINT: users:9144
STORAGE_USERPROVIDER_ADDR: 0.0.0.0:9144
STORAGE_USERPROVIDER_DRIVER: ldap
@@ -619,7 +619,7 @@ services:
driver: "local"
restart: always
storage-groupprovider:
groups:
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
deploy:
replicas: ${OCIS_SCALE:-1}
@@ -627,14 +627,14 @@ services:
ocis-net:
entrypoint:
- ocis
- storage-groupprovider
- groups
- server
environment:
OCIS_LOG_LEVEL: "${OCIS_LOG_LEVEL:-error}"
OCIS_LOG_COLOR: "${OCIS_LOG_COLOR:-false}"
OCIS_LOG_PRETTY: "${OCIS_LOG_PRETTY:-false}"
STORAGE_GROUPPROVIDER_ENDPOINT: storage-groupprovider:9160
STORAGE_GROUPPROVIDER_ENDPOINT: groups:9160
STORAGE_GROUPPROVIDER_ADDR: 0.0.0.0:9160
STORAGE_GROUPPROVIDER_DRIVER: ldap
@@ -664,7 +664,8 @@ services:
STORAGE_FRONTEND_LOG_COLOR: "${OCIS_LOG_COLOR:-false}"
STORAGE_FRONTEND_LOG_PRETTY: "${OCIS_LOG_PRETTY:-false}"
STORAGE_FRONTEND_APPPROVIDER_INSECURE: "true"
# FIXME this now lives in a dedicated service
APP_PROVIDER_WOPI_INSECURE: "true"
STORAGE_FRONTEND_ARCHIVER_INSECURE: "true"
STORAGE_FRONTEND_OCDAV_INSECURE: "true"
@@ -694,7 +695,7 @@ services:
OCIS_LOG_COLOR: "${OCIS_LOG_COLOR:-false}"
OCIS_LOG_PRETTY: "${OCIS_LOG_PRETTY:-false}"
STORAGE_GATEWAY_GRPC_ADDR: 0.0.0.0:9142
GATEWAY_GRPC_ADDR: 0.0.0.0:9142
REVA_GATEWAY: storage-gateway:9142
@@ -707,10 +708,10 @@ services:
STORAGE_AUTH_MACHINE_ENDPOINT: storage-authmachine:9148
STORAGE_SHARES_ENDPOINT: storage-shares:9154
STORAGE_SHARING_ENDPOINT: storage-sharing:9150
STORAGE_SHARING_ENDPOINT: sharing:9150
STORAGE_GROUPPROVIDER_ENDPOINT: storage-groupprovider:9160
STORAGE_USERPROVIDER_ENDPOINT: storage-userprovider:9144
STORAGE_GROUPPROVIDER_ENDPOINT: groups:9160
STORAGE_USERPROVIDER_ENDPOINT: users:9144
STORAGE_PERMISSIONS_ENDPOINT: settings:9191
STORAGE_FRONTEND_PUBLIC_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
@@ -725,7 +726,7 @@ volumes:
traefik-certs: null
ocis-settings: null
ocis-store: null
ocis-storage-metadata: null
ocis-storage-system: null
ocis-storage-users: null
ocis-storage-sharing: null
@@ -99,14 +99,14 @@ services:
# OCIS_TRACING_ENDPOINT: jaeger-agent:6831
# # metrics
# GRAPH_EXPLORER_DEBUG_ADDR: 0.0.0.0:9136
storage-metadata:
storage-system:
environment:
# tracing
OCIS_TRACING_ENABLED: "true"
OCIS_TRACING_TYPE: jaeger
OCIS_TRACING_ENDPOINT: jaeger-agent:6831
# metrics
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
storage-authbasic:
environment:
# tracing
@@ -163,7 +163,7 @@ services:
OCIS_TRACING_ENDPOINT: jaeger-agent:6831
# metrics
STORAGE_SHARING_DEBUG_ADDR: 0.0.0.0:9151
storage-userprovider:
users:
environment:
# tracing
OCIS_TRACING_ENABLED: "true"
@@ -171,7 +171,7 @@ services:
OCIS_TRACING_ENDPOINT: jaeger-agent:6831
# metrics
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
storage-groupprovider:
groups:
environment:
# tracing
OCIS_TRACING_ENABLED: "true"
+1 -1
View File
@@ -7,7 +7,7 @@ INSECURE=true
DEMO_USERS=false
### Traefik settings ###
# Serve Treafik dashboard. Defaults to "false".
# Serve Traefik dashboard. Defaults to "false".
TRAEFIK_DASHBOARD=
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
TRAEFIK_DOMAIN=
@@ -6,7 +6,7 @@ ocis server&
sleep 10
# stop builtin IDP since we use Keycloak as a replacement
ocis kill idp
#ocis kill idp
echo "##################################################"
echo "change default secrets:"
@@ -23,7 +23,7 @@ services:
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
+1 -1
View File
@@ -7,7 +7,7 @@ INSECURE=true
DEMO_USERS=true
### Traefik settings ###
# Serve Treafik dashboard. Defaults to "false".
# Serve Traefik dashboard. Defaults to "false".
TRAEFIK_DASHBOARD=
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
TRAEFIK_DOMAIN=
@@ -1,17 +0,0 @@
#!/bin/sh
set -e
mkdir -p /var/tmp/ocis/.config/
cp /config/web-config.dist.json /var/tmp/ocis/.config/web-config.json
sed -i 's/ocis.owncloud.test/'${OCIS_DOMAIN:-ocis.owncloud.test}'/g' /var/tmp/ocis/.config/web-config.json
ocis server&
sleep 10
# stop builtin accounts since we use LDAP only
ocis kill accounts
# stop builtin LDAP server since we use external LDAP only
ocis kill glauth
wait # wait for oCIS to exit
@@ -1,47 +0,0 @@
---
policy_selector:
static:
policy: ocis
policies:
- name: ocis
routes:
- endpoint: "/"
backend: http://localhost:9100
- endpoint: "/.well-known/"
backend: http://localhost:9130
- endpoint: "/konnect/"
backend: http://localhost:9130
- endpoint: "/signin/"
backend: http://localhost:9130
- type: regex
endpoint: "/ocs/v[12].php/cloud/user/signing-key"
backend: http://localhost:9110
- endpoint: "/ocs/"
backend: http://localhost:9140
- type: query
endpoint: "/remote.php/?preview=1"
backend: http://localhost:9115
- endpoint: "/remote.php/"
backend: http://localhost:9140
- endpoint: "/dav/"
backend: http://localhost:9140
- endpoint: "/webdav/"
backend: http://localhost:9140
- endpoint: "/status.php"
backend: http://localhost:9140
- endpoint: "/index.php/"
backend: http://localhost:9140
- endpoint: "/app/"
backend: http://localhost:9140
- endpoint: "/archiver"
backend: http://localhost:9140
- endpoint: "/data"
backend: http://localhost:9140
- endpoint: "/graph/"
backend: http://localhost:9120
- endpoint: "/graph-explorer/"
backend: http://localhost:9135
- endpoint: "/api/v0/settings"
backend: http://localhost:9190
- endpoint: "/settings.js"
backend: http://localhost:9190
@@ -1,22 +0,0 @@
{
"server": "https://ocis.owncloud.test",
"theme": "owncloud",
"version": "0.1.0",
"openIdConnect": {
"metadata_url": "https://ocis.owncloud.test/.well-known/openid-configuration",
"authority": "https://ocis.owncloud.test",
"client_id": "web",
"response_type": "code",
"scope": "openid profile email"
},
"apps": ["files"],
"external_apps": [
{
"id": "settings",
"path": "/settings.js"
}
],
"options": {
"hideSearchBar": true
}
}
@@ -50,9 +50,13 @@ services:
- ldap-server
entrypoint:
- /bin/sh
- /entrypoint-override.sh
# run ocis init to initialize a configuration file with random secrets
# it will fail on subsequent runs, because the config file already exists
# therefore we ignore the error and then start the ocis server
command: ["-c", "ocis init || true; ocis server"]
environment:
# CS3 users from ldap specific configuration
# users/gropups from ldap
LDAP_URI: ldaps://ldap-server
LDAP_INSECURE: "true"
LDAP_BIND_DN: "cn=admin,dc=owncloud,dc=com"
@@ -64,32 +68,24 @@ services:
LDAP_USERFILTER: "(objectclass=owncloud)"
LDAP_USER_OBEJECTCLASS: "inetOrgPerson"
LDAP_LOGIN_ATTRIBUTES: "uid,mail"
IDP_LDAP_URI: ldap://ldap-server
IDP_LDAP_LOGIN_ATTRIBUTE: "uid"
IDP_LDAP_UUID_ATTRIBUTE: "ownclouduuid"
IDP_LDAP_UUID_ATTRIBUTE_TYPE: binary
PROXY_ACCOUNT_BACKEND_TYPE: cs3
# web ui
WEB_UI_CONFIG: "/var/tmp/ocis/.config/web-config.json"
GRAPH_LDAP_SERVER_WRITE_ENABLED: "false" # assuming the external ldap is readonly
# OCIS_RUN_EXTENSIONS specifies to start all extensions except glauth, idm and accounts. These are replaced by external services
OCIS_RUN_EXTENSIONS: app-registry,app-provider,audit,auth-basic,auth-bearer,auth-machine,frontend,gateway,graph,graph-explorer,groups,idp,nats,notifications,ocdav,ocs,proxy,search,settings,sharing,storage-system,storage-publiclink,storage-shares,storage-users,store,thumbnails,users,web,webdav
# General oCIS config
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_DOMAIN: ${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
# change default secrets
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
# INSECURE: needed if oCIS / Traefik is using self generated certificates
OCIS_INSECURE: "${INSECURE:-false}"
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
# demo users
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
# admin user password
volumes:
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
- ./config/ocis/web-config.dist.json:/config/web-config.dist.json
- ./config/ocis/proxy.yaml:/etc/ocis/proxy.yaml
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
labels:
- "traefik.enable=true"
@@ -124,7 +120,7 @@ services:
restart: always
ldap-manager:
image: osixia/phpldapadmin:0.9.0
image: osixia/phpldapadmin:latest
networks:
ocis-net:
environment:
@@ -143,6 +139,7 @@ services:
volumes:
certs:
ocis-config:
ocis-data:
networks:
@@ -23,7 +23,7 @@ services:
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
+6 -15
View File
@@ -2,12 +2,8 @@
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
INSECURE=true
# The demo users should not be created on a production instance
# because their passwords are public
DEMO_USERS=true
### Traefik settings ###
# Serve Treafik dashboard. Defaults to "false".
# Serve Traefik dashboard. Defaults to "false".
TRAEFIK_DASHBOARD=
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
TRAEFIK_DOMAIN=
@@ -21,16 +17,11 @@ TRAEFIK_ACME_MAIL=
OCIS_DOCKER_TAG=
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
OCIS_DOMAIN=
# IDP LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "idp".
IDP_LDAP_BIND_PASSWORD=
# Storage LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "reva".
STORAGE_LDAP_BIND_PASSWORD=
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
OCIS_JWT_SECRET=
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
STORAGE_TRANSFER_SECRET=
# Machine auth api key secret. Must be changed in order to have a secure oCIS. Defaults to "change-me-please"
OCIS_MACHINE_AUTH_API_KEY=
# oCIS admin user password. Defaults to "admin".
ADMIN_PASSWORD=
# The demo users should not be created on a production instance
# because their passwords are public. Defaults to "false".
DEMO_USERS=
### MINIO / S3 settings ###
# Domain of MinIO where the Web UI is accessible. Defaults to "minio.owncloud.test".
@@ -1,24 +0,0 @@
#!/bin/sh
set -e
ocis server&
sleep 10
echo "##################################################"
echo "change default secrets:"
# IDP
IDP_USER_UUID=$(ocis accounts list | grep "| Kopano IDP " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " IDP user UUID: $IDP_USER_UUID"
ocis accounts update --password $IDP_LDAP_BIND_PASSWORD $IDP_USER_UUID
# REVA
REVA_USER_UUID=$(ocis accounts list | grep " | Reva Inter " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " Reva user UUID: $REVA_USER_UUID"
ocis accounts update --password $STORAGE_LDAP_BIND_PASSWORD $REVA_USER_UUID
echo "default secrets changed"
echo "##################################################"
wait # wait for oCIS to exit
+15 -17
View File
@@ -48,35 +48,33 @@ services:
ocis-net:
entrypoint:
- /bin/sh
- /entrypoint-override.sh
# run ocis init to initialize a configuration file with random secrets
# it will fail on subsequent runs, because the config file already exists
# therefore we ignore the error and then start the ocis server
command: ["-c", "ocis init || true; ocis server"]
environment:
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
# change default secrets
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
# activate s3ng storage driver
STORAGE_USERS_DRIVER: s3ng
STORAGE_METADATA_DRIVER: ocis # keep metadata on ocis storage since this are only small files atm
STORAGE_SYSTEM_DRIVER: ocis # keep system data on ocis storage since this are only small files atm
# s3ng specific settings
STORAGE_USERS_DRIVER_S3NG_ENDPOINT: http://minio:9000
STORAGE_USERS_DRIVER_S3NG_REGION: default
STORAGE_USERS_DRIVER_S3NG_ACCESS_KEY: ${MINIO_ACCESS_KEY:-ocis}
STORAGE_USERS_DRIVER_S3NG_SECRET_KEY: ${MINIO_SECRET_KEY:-ocis-secret-key}
STORAGE_USERS_DRIVER_S3NG_BUCKET: ${MINIO_BUCKET:-ocis-bucket}
STORAGE_USERS_S3NG_ENDPOINT: http://minio:9000
STORAGE_USERS_S3NG_REGION: default
STORAGE_USERS_S3NG_ACCESS_KEY: ${MINIO_ACCESS_KEY:-ocis}
STORAGE_USERS_S3NG_SECRET_KEY: ${MINIO_SECRET_KEY:-ocis-secret-key}
STORAGE_USERS_S3NG_BUCKET: ${MINIO_BUCKET:-ocis-bucket}
# INSECURE: needed if oCIS / Traefik is using self generated certificates
OCIS_INSECURE: "${INSECURE:-false}"
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
# admin user password
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
# demo users
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
volumes:
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
labels:
- "traefik.enable=true"
@@ -95,8 +93,7 @@ services:
ocis-net:
entrypoint:
- /bin/sh
- -c
- "mkdir -p /data/${MINIO_BUCKET:-ocis-bucket} && minio server --console-address ':9001' /data"
command: ["-c", "mkdir -p /data/${MINIO_BUCKET:-ocis-bucket} && minio server --console-address ':9001' /data"]
volumes:
- minio-data:/data
environment:
@@ -115,6 +112,7 @@ services:
volumes:
certs:
ocis-config:
ocis-data:
minio-data:
@@ -23,7 +23,7 @@ services:
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
+6 -15
View File
@@ -2,12 +2,8 @@
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
INSECURE=true
# The demo users should not be created on a production instance
# because their passwords are public
DEMO_USERS=true
### Traefik settings ###
# Serve Treafik dashboard. Defaults to "false".
# Serve Traefik dashboard. Defaults to "false".
TRAEFIK_DASHBOARD=
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
TRAEFIK_DOMAIN=
@@ -21,16 +17,11 @@ TRAEFIK_ACME_MAIL=
OCIS_DOCKER_TAG=
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
OCIS_DOMAIN=
# IDP LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "idp".
IDP_LDAP_BIND_PASSWORD=
# Storage LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "reva".
STORAGE_LDAP_BIND_PASSWORD=
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
OCIS_JWT_SECRET=
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
STORAGE_TRANSFER_SECRET=
# Machine auth api key secret. Must be changed in order to have a secure oCIS. Defaults to "change-me-please"
OCIS_MACHINE_AUTH_API_KEY=
# oCIS admin user password. Defaults to "admin".
ADMIN_PASSWORD=
# The demo users should not be created on a production instance
# because their passwords are public. Defaults to "false".
DEMO_USERS=
# If you want to use debugging and tracing with this stack,
# you need uncomment following line. Please see documentation at
@@ -1,24 +0,0 @@
#!/bin/sh
set -e
ocis server&
sleep 10
echo "##################################################"
echo "change default secrets:"
# IDP
IDP_USER_UUID=$(ocis accounts list | grep "| Kopano IDP " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " IDP user UUID: $IDP_USER_UUID"
ocis accounts update --password $IDP_LDAP_BIND_PASSWORD $IDP_USER_UUID
# REVA
REVA_USER_UUID=$(ocis accounts list | grep " | Reva Inter " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " Reva user UUID: $REVA_USER_UUID"
ocis accounts update --password $STORAGE_LDAP_BIND_PASSWORD $REVA_USER_UUID
echo "default secrets changed"
echo "##################################################"
wait # wait for oCIS to exit
@@ -48,26 +48,24 @@ services:
ocis-net:
entrypoint:
- /bin/sh
- /entrypoint-override.sh
# run ocis init to initialize a configuration file with random secrets
# it will fail on subsequent runs, because the config file already exists
# therefore we ignore the error and then start the ocis server
command: ["-c", "ocis init || true; ocis server"]
environment:
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
# change default secrets
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
STORAGE_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
# INSECURE: needed if oCIS / Traefik is using self generated certificates
OCIS_INSECURE: "${INSECURE:-false}"
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
# admin user password
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
# demo users
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
volumes:
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
labels:
- "traefik.enable=true"
@@ -82,7 +80,9 @@ services:
volumes:
certs:
ocis-config:
ocis-data:
networks:
ocis-net:
@@ -23,7 +23,7 @@ services:
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
+6 -22
View File
@@ -2,12 +2,8 @@
# It skips certificate validation for various parts of oCIS and is needed if you use self signed certificates.
INSECURE=true
# The demo users should not be created on a production instance
# because their passwords are public
DEMO_USERS=true
### Traefik settings ###
# Serve Treafik dashboard. Defaults to "false".
# Serve Traefik dashboard. Defaults to "false".
TRAEFIK_DASHBOARD=
# Domain of Traefik, where you can find the dashboard. Defaults to "traefik.owncloud.test"
TRAEFIK_DOMAIN=
@@ -21,16 +17,11 @@ TRAEFIK_ACME_MAIL=
OCIS_DOCKER_TAG=
# Domain of oCIS, where you can find the frontend. Defaults to "ocis.owncloud.test"
OCIS_DOMAIN=
# IDP LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "idp".
IDP_LDAP_BIND_PASSWORD=
# Storage LDAP bind password. Must be changed in order to have a secure oCIS. Defaults to "reva".
STORAGE_LDAP_BIND_PASSWORD=
# JWT secret which is used for the storage provider. Must be changed in order to have a secure oCIS. Defaults to "Pive-Fumkiu4"
OCIS_JWT_SECRET=
# JWT secret which is used for uploads to create transfer tokens. Must be changed in order to have a secure oCIS. Defaults to "replace-me-with-a-transfer-secret"
STORAGE_TRANSFER_SECRET=
# Machine auth api key secret. Must be changed in order to have a secure oCIS. Defaults to "change-me-please"
OCIS_MACHINE_AUTH_API_KEY=
# oCIS admin user password. Defaults to "admin".
ADMIN_PASSWORD=
# The demo users should not be created on a production instance
# because their passwords are public. Defaults to "false".
DEMO_USERS=
### Wopi server settings ###
# cs3org wopi server version. Defaults to "latest"
@@ -54,13 +45,6 @@ COLLABORA_ADMIN_PASSWORD=
# Domain of OnlyOffice, where you can find the frontend. Defaults to "onlyoffice.owncloud.test"
ONLYOFFICE_DOMAIN=
### CodiMD settings ###
# Domain of Collabora, where you can find the frontend. Defaults to "codimd.owncloud.test"
CODIMD_DOMAIN=
# Secret which is used for the communication with the WOPI server. Must be changed in order to have a secure CodiMD. Defaults to "LoremIpsum456"
CODIMD_SECRET=
# If you want to use debugging and tracing with this stack,
# you need uncomment following line. Please see documentation at
# https://owncloud.dev/ocis/deployment/monitoring-tracing/
@@ -1,19 +0,0 @@
#!/bin/sh
set -e
apk add curl
#TODO: app driver itself should try again until CodiMD is up...
retries=10
while [[ $retries -gt 0 ]]; do
if curl --silent --show-error --fail http://codimd:3000 > /dev/null; then
ocis storage-app-provider server
else
echo "CodiMD is not yet available, trying again in 10 seconds"
sleep 10
retries=$((retries - 1))
fi
done
echo 'CodiMD was not available after 100 seconds'
exit 1
@@ -8,7 +8,7 @@ apk add curl
retries=10
while [[ $retries -gt 0 ]]; do
if curl --silent --show-error --fail http://onlyoffice/hosting/discovery > /dev/null; then
ocis storage-app-provider server
ocis app-provider server
else
echo "OnlyOffice is not yet available, trying again in 10 seconds"
sleep 10
@@ -0,0 +1,58 @@
app_registry:
mimetypes:
- mime_type: application/pdf
extension: pdf
name: PDF
description: PDF document
icon: ''
default_app: ''
allow_creation: false
- mime_type: application/vnd.oasis.opendocument.text
extension: odt
name: OpenDocument
description: OpenDocument text document
icon: ''
default_app: Collabora
allow_creation: true
- mime_type: application/vnd.oasis.opendocument.spreadsheet
extension: ods
name: OpenSpreadsheet
description: OpenDocument spreadsheet document
icon: ''
default_app: Collabora
allow_creation: true
- mime_type: application/vnd.oasis.opendocument.presentation
extension: odp
name: OpenPresentation
description: OpenDocument presentation document
icon: ''
default_app: Collabora
allow_creation: true
- mime_type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
extension: docx
name: Microsoft Word
description: Microsoft Word document
icon: ''
default_app: OnlyOffice
allow_creation: true
- mime_type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
extension: xlsx
name: Microsoft Excel
description: Microsoft Excel document
icon: ''
default_app: OnlyOffice
allow_creation: true
- mime_type: application/vnd.openxmlformats-officedocument.presentationml.presentation
extension: pptx
name: Microsoft PowerPoint
description: Microsoft PowerPoint document
icon: ''
default_app: OnlyOffice
allow_creation: true
- mime_type: application/vnd.jupyter
extension: ipynb
name: Jupyter Notebook
description: Jupyter Notebook
icon: ''
default_app: ''
allow_creation: true
@@ -1,24 +0,0 @@
#!/bin/sh
set -e
ocis server&
sleep 10
echo "##################################################"
echo "change default secrets:"
# IDP
IDP_USER_UUID=$(ocis accounts list | grep "| Kopano IDP " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " IDP user UUID: $IDP_USER_UUID"
ocis accounts update --password $IDP_LDAP_BIND_PASSWORD $IDP_USER_UUID
# REVA
REVA_USER_UUID=$(ocis accounts list | grep " | Reva Inter " | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' -o)
echo " Reva user UUID: $REVA_USER_UUID"
ocis accounts update --password $STORAGE_LDAP_BIND_PASSWORD $REVA_USER_UUID
echo "default secrets changed"
echo "##################################################"
wait # wait for oCIS to exit
@@ -1,92 +0,0 @@
[
{
"mime_type": "application/pdf",
"extension": "pdf",
"name": "PDF",
"description": "PDF document",
"icon": "",
"default_app": "",
"allow_creation": false
},
{
"mime_type": "application/vnd.oasis.opendocument.text",
"extension": "odt",
"name": "OpenDocument",
"description": "OpenDocument text document",
"icon": "",
"default_app": "Collabora",
"allow_creation": true
},
{
"mime_type": "application/vnd.oasis.opendocument.spreadsheet",
"extension": "ods",
"name": "OpenSpreadsheet",
"description": "OpenDocument spreadsheet document",
"icon": "",
"default_app": "Collabora",
"allow_creation": true
},
{
"mime_type": "application/vnd.oasis.opendocument.presentation",
"extension": "odp",
"name": "OpenPresentation",
"description": "OpenDocument presentation document",
"icon": "",
"default_app": "Collabora",
"allow_creation": true
},
{
"mime_type": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
"extension": "docx",
"name": "Microsoft Word",
"description": "Microsoft Word document",
"icon": "",
"default_app": "OnlyOffice",
"allow_creation": true
},
{
"mime_type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
"extension": "xlsx",
"name": "Microsoft Excel",
"description": "Microsoft Excel document",
"icon": "",
"default_app": "OnlyOffice",
"allow_creation": true
},
{
"mime_type": "application/vnd.openxmlformats-officedocument.presentationml.presentation",
"extension": "pptx",
"name": "Microsoft PowerPoint",
"description": "Microsoft PowerPoint document",
"icon": "",
"default_app": "OnlyOffice",
"allow_creation": true
},
{
"mime_type": "application/vnd.jupyter",
"extension": "ipynb",
"name": "Jupyter Notebook",
"description": "Jupyter Notebook",
"icon": "",
"default_app": "",
"allow_creation": true
},
{
"mime_type": "text/markdown",
"extension": "md",
"name": "Markdown file",
"description": "Markdown file",
"icon": "",
"default_app": "CodiMD",
"allow_creation": true
},
{
"mime_type": "application/compressed-markdown",
"extension": "zmd",
"name": "Compressed markdown file",
"description": "Compressed markdown file",
"icon": "",
"default_app": "CodiMD",
"allow_creation": false
}
]
@@ -1,16 +1,19 @@
#/bin/sh!
#!/bin/bash
set -e
echo "${WOPISECRET}" > /etc/wopi/wopisecret
echo "${IOPSECRET}" > /etc/wopi/iopsecret
mkdir -p /var/run/secrets
echo "$CODIMDSECRET" > /var/run/secrets/codimd_apikey
cp /etc/wopi/wopiserver.conf.dist /etc/wopi/wopiserver.conf
sed -i 's/ocis.owncloud.test/'${OCIS_DOMAIN}'/g' /etc/wopi/wopiserver.conf
sed -i 's/collabora.owncloud.test/'${COLLABORA_DOMAIN}'/g' /etc/wopi/wopiserver.conf
sed -i 's/wopiserver.owncloud.test/'${WOPISERVER_DOMAIN}'/g' /etc/wopi/wopiserver.conf
if [ "$WOPISERVER_INSECURE" == "true" ]; then
sed -i 's/sslverify\s=\sTrue/sslverify = False/g' /etc/wopi/wopiserver.conf
fi
touch /var/log/wopi/wopiserver.log
/app/wopiserver.py &
@@ -1,27 +1,23 @@
#
# This config is based on https://github.com/cs3org/wopiserver/blob/master/wopiserver.conf
#
# wopiserver.conf
#
# Default configuration file for the WOPI server for CERNBox
# Default configuration file for the WOPI server for oCIS
#
##############################################################
[general]
# Storage access layer to be loaded in order to operate this WOPI server
# Supported values: local, xroot, cs3.
# only "cs3" is supported with oCIS
storagetype = cs3
# Port where to listen for WOPI requests
port = 8880
# URL of your Microsoft Office Online service
#oosurl = https://officeonline.owncloud.test
# URL of your Collabora Online service
#codeurl = https://collabora.owncloud.test
# URL of your CodiMD service
codimdurl = https://codimd.owncloud.test
codimdinturl = http://codimd:3000
# Logging level. Debug enables the Flask debug mode as well.
# Valid values are: Debug, Info, Warning, Error.
loglevel = Error
# URL of your WOPI server or your HA proxy in front of it
wopiurl = https://wopiserver.owncloud.test
@@ -30,40 +26,56 @@ wopiurl = https://wopiserver.owncloud.test
# to clients will include the access_token argument
downloadurl = https://wopiserver.owncloud.test/wopi/cbox/download
# Optional URL prefix for WebDAV access to the files. This enables the
# 'Edit in Desktop client' action on Windows-based clients
webdavurl = https://ocis.owncloud.test/webdav
# The internal server engine to use (defaults to flask).
# Set to waitress for production installations.
internalserver = waitress
# List of file extensions deemed incompatible with LibreOffice:
# interoperable locking will be disabled for such files
nonofficetypes = .md .zmd .txt .epd
# List of file extensions to be supported by Collabora
# List of file extensions to be supported by Collabora (deprecated)
codeofficetypes = .odt .ott .ods .ots .odp .otp .odg .otg .doc .dot .xls .xlt .xlm .ppt .pot .pps .vsd .dxf .wmf .cdr .pages .number .key
# WOPI access token expiration time [seconds]
tokenvalidity = 86400
# WOPI lock expiration time [seconds]
wopilockexpiration = 7200
wopilockexpiration = 3600
# WOPI lock strict check: if True, WOPI locks will be compared according to specs,
# that is their representation must match. False (default) allows for a more relaxed
# comparison, which compensates incorrect lock requests from Microsoft Office Online
# on-premise setups.
#wopilockstrictcheck = False
wopilockstrictcheck = False
# Logging level. Debug enables the Flask debug mode as well.
# Valid values are: Debug, Info, Warning, Error.
loglevel = Info
# Enable support of rename operations from WOPI apps. This is currently
# disabled by default as it has been observed that both MS Office and Collabora
# Online do not play well with this feature.
# Not supported with oCIS, must always be set to "False"
enablerename = False
# Location of the lock files. Currently, two modes are supported:
# if a path is provided, all locks will be stored there with a hashed name,
# otherwise the lock is stored on the same path as the original file.
# This latter mode will eventually be dropped once the system is deemed
# stable enough and lock files are hidden away.
#lockpath = /your_storage/wopilocks
# Detection of external Microsoft Office or LibreOffice locks. By default, lock files
# compatible with Office for Desktop applications are detected, assuming that the
# underlying storage can be mounted as a remote filesystem: in this case, WOPI GetLock
# and SetLock operations return such locks and prevent online apps from entering edit mode.
# This feature can be disabled in order to operate a pure WOPI server for online apps.
# Not supported with oCIS, must always be set to "False"
detectexternallocks = False
# Location of the webconflict files. By default, such files are stored in the same path
# as the original file. If that fails (e.g. because of missing permissions),
# an attempt is made to store such files in this path if specified, otherwise
# the system falls back to the recovery space (cf. io|recoverypath).
# The keywords <user_initial> and <username> are replaced with the actual username's
# initial letter and the actual username, respectively, so you can use e.g.
# /your_storage/home/user_initial/username
#conflictpath = /
# ownCloud's WOPI proxy configuration. Disabled by default.
#wopiproxy = https://external-wopi-proxy.com
#wopiproxysecretfile = /path/to/your/shared-key-file
#proxiedappname = Name of your proxied app
[security]
# Location of the secret files. Requires a restart of the
@@ -82,7 +94,7 @@ wopikey = /etc/grid-security/host.key
[bridge]
# SSL certificate check for the connected apps
sslverify = False
sslverify = True
# Minimal time interval between two consecutive save operations [seconds]
#saveinterval = 200
@@ -90,39 +102,25 @@ sslverify = False
# Minimal time interval before a closed file is WOPI-unlocked [seconds]
#unlockinterval = 90
# CodiMD: disable creating zipped bundles when files contain pictures
#disablezip = False
[io]
# Size used for buffered reads [bytes]
chunksize = 4194304
[xroot]
# URL of the default remote xroot storage server. This can be overridden
# if the end-point is passed on the /wopi/cbox/open call
#storageserver = root://your-xrootd-server.org
# Optional EOS top-level path that will be prepended to all user paths. Useful
# to map the CERNBox-exposed files in a subfolder of the EOS storage. By default,
# this is not used and storagehomepath is empty.
#storagehomepath = /your/top/storage/path
[local]
# Location of the folder or mount point used as local storage
#storagehomepath = /mnt/your_local_storage
# Path to a recovery space in case of I/O errors when reaching to the remote storage.
# This is expected to be a local path, and it is provided in order to ease user support.
# Defaults to the indicated spool folder.
#recoverypath = /var/spool/wopirecovery
[cs3]
# Host and port of the Reva(-like) CS3-compliant GRPC gateway endpoint
revagateway = ocis:9142
# HTTP (WebDAV) endpoint for uploading files
#datagateway = https://your-reva-server.org:port/data
# Reva/gRPC authentication token expiration time [seconds]
# The default value matches Reva's default
authtokenvalidity = 3600
# SSL certificate check for Reva
# oCIS uses self signed certificate in this example
sslverify = false
sslverify = True
+29 -109
View File
@@ -11,7 +11,6 @@ services:
- ${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
- ${COLLABORA_DOMAIN:-collabora.owncloud.test}
- ${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}
- ${CODIMD_DOMAIN:-codimd.owncloud.test}
command:
- "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
# letsencrypt configuration
@@ -52,31 +51,26 @@ services:
ocis-net:
entrypoint:
- /bin/sh
- /entrypoint-override.sh
# run ocis init to initialize a configuration file with random secrets
# it will fail on subsequent runs, because the config file already exists
# therefore we ignore the error and then start the ocis server
command: ["-c", "ocis init || true; ocis server"]
environment:
OCIS_URL: https://${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_DOMAIN: ${OCIS_DOMAIN:-ocis.owncloud.test}
OCIS_LOG_LEVEL: ${OCIS_LOG_LEVEL:-error} # make oCIS less verbose
PROXY_TLS: "false" # do not use SSL between Traefik and oCIS
# change default secrets
IDP_LDAP_BIND_PASSWORD: ${IDP_LDAP_BIND_PASSWORD:-idp}
STORAGE_LDAP_BIND_PASSWORD: ${STORAGE_LDAP_BIND_PASSWORD:-reva}
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
OCIS_TRANSFER_SECRET: ${STORAGE_TRANSFER_SECRET:-replace-me-with-a-transfer-secret}
# app registry
STORAGE_GATEWAY_GRPC_ADDR: 0.0.0.0:9142 # make the REVA gateway accessible to the app drivers
STORAGE_APP_REGISTRY_MIMETYPES_JSON: /var/tmp/ocis/app-config/mimetypes.json
GATEWAY_GRPC_ADDR: 0.0.0.0:9142 # make the REVA gateway accessible to the app drivers
# INSECURE: needed if oCIS / Traefik is using self generated certificates
OCIS_INSECURE: "${INSECURE:-false}"
# basic auth (not recommended, but needed for eg. WebDav clients that do not support OpenID Connect)
PROXY_ENABLE_BASIC_AUTH: "${PROXY_ENABLE_BASIC_AUTH:-false}"
# admin user password
IDM_ADMIN_PASSWORD: "${ADMIN_PASSWORD:-admin}" # this overrides the admin password from the configuration file
# demo users
ACCOUNTS_DEMO_USERS_AND_GROUPS: "${DEMO_USERS:-false}" # deprecated, remove after switching to LibreIDM
IDM_CREATE_DEMO_USERS: "${DEMO_USERS:-false}"
volumes:
- ./config/ocis/entrypoint-override.sh:/entrypoint-override.sh
- ./config/ocis/mimetypes.json:/var/tmp/ocis/app-config/mimetypes.json
- ./config/ocis/app-registry.yaml:/etc/ocis/app-registry.yaml
- ocis-config:/etc/ocis
- ocis-data:/var/lib/ocis
labels:
- "traefik.enable=true"
@@ -93,20 +87,20 @@ services:
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
networks:
ocis-net:
command: storage-app-provider server
command: app-provider server
environment:
REVA_GATEWAY: ${REVA_GATEWAY:-ocis:9142}
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164
APP_PROVIDER_EXTERNAL_ADDR: ocis-appdriver-collabora:9164
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
APP_PROVIDER_DRIVER: wopi
APP_PROVIDER_WOPI_DRIVER_APP_NAME: Collabora
APP_PROVIDER_WOPI_DRIVER_APP_ICON_URI: https://${COLLABORA_DOMAIN:-collabora.owncloud.test}/favicon.ico
APP_PROVIDER_WOPI_DRIVER_APP_URL: https://${COLLABORA_DOMAIN:-collabora.owncloud.test}
APP_PROVIDER_WOPI_DRIVER_INSECURE: "${INSECURE:-false}"
APP_PROVIDER_WOPI_DRIVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
APP_PROVIDER_WOPI_DRIVER_WOPI_URL: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
APP_PROVIDER_WOPI_APP_NAME: Collabora
APP_PROVIDER_WOPI_APP_ICON_URI: https://${COLLABORA_DOMAIN:-collabora.owncloud.test}/favicon.ico
APP_PROVIDER_WOPI_APP_URL: https://${COLLABORA_DOMAIN:-collabora.owncloud.test}
APP_PROVIDER_WOPI_INSECURE: "${INSECURE:-false}"
APP_PROVIDER_WOPI_WOPI_SERVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
APP_PROVIDER_WOPI_WOPI_SERVER_EXTERNAL_URL: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
volumes:
- ocis-config:/etc/ocis
logging:
driver: "local"
restart: always
@@ -119,66 +113,35 @@ services:
entrypoint:
- /bin/sh
- /entrypoint-override.sh
#command: storage-app-provider server
#command: app-provider server
environment:
REVA_GATEWAY: ${REVA_GATEWAY:-ocis:9142}
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164
APP_PROVIDER_EXTERNAL_ADDR: ocis-appdriver-onlyoffice:9164
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
APP_PROVIDER_DRIVER: wopi
APP_PROVIDER_WOPI_DRIVER_APP_NAME: OnlyOffice
APP_PROVIDER_WOPI_DRIVER_APP_ICON_URI: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}/web-apps/apps/documenteditor/main/resources/img/favicon.ico
APP_PROVIDER_WOPI_DRIVER_APP_URL: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}
APP_PROVIDER_WOPI_DRIVER_INSECURE: "${INSECURE:-false}"
APP_PROVIDER_WOPI_DRIVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
APP_PROVIDER_WOPI_DRIVER_WOPI_URL: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
APP_PROVIDER_WOPI_APP_NAME: OnlyOffice
APP_PROVIDER_WOPI_APP_ICON_URI: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}/web-apps/apps/documenteditor/main/resources/img/favicon.ico
APP_PROVIDER_WOPI_APP_URL: https://${ONLYOFFICE_DOMAIN:-onlyoffice.owncloud.test}
APP_PROVIDER_WOPI_INSECURE: "${INSECURE:-false}"
APP_PROVIDER_WOPI_WOPI_SERVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
APP_PROVIDER_WOPI_WOPI_SERVER_EXTERNAL_URL: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
volumes:
- ./config/ocis-appdriver-onlyoffice/entrypoint-override.sh:/entrypoint-override.sh
- ocis-config:/etc/ocis
logging:
driver: "local"
restart: always
ocis-appdriver-codimd:
image: owncloud/ocis:${OCIS_DOCKER_TAG:-latest}
networks:
ocis-net:
user: "0" # needed for apk add in entrypoint script
entrypoint:
- /bin/sh
- /entrypoint-override.sh
#command: storage-app-provider server
environment:
REVA_GATEWAY: ${REVA_GATEWAY:-ocis:9142}
APP_PROVIDER_GRPC_ADDR: 0.0.0.0:9164
APP_PROVIDER_EXTERNAL_ADDR: ocis-appdriver-codimd:9164
OCIS_JWT_SECRET: ${OCIS_JWT_SECRET:-Pive-Fumkiu4}
OCIS_MACHINE_AUTH_API_KEY: ${OCIS_MACHINE_AUTH_API_KEY:-change-me-please}
APP_PROVIDER_DRIVER: wopi
APP_PROVIDER_WOPI_DRIVER_APP_NAME: CodiMD
APP_PROVIDER_WOPI_DRIVER_APP_API_KEY: ${CODIMD_SECRET:-LoremIpsum456}
APP_PROVIDER_WOPI_DRIVER_APP_ICON_URI: https://${CODIMD_DOMAIN:-codimd.owncloud.test}/favicon.png
APP_PROVIDER_WOPI_DRIVER_APP_URL: https://${CODIMD_DOMAIN:-codimd.owncloud.test}
APP_PROVIDER_WOPI_DRIVER_INSECURE: "${INSECURE:-false}"
APP_PROVIDER_WOPI_DRIVER_IOP_SECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
APP_PROVIDER_WOPI_DRIVER_WOPI_URL: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
volumes:
- ./config/ocis-appdriver-codimd/entrypoint-override.sh:/entrypoint-override.sh
logging:
driver: "local"
restart: always
wopiserver:
image: cs3org/wopiserver:${WOPISERVER_DOCKER_TAG:-latest}
networks:
ocis-net:
entrypoint:
- /bin/sh
- /bin/bash
- /entrypoint-override.sh
environment:
WOPISERVER_INSECURE: "${INSECURE:-false}"
WOPISECRET: ${WOPI_JWT_SECRET:-LoremIpsum567}
IOPSECRET: ${WOPI_IOP_SECRET:-LoremIpsum123}
CODIMDSECRET: ${CODIMD_SECRET:-LoremIpsum456}
WOPISERVER_DOMAIN: ${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}
COLLABORA_DOMAIN: ${COLLABORA_DOMAIN:-collabora.owncloud.test}
volumes:
@@ -240,55 +203,12 @@ services:
driver: "local"
restart: always
codimd:
image: gitlab-registry.cern.ch/authoring/notes/codimd:cernbox-integration
networks:
ocis-net:
environment:
CMD_DB_URL: postgres://codimd:codimd@codimd-db/codimd
CMD_AUTO_VERSION_CHECK: "false"
CMD_ALLOW_ANONYMOUS: "true"
CMD_ALLOW_ANONYMOUS_EDITS: "true"
CMD_ALLOW_ANONYMOUS_VIEWS: "true"
CMD_ALLOW_FREEURL: "true"
CMD_EMAIL: "false"
CMD_ALLOW_EMAIL_REGISTER: "false"
CMD_USESSL: "false"
NODE_TLS_REJECT_UNAUTHORIZED: 0
CMD_APPLIANCE_MODE: "true"
CMD_SAVE_WEBHOOK: https://${WOPISERVER_DOMAIN:-wopiserver.owncloud.test}/wopi/bridge
CMD_API_KEY: ${CODIMD_SECRET:-LoremIpsum456}
labels:
- "traefik.enable=true"
- "traefik.http.routers.codimd.entrypoints=https"
- "traefik.http.routers.codimd.rule=Host(`${CODIMD_DOMAIN:-codimd.owncloud.test}`)"
- "traefik.http.routers.codimd.tls.certresolver=http"
- "traefik.http.routers.codimd.service=codimd"
- "traefik.http.services.codimd.loadbalancer.server.port=3000"
logging:
driver: "local"
restart: always
codimd-db:
image: postgres:11.6-alpine
networks:
ocis-net:
environment:
POSTGRES_USER: codimd
POSTGRES_PASSWORD: codimd
POSTGRES_DB: codimd
volumes:
- codimd-db-data:/var/lib/postgresql/data
logging:
driver: "local"
restart: always
volumes:
certs:
ocis-config:
ocis-data:
wopi-data:
wopi-logs:
codimd-db-data:
networks:
ocis-net:
@@ -23,7 +23,7 @@ services:
STORAGE_FRONTEND_DEBUG_ADDR: 0.0.0.0:9141
STORAGE_GATEWAY_DEBUG_ADDR: 0.0.0.0:9143
STORAGE_GROUPPROVIDER_DEBUG_ADDR: 0.0.0.0:9161
STORAGE_METADATA_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_SYSTEM_DEBUG_ADDR: 0.0.0.0:9217
STORAGE_PUBLIC_LINK_DEBUG_ADDR: 0.0.0.0:9179
STORAGE_USERPROVIDER_DEBUG_ADDR: 0.0.0.0:9145
STORAGE_USERS_DEBUG_ADDR: 0.0.0.0:9159
+1
View File
@@ -1,3 +1,4 @@
hugo/
grpc_apis/
mutagen.yml.lock
helpers/output/*
+1 -1
View File
@@ -7,6 +7,6 @@ geekdocEditPath: edit/master/docs/architecture
geekdocFilePath: _index.md
---
In the architecture part of the documentation we collect useful developer documentation on different aspects of the architecture. We are using mermaid.js to collaborate on the necessardy diagrams.
In the architecture part of the documentation we collect useful developer documentation on different aspects of the architecture. We are using mermaid.js to collaborate on the necessary diagrams.
*Pictures tell more than a thousand words.*
+22 -22
View File
@@ -16,7 +16,7 @@ What does ETag propagation mean? Whenever a file changes its content or metadata
{{<mermaid class="text-center">}}
graph TD
linkStyle default interpolate basis
subgraph final ETag propagation
ert3(( etag:N )) --- el3(( etag:O )) & er3(( etag:N ))
er3 --- erl3(( etag:O )) & err3(( etag:N ))
@@ -27,7 +27,7 @@ graph TD
er2 --- erl2(( etag:O )) & err2(( etag:N ))
end
subgraph initial file change
subgraph initial file change
ert(( etag:O )) --- el(( etag:O )) & er(( etag:O ))
er --- erl(( etag:O )) & err(( etag:N ))
end
@@ -48,9 +48,9 @@ graph TD
ec( client ) -->|"stat()"|ert
subgraph
subgraph
ert(( )) --- el(( )) & er(( ))
er --- erl(( )) & err(( ))
er --- erl(( )) & err(( ))
end
{{</mermaid>}}
@@ -65,21 +65,21 @@ graph TD
ec( client ) -->|"stat()"|ert
subgraph
subgraph
ert(( )) --- el(( )) & er(( ))
er --- erl(( )) & err(( ))
end
mc( client ) -->|"stat()"|mrt
subgraph
subgraph
mrt(( )) --- ml(( )) & mr(( ))
mr --- mrl(( )) & mrr(( ))
end
fc( client ) -->|"stat()"|frt
subgraph
subgraph
frt(( )) --- fl(( )) & fr(( ))
fr --- frl(( )) & frr(( ))
end
@@ -88,14 +88,14 @@ graph TD
## Sharing
*Storage providers* are responsible for persisting shares as close to the storage as possible.
One implementation may persist shares using ACLs, another might use custom extended attributes. The chosen implementation is storage specific and always a tradeoff between various requirements. Yet, the goal is to treat the storage provider as the single source of truth for all metadata.
One implementation may persist shares using ACLs, another might use custom extended attributes. The chosen implementation is storage specific and always a tradeoff between various requirements. Yet, the goal is to treat the storage provider as the single source of truth for all metadata.
If users can bypass the storage provider using eg. `ssh` additional mechanisms needs to make sure no inconsistencies arise:
If users can bypass the storage provider using e.g. `ssh` additional mechanisms needs to make sure no inconsistencies arise:
- the ETag must still be propagated in a tree, eg using inotify, a policy engine or workflows triggered by other means
- deleted files should land in the trash (eg. `rm` could be wrapped to move files to trash)
- deleted files should land in the trash (e.g. `rm` could be wrapped to move files to trash)
- overwriting files should create a new version ... other than a fuse fs I see no way of providing this for normal posix filesystems. Other storage backends that use the s3 protocol might provide versions natively.
The storage provider is also responsible for keeps track of references eg. using a shadow tree that users normally cannot see or representing them as symbolic links in the filesystem (Beware of symbolic link cycles. The clients are currently unaware of them and would flood the filesystem).
The storage provider is also responsible for keeps track of references e.g. using a shadow tree that users normally cannot see or representing them as symbolic links in the filesystem (Beware of symbolic link cycles. The clients are currently unaware of them and would flood the filesystem).
To prevent write amplification ETags must not propagate across references. When a file that was shared by einstein changes the ETag must not be propagated into any share recipients tree.
@@ -106,7 +106,7 @@ graph TD
ec( einsteins client ) -->|"stat()"|ert
subgraph
subgraph
ml --- mlr(( ))
mrt(( )) --- ml(( )) & mr(( ))
mr --- mrl(( )) & mrr(( ))
@@ -114,11 +114,11 @@ graph TD
mlr -. reference .-> er
subgraph
subgraph
ert(( )) --- el(( )) & er(( ))
er --- erl(( )) & err(( ))
end
mc( maries client ) -->|"stat()"|mrt
{{</mermaid>}}
@@ -132,7 +132,7 @@ It would require client changes that depend on the server side actually having a
But having to list n storages might become a bottleneck anyway, so we are going to have the gateway calculate a virtual root ETag for all entry points a user has access to and cache that.
## Server Side Stat Polling
Every client polls the virtual root ETag (every 30 sec). The gateway will cache the virutal root ETag of every storage for 30 sec as well. That way every storage provider is only stated once every 30 sec (can be throttled dynamically to adapt to storage io load).
Every client polls the virtual root ETag (every 30 sec). The gateway will cache the virtual root ETag of every storage for 30 sec as well. That way every storage provider is only stated once every 30 sec (can be throttled dynamically to adapt to storage io load).
{{<mermaid class="text-center">}}
@@ -151,14 +151,14 @@ graph TD
mvr --- mrt
fvr --- frt
subgraph
subgraph
ert(( )) --- el(( )) & er(( ))
er --- erl(( )) & err(( ))
end
mc( client ) -->|"stat()"|mvr
subgraph
subgraph
mrt(( )) --- ml(( )) & mr(( ))
ml --- mlm(( ))
mr --- mrl(( )) & mrr(( ))
@@ -169,7 +169,7 @@ graph TD
fc( client ) -->|"stat()"|fvr
subgraph
subgraph
frt(( )) --- fl(( )) & fr(( ))
fr --- frl(( )) & frr(( ))
end
@@ -182,9 +182,9 @@ Since the active clients will poll the etag for all active users the gateway wil
For a single machine using a local posix storage the linux kernel already caches the inodes that contain the metadata that is necessary to calculate the ETag (even extended attributes are supported). With 4k inodes 256 nodes take 1Mb of RAM, 1k inodes take 4Mb and 1M inodes take 4Gb to completely cache the file metadata. For distributed filesystems a dedicated cache might make sense to prevent hammering it with stat like requests to calculate ETags.
### Bandwith considerations
### Bandwidth considerations
The bandwith for a single machine might be another bottleneck. Consider a propfind request with roughly 500 bytes and a response with roughly 800 bytes in size:
The bandwidth for a single machine might be another bottleneck. Consider a propfind request with roughly 500 bytes and a response with roughly 800 bytes in size:
- At 100Mbit (~10Mb/s) you can receive 20 000 PROPFIND requests
- At 1000Mbit (~100Mb/s) you can receive 200 000 PROPFIND requests
- At 10Gbit (~1Gb/s) you can receive 2 000 000 PROPFIND requests
+4 -4
View File
@@ -15,7 +15,7 @@ Rclone itself is not able to open and maintain an OpenID Connect session. But it
### Setting up the OIDC-agent
You need to install the [OIDC-agent](https://github.com/indigo-dc/oidc-agent) from your OS' package repository (eg. [Debian](https://github.com/indigo-dc/oidc-agent#debian-packages) or [MacOS](https://github.com/indigo-dc/oidc-agent#debian-packages)).
You need to install the [OIDC-agent](https://github.com/indigo-dc/oidc-agent) from your OS' package repository (e.g. [Debian](https://github.com/indigo-dc/oidc-agent#debian-packages) or [MacOS](https://github.com/indigo-dc/oidc-agent#debian-packages)).
### Configuring the the OIDC-agent
@@ -35,9 +35,9 @@ oidc-gen \
If you have dynamic client registration enabled on your OpenID Connect identity provider, you can skip the `--client-id`, `--client-secret` and `--pub` options.
If your're using a dedicated OpenID Connect client for the OIDC-agent, we recommend a public one with the following two redirect URIs: `http://127.0.0.1:*` and `http://localhost:*`. Alternatively you also may use the already existing OIDC client of the ownCloud Desktop Client (`--client-id=xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69` and `--client-secret=UBntmLjC2yYCeHwsyj73Uwo9TAaecAetRwMw0xYcvNL9yRdLSUi0hUAHfvCHFeFh`, no `--pub` set)
If you're using a dedicated OpenID Connect client for the OIDC-agent, we recommend a public one with the following two redirect URIs: `http://127.0.0.1:*` and `http://localhost:*`. Alternatively you also may use the already existing OIDC client of the ownCloud Desktop Client (`--client-id=xdXOt13JKxym1B1QcEncf2XDkLAexMBFwiT9j6EfhhHFJhs2KM9jbjTmf8JBXE69` and `--client-secret=UBntmLjC2yYCeHwsyj73Uwo9TAaecAetRwMw0xYcvNL9yRdLSUi0hUAHfvCHFeFh`, no `--pub` set)
Please also note that the OIDC-agent will listen on your localhost interface on port 12345 for the time of the intial authentication. If that port is already occupied on your machine, you can easily change that by setting the `--redirect-uri` parameter to a different value.
Please also note that the OIDC-agent will listen on your localhost interface on port 12345 for the time of the initial authentication. If that port is already occupied on your machine, you can easily change that by setting the `--redirect-uri` parameter to a different value.
After a successful login or an already existing session you will be redirected to success page of the OIDC-agent.
You will now be asked for a password for your account configuration, so that your OIDC session is secured and cannot be used by other people with access to your computer.
@@ -63,4 +63,4 @@ We now can use Rclone to sync the local folder `/tmp/test` to `/test` in your oC
rclone sync :local:/tmp :webdav:/test
```
If your oCIS doesn't use valid SSL certificates, you may need to use `rclone --no-check-certificate sync ...`.
If your oCIS doesn't use valid SSL certificates, you may need to use `rclone --no-check-certificate sync ...`.
Loaded 100 of 1499 files, more files were not shown because too many files have changed in this diff. Show more