Commit Graph
137 Commits
Author SHA1 Message Date
Willy Kloucek f0d072e94b since the metadata services uses the reva jwt token, accounts service should do too 2022-02-01 15:28:57 +01:00
Juan Pablo Villafáñez 7d8e334537 Revert v1 to v0 2022-01-31 12:17:56 +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
Willy Kloucek 7abcf96ea8 revert storage, remove tracing.service and bring back common 2022-01-03 07:49:24 +01:00
Willy Kloucek ee57288309 switch all other services to struct tag based env config 2022-01-03 07:49:24 +01:00
Willy Kloucek 6bf467127b switch accounts to struct tag based env config 2022-01-03 07:49:23 +01:00
Willy Kloucek 6206fe2398 add missing commands and unify service / namespace options 2022-01-03 07:49:23 +01:00
Willy Kloucek 3fd070061d WIP: make the accounts service use the upload workflow 2021-12-06 12:01:15 +01:00
A.Unger 70da20a777 Merge branch 'master' into try-gookikt-config 2021-11-19 16:27:49 +01:00
Willy Kloucek 32ffbe3ac6 adapt changed function signatures 2021-11-19 13:22:47 +01:00
A.Unger c6191b7404 fix account unit tests 2021-11-11 13:46:07 +01:00
Willy Kloucek f45254bb5d set backend to disk in tests 2021-10-27 14:14:18 +02:00
Willy Kloucek ef406c8baa ensure lowercase backend in the command 2021-10-27 12:53:25 +02:00
Willy Kloucek 405809f13a fix accounts backend regression from #2590 2021-10-27 12:27:25 +02:00
Willy Kloucek cddb334f80 change default paths for oCIS services 2021-10-19 14:37:20 +02:00
Willy Kloucek 6d5a3733ff upgrade to go micro v4.1.0 2021-10-14 15:56:19 +02:00
Josh SorefandPhil Davis 55667a3ab3 spelling
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-09-20 16:54:29 +05:45
Juan Pablo Villafáñez 670dfedf7c Add option to generate the demo users 2021-09-15 18:11:47 +02:00
A.Unger 8a80b990a8 safer code 2021-08-10 00:09:39 +02:00
A.Unger 1ed38e1f3b guard against unconfigured tracer 2021-08-09 23:18:03 +02:00
A.Unger 0eb403d658 replace go.opencensus.io with opentelemetry 2021-08-09 15:52:06 +02:00
A.Unger 43a97f6bac remove redundant middleware 2021-08-09 15:47:53 +02:00
David Christofas 03aa64168c fix: make groups index case sensitive 2021-06-01 13:33:24 +02:00
A.Unger 58543a1415 correct usage of suture 2021-03-04 11:51:36 +01:00
David Christofas c861d27aae resolve linter issues 2021-02-25 10:30:28 +01:00
A.Unger a361c12e2a defensive code around accounts init 2021-02-23 12:45:21 +01:00
A.Unger f280e98897 no race condition 2021-02-23 11:16:55 +01:00
A.Unger 2004942a3a shift role initialization from accounts to settings 2021-02-22 12:19:50 +01:00
A.UngerandJörn Friedrich Dreyer 7e505fbd9f remove any micro v2 occurences from the project 2021-02-18 08:01:53 +00:00
Willy Kloucek 2efbb13e66 change secrets on deploy 2021-02-10 14:20:38 +01:00
Ilja Neumann 03cadf304c Rename konnectd to IDP 2021-01-29 12:31:16 +01:00
Florian Schade af870e005e add more tests and benchmark for cache
refactor cache to use atomic uint
2021-01-19 23:23:41 +01:00
Florian Schade f13530425a move cache to sync package
rollback indexer map
use sync.pool for cache entries
add tests for cache
remove main locks from nrwmutex and use sync.map and sync.pool instead
bump dockerfile go version
2021-01-19 23:23:41 +01:00
Florian Schade a02fb890f7 remove locking from accounts service
add a cached named rwlock pkg
use sync.map in the cache pkg
use named rwlock in indexer pkg
use sync.map in indexer pkg
remove husky
2021-01-19 23:23:41 +01:00
Willy Kloucek 84e0d70323 get rid of unused AccountsDataPath 2020-12-11 08:33:02 +01:00
David Christofas 0c4d46ee2f implement tracing in the account service 2020-12-04 14:28:59 +01:00
Florian SchadeandFlorian Schade e39cd16617 add LastPasswordChangeDateTime to cache key 2020-11-27 16:18:22 +01:00
Florian SchadeandFlorian Schade 2bc7f2175c straight out code because staticcheck error 2020-11-27 16:18:22 +01:00
Florian SchadeandFlorian Schade 2a259dd3b1 add Unset to cache.go
harden accounts cache security
2020-11-27 16:18:22 +01:00
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
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 ChristofasandPhil Davis 14063508bb make hash difficulty configurable 2020-11-11 10:26:33 +05:45
David ChristofasandPhil Davis 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
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
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