A.Unger
60280a3f28
refactor and cleanup a bit
2021-04-20 14:55:48 +02:00
David Christofas
94ec263d89
update reva to v1.6.1-0.20210414111318-a4b5148cbfb2
2021-04-14 15:24:04 +02:00
Willy Kloucek
708133ab08
fixes #1475
2021-04-13 09:29:24 +02:00
Wilko Nienhaus
011c6b76ee
move uint64s to beginning of struct to ensure they are 64-bit aligned
...
See https://golang.org/pkg/sync/atomic/#pkg-note-BUG for reference:
"The first word in (...) an allocated struct (...) can be relied up to
be 64-bit aligned"
This fixes an "unaligned 64-bit atomic operation" panic on 32-bit ARM,
(in my case a Raspberry Pi 4, running 32-bit Raspbian). The panic
happens (at least) during the first login after a service (re)start.
2021-04-02 10:35:29 +03:00
Willy Kloucek
31a0389fbc
enforce quota
2021-03-30 10:55:58 +02:00
David Christofas
bcffed2e00
update reva to v1.6.1-0.20210326165326-e8a00d9b2368
2021-03-29 05:11:23 +05:45
Willy Kloucek
5a5d3af8f2
update go
2021-03-23 13:41:16 +01:00
Willy Kloucek
fa040cf56f
update reva
2021-03-23 13:41:11 +01:00
A.Unger
385d6ecc48
make runtime port and host configurable
2021-03-18 15:23:36 +01:00
A.Unger
9c6e8d7bf3
defensive code
2021-03-17 15:59:05 +01:00
A.Unger
abd18e3101
Merge branch 'master' into file-logging-ocis-1666
2021-03-17 15:28:16 +01:00
A.Unger
8a3e280d83
initial support for file logging
2021-03-17 15:26:43 +01:00
A.Unger
41f4a633f5
add config-file flag to ocis, propagate log config to graph & graph-explorer
2021-03-17 10:58:28 +01:00
A.Unger
5594c142dd
fix offense
2021-03-13 21:52:00 +01:00
A.Unger
04fa140c76
Merge branch 'master' into ocis-1715-lighter-runtime
2021-03-12 22:59:44 +01:00
A.Unger
f0c1d59672
add idp to new config scheme
2021-03-12 14:03:52 +01:00
A.Unger
c1f489a258
update config parsing for accounts and proxy
2021-03-12 13:47:52 +01:00
A.Unger
dc4b4b7e46
correctly implement suture v4 interfaces
2021-03-11 15:50:01 +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
4e37d4a2f6
update commands when running in supervised mode
2021-03-10 11:10:46 +01:00
A.Unger
29910838c1
rework config
2021-03-09 15:55:45 +01:00
Willy Kloucek
d1701b3035
conditionally include bingo
2021-03-09 11:01:46 +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
a22b7d6844
resolve linter issues
2021-02-24 16:24:36 +01:00
A.Unger
89fc088239
Merge branch 'master' into initialization-responsibility
2021-02-23 14:56:36 +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
A.Unger
97271d51bc
add circuit breakers
2021-02-23 11:56:03 +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
52ebb7c611
Merge pull request #1700 from owncloud/preallocate-slices
...
pre allocate slices
2021-02-23 09:55:52 +01:00
Florian Schade
377eecc66e
add missing dependencies
2021-02-23 03:43:17 +01: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
Jörn Friedrich Dreyer
fd703ec740
add initial nats and kubernetes registry support
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-22 15:20:22 +00: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
f89128a2d9
use registry interface
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-22 13:42:00 +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
Jörn Friedrich Dreyer
d4585933ac
reuse the default client
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 13:07:04 +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
d9f4a4c524
always pass in a client
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 10:58:56 +00:00
Jörn Friedrich Dreyer
11ed5e49d8
same order of options in grpc and http service
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 10:00:16 +00: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
34a9fb2dc8
remove unneeded getTranstport
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 08:03:22 +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
588ac4a2a6
get rid of http server option.Hander
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2021-02-18 08:01:53 +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
b89deea796
remove redundant transport
2021-02-18 08:01:53 +00:00
A.Unger
448bdde79c
use http replace
2021-02-18 08:01:53 +00:00