Commit graph

1649 commits

Author SHA1 Message Date
Jens Langhammer 6bdcbfbf0e admin: update lists to use modal button 2020-11-21 16:16:34 +01:00
Jens Langhammer b555c151dc static: close modal on escape key 2020-11-21 15:24:45 +01:00
Jens Langhammer 12f211d07d admin: implement sidebar is-active on clientside 2020-11-21 14:03:02 +01:00
Jens Langhammer 277f960113 static: add refresh button, ensure forms in modal work correctly
closes #262
2020-11-21 12:27:19 +01:00
Jens Langhammer aa6eacaf6b Merge branch 'master' into ui-improvements
# Conflicts:
#	passbook/static/static/package.json
2020-11-21 11:30:18 +01:00
Jens Langhammer 80866f00f4 admin/shell: add loading animation 2020-11-21 11:28:11 +01:00
Jens Langhammer 59e7d9b81e static: rewrite modal to use shadowroot and import css 2020-11-21 11:28:00 +01:00
dependabot[bot] d6d91c8180
build(deps): bump codemirror in /passbook/static/static (#335)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.58.2 to 5.58.3.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.58.2...5.58.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-21 01:19:26 +01:00
dependabot[bot] d10d645c02
build(deps): bump rollup in /passbook/static/static (#337)
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.2 to 2.33.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.33.2...v2.33.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-21 00:27:32 +01:00
Jens Langhammer a2c7921c1f admin: migrate login stats chart to web component 2020-11-20 23:42:14 +01:00
Jens Langhammer 582dfface9 static: add admin shell to improve admin experience 2020-11-20 22:46:05 +01:00
Jens Langhammer 592f2cc558 admin: use pb-dropdown component for dropdowns 2020-11-20 22:15:46 +01:00
Jens Langhammer 1e1a002ab2 static: rewrite custom components to typescript 2020-11-20 22:13:09 +01:00
dependabot[bot] f8c720f8cd
build(deps): bump @patternfly/patternfly in /passbook/static/static (#336)
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly) from 4.59.1 to 4.65.6.
- [Release notes](https://github.com/patternfly/patternfly/releases)
- [Changelog](https://github.com/patternfly/patternfly/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/patternfly/patternfly/compare/prerelease-v4.59.1...prerelease-v4.65.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-20 17:06:11 +01:00
Jens Langhammer 9c3bc4eb38 tests: move integration tests into separate folder, add separate pipeline task 2020-11-19 14:35:43 +01:00
Jens Langhammer 0a8d4eecae outposts: add docker TLS authentication and verification 2020-11-19 13:10:18 +01:00
dependabot[bot] 1c5fedb177
build(deps): bump rollup in /passbook/static/static (#330)
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.1 to 2.33.2.
- [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.33.1...v2.33.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens L <jens@beryju.org>
2020-11-16 15:24:41 +01:00
Jens Langhammer 8cc063ded2 lib: add @patch decorator to config for unittests 2020-11-16 12:48:53 +01:00
Jens Langhammer 5faafbbca6 root: ensure manual loggers also have timestamp 2020-11-16 01:41:33 +01:00
Jens Langhammer d21f187673 outposts: make docker image prefix configurable 2020-11-16 00:36:42 +01:00
Jens Langhammer 8a105cf5a0 release: 0.12.11-stable 2020-11-16 00:21:56 +01:00
Jens Langhammer 9e384df79e static: adjust sizing of icon in navbar 2020-11-15 22:57:33 +01:00
Jens Langhammer c0bfd32d39 root: update remaining paths for static files 2020-11-15 22:46:14 +01:00
Jens L 7be680cbe5
Migrate to Docusaurus (#329)
* docs: initial migration to docusaurus

* website: add custom font, update blurbs and icons

* website: update splash

* root: update links to docs

* flows: use .pbflow extension so docusaurus doesn't mangle the files

* e2e: workaround prospector

* Squashed commit of the following:

commit 1248585dca
Author: Jens Langhammer <jens.langhammer@beryju.org>
Date:   Sun Nov 15 20:46:53 2020 +0100

    e2e: attempt to fix prospector error again

commit 1319c480c4
Author: Jens Langhammer <jens.langhammer@beryju.org>
Date:   Sun Nov 15 20:41:35 2020 +0100

    ci: install previous python version for upgrade testing

* web: update accent colours and format

* website: format markdown files

* website: fix colours for text

* website: switch to temporary accent colour to improve readability

* flows: fix path for TestTransferDocs

* flows: fix formatting of tests
2020-11-15 22:42:02 +01:00
Jens Langhammer 93bf8eaa82 root: fix useless supressions 2020-11-15 21:02:15 +01:00
Jens Langhammer e5e4824920 */saml: fully migrate to xmlsec, remove signxml dependency 2020-11-15 15:20:56 +01:00
Jens Langhammer 9deb3ad80f sources/saml: make signature and digest of SAML Source configurable 2020-11-12 12:02:57 +01:00
Jens Langhammer 9877ef99c4 */saml: fix creation and validation of detached signatures 2020-11-12 11:59:07 +01:00
Jens Langhammer c304b40e1b providers/saml: improve verification for detached signatures 2020-11-12 11:58:51 +01:00
Jens Langhammer f0e6d6f417 root: fix asgi import order 2020-11-12 11:58:51 +01:00
Jens Langhammer 54de5c981e providers/saml: fix signatures being required 2020-11-12 11:58:51 +01:00
Jens Langhammer 7393d8720b new release: 0.12.10-stable 2020-11-11 14:54:29 +01:00
Jens Langhammer 287cb72d6f root: fix websockets not working correctly 2020-11-11 14:51:26 +01:00
Jens Langhammer c5eff4bdd6 outposts: fix selection of outpost's service connection not showing name 2020-11-11 14:34:43 +01:00
Jens Langhammer 875173a86e outposts: fix migration error 2020-11-11 14:10:15 +01:00
Jens Langhammer 7401278707 new release: 0.12.9-stable 2020-11-10 20:15:06 +01:00
Jens Langhammer e99f6e289b outposts: fix kubernetes ApiClient not being used 2020-11-09 10:45:08 +01:00
Jens Langhammer dc18730094 static: add tabs component 2020-11-08 22:43:46 +01:00
Jens Langhammer a202679bfb crypto: fix "Could not deserialize key data." with empty private key 2020-11-08 22:43:35 +01:00
Jens Langhammer 1edcda58ba providers/saml: add verification_kp when verifying assertions against certificates without private key 2020-11-08 22:24:54 +01:00
Jens Langhammer 5cb7f0794e outposts: periodically update state of service connection, show state in UI 2020-11-08 21:31:27 +01:00
Jens Langhammer 7e8e3893eb outposts: save state of outposts 2020-11-08 21:02:52 +01:00
Jens Langhammer fb5e210af8 outposts: add handler for e2e tests when schema is updated already 2020-11-04 15:36:31 +01:00
Jens Langhammer e5e2615f15 outposts: fix unittests 2020-11-04 14:56:35 +01:00
Jens Langhammer 6c72a9e2e8 providers/proxy: fix k8s integration tests 2020-11-04 14:02:29 +01:00
Jens Langhammer c04d0a373a admin: add views for outpost service-connections 2020-11-04 13:35:41 +01:00
Jens Langhammer bd74e518a7 outposts: add *ServiceConnection API 2020-11-04 11:05:40 +01:00
Jens Langhammer 3b76af4eaa outposts: fix defaults and tests for outposts 2020-11-04 10:57:06 +01:00
Jens Langhammer 706448dc14 outposts: initial service connection implementation 2020-11-04 10:41:18 +01:00
Jens Langhammer 34793f7cef core: adjust timeout of backup task's caching 2020-11-03 22:53:58 +01:00
dependabot[bot] eaab3f62cb
build(deps): bump rollup in /passbook/static/static (#312)
Bumps [rollup](https://github.com/rollup/rollup) from 2.33.0 to 2.33.1.
- [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.33.0...v2.33.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 10:24:58 +01:00
dependabot[bot] b775f2788c
build(deps): bump channels from 2.4.0 to 3.0.0 (#309)
* build(deps): bump channels from 2.4.0 to 3.0.0

Bumps [channels](https://github.com/django/channels) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/django/channels/releases)
- [Changelog](https://github.com/django/channels/blob/master/CHANGELOG.txt)
- [Commits](https://github.com/django/channels/compare/2.4.0...3.0.0)

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

* root: update for channels 3

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens.langhammer@beryju.org>
2020-11-02 10:26:26 +01:00
dependabot[bot] 67360bd6e9
build(deps): bump rollup in /passbook/static/static (#308)
Bumps [rollup](https://github.com/rollup/rollup) from 2.32.1 to 2.33.0.
- [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.32.1...v2.33.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 09:18:39 +01:00
Jens Langhammer 251672a67d new release: 0.12.8-stable 2020-10-29 22:37:53 +01:00
Jens Langhammer f3df3a0157 providers/proxy: add sticky sessions to ingress 2020-10-29 17:25:51 +01:00
Jens Langhammer 4d84f6d598 outposts: ensure permissions are updated when a related object is saved 2020-10-29 17:25:29 +01:00
dependabot[bot] 40b1fc06b0
build(deps): bump @patternfly/patternfly in /passbook/static/static (#301)
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly) from 4.50.4 to 4.59.1.
- [Release notes](https://github.com/patternfly/patternfly/releases)
- [Changelog](https://github.com/patternfly/patternfly/blob/master/RELEASE-NOTES.md)
- [Commits](https://github.com/patternfly/patternfly/compare/prerelease-v4.50.4...prerelease-v4.59.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jens L <jens@beryju.org>
2020-10-29 09:21:39 +01:00
Jens Langhammer 6652514358 lib: improve error ignore list 2020-10-28 19:00:11 +01:00
Jens Langhammer dcd3dc9744 lib: ensure tasks don't expire 2020-10-28 18:53:39 +01:00
Jens Langhammer d6afdc575e new release: 0.12.7-stable 2020-10-27 11:36:46 +01:00
Jens Langhammer f12fd78822 stages/user_login: replace usage of -1 with 0 2020-10-27 00:31:22 +01:00
Jens Langhammer caba183c9b static: fix class name of FlowShellCard 2020-10-27 00:30:55 +01:00
Jens Langhammer 054b819262 stages/user_login: use timedelta_string_validator instead of seconds 2020-10-26 22:03:27 +01:00
Jens Langhammer 6b3411f63b root: fix permission denied error for backups 2020-10-26 21:12:20 +01:00
Jens Langhammer 4b665cfb8f static: fix FlowShellCard not returning the response 2020-10-26 11:00:37 +01:00
Jens Langhammer 4e12003944 api: remove authentication fallback for pre-0.12 proxies 2020-10-26 11:00:19 +01:00
Jens Langhammer 6bfd465855 static: improve error handling for FlowShellCard to prevent infinite spinners 2020-10-26 10:52:13 +01:00
dependabot[bot] e8670aa693
build(deps): bump codemirror in /passbook/static/static (#295)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.58.1 to 5.58.2.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.58.1...5.58.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 10:35:47 +01:00
Jens Langhammer 73497a27cc new release: 0.12.6-stable 2020-10-23 18:42:29 +02:00
Jens Langhammer f3098418f2 core: fix backup task not being registered, add fallback for api to remove info on ImportError
celery only discovers tasks from installed apps, which `lib` is not, hence the schedule didn't trigger it
2020-10-23 18:32:28 +02:00
Jens Langhammer 3324473cd0 new release: 0.12.5-stable 2020-10-22 14:22:32 +02:00
Jens Langhammer bbcf58705f lib: add configurable avatars, set to none mode for tests 2020-10-22 14:03:31 +02:00
Jens Langhammer 7b5a0964b2 outposts: handle docker connection error on init 2020-10-22 12:50:06 +02:00
dependabot[bot] 877279b2ee
build(deps): bump rollup in /passbook/static/static (#292)
Bumps [rollup](https://github.com/rollup/rollup) from 2.32.0 to 2.32.1.
- [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.32.0...v2.32.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-22 11:30:03 +02:00
Jens Langhammer b00573bde2 new release: 0.12.4-stable 2020-10-20 22:31:31 +02:00
Jens Langhammer ef021495ef flows: revert evaluate_on_call rename for backwards compatibility 2020-10-20 15:41:50 +02:00
Jens Langhammer 870e01f836 flows: rename re_evaluate_policies to evaluate_on_call, add evaluate_on_plan 2020-10-20 15:06:36 +02:00
Jens Langhammer e2ca72adf0 stages/user_login: only show successful login message at login stage 2020-10-20 12:11:59 +02:00
Jens Langhammer 395ef43eae policies/expression: fix ip_network not being imported by default 2020-10-20 12:05:56 +02:00
Jens Langhammer a4cc653757 new release: 0.12.3-stable 2020-10-20 10:24:45 +02:00
Jens Langhammer db4ff20906 outposts: fix service using incorrect pod selector 2020-10-20 10:18:05 +02:00
Jens Langhammer 4316ee4330 root: implement db backups with monitored task, update docs 2020-10-19 22:17:47 +02:00
Jens Langhammer 2ed9a1dbe3 */tasks: update phrasing 2020-10-19 21:35:31 +02:00
Jens Langhammer 8e03824d20 lib: always set task's UID, even for unexpected errors 2020-10-19 21:30:21 +02:00
Jens Langhammer 754dbdd0e5 outpost: fix logs for kubernetes controller 2020-10-19 21:29:58 +02:00
Jens Langhammer e13d348315 new release: 0.12.2-stable 2020-10-19 19:36:36 +02:00
Jens Langhammer 169f3ebe5b outposts: fix logger again 2020-10-19 18:52:17 +02:00
Jens Langhammer f8ad604e85 outposts: add more tests 2020-10-19 17:47:51 +02:00
Jens Langhammer 774b9c8a61 outposts: update kubernetes controller to use pk as identifier instead of name 2020-10-19 17:39:12 +02:00
Jens Langhammer d8c522233e outposts: fix outpost mangling log output 2020-10-19 16:54:11 +02:00
Jens Langhammer 82d50f7eaa outposts: fix list showing questionmark when only one outpost is registered 2020-10-19 16:34:16 +02:00
Jens Langhammer 1c426c5136 outposts: trigger deployment re-create when selector changes 2020-10-19 16:21:39 +02:00
Jens Langhammer 7203bd37a3 outposts: replace migration with string backup handler 2020-10-19 16:04:38 +02:00
Jens Langhammer ac4c314042 new release: 0.12.1-stable 2020-10-19 15:30:27 +02:00
Jens Langhammer 05866d3544 providers/proxy: fix creation of ingress 2020-10-19 15:06:50 +02:00
Jens Langhammer 386e23dfac core: fix api signature for view_key 2020-10-19 14:35:22 +02:00
Jens Langhammer 5de0d03acf new release: 0.12.0-stable 2020-10-19 12:15:25 +02:00
dependabot[bot] 83eb4aff02
build(deps): bump rollup in /passbook/static/static (#282)
Bumps [rollup](https://github.com/rollup/rollup) from 2.31.0 to 2.32.0.
- [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.31.0...v2.32.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 11:12:46 +02:00
dependabot[bot] d04afcd6d0
build(deps): bump chart.js in /passbook/static/static (#283)
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 2.9.3 to 2.9.4.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v2.9.3...v2.9.4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 10:44:05 +02:00
Jens Langhammer 8a2f982a77 admin: fix html of overview 2020-10-19 00:46:31 +02:00