Jens Langhammer
b35d27c83e
admin: fix pagination template, ensure template is placed correctly in footer
2020-10-03 17:50:17 +02:00
Jens Langhammer
8f585eca70
stages/identification: replace buggy FilteredSelectMultiple with ArrayFieldSelectMultiple
2020-09-30 23:58:01 +02:00
Jens Langhammer
525d271535
*: apply new black styling
2020-09-30 19:34:22 +02:00
Jens Langhammer
760352202e
admin: fix get_form_class
2020-09-29 11:42:34 +02:00
Jens Langhammer
9724ded194
policies: change .form() and .serializer() to properties, add tests
2020-09-29 10:32:58 +02:00
Jens Langhammer
d74fa4abbf
admin: fix categories in sidebar being collapsible
2020-09-27 18:40:50 +02:00
Jens Langhammer
40f1de3b11
admin: load info about latest version in celery task
2020-09-26 02:16:35 +02:00
Jens Langhammer
899c5b63ea
admin: add BackSuccessUrlMixin to redirect to correct url after form edit
2020-09-26 02:04:16 +02:00
Jens Langhammer
e104c74761
admin: make pagination size configurable
2020-09-26 01:55:40 +02:00
Jens Langhammer
f3ee8f7d9c
admin: fix permissions not being checked for policybinding list
2020-09-19 23:07:39 +02:00
Jens Langhammer
c0026f3e16
admin: move pf-m-success to base css
2020-09-19 21:12:39 +02:00
Jens Langhammer
b04f92c8b4
admin: outposts show should-be version
2020-09-19 19:03:54 +02:00
Jens Langhammer
18886697d6
outposts: add support for version checking
2020-09-19 01:34:11 +02:00
Jens Langhammer
ddca46e24a
outposts: add modal to show setup information
2020-09-19 01:34:11 +02:00
Jens Langhammer
421bd13ddf
admin: make YAMLField return empty dict when empty yaml is given
2020-09-19 00:00:55 +02:00
Jens Langhammer
316e6cb17f
admin: set default host for outposts based on HTTP host
2020-09-18 21:51:08 +02:00
Jens Langhammer
9d5d99290c
outposts: only show proxy providers
2020-09-18 21:50:49 +02:00
Jens Langhammer
20ffe833de
admin: fix create link for outposts
2020-09-18 21:28:48 +02:00
Jens Langhammer
5ff1dd8426
core: move impersonation to core, add tests, add better permission checks
2020-09-17 16:24:53 +02:00
Jens Langhammer
da3c640343
admin: fix type annotation for latest_version()
2020-09-16 23:54:55 +02:00
Jens Langhammer
f1ccef7f6a
e2e: add tests for proxy provider and outposts
2020-09-16 23:22:17 +02:00
Jens Langhammer
0a5e14a352
core: make is_superuser a group property, remove from user
2020-09-15 23:10:31 +02:00
Jens Langhammer
e7472de4bf
sources/ldap: sync source on save
2020-09-14 23:35:01 +02:00
Jens Langhammer
494950ac65
admin: fix anonymous user not being removed from user count
2020-09-14 23:19:16 +02:00
Jens Langhammer
cc8afa8706
admin: don't show policy as unbound when used as validation policy
2020-09-14 15:44:33 +02:00
Jens Langhammer
bb4e39aab6
docs: add outpost deployment docs, link in outposts list
2020-09-13 22:20:17 +02:00
Jens L
23cccebb96
pytest ( #209 )
2020-09-11 23:21:11 +02:00
Jens Langhammer
f0b5e8143e
admin: fix flow export view raising error
2020-09-08 16:49:15 +02:00
Jens L
268de20872
Proxy v2 ( #189 )
2020-09-03 00:04:12 +02:00
Jens Langhammer
a977184577
flows: export export/import functions in UI
2020-08-28 15:06:25 +02:00
Jens Langhammer
7923468a01
admin: fix incorrect view name for groups
2020-08-16 17:41:48 +02:00
Jens Langhammer
7334599efd
*: update JSON fields to django 3.1
2020-08-15 21:04:22 +02:00
Jens Langhammer
88029a4335
admin: update to work with new form
2020-07-20 17:57:06 +02:00
Jens Langhammer
6bc6f947dd
stages/invitation: move invite signals from core to app
2020-07-07 15:46:13 +02:00
Jens Langhammer
b12182c1d1
admin: improve overview layout
2020-07-07 13:13:15 +02:00
Jens Langhammer
d8f27f595a
admin: use django cache for admin version (expiry)
2020-07-07 13:12:54 +02:00
Jens Langhammer
2dc1b65718
ui: fix modal layout
2020-07-06 20:50:14 +02:00
Jens Langhammer
02d65972cb
admin: fix submit button on update form
2020-07-06 17:46:30 +02:00
Jens Langhammer
24ad893350
admin: fix token_list template
2020-07-06 17:43:20 +02:00
Jens Langhammer
2e2c9f5287
api: add token authentication
2020-07-05 23:37:58 +02:00
Jens Langhammer
94281bee88
admin: improve policy binding listing by showing Target object type
2020-07-04 00:18:19 +02:00
Jens Langhammer
d3b0992456
flows: FlowStageBinding: rename .flow to .target to fix select_subclasses()
2020-07-04 00:14:21 +02:00
Jens Langhammer
1d9c92d548
admin: add generic form tests
2020-07-02 22:29:30 +02:00
Jens Langhammer
4701374021
admin: remove duplicate code into new base classes
2020-07-02 00:13:33 +02:00
Jens Langhammer
0e6561987e
admin: fix user and group create not triggering sidebar
2020-07-01 12:36:44 +02:00
Jens Langhammer
62c20b6e67
admin: add list of all tokens
2020-07-01 12:27:30 +02:00
Jens Langhammer
13084562c5
admin: fix Password Recovery function not working
2020-07-01 12:10:12 +02:00
Jens Langhammer
885a2ed057
flows: fix linting error
2020-06-30 12:17:23 +02:00
Jens Langhammer
34be1dd9f4
admin: add execute button to flow which executes flow without cache
2020-06-30 11:18:20 +02:00
Jens Langhammer
f040223646
audit: move events list from admin to audit app
2020-06-30 10:23:54 +02:00
Jens Langhammer
bf297b8593
admin: add info about latest version
2020-06-30 10:23:39 +02:00
Jens Langhammer
b8654c06bf
flows: remove generic "password change" designation and add setup_stage
2020-06-29 11:12:51 +02:00
Jens Langhammer
39f51ec33d
stages/email: fix email account confirmation email template
2020-06-21 20:13:59 +02:00
Jens Langhammer
2a3166bf7e
ui: (pf4) Update pagination and toolbar
2020-06-09 13:40:03 +02:00
Jens Langhammer
62fe4d617b
ui: (pf4) update admin overview
2020-06-09 13:39:44 +02:00
Jens Langhammer
b86b36f947
ui: (pf4) update forms
2020-06-09 13:39:35 +02:00
Jens Langhammer
f589da4e72
ui: (pf4) fix empty state
2020-06-09 09:52:25 +02:00
Jens Langhammer
ee8313142f
Merge branch 'docs-flows'
...
# Conflicts:
# passbook/core/templates/partials/form_horizontal.html
2020-06-08 15:43:46 +02:00
Jens L
4915205678
WIP Use Flows for Sources and Providers ( #32 )
...
* core: start migrating to flows for authorisation
* sources/oauth: start type-hinting
* core: create default user
* core: only show user delete button if an unenrollment flow exists
* flows: Correctly check initial policies on flow with context
* policies: add more verbosity to engine
* sources/oauth: migrate to flows
* sources/oauth: fix typing errors
* flows: add more tests
* sources/oauth: start implementing unittests
* sources/ldap: add option to disable user sync, move connection init to model
* sources/ldap: re-add default PropertyMappings
* providers/saml: re-add default PropertyMappings
* admin: fix missing stage count
* stages/identification: fix sources not being shown
* crypto: fix being unable to save with private key
* crypto: re-add default self-signed keypair
* policies: rewrite cache_key to prevent wrong cache
* sources/saml: migrate to flows for auth and enrollment
* stages/consent: add new stage
* admin: fix PropertyMapping widget not rendering properly
* core: provider.authorization_flow is mandatory
* flows: add support for "autosubmit" attribute on form
* flows: add InMemoryStage for dynamic stages
* flows: optionally allow empty flows from FlowPlanner
* providers/saml: update to authorization_flow
* sources/*: fix flow executor URL
* flows: fix pylint error
* flows: wrap responses in JSON object to easily handle redirects
* flow: dont cache plan's context
* providers/oauth: rewrite OAuth2 Provider to use flows
* providers/*: update docstrings of models
* core: fix forms not passing help_text through safe
* flows: fix HttpResponses not being converted to JSON
* providers/oidc: rewrite to use flows
* flows: fix linting
2020-06-07 16:35:08 +02:00
Jens Langhammer
30ca926b38
docs: remove last occurrences to jinja2
2020-06-05 20:18:11 +02:00
Jens Langhammer
6a7ffa855e
docs: add example for login flow
2020-06-05 17:29:08 +02:00
Jens L
73116b9d1a
policies/expression: migrate to raw python instead of jinja2 ( #49 )
...
* policies/expression: migrate to raw python instead of jinja2
* lib/expression: create base evaluator, custom subclass for policies
* core: rewrite propertymappings to use python
* providers/saml: update to new PropertyMappings
* sources/ldap: update to new PropertyMappings
* docs: update docs for new propertymappings
* root: remove jinja2
* root: re-add jinja to lock file as its implicitly required
2020-06-05 12:00:27 +02:00
Jens Langhammer
b0ddc6a8c0
admin: fix missing stage count
2020-06-02 17:00:26 +02:00
Jens Langhammer
b1b63fbb7f
stages/prompt: add prompt order field
2020-05-28 23:21:43 +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
eeeb14a045
admin: fix urls for applications
2020-05-22 23:22:40 +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 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
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
753110583e
admin: fix incorrect URL
2020-05-17 23:55:42 +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
8540e787d3
admin: fix create buttons disappearing on small screens
2020-05-16 21:11:38 +02:00
Jens Langhammer
802d568273
admin: fix urls applications and sources
2020-05-16 20:48:30 +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 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
7ed3ceb960
*: providers and sources -> channels, PolicyModel to PolicyBindingModel that uses custom M2M through
2020-05-16 14:03:57 +02:00
Jens Langhammer
a5319fc2fe
*: rename templatetags to clearly identify
2020-05-15 10:54:31 +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
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
69120da45c
core: remove redundant views/forms
2020-05-11 00:49:48 +02:00
Jens Langhammer
2ffa2fc6b8
admin: update templates and stage views
2020-05-10 18:44:58 +02:00
Jens Langhammer
212e966dd4
factors: -> stage
2020-05-08 20:59:51 +02:00
Jens Langhammer
08c0eb2ec6
admin: add flows
2020-05-08 18:45:53 +02:00
Jens Langhammer
8df55f22aa
crypto: implement simple certificate-key pair for easier management
2020-03-03 23:35:25 +01:00
Jens Langhammer
53e5cf7826
admin: fix some models not being paginated
2020-02-27 15:30:28 +01:00
Jens Langhammer
82654b3fd9
ui: re-organize some of the navigation to make it cleaner for end-users
2020-02-27 14:59:34 +01:00