Commit Graph

12292 Commits

Author SHA1 Message Date
Willy Kloucek
33ce53d436 fix account console in keycloak deployment example 2023-02-15 09:18:04 +01:00
Artur Neumann
5071f87c4b Merge pull request #5568 from owncloud/remove-scenarios-tagged-notToImplementOnOcis-master
[full-ci] [tests-only] Removed scenarios tagged with notToImplementOnOcis tag
2023-02-15 12:28:56 +05:45
Prarup Gurung
45a8a2ed55 Fixed line numbers in expected failure 2023-02-15 11:36:48 +05:45
Prarup Gurung
984f848cbd Removed scenarios tagged with notToImplementOnOcis tag 2023-02-15 09:05:07 +05:45
Benedikt Kulmann
0193b3850a Merge pull request #5563 from owncloud/bump-web-v7.0.0-rc.13
[full-ci] chore: bump web to v7.0.0-rc.13
2023-02-14 16:40:52 +01:00
Dennis Sieben
9d89bc258c Change link reference for demo users
The demo user can be found in https://owncloud.dev/ocis/getting-started/demo-users/ the current link https://owncloud.dev/ocis/getting-started/#login-to-owncloud-web requires clicking on another link.
2023-02-14 15:30:26 +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
Phil Davis
93c2844585 Merge pull request #5561 from owncloud/forward-port-share=permission-CoreApiSharePublicLink3
[tests-only][full-ci]Forward-port refactor share permission related scenario
2023-02-14 14:22:35 +05:45
Phil Davis
6a10559e20 Merge pull request #5490 from owncloud/refactor-share-permission-in-coreApiSharePublicLinkShare
[full-ci][tests-only]Forward-port refactor share permission in coreApiSharePublicLinkShare
2023-02-14 14:22:11 +05:45
amrita
3274361253 Address review 2023-02-14 11:50:22 +05:45
amrita
aa62865f7b Refactor share permission related scenario 2023-02-14 11:50:22 +05:45
amrita
13365f8c7f Refactor share permission related scenario 2023-02-14 11:46:09 +05:45
Michael Barz
2fec80f672 Automated changelog update [skip ci] 2023-02-13 21:30:48 +00:00
Michael Barz
2b04573628 Merge pull request #5559 from owncloud/branding-api
Branding api
2023-02-13 22:30:09 +01:00
Michael Barz
2323410f36 bump wopiserver version 2023-02-13 21:15:57 +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
Martin
8fb9914757 Merge pull request #5560 from owncloud/webfinger-fixes
add webfinger to Makefile, add missing default config
2023-02-13 15:11:08 +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
b318269de4 add changelog 2023-02-13 13:48:50 +01: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
Viktor Scharf
139cf79f61 [test-only] Api test. get applications list. (#5529) 2023-02-13 09:38:04 +05:45
Daniel Swärd
2338515444 Make ldap functions package local and remove a superfluous comment. 2023-02-10 15:12:19 +01:00
Willy Kloucek
b3b27f4490 Merge pull request #5535 from wkloucek/revamp-keycloak-config
revamp keycloak config
2023-02-10 14:50:59 +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
153710ddf8 Automated changelog update [skip ci] 2023-02-10 11:05:12 +00: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
Swikriti Tripathi
9e73221a68 [docs-only]Update testing docs (#5444)
* Update testing docs

* make ocis run with new config

* fix wording

* fix sording

* fix command and run.sh

* Edit makefile to make it dynamically run suites

* adress reviews

* address reviews

* address reviews
2023-02-10 11:50:03 +01:00
Swikriti Tripathi
0f31ed196a fix flaky test apiSpacesShares/shareSpaces.feature:42 (#5545) 2023-02-10 11:45:07 +01:00
Viktor Scharf
f0319652a9 [test-only]ApiTest. increases permissions for one member of the group (#5536)
* increases permissions for one member of the group

* added indents
2023-02-10 11:44:14 +01:00
Swikriti Tripathi
91d6ee2578 Add api test to delete the expiration date from a share subitem of space (#5537) 2023-02-10 11:43:36 +01:00
Martin
6a31158ca9 Merge pull request #5548 from wkloucek/PROXY_USER_OIDC_CLAIM-improvment
improve the description of PROXY_USER_OIDC_CLAIM
2023-02-10 11:37:58 +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
kobergj
4639ae0b12 Merge pull request #5540 from owncloud/fix_envvar_text
[docs-only] Improve the description of the OCIS_ADMIN_USER_ID envvar
2023-02-10 09:13:05 +01:00
Viktor Scharf
f2f64fdcae fix flaky 2023-02-09 23:31:08 +01:00
Benedikt Kulmann
f519172036 chore: bump web v7.0.0-rc.12 2023-02-09 22:33:40 +01:00
Viktor Scharf
67ac275ace [test-only] Fix failed test (#5541)
* fix failed test

* another way fixing
2023-02-09 16:58:39 +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