Commit Graph

790 Commits

Author SHA1 Message Date
Daniel Swärd
6f7bd454b2 Fix so that userType is not returned if not available. 2023-03-15 12:05:29 +01:00
Daniel Swärd
b12b2d2bac Updating env variable description for userType attribute. 2023-03-15 12:05:29 +01:00
Daniel Swärd
23ba180e8a graph: Use userType property to distinguish between Member and Guest accounts
Fixes 5603

- Calling POST /graph/v1.0/users with userType not set will create a user as "Member"
- Calling POST /graph/v1.0/users with userType set as "Member" or "Guest" will create a user as "Member" or "Guest"
- Calling POST /graph/v1.0/users with userType set as anything but "Member" or "Guest" returns error
- Calling POST /graph/v1.0/education/users with userType not set will create a user as "Member"
- Calling POST /graph/v1.0/education/users with userType set as "Member" will create a user as "Member" and primary role as parameter specifies
- Calling POST /graph/v1.0/education/users with userType set as "Guest" will create a user as "Guest" and primary role as parameter specifies
- Calling POST /graph/v1.0/education/users with userType not set as anything but "Member" or "Guest" returns error
- Calling PATCH on /users or /education/users will update attribute in the same way as for POST
2023-03-15 12:05:29 +01:00
ownClouders
71f132ba35 [tx] updated from transifex 2023-03-15 09:24:06 +00:00
ownClouders
7b133b26cc [tx] updated from transifex 2023-03-15 09:05:16 +00:00
Michael Barz
e094796ec7 fix transifex resource name 2023-03-15 10:00:02 +01:00
Michael Barz
f45b3e07e7 fix l10n 2023-03-15 09:47:10 +01:00
Martin
872f72b3c7 Merge pull request #5827 from owncloud/fix_envvar_description
[docs-only] Syncing one frontend envvar description from backport
2023-03-14 17:23:14 +01:00
David Christofas
5ddf7334c8 Merge pull request #5826 from rhafer/issue/3432
Avoid repeated default role assignment
2023-03-14 16:56:19 +01:00
mmattel
dd372203d3 [docs-only] Syncing one frontend envvar description from backport 2023-03-14 16:33:24 +01:00
Ralf Haferkamp
46acc8f1ee Fix default assigments for demo and admin users
When using metadata backend the default role assignments for the demo users
where create independed of whether the demo users are were actually requested
to be created. This also fixes the name of the env var for enabling the demo
users. This was missed when moving from the accounts service to graph/idm for
user management.
2023-03-14 16:08:37 +01:00
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
Florian Schade
f38a9f4385 Introduce Policies-Service (#5716)
* add policies service
add policies proxy middleware
add policies event service
add policies grpc service
prepare ci and git environments (ci, make, readme, doc)

* add webfinger to the drone conf

* fix docs
remove not used virus scan postprocessing step

* relocate example rego file
implicitly enable and disable proxy and postprocessing policy checking by setting the query.
update configuration descriptions

* move policies
update readme

* use converter func to convert pp environment to actual environment
expose and test custom rego functions
add engine unit tests
add opa unit tests
update policies readme

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

* relocate sample policies to the deployments folder
change and document policies service port

* update index.md and small fix

* add health command
add version command
add debug server

---------

Co-authored-by: Martin <github@diemattels.at>
2023-03-14 16:08:22 +01:00
kobergj
d06d2012be Merge pull request #5753 from kobergj/TranslateNotifications
Translate Notifications
2023-03-14 16:02:37 +01:00
Daniel Swärd
6b11f0bfe4 graph: Fix problem with unescaped semicolon and such causing problems. 2023-03-14 15:21:58 +01:00
Michael Barz
230977e406 add empty locale folder, add reader pkg to bingo
add empty locale for de_DE

add reader pkg to bingo, add empty german translation
2023-03-14 00:08:29 +01:00
jkoberg
c236e03861 remove .pot file
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-13 16:14:14 +01:00
mmattel
a0df1157d6 update the tranlations part in readme 2023-03-13 16:13:15 +01:00
jkoberg
3e090c557f make translationpath configurable
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-13 10:28:32 +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
jkoberg
495d507ce1 add .tx folder
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-10 11:31:46 +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
jkoberg
cb31f9923f remove l10n from gitignore
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 16:18:28 +01:00
jkoberg
1fc2bbcb08 embed translation on startup
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 15:16:59 +01:00
David Christofas
4c3df7277d return the correct status code when updating a share fails 2023-03-09 14:07:05 +01:00
jkoberg
cfca9ec4b1 adjust makefile
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 12:11:25 +01:00
jkoberg
b3bd2dc7c4 reverse template parsing logic
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 12:11:25 +01:00
jkoberg
4a21a7be5f mark templates as translatable
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 12:11:25 +01:00
jkoberg
b5ac1cd941 minimize request while rendering events
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 12:11:25 +01:00
jkoberg
70b3db5ff4 translate templates
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-03-09 12:11:23 +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