Benedikt Kulmann
6239e09563
chore: bump web to v7.0.0-rc.14
2023-02-17 22:26:20 +01:00
Daniel Swärd
fcf5783a1b
graph: Add accountEnabled flag to ldap backend. ( #5588 )
...
* graph: Add accountEnabled flag to ldap backend.
* Add missing accountEnabled attribute to user listing.
2023-02-17 13:48:12 +01:00
Michael Barz
794f6cd07c
add constraints to permissions listing ( #5594 )
2023-02-17 13:45:47 +01:00
Michael Barz
eb2347e1db
Merge pull request #5589 from owncloud/settings-roles
...
make the default settings bundles part of the config
2023-02-16 16:05:29 +01:00
David Christofas
e21ca81fbe
Merge pull request #5582 from owncloud/bump-reva-events
...
[full-ci] bump reva to ec27f5f8feb3
2023-02-16 15:22:49 +01:00
Jörn Friedrich Dreyer
ce9c7b2868
fix notification tests
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-02-16 13:15:57 +00:00
Jörn Friedrich Dreyer
552f3b3058
Update services/settings/Makefile
2023-02-16 13:54:41 +01:00
Michael Barz
29501b2cfe
make the default settings bundles part of the config
2023-02-16 13:24:31 +01:00
Daniël Franke
92f4d60a06
Properly generate new DN.
...
This fixes issue #5581 by properly parsing the old DN and replacing the
first part with the new DN.
2023-02-16 12:41:29 +01:00
Jörn Friedrich Dreyer
9b00f02383
bump reva to ec27f5f8feb3
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-02-15 15:26:07 +00:00
Jörn Friedrich Dreyer
92923f6801
Add http endpoint to list permissions ( #5571 )
...
* Add http endpoint to list permissions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* extract handler registration
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* use generated protobuf
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* update permissions mock in graph service
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add unit test
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* return correct userid
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* assert error message type in tests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
---------
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-02-15 14:24:19 +01:00
Martin
9b5267247c
Merge pull request #5574 from owncloud/web-readme
...
[docs-only] add a small README for the web service
2023-02-15 10:34:04 +01:00
David Christofas
9a7f2a0482
Update services/web/README.md
...
Co-authored-by: Martin <github@diemattels.at >
2023-02-15 10:21:59 +01:00
David Christofas
e0efc38cbd
Update services/web/README.md
...
Co-authored-by: Michael Barz <mbarz@owncloud.com >
2023-02-15 10:21:53 +01:00
Daniël Franke
9bd1551c6b
Integrate @rhafer's feedback
2023-02-15 10:06:23 +01:00
Daniël Franke
172807bb69
Add testcase for changing username.
2023-02-15 10:06:23 +01:00
Daniël Franke
bed4a82ff0
Finish working code and most of tests.
2023-02-15 10:06:23 +01:00
Daniël Franke
a51393e5bf
Add username changing functionality.
...
This is an incomplete implementation of username changing code.
The things still needed to be finished:
* The method that changes the member attribute has to be filled in.
* The functionality needs to be tested.
* Unit tests need to be added.
2023-02-15 10:06:23 +01:00
David Christofas
eb7761dae4
add a small README for the web service
2023-02-14 17:16:00 +01:00
Benedikt Kulmann
a8a6647a12
chore: bump web to v7.0.0-rc.13
2023-02-14 15:13:45 +01:00
Ralf Haferkamp
b7ec7c92c4
graph: Initial support for $filter in /users ( #5533 )
...
This adds some initial support for using $filter (as defined in the
odata spec) on the /users endpoint. Currently the following filters are
supported:
A single filter on `id` property of the `memberOf` relation of users.
To list all users that are members of a specific group:
```
curl 'https://localhost:9200/graph/v1.0/users?$filter=memberOf/any (m:m/id eq '262982c1-2362-4afa-bfdf-8cbfef64a06e')
```
A logical AND filteri on the `id` property of the `memberOf` relation of users.
`$filter=memberOf/any(m:m/id eq 262982c1-2362-4afa-bfdf-8cbfef64a06e) and memberOf/any(m:m/id eq 6040aa17-9c64-4fef-9bd0-77234d71bad0)`
This will cause at least two queries on the identity backend. The `and`
operation is performed locally.
Closes : #5487
2023-02-14 10:32:32 +01:00
Michael Barz
2b04573628
Merge pull request #5559 from owncloud/branding-api
...
Branding api
2023-02-13 22:30:09 +01:00
Jörn Friedrich Dreyer
e0753c20fb
Update services/web/pkg/config/config.go
...
Co-authored-by: Martin <github@diemattels.at >
2023-02-13 16:21:59 +01:00
Jörn Friedrich Dreyer
546e74c566
add webfinger to Makefile, add missing default config
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-02-13 13:36:18 +00:00
David Christofas
45d1ba25c0
add logo reset endpoint
...
when resetting the logo we are falling back to the embedded logo asset
2023-02-13 13:48:44 +01:00
David Christofas
7c17ddb0b0
add a permission check to the logo upload
2023-02-13 13:48:39 +01:00
David Christofas
13dfc06f63
add proxy route for the branding endpoint
2023-02-13 13:36:52 +01:00
David Christofas
6e83effb45
add simple filetype validator for the logo upload
2023-02-13 13:36:48 +01:00
David Christofas
3a685b6f50
clean up the logo upload
2023-02-13 13:36:43 +01:00
David Christofas
85f79dd765
first implementation of the logo update
2023-02-13 13:36:34 +01:00
David Christofas
20e4e56d28
implement first prototype of the logo upload API
2023-02-13 13:36:30 +01:00
Daniel Swärd
e853b98918
Merge pull request #5534 from owncloud/excds/feature/5411_support_adding_and_removing_of_teachers_for_classes
...
graph: Add support for listing/adding/removing teachers to a class
2023-02-13 11:48:58 +01:00
Jörn Friedrich Dreyer
2c98d3246c
minimal webfinger ( #5373 )
...
* initial webfinger stub
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add webfinger to proxy, return current host
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* some cleanup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* allow passing multiple rel params
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* introduce interfaces
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* parse oidc auth token
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add templating, drop chain, use map of relation providers
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* fix ocis url yaml
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* fix typos
Co-authored-by: Dominik Schmidt <dschmidt@owncloud.com >
* switch to userinfo claims
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* readme cleanup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add TODO.md with ideas
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* replace subject on authenticated request responses
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at >
* markdown lint
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* return a 401 when bearer token expired, some more docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at >
* fix docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* clarify env var
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* extract handler func
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* use correct service in reflex.conf
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* test relations
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* Update services/webfinger/pkg/config/config.go
---------
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Co-authored-by: Dominik Schmidt <dschmidt@owncloud.com >
Co-authored-by: Martin <github@diemattels.at >
2023-02-13 11:05:20 +01:00
Daniel Swärd
2338515444
Make ldap functions package local and remove a superfluous comment.
2023-02-10 15:12:19 +01:00
Jörn Friedrich Dreyer
fc95edb914
allow GETing a users personal drive ( #5539 )
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-02-10 14:17:19 +01:00
Florian Schade
5da3df8ffe
Space Trash-bin expiration cli ( #5500 )
...
* add storage-users trash-bin cli
add task to clean up outdated trash-bin resources
add trash-bin cli purge-expired command to purge expired trash-bin resources
add purge-expired task tests
2023-02-10 12:04:47 +01:00
Daniel Swärd
82e312ac2f
Fix sonarcloud comment nitpick.
2023-02-10 11:50:46 +01:00
Daniel Swärd
a21f485d2c
Fix forgotten expected return values in tests.
2023-02-10 11:21:55 +01:00
Willy Kloucek
cd20bc82bf
improve the description of PROXY_USER_OIDC_CLAIM
2023-02-10 11:06:09 +01:00
Michael Barz
b3d71f002c
Merge pull request #5542 from owncloud/bump-web-v7.0.0-rc.12
...
[full-ci] chore: bump web v7.0.0-rc.12
2023-02-10 09:23:19 +01:00
Benedikt Kulmann
f519172036
chore: bump web v7.0.0-rc.12
2023-02-09 22:33:40 +01:00
mmattel
bc6241a3dd
Improve the description of the OCIS_ADMIN_USER_ID envvar
2023-02-09 12:50:01 +01:00
Daniel Swärd
4c1325f02a
Remove duplication and make method generic.
2023-02-09 11:56:10 +01:00
Daniel Swärd
399e05b256
Remove code duplication for ldap entry membership.
2023-02-09 11:38:50 +01:00
David Christofas
b6ea8a845c
make linter happy
2023-02-08 17:05:06 +01:00
David Christofas
c7c4cda7d7
add an expiration to the space member permissions
2023-02-08 17:05:00 +01:00
Daniel Swärd
8e1a65fc29
graph: Add support for listing/adding/removing teachers to a class
2023-02-08 16:55:10 +01:00
Ralf Haferkamp
26f7523ff8
graph: Pass parsed odata request to the identity backend
...
In preparation for some more advanced queries pass the parse odata request
tVo the identity backend methods instead of the raw url.Values{}. This also
add some helpers for validating $expand and $search queries to reject
some unsupported queries.
Also remove support for `$select=memberOf` and `$select=drive|drives` queries
and stick to the technically correct `$expand=...`.
2023-02-08 14:25:55 +01:00
Ralf Haferkamp
25d2a2bc71
graph: Remove some uneeded stuff for the education backend
...
We don't need to support any complex queries on /education (yet?). And if we would need
to add support for $search, $filter, $expand or $select we should pass the parsed odata Query
instead of the raw url.Values struct.
2023-02-08 14:25:55 +01:00
kobergj
b010569f53
Merge pull request #5480 from kobergj/FixPipeline
...
[full-ci][tests-only] Fix Nats Pipeline Error
2023-02-07 10:20:04 +01:00