Commit Graph

12509 Commits

Author SHA1 Message Date
Ralf Haferkamp
b57504696b ocis_keycloak: Add ocis roles as realm roles (#5750)
* ocis_keycloak: Add ocis roles as realm roles

This adds the roles ocisAdmin, ocisSpaceAdmin, ocisUser and ocisGuest as realm roles
to the the oCIS realm. It also assigns those roles to the demo users.

Additionally the missing demo user "Katherine Johnson" is added with the role of
"ocisSpaceAdmin".

* Expose realm_roles in "roles" claim of id tokens and userinfo
2023-03-08 12:11:21 +01:00
dependabot[bot]
97267e9b34 Bump github.com/gookit/goutil from 0.5.15 to 0.6.0 (#5758)
Bumps [github.com/gookit/goutil](https://github.com/gookit/goutil) from 0.5.15 to 0.6.0.
- [Release notes](https://github.com/gookit/goutil/releases)
- [Commits](https://github.com/gookit/goutil/compare/v0.5.15...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/gookit/goutil
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-08 12:07:42 +01:00
Jannik Stehle
9642634891 Merge pull request #5759 from owncloud/bump-web-v7.0.0-rc.18
[full-ci] chore: bump web to v7.0.0-rc.18
2023-03-08 08:21:14 +01:00
Benedikt Kulmann
af46ffa300 chore: bump web to v7.0.0-rc.18 2023-03-07 23:24:01 +01:00
Ralf Haferkamp
a34a3b2a98 Cleanup some oidc related bits (#5751)
* Remove unused code from oidc module

* Use already existing Metadata type for jwks discovery

ocis-pkg/oidc already provides a type for the oidc metadata. Switch to
that instead of defining yet another custom type.

* oidc: Add helper to get IDP metadata
2023-03-07 14:43:42 +01:00
Jörn Friedrich Dreyer
43547cc681 Benchmark options (#5684)
* make benchmark clients remember cookies

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

* add --rate option for benchmark clients

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

* create a new request on every request to fix vanishing data

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

* use corret minute unit

Co-authored-by: Florian Schade <f.schade@icloud.com>

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: Florian Schade <f.schade@icloud.com>
2023-03-07 11:37:14 +01:00
David Christofas
7750492de4 Merge pull request #5721 from owncloud/clean-up-code
reduce duplication in configuration code
2023-03-07 10:58:33 +01:00
Benedikt Kulmann
b0124148d5 Merge pull request #5741 from owncloud/update-web-v7.0.0-rc.17
[full-ci] bump web to v7.0.0-rc.17
2023-03-07 10:39:27 +01:00
dependabot[bot]
971cfa15cf Bump golang.org/x/crypto from 0.3.0 to 0.7.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.3.0 to 0.7.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.3.0...v0.7.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>
2023-03-07 10:13:01 +01:00
Benedikt Kulmann
e0d974dda9 chore: update pnpm lock file 2023-03-07 10:10:43 +01:00
dependabot[bot]
58f5845f2a Bump react-redux from 7.2.9 to 8.0.5 in /services/idp
Bumps [react-redux](https://github.com/reduxjs/react-redux) from 7.2.9 to 8.0.5.
- [Release notes](https://github.com/reduxjs/react-redux/releases)
- [Changelog](https://github.com/reduxjs/react-redux/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reduxjs/react-redux/compare/v7.2.9...v8.0.5)

---
updated-dependencies:
- dependency-name: react-redux
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-07 10:10:43 +01:00
Amrita
8bd4c3a9a2 Add tests to add user in a group at once (#5743) 2023-03-07 14:36:04 +05:45
dependabot[bot]
0f3e700bd8 Bump google.golang.org/grpc from 1.51.0 to 1.53.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.51.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.51.0...v1.53.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>
2023-03-07 08:54:17 +01:00
Benedikt Kulmann
91370eb611 chore: bump web to v7.0.0-rc.17 2023-03-06 21:45:28 +01:00
David Christofas
924c2ca346 add missing comments 2023-03-06 19:01:16 +01:00
dependabot[bot]
2bf458385d Bump github.com/blevesearch/bleve/v2 from 2.3.5 to 2.3.6
Bumps [github.com/blevesearch/bleve/v2](https://github.com/blevesearch/bleve) from 2.3.5 to 2.3.6.
- [Release notes](https://github.com/blevesearch/bleve/releases)
- [Commits](https://github.com/blevesearch/bleve/compare/v2.3.5...v2.3.6)

---
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-03-06 17:46:25 +01:00
Martin
6a81132db4 Merge pull request #5736 from owncloud/fix_description
[docs-only] Small description text fixes for envvars
2023-03-06 17:19:01 +01:00
David Christofas
dd4cc1bd42 fix eventhistory SutureService config 2023-03-06 16:52:54 +01:00
David Christofas
63fa35fa50 reduce duplication in configuration code 2023-03-06 16:52:44 +01:00
mmattel
3eec5b0ed3 remove redis from database envvar 2023-03-06 16:41:58 +01:00
mmattel
f522b912e9 [docs-only] Small description text fixes for envvars 2023-03-06 16:41:58 +01:00
dependabot[bot]
006b3cfba6 Bump go.opentelemetry.io/otel/trace from 1.13.0 to 1.14.0
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) from 1.13.0 to 1.14.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.13.0...v1.14.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>
2023-03-06 15:28:53 +01:00
Andre Duffeck
8b68830201 [full-ci] Improve ini backend, support redis sentinel caches (#5737)
* Configure the file metadata cache for storage-users

* Also configure the cache for the system storage

* Update services/storage-system/pkg/config/config.go

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

* Improve documentation

* Bump reva to pull in the latest ini backend changes

* Fix missing comment

* Update services/storage-users/README.md

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

* Update services/storage-system/README.md

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

* Tweak docs

* Apply suggestions from code review

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

---------

Co-authored-by: Martin <github@diemattels.at>
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-06 15:04:19 +01:00
Viktor Scharf
1e1b4379ae [test-only] ApiTest. Disable/enable user (#5639) 2023-03-06 16:52:55 +05:45
Michael Barz
1c88d445bd Automated changelog update [skip ci] 2023-03-06 11:04:23 +00:00
Michael Barz
8d937a32d2 Merge pull request #5735 from owncloud/branding-improvements
add common part, make the logic theme name agnostic
2023-03-06 12:03:55 +01:00
Michael Barz
e05e3b980f add common part, make the logic theme name agnostic 2023-03-06 10:54:43 +01:00
Daniel Swärd
b517a6c3dd Merge pull request #5625 from owncloud/excds/feature/5554_Allow_disabling_user_by_adding_to_local_group
graph: Allow disabling user by adding to local group
2023-03-06 10:31:57 +01:00
Daniel Swärd
c17add76c4 graph: Move token middleware and return proper JSON response on error.
Fixes #5661
2023-03-06 10:24:44 +01:00
Daniel Swärd
ca746106d8 graph: Allow disabling user by adding to local group
* A new config option for disabling users with the options "none", "attribute" and "group".
* When set to "none", there will be no enabledAttribute returned in user info and trying to change enabledAttribute will return an error
* Disable/enable group name DN as config parameter
* Adding/removing users to specified group on user update
* Changing log level for service initialization failure to error
* Adding helper methods to check if user is enabled/disabled + tests

Fixes #5554
2023-03-06 09:31:23 +01:00
Phil Davis
e3d9b810bd Merge pull request #5724 from owncloud/ci/archive-go-bin-master
[ci] Cache the go/bin content as a single archive file
2023-03-04 10:01:37 +05:45
Saw-jan
65be9a36a4 extract without mtime information 2023-03-04 00:26:44 +01:00
Saw-jan
ff7118ebfd archive go/bin content and push it as cache
fix cache source
2023-03-04 00:26:44 +01:00
Willy Kloucek
4a1c873312 Merge pull request #5708 from wkloucek/fix-userlog-jwt-secret
add tokenmanager to userlog to fix startup
2023-03-03 21:53:50 +01:00
Willy Kloucek
67b61cdf46 Merge branch 'master' into fix-userlog-jwt-secret 2023-03-03 18:48:16 +01:00
Benedikt Kulmann
a6dfddaab0 Merge pull request #5730 from owncloud/remove-arm-docker
[tests-only] remove arm from docker releases
2023-03-03 17:44:25 +01:00
Michael Barz
50a30c0340 remove arm from docker releases 2023-03-03 16:12:53 +01:00
Michael Barz
1599289cf8 Merge pull request #5714 from owncloud/bump-test-middleware-1.8.4
[full-ci] chore: bump test-middleware to v1.8.5
2023-03-03 16:08:26 +01:00
jkoberg
32933ce3ac bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-03 15:16:57 +01:00
Sawjan Gurung
22422541b8 add github comment step in e2e pipeline (#5703)
fix comment file path

cache tracing to ocis sub path
2023-03-03 09:33:14 +05:45
Amrita
4377754573 [tests-only][full-ci]Extend tests related to assign role (#5584)
* Extend assign role test coverage

* Check app Entity has been set or not
2023-03-03 09:17:34 +05:45
Martin
8962038d6e Merge pull request #5719 from owncloud/mmattel-patch-1
[docs-only] Update graph service readme
2023-03-02 15:23:15 +01:00
Benedikt Kulmann
0011c12ed7 chore: bump test-middleware to v1.8.5 2023-03-02 15:06:25 +01:00
Martin
ae0588a564 Update graph service readme
References: #5694 

Adding support to use `or` when filtering.
2023-03-02 14:26:00 +01:00
Ralf Haferkamp
db752dc5ac graph: Add support for "or" filter on /users
This add support for combining filters on the /users with a logical "or" operation.
E.g. the filter:

"filter=(memberOf/any(m:m/id eq 509a9dcd-bb37-4f4f-a01a-19dca27d9cfa) or memberOf/any(m:m/id eq 262982c1-2362-4afa-bfdf-8cbfef64a06e)"

will return all users that are a member of either of the referenced group.

Closes: #5667
2023-03-02 13:26:00 +01:00
Martin
e63e466188 Merge pull request #5718 from owncloud/fix_graph_readme 2023-03-02 13:10:55 +01:00
mmattel
40ac4efb0f [docs-only] Alingning the graph service readme with content of the admin docs 2023-03-02 12:31:24 +01:00
Benedikt Kulmann
a204b288ec chore: bump test-middleware to v1.8.4 2023-03-02 11:42:57 +01:00
Martin
1705509c94 Merge pull request #5698 from owncloud/add_build_essentials_to_readme
[docs-only] Add build-essentials as prerequisite to README.md
2023-03-02 10:11:42 +01:00
mmattel
78679f2897 update readme.md 2023-03-02 09:57:31 +01:00