Commit Graph

827 Commits

Author SHA1 Message Date
Florian Schade
38a43df924 [full-ci] bump reva (#5404)
* bump reva
2023-01-13 16:44:16 +01:00
David Christofas
958ba28db3 add expiration to user and group shares (#5389) 2023-01-12 17:26:06 +01:00
Jörn Friedrich Dreyer
078698fdf4 graph: add appRoleAssignments and minimal application resource (#5318)
* bump libregraph-go lib

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

* add appRoleAssignment stubs

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

* add get application stub

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

* fetch appRoles for application from settings service

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

* initial list appRoleAssignments implementation

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

* initial create appRoleAssignment implementation, extract assignmentToAppRoleAssignment, configurable app id and displayname

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

* initial delete appRoleAssignment implementation, changed error handling and logging

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

* initial expand appRoleAssignment on users

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

* test user expand appRoleAssignment

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

* test appRoleAssignment

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

* fix education test by actually using the mocked roleManager

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

* test getapplication

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

* list assignments

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

* use common not exists error handling

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

* default to just 'ownCloud Infinite Scale' as application name

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

* fix store_test

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

* roll application uuid on init

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

* fix tests

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

* extract method

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

* Apply suggestions from code review

Co-authored-by: Michael Barz <mbarz@owncloud.com>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Michael Barz <mbarz@owncloud.com>
2023-01-12 16:09:34 +01:00
jkoberg
eae7f60296 bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>

tmp

Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-01-12 13:21:45 +01:00
Florian Schade
e487faf145 bump reva again 2023-01-10 17:21:26 +01:00
Florian Schade
8aa6f0709f bump reva 2023-01-10 17:12:17 +01:00
Florian Schade
bb1540fc45 [full-ci] add identitySet displayName property to the group and user sets (#5347)
* add identitySet displayName property to the group and user sets
2023-01-10 15:42:13 +01:00
dependabot[bot]
1ed52fb57f Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.7.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.5.0 to 2.7.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.5.0...v2.7.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>
2023-01-10 08:59:23 +01:00
dependabot[bot]
da44b7fa5b Bump github.com/crewjam/saml from 0.4.6 to 0.4.9 (#5331)
Bumps [github.com/crewjam/saml](https://github.com/crewjam/saml) from 0.4.6 to 0.4.9.
- [Release notes](https://github.com/crewjam/saml/releases)
- [Commits](https://github.com/crewjam/saml/compare/v0.4.6...v0.4.9)

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

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>
2023-01-05 17:16:33 +01:00
Florian Schade
21797fb22d [full-ci] Bump libre-graph-api-go and drive group permissions (#5312)
* Bump libre-graph-api-go
Expose drive group permissions

Co-authored-by: kobergj <jkoberg@owncloud.com>
2022-12-30 17:23:56 +01:00
Florian Schade
e3e516fcdd bump reva (#5310) 2022-12-30 11:46:15 +01:00
jkoberg
8f48242696 bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-30 09:25:26 +01:00
Florian Schade
8db120c39a bump libre-graph-go 2022-12-29 10:30:22 +01:00
jkoberg
8f8824571c bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-23 10:55:57 +01:00
David Christofas
50882a4598 Merge pull request #5231 from owncloud/dependabot/go_modules/github.com/golang-jwt/jwt/v4-4.4.3
Bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.4.3
2022-12-22 13:42:15 +01:00
jkoberg
b73954d990 use latest reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-20 09:54:14 +01:00
Florian Schade
1db03dd512 [full-ci] experimental tags backport (#5227)
* add tags to search service resource
add tags getTags, AssignTags and UnassignTags endpoint to graph
use and prefer search event spaceOwner over executant
add tags to search report response
update libre graph api
update reva

Co-authored-by: David Christofas <dchristofas@owncloud.com>
2022-12-19 15:44:02 +01:00
kobergj
341cdc9dd3 Merge pull request #5207 from kobergj/AsyncPostprocessing
[full-ci] Async Postprocessing
2022-12-16 11:58:24 +01:00
dependabot[bot]
bcfad9fcfc Bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.4.3
Bumps [github.com/golang-jwt/jwt/v4](https://github.com/golang-jwt/jwt) from 4.4.2 to 4.4.3.
- [Release notes](https://github.com/golang-jwt/jwt/releases)
- [Changelog](https://github.com/golang-jwt/jwt/blob/main/VERSION_HISTORY.md)
- [Commits](https://github.com/golang-jwt/jwt/compare/v4.4.2...v4.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-15 06:05:49 +00:00
jkoberg
c762d9d9ba bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-12-14 12:24:53 +01:00
David Christofas
84d967a4f5 Merge pull request #5223 from owncloud/dependabot/go_modules/go.opentelemetry.io/otel/exporters/jaeger-1.11.2
Bump go.opentelemetry.io/otel/exporters/jaeger from 1.11.1 to 1.11.2
2022-12-14 09:37:15 +01:00
Florian Schade
2404eff48e [full-ci] experimental search backport (#5221)
* experimental search backport
fix basic extractor resource name
move escapeQuery regex into global variable
minor pr review changes
rename DebounceDuration env variable
add document title and content when rebuilding bleve resource

Co-authored-by: David Christofas <dchristofas@owncloud.com>
2022-12-13 14:22:41 +01:00
dependabot[bot]
b74d296696 Bump go.opentelemetry.io/otel/exporters/jaeger from 1.11.1 to 1.11.2
Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.11.1 to 1.11.2.
- [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.1...v1.11.2)

---
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-12-13 06:03:58 +00:00
dependabot[bot]
11cf87ca24 Bump github.com/go-micro/plugins/v4/registry/nats from 1.1.0 to 1.2.1
Bumps [github.com/go-micro/plugins/v4/registry/nats](https://github.com/go-micro/plugins) from 1.1.0 to 1.2.1.
- [Release notes](https://github.com/go-micro/plugins/releases)
- [Commits](https://github.com/go-micro/plugins/compare/v3/auth/jwt/v1.1.0...v4/registry/nats/v1.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-12 06:06:46 +00:00
dependabot[bot]
6374389b82 Bump github.com/xhit/go-simple-mail/v2 from 2.12.0 to 2.13.0
Bumps [github.com/xhit/go-simple-mail/v2](https://github.com/xhit/go-simple-mail) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/xhit/go-simple-mail/releases)
- [Commits](https://github.com/xhit/go-simple-mail/compare/v2.12.0...v2.13.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-12-09 06:10:14 +00:00
dependabot[bot]
f7a83024a9 Bump github.com/go-micro/plugins/v4/registry/mdns from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/registry/mdns](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/registry/mdns
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 06:05:10 +00:00
dependabot[bot]
464618e26c Bump golang.org/x/image from 0.1.0 to 0.2.0
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.1.0 to 0.2.0.
- [Release notes](https://github.com/golang/image/releases)
- [Commits](https://github.com/golang/image/compare/v0.1.0...v0.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-07 06:05:11 +00:00
dependabot[bot]
f6e707a371 Bump github.com/prometheus/client_golang from 1.13.0 to 1.14.0
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.13.0 to 1.14.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.13.0...v1.14.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>
2022-12-06 06:04:34 +00:00
dependabot[bot]
a462489d8f Bump github.com/urfave/cli/v2 from 2.23.2 to 2.23.6
Bumps [github.com/urfave/cli/v2](https://github.com/urfave/cli) from 2.23.2 to 2.23.6.
- [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.2...v2.23.6)

---
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-12-05 06:13:20 +00:00
David Christofas
1d4123f12c Merge pull request #5146 from owncloud/dependabot/go_modules/google.golang.org/grpc-1.51.0
Bump google.golang.org/grpc from 1.50.1 to 1.51.0
2022-11-29 09:34:41 +01:00
dependabot[bot]
47ec59edc0 Bump google.golang.org/grpc from 1.50.1 to 1.51.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.50.1 to 1.51.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.50.1...v1.51.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-11-29 06:04:55 +00:00
dependabot[bot]
a030d9baab Bump github.com/gookit/config/v2 from 2.1.7 to 2.1.8
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config) from 2.1.7 to 2.1.8.
- [Release notes](https://github.com/gookit/config/releases)
- [Commits](https://github.com/gookit/config/compare/v2.1.7...v2.1.8)

---
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-11-29 06:04:41 +00:00
David Christofas
cece0e77cc Merge pull request #5121 from owncloud/dependabot/go_modules/github.com/onsi/gomega-1.24.1
Bump github.com/onsi/gomega from 1.23.0 to 1.24.1
2022-11-28 17:42:38 +01:00
dependabot[bot]
661bed2276 Bump golang.org/x/crypto from 0.1.0 to 0.3.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.1.0 to 0.3.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.1.0...v0.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 06:09:35 +00:00
Michael Barz
1a0e56f516 Merge pull request #5131 from owncloud/update-reva-2.12
[full-ci] Update reva to 2.12
2022-11-25 17:01:13 +01:00
dependabot[bot]
ca7ff98594 Bump github.com/onsi/gomega from 1.23.0 to 1.24.1
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.23.0 to 1.24.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.23.0...v1.24.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-11-25 15:20:22 +00:00
Michael Barz
fb7fbcb480 Merge pull request #5110 from owncloud/dependabot/go_modules/go.etcd.io/etcd/client/v3-3.5.6
Bump go.etcd.io/etcd/client/v3 from 3.5.5 to 3.5.6
2022-11-25 16:18:34 +01:00
Michael Barz
d131fa940b bump reva to 2.12.0 2022-11-25 15:07:49 +01:00
Michael Barz
9553f2ebe5 bump libre graph API to v1.0.0 2022-11-24 17:03:33 +01:00
dependabot[bot]
5d9806054a Bump github.com/go-micro/plugins/v4/logger/zerolog from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/logger/zerolog](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/logger/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-24 09:28:42 +01:00
dependabot[bot]
befee73520 Bump go.etcd.io/etcd/client/v3 from 3.5.5 to 3.5.6
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.5 to 3.5.6.
- [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.5...v3.5.6)

---
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-11-24 06:04:37 +00:00
Jörn Friedrich Dreyer
26f3e8fd3d [full-ci] Use sizediff propagation (#5092)
* bump reva

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

log calls

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

bump to fix, disable api log

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

bump to latest fix

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

remove unexpected failures

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

bump reva, update unexpected passes

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

test sizediff propagation

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

use reva edge

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-23 16:42:04 +01:00
dependabot[bot]
187c1264a0 Bump github.com/go-micro/plugins/v4/events/natsjs from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/events/natsjs](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/events/natsjs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-23 15:29:56 +01:00
Andre Duffeck
1b764d2142 Handle more events (#5071)
* Handle SpaceShared events

* Adapt to changed ID in the SpaceShared event

* Handle the SpaceUnshared events

* Handle the SpaceUpdated event

* update reva to latest edge

* fix typo

* Disable cyclomatic complexity check for StartAuditLogger

Co-authored-by: Michael Barz <mbarz@owncloud.com>
2022-11-23 14:00:29 +01:00
dependabot[bot]
2e7345d71e Bump github.com/go-micro/plugins/v4/server/grpc from 1.1.1 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/server/grpc](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/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 16:36:12 +01:00
dependabot[bot]
8d9335cbd6 Bump github.com/go-micro/plugins/v4/registry/consul from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/registry/consul](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/registry/consul
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-16 16:03:56 +01:00
dependabot[bot]
05e3bcc850 Bump github.com/go-micro/plugins/v4/registry/etcd from 1.1.0 to 1.2.0
Bumps [github.com/go-micro/plugins/v4/registry/etcd](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/registry/etcd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-15 15:35:00 +01:00
Jörn Friedrich Dreyer
a8848b257a bump reva to v2.10.1-0.20221111140957-723ad781d916
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-11-11 14:15:46 +00:00
André Duffeck
8517db8d80 Bump reva 2022-11-11 13:27:01 +01:00
Michael Barz
d60adc2c79 update reva to v2.11.0 2022-11-04 22:08:04 +01:00