Commit Graph

182 Commits

Author SHA1 Message Date
A.Unger b52fe95762 run ParseConfig only when running unsupervised 2021-03-11 20:09:05 +01:00
A.Unger dc4b4b7e46 correctly implement suture v4 interfaces 2021-03-11 15:50:01 +01:00
A.Unger 8f67dd3b08 fix sonar smells 2021-03-11 09:38:10 +01:00
A.Unger 6054e6b4a1 sequential access to viper config (still broken) + add delayed execution to storage-sharing 2021-03-10 12:26:14 +01:00
A.Unger e8c57394d8 fix debug services shutdown 2021-03-10 11:38:21 +01:00
A.Unger 4e37d4a2f6 update commands when running in supervised mode 2021-03-10 11:10:46 +01:00
A.Unger 90aea4f58d tweak proxy scalability 2021-03-09 22:58:18 +01:00
A.Unger 5f9133386d fix run / kill 2021-03-09 19:15:59 +01:00
Jörn Friedrich Dreyer 2bfdab8735 add remaining services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-09 16:03:47 +00:00
A.Unger 29910838c1 rework config 2021-03-09 15:55:45 +01:00
A.Unger 9284c232b8 undo log lines 2021-03-09 10:31:58 +01:00
A.Unger 34257672d3 log request path instead 2021-03-08 17:18:09 +01:00
Jörn Friedrich Dreyer bb7cfb5a87 obnoxious proxy logging
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-03-08 16:13:19 +00:00
A.Unger 3c770dd118 add store 2021-03-04 14:03:06 +01:00
A.Unger e25f5b1c98 add proxy 2021-03-04 13:56:49 +01:00
David Christofas c532073dd1 remove JWT from logs
secrets should not be exposed in the logs
2021-03-03 15:30:11 +01:00
Willy Kloucek 58c3acb525 run "make go-mod-tidy" and "make generate" 2021-03-01 15:33:14 +01:00
Willy Kloucek 387b2f3272 introduce bingo and rework makefiles 2021-03-01 15:05:48 +01:00
David Christofas cfcd4b5992 resolve linter issues 2021-02-26 14:24:25 +01:00
David Christofas 0fd7580301 resolve linter issues 2021-02-25 10:48:40 +01:00
Jörn Friedrich Dreyer f3468e1070 Merge pull request #1701 from owncloud/missing-dependencies
fix missing registry dependencies
2021-02-23 14:29:38 +01:00
David Christofas 3a46bd2f94 update reva to v1.6.1-0.20210223065028-53f39499762e
Update reva and also set a replace for github.com/oleiade/reflections.
The replace should resolve the dependabot issue. See oleiade/reflections#14. Once https://github.com/ory/fosite has updated to reflections 1.0.1 or higher we can remove the replace.
2021-02-23 11:36:07 +01:00
Jörn Friedrich Dreyer 368d32becb run make go-mod-tidy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-23 09:16:58 +00:00
Jörn Friedrich Dreyer 4fffec0749 Merge pull request #1699 from owncloud/fix-token-ttl
fix token cache TTL
2021-02-22 20:36:05 +01:00
David Christofas 7ad38d7757 fix token cache TTL
The TTL was supplied to the middleware as a duration and then in that middleware multiplied by `time.Second` again. Durations should not be multiplied because they result in unintended values.
```go
	time.Second * 1 = 1s
	time.Second * time.Second = 277777h46m40s
```
2021-02-22 18:40:15 +01:00
Jörn Friedrich Dreyer 8a8aa2dc52 use micre v3 registry interface
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-22 15:08:50 +00:00
Jörn Friedrich Dreyer 89b06defa5 use ocis grpc client for thumbnails
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 21:26:36 +00:00
A.Unger 1daad022c3 set MICRO_LOG_LEVEL to error if not defined 2021-02-18 12:45:44 +01:00
Jörn Friedrich Dreyer 13f6defb7a use upstream prometheus logger
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 09:10:00 +00:00
Jörn Friedrich Dreyer c2939551e5 rebase and tidy
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:17:57 +00:00
Jörn Friedrich Dreyer 57aec02410 tidy everything
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:03:22 +00:00
Jörn Friedrich Dreyer 603dad3533 bring back etcd registry
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-18 08:01:53 +00:00
A.Unger 448bdde79c use http replace 2021-02-18 08:01:53 +00:00
A.Unger a1d5e34f41 update proxy to use go-micro v3 2021-02-18 08:01:53 +00:00
Willy Kloucek 888481a64a Merge pull request #1626 from ishank011/group-provider
storage: add group provider service and sharing SQL driver
2021-02-17 10:34:25 +01:00
Ishank Arora bafa6b9c81 Upgrade reva version 2021-02-16 16:01:57 +01:00
root 4813b06ed5 Upgrade reva and CS3APIs versions 2021-02-16 16:00:51 +01:00
Willy Kloucek aed03b5bf5 generate all protobuf and embed.go files in CI 2021-02-16 15:44:06 +01:00
David Christofas 9d1341d1eb update ocis dependencies 2021-02-16 14:32:46 +01:00
David Christofas 10d4bad26d clean up go dependencies 2021-02-12 16:38:34 +01:00
Ilja Neumann 0c6c18f818 Update reva to master@0c10b333ee69
Co-authored-by: David Christofas <dchristofas@owncloud.com>
2021-02-12 16:14:03 +01:00
Willy Kloucek 2efbb13e66 change secrets on deploy 2021-02-10 14:20:38 +01:00
Willy Kloucek 29129cdb9d fix config links 2021-01-29 11:14:03 +01:00
Pascal Wengerter d7b1ecb3dc Change (ocis,OCIS) to oCIS, unify GitHub branding 2021-01-28 00:32:47 +00:00
Jörn Friedrich Dreyer 75984383d6 update reva to 0c10b333ee69
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-01-25 15:05:48 +00:00
Ilja Neumann 777c29fc35 Update reva to v1.5.1 2021-01-22 12:36:41 +01:00
Florian Schade 8c9f9b6dfc bump go version to 1.15 2021-01-20 15:41:36 +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