Commit Graph

729 Commits

Author SHA1 Message Date
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
kobergj
3fe51f4eb9 prevent userlog service from spreading panics (#5681)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-28 21:35:22 +01:00
David Christofas
0a2fc8d7d4 Merge pull request #5682 from owncloud/graph-education-errors
make graph/education API errors more consistent
2023-02-28 20:49:29 +01:00
David Christofas
0fadc79c32 make graph/education API errors more consistent 2023-02-28 15:25:45 +01:00
Martin
6290975c7b Merge pull request #5680 from owncloud/add_global_envvar
Add a global variable for the metadata backend
2023-02-28 13:09:31 +01:00
mmattel
f526326d67 Add a global variable for the metadata backend 2023-02-28 11:09:52 +01:00
Benedikt Kulmann
b5954caa5b chore: bump web to v7.0.0-rc.15 2023-02-28 09:27:38 +01:00
Martin
473cc7dae6 Merge pull request #5656 from jacobgkau/portrait-thumbnails
thumbnails: Add portrait resolutions to default config
2023-02-27 09:43:21 +01:00
Jacob Kauffmann
a742e943df thumbnails: Add portrait resolutions to default config 2023-02-26 12:34:33 -07:00
jkoberg
afdb0d3908 fix panic from userlog service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-24 10:17:15 +01:00
Martin
fd5790d8dd Merge pull request #5610 from kobergj/UserlogService
Userlog Service
2023-02-23 15:33:12 +01:00
jkoberg
a9561d85c8 sharpen userlog service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-23 14:21:56 +01:00
Martin
53cb40ff5e Merge pull request #5634 from owncloud/update_quota_text
[docs-only] Update quota related texts and descriptions
2023-02-23 12:43:43 +01:00
jkoberg
733c9c25e5 add comments to exported structs
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-23 11:44:23 +01:00
Jörn Friedrich Dreyer
a5fb068650 [full-ci] Bump reva to include ini metadata backend (#5613)
* bump reva

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

* default to ini backend

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

* bump reva, add metadata backend config

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

* update changelog

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

* fix tag

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

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

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

* fix storage user metadata config desc and env var

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

---------

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
Co-authored-by: kobergj <jkoberg@owncloud.com>
2023-02-23 10:54:50 +01:00
mmattel
7f706f38cc update quota text 2023-02-23 10:19:07 +01:00
David Christofas
3fbb6ca2fe Merge pull request #5617 from owncloud/role-quota
add config option to set default quota per role
2023-02-22 17:08:16 +01:00
David Christofas
17b5706cc9 add config options for the max_quota and add the capability value 2023-02-22 16:22:51 +01:00
David Christofas
67549b4ebd add config option to set default quota per role 2023-02-22 16:22:45 +01:00
Martin
cda2c0e57f Merge pull request #5615 from owncloud/update_readme_and_descriptions
[docs-only] Add a basic storage-users readme only containing cli commands
2023-02-22 13:25:50 +01:00
Ralf Haferkamp
9e73b17a40 idp: Utilize ownCloudUserEnabled Attribute to filter users
This adds support for configuring an LDAP Attribute that can be used as a flag
to disallow users to login. We currently default to 'ownCloudUserEnabled' as
used in the default configuration of the graph service.
2023-02-22 11:23:26 +01:00
Ralf Haferkamp
d6bcba48eb Add 'ownCloudUserEnabled' attribute to demo users 2023-02-22 11:23:26 +01:00
Martin
3e39e49a73 Update services/idp/README.md 2023-02-22 11:13:25 +01:00
Martin
9c7bc86902 Update services/idp/README.md 2023-02-22 11:13:25 +01:00
Martin
d30d042ec1 Update services/idp/README.md 2023-02-22 11:13:25 +01:00
Ralf Haferkamp
5dd374eb7a Add README for idp service 2023-02-22 11:13:25 +01:00
Martin
21a0c0a90b Apply suggestions from code review
Co-authored-by: Jan <j.ackermann91@gmail.com>
2023-02-22 10:26:00 +01:00
kobergj
68835fa697 Update services/storage-users/README.md
Co-authored-by: Martin <github@diemattels.at>
2023-02-22 10:22:04 +01:00
Michael Barz
04afa6d35a Merge pull request #5607 from owncloud/configurable-bundles
load bundles from JSON
2023-02-21 21:58:14 +01:00
Michael Barz
7f6e52c39b load bundles from JSON 2023-02-21 21:25:33 +01:00
mmattel
24e77820ab fix quotes 2023-02-21 16:55:43 +01:00
mmattel
d25c600c27 [docs-only] improve eventhistory service readme 2023-02-21 16:37:12 +01:00
mmattel
ef54417b62 Add a basic storage-users readme only containing cli commands 2023-02-21 16:31:49 +01:00
jkoberg
d56565555b introduce userlog service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-02-21 14:25:21 +01:00
kobergj
e631b74032 Merge pull request #5600 from kobergj/EventHistory
Eventhistory Service
2023-02-21 14:08:01 +01:00
Ralf Haferkamp
1dab0f7a54 graph: Improve appRoleAssignemts filters
This should improve the processing of filters for appRoleAssignments
a bit when combining them with other filters. We try to avoid reading
the full user list if possible. And delay the processing of an
appRoleAssignments filter so we can apply it on a subset of user.

E.g. a filter:

`appRoleAssignments/any(m:m/appRoleId eq 71881883-1768-46bd-a24d-a356a2afdf7f) and memberOf/any(m:m/id eq 509a9dcd-bb37-4f4f-a01a-19dca27d9cfa)`

Will be reordered to first process the memberOf filter (which can be
executed without reading the full user list) and only apply the
appRoleAssignments filter on the resultset of the memberOf filter.
2023-02-21 12:30:59 +01:00