Commit Graph

764 Commits

Author SHA1 Message Date
Ralf Haferkamp
dbe40bd7c7 Avoid repeated default role assignments
When using the metadata storage (the current default) the default role
assignments were recreated at every start of the settings service. Leading to
duplicated role assignments

Fixes: #3432
2023-03-14 16:08:37 +01:00
Michael Barz
5a456416a5 Merge pull request #5756 from owncloud/dj4oC-patch-1
Update shareCreated.email.body.tmpl
2023-03-13 10:10:45 +01:00
Michael Barz
f682907f81 Merge pull request #5786 from owncloud/bump-web-v7.0.0-rc.19
[full-ci] chore: bump web to v7.0.0-rc.20
2023-03-10 09:01:10 +01:00
Michael Barz
89d7bfcf24 bump to v7.0.0-rc.20 2023-03-10 07:58:33 +01:00
Jannik Stehle
2bbe35b978 chore: bump web to v7.0.0-rc.19 2023-03-09 16:49:04 +01:00
David Christofas
fcf958c8bf update reva to include the password enforcement fixes 2023-03-09 16:24:32 +01:00
David Christofas
4c3df7277d return the correct status code when updating a share fails 2023-03-09 14:07:05 +01:00
jkoberg
c1d436a271 bump reva
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 09:24:46 +01:00
jkoberg
9255fdd935 add shareid to message details
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 09:24:16 +01:00
jkoberg
ee96c516d7 add capability
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 09:24:16 +01:00
jkoberg
8a02a568f1 adjust for new reva version
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 09:24:16 +01:00
jkoberg
5c2453affc bugfixes round one
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 09:24:16 +01:00
jkoberg
6960da69fb notify about other events
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 09:24:16 +01:00
jkoberg
49914e1c6b notify about SpaceShared
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 09:24:16 +01:00
jkoberg
00c8d68700 read hardcoded templates
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 09:24:16 +01:00
jkoberg
d7b09a1256 get SpaceDisabled event working
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 09:24:16 +01:00
Ralf Haferkamp
d133a8e4b2 graph: Add missing patch support for education/users (#5772)
* graph: Allow updating "surname" and "givenName" of users

Also use attribute getters to lookup the attribute Values instead of fiddling around
with pointers.

* graph: Allow updating education users

Update suppport for education users was still missing.
2023-03-09 07:52:06 +01:00
Jörn Friedrich Dreyer
971dbe8682 bump lico to 0.59.4 (#5768)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-03-08 17:25:55 +01:00
David Christofas
c17d9eb19e add config options to enforce passwords on public links 2023-03-08 15:22:57 +01:00
Martin
18035b6106 Merge pull request #5766 from owncloud/fix_descriptions
[docs-only] Fix descriptions of envvars in the frontend service
2023-03-08 15:19:13 +01:00
Martin
08c3d8a857 Update services/frontend/pkg/config/config.go
Co-authored-by: David Christofas <dchristofas@owncloud.com>
2023-03-08 14:30:01 +01:00
Daniël Franke
2f465fb5eb Configure user disable mechanism in reva.
This PR adds configuration parameters to the auth-basic and users
services that passes them through to reva. These configuration parameters
are all related to the new user disable mechanism that @Excds added to
the graph API, and that I added to reva.
2023-03-08 13:18:54 +01:00
Martin
e4ba83e77e Update services/frontend/pkg/config/config.go
Co-authored-by: kobergj <jkoberg@owncloud.com>
2023-03-08 12:15:47 +01:00
mmattel
8ca9a4a114 fix descriptions 2023-03-08 12:12:46 +01:00
Benedikt Kulmann
af46ffa300 chore: bump web to v7.0.0-rc.18 2023-03-07 23:24:01 +01:00
David Walter
6ab0d1eab4 Update shareCreated.email.body.tmpl
German version had wrong variable
2023-03-07 17:21:26 +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
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
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
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
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
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
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
Willy Kloucek
67b61cdf46 Merge branch 'master' into fix-userlog-jwt-secret 2023-03-03 18:48:16 +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
mmattel
40ac4efb0f [docs-only] Alingning the graph service readme with content of the admin docs 2023-03-02 12:31:24 +01:00
Willy Kloucek
1234429a8d add tokenmanager to userlog to fix startup 2023-03-02 09:03:15 +01:00
David Christofas
b8470d567d add new permission 'publiclink.create' and assign it to the 'Admin', 'SpaceAdmin' and 'User' roles 2023-03-01 11:53:39 +01:00
Benedikt Kulmann
8fbbaccec6 chore: bump web to v7.0.0-rc.16 2023-03-01 00:14:35 +01:00