Jens Langhammer
fe6bfb1620
stages/identification: fix wrong link
2020-05-28 22:44:42 +02:00
Jens Langhammer
e6d64bf5b3
stages/identification: fix sources and recovery/enrollment not being shown
2020-05-28 22:43:44 +02:00
Jens Langhammer
270739a45a
admin: fix policy testing form not showing the correct result
2020-05-28 21:50:43 +02:00
Jens L
df8995deed
policies/*: remove Policy.negate, order, timeout ( #39 )
...
policies: rewrite engine to use PolicyBinding for order/negate/timeout
policies: rewrite engine to use PolicyResult instead of tuple
2020-05-28 21:45:54 +02:00
Jens Langhammer
fdfc6472d2
admin: fixup some urls
2020-05-28 10:36:27 +02:00
Jens Langhammer
e2804b9755
root: fix linting errors
2020-05-27 11:26:48 +02:00
Jens L
beabba2890
flows: Load Stages without refreshing the whole page ( #33 )
...
* flows: initial implementation of FlowExecutorShell
* flows: load messages dynamically upon card refresh
2020-05-24 00:57:25 +02:00
Jens Langhammer
eeeb14a045
admin: fix urls for applications
2020-05-22 23:22:40 +02:00
dependabot-preview[bot]
73225917cd
build(deps): bump codemirror in /passbook/static/static ( #29 )
...
Bumps [codemirror](https://github.com/codemirror/CodeMirror ) from 5.53.2 to 5.54.0.
- [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.53.2...5.54.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-21 19:12:14 +02:00
Jens Langhammer
0664f0b6b2
flows: add support for default_context, etc
...
default_context can be used to influence policies during the planning. This should be used when the Planner is called from other views to correctly preseed the plan.
This also checks if there is a PENDING_USER set, and uses that user for the cache key instead
2020-05-20 16:15:16 +02:00
Jens Langhammer
fab9f1cb1b
root: clear cache on debug startup
2020-05-20 16:13:48 +02:00
Jens Langhammer
b3c54308b7
policies/expression: validate syntax on form clean
2020-05-20 16:13:36 +02:00
Jens Langhammer
c1a72a0474
crypto: fix clean_ methods not returning values
2020-05-20 16:10:12 +02:00
Jens Langhammer
4377d1e86e
admin: fix flow ordering, fix source URLs
2020-05-20 16:09:53 +02:00
Jens Langhammer
cafe2f1e1f
admin: fix linting
2020-05-20 13:59:56 +02:00
Jens Langhammer
c329a724e8
admin: fix wrong name in template
2020-05-20 13:55:17 +02:00
Jens Langhammer
969da05437
admin: show object's docstring on inheritance based lists
2020-05-20 13:47:58 +02:00
Jens Langhammer
c61c84e9f3
admin: remove inline JS, add CodeMirror widget for jinja and yaml
2020-05-20 13:00:45 +02:00
Jens Langhammer
e08c5ff875
helm: fully remove domain, add log_level
2020-05-20 12:16:56 +02:00
Jens L
24a3e787dd
migrate to per-model UUID Primary key, remove UUIDModel ( #26 )
...
* *: migrate to per-model UUID Primary key, remove UUIDModel
* *: fix import order, fix unittests
2020-05-20 09:17:06 +02:00
Jens Langhammer
13a20478fd
sources/oauth: add OIDC client
2020-05-19 21:53:46 +02:00
Jens Langhammer
f58ee7fb52
sources/oauth: fix handling of sources with spaces in their name
2020-05-19 21:53:36 +02:00
Jens Langhammer
f6b5fbc2cf
admin: fix sidebar
2020-05-19 21:02:10 +02:00
Jens Langhammer
db69c3e38d
admin: add generic tests
2020-05-19 20:59:43 +02:00
Jens Langhammer
5ba55356a9
admin: cleanup templates, cleanup templatetags
2020-05-19 20:29:02 +02:00
Jens Langhammer
c903c81bd5
root: update pylint ignore list
2020-05-18 18:15:39 +02:00
dependabot-preview[bot]
886845306a
build(deps): bump codemirror in /passbook/static/static
...
Bumps [codemirror](https://github.com/codemirror/CodeMirror ) from 5.52.0 to 5.53.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.52.0...5.53.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 11:50:33 +00:00
dependabot-preview[bot]
b6a0e895bc
build(deps): bump @fortawesome/fontawesome-free
...
Bumps [@fortawesome/fontawesome-free](https://github.com/FortAwesome/Font-Awesome ) from 5.12.1 to 5.13.0.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/5.12.1...5.13.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 11:03:22 +00:00
dependabot-preview[bot]
8c64fcd17f
build(deps): bump @patternfly/patternfly in /passbook/static/static
...
Bumps [@patternfly/patternfly](https://github.com/patternfly/patternfly ) from 2.65.3 to 2.71.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/v2.65.3...v2.71.6 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-18 09:49:27 +00:00
Jens Langhammer
753110583e
admin: fix incorrect URL
2020-05-17 23:55:42 +02:00
Jens Langhammer
4206a8c43e
stages/password: fix button without labeling
2020-05-17 23:55:25 +02:00
Jens Langhammer
7cc9ae45bc
static: fix any click on menu triggering collapse
2020-05-17 23:55:13 +02:00
Jens Langhammer
09ef58350c
flows: rename AuthenticationStage to StageView as its a general base view
2020-05-17 00:03:06 +02:00
Jens Langhammer
10d3f9ac2f
root: rewrite bootstrap in python, remove management command
2020-05-16 22:46:17 +02:00
Jens Langhammer
9a1b8eb7c8
admin: add empty views to all lists, move invitation to stage-invitations
2020-05-16 21:43:48 +02:00
Jens Langhammer
2ee45f388c
crypto: validate PEM data before saving
2020-05-16 21:25:10 +02:00
Jens Langhammer
9a9feea5ff
static: make hamburger menu work
2020-05-16 21:11:48 +02:00
Jens Langhammer
8540e787d3
admin: fix create buttons disappearing on small screens
2020-05-16 21:11:38 +02:00
Jens Langhammer
db26ce808e
core: remove policies from application form
2020-05-16 20:48:45 +02:00
Jens Langhammer
802d568273
admin: fix urls applications and sources
2020-05-16 20:48:30 +02:00
Jens Langhammer
7b6524357f
stages/user_logout: fix dependency on PENDING_USER
2020-05-16 20:46:21 +02:00
Jens Langhammer
83013f063d
core: remove stub data from user settings
2020-05-16 20:45:43 +02:00
Jens Langhammer
333ee3eed4
dc: fix compose, remove SESSION_COOKIE_DOMAIN
2020-05-16 20:39:38 +02:00
Jens Langhammer
e68352b09c
admin: add flow-stage-bindings, add policy-bindings, add prompts
2020-05-16 19:55:59 +02:00
Jens Langhammer
df1cb88abc
admin: fix slow load for templates using get_links
2020-05-16 19:00:43 +02:00
Jens L
5596caedbc
Merge pull request #9 from BeryJu/db-reset
...
DB Reset
2020-05-16 18:20:03 +02:00
Jens Langhammer
7bd65120b9
*: migrate from PolicyModel to PolicyBindingModel, move Policy to passbook_policies
2020-05-16 18:07:00 +02:00
Jens Langhammer
227966e727
core: rename nonce to token
2020-05-16 16:11:53 +02:00
Jens Langhammer
406f69080b
Revert "*: providers and sources -> channels, PolicyModel to PolicyBindingModel that uses custom M2M through"
...
This reverts commit 7ed3ceb960
.
2020-05-16 16:02:42 +02:00
Jens Langhammer
2ce31dfaa5
root: upgrade django-dbbackup
2020-05-16 14:54:18 +02:00
Jens Langhammer
7ed3ceb960
*: providers and sources -> channels, PolicyModel to PolicyBindingModel that uses custom M2M through
2020-05-16 14:03:57 +02:00
Jens Langhammer
615cd7870d
stages/email: add field to select E-Mail and subject
2020-05-15 14:50:23 +02:00
Jens Langhammer
b907105f4a
policies/expression: expose python requests via expression, remove webhook policy
2020-05-15 12:02:41 +02:00
Jens Langhammer
023423c6e7
stages/password: show password forgotten prompt when recovery flow configured
2020-05-15 11:01:02 +02:00
Jens Langhammer
a5319fc2fe
*: rename templatetags to clearly identify
2020-05-15 10:54:31 +02:00
Jens Langhammer
814c797c64
stages/prompt: add policy verification logic
2020-05-14 15:48:23 +02:00
Jens Langhammer
776ad3cfbf
policies/expression: add pb_log function to debug
2020-05-14 15:48:08 +02:00
Jens Langhammer
74ddf70cb7
policy: add context to PolicyRequest
2020-05-14 15:47:56 +02:00
Jens Langhammer
a7a839a29c
stages/prompt: promptstage based on PolicyBindingModel
2020-05-14 13:51:35 +02:00
Jens Langhammer
9859c5db0a
policies: add API for policybindings
2020-05-14 13:51:05 +02:00
Jens Langhammer
43a583e2d2
stages/invitation: add unittests
2020-05-13 23:20:27 +02:00
Jens Langhammer
f289025d8e
stages/user_delete: fix missing API, fix missing tests
2020-05-13 23:20:07 +02:00
Jens Langhammer
80c3246333
policies/expression: add pb_flow_plan variable
2020-05-13 18:44:36 +02:00
Jens Langhammer
461fed5567
admin: remove more duplicate code
2020-05-13 13:45:57 +02:00
Jens Langhammer
d5f6714ed7
admin: remove redundant code
2020-05-13 11:57:19 +02:00
Jens Langhammer
c42ed6bc99
admin: sort types, minor fixups
2020-05-13 11:57:10 +02:00
Jens Langhammer
57fed2b92b
stages/user_delete: fix formatting
2020-05-12 15:23:17 +02:00
Jens Langhammer
e45b33c6c2
stages/user_delete: add user delete stage, remove view from core
2020-05-12 14:50:00 +02:00
Jens Langhammer
137e90355b
flows: default-auth -> default-authentication
2020-05-12 14:49:47 +02:00
Jens Langhammer
7500e622f6
stages/invitation: start extracting invitation from core
2020-05-11 21:58:02 +02:00
Jens Langhammer
d49c58f326
flows: fix linting
2020-05-11 21:27:46 +02:00
Jens Langhammer
9814d3be03
flows: add Planner and Executor unittests
2020-05-11 15:01:14 +02:00
Jens Langhammer
fc9f86cccc
lib: use TemplateResponse for bad_request_message
2020-05-11 14:08:04 +02:00
Jens Langhammer
6fd19c0a37
flows: add caching of plan, add planner unittests
2020-05-11 11:39:58 +02:00
Jens Langhammer
10cb412532
flows: fix linting of migrations
2020-05-11 09:08:15 +02:00
Jens Langhammer
e12780f78f
flows: add invalidation designation, use as default logout action
2020-05-11 01:12:57 +02:00
Jens Langhammer
9dec13c225
stages/user_logout: add logout stage
2020-05-11 01:12:14 +02:00
Jens Langhammer
69120da45c
core: remove redundant views/forms
2020-05-11 00:49:48 +02:00
Jens Langhammer
5b2bf7519a
stages/user_create -> user_write: Stage can create and update existing users
2020-05-10 23:38:15 +02:00
Jens Langhammer
631cf77f89
stages/captcha: add tests
2020-05-10 21:43:30 +02:00
Jens Langhammer
6676e95011
stages/email: add tests, cleanup
2020-05-10 21:43:22 +02:00
Jens Langhammer
3219cffb52
stages/email: add logic to verify token
2020-05-10 21:00:04 +02:00
Jens Langhammer
d4f149bc02
stages/email: add form for sending email to prevent spam
...
stages/email: make token validity configurable
2020-05-10 20:50:27 +02:00
Jens Langhammer
206cf4967d
stages/identification: add more templates
2020-05-10 20:24:47 +02:00
Jens Langhammer
a67c53f46a
stages/email: start rewriting templates, add template tags to embed CSS and images
2020-05-10 20:16:58 +02:00
Jens Langhammer
e989c61793
core: reduce default nonce time to 30 minutes
2020-05-10 20:15:56 +02:00
Jens Langhammer
99bab03cce
flows: add check if current plan matches current flow
2020-05-10 20:15:24 +02:00
Jens Langhammer
a7567ad8c6
stages/identification: add recovery support
2020-05-10 18:45:16 +02:00
Jens Langhammer
2ffa2fc6b8
admin: update templates and stage views
2020-05-10 18:44:58 +02:00
Jens Langhammer
8de87d9acb
stages/identification: test signup notice
2020-05-10 18:17:24 +02:00
Jens Langhammer
1d03b36750
stages/identification: show sign up url when related flow exists
2020-05-10 18:14:10 +02:00
Jens Langhammer
8dc3c49a2f
stages/user_create: add stage to create user after prompts
2020-05-10 18:04:23 +02:00
Jens Langhammer
f6461b08d7
stages/prompt: add unittests
2020-05-10 17:52:26 +02:00
Jens Langhammer
a3a3dde1c8
stages/dummy: add unittests
...
stages/password: improve coverage
stages/user_login: improve coverage
2020-05-10 17:02:01 +02:00
Jens Langhammer
f111604b70
stages/login: -> stages/user_login: rename login to user_login for user_create stage
2020-05-10 16:20:44 +02:00
Jens Langhammer
4315d1a03c
stages/prompt: add prompt stage: dynamically created forms based on database
2020-05-10 16:20:17 +02:00
Jens Langhammer
9def45c8d7
stages/identification: fix label for inputs
2020-05-10 15:29:27 +02:00
Jens Langhammer
358922b09b
lib/ui: fix human_list for lists with one item
2020-05-10 15:29:10 +02:00
Jens Langhammer
fbc3ac6b30
flows: make FlowExecutor fully working without pending user
2020-05-10 15:28:52 +02:00
Jens Langhammer
4f785da452
root: fix migrations for CI
2020-05-10 13:06:38 +02:00