Jens Langhammer
|
ef913abc7a
|
sources/ldap: add option to disable user sync, move connection init to model
|
2020-06-02 17:15:59 +02:00 |
Jens Langhammer
|
55fc5a6068
|
policies: rewrite cache_key to prevent wrong cache
# Conflicts:
# passbook/core/signals.py
# passbook/policies/engine.py
# passbook/policies/process.py
|
2020-06-02 17:06:18 +02:00 |
Jens Langhammer
|
7462d56182
|
policies/engine: add more verbosity
|
2020-06-02 16:56:58 +02:00 |
Jens Langhammer
|
1912b29dc5
|
policies/expression: fix lint error
|
2020-06-02 15:20:02 +02:00 |
Jens Langhammer
|
fe1ff7fc76
|
core: fix form not showing general errors
|
2020-06-01 19:08:01 +02:00 |
Jens Langhammer
|
82d12ecfdf
|
policies/expression: use pb_message() for messages instead of returning a tuple
|
2020-06-01 15:25:38 +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 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
|
b3c54308b7
|
policies/expression: validate syntax on form clean
|
2020-05-20 16:13:36 +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
|
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
|
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
|
b907105f4a
|
policies/expression: expose python requests via expression, remove webhook policy
|
2020-05-15 12:02:41 +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
|
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
|
80c3246333
|
policies/expression: add pb_flow_plan variable
|
2020-05-13 18:44:36 +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
|
3456527f10
|
providers/saml: fix minor typing issue
|
2020-05-09 20:54:11 +02:00 |
Jens Langhammer
|
08c0eb2ec6
|
admin: add flows
|
2020-05-08 18:45:53 +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
|
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
|
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
|
4daa70c894
|
core: fix saving of policy not correctly clearing it's cache
|
2020-02-24 13:15:52 +01:00 |
Jens Langhammer
|
f8599438df
|
ui: fix lists not being rendered correctly
|
2020-02-24 13:13:42 +01:00 |
Jens Langhammer
|
2b5fddb7bf
|
policies: add unittests for evaluator
|
2020-02-23 15:54:26 +01:00 |
Jens Langhammer
|
83da175749
|
policies/expression: add pb_client_ip field
|
2020-02-22 19:26:16 +01:00 |
Jens Langhammer
|
a09a1793ec
|
ui: update templates for jinja2-related fields
|
2020-02-21 15:36:37 +01:00 |
Jens Langhammer
|
d988f37afc
|
lib: add SentryIgnoredException, to easily ignore exceptions from sentry
|
2020-02-20 21:38:53 +01:00 |
Jens Langhammer
|
2bef5f3911
|
policies: struct -> types to match core
|
2020-02-20 13:52:05 +01:00 |
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
|
995615d0a0
|
policies/expression: Return False if Policy returns Undefined and log warning
|
2020-02-19 16:19:02 +01:00 |
Jens Langhammer
|
38ad8e5fd3
|
policies/expression: fix pb_is_sso_flow
|
2020-02-19 11:01:20 +01:00 |
Jens Langhammer
|
8b2ce5476a
|
policies/expression: add annotation to update docs, name jinja filters/funcs more clearly
|
2020-02-19 10:23:42 +01:00 |
Jens Langhammer
|
1b82283a20
|
docs: update policy types, add docs for expression policies
|
2020-02-19 10:21:28 +01:00 |
Jens Langhammer
|
7f3d0113c2
|
policies: remove redundant policies which can be easily implemented with expressions
|
2020-02-19 09:51:15 +01:00 |
Jens Langhammer
|
5b79b3fd22
|
policies/expression: move evaluation code into separate class
|
2020-02-19 09:49:38 +01:00 |
Jens Langhammer
|
9267d0c1dd
|
all: general maintenance, prepare for pyright
|
2020-02-18 22:12:51 +01:00 |
Jens Langhammer
|
4e8238603a
|
all: cleanup logging to be structured
|
2020-02-18 21:35:58 +01:00 |