Compare commits

..
Author SHA1 Message Date
Michael Barz 736f513cfc prepare changelog, bump version 2022-11-05 10:53:41 +01:00
Benedikt Kulmann 009f4ef25e Automated changelog update [skip ci] 2022-11-04 21:54:38 +00:00
Benedikt Kulmann 895f55dbc8 Merge pull request #4973 from owncloud/update-reva-2.11
[full-ci] update reva to v2.11.0
2022-11-04 22:53:26 +01:00
Michael Barz d60adc2c79 update reva to v2.11.0 2022-11-04 22:08:04 +01:00
Michael Barz 41544e483f Automated changelog update [skip ci] 2022-11-04 21:08:00 +00:00
Michael Barz f2e975cd82 Merge pull request #4970 from owncloud/update-web-6.0.0-rc.5
[full-ci] chore: update web assets to v6.0.0-rc.6
2022-11-04 22:07:22 +01:00
Benedikt Kulmann 2774e6f658 chore: adjust expected failures file 2022-11-04 16:07:07 +01:00
Benedikt Kulmann 65f5410f95 Revert "remove passing test from expected failure"
This reverts commit 016549d6a1.
2022-11-04 16:00:27 +01:00
Benedikt Kulmann 317f230280 chore: update web assets to v6.0.0-rc.6 2022-11-04 15:58:13 +01:00
Benedikt Kulmann d2c847dcde chore: adjust expected failures file 2022-11-04 15:58:13 +01:00
Benedikt Kulmann 572bcc20a7 chore: update web assets to v6.0.0-rc.5 2022-11-04 15:58:12 +01:00
Jörn Friedrich DreyerandChristian Richter a542aad999 [docs-only] add auth bearer readme (#4982)
* add auth bearer readme

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

* Apply suggestions from code review

Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
2022-11-04 15:05:32 +01:00
Martin 7429c06b4d Automated changelog update [skip ci] 2022-11-04 12:20:08 +00:00
Martin 226f39a445 Merge pull request #4981 from owncloud/auth_basic_readme_fix_env_var_rename
[docs-only] Auth basic readme fix env var rename
2022-11-04 13:19:36 +01:00
Michael Barz 015743af9f Automated changelog update [skip ci] 2022-11-04 12:01:48 +00:00
6c2a1999c4 add requestID middleware (#4974)
* add requestID middleware

* Update services/ocdav/pkg/config/config.go

* remove unnecessary config structs

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Jörn Friedrich Dreyer <jfd@owncloud.com>
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-04 13:01:18 +01:00
Jörn Friedrich Dreyer 791c2e2494 fix docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-04 11:51:21 +00:00
Viktor Scharf 753812bf63 [test-only] add API acceptance tests to create user using the admin privilege (#4902)
* add api test

* fix typo

* php style fix
2022-11-04 12:39:54 +01:00
Jörn Friedrich Dreyer de098ac5fe update changelog
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-04 11:22:38 +00:00
Jörn Friedrich Dreyer 6bb2f74690 auth basic readme fix env var rename
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-04 11:21:38 +00:00
David Christofas 655d650baf Merge pull request #4975 from owncloud/dependabot/go_modules/github.com/urfave/cli/v2-2.23.2
Bump github.com/urfave/cli/v2 from 2.23.0 to 2.23.2
2022-11-04 12:14:13 +01:00
Martin 280a48dd26 Merge pull request #4956 from owncloud/fix_some_frontend_env_descriptions
Improve frontend env descriptions
2022-11-04 11:20:48 +01:00
dependabot[bot] 88886a70cc Bump github.com/urfave/cli/v2 from 2.23.0 to 2.23.2
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.23.0 to 2.23.2.
- [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.23.0...v2.23.2)

---
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-11-04 10:17:49 +00:00
Christian Richter 7cc347fa05 Merge branch 'master' into fix_some_frontend_env_descriptions 2022-11-04 10:44:13 +01:00
Sawjan Gurung b44b33e9f8 Merge pull request #4978 from owncloud/test/remove-from-etf
[tests-only][full-ci] Remove passing copy-private-link test from expected failure
2022-11-04 15:23:02 +05:45
Saw-jan 016549d6a1 remove passing test from expected failure 2022-11-04 14:59:03 +05:45
André Duffeck 42749bad60 Adapt expected failures file to match reality. 2022-11-04 09:40:59 +01:00
mmattel afd79ae6cd trigger ci 2022-11-04 08:46:26 +01:00
Jörn Friedrich Dreyer d4643bf98c fix typo
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 17:18:16 +01:00
Jörn Friedrich Dreyer b559466703 document default preferred sha1 checksum
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 17:18:16 +01:00
Jörn Friedrich Dreyer 13dbbd8440 fix env var name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 17:18:16 +01:00
mmattel d8de307fda fix checksum type descriptions 2022-11-03 17:18:16 +01:00
mmattel a23eaf9395 Improve frontend env descriptions 2022-11-03 17:18:16 +01:00
Martin 1f53ec5253 Improve Auth Basic service descriptions (#4971) 2022-11-03 17:00:34 +01:00
Jörn Friedrich Dreyer f994ad951c Automated changelog update [skip ci] 2022-11-03 15:09:25 +00:00
Jörn Friedrich Dreyer 0f7dba53fb use min tls 1.2 (#4969)
* use min tls 1.2

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

* add changelog

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 16:08:56 +01:00
Michael Barz 9fc64e5479 Automated changelog update [skip ci] 2022-11-03 14:58:37 +00:00
Michael Barz 353240ed7c Merge pull request #4599 from owncloud/privatelink-capability
enable private links
2022-11-03 15:58:09 +01:00
kobergj c160dd7735 Merge pull request #4874 from kobergj/SpaceInviteCherryPick
Cherry-pick spaceinvite fix
2022-11-03 15:52:23 +01:00
jkoberg 2443d7d687 use private link syntax for spaceinvite link
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-11-03 15:18:03 +01:00
kobergj 0c410018be Automated changelog update [skip ci] 2022-11-03 14:16:40 +00:00
kobergj d55d132f26 Merge pull request #4966 from kobergj/ReadmeForAuthBasic
Improve AuthBasic Readme
2022-11-03 15:15:49 +01:00
Florian Schade 47293eb23b Automated changelog update [skip ci] 2022-11-03 14:12:24 +00:00
Florian Schade 1109c9244b Merge pull request #4967 from owncloud/bump-copyright
bump copyright
2022-11-03 15:11:47 +01:00
kobergj 69c60135e4 Merge pull request #4965 from kobergj/MaxAcuireLockCycles
Max AcquireLock Cycles and Bump Reva
2022-11-03 15:11:18 +01:00
Florian Schade 6bd601a46f bump copyright 2022-11-03 14:57:37 +01:00
jkoberg a41bec243e changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-11-03 14:43:22 +01:00
jkoberg c2cc1e105c improve auth-basic docu and rename envvar
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-11-03 14:40:21 +01:00
jkoberg 27a1ab7612 changelog
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-11-03 14:31:13 +01:00
jkoberg 12c7308fdf update envvar description
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-11-03 14:27:54 +01:00
92d3f77ab8 Readme for Auth-Basic (#4919)
* readme for the auth-basic service

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

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* Update services/auth-basic/README.md

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

Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: Martin <github@diemattels.at>
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-03 14:24:22 +01:00
Florian Schade 51376b584b add option to configure max_acquire_lock_cycles 2022-11-03 14:22:46 +01:00
dependabot[bot] 036829ecbe Bump github.com/go-micro/plugins/v4/server/http from 1.1.1 to 1.2.0 (#4963)
Bumps [github.com/go-micro/plugins/v4/server/http](https://github.com/go-micro/plugins) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v4/server/grpc/v1.1.1...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/server/http
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-03 14:19:58 +01:00
Michael Barz 8371de7056 Merge pull request #4964 from aduffeck/rescan-less-aggressively
Reindex less aggressively
2022-11-03 14:11:53 +01:00
David Christofas 1dec463216 Automated changelog update [skip ci] 2022-11-03 12:25:50 +00:00
David Christofas 3125459415 [full-ci]fallback to stored roles (#4890)
* fallback to stored roles

If there are no roles in the current context load the user's roles from the storage.

* some code clean up
2022-11-03 13:25:21 +01:00
André Duffeck cfb4f45f8d Fix indentation 2022-11-03 13:22:44 +01:00
André Duffeck 12bdf29ac4 Change the default reindex debounce duration to 1s.
Also make it configurable using an env var.
2022-11-03 13:15:54 +01:00
Martin 5602668634 Add the missing auth providers to AUTH_BASIC_AUTH_PROVIDER description (#4923)
* Add the missing auth providers to AUTH_BASIC_AUTH_PROVIDER description

* fix strings on more locations

* WOPIDriver

* Apply suggestions from code review

* Update services/users/pkg/config/config.go
2022-11-03 12:31:57 +01:00
dependabot[bot] 968bf088d0 Bump github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker (#4962)
Bumps [github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker](https://github.com/go-micro/plugins) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.1.0...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/wrapper/breaker/gobreaker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-03 12:28:28 +01:00
Ralf Haferkamp b24d126b30 Introduce TLS Settings for go-micro based http services
TLS for the services can be configure by setting the "OCIS_HTTP_TLS_ENABLED",
"OCIS_HTTP_TLS_CERTIFICATE" and "OCIS_HTTP_TLS_KEY" environment variables.
Currently the ocis proxy is this only service that directly accesses backend
services. It determines whether to use TLS or not by looking a the new registry
metadata "use_tls". As specific CA Cert for certificate verification
can be set with the "PROXY_HTTPS_CACERT" environment variable.
2022-11-03 11:58:53 +01:00
Ralf Haferkamp cbe41fb85f Add method for creating in-memory certificates 2022-11-03 11:58:53 +01:00
Ralf Haferkamp a4f5682851 Switch proxy defaults to use go-micro registry everywhere
This makes the default configuration somewhat easier. There doesn't
seem to be a specific reason why some services were still using a
static backend configuration.
2022-11-03 11:58:53 +01:00
kobergj d161ad3a08 Automated changelog update [skip ci] 2022-11-03 10:39:58 +00:00
kobergjandMichael Barz a5bccc2807 Validate Space Names (#4955)
* validate space names

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

* Update services/graph/pkg/service/v0/drives.go

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

Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
2022-11-03 11:39:02 +01:00
David Christofas ac6d53d317 Merge pull request #4960 from owncloud/ocis-readme
add a README to the ocis package
2022-11-03 10:44:58 +01:00
Ralf Haferkamp 06d4a80bc3 Automated changelog update [skip ci] 2022-11-03 09:17:48 +00:00
Ralf HaferkampandMartin ee974afebf [full-ci] Introduce TLS Settings for go-micro based grpc services and clients (#4901)
* Introduce TLS Settings for go-micro based grpc services and clients

TLS for the services can be configure by setting the OCIS_MICRO_GRPC_TLS_ENABLED"
"OCIS_MICRO_GRPC_TLS_CERTIFICATE" and "OCIS_MICRO_GRPC_TLS_KEY"
enviroment variables.

TLS for the clients can configured by setting the "OCIS_MICRO_GRPC_CLIENT_TLS_MODE"
and "OCIS_MICRO_GRPC_CLIENT_TLS_CACERT" variables.

By default TLS is disabled.

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

* Unify TLS configuration for all grpc services

All grpc service (whether they're based on reva) or go-micro use the
same set of config vars now.

TLS for the services can be configure by setting the OCIS_GRPC_TLS_ENABLED,
OCIS_GRPC_TLS_CERTIFICATE and OCIS_GRPC_TLS_KEY enviroment variables.

TLS for the clients can configured by setting the OCIS_GRPC_CLIENT_TLS_MODE
and OCIS_MICRO_GRPC_CLIENT_TLS_CACERT variables.

There are no individual per service config vars currently. If really
needed, per service tls configurations can be specified via config file.

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

Co-authored-by: Martin <github@diemattels.at>
2022-11-03 10:17:08 +01:00
Edith Parzefall 2e22d00801 Apply suggestions from code review
language review
2022-11-03 09:42:47 +01:00
David Christofas 56c3d9d76f add a README to the ocis package 2022-11-03 09:42:39 +01:00
Sawjan Gurung b7482e5410 Merge pull request #4953 from owncloud/bump-core-commitid
[full-ci] [tests-only] Bump core commit id
2022-11-02 17:38:01 +05:45
Prarup Gurung 9d872eb840 Fixed line numbers in expected failures 2022-11-02 16:24:24 +05:45
Prarup Gurung 3c6a650116 Bump core commit id 2022-11-02 16:24:24 +05:45
Jörn Friedrich Dreyer ed42a02606 clarify wording
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-02 11:06:15 +01:00
MartinandRalf Haferkamp 1abcc8eb17 Apply suggestions from code review
Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com>
2022-11-02 11:06:15 +01:00
Jörn Friedrich Dreyer 0ace006291 add frontend readme
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-02 11:06:15 +01:00
dependabot[bot] aae24ae1cf Bump github.com/go-micro/plugins/v4/wrapper/monitoring/prometheus
Bumps [github.com/go-micro/plugins/v4/wrapper/monitoring/prometheus](https://github.com/go-micro/plugins) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.1.0...v4/auth/jwt/v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/go-micro/plugins/v4/wrapper/monitoring/prometheus
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 10:48:46 +01:00
dependabot[bot] 6bf30da59c Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.12.0 to 2.13.0
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.12.0...v2.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-02 10:12:57 +01:00
Florian Schade 52d618ef50 remove expires header in no-cache cases (#4942) 2022-11-01 15:06:17 +01:00
Jörn Friedrich Dreyer 20174215d2 Automated changelog update [skip ci] 2022-11-01 12:36:29 +00:00
Jörn Friedrich Dreyer c61b959f4d fix CORS in frontend service (#4948)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-01 13:33:22 +01:00
Prarup Gurung c184bef462 Merge pull request #4947 from owncloud/refactor-feature-files
[full-ci] [tests-only] Refactored inter scenarios space
2022-11-01 16:44:13 +05:45
Prarup Gurung 9b8a729ab5 Fixed line numbers in expected failures 2022-11-01 15:54:45 +05:45
Prarup Gurung 35672b0014 Refactored feature files to make consistent inter-scenarios space 2022-11-01 15:13:14 +05:45
dependabot[bot] a39f754afd Bump github.com/gofrs/uuid from 4.3.0+incompatible to 4.3.1+incompatible
Bumps [github.com/gofrs/uuid](https://github.com/gofrs/uuid) from 4.3.0+incompatible to 4.3.1+incompatible.
- [Release notes](https://github.com/gofrs/uuid/releases)
- [Commits](https://github.com/gofrs/uuid/compare/v4.3.0...v4.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 09:31:08 +01:00
Prarup Gurung 7aae4e957d Merge pull request #4944 from owncloud/bump-core-commitid
[full-ci] [tests-only] Bump core commit id
2022-11-01 11:22:27 +05:45
Prarup Gurung cdb4383e7d Fixed line numbers in expected failures 2022-11-01 10:42:31 +05:45
Artur Neumann 64d4badb28 Merge pull request #4939 from owncloud/individual-it-patch-2
delete reference to issue 2131
2022-11-01 09:58:46 +05:45
Prarup Gurung 910c9f0b07 Bump core commit id 2022-11-01 09:20:57 +05:45
David Christofas 14622545ec Merge pull request #4943 from owncloud/dependabot/go_modules/github.com/urfave/cli/v2-2.23.0
Bump github.com/urfave/cli/v2 from 2.20.3 to 2.23.0
2022-10-31 11:54:31 +01:00
dependabot[bot] b29c7b8935 Bump github.com/urfave/cli/v2 from 2.20.3 to 2.23.0
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.20.3 to 2.23.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.20.3...v2.23.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-10-31 10:02:51 +00:00
David Christofas cd43a131d0 Merge pull request #4928 from owncloud/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.9.4
Bump github.com/nats-io/nats-server/v2 from 2.9.3 to 2.9.4
2022-10-31 11:01:06 +01:00
David Christofas 7355d98b28 Merge pull request #4914 from owncloud/dependabot/go_modules/github.com/onsi/gomega-1.23.0
Bump github.com/onsi/gomega from 1.22.1 to 1.23.0
2022-10-31 10:58:56 +01:00
Phil Davis 37536d76d1 Merge pull request #4938 from owncloud/individual-it-patch-1
fix typo in beta testplan
2022-10-31 12:17:59 +05:45
Artur Neumann 5dee88f436 delete reference to issue 2131 2022-10-31 12:00:09 +05:45
Artur Neumann a76dea5315 fix typo in beta testplan 2022-10-31 11:57:49 +05:45
Martin ef4900d221 Merge pull request #4935 from owncloud/fix_missing_REVA_description
Add REVA_ env description for WebDav
2022-10-28 15:13:38 +02:00
Phil Davis f5d7658d0f Merge pull request #4931 from owncloud/bump-oCIS-commit-id-for-tests-oct-28-2022
[tests-only][full-ci] bump oC/core commit ID for the tests
2022-10-28 18:30:55 +05:45
Martin bc06dfb20a Merge pull request #4911 from owncloud/proxy-readme
add proxy README
2022-10-28 14:33:00 +02:00
Martin f116f78702 Merge pull request #4934 from owncloud/mmattel-patch-1
Update ADOC.tmpl
2022-10-28 14:22:39 +02:00
mmattel cea3431634 Add REVA_ env description for WebDav 2022-10-28 14:22:26 +02:00
Martin 0c15f71a4e Update ADOC.tmpl
Fix leftover from extension to service renaming
2022-10-28 14:05:27 +02:00
Kiran Parajuli f2f952576d Update the line numbers in the expected failures list
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-10-28 17:31:15 +05:45
Kiran Parajuli 0bd65e8b09 [tests-only] bump oC/core commit id for the tests
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-10-28 17:03:46 +05:45
dependabot[bot] 982d58f774 Bump github.com/nats-io/nats-server/v2 from 2.9.3 to 2.9.4
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.9.3 to 2.9.4.
- [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.9.3...v2.9.4)

---
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-10-28 09:29:32 +00:00
Michael Barz 130bbb5c4b Automated changelog update [skip ci] 2022-10-28 09:29:12 +00:00
Michael Barz 1399c0f8e1 Merge pull request #4903 from owncloud/denials
[full-ci] Update Reva and add Denials config
2022-10-28 11:27:12 +02:00
Michael Barz 361efa6804 update reva and add config 2022-10-28 10:43:54 +02:00
Prarup Gurung 05198fd705 Merge pull request #4927 from owncloud/bump-commitid-20221028
[tests-only][full-ci] Bump core commit id for tests
2022-10-28 12:33:33 +05:45
Saw-jan 08ccacd704 bump core commit id for tests 2022-10-28 11:44:00 +05:45
Willy Kloucek 7d283639f7 Merge pull request #4918 from wkloucek/remove-individual-services-example
remove the individual services example in favor for the ocis helm charts
2022-10-27 14:56:23 +02:00
Martin 5f2262b946 Merge pull request #4920 from owncloud/small_description_rephrasing_proxy
Proxy env var description rephrasing
2022-10-27 13:48:46 +02:00
mmattel bdcbe3e0c2 Proxy env var description rephrasing 2022-10-27 13:09:37 +02:00
Martin 3d5a6c36fc Update services/proxy/README.md 2022-10-27 12:56:06 +02:00
Martin 6c4b54015a Merge pull request #4909 from kobergj/ReadmeForNats
Readme for Nats service
2022-10-27 12:51:13 +02:00
Edith Parzefall 982856b7e4 Apply suggestions from code review 2022-10-27 12:24:39 +02:00
kobergj 141779c463 Merge pull request #4912 from kobergj/ReadmeForWebdav
Readme for Webdav service
2022-10-27 12:18:10 +02:00
jkoberg 1fa147fa36 readme for nats service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-10-27 12:14:05 +02:00
Martin 0f2b427f03 Update services/proxy/README.md 2022-10-27 12:11:00 +02:00
Willy Kloucek cd7093d8e4 remove the individual services example in favor for the ocis helm charts 2022-10-27 11:54:55 +02:00
David Christofas 453acf3d66 add proxy README 2022-10-27 11:53:13 +02:00
jkoberg 452be7e9db readme for webdav service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-10-27 10:42:03 +02:00
Benedikt Kulmann 275a359750 Automated changelog update [skip ci] 2022-10-27 08:35:40 +00:00
Benedikt Kulmann 2b27b0c8bf Merge pull request #4892 from owncloud/pnpm-2
[full-ci] Build idp and settings frontends with pnpm
2022-10-27 10:35:12 +02:00
kobergj 8599b93816 Automated changelog update [skip ci] 2022-10-27 08:28:16 +00:00
kobergj 59899c1cb3 Merge pull request #4915 from aduffeck/bump-reva
[full-ci] Bump reva
2022-10-27 10:27:32 +02:00
André Duffeck ae7304a249 Bump reva 2022-10-27 08:51:33 +02:00
dependabot[bot] 6924d863e7 Bump github.com/onsi/gomega from 1.22.1 to 1.23.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.22.1 to 1.23.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.22.1...v1.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-27 06:15:55 +00:00
David Christofas 118404078d Automated changelog update [skip ci] 2022-10-26 10:52:48 +00:00
David Christofas 9b073addbf Merge pull request #4908 from wkloucek/update-reva-dependencies
[full-ci] update reva
2022-10-26 12:52:22 +02:00
Willy Kloucek 04acadceb4 update reva 2022-10-26 11:49:34 +02:00
Willy Kloucek b070a86b35 Merge pull request #4907 from owncloud/go-deps
update golang dependencies
2022-10-26 11:45:10 +02:00
David Christofas 14702f6836 update golang dependencies 2022-10-26 11:10:58 +02:00
David Christofas db02e0b5c0 Merge pull request #4906 from owncloud/dependabot/go_modules/github.com/blevesearch/bleve/v2-2.3.5
Bump github.com/blevesearch/bleve/v2 from 2.3.4 to 2.3.5
2022-10-26 10:56:31 +02:00
David Christofas bacce15009 Merge pull request #4905 from owncloud/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.4.0
Bump github.com/onsi/ginkgo/v2 from 2.3.1 to 2.4.0
2022-10-26 10:56:11 +02:00
Martin 2a210357ae Merge pull request #4737 from owncloud/thumbnails-readme
add a readme file for the thumbnails service
2022-10-26 09:27:15 +02:00
Martin c67b457308 Update services/thumbnails/README.md 2022-10-26 09:17:14 +02:00
Edith Parzefall 152967320d Update services/thumbnails/README.md 2022-10-26 09:16:05 +02:00
Edith ParzefallandPhil Davis 9436dfe4d1 Apply suggestions from code review
Co-authored-by: Phil Davis <phil@jankaritech.com>
2022-10-26 09:10:18 +02:00
dependabot[bot] 6acfa00adb Bump github.com/blevesearch/bleve/v2 from 2.3.4 to 2.3.5
Bumps [github.com/blevesearch/bleve/v2](https://github.com/blevesearch/bleve) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/blevesearch/bleve/releases)
- [Commits](https://github.com/blevesearch/bleve/compare/v2.3.4...v2.3.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 06:18:09 +00:00
dependabot[bot] 9a52e08e1c Bump github.com/onsi/ginkgo/v2 from 2.3.1 to 2.4.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.3.1...v2.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-26 06:17:56 +00:00
Michael Barz 257c5995b5 Automated changelog update [skip ci] 2022-10-25 21:43:39 +00:00
Michael Barz 88386dedab Merge pull request #4897 from owncloud/settings-values
prohibit users form setting and listing other user's values
2022-10-25 23:39:23 +02:00
Michael Barz 5ec864885f Merge pull request #4898 from owncloud/fix-user-consent-after-client-login
fix: clear loading state if consent or logon received
2022-10-25 20:13:30 +02:00
mmattel 2836395a29 update and text restructuring 2022-10-25 17:21:50 +02:00
David Christofas 778c84cf17 add a readme file for the thumbnails service 2022-10-25 15:01:11 +02:00
Benedikt Kulmann b3225a0dc9 fix: clear loading state if consent or logon received 2022-10-25 14:53:00 +02:00
David Christofas 73e50ae84b prohibit users form setting and listing other user's values 2022-10-25 14:13:47 +02:00
Viktor Scharf 51c16e41be [test-only] ApiTest.check all response items (#4886)
* check response

* php-style fix
2022-10-25 13:48:01 +02:00
Ralf Haferkamp e9219e4103 Automated changelog update [skip ci] 2022-10-25 09:50:41 +00:00
Ralf Haferkamp 89f2f2a87f Add documentation tags for grpc server TLS options 2022-10-25 11:50:08 +02:00
Ralf Haferkamp fbb3382a42 Revert backwards incompatible reva config changes
The commit of unifying the Reva Client config introduced some backwards
incompatible changes to the config structures and yaml config tags. For
the "thumbnails", "webdav" and "notifications" service. This reverts the
changes on the service and introduces TLS options in a backwards
compatible manner.
2022-10-25 11:50:08 +02:00
Ralf Haferkamp 8cead4557f Explicitly disable TLS for the permissions client
This is needed as the permission server (provided by the settings service)
is not TLS enabled yet.
2022-10-25 11:50:08 +02:00
Ralf Haferkamp 3d57f5cc21 Introduce TLS Settings for all reva grpc services and clients 2022-10-25 11:50:08 +02:00
Ralf Haferkamp e373e48383 Get rid of duplicated Reva config struct
Consolidate all services to use the Reva config struct for the shared package.
This works because all services (except 'notifications', 'thumbnails' and
'webdav') where using the same config keys and environment variables for
setting the reva gateway.
2022-10-25 11:50:08 +02:00
Dominik Schmidt 8d342851d7 Do not set store-dir in Makefiles 2022-10-25 11:12:51 +02:00
David Christofas 0f507e7aab Merge pull request #4870 from owncloud/dependabot/go_modules/github.com/grpc-ecosystem/grpc-gateway/v2-2.12.0
Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.11.3 to 2.12.0
2022-10-25 10:22:20 +02:00
dependabot[bot] ca3ef6fc58 Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.11.3 to 2.12.0
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.11.3 to 2.12.0.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.11.3...v2.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 07:43:57 +00:00
David Christofas 63bf8b186a Merge pull request #4869 from owncloud/dependabot/go_modules/github.com/MicahParks/keyfunc-1.5.1
Bump github.com/MicahParks/keyfunc from 1.4.0 to 1.5.1
2022-10-25 09:40:15 +02:00
Dominik Schmidt b195c6bb0d Build idp and settings frontends with pnpm 2022-10-24 20:31:56 +02:00
Benedikt Kulmann c818d71e6f Merge pull request #4878 from owncloud/pnpm
[full-ci][ui tests] Switch yarn to pnpm for oC Web tests
2022-10-24 20:26:48 +02:00
Dominik Schmidt 966a7758fc Use pnpm for running tests for oC Web 2022-10-24 19:04:39 +02:00
Phil Davis 50d97d6f0d Merge pull request #4718 from owncloud/runtests-from-core-branch-40393
[full-ci][tests-only]Bump core commit id for tests
2022-10-24 16:57:19 +05:45
Swikriti Tripathi 305bf45e0a update core commit id to latest 2022-10-24 13:57:46 +05:45
Michael Barz 742229472e trigger CI 2022-10-21 15:35:49 +02:00
Michael Barz e0adaf8c60 Automated changelog update [skip ci] 2022-10-21 11:37:44 +00:00
Michael Barz 5146d16c70 Merge pull request #4867 from owncloud/nats-tls
add config option to enable or disable TLS for nats
2022-10-21 13:37:18 +02:00
Michael Barz ec764ea5b1 improve the description of the help texts 2022-10-21 12:50:03 +02:00
Michael Barz 18404e3f36 rebase and use latest reva edge 2022-10-21 12:42:32 +02:00
David Christofas 45b92fc56f add config option to enable or disable TLS for nats 2022-10-21 12:40:21 +02:00
Michael Barz ff8b16f9da Automated changelog update [skip ci] 2022-10-21 10:24:09 +00:00
Michael Barz ce20b3be79 Merge pull request #4864 from owncloud/sharing-caps
[full-ci] disable federation capabilities
2022-10-21 12:23:46 +02:00
Michael BarzandMartin 6f12c769dd Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2022-10-21 11:52:58 +02:00
Phil Davis a5eb9611c0 Merge pull request #4862 from owncloud/bump-core-commit-id-for-tests-oct-20-2022
[tests-only][full-ci] bump ownCloud core commit ID for the tests
2022-10-21 12:17:26 +05:45
dependabot[bot] 9cc4cdd8cc Bump github.com/MicahParks/keyfunc from 1.4.0 to 1.5.1
Bumps [github.com/MicahParks/keyfunc](https://github.com/MicahParks/keyfunc) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/MicahParks/keyfunc/releases)
- [Commits](https://github.com/MicahParks/keyfunc/compare/v1.4.0...v1.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-21 06:25:58 +00:00
Michael Barz d116245ddb reflect shares space rename in tests
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2022-10-21 00:46:02 +02:00
Michael Barz 78be28433a disable federation capabilities 2022-10-20 14:40:09 +02:00
David Christofas 4426471548 Automated changelog update [skip ci] 2022-10-20 11:58:02 +00:00
David Christofas 07475407d6 Merge pull request #4859 from owncloud/received-share-path
fix shareroot path in REPORT responses
2022-10-20 13:56:04 +02:00
Viktor Scharf d82003fe6f Update .drone.env
brought web commit back
2022-10-20 13:20:30 +02:00
Kiran Parajuli 9c9b52677f Update the line numbers in the expected failures list
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-10-20 15:14:23 +05:45
David Christofas a41cc77371 bump web commit id for tests 2022-10-20 11:10:54 +02:00
David Christofas bbcbf69283 fix shareroot path in REPORT responses 2022-10-20 10:26:10 +02:00
dependabot[bot] cccb190087 Bump google.golang.org/grpc from 1.50.0 to 1.50.1
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.50.0 to 1.50.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.50.0...v1.50.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 09:52:51 +02:00
dependabot[bot] d6b5d40232 Bump go.opentelemetry.io/otel/exporters/jaeger from 1.11.0 to 1.11.1
Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.11.0 to 1.11.1.
- [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.11.0...v1.11.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 09:08:24 +02:00
Kiran Parajuli a3df6ca62e [tests-only] bump ownCloud core commit id for the tests
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-10-20 12:42:59 +05:45
David Christofas a047d54b07 Merge pull request #4836 from owncloud/checkTrashAfterOverwriting
[test-only] Api test checking trash after overwriting
2022-10-19 17:11:49 +02:00
David Christofas 573ba3dc3f Merge pull request #4852 from owncloud/dependabot/go_modules/github.com/urfave/cli/v2-2.20.2
Bump github.com/urfave/cli/v2 from 2.19.2 to 2.20.2
2022-10-19 17:07:23 +02:00
David Christofas 4ebd26bae8 Merge pull request #4851 from owncloud/dependabot/go_modules/github.com/spf13/cobra-1.6.0
Bump github.com/spf13/cobra from 1.5.0 to 1.6.0
2022-10-19 17:06:58 +02:00
Willy Kloucek 22c8418c40 Merge pull request #4850 from wkloucek/settings-languange-read-write-to-const
move the language-read-write permission's id and name into a const
2022-10-19 11:07:39 +02:00
dependabot[bot] bda2158cf8 Bump github.com/urfave/cli/v2 from 2.19.2 to 2.20.2
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.19.2 to 2.20.2.
- [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.19.2...v2.20.2)

---
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-10-19 09:02:18 +00:00
dependabot[bot] 7debffa490 Bump github.com/spf13/cobra from 1.5.0 to 1.6.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/spf13/cobra/releases)
- [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 09:02:07 +00:00
dependabot[bot] 4ec4a31f4d Bump go.opentelemetry.io/otel/exporters/jaeger from 1.10.0 to 1.11.0
Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.10.0 to 1.11.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.10.0...v1.11.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-10-19 11:01:27 +02:00
dependabot[bot] bee16e783f Bump stash.kopano.io/kgol/rndm from 1.1.1 to 1.1.2
Bumps stash.kopano.io/kgol/rndm from 1.1.1 to 1.1.2.

---
updated-dependencies:
- dependency-name: stash.kopano.io/kgol/rndm
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 11:00:16 +02:00
Willy Kloucek ca5affd9f3 fix comment 2022-10-19 10:25:54 +02:00
Willy Kloucek ad0924d874 move the language-read-write permission's id and name into a const 2022-10-19 09:00:33 +02:00
Artur Neumann 10fc80b2ff Merge pull request #4713 from owncloud/refactorExpectedFailureForCoreApiTests
[tests-only][full-ci]Refactor expected-failure-api-on-ocis-file
2022-10-19 12:09:45 +05:45
amrita 66269eb5e9 Refactor expected-failure file for closed issue 2022-10-19 11:06:09 +05:45
Jörn Friedrich Dreyer a48becd681 Automated changelog update [skip ci] 2022-10-18 11:45:26 +00:00
Jörn Friedrich Dreyer 9f4509fc56 [full-ci] bump reva to 203cc6b50853 (#4833)
* bump reva to 10aa01556e52

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

* bump core commit id

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

* bump reva to 203cc6b50853

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-10-18 13:45:01 +02:00
Amrita 5a98ce0b98 Merge pull request #4839 from owncloud/useGlobalDirVariable
[tests-only][full-ci]Use directory references from global dir variable in drone.star file
2022-10-18 15:59:04 +05:45
amrita 83607b372b Use global dir variable 2022-10-18 15:09:58 +05:45
Michael Barz 6fc20e0d5b Automated changelog update [skip ci] 2022-10-17 18:24:36 +00:00
Michael Barz d965f23fd9 Merge pull request #4815 from owncloud/requestID
harden drives api and improve logging
2022-10-17 20:23:50 +02:00
Michael Barz f84fbdd6ff corrections from code review 2022-10-17 17:22:33 +02:00
markv9401androot 5082e6c027 Add UserID to context during initial login (#4829)
* Add UserID to context during initial login
UserID is also suffixed with "_init" so that own role assignment safety check is passed

Fixes: https://github.com/owncloud/ocis/issues/4787

* Fix missing gofmt -s bug

Co-authored-by: root <root@localhost.localdomain>
2022-10-17 17:03:39 +02:00
Viktor Scharf 333d48e658 add checking trash 2022-10-17 14:04:46 +02:00
Viktor Scharf 7fb7a8b6e1 [test-only] Apitest. Add checking parentId (#4763)
* add checking parentId

* add case where parent is space

* php style fix
2022-10-17 13:46:07 +02:00
Phil Davis f442970f12 Merge pull request #4831 from owncloud/bump-middleware-version
[tests-only][full-ci]Bump middleware version to v1.8.2
2022-10-17 13:12:24 +05:45
Swikriti Tripathi c728ed31a9 Bump middleware version to v1.8.2 2022-10-17 12:28:30 +05:45
Phil Davis 8a90ebb3a0 Merge pull request #4816 from owncloud/overwriteFile
[test-only] Api-test. Overwriting a file while coping and moving
2022-10-17 10:34:57 +05:45
Michael Barz 0b7297d1b4 harden drives api and improve logging 2022-10-16 00:38:44 +02:00
Andre Duffeck c260f6594d Automated changelog update [skip ci] 2022-10-14 15:03:38 +00:00
Andre Duffeck 5e220920f0 [full-ci] Rescan spaces (#4777)
* Increase the timeout for indexing spaces

* Allow for making queries that are not constrained to a RootID

* Use nano precision for the Mtime

* Add a SpaceDebouncer

The debouncer can be used to delay operations on spaces until things
have settled down to avoid doing the same operation multiple times.

* Do not index subtrees until they have changed (i.e. the mtime differs)

* Also pass a user to the space debouncer func

* Trigger a rescan of the according space when an event is received

* Improve wording/logging

* Add changelog

* Get rid of superfluous GetUserByClaim call

* Fix tests

* Fix reindexing triggered by shares by using the event's SpaceOwner

* Bump reva to pull in the space owner events changes

* Fix changelog

* Fix linter issues

* Fall back to the executant if no owner was received from the event

* Bump reva and go-cs3apis

* Fix go.sum

* Bump core

* Adapt expected failures

* Tweak debounce settings
2022-10-14 17:03:05 +02:00
Willy Kloucek 6abf2d901b Automated changelog update [skip ci] 2022-10-14 09:49:08 +00:00
Viktor Scharf 07dc73f382 Overwriting a file while moving and moving 2022-10-14 11:48:20 +02:00
Willy Kloucek e6d1164a46 Merge pull request #4825 from wkloucek/remove-storage-system-events
remove storage-system events
2022-10-14 11:48:13 +02:00
Willy Kloucek ab69ef7926 add changelog 2022-10-14 11:14:20 +02:00
Willy Kloucek 308fd005aa remove storage-system events 2022-10-14 11:09:15 +02:00
David Christofas a9695662e5 Merge pull request #4817 from owncloud/dependabot/go_modules/golang.org/x/text-0.3.8
Bump golang.org/x/text from 0.3.7 to 0.3.8
2022-10-14 10:01:37 +02:00
Willy Kloucek 42da324925 Merge pull request #4810 from wkloucek/deployment-example-wopi-recovery
persist wopi recovery path
2022-10-14 09:50:20 +02:00
dependabot[bot] ca32ec779c Bump golang.org/x/text from 0.3.7 to 0.3.8
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-14 07:23:10 +00:00
David Christofas 660c4b94ae Merge pull request #4806 from owncloud/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.3.1
Bump github.com/onsi/ginkgo/v2 from 2.2.0 to 2.3.1
2022-10-14 09:21:53 +02:00
Artur Neumann 2bfa36b69f Merge pull request #4813 from owncloud/bump-core-commit-id-for-tests-oct-13-2022
[tests-only] bump ownCloud core commit id for the tests
2022-10-14 09:13:00 +05:45
Phil Davis fd6ff7c48e Merge pull request #4814 from owncloud/fix-multistatus-scenario-fail-reason
[tests-only] remove closed issue pin from the expected failures and update with the relevant one
2022-10-14 04:01:50 +05:45
Florian Schade debddad1b0 Automated changelog update [skip ci] 2022-10-13 15:57:10 +00:00
Florian Schade 5eb43fbbe2 Merge pull request #4809 from wkloucek/dont-cache-web-index-html
don't cache the web index.html
2022-10-13 17:56:34 +02:00
Christian Richter cc2602137e Automated changelog update [skip ci] 2022-10-13 15:04:58 +00:00
Christian Richter 7ff04c46da Merge pull request #4799 from dragonchaser/improve-email-tempalting
refactor templating, add subject templating
2022-10-13 17:04:26 +02:00
Florian Schade 2bc0f717f1 fix changelog 2022-10-13 16:41:11 +02:00
Florian Schade 3d84e8fc36 add changelog 2022-10-13 16:41:11 +02:00
Florian Schade ff4f160fdc disable cache for certain resources and respect try_files 2022-10-13 16:41:11 +02:00
Willy Kloucek fbf1eeb4c5 don't cache the web index.html 2022-10-13 16:41:11 +02:00
Christian Richter b4caf6397c refactor templating, add subject templating
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-10-13 14:29:11 +02:00
Kiran Parajuli 4b752b0dd6 [tests-only] remove closed issue pin from the expected failures and update with the relevant one
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-10-13 17:24:15 +05:45
Jörn Friedrich Dreyer 968d26f0d6 Automated changelog update [skip ci] 2022-10-13 11:09:05 +00:00
Jörn Friedrich Dreyer 2197489c26 enable request tracking prometheus middleware in reva (#4571)
* enable request tracking prometheus middleware in reva

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

* enable metrics for ocdav

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-10-13 13:08:34 +02:00
Martin 99d71971d7 Merge pull request #4740 from owncloud/update_env_descriptions
Improving the description for several environemt variables
2022-10-13 12:54:50 +02:00
Kiran Parajuli 74ab2a1ba5 [tests-only] bump ownCloud core commit id for the tests
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-10-13 16:17:31 +05:45
dependabot[bot] fee0d2d6b5 Bump github.com/onsi/ginkgo/v2 from 2.2.0 to 2.3.1
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.2.0 to 2.3.1.
- [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.2.0...v2.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 10:29:16 +00:00
dependabot[bot] 5d50ebe152 Bump github.com/onsi/gomega from 1.21.1 to 1.22.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.21.1 to 1.22.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.21.1...v1.22.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 12:27:54 +02:00
mmattel 6edb44fa83 Improving the description for several environemt variables 2022-10-13 12:07:46 +02:00
Willy Kloucek e78ff950f8 persist wopi recovery path 2022-10-13 11:40:23 +02:00
Prarup Gurung 696555c27c Merge pull request #4805 from owncloud/fix-expected-failures
[full-ci] [tests-only] Removed lines from expected failures
2022-10-13 14:36:13 +05:45
dependabot[bot] 7daedecebc Bump github.com/tus/tusd from 1.9.2 to 1.10.0
Bumps [github.com/tus/tusd](https://github.com/tus/tusd) from 1.9.2 to 1.10.0.
- [Release notes](https://github.com/tus/tusd/releases)
- [Commits](https://github.com/tus/tusd/compare/v1.9.2...v1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-13 09:25:25 +02:00
Prarup Gurung a5c5866a54 Removed lines from expected failures 2022-10-13 12:30:10 +05:45
David Christofas 7baa8c40dc Automated changelog update [skip ci] 2022-10-12 16:09:50 +00:00
David Christofas fb0aa54f07 Merge pull request #4800 from owncloud/nats-tls
add nats tls insecure flags to ocis init
2022-10-12 18:09:23 +02:00
David Christofas a00dd85a2f Merge pull request #4780 from owncloud/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.9.3
Bump github.com/nats-io/nats-server/v2 from 2.9.2 to 2.9.3
2022-10-12 17:49:35 +02:00
David Christofas ab5ceb1928 add nats tls insecure flags to ocis init 2022-10-12 17:24:16 +02:00
dependabot[bot] 875e75d58e Bump github.com/nats-io/nats-server/v2 from 2.9.2 to 2.9.3
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.9.2 to 2.9.3.
- [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.9.2...v2.9.3)

---
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-10-12 14:38:59 +00:00
David Christofas d45264748c Merge pull request #4768 from owncloud/dependabot/go_modules/gotest.tools/v3-3.4.0
Bump gotest.tools/v3 from 3.3.0 to 3.4.0
2022-10-12 16:32:32 +02:00
dependabot[bot] 16e6bea917 Bump gotest.tools/v3 from 3.3.0 to 3.4.0
Bumps [gotest.tools/v3](https://github.com/gotestyourself/gotest.tools) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/gotestyourself/gotest.tools/releases)
- [Commits](https://github.com/gotestyourself/gotest.tools/compare/v3.3.0...v3.4.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-10-12 12:59:54 +00:00
David Christofas a275c1c4ef Automated changelog update [skip ci] 2022-10-12 12:59:38 +00:00
David Christofas 4623b6c8e7 Nats tls (#4781)
* use tls for nats connections

* add config options for nats client tls config

* add nats tls config to CI

* add function to create a certpool

* add option to provide a rootCA to validate the server's TLS certificate

* add option to provide a rootCA to validate the server's TLS certificate

* add option to provide a rootCA to validate the server's TLS certificate

* add option to provide a rootCA to validate the server's TLS certificate

* configure nats clients in reva to use tls
2022-10-12 14:56:47 +02:00
Michael Barz 24807bbac8 Automated changelog update [skip ci] 2022-10-12 08:40:29 +00:00
Michael Barz e85999c693 Merge pull request #4786 from owncloud/update-web-6.0.0-rc.2
Update web to v6.0.0-rc.2
2022-10-12 10:40:00 +02:00
Jannik Stehle ae982e2002 Update web to v6.0.0-rc.2 2022-10-12 09:48:09 +02:00
Ralf Haferkamp b5bb6980e2 Fix condition for registry cache
We want caching for all registries except "memory".
2022-10-12 09:28:05 +02:00
Michael Barz 2f5cba2acb Automated changelog update [skip ci] 2022-10-11 20:05:45 +00:00
Michael Barz 6babe83654 Merge pull request #4779 from owncloud/update-web-6.0.0-rc.1
[full-ci] Update web to v6.0.0-rc.1
2022-10-11 22:01:24 +02:00
Benedikt Kulmann 8d26bf0329 fix changelog issue refs and add breaking change warning 2022-10-11 21:02:32 +02:00
Benedikt Kulmann de0b8f8ee3 Revert "Set the alias link capability to false"
This reverts commit 492ac5ced4.
2022-10-11 20:55:17 +02:00
Michael Barz ead886e353 more expected failures fixes and line number changes 2022-10-11 20:46:06 +02:00
Jannik Stehle 8a5d3bfe73 Adjust more expected acceptance test failures 2022-10-11 15:21:50 +02:00
Jannik Stehle 5be83e204f Fix xpath selector for files space table 2022-10-11 15:16:15 +02:00
Jannik Stehle bd9eee17f5 Adjust expected acceptance test failures 2022-10-11 15:14:49 +02:00
Jannik Stehle 95cb4b5351 Update web to v6.0.0-rc.1 2022-10-11 13:37:29 +02:00
David Christofas 460f16ea0e Merge pull request #4778 from owncloud/dependabot/go_modules/github.com/urfave/cli/v2-2.19.2
Bump github.com/urfave/cli/v2 from 2.17.1 to 2.19.2
2022-10-11 12:08:07 +02:00
dependabot[bot] 7388bcb44d Bump github.com/urfave/cli/v2 from 2.17.1 to 2.19.2
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.17.1 to 2.19.2.
- [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.17.1...v2.19.2)

---
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-10-11 08:54:08 +00:00
David Christofas e7189ab71f Merge pull request #4769 from owncloud/dependabot/go_modules/github.com/go-micro/plugins/v4/server/http-1.1.1
Bump github.com/go-micro/plugins/v4/server/http from 1.1.0 to 1.1.1
2022-10-11 10:52:15 +02:00
Michael Barz cfd3e9fab7 fix master branch 2022-10-10 17:26:01 +02:00
Michael Barz 9f24b0e2ad Automated changelog update [skip ci] 2022-10-10 15:10:55 +00:00
Michael Barz c0c583063e remove wrong changelog [skip-ci] 2022-10-10 17:10:18 +02:00
Michael Barz dbc18da00f Automated changelog update [skip ci] 2022-10-10 15:08:49 +00:00
Michael Barz dd6c60d548 fix base url for drives webURL 2022-10-10 17:07:32 +02:00
Swikriti Tripathi 69ac7b6944 [tests-only][full-ci]Bump core commit id for tests (#4767)
* Bump core commit id for tests

* update expected to fail file
2022-10-10 16:55:20 +05:45
Willy Kloucek 381b6f8ac2 Automated changelog update [skip ci] 2022-10-10 09:20:46 +00:00
Willy Kloucek 7b8669b9d9 Merge pull request #4751 from wkloucek/add-curl-to-image
add curl to the oCIS OCI image
2022-10-10 11:20:17 +02:00
Willy Kloucek cdd2a9306f Merge pull request #4755 from wkloucek/update-deployment-examples
update deployment examples, especially the wopi example
2022-10-10 11:14:31 +02:00
dependabot[bot] 2e6692a86e Bump github.com/go-micro/plugins/v4/server/http from 1.1.0 to 1.1.1
Bumps [github.com/go-micro/plugins/v4/server/http](https://github.com/go-micro/plugins) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v4/auth/jwt/v1.1.0...v4/server/grpc/v1.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 08:37:53 +00:00
dependabot[bot] dbf606372a Bump github.com/onsi/gomega from 1.20.2 to 1.21.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.20.2 to 1.21.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.20.2...v1.21.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 10:37:34 +02:00
dependabot[bot] ad701309af Bump google.golang.org/grpc from 1.49.0 to 1.50.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.49.0 to 1.50.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.49.0...v1.50.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-10-10 10:35:22 +02:00
Michael Barz 7daf3c378d Automated changelog update [skip ci] 2022-10-07 11:27:06 +00:00
Michael Barz 4c64a7b014 Merge pull request #4757 from owncloud/report-parentid
index and return parentid in search report
2022-10-07 13:25:57 +02:00
Jörn Friedrich Dreyer 1bb7d57caf index and return parentid in search report
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-10-07 10:52:14 +00:00
Willy Kloucek 84af5cf4e1 configure wopi folder url 2022-10-07 09:54:54 +02:00
Willy Kloucek e69d2e9a06 update deployment examples, especially the wopi example 2022-10-07 09:50:06 +02:00
Willy Kloucek 503c8a38eb add curl to the oCIS OCI image 2022-10-07 07:14:37 +02:00
ownClouders c4b09b0e02 [tx] updated from transifex 2022-10-07 00:50:05 +00:00
Michael Barz 82e29baeb2 Automated changelog update [skip ci] 2022-10-06 21:47:32 +00:00
Michael Barz 5c4018f980 Merge pull request #4750 from owncloud/update-reva-egde
[full-ci] update reva to latest edge
2022-10-06 23:46:49 +02:00
Michael Barz 2782859cd7 update reva to latest edge 2022-10-06 17:13:13 +02:00
Willy Kloucek 1551d442e6 Automated changelog update [skip ci] 2022-10-06 08:03:01 +00:00
de76dc72d4 fix env variables for JSONCS3 public driver configuration (#4593)
* fix env variables for JSONCS3 public driver configuration

* Update services/sharing/pkg/config/config.go

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* extend list of available sharing drivers

* add changelog

Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-10-06 10:02:31 +02:00
Michael Barz fc8d49d01b Automated changelog update [skip ci] 2022-10-05 07:27:21 +00:00
Michael Barz a92331668f Merge pull request #4716 from owncloud/wopi-driver-improvements
[full-ci] update reva, wopi folderurl
2022-10-05 09:22:05 +02:00
Ralf Haferkamp 083b9897a0 proxy: Use reva provided method for getting Gateway Client
This removes some duplicated code. And reuses the reva client code
we're also using everywhere else.
2022-10-05 08:45:05 +02:00
Michael Barz ad7b94a543 update reva, wopi folderurl 2022-10-04 18:30:00 +02:00
David Christofas 1b0ec2c9d5 update module path of ttlcache (#4738)
The GitHub repository of ttlcache has been moved from ReneKroon to jellydator.
2022-10-04 17:33:53 +02:00
Jörn Friedrich DreyerandMartin e9e9947f88 bring back CORS env vars (#4723)
* bring back CORS env vars

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

* update CORS descriptions

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

* align writing of 'A comma-separated ...'

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

* fix some desc quotes

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

* Apply suggestions from code review

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

* Apply more suggestions from code review

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

* Apply final suggestions from code review

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Martin <github@diemattels.at>
2022-10-04 16:56:05 +02:00
David Christofas 1008e39ac6 Merge pull request #4735 from owncloud/dependabot/go_modules/go-micro.dev/v4-4.9.0
Bump go-micro.dev/v4 from 4.8.1 to 4.9.0
2022-10-04 16:20:30 +02:00
David Christofas 3babaf1a4d remove the graph-explorer servier from ocis (#4733) 2022-10-04 15:55:30 +02:00
dependabot[bot] 3ed706ae7f Bump go-micro.dev/v4 from 4.8.1 to 4.9.0
Bumps [go-micro.dev/v4](https://github.com/go-micro/go-micro) from 4.8.1 to 4.9.0.
- [Release notes](https://github.com/go-micro/go-micro/releases)
- [Changelog](https://github.com/go-micro/go-micro/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-micro/go-micro/compare/v4.8.1...v4.9.0)

---
updated-dependencies:
- dependency-name: go-micro.dev/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 13:44:41 +00:00
David Christofas 3e43f414b6 Merge pull request #4734 from owncloud/dependabot/go_modules/github.com/urfave/cli/v2-2.17.1
Bump github.com/urfave/cli/v2 from 2.16.3 to 2.17.1
2022-10-04 15:43:04 +02:00
dependabot[bot] 8632ff1fb3 Bump github.com/urfave/cli/v2 from 2.16.3 to 2.17.1
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.16.3 to 2.17.1.
- [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.16.3...v2.17.1)

---
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-10-04 12:37:22 +00:00
David Christofas 40fa355955 Merge pull request #4693 from owncloud/dependabot/go_modules/github.com/MicahParks/keyfunc-1.4.0
Bump github.com/MicahParks/keyfunc from 1.3.0 to 1.4.0
2022-10-04 14:36:59 +02:00
David Christofas 43099da8da Merge pull request #4720 from owncloud/dependabot/go_modules/github.com/nats-io/nats-server/v2-2.9.2
Bump github.com/nats-io/nats-server/v2 from 2.9.1 to 2.9.2
2022-10-04 14:36:15 +02:00
Jörn Friedrich Dreyer c0ecf606f4 Automated changelog update [skip ci] 2022-10-04 12:08:01 +00:00
Jörn Friedrich Dreyer b257ba6664 Fix cache config and search logging (#4732)
* make share event logging more distinguishable

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

* fix cache stat table config

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

* add changelog

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-10-04 14:07:11 +02:00
Jannik Stehle 84a775dcc3 Automated changelog update [skip ci] 2022-10-04 07:22:44 +00:00
Jannik Stehle e053f70950 Fix unit tests 2022-10-04 09:18:36 +02:00
Jannik Stehle dd2abc94ee Make the tokeninfo endpoint unprotected as it is supposed to be available to the public 2022-10-04 09:18:36 +02:00
dependabot[bot] 17d313709b Bump github.com/nats-io/nats-server/v2 from 2.9.1 to 2.9.2
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.9.1 to 2.9.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.9.1...v2.9.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-10-04 07:17:03 +00:00
Michael Barz f91a0b45a5 Automated changelog update [skip ci] 2022-09-30 11:19:17 +00:00
Michael Barz 499148ce23 update reva (#4719) 2022-09-30 13:15:17 +02:00
Swikriti Tripathi ef70d74fd0 Bump core commit id for tests (#4721) 2022-09-30 14:04:49 +05:45
Michael Barz 2ca55ba520 Automated changelog update [skip ci] 2022-09-29 14:51:06 +00:00
Michael Barz fd6a0702ff Merge pull request #4702 from rhafer/issue/4692
[full-ci] Do not start auth-bearer service by default
2022-09-29 16:49:10 +02:00
Ralf Haferkamp f26247b2a4 Automated changelog update [skip ci] 2022-09-29 14:26:47 +00:00
Ralf Haferkamp c6664cfe61 Fix share/space link in notification mail
Use OCIS_URL as the link base. This change also makes sure that the
top-level OcisURL config value gets a default assigned, even when
OCIS_URL is unset.

Fixes: #4688
2022-09-29 16:26:21 +02:00
Ralf Haferkamp de1588843a Fix notifications for group grantees
For looking up group members we need to pass an authenticated reva context via
the notification interface. We use the share owner's context that we generated
when stating the share target.

Fixes: #4703
2022-09-29 16:26:21 +02:00
Ralf Haferkamp f71f7c7521 Fix grantee lookup for Share/Space Created event for groups
'ShareCreated' and 'SpaceCreate' events for group shares have an empty
GranteeUserID attribute. We need to lookup the GranteeGroup to get the Grantee
Name for the notification mail

Partial Fix: #4703
2022-09-29 16:26:21 +02:00
Phil Davis 3b95dcc545 Merge pull request #4710 from owncloud/remove-propfind-method
[tests-only] Remove the propfind method
2022-09-29 14:53:34 +05:45
Swikriti Tripathi 2957ec37aa Remove the propfind method 2022-09-29 12:40:02 +05:45
Swikriti Tripathi 10955e52a5 Fix path name in ocis_s3 docs (#4709) 2022-09-29 12:37:50 +05:45
Phil Davis befe442454 Merge pull request #4707 from owncloud/balance-local-api-test-pipelines
[full-ci] [tests-only] `share` related tests separated to `apiSpacesShares` suite
2022-09-29 11:45:26 +05:45
Phil Davis a7205fc91d Merge pull request #4708 from owncloud/fix-docs-nfs-share
[docs-only]Improve the documentation for NFS share
2022-09-29 11:42:19 +05:45
Prarup Gurung 46cd7b45f4 shares jail spaces related tests separated to apiSpacesShares suite 2022-09-29 10:53:59 +05:45
Artur Neumann f39463b2fe Merge pull request #4696 from owncloud/refactorOcisClosedIssue2768
[tests-only][full-ci]Refactor download archive related scenario
2022-09-29 10:38:35 +05:45
Swikriti Tripathi 9b04d430da Improve the documentation for NFS share 2022-09-29 09:47:10 +05:45
dependabot[bot] ceea696166 Bump github.com/xhit/go-simple-mail/v2 from 2.11.0 to 2.12.0
Bumps [github.com/xhit/go-simple-mail/v2](https://github.com/xhit/go-simple-mail) from 2.11.0 to 2.12.0.
- [Release notes](https://github.com/xhit/go-simple-mail/releases)
- [Commits](https://github.com/xhit/go-simple-mail/compare/v2.11.0...v2.12.0)

---
updated-dependencies:
- dependency-name: github.com/xhit/go-simple-mail/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-28 15:03:08 +02:00
Ralf Haferkamp 5d121b4bad Do not start auth-bearer service by default
The auth-bearer service is currently not needed by ocis. Reva tookens
for oidc authenticated clients are currently minted via the auth-machine
service.  This commit does not completely remove the service as we shoud
consider to rework the proxy's oidc middleware to use the auth-bearer
service in the future (see #4701)

Fixes: #4692
2022-09-28 12:11:06 +02:00
amrita 838957c641 Refactor expected-failure-file and closed issue related scenario 2022-09-28 11:25:35 +05:45
Ralf Haferkamp 080feb672f Automated changelog update [skip ci] 2022-09-28 01:02:17 +00:00
Ralf Haferkamp 371295ca95 Automated changelog update [skip ci] 2022-09-27 19:54:32 +00:00
Ralf Haferkamp e4c28def8a Request revatoken via machine auth after autoprovsioning user (#4690)
To successfully authenticate a user after it was autoprovisioned, we
need to get a valid reva token.

Fixes: #4616
2022-09-27 21:51:18 +02:00
Ralf Haferkamp 5eaf0dfe7b Bump reva (#4694)
To get https://github.com/cs3org/reva/pull/3240
2022-09-27 20:38:08 +02:00
Pascal Wengerter 6bf7137c0c Bump nodejs in CI to v16 (#4062) 2022-09-27 18:56:14 +02:00
Willy Kloucek eb8748a3b1 Automated changelog update [skip ci] 2022-09-27 16:52:54 +00:00
Willy Kloucek 0a46ef0b0b bring back the settings ui (#4691) 2022-09-27 18:50:45 +02:00
Jörn Friedrich Dreyer 6d8edc2986 Automated changelog update [skip ci] 2022-09-27 15:55:02 +00:00
dependabot[bot] a76757919d Bump github.com/MicahParks/keyfunc from 1.3.0 to 1.4.0
Bumps [github.com/MicahParks/keyfunc](https://github.com/MicahParks/keyfunc) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/MicahParks/keyfunc/releases)
- [Commits](https://github.com/MicahParks/keyfunc/compare/v1.3.0...v1.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 15:54:02 +00:00
Jörn Friedrich Dreyer 77d14ff79c update reva to 20220926161629
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-27 17:52:49 +02:00
PKiran 05dbf36265 Merge pull request #4655 from owncloud/ci-fix-yarn-cache
[ci] fix restore for web cache
2022-09-27 19:20:48 +05:45
AmritaandSwikriti Tripathi a67e354eb4 [full-ci][tests-only]Run ocis tests without testing-app (#4560)
* Run ocis tests without testing-app

* add failing tests in expected to fail

Co-authored-by: Swikriti Tripathi <swikriti808@gmail.com>
2022-09-27 16:45:43 +05:45
dependabot[bot] c119aacf2c 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.36.0 to 0.36.1.
- [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.36.0...zpages/v0.36.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 12:14:07 +02:00
Kiran Parajuli 9062e891c6 Check for all web related existing cache before generating
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-09-27 15:04:02 +05:45
dependabot[bot] d0b069dfb3 Bump github.com/MicahParks/keyfunc from 1.2.2 to 1.3.0
Bumps [github.com/MicahParks/keyfunc](https://github.com/MicahParks/keyfunc) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/MicahParks/keyfunc/releases)
- [Commits](https://github.com/MicahParks/keyfunc/compare/v1.2.2...v1.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-27 11:02:27 +02:00
Andre Duffeck 6ca8a04311 Automated changelog update [skip ci] 2022-09-27 08:42:02 +00:00
Andre Duffeck eaba396394 Fix unfindable entities (#4651)
* Fix unfindable entities from shares/publicshares

Directories or empty files weren't added to the search index properly
because they were indexed relative to the share instead of the space
root.

Fixes https://github.com/owncloud/ocis/issues/4489

* Add changelog

* Fix tests

* Reuse existing authorized context
2022-09-27 10:39:42 +02:00
Andre Duffeck 68b17eb68d Search dav spaces (#4661)
* Add a Ref option to SearchRequest, e.g. for limiting the search to a space

* Enable REPORT requests for /dav/spaces URLs

* Limit the search to the according space in case of /dav/spaces searches

* Add changelog

* Adapt expected failures

* Comment exported functions
2022-09-27 10:38:15 +02:00
Ralf Haferkamp 918bc85879 Bump reva to latest edge (#4660)
Fixes: #4628, #4657
2022-09-27 10:36:42 +02:00
Christian Richter 0a5cf2b864 Merge pull request #4665 from owncloud/fix_adoc_table_generation
[docs] Add a blank to type and default value pass thru
2022-09-27 07:58:23 +02:00
mmattel df1fb9b020 Add a blank to type and default value pass thru 2022-09-26 17:32:44 +02:00
Ralf Haferkamp 8f2bf0ed9c Default to in-memory registry in single-binary mode
This avoids various issues of the old "mdns" default. At least for the simple
single process setup (#3134, #4597). When starting the services individually we
still default to "mdns".
2022-09-26 16:25:56 +02:00
Ralf Haferkamp 01650a5023 Use lazy initialization for the default grpc client
This avoids using a public global variable. It allows us to initialize
the default client a bit later (outside of init()). That way we can e.g.
properly initialize the in-memory registry.
2022-09-26 16:25:56 +02:00
Jörn Friedrich Dreyer 0ae75f8e66 update storage docs (#4663)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-26 15:11:01 +02:00
Jörn Friedrich Dreyer 7116145a04 Automated changelog update [skip ci] 2022-09-26 11:44:25 +00:00
Jörn Friedrich Dreyer 49376178e9 configure reva micro cache store (#4627)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-26 13:43:53 +02:00
Michael Barz 9bb7a0663f Automated changelog update [skip ci] 2022-09-26 09:25:34 +00:00
Michael Barz 9ef2f742a2 Merge pull request #4615 from rhafer/issue/3713
Restrict admins from self-removal
2022-09-26 11:24:47 +02:00
David Christofas c918813bee Automated changelog update [skip ci] 2022-09-26 09:20:31 +00:00
David Christofas f3a6f92dd6 Merge pull request #4601 from wkloucek/remove-default-insecure
change the default value for PROXY_OIDC_INSECURE to false
2022-09-26 11:19:10 +02:00
dependabot[bot] 35bf9bde1f Bump github.com/nats-io/nats-server/v2 from 2.9.0 to 2.9.1
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.9.0 to 2.9.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.9.0...v2.9.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-09-26 11:04:03 +02:00
Willy Kloucek 83dcf32584 Automated changelog update [skip ci] 2022-09-26 08:41:24 +00:00
Willy Kloucek 6a0a96d031 Merge pull request #4652 from wkloucek/notifications-config-fix
fix notifications config
2022-09-26 10:37:37 +02:00
Willy Kloucek c997e50b8d add insecure option to ocis init 2022-09-26 09:26:04 +02:00
Willy Kloucek 569ffd41f8 Merge branch 'master' into remove-default-insecure 2022-09-26 08:59:18 +02:00
Willy Kloucek 840df9c142 add changelog 2022-09-26 08:30:09 +02:00
Willy Kloucek e4dc458b3e remove extra <> 2022-09-26 08:25:01 +02:00
Artur Neumann fcff2b1724 Merge pull request #4649 from owncloud/remove-duplicated-expected-failures-lines
[tests-only] Remove duplicated lines in expected-failures files
2022-09-26 09:27:01 +05:45
Willy Kloucek 89dd329280 fix notifications config 2022-09-23 15:44:33 +02:00
Phil Davis 19702285cb [tests-only] Remove duplicated lines in expected-failures files 2022-09-23 17:36:22 +05:45
Willy Kloucek cb041b8a14 Automated changelog update [skip ci] 2022-09-23 10:10:32 +00:00
Willy Kloucek a10047c2bc Merge pull request #4634 from owncloud/thumbnail-support-tiff-bmp
add thumbnail support for tiff and bmp files
2022-09-23 12:10:05 +02:00
David Christofas 3914f644e6 add tiff and bmp to the preview app config 2022-09-23 10:43:06 +02:00
Willy Kloucek 8167d02462 Automated changelog update [skip ci] 2022-09-23 08:11:18 +00:00
Willy Kloucek 1d127842cc Merge pull request #4622 from owncloud/dependabot/go_modules/go.opentelemetry.io/otel/exporters/jaeger-1.10.0
Bump go.opentelemetry.io/otel/exporters/jaeger from 1.9.0 to 1.10.0
2022-09-23 10:10:31 +02:00
Willy Kloucek 58c5d5513b Merge pull request #4625 from owncloud/dependabot/go_modules/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc-0.36.0
Bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.34.0 to 0.36.0
2022-09-23 10:10:03 +02:00
Ralf Haferkamp cc53071f63 Forbid to remove own user account
And admin user is no longer allowed to remove its own user account.
This to prevent admins from locking themselves out.

Fixes: #3713
2022-09-23 09:13:46 +02:00
Ralf Haferkamp 87eaf72020 Forbid to edit/remove own role assignements
And admin user is no longer allowed to edit/remove its own assignments.
This to prevent admins from locking themselves out.

Fixes: #3713
2022-09-23 09:13:46 +02:00
Phil Davis ca66a9f751 Merge pull request #4614 from owncloud/check-for-mentioned-issue-for-test
[tests-only][full-ci]Check for issue not mentioned to a test
2022-09-23 07:57:46 +05:45
Phil Davis 4b4ca72e3a Remove passing web tests from expected-failures 2022-09-22 21:41:18 +05:45
Martin bbbeca4d07 Merge pull request #4639 from owncloud/env_variable_text_update
Update Notification Service eMail Template env var description
2022-09-22 16:10:01 +02:00
sagargurung1001@gmail.com 3ecabca8ac Check for issue not mentioned to a test 2022-09-22 18:32:20 +05:45
mmattel 7315dac100 Update Notification Service eMail Template env var text string 2022-09-22 14:26:32 +02:00
David Christofas a5521161f8 Automated changelog update [skip ci] 2022-09-22 12:03:20 +00:00
David Christofas d7b6ecfaff Merge pull request #4564 from dragonchaser/email-template
Add email templating
2022-09-22 14:02:36 +02:00
Christian Richter e96ab9f9c8 incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 13:13:30 +02:00
David Christofas 13b2b1603b Automated changelog update [skip ci] 2022-09-22 09:14:04 +00:00
David Christofas 91c2dad034 Merge pull request #4631 from owncloud/wopi-public-shares
fix wopi access to publicly shared files
2022-09-22 11:13:15 +02:00
Christian Richter 7a8e1b8106 backport url.JoinPath for go1.18
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:39:50 +02:00
Christian Richter 6c6640959c add changelog
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:39:50 +02:00
Christian Richter 94024125fb enhance templating
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter 0422af2a11 handle spaceshared event
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter c2ef67f661 fix SpacesShared
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter 8e0b07b200 add share url to email text
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter 6ea8623b55 add email subject
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter daaa08aa09 bugfixes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter 70690a318d add space notification
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter 22369b33f5 make email templates configurable
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian Richter 817ac00393 embedd templates
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-09-22 09:38:11 +02:00
Christian RichterandJörn Dreyer acdfbabd47 add email templating
Signed-off-by: Christian Richter <crichter@owncloud.com>
Co-authored-by: Jörn Dreyer <jfd@butonic.de>
2022-09-22 09:38:11 +02:00
David Christofas 20026faac2 fix wopi access to publicly shared files 2022-09-22 08:27:41 +02:00
Phil Davis 131988ac6a Merge pull request #4629 from rhafer/issue/4474
[full-ci] Bump reva to get fix for #4474
2022-09-22 09:50:09 +05:45
David Christofas 0d1d9f2f25 add thumbnail support for tiff and bmp files 2022-09-22 01:30:49 +02:00
Ralf Haferkamp f8126b19d6 Bump reva to get fix for #4474
Fixes: #4474
2022-09-21 19:37:46 +02:00
dependabot[bot] 92edc63f8e 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.34.0 to 0.36.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.34.0...zpages/v0.36.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-09-21 10:14:08 +00:00
dependabot[bot] fe0210d3e6 Bump github.com/onsi/ginkgo/v2 from 2.1.6 to 2.2.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.1.6 to 2.2.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.1.6...v2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 12:12:48 +02:00
dependabot[bot] 837e49fcbe Bump go.opentelemetry.io/otel/exporters/jaeger from 1.9.0 to 1.10.0
Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.9.0 to 1.10.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.9.0...v1.10.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-09-21 07:54:40 +00:00
dependabot[bot] 343feef176 Automated changelog update [skip ci] 2022-09-21 07:54:07 +00:00
dependabot[bot] 1d5bff0962 Bump github.com/nats-io/nats-server/v2 from 2.8.4 to 2.9.0
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.8.4 to 2.9.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.8.4...v2.9.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-09-21 09:53:36 +02:00
dependabot[bot] 0742f708dd Automated changelog update [skip ci] 2022-09-21 07:22:09 +00:00
dependabot[bot] 1385bf8e26 Bump github.com/gookit/config/v2 from 2.1.5 to 2.1.6
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/gookit/config/releases)
- [Commits](https://github.com/gookit/config/compare/v2.1.5...v2.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 09:21:43 +02:00
dependabot[bot] d17a93ccca Bump go.opentelemetry.io/otel/sdk from 1.9.0 to 1.10.0
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.9.0 to 1.10.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.9.0...v1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 08:43:11 +02:00
dependabot[bot] 3f3abbba60 Automated changelog update [skip ci] 2022-09-21 06:39:01 +00:00
dependabot[bot] 7843dbf4bc Bump go.etcd.io/etcd/client/v3 from 3.5.2 to 3.5.5
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.2 to 3.5.5.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.amd64)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.2...v3.5.5)

---
updated-dependencies:
- dependency-name: go.etcd.io/etcd/client/v3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-21 08:38:18 +02:00
Amrita 28c631163d Merge pull request #4470 from owncloud/add-spaces-test-ocis-local
[full-ci] [tests-only] Move tests from `core` to `oCIS` related to `/Shares` of TUS upload
2022-09-21 10:23:07 +05:45
Prarup Gurung 59c4bd803f Added TUSUpload related tests for /Shares in ocis 2022-09-21 09:20:28 +05:45
Swikriti Tripathi 4da5cf6c23 Automated changelog update [skip ci] 2022-09-21 00:07:20 +00:00
Swikriti Tripathi a60b98c73a [tests-only][full-ci]Bump core commit id (#4613)
* Bump core commit id

* update expected to fail file
2022-09-20 13:19:32 +05:45
Martin a964520f7a Merge pull request #4609 from owncloud/fix_adoc_template
[Docs] Fixing the adoc template
2022-09-20 08:15:52 +02:00
mmattel c6075741eb [Docs] Fixing the adoc template 2022-09-19 10:59:54 +02:00
dependabot[bot] 08a8ed20c1 Bump github.com/gofrs/uuid from 4.2.0+incompatible to 4.3.0+incompatible
Bumps [github.com/gofrs/uuid](https://github.com/gofrs/uuid) from 4.2.0+incompatible to 4.3.0+incompatible.
- [Release notes](https://github.com/gofrs/uuid/releases)
- [Commits](https://github.com/gofrs/uuid/compare/v4.2.0...v4.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 09:28:36 +02:00
Juan Pablo Villafañez 6ee4a084a2 Use go-micro store to cache the roles (#4337)
* Use go-micro store to cache the roles

Add custom in-memory implementation

* replace redis with custom etcd implementation

* adjust table name for the cache in the roles manager

* Fix tests

* Fix sonarcloud issues

* Refactor for sonarcloud

* Allow configuration of cache per service

* Reuse parent context in etcd implementation
2022-09-16 15:42:47 +02:00
Willy Kloucek b8cce99e7a Automated changelog update [skip ci] 2022-09-16 11:39:36 +00:00
Willy Kloucek d7026566fe Merge pull request #4600 from wkloucek/fix-oidc-provider-cache
fix the oidc provider cache
2022-09-16 13:39:14 +02:00
Phil Davis 83a9be8421 Merge pull request #4577 from owncloud/reuse-core-code
[tests-only][full-ci]Reuse the core code
2022-09-16 17:04:29 +05:45
Willy Kloucek 71790089fd change insecure option defaulting to false 2022-09-16 12:40:24 +02:00
Willy Kloucek 2d16779652 fix the oidc provider cache 2022-09-16 12:34:12 +02:00
Swikriti Tripathi 0387e15d34 Reuse the core code 2022-09-16 15:40:51 +05:45
Michael Barz 29b5c976fa enable private links 2022-09-15 15:12:15 +02:00
Michael Barz 2ac074c186 Merge pull request #4596 from owncloud/remove-google-font
remove the Open Sans font
2022-09-15 14:50:33 +02:00
Michael Barz fbbbb82bda Automated changelog update [skip ci] 2022-09-15 12:10:41 +00:00
Michael Barz 5c94bf8dc3 Merge pull request #4590 from owncloud/3-fixes
[full-ci] add web url to graph api and update reva
2022-09-15 14:10:17 +02:00
David Christofas cb7d26d061 remove the Open Sans font 2022-09-15 13:39:26 +02:00
Michael Barz e092da586b add changelog 2022-09-15 11:58:31 +02:00
Michael Barz 810159c360 Merge pull request #4562 from owncloud/sharing-docs
[docs-only] update sharing docs
2022-09-15 10:48:08 +02:00
Michael Barz a129ea6abe fix unit tests 2022-09-15 10:42:00 +02:00
jkoberg 0ee2b7b33c add README to notifications service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-15 09:54:56 +02:00
dependabot[bot] 2d9fdf656b Bump github.com/coreos/go-oidc/v3 from 3.3.0 to 3.4.0
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/coreos/go-oidc/releases)
- [Commits](https://github.com/coreos/go-oidc/compare/v3.3.0...v3.4.0)

---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-15 09:38:22 +02:00
dependabot[bot] 5e259aa902 Bump go.opentelemetry.io/otel/trace from 1.9.0 to 1.10.0
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) from 1.9.0 to 1.10.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.9.0...v1.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-15 09:36:16 +02:00
Michael Barz 23da13b35f add web url to graph api and update reva 2022-09-15 09:30:36 +02:00
Phil Davis 2140fdd381 Merge pull request #4580 from owncloud/fixUndefinedStepForLocalApitestOcis
[tests-only][full-ci]Check for the undefined steps after update on core
2022-09-15 12:52:56 +05:45
sagargurung1001@gmail.com e826cf9e13 Implement undefined steps 2022-09-15 09:44:11 +05:45
Jörn Friedrich DreyerandPhil Davis 30b41dc21c Update docs/services/frontend/_index.md
Co-authored-by: Phil Davis <phil@jankaritech.com>
2022-09-14 17:45:36 +02:00
dependabot[bot] 4f06d9650b Bump github.com/urfave/cli/v2 from 2.14.0 to 2.16.3
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.14.0 to 2.16.3.
- [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.14.0...v2.16.3)

---
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-09-14 15:58:03 +02:00
Jörn Friedrich Dreyer b3254eb2fb Automated changelog update [skip ci] 2022-09-14 12:23:48 +00:00
Jörn Friedrich Dreyer d4d2fefb80 forward trace context in graph service (#4582)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-14 14:23:15 +02:00
David Christofas de6988c9bd Merge pull request #4576 from rhafer/issue/3829
Introduce "noop" go-micro broker
2022-09-14 13:47:43 +02:00
Ralf Haferkamp fffd49fc4e Introduce "noop" go-micro broker
This introduces a no op broker for go-micro. It is set as the default
broker for all ocis http services. To avoid starting the default http
broker, which opens an unused random http port.

Fixes: https://github.com/owncloud/ocis/issues/3829
2022-09-14 12:22:23 +02:00
David Christofas 41896fde34 Automated changelog update [skip ci] 2022-09-14 09:33:04 +00:00
David Christofas b71eeb9f54 Merge pull request #4578 from owncloud/web-configuration-applications
allow to configure applications for web
2022-09-14 11:32:14 +02:00
Jörn Friedrich Dreyer b1d3ba25aa Automated changelog update [skip ci] 2022-09-14 09:23:14 +00:00
Jörn Friedrich Dreyer 2d445c6e95 fix search report webdav permissions (#4579)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-14 11:22:51 +02:00
Willy Kloucek 1caffa3bb8 allow to configure applications for web 2022-09-14 10:09:38 +02:00
Michael Barz 23cda855d2 Merge pull request #4573 from aduffeck/jsoncs3-cache-ttl
[full-ci] Make the jsoncs3 cache ttl configurable, bump reva
2022-09-13 20:56:15 +02:00
André Duffeck 0c4074239e Bump reva 2022-09-13 16:26:11 +02:00
André Duffeck e0aab33ca2 Fix test expectations 2022-09-13 16:25:46 +02:00
André Duffeck 6bcf17a7cc Add config variable for configuring the jsoncs3 share manager cache ttl 2022-09-13 16:25:46 +02:00
David Christofas 7faca11562 Merge pull request #4551 from owncloud/dependabot/go_modules/github.com/tus/tusd-1.9.2
Bump github.com/tus/tusd from 1.9.1 to 1.9.2
2022-09-13 15:37:14 +02:00
Michael Barz ea5db10d80 Automated changelog update [skip ci] 2022-09-13 11:36:43 +00:00
Michael Barz 6a9192b5da Merge pull request #4569 from owncloud/release-2.0.0-beta.8
[full-ci] prepare release, bump version
2022-09-13 13:36:03 +02:00
Phil Davis 9572ea61ea Merge pull request #4566 from owncloud/test-PR-for-core-40364
[tests-only][full-ci]Bump core commit id for tests
2022-09-13 16:28:59 +05:45
Swikriti Tripathi a2d4ee58f5 Bump commit id for tests
and update expected to fail file
2022-09-13 15:28:22 +05:45
Michael Barz 826d45877c prepare release, bump version 2022-09-13 10:17:43 +02:00
Jörn Friedrich Dreyer 322924d1c3 update sharing docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-12 20:29:04 +00:00
Jörn Friedrich Dreyer b0fa917eae enable a 300sec in memory cache for resource infos when listing shares on the ocs API (#4438)
* enable a 300sec in memory cache for resource infos when listing shares on the ocs API

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

* lint

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

* disable ocs cache by default

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

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-12 16:05:24 +02:00
Michael Barz a35b2fc9ef Automated changelog update [skip ci] 2022-09-12 10:36:35 +00:00
Michael Barz f48c7c314d Merge pull request #4558 from owncloud/update-reva-2.10.0
[full-ci] Update reva to v2.10.0
2022-09-12 12:36:09 +02:00
Michael Barz 7f52bbbcbe Update reva to v2.10.0 2022-09-12 11:33:21 +02:00
Swikriti Tripathi 983fe01659 Merge pull request #4556 from owncloud/skip-tests-in-reva
[tests-only][full-ci]Skip ocis specific tests in reva
2022-09-12 11:40:39 +05:45
Swikriti Tripathi e313831545 Skip ocis specific tests in reva 2022-09-12 09:51:03 +05:45
dependabot[bot] 102425ba3f Bump github.com/tus/tusd from 1.9.1 to 1.9.2
Bumps [github.com/tus/tusd](https://github.com/tus/tusd) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/tus/tusd/releases)
- [Commits](https://github.com/tus/tusd/compare/v1.9.1...v1.9.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 19:16:59 +00:00
Michael Barz 20efb56526 Automated changelog update [skip ci] 2022-09-09 19:16:37 +00:00
Michael Barz 1e82d80c1d Merge pull request #4548 from aduffeck/jsoncs3-publicshare-manager
[full-ci] Add support for the jsoncs3 public share manager
2022-09-09 21:16:01 +02:00
Michael Barz c6b67db3cb Automated changelog update [skip ci] 2022-09-09 19:12:21 +00:00
Michael Barz 0edab583e2 Merge pull request #4550 from owncloud/update-web-5.7.0-final
[full-ci] bump web to v5.7.0 (final)
2022-09-09 21:11:42 +02:00
Benedikt Kulmann bb54554cdb chore: bump web to v5.7.0 (final) 2022-09-09 20:07:17 +02:00
Michael Barz 48e640058a Update expected failures 2022-09-09 16:51:55 +02:00
Phil Davis 5c2246b218 Merge pull request #4549 from owncloud/bump-core-commit-id-20220909
[tests-only][full-ci] Bump Core commit for 2022-09-09
2022-09-09 20:12:29 +05:45
Michael Barz c6faf4ab4f Update reva 2022-09-09 16:00:32 +02:00
Andre DuffeckandJörn Friedrich Dreyer 291e191490 Update services/sharing/pkg/revaconfig/config.go
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-09 15:33:31 +02:00
Andre DuffeckandJörn Friedrich Dreyer 8bdfe5f6d1 Update ocis/pkg/command/migrate.go
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-09 15:33:20 +02:00
Andre DuffeckandJörn Friedrich Dreyer a107924a4c Update services/sharing/pkg/config/config.go
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-09 15:25:06 +02:00
Benedikt Kulmann 04f0b44d43 Automated changelog update [skip ci] 2022-09-09 13:10:12 +00:00
Benedikt Kulmann 8bca2b9adc Merge pull request #4547 from owncloud/bump-web-v5.7.0-rc.13
[full-ci] chore: update web to v5.7.0-rc.13
2022-09-09 15:09:30 +02:00
Phil Davis f07e15182a Merge pull request #4538 from owncloud/reuseCodeShareOperation
[tests-only][full-ci]Reuse code from core for `shareOperation`
2022-09-09 18:18:00 +05:45
Jörn Friedrich Dreyer 40b7aaa7ec make jsoncs3 default public share backend
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-09-09 11:54:18 +00:00
sagargurung1001@gmail.com 76293e46b2 Bump Core commit for 2022-09-09 2022-09-09 17:05:17 +05:45
André Duffeck 1f68321acc Add support for the jsoncs3 public share manager 2022-09-09 13:07:01 +02:00
sagargurung1001@gmail.com fa998e4600 Reuse code from core for shareOperation 2022-09-09 16:26:49 +05:45
Benedikt Kulmann c831489258 ci: fix php code style 2022-09-09 12:41:05 +02:00
Viktor Scharf 94b9838a08 [tests-only] ApiTests. add more search tests (#4543)
* add more search tests

* php-style fix
2022-09-09 12:33:21 +02:00
Phil Davis 59d3ec18d8 Merge pull request #4546 from owncloud/removeLockOnFolderTests
[tests-only][full-ci]Remove lock on folder tests for spaces
2022-09-09 15:19:06 +05:45
Benedikt Kulmann 01f6ca12f0 chore: update web to v5.7.0-rc.13 2022-09-09 10:56:04 +02:00
Phil Davis b7db48b04e fix code style 2022-09-09 14:14:34 +05:45
sagargurung1001@gmail.com f626e86b96 Remove expected to failure for folder lock related tests for spaces 2022-09-09 14:04:59 +05:45
sagargurung1001@gmail.com 9489e179dd Remove folder lock related tests from ocis 2022-09-09 14:04:59 +05:45
Phil Davis 50471af588 Merge pull request #4400 from owncloud/addMoveSpacesTestsOnOcis
[tests-only][full-ci]Add /Shares related move tests on ocis which are removed from core
2022-09-09 14:00:49 +05:45
Phil Davis 979da92aab Merge pull request #4536 from owncloud/reuseCodeChecksum
[tests-only][full-ci]Reuse code from core
2022-09-09 13:59:18 +05:45
Phil Davis 4bd709e81a Merge pull request #4535 from owncloud/reuseCodeFavorites
[full-ci][tests-only]Refactor and Reuse code from core
2022-09-09 13:56:42 +05:45
Benedikt Kulmann 79511c9cef Automated changelog update [skip ci] 2022-09-08 12:57:41 +00:00
Benedikt Kulmann dce41c34c5 Merge pull request #4508 from owncloud/update-web-5.7.0-rc.11
[full-ci] update web to v5.7.0-rc.11
2022-09-08 14:55:20 +02:00
Phil Davis 3904635a05 Merge pull request #4519 from owncloud/add-coding-standard-php-pipeline
[tests-only][full-ci]Add coding standard php pipeline
2022-09-08 18:39:25 +05:45
Michael Barz 4271868b05 Automated changelog update [skip ci] 2022-09-08 12:02:57 +00:00
Michael Barz 616e63352d Merge pull request #4539 from owncloud/get-received-share
update reva and jsoncs3 share manager config
2022-09-08 14:02:23 +02:00
David Christofas 3640243492 update reva and jsoncs3 share manager config 2022-09-08 13:22:17 +02:00
Benedikt Kulmann c10a6f210e ci: bump web commit id 2022-09-08 13:10:41 +02:00
Benedikt Kulmann 01a16a58cc ci: update expected to fail files
Aligning with https://github.com/owncloud/web/commit/66430574844371e69f6159d5597da3dd6ea78676
2022-09-08 13:10:41 +02:00
Benedikt Kulmann 0815eebb3c chore: update web to v5.7.0-rc.11 2022-09-08 13:10:40 +02:00
Phil Davis 44025080d2 Merge pull request #4527 from owncloud/refactorExpectedFailureFIle
[full-ci][tests-only]Refactor expected-failure file
2022-09-08 16:52:39 +05:45
sagargurung1001@gmail.com 61b9b05e40 Check coding standard with force error 2022-09-08 16:33:44 +05:45
sagargurung1001@gmail.com dbf6956676 Added coding-standard-php pipeline in drone 2022-09-08 16:29:15 +05:45
sagargurung1001@gmail.com 1aabf51292 Fix all coding standard error 2022-09-08 16:29:15 +05:45
sagargurung1001@gmail.com 6fd610f3ca Exclude vendor-php dir for coding-standard-check 2022-09-08 16:29:15 +05:45
jkoberg 5655fb7014 Automated changelog update [skip ci] 2022-09-08 10:31:38 +00:00
jkoberg 716d595ede changelog and bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-08 12:31:13 +02:00
jkoberg 2f97fa7036 REPORT: add permissions to personal space
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-08 12:31:13 +02:00
amrita e0201c82d4 Reuse core code 2022-09-08 16:15:24 +05:45
amrita d6228c0ba8 Add /Shares related move tests on ocis which are removed from core 2022-09-08 16:15:24 +05:45
amrita 066115af81 Remove tests from unrelated issue and add actual one 2022-09-08 15:52:49 +05:45
Michael Barz a9b1591a3b Merge pull request #4533 from owncloud/deleteUsersAfterEachTest
[test-only] apiTest. delete users with their personal spaces after each test
2022-09-08 11:44:53 +02:00
Michael Barz 03c55b7cee Merge pull request #4534 from owncloud/update-reva-edge-2
[full-ci] update reva to latest edge
2022-09-08 11:44:15 +02:00
Phil Davis 7daf5dee61 Merge pull request #4531 from owncloud/add-context-behat-yml
[tests-only]Add context in behat.yml
2022-09-08 14:53:08 +05:45
Viktor Scharf 070818ac99 delete method 2022-09-08 10:02:53 +02:00
sagargurung1001@gmail.com 2115324aed Reuse code from core 2022-09-08 13:01:04 +05:45
sagargurung1001@gmail.com c427597ba1 Refactor and Reuse code from core 2022-09-08 12:37:00 +05:45
Michael Barz a8ff8e2fa8 update reva to latest edge 2022-09-08 10:33:01 +05:45
Viktor Scharf 3c235d9920 delete users with their personal spaces 2022-09-07 22:19:31 +02:00
Michael Barz 88a28ca8cd Merge pull request #4532 from rhafer/issue/4195
Fix home space deletion when deleting user by name
2022-09-07 20:34:05 +02:00
Michael Barz 955d0e1006 Automated changelog update [skip ci] 2022-09-07 18:29:59 +00:00
Michael Barz 7e9f19c7dc update reva to latest edge 2022-09-07 20:27:26 +02:00
Michael Barz d64aa9985f Automated changelog update [skip ci] 2022-09-07 17:04:26 +00:00
Michael Barz 29be1ab5b7 Merge pull request #4522 from owncloud/update-reva-edge
[full-ci] update Reva to latest edge
2022-09-07 19:03:35 +02:00
Ralf Haferkamp c982bd785e Automated changelog update [skip ci] 2022-09-07 16:23:36 +00:00
Ralf Haferkamp e5543d4465 Add new "delete-all-spaces" permission
This is assigned to the Admin role by default and allows to cleanup
orphaned spaces (e.g. where the owner as been deleted)

Fixes: #4196
2022-09-07 18:21:26 +02:00
Ralf Haferkamp f43a233795 Fix home space deletion when deleting user by name
DELETE requess on /graph/v1.0/users also work when specifing a user by
name. For deleting the home space in that case we need to get the User's
id from the backend first.

Fixes: #4195
2022-09-07 18:13:41 +02:00
Swikriti Tripathi 4e27dbcd50 Add context in behat.yml 2022-09-07 21:14:53 +05:45
Michael Barz 869d8aba6f use id to delete project spaces 2022-09-07 17:11:34 +02:00
Michael Barz 3b64dfbd20 remove personal spaces as admin in the graph test suite 2022-09-07 16:52:26 +02:00
Michael Barz 39aacff996 update reva to latest edge 2022-09-07 15:53:54 +02:00
Michael Barz 746a532a76 Merge pull request #4528 from rhafer/issue/4195
graph: purge home space when deleting a user
2022-09-07 15:53:29 +02:00
Ralf Haferkamp 23ef9647cc Automated changelog update [skip ci] 2022-09-07 12:30:51 +00:00
Ralf Haferkamp 8ee8842e88 proxy: Avoid sorting endpoints for every single request
The endpoints are no longer hashed by path name in the directors map since
that made iterating over the endpoints unstable. They are now stored in a
slice in the order in which the are defined in the configuration.

Closes: #4497
2022-09-07 14:30:19 +02:00
Ralf Haferkamp 2c6eb888a8 proxy: Clarify comment 2022-09-07 14:30:19 +02:00
Ralf Haferkamp ab0c82311a proxy: Fix archiver for public links
Allows /archiver to be used the "public-token" auth middleware. The
archiver is a bit of a special case, because it can be uses in several
ways: using 'normal' authentication (basic, oidc), using signed-urls or
using sharetokens. As only the "sharetoken" part is handled by the
"PublicShareAuth" middleware, we needed to special-case it a bit.
2022-09-07 14:30:19 +02:00
Ralf Haferkamp 30f4d788f3 proxy: Initialize logger for router 2022-09-07 14:30:19 +02:00
Ralf Haferkamp e4f9dfa40e graph: purge home space when deleting a user
previously the homespace was just marked as trashed

Fixes: #4195
2022-09-07 14:25:27 +02:00
David Christofas 8b9e80bb56 Merge pull request #4525 from owncloud/update-buf-lock
update buf lock
2022-09-07 12:06:26 +02:00
David Christofas 4025afc40f update buf lock 2022-09-07 11:28:16 +02:00
David Christofas 8514712027 Merge pull request #4512 from owncloud/dependabot/go_modules/github.com/gookit/config/v2-2.1.5
Bump github.com/gookit/config/v2 from 2.1.4 to 2.1.5
2022-09-06 11:34:09 +02:00
David Christofas e4feac340e Automated changelog update [skip ci] 2022-09-06 07:33:23 +00:00
David Christofas b47409dfc6 Merge pull request #4513 from owncloud/orientate-thumbnails
auto orientate pictures for thumbnails
2022-09-06 09:32:48 +02:00
David Christofas bff9c2b3cd auto orientate pictures for thumbnails 2022-09-05 16:33:29 +02:00
David Christofas c181e1d392 Merge pull request #4436 from aduffeck/jsoncs3-share-manager
Jsoncs3 share manager
2022-09-05 16:16:18 +02:00
dependabot[bot] 82e11094f7 Bump github.com/gookit/config/v2 from 2.1.4 to 2.1.5
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config) from 2.1.4 to 2.1.5.
- [Release notes](https://github.com/gookit/config/releases)
- [Commits](https://github.com/gookit/config/compare/v2.1.4...v2.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:14:57 +00:00
Ralf Haferkamp 29f52515e1 graph: Fix Status code when updating the password
Up to now the /me/changePassword endpoint return a 500 Status when
issue a password change with the old password set to the wrong password.
This changes the code to return 400 (Bad Request) with an additional
message that the old password is wrong. This does not seem to weaken the
security of /me/changePassword (i.e. for allowing easier brute-force
attacks) as the endpoint is only available to already authenticated
users (and only for changing their own passwords)

See #4480
2022-09-05 15:57:46 +02:00
Phil Davis 68e5830bf0 Merge pull request #4371 from owncloud/add-tests-removed-by-core-40276
[tests-only][full-ci]Add tests removed by core 40276
2022-09-05 18:26:30 +05:45
Swikriti Tripathi 70ed9792f1 Add tests removed by core pr-40276 2022-09-05 17:22:41 +05:45
Phil Davis 6f9afa84a8 Merge pull request #4440 from owncloud/add-tests-quota-tus
[tests-only] Add api tests for tus upload when quota is set
2022-09-05 17:21:11 +05:45
Swikriti Tripathi 967e7f4416 Add api tests for tus upload when quota is set 2022-09-05 16:09:18 +05:45
Phil Davis fdb059cf12 Merge pull request #4463 from owncloud/fixSearchTest
[tests-only] Api test. fix search test
2022-09-05 15:40:36 +05:45
Phil Davis ac0b659d34 Merge pull request #4510 from owncloud/reuseCodeForLockFromCore
[tests-only][full-ci]Reuse locking method from core
2022-09-05 14:58:13 +05:45
Viktor Scharf 6b3501be75 fix search test 2022-09-05 11:04:59 +02:00
sagargurung1001@gmail.com 23196c7c18 Reuse locking method from core 2022-09-05 14:01:20 +05:45
Amrita e27e5a26c4 Merge pull request #4492 from owncloud/reuseCodeFromCodeForFavourites
[tests-only][full-ci]Reuse code from code for `favorites.feature` in ocis
2022-09-05 11:55:12 +05:45
sagargurung1001@gmail.com 84c48066f2 Add commit and branch related to this PR to work 2022-09-05 10:54:43 +05:45
sagargurung1001@gmail.com c31a0ed6b2 Reuse code of code from core at most 2022-09-05 09:22:24 +05:45
Sagar Gurung c87de7606d Merge pull request #4373 from owncloud/addTestForCopyForSharesJailOnOcis
[tests-only][full-ci]Add `/Shares` related copy tests on ocis which are removed from core
2022-09-05 09:18:58 +05:45
Phil Davis 7c8aeadacb Merge pull request #4505 from owncloud/removeSearchTestsFromExpectedFailures
[tests-only] removed the search test from the expected failures
2022-09-03 17:12:32 +05:45
Viktor Scharf ae77fdeaf9 removed search test from expected failures 2022-09-03 09:26:21 +05:45
Jannik Stehle 2e5aafad91 Automated changelog update [skip ci] 2022-09-02 15:08:31 +00:00
Jannik Stehle 47b06b2a6c Merge pull request #4504 from owncloud/i18n-login-page
Fix translations on login page
2022-09-02 17:08:04 +02:00
Jannik Stehle 213a68ec69 Fix translations on login page 2022-09-02 15:07:54 +02:00
jkoberg 983f4c993f Automated changelog update [skip ci] 2022-09-02 13:03:24 +00:00
jkoberg ddd6a53801 adjust expected failures
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-02 15:02:06 +02:00
jkoberg d6f3250f35 regenerate protogen
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-02 15:02:06 +02:00
jkoberg 3f5585628d adjust REPORT to PROPFIND endpoint
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-09-02 15:02:06 +02:00
Jannik Stehle 80659ed726 Automated changelog update [skip ci] 2022-09-02 12:58:50 +00:00
Jannik Stehle 123ae47fe1 Merge pull request #4500 from owncloud/login-screen-design
Improve login screen design
2022-09-02 14:58:19 +02:00
David Christofas 2051f0d1e1 Merge pull request #4447 from dragonchaser/delete_userspace
Delete userspace
2022-09-02 14:41:57 +02:00
Jannik Stehle a9fd209da8 Use cv11 as font feature setting 2022-09-02 13:51:59 +02:00
Jannik Stehle 99255c1cdd Add 'Inter' font, change placeholder color to grey 2022-09-02 13:47:52 +02:00
Swikriti Tripathi 2043b4b815 Merge pull request #4502 from owncloud/header-deleteSpace
[tests-only] Hardcode header in GraphHelper::deleteSpace
2022-09-02 16:54:18 +05:45
Phil Davis 726640882b Hardcode header in GraphHelper::deleteSpace 2022-09-02 16:01:56 +05:45
David Christofas e36cd4fa7f add returns after rendering errors and simplify loop condition 2022-09-02 11:54:17 +02:00
Phil Davis c2e44b17cc Merge pull request #4488 from owncloud/refactoringTests
[test-only] Refactoring tests.
2022-09-02 15:23:21 +05:45
Phil Davis 78f92f83a0 Merge pull request #4499 from owncloud/bump-commit-id-20220902
[full-ci][tests-only]Bump commit id for tests
2022-09-02 15:14:24 +05:45
Jannik Stehle 52b58cd1d9 Move background-size after the background css prop 2022-09-02 09:56:53 +02:00
Jannik Stehle dff588a621 Improve login screen design 2022-09-02 09:46:32 +02:00
Swikriti Tripathi f529aef951 Bump commit id for tests 2022-09-02 12:54:30 +05:45
Ralf Haferkamp fed62d4a1e Evaluate routing rules ordered by path-length
This is a quickfix for #4497. Before evaluating, we now sort the rules
of a specific type by the length of the endpoints and start evaluation
with the most specific endpoint first. There's obviously quite a bit
room for optimization here and this will only fix the issue for routes
of type `PrefixRoute`. But it should solve the immediate issue.
2022-09-01 17:07:17 +02:00
dependabot[bot] 142bf659af Bump github.com/owncloud/libre-graph-api-go from 0.16.0 to 0.17.0
Bumps [github.com/owncloud/libre-graph-api-go](https://github.com/owncloud/libre-graph-api-go) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/owncloud/libre-graph-api-go/releases)
- [Commits](https://github.com/owncloud/libre-graph-api-go/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: github.com/owncloud/libre-graph-api-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 17:06:38 +02:00
dependabot[bot] a9fd4bd0d7 Bump github.com/urfave/cli/v2 from 2.11.2 to 2.14.0
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.11.2 to 2.14.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.11.2...v2.14.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-09-01 15:57:28 +02:00
dependabot[bot] 0888b27471 Bump github.com/onsi/gomega from 1.20.1 to 1.20.2
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.20.1 to 1.20.2.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.20.1...v1.20.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 15:56:17 +02:00
dependabot[bot] 8baa6034ee Bump google.golang.org/grpc from 1.48.0 to 1.49.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.48.0 to 1.49.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.48.0...v1.49.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-09-01 14:41:41 +02:00
David Christofas 87e43a498e Automated changelog update [skip ci] 2022-09-01 10:43:57 +00:00
David Christofas bfb26cc660 update tests 2022-09-01 12:43:32 +02:00
David Christofas e20b2b1536 fix default policy and add changelog 2022-09-01 12:43:32 +02:00
David Christofas 69de4616b5 fix linting issues 2022-09-01 12:43:32 +02:00
David Christofas 90574268d9 add missing unprotected flag and fix proxy test 2022-09-01 12:43:32 +02:00
David Christofas 69ba80562e add unprotected flag to the proxy routes
I added an unprotected flag to the proxy routes which is evaluated by
the authentication middleware. This way we won't have to maintain a
hardcoded list of unprotected paths and path prefixes and we will
hopefully reduce the times we encounter the basic auth prompt by web
browsers.
2022-09-01 12:43:32 +02:00
David Christofas 4d4f3a16e1 refactor proxy code
I refactored the proxy so that we execute the routing before the
authentication middleware. This is necessary so that we can determine
which routes are considered unprotected i.e. which routes don't need
authentication.
2022-09-01 12:43:32 +02:00
dependabot[bot] 48b0425fed Bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.11.2 to 2.11.3
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Changelog](https://github.com/grpc-ecosystem/grpc-gateway/blob/master/.goreleaser.yml)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.11.2...v2.11.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 12:17:54 +02:00
sagargurung1001@gmail.com 0bb94facb3 Update expected to failure for local api for copy 2022-09-01 15:47:08 +05:45
sagargurung1001@gmail.com 69549208b6 Added /Shares related tests for lock properties on ocis 2022-09-01 15:44:04 +05:45
dependabot[bot] 47930f6139 Bump github.com/coreos/go-oidc/v3 from 3.2.0 to 3.3.0
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/coreos/go-oidc/releases)
- [Commits](https://github.com/coreos/go-oidc/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 11:04:49 +02:00
dependabot[bot] 7280cca9aa Bump github.com/onsi/ginkgo/v2 from 2.1.4 to 2.1.6
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.1.4 to 2.1.6.
- [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.4...v2.1.6)

---
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-09-01 09:50:24 +02:00
dependabot[bot] 94aa3610f9 Bump github.com/rs/zerolog from 1.27.0 to 1.28.0
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](https://github.com/rs/zerolog/compare/v1.27.0...v1.28.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-01 08:32:21 +02:00
Viktor Scharf 8178c40049 fix after rebase 2022-08-31 18:09:36 +02:00
Viktor Scharf 4efa0747ff Merge branch 'master' into refactoringTests 2022-08-31 15:22:11 +02:00
Viktor Scharf 2a51a3f96c move graph api methods from Space context to GraphHelper 2022-08-31 15:11:31 +02:00
dependabot[bot] e495fad0a6 Bump github.com/gookit/config/v2 from 2.1.2 to 2.1.4
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config) from 2.1.2 to 2.1.4.
- [Release notes](https://github.com/gookit/config/releases)
- [Commits](https://github.com/gookit/config/compare/v2.1.2...v2.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 13:32:53 +02:00
Viktor Scharf 3b548c9be3 [test-only] apiTest. change own password (#4480)
* apiTest. change own password

* fix
2022-08-31 13:02:33 +02:00
Jörn Friedrich Dreyer c5bde43ba1 update reva
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-08-31 10:32:55 +00:00
David Christofas 7d39e02dc4 Merge pull request #4479 from owncloud/dependabot/go_modules/github.com/onsi/gomega-1.20.1
Bump github.com/onsi/gomega from 1.20.0 to 1.20.1
2022-08-31 12:08:42 +02:00
David Christofas c2258c5102 Merge pull request #4478 from owncloud/dependabot/go_modules/github.com/tus/tusd-1.9.1
Bump github.com/tus/tusd from 1.9.0 to 1.9.1
2022-08-31 12:08:25 +02:00
Viktor Scharf 280947365b part1 2022-08-31 09:57:44 +02:00
Sagar Gurung f9cd1f5271 [tests-only][full-ci]Add lock related tests for /Shares on ocis (#4404) 2022-08-31 12:57:15 +05:45
dependabot[bot] 2e1808d852 Bump github.com/onsi/gomega from 1.20.0 to 1.20.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.20.0 to 1.20.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.20.0...v1.20.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 06:26:32 +00:00
dependabot[bot] 7d07e818ce Bump github.com/tus/tusd from 1.9.0 to 1.9.1
Bumps [github.com/tus/tusd](https://github.com/tus/tusd) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/tus/tusd/releases)
- [Commits](https://github.com/tus/tusd/compare/v1.9.0...v1.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 06:26:28 +00:00
dependabot[bot] e2e96ff436 Automated changelog update [skip ci] 2022-08-31 06:25:50 +00:00
dependabot[bot] f45fa2670d Bump github.com/blevesearch/bleve/v2 from 2.3.3 to 2.3.4
Bumps [github.com/blevesearch/bleve/v2](https://github.com/blevesearch/bleve) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/blevesearch/bleve/releases)
- [Commits](https://github.com/blevesearch/bleve/compare/v2.3.3...v2.3.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-31 08:25:27 +02:00
Benedikt Kulmann fa158666b4 Automated changelog update [skip ci] 2022-08-31 06:23:56 +00:00
Benedikt Kulmann 0341097430 fix: disable misconfigured default expiration date public links 2022-08-31 08:23:28 +02:00
Ralf Haferkamp 21470ab392 Automated changelog update [skip ci] 2022-08-31 05:46:43 +00:00
Ralf Haferkamp a26b16c41d graph: Add $expand=memberOf support to /me
Fixes: #4283
2022-08-31 07:43:27 +02:00
Artur Neumann de1f692836 Automated changelog update [skip ci] 2022-08-31 00:14:25 +00:00
Christian Richter 6a9d4efef6 add delete home space permission to admin role
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-08-30 11:09:05 +02:00
Artur Neumann 6202917908 Automated changelog update [skip ci] 2022-08-30 00:09:54 +00:00
Artur Neumann f086e74654 Automated changelog update [skip ci] 2022-08-29 06:45:10 +00:00
Artur Neumann d4b9e9b3bf Merge pull request #4389 from owncloud/addFavoriteSpaceTestOnOcis
[tests-only][full-ci]Add /Shares related favorite tests on ocis which are removed from core
2022-08-29 12:26:02 +05:45
Artur Neumann cdb24a1bb0 Merge pull request #4413 from owncloud/ocis-2141/add-removed-space-examples
[tests-only] restore scenarios removed from core#40302
2022-08-29 12:21:01 +05:45
amrita a00949f1b2 Add /Shares related favorite tests on ocis which are removed from core 2022-08-29 10:12:16 +05:45
Kiran Parajuli 5eee569225 [tests-only] restore the removed scenarios for the core repository
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-08-29 10:08:54 +05:45
Jörn Friedrich Dreyer 05161adbb2 update reva
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-08-26 14:01:39 +00:00
Christian Richter 05a60fd3a5 add home space deletion on user delete
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-08-26 15:00:55 +02:00
Phil Davis b79de5f356 Merge pull request #4462 from owncloud/fix-typo-2022-08-26
[docs-only] Fix typo 2022-08-26
2022-08-26 18:33:53 +05:45
Jörn Friedrich Dreyer de208f5b87 lint
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-08-26 12:41:16 +00:00
Jörn Friedrich Dreyer bba00e11a9 use common config for jsoncs3 defaults
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-08-26 12:19:44 +00:00
Jörn Friedrich Dreyer 26476dc640 update reva
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-08-26 12:18:56 +00:00
Jan da6237b7c4 Automated changelog update [skip ci] 2022-08-26 09:52:00 +00:00
Jan a999dd1d61 Add previewFileMimeTypes to defaultconfig.go (#4414)
* Add previewFileMimeTypes to defaultconfig.go

* Add changelog item

* Format

* Remove obsolete hideSearchBar config setting
2022-08-26 11:51:33 +02:00
David Christofas 2089e69d96 Merge pull request #4464 from owncloud/allow-index-html
fix: add index.html to unprotected paths
2022-08-26 11:38:00 +02:00
Benedikt Kulmann fa3be121f1 Automated changelog update [skip ci] 2022-08-26 09:09:35 +00:00
Benedikt Kulmann b53637e45e Merge pull request #4459 from owncloud/release-2.0.0-beta.7
[full-ci] Release 2.0.0-beta.7
2022-08-26 11:09:06 +02:00
Benedikt Kulmann 6fc87613d5 fix: add index.html to unprotected paths 2022-08-26 10:37:46 +02:00
Phil Davis ef04aebc90 Fix grammar in README 2022-08-26 10:35:47 +05:45
Phil Davis d8dddc8891 Fix typo of 'defines' 2022-08-26 10:34:23 +05:45
Benedikt Kulmann 590f3bcbaa chore: prepare release bump version 2022-08-25 21:40:08 +02:00
Phil Davis c64c64bbe2 Merge pull request #4456 from owncloud/cleanup-spaces-in-all-local-API-test-suites
[tests-only] [full-ci] Cleanup spaces in all local API test suites
2022-08-25 22:24:48 +05:45
Jörn Friedrich Dreyer 38b2a9a487 Merge branch 'master' into jsoncs3-share-manager 2022-08-25 15:24:20 +00:00
Jörn Friedrich Dreyer 1287d1ba52 migration fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-08-25 15:19:02 +00:00
Phil Davis 4c58ce35c5 Cleanup spaces in all local API test suites 2022-08-25 17:39:55 +05:45
Benedikt Kulmann f57fe2917d Automated changelog update [skip ci] 2022-08-25 11:13:10 +00:00
Benedikt Kulmann 79f7d643f3 Merge pull request #4458 from owncloud/more-unprotected-paths 2022-08-25 13:08:44 +02:00
Benedikt Kulmann 9d67ab3292 fix: set /external path prefix to unprotected 2022-08-25 10:47:46 +02:00
Benedikt Kulmann 9c9a81026c fix: add index.html to unprotected paths in auth middleware 2022-08-25 10:39:55 +02:00
Phil Davis bbca91ba48 Merge pull request #4441 from owncloud/deleteAllProjectSpaceAfterTest
[tests-only] [full-ci] ApiTest. after each test users-manager delete their project space
2022-08-25 12:29:07 +05:45
Swikriti Tripathi 9ceaf144ee Merge pull request #4422 from owncloud/move-graph-test-to-ocis-local
[full-ci] [tests-only] Added test for creating group with case sensitive
2022-08-25 09:41:36 +05:45
Benedikt Kulmann b57bdc0492 Automated changelog update [skip ci] 2022-08-24 15:11:52 +00:00
Benedikt Kulmann 98a2ade7c8 Merge pull request #4454 from owncloud/missing-unprotected-paths 2022-08-24 17:11:24 +02:00
David Christofas 0d2b7e350b add missing unprotected paths 2022-08-24 16:32:25 +02:00
Prarup Gurung 07af8544e8 Added test for creating group with case sensitive 2022-08-24 16:33:47 +05:45
Viktor Scharf c7a6d5a0aa add ability to delete project space after test 2022-08-24 12:19:03 +02:00
Benedikt Kulmann 1565fe6f1e Automated changelog update [skip ci] 2022-08-24 10:08:52 +00:00
Benedikt Kulmann 335567ed65 Merge pull request #4439 from owncloud/update-web-v5.7.0-rc.10
[full-ci] update web to v5.7.0-rc.10
2022-08-24 12:08:22 +02:00
Willy Kloucek ad3c9489b3 Merge pull request #4429 from owncloud/dependabot/go_modules/github.com/urfave/cli/v2-2.11.2
Bump github.com/urfave/cli/v2 from 2.11.1 to 2.11.2
2022-08-24 11:28:22 +02:00
David Christofas e65eb15f2c add the settings path to the unprotected paths 2022-08-24 11:04:18 +02:00
Willy Kloucek add2364c6d Automated changelog update [skip ci] 2022-08-24 08:50:47 +00:00
Willy Kloucek c0df4562e5 Merge pull request #4443 from wkloucek/mail-auth-encrypt
add config options for mail encryption and authentication
2022-08-24 10:49:50 +02:00
Benedikt Kulmann dd49462bac ci: delete accounts frontend app from ci config.json 2022-08-24 09:10:35 +02:00
David Christofas 28a9bf357e end unprotected path prefixes with a slash 2022-08-24 10:12:34 +05:45
David Christofas 6043e019f4 add the fonts path to the unprotected path prefixes 2022-08-24 10:12:34 +05:45
Benedikt Kulmann 992c19d26a chore: update web to v5.7.0-rc.10 2022-08-24 10:12:33 +05:45
Benedikt Kulmann f3e6237796 Automated changelog update [skip ci] 2022-08-23 19:45:58 +00:00
dependabot[bot] bf97c62675 Bump github.com/urfave/cli/v2 from 2.11.1 to 2.11.2
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.11.1 to 2.11.2.
- [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.11.1...v2.11.2)

---
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-08-23 19:45:45 +00:00
Benedikt Kulmann 001a03e01b Merge pull request #4444 from owncloud/update-reva-v2.8.0
[full-ci] update reva to v2.8.0
2022-08-23 21:43:14 +02:00
Benedikt Kulmann d10f521972 chore: update reva to v2.8.0 2022-08-23 16:35:33 +02:00
David Christofas eb1c540e80 Merge pull request #4434 from owncloud/bump-commit-id-20220823
[tests-only][full-ci]Bump commit id for tests
2022-08-23 15:25:02 +02:00
Willy Kloucek faa7d3b647 add config options for mail encryption and authentication 2022-08-23 14:39:32 +02:00
Swikriti Tripathi 4e8da994e5 Bump commit id for tests and update expected to faile file 2022-08-23 17:53:13 +05:45
Viktor ScharfandPhil Davis cb2822b8b7 [tests-only] [full-ci] ApiTest. after each test users delete their personal space (#4433)
* after each test users delete their personal space

* Simplify deleteAllPersonalSpaces

* Simplify deleteAllPersonalSpaces()

Co-authored-by: Phil Davis <phil@jankaritech.com>
2022-08-23 10:42:27 +02:00
David Christofas 9506bfc8db Automated changelog update [skip ci] 2022-08-22 14:39:31 +00:00
David Christofas c4881f5736 Merge pull request #4374 from owncloud/rewrite-auth-middleware
[full-ci] Rewrite of the authentication middleware
2022-08-22 16:39:03 +02:00
David Christofas dfe703291f replace strings.Title with cases.Title 2022-08-22 15:26:00 +02:00
David Christofas 12d42e0074 add missing comments 2022-08-22 14:24:12 +02:00
Willy Kloucek 976a91c641 Automated changelog update [skip ci] 2022-08-22 11:07:58 +00:00
Willy Kloucek 1575c30a3c Merge pull request #4428 from owncloud/dependabot/go_modules/go-micro.dev/v4-4.8.1
Bump go-micro.dev/v4 from 4.8.0 to 4.8.1
2022-08-22 13:07:34 +02:00
Willy Kloucek f297e833af Automated changelog update [skip ci] 2022-08-22 11:07:19 +00:00
Willy Kloucek 9431af00a9 Merge pull request #4412 from kobergj/BumpReva
[full-ci] bump reva version
2022-08-22 13:06:54 +02:00
Willy Kloucek 349f171f17 bump reva 2022-08-22 12:11:37 +02:00
dependabot[bot] 99a22a3760 Bump go-micro.dev/v4 from 4.8.0 to 4.8.1
Bumps [go-micro.dev/v4](https://github.com/asim/go-micro) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/asim/go-micro/releases)
- [Changelog](https://github.com/asim/go-micro/blob/master/CHANGELOG.md)
- [Commits](https://github.com/asim/go-micro/compare/v4.8.0...v4.8.1)

---
updated-dependencies:
- dependency-name: go-micro.dev/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 10:00:15 +00:00
Willy Kloucek 732fa64041 Merge pull request #4408 from owncloud/dependabot/go_modules/github.com/MicahParks/keyfunc-1.2.2
Bump github.com/MicahParks/keyfunc from 1.2.0 to 1.2.2
2022-08-22 11:58:55 +02:00
Willy Kloucek fd1a9bf6c2 Automated changelog update [skip ci] 2022-08-22 09:12:52 +00:00
Willy Kloucek 15c1a99ddc Merge pull request #4405 from wkloucek/config-validation-line-break-and-help
ensure a linebreak after config validation errors and do not parse config for help
2022-08-22 11:12:22 +02:00
Phil Davis c63b411807 Merge pull request #4396 from owncloud/addTestForETagForSharesJailOnOcis
[tests-only][full-ci]Add etag propagation for delete files folder for spaces
2022-08-22 12:22:07 +05:45
dependabot[bot] 9aabcecc1f Bump github.com/MicahParks/keyfunc from 1.2.0 to 1.2.2
Bumps [github.com/MicahParks/keyfunc](https://github.com/MicahParks/keyfunc) from 1.2.0 to 1.2.2.
- [Release notes](https://github.com/MicahParks/keyfunc/releases)
- [Commits](https://github.com/MicahParks/keyfunc/compare/v1.2.0...v1.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 06:29:25 +00:00
Willy Kloucek 9f2be9f4f9 remove Log prefix from configlog functions 2022-08-22 08:08:18 +02:00
Phil Davis 75e38f10ab Merge pull request #4420 from owncloud/selenium-chrome-latest
[tests-only][full-ci] Pin selenium image to standalone-chrome:104.0-20220812
2022-08-22 11:06:08 +05:45
sagargurung1001@gmail.com 23344fd08e Update expected to failure for etag 2022-08-22 09:22:40 +05:45
sagargurung1001@gmail.com e17d43a940 Add etag propagation for delete files folder for spaces 2022-08-22 09:22:07 +05:45
Martin 1455617291 Automated changelog update [skip ci] 2022-08-20 08:01:11 +00:00
Martin 6d54377447 Merge pull request #4411 from wkloucek/fix-app-registry-default-mimetypes
fix configuration of mimetypes for the app registry
2022-08-20 09:58:32 +02:00
Willy Kloucek 395beca776 Merge pull request #4416 from wkloucek/fix-open-with-web-documentation
fix url in open-with-web documentation
2022-08-20 00:01:35 +02:00
Saw-jan ba9f5e42b0 ping selenium to 104.0-20220812 2022-08-19 16:17:08 +05:45
André Duffeck 7636a90a23 WIP: point to the wip-reva with the jsoncs3 share manager 2022-08-19 11:28:11 +02:00
Jörn Friedrich Dreyer 3df8218067 bump reva to b272f45c35aa
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-08-19 07:51:02 +00:00
Willy Kloucek e58eaabdeb move config parse error logging into function to ensure new lines and don't parse config for help 2022-08-18 15:27:28 +02:00
Willy Kloucek 5a51a24bbd fix url in open-with-web documentation 2022-08-18 14:08:47 +02:00
Willy Kloucek d1f0dbc4c9 Automated changelog update [skip ci] 2022-08-18 12:03:48 +00:00
Willy Kloucek 46706fff32 Merge pull request #4407 from wkloucek/rename-extensions-to-services-reloaded
rename extensions to services (leftover occurences)
2022-08-18 14:03:20 +02:00
jkoberg a1ea39f645 bump reva version
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-08-18 13:26:03 +02:00
Willy Kloucek d93fd7ab4d fix configuration of mimetypes for the app registry 2022-08-18 11:58:10 +02:00
Willy Kloucek 034c57af08 Automated changelog update [skip ci] 2022-08-18 09:49:46 +00:00
Willy Kloucek a3f77683a6 Merge pull request #4399 from wkloucek/language-selection-for-app-provider
add language selection for app provider
2022-08-18 11:49:23 +02:00
Willy KloucekandBenedikt Kulmann 771e7e8e34 fix typo
Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
2022-08-18 11:41:42 +02:00
Viktor Scharf c271c9ab80 Automated changelog update [skip ci] 2022-08-18 09:24:42 +00:00
Viktor ScharfandSaw-jan 84f8f797c9 [test-only]Api test. check that link or share exist for space members (#4348)
Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
2022-08-18 15:08:57 +05:45
Willy Kloucek b43448f071 add language selection for app provider 2022-08-18 11:06:39 +02:00
Willy Kloucek 60689c9c1a improve unsupervised description 2022-08-18 10:59:35 +02:00
Willy Kloucek 5e166193ad Automated changelog update [skip ci] 2022-08-18 08:57:27 +00:00
Willy Kloucek dbcd78e6ef Merge pull request #4403 from wkloucek/storage-users-uploads-category
restructure storage-users upload command
2022-08-18 10:56:47 +02:00
Willy Kloucek a6c662931b Automated changelog update [skip ci] 2022-08-18 08:21:26 +00:00
Willy Kloucek ef8c600cf7 Merge pull request #4376 from wkloucek/open-with-web-endpoitn
[full-ci] add open-with-web endpoint
2022-08-18 10:21:01 +02:00
Willy Kloucek 70bce6b3f0 remove leading slash 2022-08-18 09:35:48 +02:00
Willy Kloucek cf12ecf356 Automated changelog update [skip ci] 2022-08-18 07:27:08 +00:00
Willy Kloucek 28c10339ed Merge pull request #4368 from owncloud/dependabot/go_modules/github.com/go-chi/render-1.0.2
Bump github.com/go-chi/render from 1.0.1 to 1.0.2
2022-08-18 09:26:37 +02:00
Willy Kloucek 08c7743df9 add header to clean up and rename purge to clean in leftover places 2022-08-18 09:20:58 +02:00
dependabot[bot] ff1fea3359 Bump github.com/go-chi/render from 1.0.1 to 1.0.2
Bumps [github.com/go-chi/render](https://github.com/go-chi/render) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/go-chi/render/releases)
- [Commits](https://github.com/go-chi/render/compare/v1.0.1...v1.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-18 06:41:51 +00:00
Phil Davis 04a4933e01 Merge pull request #4397 from owncloud/zip-resource-to-cache
[ci] zip before cache and unzip on restore
2022-08-18 11:44:12 +05:45
Kiran Parajuli c430c1868b Zip before cache
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
2022-08-18 10:14:28 +05:45
Willy Kloucek 1f12753e13 add changelog 2022-08-17 15:42:04 +02:00
Willy Kloucek 6154466bbc rename extensions to services (leftover occurences) 2022-08-17 15:36:52 +02:00
Willy Kloucek 12204e4d91 remove category from uploads section 2022-08-17 15:05:26 +02:00
Willy Kloucek 7d76650e5f further improve descriptions 2022-08-17 14:58:31 +02:00
Willy KloucekandMartin ea1484250f improve usage text
Co-authored-by: Martin <github@diemattels.at>
2022-08-17 14:29:42 +02:00
jkoberg 152ce60d87 fix audit service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-08-17 14:20:05 +02:00
jkoberg 66ff20442f use .golangci.yml
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-08-17 14:20:05 +02:00
Willy Kloucek 82acd83c61 remove fmt.Sprintf 2022-08-17 12:56:12 +02:00
Willy Kloucek fe53db9440 tidy go mod 2022-08-17 12:45:19 +02:00
Willy Kloucek c0f0b0efb4 move the uploads command into a category 2022-08-17 12:40:02 +02:00
Willy Kloucek 067e614713 implement review feedback 2022-08-17 12:25:55 +02:00
Willy Kloucek c3a021512b update reva 2022-08-17 12:15:00 +02:00
Willy Kloucek 5730ad6d5b add documentation, wire configuration 2022-08-17 12:13:47 +02:00
Willy Kloucek 0a9790105d introduce staticurlparams 2022-08-17 12:13:47 +02:00
Willy Kloucek f9a25c0625 add open-with-web endpoint, needs cs3org/reva#3143 2022-08-17 12:13:47 +02:00
Phil Davis 4c6f26a8db Merge pull request #4398 from owncloud/remove-earlyfail-deps
[full-ci] [tests-only] Removing dependency with earlyfail for purge
2022-08-17 08:44:56 +05:45
Artur Neumann b9f5309ccf Automated changelog update [skip ci] 2022-08-17 01:03:32 +00:00
David Christofas b5ef10dc2b add missing comments and changelog 2022-08-16 16:53:27 +02:00
David Christofas 3f25ca2059 add unprotected path prefix for parallel deployment 2022-08-16 15:45:22 +02:00
David Christofas 905ead629c add unprotected path prefix for external apps 2022-08-16 15:16:48 +02:00
Prarup Gurung 2f85d4cffa Removing dependency with earlyfail for purge 2022-08-16 17:01:43 +05:45
David Christofas 78d85b683d add missing comments 2022-08-16 12:47:44 +02:00
Artur Neumann 386425eafa Merge pull request #4311 from owncloud/check-flush-cache
[full-ci] [tests-only] Cache short-term artifacts to `cache` bucket
2022-08-16 15:38:19 +05:45
Prarup Gurung 4af040454b cache bucket used for short-term cache and single cache purge pipeline 2022-08-16 12:11:10 +05:45
Willy Kloucek f7aee3d520 Automated changelog update [skip ci] 2022-08-16 03:28:19 +00:00
David Christofas 864438b2de add missing unprotected path 2022-08-15 16:04:14 +02:00
Willy Kloucek 5f2a070b5c Automated changelog update [skip ci] 2022-08-15 10:50:12 +00:00
Willy Kloucek d6f03d1e30 Merge pull request #4394 from wkloucek/idp-init-empty-file
Bugfix: Autocreate IDP private key also if file exists but is empty
2022-08-15 12:49:49 +02:00
David Christofas 3ebfcbff1e add missing unprotected path 2022-08-15 11:38:04 +02:00
Willy Kloucek 19e3169800 let idp init private key also if the file already exists and is empty 2022-08-15 11:15:38 +02:00
Michael Barz 24edee982d Automated changelog update [skip ci] 2022-08-15 00:19:45 +00:00
Michael Barz 319e2401ed Automated changelog update [skip ci] 2022-08-13 01:02:36 +00:00
Michael Barz 8545687551 Automated changelog update [skip ci] 2022-08-12 13:50:34 +00:00
Michael Barz 47e52fc357 Merge pull request #4365 from rhafer/issue/4276
Add `ocis idm resetpassword` subcommand
2022-08-12 15:45:09 +02:00
David Christofas 5d45f0e856 fix logic of when to add the www-authenticate headers 2022-08-12 10:48:37 +02:00
David Christofas 036c466425 add missing unprotected paths 2022-08-12 10:48:33 +02:00
David Christofas 32f68f91ff add missing www-authentication header on failed authentication 2022-08-12 10:48:29 +02:00
David Christofas d271ae2451 fix some authentication cases 2022-08-12 10:48:25 +02:00
David Christofas 06ffd9cf8a some more cleaning up 2022-08-12 10:48:21 +02:00
David Christofas 9347657370 remove the oidc tests since they aren't testing anything at the moment
I admit it would be better to implement the tests but I tried and it is a bit tricky since we can't mock everything we would need to mock. I'll wan to get these changes in first and later in the near future we should revisit the auth middleware architecture and refactor it a bit more to be more testable and future proof.
2022-08-12 10:48:17 +02:00
David Christofas 17a4e65f08 add tests for the public share auth middleware 2022-08-12 10:48:13 +02:00
David Christofas 7bc1305cb4 add tests for the basic auth middleware 2022-08-12 10:48:09 +02:00
David Christofas ef020920e8 update authentication tests 2022-08-12 10:48:04 +02:00
David Christofas ddfc01bff9 refactor unprotected paths check 2022-08-12 10:47:51 +02:00
David Christofas f35c8b9205 clean up the authenticators middlewares 2022-08-12 10:47:48 +02:00
David Christofas e96819bce8 rewrite the auth middleware
The old approach of the authentication middlewares had the problem that when an authenticator could not authenticate a request it would still send it to the next handler, in case that the next one can authenticate it. But if no authenticator could successfully authenticate the request, it would still be handled, which leads to unauthorized access.
2022-08-12 10:47:43 +02:00
Phil Davis 02adcbd92a Merge pull request #4381 from owncloud/selectOnlyAvailableRoleForSpaceShare
[tests-only][full-ci]Select Available role only while sharing space
2022-08-12 14:20:00 +05:45
Phil Davis 43f7a88527 Merge pull request #4364 from owncloud/add-tests-removed-by-core-40275
[tests-only][full-ci]Add tests removed by core 40275 and bump core commit id
2022-08-12 14:17:25 +05:45
Michael Barz 258def99f4 Automated changelog update [skip ci] 2022-08-12 00:20:09 +00:00
Michael Barz da16182e26 Automated changelog update [skip ci] 2022-08-11 15:52:11 +00:00
Michael Barz aadcee3beb Merge pull request #4385 from owncloud/release-2.0.0-beta.6
[full-ci] Release 2.0.0-beta.6
2022-08-11 17:51:52 +02:00
Swikriti Tripathi 7c9ecac6fc Add tests removed by core PR-40275
update core commit id

update expected to fail file
2022-08-11 15:58:13 +05:45
sagargurung1001@gmail.com c41cf352cd Select Available role only while sharing space 2022-08-11 14:28:54 +05:45
André Duffeck d363b74dac Add support for the jsoncs3 share manager 2022-08-11 09:56:58 +02:00
Ralf Haferkamp f37ca15a1b Bump libregraph/idm to include latest logging fixes 2022-08-09 12:34:37 +02:00
root eb5e9675d6 Add ocis idm resetpassword subcommand
This allows resetting the ocis admin user's password (when ocis is
not running) when running with the builtin LDAP server.

Fixes #4084
2022-08-09 12:34:36 +02:00
745 changed files with 38707 additions and 35266 deletions

No files matched your search

+3 -3
View File
@@ -47,11 +47,11 @@ $(GO_LICENSES): $(BINGO_DIR)/go-licenses.mod
@echo "(re)installing $(GOBIN)/go-licenses-v1.0.1-0.20220408034444-fd2d9ec868aa"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=go-licenses.mod -o=$(GOBIN)/go-licenses-v1.0.1-0.20220408034444-fd2d9ec868aa "github.com/google/go-licenses"
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.47.0
GOLANGCI_LINT := $(GOBIN)/golangci-lint-v1.47.3
$(GOLANGCI_LINT): $(BINGO_DIR)/golangci-lint.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)/golangci-lint-v1.47.0"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.47.0 "github.com/golangci/golangci-lint/cmd/golangci-lint"
@echo "(re)installing $(GOBIN)/golangci-lint-v1.47.3"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=golangci-lint.mod -o=$(GOBIN)/golangci-lint-v1.47.3 "github.com/golangci/golangci-lint/cmd/golangci-lint"
HUGO := $(GOBIN)/hugo-v0.94.0
$(HUGO): $(BINGO_DIR)/hugo.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/golangci/golangci-lint v1.47.0 // cmd/golangci-lint
require github.com/golangci/golangci-lint v1.47.3 // cmd/golangci-lint
+17
View File
@@ -61,10 +61,12 @@ github.com/BurntSushi/toml v0.4.1 h1:GaI7EiDXDRfa8VshkTj7Fym7ha+y8/XxIgD2okUIjLw
github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/BurntSushi/toml v1.0.0 h1:dtDWrepsVPfW9H/4y7dDgFc2MBUSeJhlaDtK13CxFlU=
github.com/BurntSushi/toml v1.1.0 h1:ksErzDEI1khOiGPgpwuI7x2ebx/uXQNw7xJpn9Eq1+I=
github.com/BurntSushi/toml v1.2.0 h1:Rt8g24XnyGTyglgET/PRUNlrUeu9F5L+7FilkXfZgs0=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24 h1:sHglBQTwgx+rWPdisA5ynNEsoARbiCBOyGcJM4/OzsM=
github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs=
github.com/GaijinEntertainment/go-exhaustruct/v2 v2.2.0 h1:V9xVvhKbLt7unNEGAruK1xXglyc668Pq3Xx0MNTNqpo=
github.com/GaijinEntertainment/go-exhaustruct/v2 v2.2.2 h1:DGdS4FlsdM6OkluXOhgkvwx05ZjD3Idm9WqtYnOmSuY=
github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=
@@ -83,6 +85,7 @@ github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRF
github.com/alexkohler/prealloc v1.0.0 h1:Hbq0/3fJPQhNkN0dR95AVrr6R7tou91y0uHG5pOcUuw=
github.com/alexkohler/prealloc v1.0.0/go.mod h1:VetnK3dIgFBBKmg0YnD9F9x6Icjd+9cvfHR56wJVlKE=
github.com/alingse/asasalint v0.0.10 h1:qqGPDTV0ff0tWHN/nnIlSdjlU/EwRPaUY4SfpE1rnms=
github.com/alingse/asasalint v0.0.11 h1:SFwnQXJ49Kx/1GghOFz1XGqHYKp21Kq1nHad/0WQRnw=
github.com/andybalholm/brotli v1.0.2/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y=
github.com/andybalholm/brotli v1.0.3/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
github.com/antihax/optional v0.0.0-20180407024304-ca021399b1a6/go.mod h1:V8iCPQYkqmusNa815XgQio277wI47sdRh1dUOLdyC6Q=
@@ -162,6 +165,7 @@ github.com/daixiang0/gci v0.2.9 h1:iwJvwQpBZmMg31w+QQ6jsyZ54KEATn6/nfARbBNW294=
github.com/daixiang0/gci v0.2.9/go.mod h1:+4dZ7TISfSmqfAGv59ePaHfNzgGtIkHAhhdKggP1JAc=
github.com/daixiang0/gci v0.3.3 h1:55xJKH7Gl9Vk6oQ1cMkwrDWjAkT1D+D1G9kNmRcAIY4=
github.com/daixiang0/gci v0.4.2 h1:PyT/Y4a265wDhPCZo2ip/YH33M4zEuFA3nDMdAvcKSA=
github.com/daixiang0/gci v0.5.0 h1:3+Z8nb/4dhJQYjpEbG4wt5na+KFJJTZ++PVEq/MVKX4=
github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
@@ -302,6 +306,8 @@ github.com/golangci/golangci-lint v1.45.2 h1:9I3PzkvscJkFAQpTQi5Ga0V4qWdJERajX1U
github.com/golangci/golangci-lint v1.45.2/go.mod h1:f20dpzMmUTRp+oYnX0OGjV1Au3Jm2JeI9yLqHq1/xsI=
github.com/golangci/golangci-lint v1.47.0 h1:h2s+ZGGF63fdzUtac+VYUHPsEO0ADTqHouI7Vase+FY=
github.com/golangci/golangci-lint v1.47.0/go.mod h1:3TZhfF5KolbIkXYjUFvER6G9CoxzLEaafr/u/QI1S5A=
github.com/golangci/golangci-lint v1.47.3 h1:ri7A2DgtFpxgqcMSsU3qIT0IBm/SCdYgXlvmJx4szUU=
github.com/golangci/golangci-lint v1.47.3/go.mod h1:IvT5xyPX1W8JUJJrV60gcMzgQe1ttW/38yAzn6LuHOk=
github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0 h1:MfyDlzVjl1hoaPzPD4Gpb/QgoRfSBR0jdhwGyAWwMSA=
github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0/go.mod h1:66R6K6P6VWk9I95jvqGxkqJxVWGFy9XlDwLwVz1RCFg=
github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca h1:kNY3/svz5T29MYHubXix4aDDuE3RWHkPvopM/EDv/MA=
@@ -695,6 +701,7 @@ github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ryancurrah/gomodguard v1.2.3 h1:ww2fsjqocGCAFamzvv/b8IsRduuHHeK2MHTcTxZTQX8=
github.com/ryancurrah/gomodguard v1.2.3/go.mod h1:rYbA/4Tg5c54mV1sv4sQTP5WOPBcoLtnBZ7/TEhXAbg=
github.com/ryancurrah/gomodguard v1.2.4 h1:CpMSDKan0LtNGGhPrvupAoLeObRFjND8/tU1rEOtBp4=
github.com/ryanrolds/sqlclosecheck v0.3.0 h1:AZx+Bixh8zdUBxUA1NxbxVAS78vTPq4rCb8OUZI9xFw=
github.com/ryanrolds/sqlclosecheck v0.3.0/go.mod h1:1gREqxyTGR3lVtpngyFo3hZAgk0KCtEdgEkHwDbigdA=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
@@ -719,11 +726,14 @@ github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrf
github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/sirupsen/logrus v1.8.1 h1:dJKuHgqk1NNQlqoA6BTlM1Wf9DOH3NBjQyu0h9+AZZE=
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0=
github.com/sivchari/containedctx v1.0.2 h1:0hLQKpgC53OVF1VT7CeoFHk9YKstur1XOgfYIc1yrHI=
github.com/sivchari/nosnakecase v1.5.0 h1:ZBvAu1H3uteN0KQ0IsLpIFOwYgPEhKLyv2ahrVkub6M=
github.com/sivchari/nosnakecase v1.7.0 h1:7QkpWIRMe8x25gckkFd2A5Pi6Ymo0qgr4JrhGt95do8=
github.com/sivchari/tenv v1.4.7 h1:FdTpgRlTue5eb5nXIYgS/lyVXSjugU8UUVDwhP1NLU8=
github.com/sivchari/tenv v1.4.7/go.mod h1:5nF+bITvkebQVanjU6IuMbvIot/7ReNsUV7I5NbprB0=
github.com/sivchari/tenv v1.6.0 h1:FyE4WysxLwYljKqWhTfOMjgKjBSnmzzg7lWOmpDiAcc=
github.com/sivchari/tenv v1.7.0 h1:d4laZMBK6jpe5PWepxlV9S+LC0yXqvYHiq8E6ceoVVE=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
@@ -841,6 +851,7 @@ github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1
github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
gitlab.com/bosi/decorder v0.2.1 h1:ehqZe8hI4w7O4b1vgsDZw1YU1PE7iJXrQWFMsocbQ1w=
gitlab.com/bosi/decorder v0.2.2 h1:LRfb3lP6mZWjUzpMOCLTVjcnl/SqZWBWmKNqQvMocQs=
gitlab.com/bosi/decorder v0.2.3 h1:gX4/RgK16ijY8V+BRQHAySfQAb354T7/xQpDB2n10P0=
go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
go.etcd.io/etcd v0.0.0-20200513171258-e048e166ab9c/go.mod h1:xCI7ZzBfRuGgBXyXO6yfWfDmlWd35khcWpUa4L0xI/k=
@@ -898,6 +909,7 @@ golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EH
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw=
golang.org/x/exp/typeparams v0.0.0-20220218215828-6cf2b201936e h1:qyrTQ++p1afMkO4DPEeLGq/3oTsdlvdH4vqZUBWzUKM=
golang.org/x/exp/typeparams v0.0.0-20220613132600-b0d781184e0d h1:+W8Qf4iJtMGKkyAygcKohjxTk4JPsL9DpzApJ22m5Ic=
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
@@ -1005,6 +1017,7 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/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/sync v0.0.0-20220722155255-886fb9371eb4 h1:uVc8UZUe6tr40fFVnUP5Oj+veunVezqYl9z7DYw9xzw=
golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
@@ -1085,6 +1098,7 @@ golang.org/x/sys v0.0.0-20211013075003-97ac67df715c h1:taxlMj0D/1sOAuv/CbSD+MMDo
golang.org/x/sys v0.0.0-20211013075003-97ac67df715c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 h1:rm+CHSpPEEW2IsXUib1ThaHIjuBVZjxNgSKmBLFfD4c=
golang.org/x/sys v0.0.0-20220702020025-31831981b65f h1:xdsejrW/0Wf2diT5CPp3XmKUNbr7Xvw8kYilQ+6qjRY=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f h1:v4INt8xihDGvnrfjMDVXGxw9wrfxYyCjk0KbXjhR55s=
golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
@@ -1206,6 +1220,7 @@ golang.org/x/tools v0.1.7 h1:6j8CgantCy3yc8JGBqkDLMKWqZ0RDU2g1HVgacojGWQ=
golang.org/x/tools v0.1.7/go.mod h1:LGqMHiF4EqQNHR1JncWGqT5BVaXmza+X+BDGol+dOxo=
golang.org/x/tools v0.1.10 h1:QjFRCZxdOhBJ/UNgnBZLbNV13DlbnK0quyivTnXJM20=
golang.org/x/tools v0.1.11 h1:loJ25fNOEhSXfHrpoGj91eCUThwdNX6u24rO1xnNteY=
golang.org/x/tools v0.1.12 h1:VveCTK38A2rkS8ZqFY25HIDFscX5X9OoEhJd3quQmXU=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
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=
@@ -1395,6 +1410,7 @@ honnef.co/go/tools v0.2.1 h1:/EPr//+UMMXwMTkXvCCoaJDq8cpjMO80Ou+L4PDo2mY=
honnef.co/go/tools v0.2.1/go.mod h1:lPVVZ2BS5TfnjLyizF7o7hv7j9/L+8cZY2hLyjP9cGY=
honnef.co/go/tools v0.2.2 h1:MNh1AVMyVX23VUHE2O27jm6lNj3vjO5DexS4A1xvnzk=
honnef.co/go/tools v0.3.2 h1:ytYb4rOqyp1TSa2EPvNVwtPQJctSELKaMyLfqNP4+34=
honnef.co/go/tools v0.3.3 h1:oDx7VAwstgpYpb3wv0oxiZlxY+foCpRAwY7Vk6XpAgA=
mvdan.cc/gofumpt v0.1.1 h1:bi/1aS/5W00E2ny5q65w9SnKpWEF/UIOqDYBILpo9rA=
mvdan.cc/gofumpt v0.1.1/go.mod h1:yXG1r1WqZVKWbVRtBWKWX9+CxGYfA51nSomhM0woR48=
mvdan.cc/gofumpt v0.3.0 h1:kTojdZo9AcEYbQYhGuLf/zszYthRdhDNDUi2JKTxas4=
@@ -1406,6 +1422,7 @@ mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jC
mvdan.cc/unparam v0.0.0-20210104141923-aac4ce9116a7 h1:HT3e4Krq+IE44tiN36RvVEb6tvqeIdtsVSsxmNPqlFU=
mvdan.cc/unparam v0.0.0-20210104141923-aac4ce9116a7/go.mod h1:hBpJkZE8H/sb+VRFvw2+rBpHNsTBcvSpk61hr8mzXZE=
mvdan.cc/unparam v0.0.0-20211214103731-d0ef000c54e5 h1:Jh3LAeMt1eGpxomyu3jVkmVZWW2MxZ1qIIV2TZ/nRio=
mvdan.cc/unparam v0.0.0-20220706161116-678bad134442 h1:seuXWbRB1qPrS3NQnHmFKLJLtskWyueeIzmLXghMGgk=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
+1 -1
View File
@@ -18,7 +18,7 @@ CALENS="${GOBIN}/calens-v0.2.0"
GO_LICENSES="${GOBIN}/go-licenses-v1.0.1-0.20220408034444-fd2d9ec868aa"
GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.47.0"
GOLANGCI_LINT="${GOBIN}/golangci-lint-v1.47.3"
HUGO="${GOBIN}/hugo-v0.94.0"
+2 -2
View File
@@ -1,7 +1,7 @@
# The test runner source for API tests
CORE_COMMITID=dc5c1f5ce58b63ba9cf799ad81fe5cc50421f6da
CORE_COMMITID=1eed08f1229136ac5cd7ef3ae2ccd2821a113129
CORE_BRANCH=master
# The test runner source for UI tests
WEB_COMMITID=52c0a3e8d0c0a2a8a342ed2656254afe03725260
WEB_COMMITID=ef6006d73f454bab263def916ad6c49a8cbfa565
WEB_BRANCH=master
+270 -159
View File
@@ -18,7 +18,7 @@ OC_CI_PHP = "owncloudci/php:%s"
OC_CI_WAIT_FOR = "owncloudci/wait-for:latest"
OC_CS3_API_VALIDATOR = "owncloud/cs3api-validator:0.2.0"
OC_LITMUS = "owncloud/litmus:latest"
OC_OC_TEST_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.8.1"
OC_OC_TEST_MIDDLEWARE = "owncloud/owncloud-test-middleware:1.8.2"
OC_SERVER = "owncloud/server:10"
OC_UBUNTU = "owncloud/ubuntu:20.04"
OSIXIA_OPEN_LDAP = "osixia/openldap:latest"
@@ -33,16 +33,22 @@ PLUGINS_S3 = "plugins/s3:latest"
PLUGINS_S3_CACHE = "plugins/s3-cache:1"
PLUGINS_SLACK = "plugins/slack:1"
REDIS = "redis:6-alpine"
SELENIUM_STANDALONE_CHROME_DEBUG = "selenium/standalone-chrome-debug:3.141.59"
SELENIUM_STANDALONE_CHROME = "selenium/standalone-chrome:104.0-20220812"
SONARSOURCE_SONAR_SCANNER_CLI = "sonarsource/sonar-scanner-cli:latest"
THEGEEKLAB_DRONE_GITHUB_COMMENT = "thegeeklab/drone-github-comment:1"
DEFAULT_PHP_VERSION = "7.4"
DEFAULT_NODEJS_VERSION = "14"
DEFAULT_NODEJS_VERSION = "16"
dirs = {
"base": "/drone/src",
"web": "/drone/src/webTestRunner",
"zip": "/drone/src/zip",
"webZip": "/drone/src/zip/web.tar.gz",
"webPnpmZip": "/drone/src/zip/pnpm-store.tar.gz",
"ocisConfig": "tests/config/drone/ocis-config.json",
"ocis": "/srv/app/tmp/ocis",
"ocisRevaDataRoot": "/srv/app/tmp/ocis/owncloud/data",
# relative path from the base directory dirs["base"]
# this is because the PLUGINS_S3_CACHE does not support absolute paths
# PLUGINS_S3_CACHE is used to cache the core and testing app
@@ -62,7 +68,6 @@ config = {
"services/auth-machine",
"services/frontend",
"services/gateway",
"services/graph-explorer",
"services/graph",
"services/groups",
"services/idm",
@@ -144,6 +149,7 @@ config = {
"architectures": ["arm", "arm64", "amd64"],
},
"litmus": True,
"codestyle": True,
}
# volume for steps to cache Go dependencies between steps of a pipeline
@@ -220,7 +226,8 @@ def main(ctx):
test_pipelines = \
cancelPreviousBuilds() + \
buildCacheWeb(ctx) + \
codestyle(ctx) + \
buildWebCache(ctx) + \
[buildOcisBinaryForTesting(ctx)] + \
cacheCoreReposForTesting(ctx) + \
testOcisModules(ctx) + \
@@ -239,19 +246,7 @@ def main(ctx):
test_pipelines.append(
pipelineDependsOn(
purgeBuildArtifactCache(ctx, "ocis-binary-amd64"),
testPipelines(ctx),
),
)
test_pipelines.append(
pipelineDependsOn(
purgeBuildArtifactCache(ctx, "testrunner"),
testPipelines(ctx),
),
)
test_pipelines.append(
pipelineDependsOn(
purgeBuildArtifactCache(ctx, "testing_app"),
purgeBuildArtifactCache(ctx),
testPipelines(ctx),
),
)
@@ -282,15 +277,15 @@ def main(ctx):
pipelineSanityChecks(ctx, pipelines)
return pipelines
def buildCacheWeb(ctx):
return [{
def cachePipeline(name, steps):
return {
"kind": "pipeline",
"type": "docker",
"name": "cache-web",
"name": "build-%s-cache" % name,
"clone": {
"disable": True,
},
"steps": generateWebCache(ctx),
"steps": steps,
"trigger": {
"ref": [
"refs/heads/master",
@@ -298,7 +293,13 @@ def buildCacheWeb(ctx):
"refs/pull/**",
],
},
}]
}
def buildWebCache(ctx):
return [
cachePipeline("web", generateWebCache(ctx)),
cachePipeline("web-pnpm", generateWebPnpmCache(ctx)),
]
def testOcisModules(ctx):
pipelines = []
@@ -341,12 +342,15 @@ def testPipelines(ctx):
pipelines += litmus(ctx, "ocis")
if "skip" not in config["cs3ApiTests"] or not config["cs3ApiTests"]["skip"]:
pipelines += [cs3ApiTests(ctx, "ocis", "default")]
pipelines.append(cs3ApiTests(ctx, "ocis", "default"))
if "skip" not in config["localApiTests"] or not config["localApiTests"]["skip"]:
pipelines += [
localApiTests(ctx, "ocis", "apiAccountsHashDifficulty"),
localApiTests(ctx, "ocis", "apiSpaces"),
localApiTests(ctx, "ocis", "apiSpacesShares"),
localApiTests(ctx, "ocis", "apiContract"),
localApiTests(ctx, "ocis", "apiArchiver"),
localApiTests(ctx, "ocis", "apiGraph"),
]
if "skip" not in config["apiTests"] or not config["apiTests"]["skip"]:
@@ -464,8 +468,7 @@ def cacheCoreReposForTesting(ctx):
cloneCoreRepos() +
# this does not support the absolute path to the target directory
# so we need to use a relative path :(
rebuildBuildArtifactCache(ctx, "testrunner", dirs["core"]) +
rebuildBuildArtifactCache(ctx, "testing_app", dirs["testing_app"]),
rebuildBuildArtifactCache(ctx, "testrunner", dirs["core"]),
"trigger": {
"ref": [
"refs/heads/master",
@@ -567,6 +570,100 @@ def uploadScanResults(ctx):
},
}
def vendorbinCodestyle(phpVersion):
return [{
"name": "vendorbin-codestyle",
"image": OC_CI_PHP % phpVersion,
"environment": {
"COMPOSER_HOME": "%s/.cache/composer" % dirs["base"],
},
"commands": [
"make vendor-bin-codestyle",
],
}]
def vendorbinCodesniffer(phpVersion):
return [{
"name": "vendorbin-codesniffer",
"image": OC_CI_PHP % phpVersion,
"environment": {
"COMPOSER_HOME": "%s/.cache/composer" % dirs["base"],
},
"commands": [
"make vendor-bin-codesniffer",
],
}]
def codestyle(ctx):
pipelines = []
if "codestyle" not in config:
return []
default = {
"phpVersions": [DEFAULT_PHP_VERSION],
}
if "defaults" in config:
if "codestyle" in config["defaults"]:
for item in config["defaults"]["codestyle"]:
default[item] = config["defaults"]["codestyle"][item]
codestyleConfig = config["codestyle"]
if type(codestyleConfig) == "bool":
if codestyleConfig:
# the config has 'codestyle' true, so specify an empty dict that will get the defaults
codestyleConfig = {}
else:
return pipelines
if len(codestyleConfig) == 0:
# 'codestyle' is an empty dict, so specify a single section that will get the defaults
codestyleConfig = {"doDefault": {}}
for category, matrix in codestyleConfig.items():
params = {}
for item in default:
params[item] = matrix[item] if item in matrix else default[item]
for phpVersion in params["phpVersions"]:
name = "coding-standard-php%s" % phpVersion
result = {
"kind": "pipeline",
"type": "docker",
"name": name,
"workspace": {
"base": "/drone",
"path": "src",
},
"steps": skipIfUnchanged(ctx, "lint") +
vendorbinCodestyle(phpVersion) +
vendorbinCodesniffer(phpVersion) +
[
{
"name": "php-style",
"image": OC_CI_PHP % phpVersion,
"commands": [
"make test-php-style",
],
},
],
"depends_on": [],
"trigger": {
"ref": [
"refs/heads/master",
"refs/pull/**",
"refs/tags/**",
],
},
}
pipelines.append(result)
return pipelines
def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
early_fail = config["localApiTests"]["earlyFail"] if "earlyFail" in config["localApiTests"] else False
@@ -582,7 +679,6 @@ def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") +
ocisServer(storage, accounts_hash_difficulty) +
restoreBuildArtifactCache(ctx, "testrunner", dirs["core"]) +
restoreBuildArtifactCache(ctx, "testing_app", dirs["testing_app"]) +
[
{
"name": "localApiTests-%s-%s" % (suite, storage),
@@ -592,8 +688,7 @@ def localApiTests(ctx, storage, suite, accounts_hash_difficulty = 4):
"PATH_TO_OCIS": dirs["base"],
"PATH_TO_CORE": "%s/%s" % (dirs["base"], dirs["core"]),
"TEST_SERVER_URL": "https://ocis-server:9200",
"OCIS_REVA_DATA_ROOT": "%s" % ("/srv/app/tmp/ocis/owncloud/data/" if storage == "owncloud" else ""),
"SKELETON_DIR": "%s/%s/data/apiSkeleton" % (dirs["base"], dirs["testing_app"]),
"OCIS_REVA_DATA_ROOT": "%s" % (dirs["ocisRevaDataRoot"] if storage == "owncloud" else ""),
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
"TEST_OCIS": "true",
"SEND_SCENARIO_LINE_REFERENCES": "true",
@@ -672,7 +767,6 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") +
ocisServer(storage, accounts_hash_difficulty) +
restoreBuildArtifactCache(ctx, "testrunner", dirs["core"]) +
restoreBuildArtifactCache(ctx, "testing_app", dirs["testing_app"]) +
[
{
"name": "oC10ApiTests-%s-storage-%s" % (storage, part_number),
@@ -682,8 +776,7 @@ def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", ac
"PATH_TO_OCIS": "%s" % dirs["base"],
"PATH_TO_CORE": "%s/%s" % (dirs["base"], dirs["core"]),
"TEST_SERVER_URL": "https://ocis-server:9200",
"OCIS_REVA_DATA_ROOT": "%s" % ("/srv/app/tmp/ocis/owncloud/data/" if storage == "owncloud" else ""),
"SKELETON_DIR": "%s/%s/data/apiSkeleton" % (dirs["base"], dirs["testing_app"]),
"OCIS_REVA_DATA_ROOT": "%s" % (dirs["ocisRevaDataRoot"] if storage == "owncloud" else ""),
"OCIS_SKELETON_STRATEGY": "%s" % ("copy" if storage == "owncloud" else "upload"),
"TEST_OCIS": "true",
"SEND_SCENARIO_LINE_REFERENCES": "true",
@@ -786,11 +879,10 @@ def uiTestPipeline(ctx, filterTags, early_fail, runPart = 1, numberOfParts = 1,
"steps": skipIfUnchanged(ctx, "acceptance-tests") +
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin") +
restoreWebCache() +
restoreWebAcceptanceYarnCache() +
restoreWebPnpmCache() +
ocisServer(storage, accounts_hash_difficulty) +
waitForSeleniumService() +
waitForMiddlewareService() +
restoreBuildArtifactCache(ctx, "testing_app", dirs["testing_app"]) +
[
{
"name": "webUITests",
@@ -799,9 +891,8 @@ def uiTestPipeline(ctx, filterTags, early_fail, runPart = 1, numberOfParts = 1,
"SERVER_HOST": "https://ocis-server:9200",
"BACKEND_HOST": "https://ocis-server:9200",
"RUN_ON_OCIS": "true",
"OCIS_REVA_DATA_ROOT": "/srv/app/tmp/ocis/owncloud/data",
"TESTING_DATA_DIR": "%s/%s" % (dirs["base"], dirs["testing_app"]),
"WEB_UI_CONFIG": "%s/tests/config/drone/ocis-config.json" % dirs["base"],
"OCIS_REVA_DATA_ROOT": "%s" % dirs["ocisRevaDataRoot"],
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
"TEST_TAGS": finalFilterTags,
"LOCAL_UPLOAD_DIR": "/uploads",
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
@@ -821,7 +912,7 @@ def uiTestPipeline(ctx, filterTags, early_fail, runPart = 1, numberOfParts = 1,
"name": "uploads",
"temp": {},
}],
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)] + buildWebCache(ctx)),
"trigger": {
"ref": [
"refs/heads/master",
@@ -858,12 +949,12 @@ def e2eTests(ctx):
"HEADLESS": "true",
"OCIS": "true",
"RETRY": "1",
"WEB_UI_CONFIG": "%s/tests/config/drone/ocis-config.json" % dirs["base"],
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
"LOCAL_UPLOAD_DIR": "/uploads",
},
"commands": [
"cd %s" % dirs["web"],
"sleep 10 && yarn test:e2e:cucumber tests/e2e/cucumber/**/*[!.oc10].feature",
"sleep 10 && pnpm test:e2e:cucumber tests/e2e/cucumber/**/*[!.oc10].feature",
],
}]
@@ -871,7 +962,7 @@ def e2eTests(ctx):
skipIfUnchanged(ctx, "e2e-tests") + \
restoreBuildArtifactCache(ctx, "ocis-binary-amd64", "ocis/bin/ocis") + \
restoreWebCache() + \
restoreWebE2EYarnCache() + \
restoreWebPnpmCache() + \
ocisServer("ocis", 4, []) + \
e2e_test_ocis + \
uploadTracingResult(ctx) + \
@@ -886,7 +977,7 @@ def e2eTests(ctx):
"type": "docker",
"name": "e2e-tests",
"steps": e2eTestsSteps,
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)] + buildWebCache(ctx)),
"trigger": e2e_trigger,
"volumes": e2e_volumes,
}]
@@ -977,7 +1068,7 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
waitForSeleniumService() +
waitForMiddlewareService() +
restoreWebCache() +
restoreWebAcceptanceYarnCache() +
restoreWebPnpmCache() +
[
{
"name": "WebUIAcceptanceTests",
@@ -986,8 +1077,8 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
"SERVER_HOST": "https://ocis-server:9200",
"BACKEND_HOST": "https://ocis-server:9200",
"RUN_ON_OCIS": "true",
"OCIS_REVA_DATA_ROOT": "/srv/app/tmp/ocis/owncloud/data",
"WEB_UI_CONFIG": "%s/tests/config/drone/ocis-config.json" % dirs["base"],
"OCIS_REVA_DATA_ROOT": "%s" % dirs["ocisRevaDataRoot"],
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
"TEST_TAGS": "not @skipOnOCIS and not @skip",
"LOCAL_UPLOAD_DIR": "/uploads",
"NODE_TLS_REJECT_UNAUTHORIZED": 0,
@@ -999,7 +1090,8 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
# 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 %s/services/settings" % dirs["base"],
"retry -t 3 'yarn install --immutable'",
"pnpm config set store-dir ./.pnpm-store",
"retry -t 3 'pnpm install'",
"make test-acceptance-webui",
],
"volumes": [{
@@ -1018,7 +1110,7 @@ def settingsUITests(ctx, storage = "ocis", accounts_hash_difficulty = 4):
"name": "uploads",
"temp": {},
}],
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)]),
"depends_on": getPipelineNames([buildOcisBinaryForTesting(ctx)] + buildWebCache(ctx)),
"trigger": {
"ref": [
"refs/heads/master",
@@ -1726,6 +1818,7 @@ def makeNodeGenerate(module):
"CHROMEDRIVER_SKIP_DOWNLOAD": "true", # install fails on arm and chromedriver is a test only dependency
},
"commands": [
"pnpm config set store-dir ./.pnpm-store",
"retry -t 3 '%s ci-node-generate'" % (make),
],
"volumes": [stepVolumeGo],
@@ -1789,14 +1882,14 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
"OCIS_CONFIG_DIR": "/root/.ocis/config",
"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_SYSTEM_DRIVER_OCIS_ROOT": "/srv/app/tmp/ocis/storage/metadata",
"SHARING_USER_JSON_FILE": "/srv/app/tmp/ocis/shares.json",
"STORAGE_USERS_DRIVER_LOCAL_ROOT": "%s/local/root" % dirs["ocis"],
"STORAGE_USERS_DRIVER_OCIS_ROOT": "%s/storage/users" % dirs["ocis"],
"STORAGE_SYSTEM_DRIVER_OCIS_ROOT": "%s/storage/metadata" % dirs["ocis"],
"SHARING_USER_JSON_FILE": "%s/shares.json" % dirs["ocis"],
"PROXY_ENABLE_BASIC_AUTH": True,
"WEB_UI_CONFIG": "%s/tests/config/drone/ocis-config.json" % dirs["base"],
"WEB_UI_CONFIG": "%s/%s" % (dirs["base"], dirs["ocisConfig"]),
"OCIS_LOG_LEVEL": "error",
"SETTINGS_DATA_PATH": "/srv/app/tmp/ocis/settings",
"SETTINGS_DATA_PATH": "%s/settings" % dirs["ocis"],
"IDM_CREATE_DEMO_USERS": True,
"IDM_ADMIN_PASSWORD": "admin", # override the random admin password from `ocis init`
"FRONTEND_SEARCH_MIN_LENGTH": "2",
@@ -1854,7 +1947,7 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on =
"SHARING_USER_OWNCLOUDSQL_DB_NAME": "owncloud",
# General oCIS config
# OCIS_RUN_SERVICES specifies to start all fullstack services except idm and idp. These are replaced by external services
"OCIS_RUN_SERVICES": "app-registry,app-provider,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_RUN_SERVICES": "app-registry,app-provider,auth-basic,auth-machine,frontend,gateway,graph,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,
"OCIS_BASE_DATA_PATH": "/mnt/data/ocis",
@@ -1902,7 +1995,7 @@ def middlewareService():
"image": OC_OC_TEST_MIDDLEWARE,
"environment": {
"BACKEND_HOST": "https://ocis-server:9200",
"OCIS_REVA_DATA_ROOT": "/srv/app/tmp/ocis/storage/owncloud/",
"OCIS_REVA_DATA_ROOT": "%s/storage/owncloud/" % dirs["ocis"],
"RUN_ON_OCIS": "true",
"HOST": "middleware",
"REMOTE_UPLOAD_DIR": "/uploads",
@@ -1963,7 +2056,7 @@ def selenium():
return [
{
"name": "selenium",
"image": SELENIUM_STANDALONE_CHROME_DEBUG,
"image": SELENIUM_STANDALONE_CHROME,
"volumes": [{
"name": "uploads",
"path": "/uploads",
@@ -2015,17 +2108,15 @@ def skipIfUnchanged(ctx, type):
]
skip = []
if type == "acceptance-tests":
if type == "acceptance-tests" or type == "e2e-tests" or type == "lint":
skip = base + unit
if type == "unit-tests":
elif type == "unit-tests":
skip = base + acceptance
if type == "build-binary" or type == "build-docker" or type == "litmus":
elif type == "build-binary" or type == "build-docker" or type == "litmus":
skip = base + unit + acceptance
if type == "cache":
elif type == "cache":
skip = base
if type == "e2e-tests":
skip = base + unit
if len(skip) == 0:
else:
return []
return [{
@@ -2050,7 +2141,6 @@ def example_deploys(ctx):
"ocis_hello/latest.yml",
"ocis_s3/latest.yml",
"oc10_ocis_parallel/latest.yml",
"ocis_individual_services/latest.yml",
]
released_configs = [
"ocis_ldap/released.yml",
@@ -2163,7 +2253,7 @@ def checkStarlark():
},
}]
def genericCache(name, action, mounts, cache_key):
def genericCache(name, action, mounts, cache_path):
rebuild = "false"
restore = "false"
if action == "rebuild":
@@ -2189,16 +2279,18 @@ def genericCache(name, action, mounts, cache_key):
"secret_key": {
"from_secret": "cache_s3_secret_key",
},
"filename": "%s.tar" % (cache_key),
"filename": "%s.tar" % (name),
"path": cache_path,
"fallback_path": cache_path,
},
}
return step
def genericCachePurge(name, cache_key):
def genericCachePurge(flush_path):
return {
"kind": "pipeline",
"type": "docker",
"name": "purge_%s" % (name),
"name": "purge_build_artifact_cache",
"platform": {
"os": "linux",
"arch": "amd64",
@@ -2218,8 +2310,8 @@ def genericCachePurge(name, cache_key):
"from_secret": "cache_s3_endpoint",
},
"flush": True,
"flush_age": "14",
"filename": "%s.tar" % (cache_key),
"flush_age": 1,
"flush_path": flush_path,
},
},
],
@@ -2236,12 +2328,14 @@ def genericCachePurge(name, cache_key):
}
def genericBuildArtifactCache(ctx, name, action, path):
name = "%s_build_artifact_cache" % (name)
cache_key = "%s/%s/%s" % (ctx.repo.slug, ctx.build.commit + "-${DRONE_BUILD_NUMBER}", name)
if action == "rebuild" or action == "restore":
return genericCache(name, action, [path], cache_key)
cache_path = "%s/%s/%s" % ("cache", ctx.repo.slug, ctx.build.commit + "-${DRONE_BUILD_NUMBER}")
name = "%s_build_artifact_cache" % (name)
return genericCache(name, action, [path], cache_path)
if action == "purge":
return genericCachePurge(name, cache_key)
flush_path = "%s/%s" % ("cache", ctx.repo.slug)
return genericCachePurge(flush_path)
return []
def restoreBuildArtifactCache(ctx, name, path):
@@ -2250,8 +2344,8 @@ def restoreBuildArtifactCache(ctx, name, path):
def rebuildBuildArtifactCache(ctx, name, path):
return [genericBuildArtifactCache(ctx, name, "rebuild", path)]
def purgeBuildArtifactCache(ctx, name):
return genericBuildArtifactCache(ctx, name, "purge", [])
def purgeBuildArtifactCache(ctx):
return genericBuildArtifactCache(ctx, "", "purge", [])
def pipelineSanityChecks(ctx, pipelines):
"""pipelineSanityChecks helps the CI developers to find errors before running it
@@ -2779,44 +2873,96 @@ def setupForLitmus():
],
}]
def generateWebCache(ctx):
def getDroneEnvAndCheckScript(ctx):
ocis_git_base_url = "https://raw.githubusercontent.com/owncloud/ocis"
path_to_drone_env = "%s/%s/.drone.env" % (ocis_git_base_url, ctx.build.commit)
path_to_check_script = "%s/%s/tests/config/drone/check_web_cache.sh" % (ocis_git_base_url, ctx.build.commit)
return {
"name": "get-drone-env-and-check-script",
"image": OC_UBUNTU,
"commands": [
"curl -s -o .drone.env %s" % path_to_drone_env,
"curl -s -o check_web_cache.sh %s" % path_to_check_script,
],
}
return [
{
"name": "get-drone-env-and-check-script",
"image": OC_UBUNTU,
"commands": [
"curl -s -o .drone.env %s" % path_to_drone_env,
"curl -s -o check_web_cache.sh %s" % path_to_check_script,
],
},
{
"name": "check-for-web-cache",
"image": OC_UBUNTU,
"environment": {
"CACHE_ENDPOINT": {
"from_secret": "cache_public_s3_server",
},
"CACHE_BUCKET": {
"from_secret": "cache_public_s3_bucket",
},
def checkForWebCache(name):
return {
"name": "check-for-%s-cache" % name,
"image": OC_UBUNTU,
"environment": {
"CACHE_ENDPOINT": {
"from_secret": "cache_public_s3_server",
},
"CACHE_BUCKET": {
"from_secret": "cache_public_s3_bucket",
},
"commands": [
"bash check_web_cache.sh",
],
},
"commands": [
"bash -x check_web_cache.sh %s" % name,
],
}
def cloneWeb():
return {
"name": "clone-web",
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
"commands": [
". ./.drone.env",
"rm -rf %s" % dirs["web"],
"git clone -b $WEB_BRANCH --single-branch --no-tags https://github.com/owncloud/web.git %s" % dirs["web"],
"cd %s && git checkout $WEB_COMMITID" % dirs["web"],
],
}
def generateWebPnpmCache(ctx):
return [
getDroneEnvAndCheckScript(ctx),
checkForWebCache("web-pnpm"),
cloneWeb(),
{
"name": "clone-web",
"name": "install-pnpm",
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
"commands": [
". ./.drone.env",
"rm -rf %s" % dirs["web"],
"git clone -b $WEB_BRANCH --single-branch --no-tags https://github.com/owncloud/web.git %s" % dirs["web"],
"cd %s && git checkout $WEB_COMMITID" % dirs["web"],
"ls -la",
"cd %s" % dirs["web"],
"pnpm config set store-dir ./.pnpm-store",
"retry -t 3 'pnpm install'",
],
},
{
"name": "zip-pnpm",
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
"commands": [
# zip the pnpm deps before caching
"if [ ! -d '%s' ]; then mkdir -p %s; fi" % (dirs["zip"], dirs["zip"]),
"cd %s" % dirs["web"],
"tar -czvf %s .pnpm-store" % dirs["webPnpmZip"],
],
},
{
"name": "cache-pnpm",
"image": MINIO_MC,
"environment": MINIO_MC_ENV,
"commands": [
"source ./.drone.env",
# cache using the minio/mc client to the public bucket (long term bucket)
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
"mc cp -r -a %s s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID" % dirs["webPnpmZip"],
],
},
]
def generateWebCache(ctx):
return [
getDroneEnvAndCheckScript(ctx),
checkForWebCache("web"),
cloneWeb(),
{
"name": "zip-web",
"image": OC_UBUNTU,
"commands": [
"if [ ! -d '%s' ]; then mkdir -p %s; fi" % (dirs["zip"], dirs["zip"]),
"tar -czvf %s webTestRunner" % dirs["webZip"],
],
},
{
@@ -2827,29 +2973,7 @@ def generateWebCache(ctx):
"source ./.drone.env",
# cache using the minio/mc client to the 'owncloud' bucket (long term bucket)
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
"mc mirror --overwrite --remove %s s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID" % dirs["web"],
],
},
{
"name": "install-yarn",
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
"commands": [
"cd %s" % dirs["web"],
"retry -t 3 'yarn install --immutable --frozen-lockfile'",
"cd %s/tests/acceptance" % dirs["web"],
"retry -t 3 'yarn install --immutable --frozen-lockfile'",
],
},
{
"name": "cache-yarn",
"image": MINIO_MC,
"environment": MINIO_MC_ENV,
"commands": [
"source ./.drone.env",
# cache using the minio/mc client to the 'owncloud' bucket (long term bucket)
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
"mc mirror --overwrite --remove %s/.yarn s3/$CACHE_BUCKET/ocis/web-test-runner/yarn-e2e-$WEB_COMMITID" % dirs["web"],
"mc mirror --overwrite --remove %s/tests/acceptance/.yarn s3/$CACHE_BUCKET/ocis/web-test-runner/yarn-acceptance-$WEB_COMMITID" % dirs["web"],
"mc cp -r -a %s s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID" % dirs["webZip"],
],
},
]
@@ -2861,51 +2985,38 @@ def restoreWebCache():
"environment": MINIO_MC_ENV,
"commands": [
"source ./.drone.env",
"rm -rf %s" % dirs["web"],
"mkdir -p %s" % dirs["web"],
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
"mc mirror s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID %s" % dirs["web"],
"ls -la %s" % dirs["web"],
"chmod +x %s/tests/acceptance/*.sh" % dirs["web"],
"mc cp -r -a s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID/web.tar.gz %s" % dirs["zip"],
],
}, {
"name": "unzip-web-cache",
"image": OC_UBUNTU,
"commands": [
"tar -xvf %s -C ." % dirs["webZip"],
],
}]
def restoreWebE2EYarnCache():
def restoreWebPnpmCache():
return [{
"name": "restore-web-e2e-yarn-cache",
"name": "restore-web-pnpm-cache",
"image": MINIO_MC,
"environment": MINIO_MC_ENV,
"commands": [
"source ./.drone.env",
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
"mc mirror s3/$CACHE_BUCKET/ocis/web-test-runner/yarn-e2e-$WEB_COMMITID %s/.yarn" % dirs["web"],
"ls -la %s/.yarn" % dirs["web"],
"mc cp -r -a s3/$CACHE_BUCKET/ocis/web-test-runner/$WEB_COMMITID/pnpm-store.tar.gz %s" % dirs["zip"],
],
}, {
# we need to install again becase the node_modules are not cached
"name": "install-yarn-e2e",
# we need to install again because the node_modules are not cached
"name": "unzip-and-install-pnpm",
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
"commands": [
"cd %s" % dirs["web"],
"retry -t 3 'yarn install --immutable'",
],
}]
def restoreWebAcceptanceYarnCache():
return [{
"name": "restore-web-acceptance-yarn-cache",
"image": MINIO_MC,
"environment": MINIO_MC_ENV,
"commands": [
"source ./.drone.env",
"mc alias set s3 $MC_HOST $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY",
"mc mirror s3/$CACHE_BUCKET/ocis/web-test-runner/yarn-acceptance-$WEB_COMMITID %s/tests/acceptance/.yarn" % dirs["web"],
"ls -la %s/tests/acceptance/.yarn" % dirs["web"],
],
}, {
# we need to install again becase the node_modules are not cached
"name": "install-yarn-acceptance",
"image": OC_CI_NODEJS % DEFAULT_NODEJS_VERSION,
"commands": [
"cd %s/tests/acceptance" % dirs["web"],
"retry -t 3 'yarn install --immutable'",
"rm -rf .pnpm-store",
"tar -xvf %s" % dirs["webPnpmZip"],
"pnpm config set store-dir ./.pnpm-store",
"retry -t 3 'pnpm install'",
],
}]
+1
View File
@@ -11,6 +11,7 @@ services/*/checkstyle.xml
node_modules/
yarn-error.log
yarn.lock
.pnpm-store/
# build artifacts
*/bin
+160
View File
@@ -0,0 +1,160 @@
linters:
enable-all: true
disable:
- contextcheck # FIXME: causes panic in graph service
- lll # 760 issues in the codebase
- exhaustivestruct
- exhaustruct
- exhaustive # 634 issues in the codebase
- wrapcheck # 398 issues in the codebase
- wsl # 379 issues in the codebase
- varnamelen # 305 issues in the codebase
- tagliatelle # 216 issues in the codebase
- godox
- forbidigo
- gochecknoglobals
- nlreturn
- nosnakecase # each 100-200 issues in codebase
- gci
- godot
- funlen
- gomnd
- gofumpt
- ireturn
- goerr113
- containedctx
- paralleltest
- gocritic # each 50-100 issues in codebase
- whitespace
- cyclop
- noctx
- testpackage
- maligned
- golint
- forcetypeassert
- nonamedreturns
- dupl
- errorlint
- unparam
- stylecheck
- gocognit
- nestif # each 10-50 issues in codebase
linters-settings:
gocyclo:
min-complexity: 35 # there are some func unforuntately who need this - should we refactor them?
severity:
default-severity: error
issues:
exclude-use-default: true
exclude-rules:
- path: _test.go
source: "." # exclude _test.go files from linting
include: # include comment errors. We want comments!
- EXC0002
- EXC0011
- EXC0012
- EXC0013
- EXC0014
- EXC0015
# Enabled by default linters:
# deadcode: Finds unused code [fast: false, auto-fix: false]
# errcheck: Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: false, auto-fix: false]
# gosimple (megacheck): Linter for Go source code that specializes in simplifying code [fast: false, auto-fix: false]
# govet (vet, vetshadow): Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string [fast: false, auto-fix: false]
# ineffassign: Detects when assignments to existing variables are not used [fast: true, auto-fix: false]
# staticcheck (megacheck): It's a set of rules from staticcheck. It's not the same thing as the staticcheck binary. The author of staticcheck doesn't support or approve the use of staticcheck as a library inside golangci-lint. [fast: false, auto-fix: false]
# typecheck: Like the front-end of a Go compiler, parses and type-checks Go code [fast: false, auto-fix: false]
# unused (megacheck): Checks Go code for unused constants, variables, functions and types [fast: false, auto-fix: false]
# varcheck: Finds unused global variables and constants [fast: false, auto-fix: false]
# Disabled by default linters:
# asasalint: check for pass []any as any in variadic func(...any) [fast: false, auto-fix: false]
# asciicheck: Simple linter to check that your code does not contain non-ASCII identifiers [fast: true, auto-fix: false]
# bidichk: Checks for dangerous unicode character sequences [fast: true, auto-fix: false]
# bodyclose: checks whether HTTP response body is closed successfully [fast: false, auto-fix: false]
# containedctx: containedctx is a linter that detects struct contained context.Context field [fast: true, auto-fix: false]
# contextcheck: check the function whether use a non-inherited context [fast: false, auto-fix: false]
# cyclop: checks function and package cyclomatic complexity [fast: false, auto-fix: false]
# decorder: check declaration order and count of types, constants, variables and functions [fast: true, auto-fix: false]
# depguard: Go linter that checks if package imports are in a list of acceptable packages [fast: true, auto-fix: false]
# dogsled: Checks assignments with too many blank identifiers (e.g. x, _, _, _, := f()) [fast: true, auto-fix: false]
# dupl: Tool for code clone detection [fast: true, auto-fix: false]
# durationcheck: check for two durations multiplied together [fast: false, auto-fix: false]
# errchkjson: Checks types passed to the json encoding functions. Reports unsupported types and optionally reports occasions, where the check for the returned error can be omitted. [fast: false, auto-fix: false]
# errname: Checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error`. [fast: false, auto-fix: false]
# errorlint: errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. [fast: false, auto-fix: false]
# execinquery: execinquery is a linter about query string checker in Query function which reads your Go src files and warning it finds [fast: false, auto-fix: false]
# exhaustive: check exhaustiveness of enum switch statements [fast: false, auto-fix: false]
# exhaustivestruct [deprecated]: Checks if all struct's fields are initialized [fast: false, auto-fix: false]
# exhaustruct: Checks if all structure fields are initialized [fast: false, auto-fix: false]
# exportloopref: checks for pointers to enclosing loop variables [fast: false, auto-fix: false]
# forbidigo: Forbids identifiers [fast: true, auto-fix: false]
# forcetypeassert: finds forced type assertions [fast: true, auto-fix: false]
# funlen: Tool for detection of long functions [fast: true, auto-fix: false]
# gci: Gci controls golang package import order and makes it always deterministic. [fast: true, auto-fix: false]
# gochecknoglobals: check that no global variables exist [fast: true, auto-fix: false]
# gochecknoinits: Checks that no init functions are present in Go code [fast: true, auto-fix: false]
# gocognit: Computes and checks the cognitive complexity of functions [fast: true, auto-fix: false]
# goconst: Finds repeated strings that could be replaced by a constant [fast: true, auto-fix: false]
# gocritic: Provides diagnostics that check for bugs, performance and style issues. [fast: false, auto-fix: false]
# gocyclo: Computes and checks the cyclomatic complexity of functions [fast: true, auto-fix: false]
# godot: Check if comments end in a period [fast: true, auto-fix: true]
# godox: Tool for detection of FIXME, TODO and other comment keywords [fast: true, auto-fix: false]
# goerr113: Golang linter to check the errors handling expressions [fast: false, auto-fix: false]
# gofmt: Gofmt checks whether code was gofmt-ed. By default this tool runs with -s option to check for code simplification [fast: true, auto-fix: true]
# gofumpt: Gofumpt checks whether code was gofumpt-ed. [fast: true, auto-fix: true]
# goheader: Checks is file header matches to pattern [fast: true, auto-fix: false]
# goimports: In addition to fixing imports, goimports also formats your code in the same style as gofmt. [fast: true, auto-fix: true]
# golint [deprecated]: Golint differs from gofmt. Gofmt reformats Go source code, whereas golint prints out style mistakes [fast: false, auto-fix: false]
# gomnd: An analyzer to detect magic numbers. [fast: true, auto-fix: false]
# gomoddirectives: Manage the use of 'replace', 'retract', and 'excludes' directives in go.mod. [fast: true, auto-fix: false]
# gomodguard: Allow and block list linter for direct Go module dependencies. This is different from depguard where there are different block types for example version constraints and module recommendations. [fast: true, auto-fix: false]
# goprintffuncname: Checks that printf-like functions are named with `f` at the end [fast: true, auto-fix: false]
# gosec (gas): Inspects source code for security problems [fast: false, auto-fix: false]
# grouper: An analyzer to analyze expression groups. [fast: true, auto-fix: false]
# ifshort: Checks that your code uses short syntax for if-statements whenever possible [fast: true, auto-fix: false]
# importas: Enforces consistent import aliases [fast: false, auto-fix: false]
# interfacer [deprecated]: Linter that suggests narrower interface types [fast: false, auto-fix: false]
# ireturn: Accept Interfaces, Return Concrete Types [fast: false, auto-fix: false]
# lll: Reports long lines [fast: true, auto-fix: false]
# maintidx: maintidx measures the maintainability index of each function. [fast: true, auto-fix: false]
# makezero: Finds slice declarations with non-zero initial length [fast: false, auto-fix: false]
# maligned [deprecated]: Tool to detect Go structs that would take less memory if their fields were sorted [fast: false, auto-fix: false]
# misspell: Finds commonly misspelled English words in comments [fast: true, auto-fix: true]
# nakedret: Finds naked returns in functions greater than a specified function length [fast: true, auto-fix: false]
# nestif: Reports deeply nested if statements [fast: true, auto-fix: false]
# nilerr: Finds the code that returns nil even if it checks that the error is not nil. [fast: false, auto-fix: false]
# nilnil: Checks that there is no simultaneous return of `nil` error and an invalid value. [fast: false, auto-fix: false]
# nlreturn: nlreturn checks for a new line before return and branch statements to increase code clarity [fast: true, auto-fix: false]
# noctx: noctx finds sending http request without context.Context [fast: false, auto-fix: false]
# nolintlint: Reports ill-formed or insufficient nolint directives [fast: true, auto-fix: false]
# nonamedreturns: Reports all named returns [fast: false, auto-fix: false]
# nosnakecase: nosnakecase is a linter that detects snake case of variable naming and function name. [fast: true, auto-fix: false]
# nosprintfhostport: Checks for misuse of Sprintf to construct a host with port in a URL. [fast: true, auto-fix: false]
# paralleltest: paralleltest detects missing usage of t.Parallel() method in your Go test [fast: false, auto-fix: false]
# prealloc: Finds slice declarations that could potentially be pre-allocated [fast: true, auto-fix: false]
# predeclared: find code that shadows one of Go's predeclared identifiers [fast: true, auto-fix: false]
# promlinter: Check Prometheus metrics naming via promlint [fast: true, auto-fix: false]
# revive: Fast, configurable, extensible, flexible, and beautiful linter for Go. Drop-in replacement of golint. [fast: false, auto-fix: false]
# rowserrcheck: checks whether Err of rows is checked successfully [fast: false, auto-fix: false]
# scopelint [deprecated]: Scopelint checks for unpinned variables in go programs [fast: true, auto-fix: false]
# sqlclosecheck: Checks that sql.Rows and sql.Stmt are closed. [fast: false, auto-fix: false]
# structcheck: Finds unused struct fields [fast: false, auto-fix: false]
# stylecheck: Stylecheck is a replacement for golint [fast: false, auto-fix: false]
# tagliatelle: Checks the struct tags. [fast: true, auto-fix: false]
# tenv: tenv is analyzer that detects using os.Setenv instead of t.Setenv since Go1.17 [fast: false, auto-fix: false]
# testpackage: linter that makes you use a separate _test package [fast: true, auto-fix: false]
# thelper: thelper detects golang test helpers without t.Helper() call and checks the consistency of test helpers [fast: false, auto-fix: false]
# tparallel: tparallel detects inappropriate usage of t.Parallel() method in your Go test codes [fast: false, auto-fix: false]
# unconvert: Remove unnecessary type conversions [fast: false, auto-fix: false]
# unparam: Reports unused function parameters [fast: false, auto-fix: false]
# varnamelen: checks that the length of a variable's name matches its scope [fast: false, auto-fix: false]
# wastedassign: wastedassign finds wasted assignment statements. [fast: false, auto-fix: false]
# whitespace: Tool for detection of leading and trailing whitespace [fast: true, auto-fix: true]
# wrapcheck: Checks that errors returned from external packages are wrapped [fast: false, auto-fix: false]
# wsl: Whitespace Linter - Forces you to use empty lines! [fast: true, auto-fix: false]
+6 -2
View File
@@ -64,13 +64,17 @@ go-mod-tidy:
fmt:
gofmt -s -w $(SOURCES)
.PHONY: golangci-lint-fix
golangci-lint-fix: $(GOLANGCI_LINT)
$(GOLANGCI_LINT) run $(LINTERS) --fix
.PHONY: golangci-lint
golangci-lint: $(GOLANGCI_LINT)
$(GOLANGCI_LINT) run -E gosec -E bodyclose -E dogsled -E durationcheck -E revive -E ifshort -E makezero -E prealloc -E predeclared --path-prefix $(NAME)
$(GOLANGCI_LINT) run --path-prefix services/$(NAME)
.PHONY: ci-golangci-lint
ci-golangci-lint: $(GOLANGCI_LINT)
$(GOLANGCI_LINT) run -E gosec -E bodyclose -E dogsled -E durationcheck -E revive -E ifshort -E makezero -E prealloc -E predeclared --path-prefix $(NAME) --timeout 10m0s --issues-exit-code 0 --out-format checkstyle > checkstyle.xml
$(GOLANGCI_LINT) run --path-prefix services/$(NAME) --timeout 10m0s --issues-exit-code 0 --out-format checkstyle > checkstyle.xml
.PHONY: test
test:
+2 -1
View File
@@ -4,7 +4,8 @@ $dirToParse = 'tests/acceptance/';
$dirIterator = new DirectoryIterator(__DIR__ . '/' . $dirToParse);
$excludeDirs = [
'node_modules'
'node_modules',
'vendor-php'
];
$finder = PhpCsFixer\Finder::create()
+6 -1
View File
@@ -1,6 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Listen for Xdebug",
"type": "php",
"request": "launch"
},
{
"name": "oCIS server",
"type": "go",
@@ -22,7 +27,7 @@
// demo users
"IDM_CREATE_DEMO_USERS": "true",
// OCIS_RUN_SERVICES allows to start a subset of services even in the supervised mode
//"OCIS_RUN_SERVICES": "settings,storage-system,graph,graph-explorer,idp,idm,ocs,store,thumbnails,web,webdav,frontend,gateway,users,groups,auth-basic,auth-bearer,storage-authmachine,storage-users,storage-shares,storage-publiclink,storage-system,app-provider,sharing,proxy,ocdav",
//"OCIS_RUN_SERVICES": "settings,storage-system,graph,idp,idm,ocs,store,thumbnails,web,webdav,frontend,gateway,users,groups,auth-basic,storage-authmachine,storage-users,storage-shares,storage-publiclink,storage-system,app-provider,sharing,proxy,ocdav",
/*
* Keep secrets and passwords in one block to allow easy uncommenting
+1044 -156
View File
File diff suppressed because it is too large. Load diff
+3 -6
View File
@@ -1,6 +1,6 @@
# Please use this Dockerfile only if
# you want to build an image from source without
# Yarn and Go installed on your dev machine.
# pnpm and Go installed on your dev machine.
# You can build oCIS using this Dockerfile
# by running following command:
@@ -10,7 +10,7 @@
# following command instead:
# `make -C ocis dev-docker`
# It will build a `owncloud/ocis:dev` image for you
# and use your local Yarn and Go caches and therefore
# and use your local pnpm and Go caches and therefore
# is a lot faster than the build steps below.
@@ -30,10 +30,7 @@ RUN make ci-go-generate build
FROM alpine:3.15
RUN apk update && \
apk upgrade && \
apk add ca-certificates mailcap && \
rm -rf /var/cache/apk/* && \
RUN apk add --no-cache ca-certificates mailcap tree attr curl && \
echo 'hosts: files dns' >| /etc/nsswitch.conf
LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
+20 -2
View File
@@ -25,7 +25,6 @@ OCIS_MODULES = \
services/frontend \
services/gateway \
services/graph \
services/graph-explorer \
services/groups \
services/idm \
services/idp \
@@ -34,6 +33,7 @@ OCIS_MODULES = \
services/ocdav \
services/ocs \
services/proxy \
services/search \
services/settings \
services/sharing \
services/storage-system \
@@ -185,6 +185,18 @@ protobuf:
echo -n "% protobuf $$mod: "; $(MAKE) --no-print-directory -C $$mod protobuf || exit 1; \
done
.PHONY: golangci-lint
golangci-lint:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod golangci-lint; \
done
.PHONY: golangci-lint-fix
golangci-lint-fix:
@for mod in $(OCIS_MODULES); do \
$(MAKE) --no-print-directory -C $$mod golangci-lint-fix; \
done
.PHONY: bingo-update
bingo-update: $(BINGO)
$(BINGO) get -l -u
@@ -264,13 +276,19 @@ ci-format: $(BUILDIFIER)
.PHONY: test-php-style
test-php-style: vendor-bin/owncloud-codestyle/vendor vendor-bin/php_codesniffer/vendor
$(PHP_CS_FIXER) fix -v --diff --allow-risky yes --dry-run
$(PHP_CODESNIFFER) --cache --runtime-set ignore_warnings_on_exit --standard=phpcs.xml tests/acceptance
$(PHP_CODESNIFFER) --cache --runtime-set ignore_warnings_on_exit --standard=phpcs.xml tests/acceptance tests/TestHelpers
.PHONY: test-php-style-fix
test-php-style-fix: vendor-bin/owncloud-codestyle/vendor
$(PHP_CS_FIXER) fix -v --diff --allow-risky yes
$(PHP_CODEBEAUTIFIER) --cache --runtime-set ignore_warnings_on_exit --standard=phpcs.xml tests/acceptance
.PHONY: vendor-bin-codestyle
vendor-bin-codestyle: vendor-bin/owncloud-codestyle/vendor
.PHONY: vendor-bin-codesniffer
vendor-bin-codesniffer: vendor-bin/php_codesniffer/vendor
vendor-bin/owncloud-codestyle/vendor: vendor/bamarni/composer-bin-plugin vendor-bin/owncloud-codestyle/composer.lock
composer bin owncloud-codestyle install --no-progress
+1 -1
View File
@@ -37,5 +37,5 @@ Apache-2.0
## Copyright
```console
Copyright (c) 2020-2021 ownCloud GmbH <https://owncloud.com>
Copyright (c) 2020-2022 ownCloud GmbH <https://owncloud.com>
```
@@ -0,0 +1,6 @@
Enhancement: Add curl to the oCIS OCI image
We've added curl to the oCIS OCI image published on Dockerhub.
This can be used for eg. healthchecks with the services' health endpoint.
https://github.com/owncloud/ocis/pull/4751
@@ -0,0 +1,7 @@
Enhancement: Add Email templating
We have added email templating to ocis. Which are send on the SpaceShared and ShareCreated event.
https://github.com/owncloud/ocis/pull/4564
https://github.com/owncloud/ocis/issues/4303
https://github.com/cs3org/reva/pull/3252
@@ -0,0 +1,5 @@
Enhancement: We added e-mail subject templating
We have added e-mail subject templating.
https://github.com/owncloud/ocis/pull/4799
@@ -0,0 +1,5 @@
Enhancement: Add webURL to space root
Add the web url to the space root on the graphAPI.
https://github.com/owncloud/ocis/pull/4588
@@ -0,0 +1,8 @@
Bugfix: Fix configuration of mimetypes for the app registry
We've fixed the configuration option for mimetypes in the app registry.
Previously the default config would always be merged over the user provided
configuration. Now the default mimetype configuration is only used if the user does not
providy any mimetype configuration (like it is already done in the proxy with the routes configuration).
https://github.com/owncloud/ocis/pull/4411
@@ -0,0 +1,6 @@
Bugfix: Disable default expiration for public links
The default expiration for public links was enabled in the capabilities without providing a (then required) default amount of days for clients to pick a reasonable expiration date upon link creation. This has been fixed by disabling the default expiration for public links in the capabilities. With this configuration clients will no longer set a default expiration date upon link creation.
https://github.com/owncloud/ocis/issues/4445
https://github.com/owncloud/ocis/pull/4475
@@ -0,0 +1,6 @@
Bugfix: Show help for some commands when unconfigured
We've fixed some commands to show the help also when oCIS is not yet configured.
Previously the help was not displayed to the user but instead a configuration validation error.
https://github.com/owncloud/ocis/pull/4405
@@ -0,0 +1,6 @@
Bugfix: Translations on login page
We've fixed several translations on the login page. Also, the browser language is now being used properly to determine the language.
https://github.com/owncloud/web/issues/7550
https://github.com/owncloud/ocis/pull/4504
@@ -0,0 +1,6 @@
Bugfix: Autocreate IDP private key also if file exists but is empty
We've fixed the behavior for the IDP private key generation so that
a private key is also generated when the file already exists but is empty.
https://github.com/owncloud/ocis/pull/4394
@@ -0,0 +1,6 @@
Bugfix: Rename extensions to services (leftover occurences)
We've already renamed extensions to services in previous PRs and this
PR peforms this rename for leftover occurences.
https://github.com/owncloud/ocis/pull/4407
@@ -0,0 +1,9 @@
Change: Build service frontends with pnpm instead of yarn
We changed the Node.js packager from Yarn to pnpm to make it more consistent with the main Web repo.
pnpm offers better package isolation and prevents a whole class of errors.
This is only relevant for developers.
https://github.com/owncloud/ocis/pull/4878
https://github.com/owncloud/web/pull/7835
@@ -0,0 +1,6 @@
Change: rename "uploads purge" command to "uploads clean"
We've renamed the storage-users service's "uploads purge" command
to "upload clean".
https://github.com/owncloud/ocis/pull/4403
@@ -0,0 +1,5 @@
Enhancement: Configurable max lock cycles
Adds config option for max lock cycles. Also bumps reva
https://github.com/owncloud/ocis/pull/4964
@@ -0,0 +1,5 @@
Enhancement: Allow to configuring the reva cache store
We have added the possibility to configure the cache store implementation for the users storage.
https://github.com/owncloud/ocis/pull/4627
@@ -0,0 +1,6 @@
Enhancement: Add support for REPORT requests to /dav/spaces URLs
We added support for /dav/spaces REPORT requests which allow for searching specific spaces.
https://github.com/owncloud/ocis/pull/4661
https://github.com/owncloud/ocis/issues/4034
@@ -0,0 +1,6 @@
Enhancement: Introduce "delete-all-spaces" permission
This is assigned to the Admin role by default and allows to cleanup orphaned
spaces (e.g. where the owner as been deleted)
https://github.com/owncloud/ocis/issues/4196
+5
View File
@@ -0,0 +1,5 @@
Enhancement: Deny access to resources
We added an experimental feature to deny access to a certain resource. This feature is disabled by default and considered as EXPERIMENTAL. You can enable it by setting FRONTEND_OCS_ENABLE_DENIALS to `true`. It announces an available deny access permission via WebDAV on each resource. By convention it is only possible to deny access on folders. The clients can check the presence of the feature by the capability `deny_access` in the `files_sharing` section.
https://github.com/owncloud/ocis/pull/4903
@@ -0,0 +1,5 @@
Change: Enable privatelinks by default
Enable privatelinks by default in the capabilities.
https://github.com/owncloud/ocis/pull/4599/
@@ -0,0 +1,7 @@
Enhancement: Add /app/open-with-web endpoint
We've added an /app/open-with-web endpoint to the app provider, so that
clients that are no browser or have only limited browser access can also open apps with the help of a Web URL.
https://github.com/owncloud/ocis/pull/4376
https://github.com/cs3org/reva/pull/3143
@@ -0,0 +1,6 @@
Enhancement: Add previewFileMimeTypes to web default config
We've added previewFileMimeTypes to the web default config, so web can determine which preview types are supported
by the backend.
https://github.com/owncloud/ocis/pull/4414
@@ -0,0 +1,8 @@
Enhancement: Added language option to the app provider
We've added a language option to the app provider which will in the
end be passed to the app a user opens so that the web ui is displayed in the users language.
https://github.com/owncloud/ocis/pull/4399
https://github.com/cs3org/reva/pull/3156
https://github.com/owncloud/ocis/issues/4367
@@ -0,0 +1,6 @@
Enhancement: Improve login screen design
We've improved the design of the login screen to match with the general design used in Web.
https://github.com/owncloud/ocis/pull/4500
https://github.com/owncloud/web/issues/7552
@@ -0,0 +1,10 @@
Enhancement: Add configuration options for mail authentication and encryption
We've added configuration options to configure the authentication and encryption
for sending mails in the notifications service.
Furthermore there is now a distinguished configuration option for the username to use
for authentication against the mail server. This allows you to customize the sender address
to your liking. For example sender addresses like `my oCIS instance <ocis@owncloud.test>` are now possible, too.
https://github.com/owncloud/ocis/pull/4443
@@ -0,0 +1,5 @@
Enhancement: Allow to configure applications in Web
We've added the possibility to configure applications in the Web configuration.
https://github.com/owncloud/ocis/pull/4578
@@ -0,0 +1,8 @@
Enhancement: added command to reset administrator password
The new command `ocis idm resetpassword` allows to reset the administrator
password when ocis is not running. So it is possible to recover setups
where the admin password was lost.
https://github.com/owncloud/ocis/issues/4084
https://github.com/owncloud/ocis/pull/4365
@@ -0,0 +1,5 @@
Bugfix: Disable federation capabilities
We disabled the federation support in the capabilities because it is currently not supported.
https://github.com/owncloud/ocis/pull/4864
@@ -0,0 +1,6 @@
Bugfix: Fix authentication for autoprovisioned users
We've fixed an issue in the proxy, which made the first http request of an
autoprovisioned user fail.
https://github.com/owncloud/ocis/issues/4616
@@ -0,0 +1,5 @@
Bugfix: Bring back the settings UI in Web
We've fixed the oC Web configuration in oCIS so that the settings UI will be shown again in Web.
https://github.com/owncloud/ocis/pull/4691
@@ -0,0 +1,5 @@
Bugfix: Fix cache stat table config
We have aligned the cache table config for the gateway and the dataprovider to make them actually use the same cache instance.
https://github.com/owncloud/ocis/pull/4732
@@ -0,0 +1,6 @@
Bugfix: Change the default value for PROXY_OIDC_INSECURE to false
We've changed the default value for PROXY_OIDC_INSECURE to `false`.
Previously the default values was `true` which is not acceptable since default values need to be secure.
https://github.com/owncloud/ocis/pull/4601
@@ -0,0 +1,13 @@
Bugfix: Fix sharing jsoncs3 driver options
We've fixed the environment variable config options of the jsoncs3 driver that previously
used the same environment variables as the cs3 driver.
Now the jsoncs3 driver has it's own configuration environment variables.
If you used the jsoncs3 sharing driver and explicitly set `SHARING_PUBLIC_CS3_SYSTEM_USER_ID`,
this PR is a breaking change for your deployment. To workaround you may set the value you had
configured in `SHARING_PUBLIC_CS3_SYSTEM_USER_ID` to both `SHARING_PUBLIC_JSONCS3_SYSTEM_USER_ID`
and `SHARING_PUBLIC_JSONCS3_SYSTEM_USER_IDP`.
https://github.com/owncloud/ocis/pull/4593
@@ -0,0 +1,8 @@
Bugfix: Don't run auth-bearer service by default
We no longer start the auth-bearer service by default. This service is
currently unused and not required to run ocis. The equivalent functionality
to verify OpenID connect tokens and to mint reva tokes for OIDC authenticated
clients is currently implemented inside the oidc-auth middleware of the proxy.
https://github.com/owncloud/ocis/issues/4692
@@ -0,0 +1,7 @@
Bugfix: Fix notifications service settings
We've fixed two notifications service setting:
- `NOTIFICATIONS_MACHINE_AUTH_API_KEY` was previously not picked up (only `OCIS_MACHINE_AUTH_API_KEY` was loaded)
- If you used a email sender address in the format of the default value of `NOTIFICATIONS_SMTP_SENDER` no email could be send.
https://github.com/owncloud/ocis/pull/4652
@@ -0,0 +1,6 @@
Bugfix: Fix the OIDC provider cache
We've fixed the OIDC provider cache. It never had a cache hit before this fix.
Under some circumstances it could cause a painfully slow OCIS if the IDP wellknown endpoint takes some time to respond.
https://github.com/owncloud/ocis/pull/4600
@@ -0,0 +1,6 @@
Bugfix: Fix permissions in REPORT
The REPORT endpoint wouldn't return any permissions on personal spaces
Now it does. Also bumps reva
https://github.com/owncloud/ocis/pull/4520
@@ -0,0 +1,12 @@
Bugfix: Fix search report
There were multiple issues with REPORT search responses from webdav. Also we want it to be consistent with PROPFIND responses.
* the `remote.php` prefix was missing from the href (added even though not neccessary)
* the ids were formatted wrong, they should look different for shares and spaces.
* the name of the resource was missing
* the shareid was missing (for shares)
* the prop `shareroot` (containing the name of the share root) was missing
* the permissions prop was empty
https://github.com/owncloud/web/issues/7557
https://github.com/owncloud/ocis/pull/4484
@@ -0,0 +1,6 @@
Bugfix: render webdav permissions as string in search report
We now correctly render the `oc:permissions` of resources as a string.
https://github.com/owncloud/ocis/issues/4575
https://github.com/owncloud/ocis/pull/4579
Loaded 100 of 745 files, more files were not shown because too many files have changed in this diff. Show more