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
Jens Langhammer
ff4bd1c91f
root: increase testing verbosity to debug CI
2020-05-10 12:50:58 +02:00
Jens Langhammer
7a96f9e894
policies/dummy: fix migrations
2020-05-10 12:27:10 +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
c0b05a62f4
stages/password: add unittests
2020-05-10 02:00:38 +02:00
Jens Langhammer
c140c39d07
stages/login: add unittests
2020-05-10 01:02:04 +02:00
Jens Langhammer
9a700e506b
stages/identification: simplify unittests
2020-05-10 01:01:58 +02:00
Jens Langhammer
8e488670ad
stages/identification: load uid_fields from stage in form, add more unit tests
2020-05-10 00:05:36 +02:00
Jens Langhammer
fd5b2298e5
flows: fix unittests and migrations
2020-05-09 23:31:35 +02:00
Jens Langhammer
caeaf8d5a9
stages/identification: optimise User lookup query
2020-05-09 23:20:20 +02:00
Jens Langhammer
c46f0781fc
flows: separate final login step from flow executor
2020-05-09 23:19:36 +02:00
Jens Langhammer
0aad0604d8
stages/identification: migrate from core to separate stage
2020-05-09 21:31:29 +02:00
Jens Langhammer
131c3fdb32
stages/password: fix broken authentication
2020-05-09 21:30:12 +02:00
Jens Langhammer
8a6009c278
flows: enum to django TextChoices
2020-05-09 20:54:56 +02:00
Jens Langhammer
3456527f10
providers/saml: fix minor typing issue
2020-05-09 20:54:11 +02:00
Jens Langhammer
28b913136d
root: set log level based on DEBUG flag
2020-05-09 20:53:47 +02:00
Jens Langhammer
f700899640
stages/password: fix possibility of password in logs
2020-05-09 20:53:32 +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
872ecd93a6
flows: add to api and add forms
2020-05-08 18:29:18 +02:00
Jens Langhammer
f8af9d6ce0
flows: make sure flow_slug is logged consistently
2020-05-08 17:18:43 +02:00
Jens Langhammer
c3e43a7c2f
flows: fix denied view not being registered
2020-05-08 16:50:50 +02:00
Jens Langhammer
273af0f1cb
core/auth: fix unittests for flows
2020-05-08 16:43:22 +02:00
Jens Langhammer
2a85e5ae87
flows: complete migration to FlowExecutorView, fully use context
2020-05-08 16:10:27 +02:00
Jens Langhammer
114bb1b0bd
flows: implement planner, start new executor
2020-05-08 14:33:14 +02:00
Jens Langhammer
97b5d120f8
providers/oauth: fix default cors settings
2020-05-08 11:26:26 +02:00
Jens Langhammer
e1f0fe45cb
static: fix dashes being removed from slugs
2020-05-08 11:26:12 +02:00
Jens Langhammer
5400882d78
flows/: more migration progress, consolidate views
2020-05-07 21:30:52 +02:00
Jens Langhammer
8de66b27ad
flows/*: Initial flows stage1 implementation
2020-05-07 20:51:06 +02:00
Jens Langhammer
179f0097c0
provider/samlv2: more samlv2 progres
2020-05-07 19:25:15 +02:00
Jens Langhammer
b40bffdf38
providers/samlv2: start implementing new SAML Provider
2020-05-07 01:20:08 +02:00
Jens Langhammer
813dd2894f
*: add pyright type checking
2020-05-07 00:32:03 +02:00
Jens Langhammer
80d90b91e8
core: add general admin.py loader, remove individual files
2020-05-07 00:05:10 +02:00
Jens Langhammer
fff05e35ac
providers/saml: optionally verify SAML Signature
2020-05-06 18:03:12 +02:00
Jens Langhammer
75bb59a22a
ui: fix help text not being shown for checkboxes
2020-05-06 17:59:19 +02:00
Jens Langhammer
aac7e6be90
lib: fix ram usage due to bootstrap
...
bootstrap now exits (0) when all services are up, instead continuously running. This is combined with a simple bash script, which does this job instead.
This also adds /bootstrap.sh as docker ENTRYPOINT
2020-04-22 11:45:11 +02:00
Jens Langhammer
c77f4204c0
new release: 0.8.15-beta
2020-04-10 21:57:20 +02:00
Jens Langhammer
5f4452470b
providers/saml: fix metadata rendering when no singing keypair is selected
...
closes PASSBOOK-44
2020-04-10 21:54:23 +02:00
Jens Langhammer
9a1270c693
providers/saml: fix wrong signing property being checked
...
closes PASSBOOK-45
2020-04-10 21:52:03 +02:00
Jens Langhammer
7b9d1a1159
new release: 0.8.14-beta
2020-04-10 21:23:55 +02:00
Jens Langhammer
e43db2e065
new release: 0.8.13-beta
2020-04-10 21:11:24 +02:00
Jens Langhammer
d1c74d2160
lib: fix imports being changed every time
2020-03-05 17:28:03 +01:00
Jens Langhammer
f2119ce567
providers/saml: fix signing_kp typo
2020-03-05 17:09:08 +01:00
Jens Langhammer
f2154d9875
crypto: add property for private_key
2020-03-04 19:43:18 +01:00
Jens Langhammer
80a50f9bdb
providers/saml: switch to new crypto
2020-03-03 23:35:50 +01:00
Jens Langhammer
dc8b89a6b9
sources/saml: switch to new crypto
2020-03-03 23:35:38 +01:00
Jens Langhammer
8df55f22aa
crypto: implement simple certificate-key pair for easier management
2020-03-03 23:35:25 +01:00
Jens Langhammer
f6c322be27
providers/oidc: fix skip_authorization not being synced to oidc_client
2020-03-02 17:40:38 +01:00
Jens Langhammer
a144552059
providers/oidc: fill claims with userinfo
2020-03-01 22:55:56 +01:00
Jens Langhammer
535d529193
ui: fix title, fix navigation on user settings
2020-02-29 14:46:58 +01:00
Jens Langhammer
6ed2e137a2
new release: 0.8.12-beta
2020-02-28 11:54:03 +01:00
Jens Langhammer
45bd63c720
api: update old field names
2020-02-28 11:48:55 +01:00
Jens Langhammer
736e13fc35
ui: add template for csrf errors
2020-02-28 11:41:28 +01:00
Jens Langhammer
966fff008c
ui: re-enable branding on navbar
2020-02-28 11:37:07 +01:00
Jens Langhammer
64f15eadbd
providers/saml: fix CSRF errors with POST binding
2020-02-28 10:50:16 +01:00
Jens Langhammer
81b66ecdcd
core: remove some more dead code, add more help texts for factors
2020-02-27 16:39:30 +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
Jens Langhammer
9b72c604dd
docs: fix some typos
2020-02-27 13:00:55 +01:00
Jens Langhammer
5fb1b8044c
new release: 0.8.11-beta
2020-02-25 11:38:50 +01:00
Jens Langhammer
b8daab4377
providers/saml: fix AccessRequiredView.dispatch not being called
2020-02-25 11:38:26 +01:00
Jens Langhammer
c5b91bdae8
providers/saml: fix CannotHandleAssertion Error still being sent to sentry
2020-02-24 19:14:43 +01:00
Jens Langhammer
39a208c55f
providers/saml: fix wrong key being used for params
2020-02-24 17:48:03 +01:00
Jens Langhammer
a5bfef9b6b
providers/saml: fix leftover data in session, fix IdP initiated login
...
move can_handle calls to binding endpoints (/login/ and /login/initiate/), so that /login/authorize/ works either way, can clean up the session and audit
2020-02-24 17:34:52 +01:00
Jens Langhammer
f1f4cbef9b
lib/sentry: fix SentryIgnoredException not being ignored correctly
2020-02-24 17:01:31 +01:00
Jens Langhammer
8388120b06
new release: 0.8.10-beta
2020-02-24 15:30:57 +01:00
Jens Langhammer
2bf96828f1
root: fix logging.basicConfig being called by pyjwkest
2020-02-24 15:30:28 +01:00
Jens Langhammer
22838e66fe
providers/saml: fix users being able to authenticate without audit logs being created
2020-02-24 14:40:12 +01:00
Jens Langhammer
484dd6de09
providers/oidc: add error template
2020-02-24 14:19:02 +01:00