Commit Graph

956 Commits

Author SHA1 Message Date
Michael Barz
28e6ec77cb Merge pull request #6303 from owncloud/update-reva
[full-ci] update reva
2023-05-15 17:10:02 +02:00
Michael Barz
488d13c7ca update the libregraph lib to latest 2023-05-15 14:28:48 +02:00
Michael Barz
90aca2d2fc update reva to latest edge 2023-05-15 14:14:51 +02:00
Jörn Friedrich Dreyer
62878b6428 bump reva to e00c55c0a4d3
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-05-15 10:29:56 +02:00
Ralf Haferkamp
39950845d2 Bump go-micro/v4/store/redis to latest main commit
This includes these two fixes:
https://github.com/go-micro/plugins/pull/109
https://github.com/go-micro/plugins/pull/110
2023-05-12 14:49:19 +02:00
dependabot[bot]
184647e30e Bump github.com/cloudflare/circl from 1.2.0 to 1.3.3
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.2.0 to 1.3.3.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.2.0...v1.3.3)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-12 09:51:18 +02:00
André Duffeck
b614eb6974 Bump reva 2023-05-10 11:45:23 +02:00
Michael Barz
be8d253b82 update reva, replace go-micro redis store plugin 2023-05-08 17:31:31 +02:00
Roman Perekhod
8bbf4ababe bump the reva version 2023-05-08 16:29:35 +02:00
Roman Perekhod
d69decdafe fix Graph delete request leaks existence of space #5031 2023-05-08 16:13:52 +02:00
Jörn Friedrich Dreyer
a8e8d0b841 bump reva to 756a84314af0
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-05-04 17:16:56 +02:00
Michael Barz
5fd3141791 Update Reva 2023-05-03 21:26:35 +02:00
Jörn Friedrich Dreyer
4360444c81 bump reva to 2118139f5420
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-05-03 14:20:52 +02:00
jkoberg
b9db1c270c bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-28 11:35:46 +02:00
Jörn Friedrich Dreyer
3489de1c42 listing drives sould use the user filter (#6103)
* listing drives shsould use the user filter

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

* fix status code

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

* check correct error

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

* Adapt expected failures

* Bump reva

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: André Duffeck <andre.duffeck@firondu.de>
2023-04-28 10:06:40 +02:00
Andre Duffeck
129489203b Cleanup and improve the caching config (#6148)
* Cleanup and improve the caching config

* bump reva

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

* disable stat cache

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

* Bump reva

* Linter fixes

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-04-27 12:35:30 +02:00
dependabot[bot]
40192ca45a Bump github.com/google/go-tika from 0.2.0 to 0.3.0
Bumps [github.com/google/go-tika](https://github.com/google/go-tika) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/google/go-tika/releases)
- [Commits](https://github.com/google/go-tika/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-tika
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-27 08:38:26 +02:00
Andre Duffeck
be569b7c59 [full-ci] More cache cleanup (#6134)
* Make env var names consistent with the others

* Remove unused OCS cache

* Use the same cache database for shared caches

* Bump reva
2023-04-25 15:46:59 +02:00
dependabot[bot]
02946469d5 Bump github.com/prometheus/client_golang from 1.14.0 to 1.15.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-25 08:40:26 +02:00
Andre Duffeck
77bb3d8bcd [full-ci] Refactor stores (#6019)
* Streamline the store implementation with and into reva

* Adapt to the cache/store refactoring in reva

* Streamline config options and their env vars

* Apply suggestions from code review

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

* Use the same database for all stores

* Bump reva

* Configure stat and filemetadata cache separately

* Fix default config

---------

Co-authored-by: Martin <github@diemattels.at>
2023-04-24 15:13:35 +02:00
jkoberg
a5486c2726 bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-21 09:09:59 +02:00
Christian Richter
e88a0d7bc3 add tests for oidc backchannel logout
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-04-19 17:32:49 +02:00
Christian Richter
a3640b0565 extract full claims from jwt token to get session id
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-04-19 17:32:23 +02:00
Martin
7816811a86 Merge pull request #6078 from owncloud/dependabot/go_modules/github.com/go-micro/plugins/v4/store/nats-js-1.2.0
Bump github.com/go-micro/plugins/v4/store/nats-js from 1.1.0 to 1.2.0
2023-04-19 10:44:14 +02:00
Michael Barz
dd8e752fd3 Merge pull request #6047 from owncloud/excds/feature/add_capabilities_indicating_read-only_attributes
reva/frontend: Add capabilities to indicate attributes that are read-only
2023-04-19 10:33:43 +02:00
dependabot[bot]
b2d24438bc Bump github.com/go-micro/plugins/v4/store/nats-js from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/store/nats-js](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/store/nats-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-19 06:59:38 +00:00
Florian Schade
fdaf39f5d1 fix: proxy policies middleware tus filename evaluation
when uploading files via uppy (tus), the path does not give any information about the file, PUT contains the filename in the path, tus POST not.

this pr extracts the HeaderUploadMetadata from that POST request and enhances the policies grpc environment request with that information.

Therefore, the policies service is now able to evaluate proxy requests for tus uploads too.
2023-04-18 20:26:52 +02:00
dependabot[bot]
bb4572bc2c Bump golang.org/x/text from 0.8.0 to 0.9.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.8.0...v0.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-18 14:19:27 +02:00
Daniel Swärd
8e5ff030f7 Change config value to list of strings and bump reva. 2023-04-18 12:25:45 +02:00
dependabot[bot]
a08ea5647c Bump github.com/urfave/cli/v2 from 2.24.4 to 2.25.1
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.24.4 to 2.25.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.24.4...v2.25.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>
2023-04-17 13:01:45 +02:00
Michael Barz
f80cc175fd [full-ci] Do not share versions (#5531)
* change test expectations

* bump reva  version

* add changelog

* fix test

* php style fix

* bump webCommit. fixt contarct tests

* change webBranch

* change webBranch

* new web commit

* fix flaky draw.io file

* fix after review

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-04-06 12:52:38 +02:00
Ralf Haferkamp
65a3fc09ca Bump libre-graph-go 2023-04-04 15:56:57 +02:00
jkoberg
e21082318b bump go-ldap version
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-04-04 11:12:50 +02:00
Michael Barz
94697aa518 update reva 2023-04-03 17:29:49 +02:00
dependabot[bot]
8f6f52c2ec Bump github.com/blevesearch/bleve/v2 from 2.3.6 to 2.3.7
Bumps [github.com/blevesearch/bleve/v2](https://github.com/blevesearch/bleve) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/blevesearch/bleve/releases)
- [Commits](https://github.com/blevesearch/bleve/compare/v2.3.6...v2.3.7)

---
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>
2023-04-03 15:40:10 +02:00
Daniel Swärd
b78bea77de Bump reva version to include share type for guest users. 2023-04-03 11:22:35 +02:00
kobergj
3a8b4043e6 Merge pull request #5950 from kobergj/GDPRExport
GDPR Export
2023-03-30 16:56:23 +02:00
jkoberg
1bb9b5c589 use feature reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-30 10:06:32 +02:00
dependabot[bot]
b4e9d84b85 Bump github.com/open-policy-agent/opa from 0.50.0 to 0.50.2
Bumps [github.com/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.50.0 to 0.50.2.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-policy-agent/opa/compare/v0.50.0...v0.50.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 07:01:35 +00:00
dependabot[bot]
e64f4a90f3 Bump golang.org/x/oauth2 from 0.4.0 to 0.6.0
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.4.0 to 0.6.0.
- [Release notes](https://github.com/golang/oauth2/releases)
- [Commits](https://github.com/golang/oauth2/compare/v0.4.0...v0.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-29 15:10:45 +02:00
kobergj
bfe8ed8db5 Merge pull request #5700 from owncloud/invitations
Invitations service
2023-03-28 15:27:56 +02:00
Michael Barz
85059cfecf Merge pull request #5922 from owncloud/excds/update/Bump_reva_version
Bump reva to to add user type property.
2023-03-24 14:24:31 +01:00
dependabot[bot]
263415cf4d Bump github.com/gabriel-vasile/mimetype from 1.4.1 to 1.4.2 (#5919)
Bumps [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/gabriel-vasile/mimetype/releases)
- [Commits](https://github.com/gabriel-vasile/mimetype/compare/v1.4.1...v1.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-24 13:19:57 +01:00
Daniel Swärd
aa4b9681cc Bump reva to to add user type property. 2023-03-24 11:57:50 +01:00
kobergj
1f6ddcb620 bump reva (#5921)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-24 11:44:46 +01:00
Daniël Franke
9355ed6812 Add tests for keycloak backend. 2023-03-24 11:43:14 +01:00
Daniël Franke
f244869e91 Use keycloak for invitations backend.
As keycloak already supports everything needed for the required
invitation flow, it's ideal to use as the first backend to create users
and to send them invitation mails.

This PR implements that as the first and (for now) only backend.
2023-03-24 11:43:11 +01:00
dependabot[bot]
12e26ee1ab Bump github.com/crewjam/saml from 0.4.10 to 0.4.13
Bumps [github.com/crewjam/saml](https://github.com/crewjam/saml) from 0.4.10 to 0.4.13.
- [Release notes](https://github.com/crewjam/saml/releases)
- [Commits](https://github.com/crewjam/saml/compare/v0.4.10...v0.4.13)

---
updated-dependencies:
- dependency-name: github.com/crewjam/saml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-23 19:28:12 +00:00
kobergj
8e5fcf8482 Merge pull request #5846 from kobergj/Antivirus
Antivirus
2023-03-23 10:04:12 +01:00
Jörn Friedrich Dreyer
6bec87f582 Proxy accesstoken cache store (#5829)
* refactor middleware options

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

* use ocmemstore micro store implementaiton for token cache

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

* refactor ocis store options, support redis sentinel

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

* align cache configuration

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

* database and tabe are used to build prefixes for inmemory stores

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

* add global persistent store options to userlog config

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

* log cache errors but continue

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

* drup unnecessary type conversion

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

* Better description for the default userinfo ttl

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

* use global cache options for even more caches

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

* don't log userinfo cache misses

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

* default to stock memory store

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

* use correct mem store typo string

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

* split cache options, doc cleanup

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

* mint and write userinfo to cache async

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

* use hashed token as key

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

* go mod tidy

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

* update docs

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

* update cache store naming

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

* bring back depreceted ocis-pkg/store package for backwards compatability

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

* update changelog

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

* Apply suggestions from code review

Co-authored-by: kobergj <jkoberg@owncloud.com>

* revert ocis-pkg/cache to store rename

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

* add waiting for each step 50 milliseconds

* starlack check

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: kobergj <jkoberg@owncloud.com>
Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2023-03-22 15:21:57 +01:00