Jens Langhammer
3c2b8e5ee1
all: prefix all UI related methods with ui_, switch to property and return dataclass
2020-02-20 13:51:41 +01:00
Jens Langhammer
f1d77d475c
ui: start patternfly v4 migration
2020-02-19 21:03:39 +01:00
Jens Langhammer
4e8238603a
all: cleanup logging to be structured
2020-02-18 21:35:58 +01:00
Jens Langhammer
ff25c1c057
admin: load custom policy templates
2020-02-18 21:35:21 +01:00
Jens Langhammer
78cddca0d7
admin: fix user object being overwritten when deleting a user
2020-02-18 21:35:06 +01:00
Jens Langhammer
73b173b92a
admin: fix form missing on update pages
2020-02-17 21:02:47 +01:00
Jens Langhammer
7cbf20a71c
admin: fix CodeMirror field not loading correctly
2020-02-17 21:02:35 +01:00
Jens Langhammer
9400b01a55
admin: parameterise generic from's base template
2020-02-17 20:29:41 +01:00
Jens Langhammer
205183445c
admin: add support for template field and Jinja2 highlighting
2020-02-17 17:48:53 +01:00
Jens Langhammer
74b2b26a20
ci: disable pylint's bad-continuation to please black
2019-12-31 13:17:35 +01:00
Jens Langhammer
3bd1eadd51
all: implement black as code formatter
2019-12-31 12:51:16 +01:00
Jens Langhammer
0946d6a25d
docs: add initial structure, add docs for policies and factors
2019-12-09 21:00:45 +01:00
Jens Langhammer
328c999cb9
ci(minor): reenable prospector
2019-12-05 14:31:51 +01:00
Langhammer, Jens
73d4d9dfe0
admin(major): fix incorrect permissions being set
2019-11-07 17:25:36 +01:00
Langhammer, Jens
cffe09b02e
all(major): add most models to API
2019-10-28 17:40:57 +01:00
Langhammer, Jens
ffca957838
audit(major): AuditEntry -> Event
2019-10-28 14:26:34 +01:00
Langhammer, Jens
feb80049aa
Merge branch 'master' into guardian
2019-10-25 22:18:13 +02:00
Langhammer, Jens
d4cb1a98c7
policy(major): simplify PolicyEngine API, add flag to ignore cache for debug purposes
2019-10-15 15:44:59 +02: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
2a27325dfd
admin(major): add pagination to all listviews
2019-10-14 13:15:42 +02:00
Langhammer, Jens
a6dee2e8ed
admin(minor): fix sidebar disappearing when editing user
2019-10-14 13:14:54 +02:00
Langhammer, Jens
1fe420fd80
admin(major): add YAMLField for attributes, add codemirror editor
2019-10-12 14:23:03 +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
344a8817c3
admin(minor): fix linting
2019-10-10 13:05:03 +02:00
Langhammer, Jens
3afb0d4f6d
admin(minor): remove partial API
2019-10-10 13:04:20 +02:00
Langhammer, Jens
c9714893bb
admin(major): rewrite all views to use guardian mixins
2019-10-10 13:01:49 +02:00
Langhammer, Jens
64290b2a37
admin(minor): add view to create user
2019-10-08 11:27:19 +02:00
Langhammer, Jens
f2acc154cd
*(minor): small refactor
2019-10-07 16:33:48 +02:00
Langhammer, Jens
c0df1f38b8
*(minor): remove __name__ param from get_logger
2019-10-04 10:08:53 +02:00
Langhammer, Jens
c7322a32a0
app_gw(minor): remove current implementation
2019-10-04 09:28:28 +02:00
Langhammer, Jens
f4499a5459
*(minor): stdlib logging to structlog
2019-10-01 10:24:10 +02:00
Langhammer, Jens
b3aede5bba
policy(minor): Move policy-related code to separate package
2019-10-01 10:17:39 +02:00
Langhammer, Jens
174472bb45
all: get rid of individual requirements file, remove version from every module
2019-07-22 15:20:17 +02:00
Jens Langhammer
10fd96981e
new release: 0.2.6-beta
2019-07-15 13:42:18 +00:00
Jens Langhammer
30a6d1f0b1
new release: 0.2.5-beta
2019-07-15 13:31:04 +00:00
Jens Langhammer
ff37ed095c
new release: 0.2.4-beta
2019-07-05 15:30:13 +02:00
Jens Langhammer
bccf424c5e
new release: 0.2.3-beta
2019-07-04 16:25:33 +02:00
Jens Langhammer
804ae15c2e
new release: 0.2.2-beta
2019-06-25 18:50:41 +02:00
Jens Langhammer
a4f83bd28a
new release: 0.2.1-beta
2019-06-25 18:25:27 +02:00
Jens Langhammer
2099bbb713
new release: 0.2.0-beta
2019-06-25 18:16:14 +02:00
Jens Langhammer
a798412e17
separate passbook.core into passbook.root and passbook.core
...
Move Main Django Project into passbook.root while passbook.core holds core functionality.
passbook.root contains main settings, ASGI & WSGI, celery and URLs.
2019-06-25 18:00:54 +02:00
Jens Langhammer
2645bd0132
new release: 0.1.38-beta
2019-04-29 23:26:18 +02:00
Jens Langhammer
31846f1d05
Show redirect URL in <pre> element
2019-04-29 22:32:22 +02:00
Jens Langhammer
66fe10299e
new release: 0.1.37-beta
2019-04-29 21:43:18 +02:00
Jens Langhammer
7033ec0ab9
remove debug print
2019-04-29 21:39:30 +02:00
Jens Langhammer
9fe9e48a5c
new release: 0.1.36-beta
2019-04-29 20:57:57 +02:00
Jens Langhammer
11b5860d4a
new release: 0.1.35-beta
2019-04-29 20:47:32 +02:00
Jens Langhammer
9bdbff4cda
fix gitlab-ci using incorrect variables for docker access
2019-04-29 20:42:24 +02:00
Jens Langhammer
e0d597eeac
show cache on admin overview, add modal to clear cache, re-add logging to policy
2019-04-29 20:37:44 +02:00
Jens Langhammer
ec0a6e7854
new release: 0.1.34-beta
2019-04-29 19:22:20 +02:00
Jens Langhammer
53918462b6
new release: 0.1.33-beta
2019-04-18 10:28:12 +02:00
Jens Langhammer
f2ce56063b
bump version: 0.1.31-beta -> 0.1.32-beta
2019-04-17 14:27:41 +02:00
Jens Langhammer
2fa57d064e
bump version: 0.1.30-beta -> 0.1.31-beta
2019-04-13 17:58:09 +02:00
Jens Langhammer
146edb45d4
bump version: 0.1.29-beta -> 0.1.30-beta
2019-04-11 14:22:34 +02:00
Jens Langhammer
c90d8ddcff
bump version: 0.1.28-beta -> 0.1.29-beta
2019-04-11 14:03:08 +02:00
Jens Langhammer
a1a5223b58
bump version: 0.1.27-beta -> 0.1.28-beta
2019-04-11 10:48:31 +02:00
Jens Langhammer
80049413f0
bump version: 0.1.26-beta -> 0.1.27-beta
2019-03-22 14:51:13 +01:00
Jens Langhammer
c679f0a67c
bump version: 0.1.25-beta -> 0.1.26-beta
2019-03-22 12:48:00 +01:00
Jens Langhammer
9b0240dc26
bump version: 0.1.24-beta -> 0.1.25-beta
2019-03-21 16:50:00 +01:00
Jens Langhammer
ec1e25fe71
cleanup property_mapping list
2019-03-21 16:21:11 +01:00
Jens Langhammer
6f7b917c38
bump version: 0.1.23-beta -> 0.1.24-beta
2019-03-20 23:00:33 +01:00
Jens Langhammer
67aa4aef11
add modal for OAuth Providers showing the URLs
2019-03-20 20:03:28 +01:00
Jens Langhammer
9e46c8bfec
bump version: 0.1.22-beta -> 0.1.23-beta
2019-03-18 20:54:31 +01:00
Jens Langhammer
bfa58be721
bump version: 0.1.21-beta -> 0.1.22-beta
2019-03-14 21:22:15 +01:00
Jens Langhammer
0445be9712
fix missing debug template
2019-03-14 21:16:27 +01:00
Jens Langhammer
89dbdd9585
bump version: 0.1.20-beta -> 0.1.21-beta
2019-03-14 18:08:02 +01:00
Jens Langhammer
96be087221
add request debug view
2019-03-14 18:01:27 +01:00
Jens Langhammer
a53a269a8c
bump version: 0.1.19-beta -> 0.1.20-beta
2019-03-13 16:51:43 +01:00
Jens Langhammer
d50c7ec8d4
bump version: 0.1.18-beta -> 0.1.19-beta
2019-03-13 15:16:48 +01:00
Jens Langhammer
ae64024ef4
bump version: 0.1.17-beta -> 0.1.18-beta
2019-03-13 11:31:05 +01:00
Jens Langhammer
63aa48d981
bump version: 0.1.16-beta -> 0.1.17-beta
2019-03-12 15:55:18 +01:00
Jens Langhammer
b2ac57bb67
switch to vertical navigation
2019-03-12 13:35:09 +01:00
Jens Langhammer
330118249e
bump version: 0.1.15-beta -> 0.1.16-beta
2019-03-11 21:35:11 +01:00
Jens Langhammer
cf7323c41b
bump version: 0.1.14-beta -> 0.1.15-beta
2019-03-11 21:01:18 +01:00
Jens Langhammer
5e35859db6
bump version: 0.1.13-beta -> 0.1.14-beta
2019-03-11 11:44:34 +01:00
Jens Langhammer
e6376a05f7
bump version: 0.1.12-beta -> 0.1.13-beta
2019-03-11 11:31:12 +01:00
Jens Langhammer
c394066d99
bump version: 0.1.11-beta -> 0.1.12-beta
2019-03-11 09:51:00 +01:00
Jens Langhammer
ad8125ac1c
bump version: 0.1.10-beta -> 0.1.11-beta
2019-03-10 19:56:30 +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
eebbae0677
bump version: 0.1.9-beta -> 0.1.10-beta
2019-03-10 15:54:50 +01:00
Jens Langhammer
0e425418df
better show loading state when testing a policy
2019-03-10 15:46:49 +01:00
Jens Langhammer
7fe0300b86
Fix button on policy test page
2019-03-10 15:36:49 +01:00
Jens Langhammer
a5dc193cfd
bump version: 0.1.8-beta -> 0.1.9-beta
2019-03-10 12:17:48 +01:00
Jens Langhammer
f1291fec8d
add impersonation middleware, add to templates
2019-03-10 02:41:31 +01:00
Jens Langhammer
c3034ab9ac
consistently using PolicyEngine
2019-03-10 02:07:18 +01:00
Jens Langhammer
76694e037a
bump version: 0.1.7-beta -> 0.1.8-beta
2019-03-08 21:43:35 +01:00
Jens Langhammer
74da3df7cd
bump version: 0.1.6-beta -> 0.1.7-beta
2019-03-08 21:37:59 +01:00
Jens Langhammer
11ecdc4fcf
bump version: 0.1.5-beta -> 0.1.6-beta
2019-03-08 20:39:27 +01:00
Jens Langhammer
a54adb05c4
bump version: 0.1.4-beta -> 0.1.5-beta
2019-03-08 16:03:52 +01:00
Jens Langhammer
2d7e8f1b50
add group administration
2019-03-08 15:49:45 +01:00
Jens Langhammer
6dcdf7bcce
add custom DynamicArrayField to better handle arrays
2019-03-08 15:11:01 +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
a7b86e46bc
bump version: 0.1.3-beta -> 0.1.4-beta
2019-03-07 16:24:09 +01:00
Jens Langhammer
1232c487e9
bump version: 0.1.2-beta -> 0.1.3-beta
2019-03-07 16:13:05 +01:00
Jens Langhammer
4439378fd4
bump version: 0.1.1-beta -> 0.1.2-beta
2019-03-07 14:14:51 +01:00
Jens Langhammer
722e2e4050
Show warning when un-attached policies exist
2019-03-03 17:12:35 +01:00
Jens Langhammer
9b131b619f
Show warning message when no Factor exists
2019-03-02 23:54:40 +01:00
Jens Langhammer
35eef9c28d
improve worker warning
2019-03-02 22:41:25 +01:00
Jens Langhammer
e88a82553d
use separate Form for Admin user editing (allow is_staff and is_active)
2019-03-02 22:41:14 +01:00
Jens Langhammer
c6721a83a4
bump version: 0.1.1-alpha -> 0.1.1-beta
2019-02-27 17:45:10 +01:00
Jens Langhammer
46866e8ef0
bump version: 0.1.0-beta -> 0.1.1-alpha
2019-02-27 17:43:28 +01:00
Jens Langhammer
4c3fced4e9
bump version: 0.1.0-alpha -> 0.1.0-beta
2019-02-27 16:45:52 +01:00
Jens Langhammer
172347d90f
bump version: 0.0.13-alpha -> 0.1.0-alpha
2019-02-27 16:42:52 +01:00
Jens Langhammer
f54520b5cf
bump version: 0.0.12-alpha -> 0.0.13-alpha
2019-02-27 16:06:28 +01:00
Jens Langhammer
d7c4697625
Only use one create template, get title from Form's Model
2019-02-27 16:06:20 +01:00
Jens Langhammer
c66945623a
Improve admin interface more (back links, better headlines)
2019-02-27 15:48:33 +01:00
Jens Langhammer
cbae05c74c
show more useful information on admin overview
2019-02-27 15:45:42 +01:00
Jens Langhammer
5b771da972
switch from first_name and last_name to name
2019-02-27 15:09:05 +01:00
Jens Langhammer
2db1738e4a
make Admin UI more consistent, better show when provider has no application assigned
2019-02-27 14:47:11 +01:00
Jens Langhammer
95de6a14fd
bump version: 0.0.11-alpha -> 0.0.12-alpha
2019-02-27 13:18:28 +01:00
Jens Langhammer
e7fb48eba2
bump version: 0.0.10-alpha -> 0.0.11-alpha
2019-02-26 13:06:26 +01:00
Jens Langhammer
250b6691d4
bump version: 0.0.9-alpha -> 0.0.10-alpha
2019-02-26 12:44:02 +01:00
Jens Langhammer
e94ef34d8f
bump version: 0.0.8-alpha -> 0.0.9-alpha
2019-02-26 12:35:28 +01:00
Jens Langhammer
28da67abe6
Improve partially broken Delete Views, show success message on deletion
2019-02-26 09:49:42 +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
9d344d887c
add more information to administrator Overview
2019-02-25 17:52:51 +01:00
Jens Langhammer
7e9154a0ea
bump version: 0.0.7-alpha -> 0.0.8-alpha
2019-02-25 17:39:39 +01:00
Jens Langhammer
8611ac624c
Make links on admin overview site actually useful
2019-02-25 17:11:52 +01:00
Jens Langhammer
c2756f15fc
Correctly display action on Create/Update templates
2019-02-25 16:40:46 +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
33431ae013
improve OAuth Source Setup process, fix login template, closes #3
2019-02-25 14:10:10 +01:00
Jens Langhammer
b40ac6dc5d
more Icons cause everyone loves icons
2019-02-25 13:31:11 +01:00
Jens Langhammer
fec9b5cf94
bump version: 0.0.6-alpha -> 0.0.7-alpha
2019-02-25 13:20:12 +01:00
Jens Langhammer
9c2cfd7db4
use Inheritance for Factors instead of JSONField
2019-02-24 22:39:09 +01:00
Jens Langhammer
c941107d42
Rules -> Policies, more things
2019-02-21 16:06:57 +01:00
Jens Langhammer
d3d75737ed
switch to drf_yasg
2019-02-21 16:05:59 +01:00
Jens Langhammer
7601351f51
add help texts to explain naming
2019-02-16 11:25:53 +01:00
Jens Langhammer
df45797b4a
fix inconsistent naming again
2019-02-16 11:13:00 +01:00
Jens Langhammer
744a320731
fix inconsistent naming
2019-02-16 10:59:23 +01:00
Jens Langhammer
d6f4832e90
Rule -> Policies
2019-02-16 10:24:31 +01:00
Jens Langhammer
59a15c988f
Move Factor instances to database
2019-02-16 09:52:37 +01:00
Jens Langhammer
6649eb401e
bump version: 0.0.5-alpha -> 0.0.6-alpha
2019-02-13 16:41:59 +01:00
Jens Langhammer
a9d29067bf
bump version: 0.0.4-alpha -> 0.0.5-alpha
2019-02-11 18:01:45 +01:00
Jens Langhammer
b4cb157257
bump version: 0.0.3-alpha -> 0.0.4-alpha
2019-02-11 17:44:42 +01:00
Jens Langhammer
58ebd15ada
fix mismatched Version numbers and missing verbose_names
2019-02-10 20:08:29 +01:00
Jens Langhammer
1a998e5020
bump version: 0.0.2-alpha -> 0.0.3-alpha
2019-02-08 15:19:31 +01:00
Jens Langhammer
4459f9c529
bump version: 0.0.1-alpha -> 0.0.2-alpha
2019-02-08 15:09:22 +01:00
Jens Langhammer
26a23a448d
admin: fix requirements not being installed
2018-12-27 12:36:30 +01:00
Jens Langhammer
d4a6e28fe6
core: add custom group model with hierarchy , add tree admin
2018-12-27 00:38:42 +01:00
Jens Langhammer
0c9a00acbe
admin: only add link if function returns not None
2018-12-26 21:55:14 +01:00
Jens Langhammer
7178468135
admin: add support for extra links
2018-12-26 17:17:24 +01:00
Jens Langhammer
70afabec7e
Switch to explicit AppConfig declaration
2018-12-26 14:32:33 +01:00
Jens Langhammer
b718be6593
Audit: fix invalid signal signature
2018-12-18 13:27:01 +01:00
Jens Langhammer
65bdca30ae
oauth_client: add separate forms for Provider Types
2018-12-18 10:40:46 +01:00
Jens Langhammer
6314ffab46
admin: fix import errors
2018-12-14 14:33:15 +01:00
Jens Langhammer
25fbadc813
admin: add basic user admin
2018-12-14 14:24:04 +01:00
Jens Langhammer
a373054e90
admin: add basic audit display
2018-12-14 10:28:37 +01:00
Jens Langhammer
71f41e655f
core: add user settings and user delete
2018-12-10 16:58:35 +01:00
Jens Langhammer
276c6fb297
admin: send invitation signal
2018-12-10 16:54:28 +01:00
Jens Langhammer
4111ca96a7
admin: fix form error display
2018-12-10 15:27:01 +01:00
Jens Langhammer
7f2bae4c2c
admin: link to invitation on list
2018-12-10 15:26:28 +01:00
Jens Langhammer
d0099edac4
all: fully switch to Invitation
2018-12-10 14:49:15 +01:00
Jens Langhammer
57f285ae54
admin: set invitation’s created_by properly, remove edit of invite
2018-12-10 14:38:44 +01:00
Jens Langhammer
545795ebc6
all: invites -> invitations
2018-12-10 14:21:42 +01:00
Jens Langhammer
89c2b8d49c
admin: add invite administration
2018-12-10 14:13:18 +01:00
Jens Langhammer
19a8ecb55a
core: show applications on overview page
2018-12-10 10:50:19 +01:00
Jens Langhammer
dae5fc6265
core: cleanup provider select
2018-12-09 23:05:55 +01:00
Jens Langhammer
1ab445ab8e
admin: fix provider table breaking
2018-12-09 21:04:57 +01:00
Jens Langhammer
4b3959787e
admin: update list templates to show buttons in one column
2018-11-30 15:50:45 +01:00
Jens Langhammer
520e991393
admin: add view to test rules
2018-11-30 15:50:27 +01:00
Jens Langhammer
bc65fae4b2
Admin: remove .cast() calls and replace with select_subclasses()
2018-11-28 14:01:18 +01:00
Jens Langhammer
c0c51981ba
admin: add provider admin
2018-11-26 22:40:10 +01:00
Jens Langhammer
755997a9c7
admin: add generic create and delete template
2018-11-26 22:30:14 +01:00
Jens Langhammer
5c5c865c0b
admin: add ?back to everything
2018-11-26 22:29:59 +01:00
Jens Langhammer
b656cd1139
admin: add source admin
2018-11-26 22:09:04 +01:00
Jens Langhammer
caf6580ccb
Admin: add rule admin
2018-11-26 22:08:48 +01:00
Jens Langhammer
2aa12801a8
admin: add application admin
2018-11-26 22:08:18 +01:00
Jens Langhammer
c507e310b5
switch to self-rendered forms
2018-11-26 22:07:40 +01:00
Jens Langhammer
08a5c98823
admin: fix source creation view
2018-11-26 18:22:22 +01:00
Jens Langhammer
e44f6cff7e
admin: add source delete view
2018-11-22 13:11:46 +01:00
Jens Langhammer
61b79e90e5
passbook: implement dynamic URL loading
2018-11-22 10:28:13 +01:00
Jens Langhammer
b5bc371a04
code is now clean but still not working
2018-11-16 13:08:37 +01:00
Jens Langhammer
de7a2fa034
add more info to admin overview
2018-11-16 11:40:24 +01:00
Jens Langhammer
fbaab4efaf
Many broken things
2018-11-16 09:10:35 +01:00
Jens Langhammer
5aa245cac0
add working oauth and ldap client
2018-11-11 13:41:48 +01:00