Commit Graph

434 Commits

Author SHA1 Message Date
Willy Kloucek 652a907c24 update ci to check licenses of all languages 2022-04-08 07:41:19 +02:00
Willy Kloucek 29123cdfff hook up licensing in makefile 2022-04-08 07:40:55 +02:00
jkoberg 481e332d52 don't protect unprotected endpoint
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2022-04-04 10:01:26 +02:00
Willy Kloucek 5a99761ff5 use oCIS only proxy config for documentation 2022-03-29 15:06:58 +02:00
Willy Kloucek e224ce03cf use yaml tag instead of ocisConfig 2022-03-29 15:06:58 +02:00
Willy Kloucek 7f65dfba34 remove example config files 2022-03-28 12:54:28 +02:00
Ralf Haferkamp 6abf38dd3a Fix CreateHome for external users
External users, when logging in for the first time, have no role
assigned and are unable to create their home because that requires the
create-space permission. This assigns users that don't have a role assigned
to the default user role and persists that assignment in the settings
service so that CreateHome can pick it up when checking permissions
later.

This also disables the auto creation of the user's home in the reva
auth provider (i.e. when using basic auth) as the role assignement has
not happenend at that point. So the home creation will now always happen
in the CreateHome middleware in the proxy.
2022-03-16 15:58:19 +01:00
Willy Kloucek 9a4737d3ed exclude config items not inteded to be used from un/marshalling 2022-03-11 12:12:44 +01:00
Christian Richter 3a34e64dde Fix tests 2022-03-11 08:08:33 +01:00
Christian Richter 9734b000b3 Add defaultconfig to extensions 2022-03-10 14:12:26 +01:00
Michael Barz b15db1794a update reva to version 2.0.0 (#3258) 2022-03-03 19:56:04 +01:00
Florian Schade e8702087f3 allow requesting capabilities from password protected links 2022-02-23 18:46:25 +01:00
Juan Pablo Villafáñez 7d8e334537 Revert v1 to v0 2022-01-31 12:17:56 +01:00
Juan Pablo Villafáñez b62c9044af Restore mock files and adjust failing tests 2022-01-31 09:35:40 +01:00
Juan Pablo Villafáñez 7bfb6c7d3e Migrate proto files for store and adjust paths 2022-01-31 09:35:40 +01:00
Juan Pablo Villafáñez cce51fdd61 Revert change to keep using api/v0 for accounts and settings 2022-01-31 09:35:39 +01:00
Juan Pablo Villafáñez 7557e4e0ea Migrate proto files for settings and adjusts paths 2022-01-31 09:35:39 +01:00
Juan Pablo Villafáñez 6c67ff765e Adjust import paths and service urls in index.js 2022-01-31 09:26:23 +01:00
David Christofas 0bfc1f08b7 implement graph endpoint to delete spaces 2022-01-20 11:34:15 +01:00
Willy Kloucek 6927cfd0dc remove unused templates 2022-01-13 11:32:32 +01:00
Willy Kloucek 6ef6d1117c fix condition for nil pointer in common config 2022-01-13 08:13:14 +01:00
Willy Kloucek 0a3adfe8e1 fix proxy test tracing setting 2022-01-13 08:13:14 +01:00
Willy Kloucek a3df3f9119 remove default tracing config from indiviual packages 2022-01-13 08:13:14 +01:00
Willy Kloucek 182712b223 fix tracing config 2022-01-13 08:13:14 +01:00
Willy Kloucek 62dbd893b7 switch to http.StatusOK instead of 200 2022-01-07 13:21:14 +01:00
Willy Kloucek d9744ebda7 improve command description 2022-01-07 13:19:39 +01:00
Willy Kloucek 11466c5f9a ensure, that each config is only parsed once 2022-01-03 19:08:11 +01:00
Willy Kloucek 3d4df5796a remove version from service config 2022-01-03 16:24:39 +01:00
Willy Kloucek 55bf175bea move config parsing in separate package for each service 2022-01-03 15:21:56 +01:00
Willy Kloucek e0656daaa0 simplify commands and version handling 2022-01-03 13:53:27 +01:00
Willy Kloucek eee0d0c4c8 remove build flags, add debug server to accounts 2022-01-03 11:11:15 +01:00
Willy Kloucek 6d0b754a86 improve envdecode error handling 2022-01-03 09:47:52 +01:00
Willy Kloucek 7ffe93ba3b remove supervised flag from configs 2022-01-03 08:22:44 +01:00
Willy Kloucek c9ee77955d expose proxy debug port only on localhost 2022-01-03 08:15:46 +01:00
Willy Kloucek e3bfb66df1 maintain envdecode inside ocis-pkg 2022-01-03 07:49:25 +01:00
Willy Kloucek d5504093e8 fix some TODOs 2022-01-03 07:49:24 +01:00
Willy Kloucek d5e8ac0771 fix unit tests 2022-01-03 07:49:24 +01:00
Willy Kloucek 2bcd4f5a17 directly pass env to config 2022-01-03 07:49:24 +01:00
Willy Kloucek 7abcf96ea8 revert storage, remove tracing.service and bring back common 2022-01-03 07:49:24 +01:00
Willy Kloucek 9aae5392fc split **/pkg/config/config.go up to multiple files 2022-01-03 07:49:24 +01:00
Willy Kloucek ee57288309 switch all other services to struct tag based env config 2022-01-03 07:49:24 +01:00
Willy Kloucek 4067ae9493 switch glauth to struct tag based env config 2022-01-03 07:49:23 +01:00
Willy Kloucek f7b949a445 remove service names 2022-01-03 07:49:23 +01:00
Willy Kloucek 6206fe2398 add missing commands and unify service / namespace options 2022-01-03 07:49:23 +01:00
David Christofas a85644cddd enable signature auth in public share auth middleware 2021-12-09 17:47:36 +01:00
A.Unger e3e3d1ee57 runtime: removed trap goroutine and let the context cancelation do the thing 2021-12-06 12:11:48 +01:00
Alex Unger a73fd54b85 Merge pull request #2779 from owncloud/claim-selector-basic-auth 2021-12-06 11:01:09 +01:00
Ralf Haferkamp c35a0f7553 OIDC: fallback to "email" if IDP doesn't provide "preferred_username" claim
Some IDPs (e.g. Authelia) don't add the "preferred_username" claim.
Fallback to the "email" claim in that case.

Fixes: #2644
2021-11-30 17:53:44 +01:00
Willy Kloucek d85def9b88 check cookie for before we fall back to the default policy 2021-11-29 09:51:39 +01:00
Willy Kloucek 62ff1f1659 don't run go generate anymore 2021-11-24 13:38:29 +01:00