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
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
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
505776b07b
fix user creation and deletion
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-12-07 15:47:09 +00: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
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
Willy Kloucek
e35d4fd0ac
remove GRPC insecure config options, since it always needs to be set to insecure
2021-11-10 16:12:29 +01:00
Willy Kloucek
69cc11dbe6
make more insecure options configurable and change insecure defaults from true to false
2021-11-10 15:45:55 +01:00
Willy Kloucek
d6040ce76c
fix ipv6 error with go-micro update
2021-10-28 12:29:50 +02:00
jkoberg
f0f0c182ef
don't log nil error
2021-10-27 14:53:10 +02:00
jkoberg
572be6f847
forbid empty password on user creation
2021-10-25 14:54:44 +02:00
Willy Kloucek
7c20ca2b54
update REVA to 852282ce34f5
2021-10-21 10:36:53 +02:00
Willy Kloucek
6d5a3733ff
upgrade to go micro v4.1.0
2021-10-14 15:56:19 +02:00
A.Unger
3588d42001
add the reva gateway flag to groups
2021-09-30 10:44:52 +02:00
Willy Kloucek
ca3ec82e8c
remove unused capabilities
2021-09-23 16:20:30 +02:00
Ishank Arora
3e98b8df72
Set reva JWT token expiration time to 24 hours by default
2021-09-23 09:10:40 +02:00
Ishank Arora
fcd861f38f
Add machine auth API key to ocs service
2021-09-21 17:49:15 +02:00
Josh Soref
55667a3ab3
spelling
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com >
2021-09-20 16:54:29 +05:45
Ralf Haferkamp
3a42fdc578
Move to go-chi/chi v5
2021-08-24 17:48:37 +02:00
A.Unger
e62a9b6a36
Merge branch 'master' into remake-traces
2021-08-13 09:43:31 +02:00
Jörn Friedrich Dreyer
55aacdea13
update reva to ec4099da
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-08-12 11:08:10 +00:00
A.Unger
8a80b990a8
safer code
2021-08-10 00:09:39 +02:00
A.Unger
2bdd07e41b
add test spans
2021-08-06 15:47:46 +02:00
A.Unger
8301a7e7a3
propagate trace from ocs to proxy
2021-08-06 13:46:54 +02:00
Jörn Friedrich Dreyer
b148faada6
Merge pull request #2294 from owncloud/fix-trashbin-expected-failures
...
Fix Trashbin Expected Failures
2021-07-21 20:59:43 +02:00
A.Unger
7ab586b2ab
proxy is now aware of webdav responses
2021-07-13 15:38:44 +02:00
Ishank Arora
29c5cb627a
Update scope usage and add Changes for lightweight accounts
2021-07-13 13:03:06 +02:00
Michael Barz
34e0877df7
Merge pull request #1951 from ishank011/uid-gid-user-object
...
Use CS3 user object fields to store UID and GID
2021-06-25 10:06:14 +02:00
Willy Kloucek
02621ac59b
update reva to v1.8.1-0.20210622125952-b54b15943d02
2021-06-23 11:19:26 +02:00
Ishank Arora
6168ee7095
Use CS3 user object fields to store UID and GID
2021-06-16 18:05:40 +02:00
David Christofas
f6ac50244b
update invocations of MintToken and DismantleToken
2021-05-11 14:18:43 +02:00
A.Unger
4fb04b8ee3
fix sonarcloud offenses
2021-04-27 13:12:04 +02:00
A.Unger
6497743a02
purge recycle bin
2021-04-26 14:27:36 +02:00
A.Unger
d976dc35d3
add ugly CI hack: os.Getenv("STORAGE_USERS_DRIVER") != "owncloud"
2021-04-26 13:15:07 +02:00
A.Unger
75be5783c7
configurable jwt-secret and idm_address for ocs
2021-04-26 12:32:02 +02:00
A.Unger
b820d93485
delete user home only if reva gateway is configured. This ensures tests passing in CI
2021-04-23 15:45:40 +02:00
A.Unger
2cff4cf0bb
rework of PR#755
2021-04-23 13:35:01 +02:00
Alex Unger
b4e2c338ec
Merge pull request #1911 from ishank011/gh-ocis-1825
2021-04-13 15:57:40 +02:00
Ishank Arora
ded4abbd55
Set default user backend to accounts
2021-04-13 15:02:07 +02:00
A.Unger
985b83a282
guard against returning admin user groups instead the requested user groups
2021-04-13 14:28:09 +02:00
Ishank Arora
8b3a18ac8c
Log if reva client cannot be generated
2021-04-13 14:14:51 +02:00
Ishank Arora
52f9d15b2b
Minor fixes
2021-04-13 13:54:15 +02:00