Commit Graph

129 Commits

Author SHA1 Message Date
A.Unger
cb2323e9d6 Merge branch 'master' into no-additional-init 2021-07-02 13:25:30 +02:00
A.Unger
2e28582c1b cherrypick extensions to start v1 2021-06-29 15:28:19 +02:00
Michael Barz
34e0877df7 Merge pull request #1951 from ishank011/uid-gid-user-object
Use CS3 user object fields to store UID and GID
2021-06-25 10:06:14 +02:00
Ishank Arora
6168ee7095 Use CS3 user object fields to store UID and GID 2021-06-16 18:05:40 +02:00
Willy Kloucek
ed94da5104 ignore authentication header on status.php 2021-06-16 16:59:11 +02:00
A.Unger
83f628052d add new os pkg on ocis-pkg 2021-06-08 13:08:32 +02:00
A.Unger
fb31bf4427 namespace user config dir with ocis 2021-06-08 10:45:10 +02:00
A.Unger
5518c6cf1c add tests for crypto.GenCert 2021-06-08 10:37:26 +02:00
A.Unger
3101c292bb move crypto over to ocis-pkg 2021-06-07 17:11:29 +02:00
A.Unger
150e5f4c01 use os.UserConfigDir 2021-06-07 15:44:45 +02:00
A.Unger
2508ce0ef7 use user system config to store tls artifacts 2021-06-07 15:00:52 +02:00
David Christofas
f6ac50244b update invocations of MintToken and DismantleToken 2021-05-11 14:18:43 +02:00
Willy Kloucek
771f85ce2b remove ocis-hello references 2021-04-19 13:05:41 +02:00
Ishank Arora
7ca9e12116 Public share SQL driver config 2021-04-14 12:48:35 +02:00
Ishank Arora
1b0b14512c Read UID and GID from the opaque object for CS3 proxy backend 2021-04-13 11:52:22 +02:00
A.Unger
f23cf92153 interpret user from the IDP 2021-04-13 10:48:06 +02:00
A.Unger
ed99fb8292 assign user role if user exists but there are no role assignments 2021-04-09 14:15:47 +02:00
A.Unger
02bfa9509b refactor proxy tracing config 2021-03-18 12:25:23 +01:00
A.Unger
fa27def950 suport for proxy 2021-03-17 15:42:24 +01: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
A.Unger
c1f489a258 update config parsing for accounts and proxy 2021-03-12 13:47:52 +01:00
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
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
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
6991dd777d ocis already does the cli flag parsing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2021-02-23 12:47:23 +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
A.Unger
a1d5e34f41 update proxy to use go-micro v3 2021-02-18 08:01:53 +00:00
Willy Kloucek
2efbb13e66 change secrets on deploy 2021-02-10 14:20:38 +01:00
Pascal Wengerter
d7b1ecb3dc Change (ocis,OCIS) to oCIS, unify GitHub branding 2021-01-28 00:32:47 +00: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
Benedikt Kulmann
ca6d59d7c5 Merge pull request #1142 from owncloud/small-refactoring
small refactorings of test code and some methods
2020-12-24 06:06:22 +01:00
Jörn Friedrich Dreyer
5689daf864 Merge pull request #1148 from owncloud/add_ocis_url_env
add OCIS_URL env var
2020-12-23 17:25:24 +01:00