Thomas Müller
bdbba929d0
feat: add CSP and other security related headers in the oCIS proxy service ( #8777 )
...
* feat: add CSP and other security related headers in the oCIS proxy service
* fix: consolidate security related headers - drop middleware.Secure
* fix: use github.com/DeepDiver1975/secure
* fix: acceptance tests
* feat: support env var replacements in csp.yaml
2024-04-26 09:10:35 +02:00
Ralf Haferkamp
2a53dd89f4
debugServer: Set a base context for the http server
...
to allow propagating context cancellation
2023-10-10 12:25:30 +02:00
Jörn Friedrich Dreyer
632b206675
trace proxie middlewares ( #6313 )
...
* trace proxie middlewares
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* Update ocis-pkg/service/grpc/client.go
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com >
* default tls is off
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
---------
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com >
2023-05-27 10:18:24 +02:00
Daniel Swärd
c17add76c4
graph: Move token middleware and return proper JSON response on error.
...
Fixes #5661
2023-03-06 10:24:44 +01:00
Michael Barz
189987bcbd
Bump major version to v2
2022-05-04 14:49:59 +02:00
A.Unger
c335c4dc29
config dump endpoint for proxy
2021-11-09 14:14:31 +01:00
A.Unger
711acbb354
inherit logging config from ocis.yaml, let extensions overwrite their logging. Considering using a package level global logging...
2021-10-31 00:08:46 +02:00
David Christofas
9ecc065879
update CORS middleware and make it configurable
2021-10-22 13:27:31 +02:00
Ralf Haferkamp
3a42fdc578
Move to go-chi/chi v5
2021-08-24 17:48:37 +02:00
David Christofas
3bc60510ce
use go-chi middlewares
...
go-chi already delivers the middlewares we need so we don't need to import other libraries for that.
2021-08-12 17:14:41 +02:00
Benedikt Kulmann
aaf9029a3e
Rename "Cache" middleware to "NoCache"
2020-11-16 22:13:26 +01:00
A.Unger
157e460945
normalize log messages to use lowercase
2020-11-04 16:00:09 +01:00
A.Unger
fcca9faa81
accounts running
2020-09-18 14:51:07 +02:00
A.Unger
c284b4d07b
Add 'ocis-pkg/' from commit '72d605ba3857d0b972ddd72e226d8a5360fb480d'
...
git-subtree-dir: ocis-pkg
git-subtree-mainline: 4c12bed11b
git-subtree-split: 72d605ba38
2020-09-18 12:34:50 +02:00