Jens Langhammer
c62794c738
admin: fix PropertyMapping widget not rendering properly
2020-06-05 20:27:18 +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
3f92d1c420
flows: Correctly check initial policies on flow with context
...
# Conflicts:
# passbook/flows/planner.py
# passbook/flows/tests/test_planner.py
# passbook/flows/tests/test_views.py
# passbook/flows/views.py
2020-06-02 16:53:40 +02:00
Jens Langhammer
052bf88c3d
core: create default user
...
# Conflicts:
# README.md
2020-06-02 16:42:44 +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
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
7500e622f6
stages/invitation: start extracting invitation from core
2020-05-11 21:58:02 +02:00
Jens Langhammer
c27d257146
core: fix migrations
2020-05-10 12:07:40 +02:00
Jens Langhammer
9bccf9bb0a
policies/dummy: separate dummy policy from core into app
2020-05-10 02:14:55 +02:00
Jens Langhammer
212e966dd4
factors: -> stage
2020-05-08 20:59:51 +02:00
Jens Langhammer
8c329dca7d
core: add migration to fix null fields in core.application
2020-02-22 19:26:34 +01:00
Jens Langhammer
995c87938f
core: fix default Null causing issues in translation
2020-02-21 23:10:00 +01:00
Jens Langhammer
26bf6fd22f
all: add more helpful help_text to models
2020-02-21 15:12:16 +01:00
Jens Langhammer
2dfd93afb1
core: add more fields for metadata of applications
2020-02-20 13:45:22 +01:00
Jens Langhammer
3aa2f1e892
*: propertymapping template -> expression
2020-02-17 20:38:14 +01:00
Jens Langhammer
e6c47fee26
core: add template field to PropertyMapping
2020-02-17 17:47:51 +01:00
Jens Langhammer
3bd1eadd51
all: implement black as code formatter
2019-12-31 12:51:16 +01:00
Langhammer, Jens
543e949a48
api(minor): start with api v2
2019-10-28 14:26:07 +01:00
Langhammer, Jens
261d57ad7b
Merge branch 'master' into guardian
...
# Conflicts:
# Pipfile
# Pipfile.lock
# passbook/admin/views/invitations.py
# passbook/admin/views/policy.py
# passbook/admin/views/providers.py
# passbook/admin/views/sources.py
# passbook/admin/views/users.py
2019-10-15 15:09:11 +02:00
Langhammer, Jens
358e39ced0
core(major): remove action field from policy
2019-10-14 13:57:38 +02:00
Langhammer, Jens
fc69b6851d
core(minor): tags -> attributes, add attributes to user, add propertymappings to source
2019-10-11 12:47:06 +02:00
Langhammer, Jens
37111fd07b
core(minor): merge migrations
2019-10-10 17:41:22 +02:00
Langhammer, Jens
143a575369
Merge branch 'master' into guardian
...
# Conflicts:
# Pipfile
# Pipfile.lock
# passbook/core/models.py
2019-10-10 17:29:34 +02:00
Langhammer, Jens
3d8242be06
core(minor): add new, optional description field to nonce
2019-10-10 14:04:58 +02:00
Langhammer, Jens
3185a86b22
core(minor): add separate permission to reset user's password
2019-10-10 13:01:36 +02:00
Langhammer, Jens
f2acc154cd
*(minor): small refactor
2019-10-07 16:33:48 +02:00
Jens Langhammer
5d1a3043b2
create SSOLoginPolicy, which allows factors to be applied when user comes from SSO login
...
implement SESSIION_IS_SSO_LOGIN for OAuth Client and core MFA
2019-04-29 23:19:37 +02:00
Jens Langhammer
e7129d18f6
fix inconsistent migrations
2019-04-13 17:52:11 +02:00
Jens Langhammer
8536ef9e23
Add guardian for Application permissions
2019-04-10 18:46:33 +02:00
Jens Langhammer
660972e303
add ability to have non-expiring nonces, clean up expired nonces
2019-04-04 21:49:10 +02:00
Jens Langhammer
883d439544
add timeout field to policy to prevent stuck policies
2019-03-21 14:48:51 +01:00
Jens Langhammer
501fed1922
rewrite PasswordFactor to use backends setting instead of trying all backends
2019-03-10 21:47:08 +01:00
Jens Langhammer
e4baf8c21e
Add Group Member policy
2019-03-10 19:32:18 +01:00
Jens Langhammer
2b8c2b2346
use Django's Admin FilteredSelectMultiple for Group Membership
2019-03-10 18:06:06 +01:00
Jens Langhammer
5f861189e4
Merge branch 'master' into 23-groups
...
# Conflicts:
# passbook/admin/templates/administration/base.html
2019-03-10 17:13:29 +01:00
Jens Langhammer
2d7e8f1b50
add group administration
2019-03-08 15:49:45 +01:00
Jens Langhammer
56d872af15
add PropertyMapping Model, add Subclass for SAML, test with AWS
2019-03-08 12:47:50 +01:00
Jens Langhammer
5b771da972
switch from first_name and last_name to name
2019-02-27 15:09:05 +01:00
Jens Langhammer
556740d7bc
add PasswordPolicyForm back in
2019-02-26 15:41:11 +01:00
Jens Langhammer
ff9bc8aa70
Automatically create PasswordFactor on initial setup closes #16
2019-02-26 09:54:51 +01:00
Jens Langhammer
98b414f3e2
add SignUp Confirmation (required by default, can be disabled in invitations) closes #6
2019-02-25 21:03:24 +01:00
Jens Langhammer
a0d42092e3
add Nonce (one-time links), add password reset function (missing e-mail verification), closes #7
2019-02-25 20:46:23 +01:00
Jens Langhammer
408e205c5f
add signal for password change, add field for password policies
2019-02-25 15:41:36 +01:00
Jens Langhammer
9c2cfd7db4
use Inheritance for Factors instead of JSONField
2019-02-24 22:39:09 +01:00
Jens Langhammer
183308e444
fix Contains not working correctly
2019-02-21 16:21:45 +01:00
Jens Langhammer
c941107d42
Rules -> Policies, more things
2019-02-21 16:06:57 +01:00
Jens Langhammer
7601351f51
add help texts to explain naming
2019-02-16 11:25:53 +01:00