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
|
b3c54308b7
|
policies/expression: validate syntax on form clean
|
2020-05-20 16:13:36 +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
|
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
|
80c3246333
|
policies/expression: add pb_flow_plan variable
|
2020-05-13 18:44:36 +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
|
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
|
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
|
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
|
5b79b3fd22
|
policies/expression: move evaluation code into separate class
|
2020-02-19 09:49:38 +01:00 |
Jens Langhammer
|
9f00843441
|
policies/expression: add Expression based policy
|
2020-02-18 15:12:50 +01:00 |