Commit Graph

42 Commits

Author SHA1 Message Date
Michael Barz
fabed476f7 calculate quota stage 2021-10-15 12:28:19 +02:00
Michael Barz
654c237094 add missing error handling 2021-10-14 17:23:40 +02:00
A.Unger
abbd64bff6 fix update branch 2021-10-14 16:06:49 +02:00
Alex Unger
c4f450bab7 Merge branch 'master' into report-quota 2021-10-14 15:55:03 +02:00
jkoberg
00c663f3b6 simplify quota creation logic 2021-10-14 13:50:06 +02:00
jkoberg
2a6e5454d2 send nil quota if not set 2021-10-13 14:13:26 +02:00
jkoberg
d5d33c7941 add default space quota 2021-10-13 13:47:57 +02:00
Alex Unger
e9137c1533 Merge branch 'master' into report-quota 2021-10-13 10:47:24 +02:00
jkoberg
5b9870d1d8 fix panics in update drive handler 2021-10-13 09:17:49 +02:00
David Christofas
c4d4efdda8 return newly created space in response 2021-10-12 19:18:50 +02:00
Michael Barz
6844242511 report quota 2021-10-11 14:42:43 +02:00
A.Unger
386847ac37 use TrimPrefix instead of TrimLeft 2021-10-08 14:10:18 +02:00
A.Unger
4466e6b71e proper url parsing using godata 2021-10-08 13:23:10 +02:00
A.Unger
8161f9023b wip: prepare update request 2021-10-07 16:26:20 +02:00
A.Unger
c0ae065e77 account for space description 2021-10-07 13:16:31 +02:00
A.Unger
9299e22b18 wip: workload layout 2021-10-07 12:54:13 +02:00
Michael Barz
93a76a06e7 use space type from request 2021-10-06 14:44:18 +02:00
Michael Barz
79dd35e378 make POST on Spaces comply to odata 2021-09-23 10:52:44 +02:00
A.Unger
86b9ada9b5 guard on ParseForm 2021-09-08 11:50:01 +02:00
A.Unger
321697828e defensive code 2021-09-08 11:27:14 +02:00
A.Unger
96a6bebcb8 spaces: enforce create-space permission 2021-09-07 16:30:14 +02:00
A.Unger
f406c7efd1 lint: comment exported function 2021-09-07 13:34:05 +02:00
A.Unger
81c56685ec spaces: move all to its handler 2021-09-07 13:33:22 +02:00
A.Unger
c42546e9af spaces: WIP CreateStorageSoace 2021-09-06 12:10:23 +02:00
Ralf Haferkamp
3a42fdc578 Move to go-chi/chi v5 2021-08-24 17:48:37 +02:00
David Christofas
3bc60510ce use go-chi middlewares
go-chi already delivers the middlewares we need so we don't need to import other libraries for that.
2021-08-12 17:14:41 +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
Jörn Friedrich Dreyer
2a54b647f1 get rid of ldap and oidc, refactor error handling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 08:56:04 +00:00
Jörn Friedrich Dreyer
5070941dc4 graph: refactor auth and middlewares
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-21 08:54:19 +00:00
Jörn Friedrich Dreyer
7a25f2ac5e cleanup
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 20:05:50 +00:00
Jörn Friedrich Dreyer
9376e2ef5e no need to filter, remove unnecessary openapi package
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 12:28:43 +00:00
Jörn Friedrich Dreyer
d7031c93fe fix sonarcloud issues
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:59:42 +00:00
Jörn Friedrich Dreyer
c1bfbd9c24 update deps
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 11:42:29 +02:00
Jörn Friedrich Dreyer
c2780440f7 use open-graph-api and add openapi tooling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:06:42 +02:00
Jörn Friedrich Dreyer
449edd31c8 initial /me/drives implementation
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-07-08 10:04:01 +02:00
Michael Barz
3f29f50e45 Merge pull request #2199 from ishank011/webdav-ns-config
Make webdav namespace configurable across services
2021-06-25 11:39:36 +02:00
Ishank Arora
89f8320c74 Make webdav namespace configurable across services 2021-06-25 10:05:20 +02:00
Willy Kloucek
02621ac59b update reva to v1.8.1-0.20210622125952-b54b15943d02 2021-06-23 11:19:26 +02:00
Jörn Friedrich Dreyer
9fa77a27ba fix graph and graph-explorer
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-15 15:17:29 +00:00
David Christofas
1088faf95d pre allocate slices
Pre allocating slices with a target size reduces the number of allocations because we already know how big the slice will be and therefore need to allocate only once
2021-02-22 19:41:48 +01:00
David Christofas
9e5858ccab fix ocis dependencies in graph 2021-02-16 14:32:35 +01:00
A.Unger
f55a8092cb adjust imports 2021-02-04 11:46:32 +01:00