Commit Graph

32 Commits

Author SHA1 Message Date
David Christofas
222c8e345d add trailing slashes to phoenix redirect uris 2020-04-03 12:19:59 +02:00
David Christofas
2e65c8455b trust the phoenix client 2020-04-02 13:20:16 +02:00
Ilja Neumann
6bd82c37ef Change default settings to be able to run ocis server without any configuration
- Konnectd uses no TLS as it is behind the proxy
- Glauth generates dev-certificates for ldap on startup if none are provided,
- Glauth can launch unencrypted (9125) and encrypted (9126) port in parallel
2020-03-18 20:59:09 +01:00
Jörn Friedrich Dreyer
8971a1e066 integrate with current ocis config (#52)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Co-authored-by: Alex Unger <zyxancf@gmail.com>
2020-03-17 20:02:28 +01:00
Alex Unger
c16003d47e Load config from Viper on Before hook (#51)
* abstract ParseConfig to its own scope

* remove hardcoded values

* parse config from root if present

* update example.json

* fix linter

* code style
2020-03-17 17:48:25 +01:00
Ilja Neumann
439cc7d4f5 Fix tls-key flag (#50) 2020-03-14 09:09:48 +01:00
Alex Unger
3ff0e2fd47 Basic span definitions (#49)
* use directly the trace middleware instead of the fancy tracing service

* cannot rely on mux middlewares

* add hops
2020-03-11 13:25:26 +01:00
Ilja Neumann
918f446bb1 Don't create dummy index.html for webapp #25
Downstream does not require webapp anymore
2020-03-09 19:54:17 +01:00
A.Unger
d6339c4326 remove defensive code 2020-03-09 15:14:51 +01:00
A.Unger
568667318a use tracing middleware from ocis-pkg 2020-03-09 15:14:25 +01:00
A.Unger
2dcddd2286 ignore not okay context decoding 2020-03-06 17:25:18 +01:00
A.Unger
868db44531 add todo comment: update micro/cli to support StringSlice flags destination 2020-03-06 17:25:18 +01:00
A.Unger
8324842805 apply tracing middleware only when tracing is enabled 2020-03-06 17:25:18 +01:00
A.Unger
28b9da028a add traces to konnectd index handler 2020-03-06 17:25:18 +01:00
A.Unger
36502678b4 extract span baggage from request 2020-03-06 17:25:18 +01:00
Ilja Neumann
b523c7f900 Remove arg usage in help as konnnect specific args are not supported anymore. 2020-02-28 20:14:54 +01:00
Ilja Neumann
79a87b9765 Add option to disable TLS #37 2020-02-26 15:37:10 +01:00
Ilja Neumann
e8420f55da Add configuration for reverse-proxy #32 2020-02-21 15:16:28 +01:00
Ilja Neumann
16cbca8ad1 Set CSP-Nonce #17
As we overwrite kopano-index handler to serve index from vfs, we need to do this manually.
2020-02-20 11:48:27 +01:00
Ilja Neumann
104a3fcf99 Reuse existing generated dev-certs #18 2020-02-18 09:43:22 +01:00
Thomas Müller
51db6fb917 Adding more clients: graph explorer, desktop, ios and android 2020-02-14 15:18:17 +01:00
Ilja Neumann
105edd6195 Generate configs from assets (#16)
* Generate config files required for konnect from assets

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* Change identifier-registration and certs to localhost

Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2020-02-13 21:33:06 +01:00
Ilja Neumann
b9cab5773d Update konnect to IljaN/konnect v0.29.0-alpha2 2020-02-11 17:47:34 +01:00
Alex Unger
05b45e4802 update cli and ocis-pkg (#14) 2020-02-10 11:51:41 +01:00
Ilja Neumann
dd1c848408 - Generate certs if none configured (#10)
- Use devldap ldap-defaults
2020-02-05 16:26:17 +01:00
Ilja Neumann
89af83ea46 Integreate konnectd library #8 2020-01-28 16:19:32 +01:00
Alex Unger
046fec2033 Add Namespace Flag to Service (#5)
* added namespace option

* added namespace to config struct

* use config value

* add http-namespace flag

* update docs
2019-12-27 19:59:17 +01:00
A.Unger
988d3e37c7 inject root and server flags to constructor 2019-12-12 10:55:57 +01:00
A.Unger
b69a749e25 use flags from options instead of config 2019-12-12 10:55:26 +01:00
A.Unger
67795f4cc9 added flag options 2019-12-12 10:55:09 +01:00
Thomas Boerger
0f2829ca1b Fix formatting 2019-12-10 09:45:49 +01:00
Thomas Boerger
66337bb4da Initial commit 2019-12-10 09:38:51 +01:00