Commit Graph

4640 Commits

Author SHA1 Message Date
Jens Langhammer a445b03523 crypto: add API to generate keypair
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 17:33:27 +02:00
Jens Langhammer 5d37012075 api: allow @permission_required with no object permission
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 17:28:28 +02:00
Jens Langhammer a9db538c63 web/admin: fix missing css for descriptor list in cert list
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 16:23:43 +02:00
Jens Langhammer 526af26536 web/admin: migrate user forms to web
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 16:16:27 +02:00
Jens Langhammer fac8d53163 web/admin: fix message when object is created
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 15:57:38 +02:00
Jens Langhammer 0804b5e6c5 web: shrink flow build by not including router
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 15:53:56 +02:00
Jens Langhammer 464a56ad52 Merge branch 'master' into new-forms 2021-03-29 15:37:12 +02:00
Jens Langhammer 0793fff222 *: simplify API permissions checking, add API for user recovery
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 15:36:35 +02:00
Jens Langhammer 4fa122b827 docs: add integration docs for minio
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 14:51:33 +02:00
Jens Langhammer 583b6cc20b web/admin: remove site-shell
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 14:42:28 +02:00
Jens Langhammer ed17920bd4 Merge branch 'master' into new-forms 2021-03-29 12:28:35 +02:00
Jens Langhammer 3cc7d54cc1 policies: use GroupSerializer for PolicyBinding API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 12:28:06 +02:00
Jens Langhammer d71d45b958 web/admin: use shadowroot for codemirror, remove styles
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 12:21:00 +02:00
Jens Langhammer e7c6ff9499 admin: remove group views
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 12:03:11 +02:00
Jens Langhammer 1b496dd472 web/admin: use new group form for create
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 12:02:58 +02:00
dependabot[bot] c1781d89df
build(deps): bump boto3 from 1.17.37 to 1.17.39 (#670)
Bumps [boto3](https://github.com/boto/boto3) from 1.17.37 to 1.17.39.
- [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.37...1.17.39)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 12:02:07 +02:00
Jens Langhammer 12bfa404c8 web: rudimentary lazy loading for modals
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 11:59:30 +02:00
Jens Langhammer 76e571ea0a web: use custom-element as wrapper
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 10:09:43 +02:00
Jens Langhammer 48ee582f37 Merge branch 'master' into new-forms 2021-03-29 09:58:35 +02:00
Jens Langhammer 9d0398f81d docs: fix incorrect URL for AWX integration
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-29 09:10:01 +02:00
dependabot[bot] d2d0e99f9d
build(deps): bump rollup from 2.42.4 to 2.43.1 in /web (#669)
Bumps [rollup](https://github.com/rollup/rollup) from 2.42.4 to 2.43.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.42.4...v2.43.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 09:08:42 +02:00
dependabot[bot] e165b3dae5
build(deps-dev): bump @rollup/plugin-typescript in /web (#668)
Bumps [@rollup/plugin-typescript](https://github.com/rollup/plugins) from 8.2.0 to 8.2.1.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/typescript-v8.2.0...typescript-v8.2.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 09:08:27 +02:00
dependabot[bot] 6abd8a0ca0
build(deps-dev): bump eslint from 7.22.0 to 7.23.0 in /web (#667)
Bumps [eslint](https://github.com/eslint/eslint) from 7.22.0 to 7.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.22.0...v7.23.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 09:07:59 +02:00
dependabot[bot] 78acfc18fc
build(deps): bump djangorestframework from 3.12.3 to 3.12.4 (#666)
Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.12.3 to 3.12.4.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](https://github.com/encode/django-rest-framework/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 09:07:03 +02:00
dependabot[bot] aced8b507c
build(deps): bump gunicorn from 20.0.4 to 20.1.0 (#665)
Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 20.0.4 to 20.1.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](https://github.com/benoitc/gunicorn/compare/20.0.4...20.1.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 09:06:25 +02:00
Jens Langhammer fbc33815a3 core: fix user view imports
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-28 22:33:27 +02:00
Jens Langhammer 768d72ec24 web/admin: implement groupform using webcomponents
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-28 22:07:11 +02:00
Jens Langhammer bd9c0efab7 core: use only user ids for group
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-28 22:03:48 +02:00
Jens Langhammer d358dc1182 Merge branch 'next' into new-forms 2021-03-28 20:25:08 +02:00
Jens Langhammer 956d868106 web: cleanup routes
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-28 16:10:28 +02:00
Jens Langhammer 0fcef494a6 Merge branch 'next' into new-forms 2021-03-27 23:48:04 +01:00
Jens Langhammer 6f6fe6ad06 flows: fully fix unittests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:47:00 +01:00
Jens Langhammer 926636c331 web: fix error handling in forms for non-server errors
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:39:31 +01:00
Jens Langhammer 2e6a264f98 web: migrate group forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:38:53 +01:00
Jens Langhammer 95ecad8382 Merge branch 'next' into new-forms
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

# Conflicts:
#	web/src/api/legacy.ts
#	web/src/main.ts
#	web/src/pages/users/UserSettingsPage.ts
2021-03-27 23:21:16 +01:00
Jens Langhammer 035771de81 web: add middleware that shows message for failed API requests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:18:51 +01:00
Jens Langhammer 1a53bc3de5 web: use FlowURLManager for cancel links
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:18:11 +01:00
Jens Langhammer e621eb7455 web: cleanup message API, use enum for level
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 23:11:44 +01:00
Jens Langhammer 261583cb92 flows: fix tests for dummy stage
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:58:41 +01:00
Jens Langhammer 1bc48d2bea stages/dummy: fix missing component
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:35:36 +01:00
Jens Langhammer 9bab708e6e web/flows/authenticator_validate: auto-select TOTP device when password manager prefills it
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:32:15 +01:00
Jens Langhammer 103e0f3b06 web: add default title
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:24:09 +01:00
Jens Langhammer c8608db4ee web: cleanup entrypoints
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:06:42 +01:00
Jens Langhammer 869f18483f web: fix flow's policy and stage count missing
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 22:02:01 +01:00
Jens Langhammer 32fb90e056 core: include full users in group API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-27 15:53:54 +01:00
Jens Langhammer f636414fb7 Merge branch 'master' into new-forms 2021-03-26 16:08:54 +01:00
Jens Langhammer a4fd0dc597 Merge branch 'master' into next 2021-03-26 09:42:23 +01:00
dependabot[bot] 2a437536d4
build(deps): bump djangorestframework from 3.12.2 to 3.12.3 (#663)
Bumps [djangorestframework](https://github.com/encode/django-rest-framework) from 3.12.2 to 3.12.3.
- [Release notes](https://github.com/encode/django-rest-framework/releases)
- [Commits](https://github.com/encode/django-rest-framework/compare/3.12.2...3.12.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-26 09:39:51 +01:00
dependabot[bot] a39f42974f
build(deps): bump boto3 from 1.17.36 to 1.17.37 (#662)
Bumps [boto3](https://github.com/boto/boto3) from 1.17.36 to 1.17.37.
- [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.36...1.17.37)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-26 09:39:15 +01:00
Jens Langhammer 2e58982419 web/elements: fix detection of inner forms, catch errors and don't close modal
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
2021-03-25 22:08:09 +01:00