Florian Schade
11ba46eb88
remove accounts cache from basic auth middleware
...
move cache to ocis-pkg
add password validation cache to accounts service
2020-11-26 13:52:24 +01:00
Benedikt Kulmann
40449ac875
Regenerate assets
2020-11-20 11:13:55 +01:00
David Christofas
2f69265a66
add permission check to role management
2020-11-18 16:30:51 +01:00
Benedikt Kulmann
9c6dac8328
Add caching for static web assets
2020-11-16 23:22:56 +01:00
Benedikt Kulmann
aaf9029a3e
Rename "Cache" middleware to "NoCache"
2020-11-16 22:13:26 +01:00
A.Unger
641fd2703a
make version command registry aware
2020-11-12 11:53:37 +01:00
A.Unger
951a441f65
cleanup old comments
2020-11-11 15:52:13 +01:00
A.Unger
83d9b0c97d
Merge branch 'master' into ocis-1018
2020-11-11 15:38:46 +01:00
A.Unger
76c633e650
wip
2020-11-11 11:50:53 +01:00
David Christofas
14063508bb
make hash difficulty configurable
2020-11-11 10:26:33 +05:45
David Christofas
7115b6f661
change hashing algorithm from SHA-512 to bcrypt
...
Even though SHA-512 is currently considered a secure algorithm it is not the best choice for password hashing. As this change introduces a breaking change it is beast to introduce it as early as possible to prevent us from having to implement a migration strategy
Signed-off-by: David Christofas <dchristofas@owncloud.com >
2020-11-11 10:26:33 +05:45
A.Unger
d6e25798f7
Merge branch 'master' into fix-672
2020-11-10 15:49:24 +01:00
Jörn Friedrich Dreyer
0c6e8881c3
fix 820 - race condition
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-11-10 15:07:27 +01:00
A.Unger
bf2fa91690
do not override config, use shallow copy instead
2020-11-06 08:25:31 +05:45
Jörn Friedrich Dreyer
c124102df2
Merge pull request #627 from butonic/add-basic-auth-option
...
add enable basic auth option and check permissions
2020-11-05 16:36:16 +01:00
Jörn Friedrich Dreyer
e2b5d64618
fix recursive json marshaling
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
aac932b6e0
fix tons of ocs tests
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
8157ac241e
put back the role hole
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-11-05 13:06:05 +01:00
Benedikt Kulmann
c954bcb49c
Apply admin role to reva and konnectd users
2020-11-05 13:06:05 +01:00
Benedikt Kulmann
59be0d02c6
Use roleIDs instead of permissionIDs in tests
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
494f9aca88
enforce permissions
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
abce279355
allow self updating
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
cac8f2ef04
distinguish badrequest and conflict / already exists errors
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
9adbc3b5c7
fix tests, one more account present
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-11-05 13:06:05 +01:00
Jörn Friedrich Dreyer
8e39d8b873
actually check permissions to fix tests
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-11-05 13:06:05 +01:00
Benedikt Kulmann
0574fbd738
Introduce admin:admin. webUI tests are hardcoded to that.
2020-11-05 13:06:05 +01:00
A.Unger
157e460945
normalize log messages to use lowercase
2020-11-04 16:00:09 +01:00
A.Unger
81b5615b6b
the address of a variable cannot be nil...
2020-11-03 15:57:54 +01:00
A.Unger
1168bdbb5d
add recover branch
2020-11-03 15:33:41 +01:00
A.Unger
11dee33e3c
update github.com/mennanov/fieldmask-utils@v0.3.3
...
slim down cofig
2020-11-03 15:33:27 +01:00
Alex Unger
6761f70959
try non unique?
2020-10-29 16:09:20 +01:00
Alex Unger
636caea217
add index on account.Id due to a rogue query
2020-10-29 15:24:26 +01:00
A.Unger
c72e212c91
first implementation of our own query tree and tree resolution
...
added godata dep
use correct godata dependency, enhance tests
refactor around indexer search tree
tests reflecting currently used queries
fix static checker
fix linter
replace old regexp with a calll to indexer.Query
fix linter
remove offenses
2020-10-28 16:02:44 +01:00
Benedikt Kulmann
bef3a4dca6
Remove unused cs3 indexer in indexer tests
2020-10-24 08:03:02 +02:00
Benedikt Kulmann
f10c3e2852
Disable unstable cs3 tests (connection to metadata storage)
2020-10-24 07:42:47 +02:00
Benedikt Kulmann
47e53c7274
Fix staticcheck
2020-10-24 06:56:41 +02:00
Benedikt Kulmann
fe0e4303a0
Use LoadAccounts in accounts handler
2020-10-24 06:37:29 +02:00
Benedikt Kulmann
70b47484f5
Reuse getAuthenticatedContext
2020-10-24 06:21:52 +02:00
Benedikt Kulmann
0f03d8c52c
Rename command
2020-10-24 06:15:34 +02:00
Benedikt Kulmann
337a114d10
Fix uppercase A and G comments
2020-10-24 06:13:18 +02:00
A.Unger
ae248d871f
fix TestListMembersEmptyGroup by setting a new Guid
2020-10-24 00:07:57 +02:00
A.Unger
0aecfcd742
small refactor on disk autoincrement index, move some helper functions
2020-10-23 23:31:37 +02:00
A.Unger
142f094f43
Merge branch 'master' into rebuild-index
2020-10-23 22:58:35 +02:00
Jörn Friedrich Dreyer
df9fa95c9f
wait for open port when setting up metadata storage for accounts tests
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-10-23 20:56:17 +02:00
A.Unger
2343cb6331
interpret lower bounds correctly for the cs3 index
2020-10-23 22:04:34 +05:45
Benedikt Kulmann
55d1f78bda
Fix delete for disk indexes
2020-10-23 17:14:27 +02:00
A.Unger
9a30688521
implement Delete operation
2020-10-23 16:53:16 +02:00
Benedikt Kulmann
2b76accc42
Refactor delete into helper
2020-10-23 16:51:53 +02:00
Jörn Friedrich Dreyer
031a1b8012
Fix id or username query handling
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2020-10-23 16:40:52 +02:00
Benedikt Kulmann
ed5cb9d610
Print error on rebuild command
2020-10-23 16:40:20 +02:00