Commit Graph
11119 Commits
Author SHA1 Message Date
Ralf HaferkampandRalf 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]andRalf Haferkamp 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]andRalf Haferkamp 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]andRalf Haferkamp 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]andRalf Haferkamp 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 ChristofasandRalf Haferkamp bfb26cc660 update tests 2022-09-01 12:43:32 +02:00
David ChristofasandRalf Haferkamp e20b2b1536 fix default policy and add changelog 2022-09-01 12:43:32 +02:00
David ChristofasandRalf Haferkamp 69de4616b5 fix linting issues 2022-09-01 12:43:32 +02:00
David ChristofasandRalf Haferkamp 90574268d9 add missing unprotected flag and fix proxy test 2022-09-01 12:43:32 +02:00
David ChristofasandRalf Haferkamp 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 ChristofasandRalf Haferkamp 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]andRalf Haferkamp 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]andRalf Haferkamp 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]andRalf Haferkamp 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]andRalf Haferkamp 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 ScharfandGitHub 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]andRalf Haferkamp 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 ScharfandGitHub 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 ChristofasandGitHub 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 ChristofasandGitHub 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 GurungandGitHub f9cd1f5271 [tests-only][full-ci]Add lock related tests for /Shares on ocis (#4404) 2022-08-31 12:57:15 +05:45
dependabot[bot]andGitHub 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]andGitHub 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]andRalf Haferkamp 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 KulmannandRalf Haferkamp 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 HaferkampandRalf 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 NeumannandGitHub 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 NeumannandGitHub 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 DavisandGitHub 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