This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
authentik/authentik/policies
sdimovv 8b52d711e8
stages/prompt: Add Radio Button Group, Dropdown and Text Area prompt fields (#4822)
* Added radio-button prompt type in model

* Add radio-button prompt

* Refactored radio-button prompt; Added dropdown prompt

* Added tests

* Fixed unrelated to choice fields bug causing validation errors; Added more tests

* Added description for new prompts

* Added docs

* Fix lint

* Add forgotten file changes

* Fix lint

* Small fix

* Add text-area prompts

* Update authentik/stages/prompt/models.py

Co-authored-by: Jens L. <jens@beryju.org>
Signed-off-by: sdimovv <36302090+sdimovv@users.noreply.github.com>

* Update authentik/stages/prompt/models.py

Co-authored-by: Jens L. <jens@beryju.org>
Signed-off-by: sdimovv <36302090+sdimovv@users.noreply.github.com>

* Fix inline css

* remove AKGlobal, update schema

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: sdimovv <36302090+sdimovv@users.noreply.github.com>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L. <jens@beryju.org>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
2023-03-19 18:56:17 +01:00
..
api core: bump black from 22.12.0 to 23.1.0 (#4584) 2023-02-01 11:31:32 +01:00
dummy core: bump black from 22.12.0 to 23.1.0 (#4584) 2023-02-01 11:31:32 +01:00
event_matcher policies/event_matcher: fix empty app label not being allowed, require at least 1 criteria 2023-02-08 23:29:59 +01:00
expiry core: bump black from 22.12.0 to 23.1.0 (#4584) 2023-02-01 11:31:32 +01:00
expression core: bump black from 22.12.0 to 23.1.0 (#4584) 2023-02-01 11:31:32 +01:00
migrations core: enforce unique on names where it makes sense (#4866) 2023-03-07 23:52:34 +01:00
password stages/prompt: Add Radio Button Group, Dropdown and Text Area prompt fields (#4822) 2023-03-19 18:56:17 +01:00
reputation core: bump black from 22.12.0 to 23.1.0 (#4584) 2023-02-01 11:31:32 +01:00
templates/policies policies: fix current user not being set in server-side policy deny 2022-04-21 22:30:27 +02:00
tests core: enforce unique on names where it makes sense (#4866) 2023-03-07 23:52:34 +01:00
__init__.py wip: rename to authentik (#361) 2020-12-05 22:08:42 +01:00
apps.py *: add additional prometheus metrics, remove unusable high entropy metrics 2023-02-19 17:08:40 +01:00
denied.py policies: fix current user not being set in server-side policy deny 2022-04-21 22:30:27 +02:00
engine.py *: add additional prometheus metrics, remove unusable high entropy metrics 2023-02-19 17:08:40 +01:00
exceptions.py policies: raise sentry-ignored error for invalid PolicyEngine parameters 2023-02-13 13:23:07 +01:00
models.py core: enforce unique on names where it makes sense (#4866) 2023-03-07 23:52:34 +01:00
process.py core: bump black from 22.12.0 to 23.1.0 (#4584) 2023-02-01 11:31:32 +01:00
signals.py root: improve code style (#4436) 2023-01-15 17:02:31 +01:00
types.py policies: only cache policies for authenticated users 2022-11-18 21:06:53 +01:00
utils.py *: replace Dict from typing with normal dict 2021-02-18 13:41:03 +01:00
views.py *: remove some very verbose logging messages 2022-08-17 13:36:56 +02:00