Jens L
dad24c03ff
outposts: set cookies for a domain to authenticate an entire domain ( #971 )
...
* outposts: initial cookie domain implementation
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: add cookie domain setting
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* providers/proxy: replace forward_auth_mode with general mode
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: rebuild proxy provider form
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* providers/proxy: re-add forward_auth_mode for backwards compat
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: fix data.mode not being set
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* root: always set log level to debug when testing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* providers/proxy: use new mode attribute
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* providers/proxy: only ingress /akprox on forward_domain
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* providers/proxy: fix lint error
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: fix error on ProxyProviderForm when not using proxy mode
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: fix default for outpost form's type missing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/admin: add additional desc for proxy modes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outposts: fix service account permissions not always being updated
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outpost/proxy: fix redirecting to incorrect host for domain mode
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: improve error handling for network errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outpost: fix image naming not matching main imaeg
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outposts/proxy: fix redirects for domain mode and traefik
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web: fix colour for paragraphs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/flows: fix consent stage not showing permissions correctly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* website/docs: add domain-level docs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* website/docs: fix broken links
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outposts/proxy: remove dead code
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* web/flows: fix missing id for #header-text
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-06-08 23:10:17 +02:00
Jens Langhammer
552d26eb98
outpost: only build in docker
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-06-06 14:11:38 +02:00
Jens L
6a9c95c593
root: generate API Client in dockerfile instead of copying it ( #942 )
...
* root: generate API Client in dockerfile instead of copying it
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outpost: fix docker build
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* root: fix path for docker build
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outpost: set explicit buildContext
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-30 17:28:58 +02:00
Jens Langhammer
a51a18f3a3
root: remove swagger
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-16 23:24:52 +02:00
Jens Langhammer
626006725e
ci: always use makefile
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-16 22:57:02 +02:00
Jens Langhammer
0db17b9729
root: remove yasg
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-16 22:18:04 +02:00
Jens Langhammer
a5233f89b2
outpost: migrate to openapitools/openapi-generator-cli
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-16 21:07:01 +02:00
Jens Langhammer
cac1f242dc
*: replace swagger with openapi
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-16 14:23:05 +02:00
Jens Langhammer
8362507bdf
outposts: fix GIT_BUILD_HASH not being set correctly
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-13 17:49:11 +02:00
Jens Langhammer
dc942b2f4c
outposts: build as gh-<commit hash>
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-12 20:37:55 +02:00
Jens Langhammer
37b57ac28f
outposts: include git commit hash in build from git branch
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-12 18:56:44 +02:00
Jens Langhammer
c151faeff6
ci: batch runs in azure devops
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-05-06 14:02:59 +02:00
Jens Langhammer
91ca90f700
outposts/ldap: add dockerfile
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-26 15:35:56 +02:00
Jens L
837d2f6fab
outpost: use tools from docker ( #758 )
...
* outpost: replace golang.org/x/lint with golangci-lint
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outpost: use swagger generator from docker
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outpost: don't use tty for swagger gen
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outposts: revert docker-swagger gen
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-19 20:43:13 +02:00
Jens Langhammer
e4400476a2
flows: fix linting
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 23:15:06 +02:00
Jens Langhammer
ef3c01ec34
outposts: bump go version
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-16 23:01:10 +02:00
Jens L
13b75c15f0
outpost: download go-swagger from github ( #730 )
...
* outpost: download go-swagger from github
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
* outposts: use sudo to download swagger
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-04-12 20:01:12 +02:00
Jens Langhammer
fa5f379a53
outposts: fix docker image not having correct tag
...
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 18:31:26 +01:00
Jens L
2852fa3c5e
web: use generated API Client ( #616 )
...
* api: fix types for config API
* api: remove broken swagger UI
* admin: re-fix system task enum
* events: make event optional
* events: fix Schema for notification transport test
* flows: use APIView for Flow Executor
* core: fix schema for Metrics APIs
* web: rewrite to use generated API client
* web: generate API Client in CI
* admin: use x_cord and y_cord to prevent yaml issues
* events: fix linting errors
* web: don't lint generated code
* core: fix fields not being required in TypeSerializer
* flows: fix missing permission_classes
* web: cleanup
* web: fix rendering of graph on Overview page
* web: cleanup imports
* core: fix missing background image filter
* flows: fix flows not advancing properly
* stages/*: fix warnings during get_challenge
* web: send Flow response as JSON instead of FormData
* web: fix styles for horizontal tabs
* web: add base chart class and custom chart for application view
* root: generate ts client for e2e tests
* web: don't attempt to connect to websocket in selenium tests
* web: fix UserTokenList not being included in the build
* web: fix styling for static token list
* web: fix CSRF Token missing
* stages/authenticator_static: fix error when disable static tokens
* core: fix display issue when updating user info
* web: fix Flow executor not showing spinner when redirecting
2021-03-08 11:14:00 +01:00
Jens Langhammer
dde5e910cf
root: fix name of docker images
2021-03-03 10:36:46 +01:00
Jens Langhammer
662d117b66
root: replace ghcr with harbor for expiry
2021-03-03 00:07:42 +01:00
Jens L
36690de285
root: push PR and branch images to GHCR ( #601 )
2021-03-01 12:04:56 +01:00
Jens Langhammer
21d6a28715
root: fix branch Name extraction to work on non PRs
2021-02-28 14:24:16 +01:00
Jens Langhammer
e930a1d0dc
root: run ci on version-* branches
2021-02-27 17:07:11 +01:00
Jens Langhammer
4a94f515b3
root: add next branch
2021-02-18 21:24:34 +01:00
Jens Langhammer
51cbb7cc8e
ci: fix warning when setting branchName in PR
2021-02-05 00:38:08 +01:00
Jens Langhammer
6076ae2f9e
ci: fix building for dependabot
2021-01-25 21:11:29 +01:00
Jens Langhammer
81efc9a673
outposts: update pipeline
2021-01-16 21:49:30 +01:00
Jens Langhammer
87b830ff9a
outpost: rename proxy to outpost
2021-01-16 19:20:27 +01:00