Jeremy Stretch
e5d6c71171
Fixes #19633 : Log all evaluations of invalid event rule conditions ( #19885 )
...
CI / build (20.x, 3.10) (push) Waiting to run
CI / build (20.x, 3.11) (push) Waiting to run
CI / build (20.x, 3.12) (push) Waiting to run
* flush_events() should catch only import errors
* Fixes #19633 : Log all evaluations of invalid event rule conditions
* Correct comment
2025-07-15 10:25:25 -05:00
Jeremy Stretch
44a9350986
Closes #16886 : Dynamic event types ( #16938 )
...
* Initial work on #16886
* Restore GraphQL filter
* Remove namespace
* Add Event documentation
* Use MultipleChoiceField for event_types
* Fix event_types field class on EventRuleImportForm
* Fix tests
* Simplify event queue handling logic
* Misc cleanup
2024-07-22 08:12:04 -04:00
Julio Oliveira at Encora
5788b6cb28
Fixes #14829 Simple condition (without and/or) does not work in event rule ( #14870 )
2024-06-07 07:45:19 -07:00
kkthxbye
df499ea8ac
Fixes #11459 - Allow using null in conditions ( #11722 )
...
* Fixes #11459 - Allow using null in conditions
- Update docs to reflect this
- Change docs example from primary_ip to primary_ip4 as computed properties are not serialized when queuing webhooks
* Update netbox/extras/conditions.py
---------
Co-authored-by: Simon Toft <SITO@telenor.dk>
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-02-13 17:44:35 -05:00
jeremystretch
dcececf9c0
Improve documentation and testing for conditions
2021-11-03 14:02:43 -04:00
jeremystretch
0d84338e28
Add regex condition op
2021-10-25 10:14:18 -04:00
jeremystretch
35c967e6f7
Implement condition negation
2021-10-25 09:09:51 -04:00
jeremystretch
b92de63245
Improve validation
2021-10-25 09:01:05 -04:00
jeremystretch
7e26d92190
Introduce conditions & condition sets
2021-10-22 16:27:08 -04:00