Willy Kloucek
e224ce03cf
use yaml tag instead of ocisConfig
2022-03-29 15:06:58 +02:00
Willy Kloucek
a7fe756004
Merge pull request #3287 from owncloud/config-example-yaml-v2
...
Generate config file documentation
2022-03-14 13:09:14 +01:00
Willy Kloucek
343fc0a73c
add katherine to demo users
2022-03-11 13:17:08 +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
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
Ralf Haferkamp
ada93a95b7
Add workaround for missing RoleIDs in Token
...
This we use reva to mint tokes for users when using the CS3 backend
(https://github.com/owncloud/ocis/pull/2528 ) the user's roles are no
longer part of the token.
This adds a workaround to the RequireSelfOrAdmin middleware to Request
the user's role id on demand from the settings service.
Partial Fix for #2646
2022-02-02 18:58:43 +01:00
Ralf Haferkamp
f7d290c131
Implement CS3 stub for /users/{userid}/groups
...
Up to now when using the CS3 backend (e.g. to use an external LDAP
server) queries to /users/{userid}/groups just errored out. This add a
simple stub to just return and empty group list for now.
This allows using and external LDAP server without having to fiddle with
the proxy configuration to redirect to the reva ocs implementation.
(Which also is just returning an empty group list currently)
2022-02-02 17:00:31 +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
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
f01d56fe5f
temporary hack to completely delete users
...
When deleting a user using the OCS api we want to delete the users home
space. Now to completely delete a space you need to send two requests.
First to 'disable' a space and a second one to really purge it.
This commit introduces this second purge request.
Furthermore the OCS api now also deletes all spaces owned by the user
not only the home space. This is needed since some tests create project
spaces and then lookup the space by name. When doing multiple runs
though the tests will find several spaces with the same name and will
sometimes choose the wrong one which leads to test failures.
The whole test tear down should be changed to correctly clean up the
test setup.
2022-01-27 17:32:41 +01:00
Willy Kloucek
6ef6d1117c
fix condition for nil pointer in common config
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
6de48a8cd4
switch to http.StatusOK instead of 200
2022-01-07 19:19:19 +00:00
Willy Kloucek
1e38150276
improve command description
2022-01-07 19:19:16 +00:00
Willy Kloucek
1dc63cbce1
ensure, that each config is only parsed once
2022-01-07 16:12:01 +00:00
Willy Kloucek
adc7b3b3d2
remove version from service config
2022-01-07 16:12:01 +00:00
Willy Kloucek
b9f2b6b91e
move config parsing in separate package for each service
2022-01-07 16:12:01 +00:00
Willy Kloucek
23e7a8ffab
simplify commands and version handling
2022-01-07 16:11:50 +00:00
Willy Kloucek
5b70d46213
remove build flags, add debug server to accounts
2022-01-07 16:08:14 +00:00
Willy Kloucek
6a03c4acba
improve envdecode error handling
2022-01-07 16:08:14 +00:00
Willy Kloucek
a839288212
remove supervised flag from configs
2022-01-07 16:08:14 +00:00
Willy Kloucek
5034e399bb
maintain envdecode inside ocis-pkg
2022-01-07 16:08:14 +00:00
Willy Kloucek
61ff46b29c
fix unit tests
2022-01-07 16:07:01 +00:00
Willy Kloucek
e006ad6e40
directly pass env to config
2022-01-07 16:07:01 +00:00
Willy Kloucek
3c3fc2e098
revert storage, remove tracing.service and bring back common
2022-01-07 16:06:56 +00:00
Willy Kloucek
a13df3dcf7
split **/pkg/config/config.go up to multiple files
2022-01-07 16:04:52 +00:00
Willy Kloucek
6990e7d660
switch all other services to struct tag based env config
2022-01-07 15:47:47 +00:00
Willy Kloucek
288d6c469e
switch graph to struct tag based env config
2022-01-07 15:39:01 +00:00
Willy Kloucek
788a390016
switch glauth to struct tag based env config
2022-01-07 15:39:01 +00:00
Willy Kloucek
161dd949fc
switch ocs to struct tag based env config
2022-01-07 15:39:01 +00:00
Willy Kloucek
ebfe8f069c
remove service names
2022-01-07 15:39:01 +00:00
Willy Kloucek
0360b58587
fix ocs test
2022-01-07 15:39:01 +00:00
Willy Kloucek
3b5a33590e
add missing commands and unify service / namespace options
2022-01-07 15:38:56 +00:00
Jörn Friedrich Dreyer
196f2ab818
use list spaces when deleting users
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2022-01-05 10:03:11 +00:00
Jörn Friedrich Dreyer
35a11dda7e
fix ocs unit tests
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-12-07 18:46:24 +00:00
Jörn Friedrich Dreyer
505776b07b
fix user creation and deletion
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-12-07 15:47:09 +00:00
Jörn Friedrich Dreyer
ffe75747d3
Merge pull request #2837 from owncloud/update-reva-a042373b390
...
[full-ci] update reva, ignoring docker-arm
2021-12-07 13:17:12 +01:00
Willy Kloucek
9109f8843a
always unescape url params
2021-12-06 17:04:12 +01:00
Willy Kloucek
ad62e230a6
fix add to groups endpoint
2021-12-06 13:26:28 +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
Willy Kloucek
1eac1099ae
introduce string constants for user / group not found messages
2021-11-29 07:34:54 +01:00
Willy Kloucek
a33b0049fc
trade panic for logging on render.Render
2021-11-26 17:38:33 +01:00
Willy Kloucek
20ab79deb4
don't panic
2021-11-26 15:44:18 +01:00
Willy Kloucek
dc5901b25c
disallow creation of a group with empty name via the OCS api
2021-11-26 13:03:54 +01:00
A.Unger
24347180fa
use ocisConfig as struct tagname to bind config files to strucg attributes
2021-11-19 09:28:23 +01:00