Commit Graph

6916 Commits

Author SHA1 Message Date
Jens Langhammer dce869b566 flows: fix post-email continuation not working
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 12:46:54 +01:00
Jens Langhammer 1d641b2432 root: update swagger
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 09:55:50 +01:00
Jens Langhammer 5a5539da97 sources/saml: fix failing unittests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 09:55:43 +01:00
Jens Langhammer e12d99ba63 Merge branch 'master' into next 2021-03-24 09:22:41 +01:00
Jens Langhammer 4612cea970 sources/saml: replace server-side pre-auth views for pre_auth flow
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 09:22:15 +01:00
Jens Langhammer da4fa96499 sources/oauth: simplify enrollment handler
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 09:22:15 +01:00
Jens Langhammer 4137266041 flows: revert to sever-side redirects for security, pass querystring from client during flow plan
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-24 09:22:15 +01:00
dependabot[bot] 9427942ea8
build(deps): bump boto3 from 1.17.34 to 1.17.35 (#659)
Bumps [boto3](https://github.com/boto/boto3) from 1.17.34 to 1.17.35.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/boto/boto3/compare/1.17.34...1.17.35)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-24 08:05:16 +01:00
Jens Langhammer 5b8b973345 flows: revert to sever-side redirects for security, pass querystring from client during flow plan
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 22:35:50 +01:00
Jens Langhammer d44dc00757 web: only set background during initial load
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 21:58:12 +01:00
Jens Langhammer 37655e1e21 web/flow: fix deep redirects not working properly
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 20:05:35 +01:00
Jens Langhammer a1f961db97 web/flow: fix styling of loading between stages
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 19:52:00 +01:00
Jens Langhammer 62d0e020db stages/email: add wrapper view to accept queryargs and redirects to flow if
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 19:42:58 +01: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 Langhammer 3f6174e8cc ci: fix missing isort
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 18:28:23 +01:00
Jens Langhammer 1fd949d4ec flows: remove FlowExecutorShellView
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 18:09:13 +01:00
Jens Langhammer de6fa63d21 web: detect deep links in flow interface and redirect locally
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 18:04:21 +01:00
Jens Langhammer cfe7bc8155 flows: migrate access denied message to webcompoennts
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 17:55:13 +01:00
Jens Langhammer c6c4636b9b policies: show messages of root result
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 17:14:54 +01:00
Jens Langhammer bd74e07ce1 flows: move <ak-message-container> outside of flow executor
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 16:18:00 +01:00
Jens Langhammer 45c1072291 web: add execute button to flow view page
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 16:06:08 +01:00
Jens Langhammer 33787d0685 web: remove pf-c-card-aggregate
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 16:05:37 +01:00
Jens Langhammer 068d281b19 web: use constants for custom event names
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 15:16:56 +01:00
Jens Langhammer 56344cadeb web: add confirmation form for simple write-requests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 15:07:45 +01:00
Jens Langhammer 3c2d541d60 web: refresh status card on ak-refresh event
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 15:04:09 +01:00
Jens Langhammer 0671d712fa policies: remove deprecated group_membership policy
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 14:43:24 +01:00
Jens Langhammer 6961089425 flows: add API to clear cache
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-23 10:37:41 +01:00
dependabot[bot] b6d797fc78
build(deps-dev): bump @typescript-eslint/eslint-plugin in /web (#654)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.18.0 to 4.19.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.19.0/packages/eslint-plugin)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-23 09:24:04 +01:00
dependabot[bot] 3e5a756016
build(deps): bump rollup from 2.42.1 to 2.42.3 in /web (#655)
Bumps [rollup](https://github.com/rollup/rollup) from 2.42.1 to 2.42.3.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.42.1...v2.42.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-23 09:21:36 +01:00
dependabot[bot] d24cbae39a
build(deps-dev): bump @typescript-eslint/parser in /web (#656)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.18.0 to 4.19.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.19.0/packages/parser)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-23 09:21:24 +01:00
dependabot[bot] 480113e080
build(deps): bump boto3 from 1.17.33 to 1.17.34 (#657)
Bumps [boto3](https://github.com/boto/boto3) from 1.17.33 to 1.17.34.
- [Release notes](https://github.com/boto/boto3/releases)
- [Changelog](https://github.com/boto/boto3/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/boto/boto3/compare/1.17.33...1.17.34)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-23 09:20:22 +01:00
dependabot[bot] 3167426b53
build(deps): bump react and react-dom in /website (#658)
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). These dependencies needed to be updated together.

Updates `react` from 17.0.1 to 17.0.2
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v17.0.2/packages/react)

Updates `react-dom` from 17.0.1 to 17.0.2
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v17.0.2/packages/react-dom)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-23 09:20:03 +01:00
Jens Langhammer 863124efbb web: fix UserChart not showing authorizations
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 23:15:38 +01:00
Jens Langhammer 80cc0fcc61 tests: use dex from ghcr
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 22:27:57 +01:00
Jens Langhammer ddf09a4cf5 web: fix styling during initial challenge load
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 20:49:11 +01:00
Jens Langhammer 012a045c8e web: make default background-color darker to prevent flashbang
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 20:48:58 +01:00
Jens Langhammer 145ef8b071 ci: start postgres for pylint
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 20:10:38 +01:00
Jens Langhammer 3157bf63a6 root: upgrade to pylint 2.7
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 20:03:33 +01:00
Jens Langhammer e202fd988b root: update to isort 5
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 19:53:10 +01:00
Jens Langhammer 8155d88db7 root: update linters, remove prospector
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 19:52:51 +01:00
Jens Langhammer 6ce3d2916b web: remove version from queryargs
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 18:30:04 +01:00
Jens Langhammer 450bb9040d web: fix pluralisation in sidebar
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 17:08:41 +01:00
Jens Langhammer 4f8b882554 web: copy static assets only once
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 14:54:12 +01:00
Jens Langhammer 8a451bb5f6 web: fix FlowExecutor not setting title
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 14:39:51 +01:00
Jens L fe7f23238c
Static SPA (#648)
* core: initial migration to /if

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* core: move jsi18n to api

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* tests: fix static URLs in tests

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web: add new html files to rollup

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web: fix rollup config and nginx config

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* core: add Impersonation support to user API

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web: add banner for impersonation

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* tests: fix test_user function for new User API

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* flows: add background to API

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web: set background from flow API

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* core: make root view login_required for redirect

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* flows: redirect to root-redirect instead of if-admin direct

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* api: add header to prevent Authorization Basic prompt in browser

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

* web: redirect to root when user/me request fails

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-22 13:44:17 +01:00
dependabot[bot] 936e2fb4e2
build(deps): bump @sentry/browser from 6.2.2 to 6.2.3 in /web (#651) 2021-03-22 10:39:13 +01:00
dependabot[bot] bb743a4d30
build(deps): bump github.com/go-openapi/runtime from 0.19.26 to 0.19.27 in /outpost (#653) 2021-03-22 10:38:54 +01:00
dependabot[bot] 3238c85514
build(deps): bump rollup from 2.41.5 to 2.42.1 in /web (#649) 2021-03-22 08:29:01 +01:00
dependabot[bot] e2c0fa8d8a
build(deps): bump codemirror from 5.59.4 to 5.60.0 in /web (#650) 2021-03-22 08:28:52 +01:00
dependabot[bot] 50f946e4a7
build(deps): bump @sentry/tracing from 6.2.2 to 6.2.3 in /web (#652) 2021-03-22 08:28:03 +01:00