Ralf Haferkamp
3d57f5cc21
Introduce TLS Settings for all reva grpc services and clients
2022-10-25 11:50:08 +02:00
Michael Barz
f84fbdd6ff
corrections from code review
2022-10-17 17:22:33 +02:00
Michael Barz
0b7297d1b4
harden drives api and improve logging
2022-10-16 00:38:44 +02:00
Michael Barz
cfd3e9fab7
fix master branch
2022-10-10 17:26:01 +02:00
Michael Barz
dd6c60d548
fix base url for drives webURL
2022-10-10 17:07:32 +02:00
David Christofas
1b0ec2c9d5
update module path of ttlcache ( #4738 )
...
The GitHub repository of ttlcache has been moved from ReneKroon to jellydator.
2022-10-04 17:33:53 +02:00
Ralf Haferkamp
01650a5023
Use lazy initialization for the default grpc client
...
This avoids using a public global variable. It allows us to initialize
the default client a bit later (outside of init()). That way we can e.g.
properly initialize the in-memory registry.
2022-09-26 16:25:56 +02:00
Ralf Haferkamp
cc53071f63
Forbid to remove own user account
...
And admin user is no longer allowed to remove its own user account.
This to prevent admins from locking themselves out.
Fixes : #3713
2022-09-23 09:13:46 +02:00
Juan Pablo Villafañez
6ee4a084a2
Use go-micro store to cache the roles ( #4337 )
...
* Use go-micro store to cache the roles
Add custom in-memory implementation
* replace redis with custom etcd implementation
* adjust table name for the cache in the roles manager
* Fix tests
* Fix sonarcloud issues
* Refactor for sonarcloud
* Allow configuration of cache per service
* Reuse parent context in etcd implementation
2022-09-16 15:42:47 +02:00
Michael Barz
a129ea6abe
fix unit tests
2022-09-15 10:42:00 +02:00
Michael Barz
23da13b35f
add web url to graph api and update reva
2022-09-15 09:30:36 +02:00
Ralf Haferkamp
f43a233795
Fix home space deletion when deleting user by name
...
DELETE requess on /graph/v1.0/users also work when specifing a user by
name. For deleting the home space in that case we need to get the User's
id from the backend first.
Fixes : #4195
2022-09-07 18:13:41 +02:00
Ralf Haferkamp
e4f9dfa40e
graph: purge home space when deleting a user
...
previously the homespace was just marked as trashed
Fixes : #4195
2022-09-07 14:25:27 +02:00
Ralf Haferkamp
29f52515e1
graph: Fix Status code when updating the password
...
Up to now the /me/changePassword endpoint return a 500 Status when
issue a password change with the old password set to the wrong password.
This changes the code to return 400 (Bad Request) with an additional
message that the old password is wrong. This does not seem to weaken the
security of /me/changePassword (i.e. for allowing easier brute-force
attacks) as the endpoint is only available to already authenticated
users (and only for changing their own passwords)
See #4480
2022-09-05 15:57:46 +02:00
David Christofas
2051f0d1e1
Merge pull request #4447 from dragonchaser/delete_userspace
...
Delete userspace
2022-09-02 14:41:57 +02:00
David Christofas
e36cd4fa7f
add returns after rendering errors and simplify loop condition
2022-09-02 11:54:17 +02:00
Ralf Haferkamp
a26b16c41d
graph: Add $expand=memberOf support to /me
...
Fixes : #4283
2022-08-31 07:43:27 +02:00
Christian Richter
6a9d4efef6
add delete home space permission to admin role
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-08-30 11:09:05 +02:00
Christian Richter
05a60fd3a5
add home space deletion on user delete
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-08-26 15:00:55 +02:00
Willy Kloucek
6154466bbc
rename extensions to services (leftover occurences)
2022-08-17 15:36:52 +02:00
Michael Barz
bb9903515f
fix unrestricted quota
2022-08-08 19:25:22 +02:00
Michael Barz
df8e64665b
Merge pull request #4358 from owncloud/update-graph-api
...
add expand query for personal drive
2022-08-08 17:45:12 +02:00
Michael Barz
67b52bbd55
add expand query for personal drive
2022-08-08 16:43:59 +02:00
Michael Barz
bde5d69839
add storageID to the special items, improve code
2022-08-08 16:07:19 +02:00
Michael Barz
cb7d024d89
fix listing of drives and quota
2022-08-03 12:50:00 +02:00
Michael Barz
cce04f94ff
set virtual owner on non-personal spaces
2022-08-01 12:53:24 +02:00
Christian Richter
a030459c70
incorporate requested changes
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-07-29 14:39:19 +02:00
Christian Richter
1e21e23056
add drives output
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-07-29 14:39:19 +02:00
Willy Kloucek
7cbd1ad357
make graph service events optional
2022-07-15 07:51:30 +02:00
Michael Barz
2a113e9f7d
use spaceID
2022-07-11 10:44:09 +02:00
Willy Kloucek
45f25ee845
remove unused GRAPH_SPACES_INSECURE
2022-07-07 15:29:06 +02:00
Christian Richter
f8f1320501
refactor extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00
Christian Richter
78064e6bab
rename folder extensions -> services
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2022-06-27 14:05:36 +02:00