Commit Graph

49 Commits

Author SHA1 Message Date
Ralf Haferkamp d6e695076d Rework default role provisioning
This reworks the assignment of the default role at login. The assignment
now only happens if settings service is reachable and the current user
does not have an assignment yet (we check for the NotFound status).
If the settings service returns an error other than 404, the
GetUserByClaims() (and with it the authentication) will also error out.

Closes: #3900
2022-06-09 14:36:29 +02:00
Ralf Haferkamp 38127757e4 Add user autoprovisioning via libreGraph
When removing the accounts service we lost the user autoprovision
feature. This re-introduces it. When autoprovisioning is enabled (via
PROXY_AUTOPROVISION_ACCOUNTS, as in the past) accounts that are not
resolvable via cs3 will be provsioned via the libregraph API.

Closes: #3540
2022-05-24 17:39:01 +02:00
Michael Barz a8b6c53dd9 fix version for legacy clients 2022-05-23 11:04:36 +02:00
Willy Kloucek a861f9c126 remove legacy accounts route from proxy default routes 2022-05-19 08:05:46 +02:00
Willy Kloucek 7d87927459 add descriptions to the debug config 2022-05-18 09:57:41 +02:00
Willy Kloucek 3ce2c2123d remove composition of Commons 2022-05-16 11:34:05 +02:00
Jörn Friedrich Dreyer acab143050 use command -v instead of which
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-13 11:16:40 +00:00
Ralf Haferkamp 6aa89a30c8 Remove accounts service remainders from ocs
- proxy routes everything user/group related (except of `user/signing-key`)
  to the reva ocs endpoint now
- remove the unused user and group methods from ocs
2022-05-11 15:29:34 +02:00
Ralf Haferkamp d25aa7b20f Remove "accounts" service 2022-05-11 15:29:34 +02:00
Michael Barz 8145478101 Merge pull request #3743 from owncloud/exit-on-parse-error
Exit when encountering config parsing errors
2022-05-09 13:33:28 +02:00
Michael Barz f6e2f46ebb Exit when encountering config parsing errors 2022-05-09 11:49:15 +02:00
Willy Kloucek 72c1ea5137 Merge branch 'master' into reenable-parallel-deployment-in-ci 2022-05-07 12:34:25 +02:00
Willy Kloucek 72c2775089 set version and namespace for ocdav service 2022-05-06 15:19:29 +02:00
Willy Kloucek deff182729 Merge branch 'master' into reenable-parallel-deployment-in-ci 2022-05-06 08:48:37 +02:00
Jörn Friedrich Dreyer 87147edaa2 Merge pull request #3567 from wkloucek/proxy-thumbnails
add more proxy routes for thumbnails
2022-05-05 19:07:47 +00:00
kobergj 761d72d901 add "/data" to public link URLs (#3703)
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-05-05 18:40:12 +02:00
Willy Kloucek a04c5c2f6f implement thumbnails also for webdav and non remote.php routes 2022-05-05 13:48:51 +00:00
Willy Kloucek d2de2a775d add OCIS_OIDC_ISSUER config env 2022-05-05 15:45:22 +02:00
Willy Kloucek 79970b0812 add omitempty to proxy routes to slim down configuration example 2022-05-05 13:43:51 +00:00
Willy Kloucek 6b259f6637 add tumbnails proxy route for /dav and /webdav 2022-05-05 13:41:55 +00:00
Michael Barz 189987bcbd Bump major version to v2 2022-05-04 14:49:59 +02:00
Jörn Friedrich Dreyer edd3adcf1d make yaml tags always use underscore
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-04 08:54:46 +00:00
Willy Kloucek b65936fe99 strip ocis- from command name for all standalone services 2022-05-03 17:08:23 +02:00
Jörn Friedrich Dreyer 4d888ccb7a fix proxy directorSelectionDirector test
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 14:49:30 +00:00
Jörn Friedrich Dreyer bfc8196ac2 Merge branch 'master' into search
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-05-02 13:43:24 +00:00
Jörn Friedrich Dreyer 4c53707920 omit extension name in ParseConfig doc
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-29 20:21:18 +00:00
Willy Kloucek 1cdb81bd3e add fixes from review 2022-04-29 16:10:21 +02:00
Willy Kloucek 4ff313b0a5 check for more secrets need to be set 2022-04-29 13:07:25 +02:00
André Duffeck 08df2e32d9 Merge remote-tracking branch 'upstream/master' into search 2022-04-29 13:00:01 +02:00
Christian Richter 72688b3650 move generic secret errors to shared, fix edgecase in cli flags
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-29 11:15:13 +02:00
Willy Kloucek afa8ca8246 use FullDefaultConfig in example config generator and remove leftover 2022-04-28 17:38:07 +02:00
Willy Kloucek 83b94cf82d log parsing errors to stdout 2022-04-28 15:52:26 +02:00
Willy Kloucek ab254b05d0 remove all "omitempty" from config structs to bring back full configuration file documentation 2022-04-28 15:08:40 +02:00
Willy Kloucek 3054875a05 move config validation into a separate function 2022-04-28 11:10:39 +02:00
Willy Kloucek a37126f523 Merge branch 'master' into ocis-init 2022-04-27 15:50:26 +02:00
Willy Kloucek f74d1e27c1 use machine auth secret from common config 2022-04-27 14:40:53 +02:00
Willy Kloucek 9095b11d6c load reva gateway and token manager from common config 2022-04-27 13:58:59 +02:00
Ralf Haferkamp 1a38f3623c switch default config to idm
- The accounts and glauth service are turned off by default
- proxy is switch from "accounts" to "cs3" for the account backend
- The LDAP configuration (graph, idp, storage) of all services now
  points to idm instead of glauth
2022-04-26 18:59:10 +02:00
Christian Richter a4d7696232 Move machine-auth-api-key to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-26 10:20:15 +02:00
Christian Richter acf75afebc Move Tokenmanager to shared.Commons
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-25 16:35:10 +02:00
Jörn Friedrich Dreyer 190ee68c95 Merge branch 'master' into search 2022-04-22 09:45:06 +00:00
Christian Richter 0d45dc8777 Merge remote-tracking branch 'origin/master' into ocis-init 2022-04-20 13:12:36 +02:00
Christian Richter 8d81e39bd6 refactor yaml labels, add overwrite protection
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-19 15:14:01 +02:00
Jörn Friedrich Dreyer dcb8e4f356 use
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-19 12:56:10 +00:00
Willy Kloucek e5b7496c29 switch source for go micro plugins 2022-04-19 09:44:47 +02:00
Jörn Friedrich Dreyer 37f64eb0e8 Merge branch 'master' into search
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-04-14 11:56:26 +00:00
Jörn Friedrich Dreyer 40a4c5070a Use embeddable ocdav go micro service (#3397)
* allow proxy to route to micro service

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

* use go micre ocdav service instead of reva frontend

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

* add missing gateway default config

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

* update reva branch for testing

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

* add changelog

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

* add missing comands

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

* bump reva version

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* tidy

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* bump reva again

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* a blind mans config change

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* add ocdav to must start extensions

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* fail when neither backend nor service is set

Signed-off-by: jkoberg <jkoberg@owncloud.com>

Co-authored-by: jkoberg <jkoberg@owncloud.com>
2022-04-13 17:04:38 +02:00
Christian Richter 1a1a4d6a3c refactor settings 2022-04-13 17:04:37 +02:00
Christian Richter 92d76e00ab refactor proxy
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-04-13 17:04:37 +02:00