Arthur Hanson
d6a9f302ac
14147 Prevent logging to Change Log when no changes are made ( #14477 )
...
* 14147 Prevent logging to Change Log when no changes are made
* 14147 add test
* 14147 add exclude_fields to serialize_object
* 14147 make skip empty default to True
* 14147 remove override of to_objectchange
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-12-15 15:17:45 -05:00
Jeremy Stretch
5137b8b944
Closes #14365 : Introduce job_start and job_end signals ( #14393 )
...
* Introduce job_start and job_end signals, and receivers to process event rules
* Complete signals documentation
2023-11-30 19:36:41 -05:00
Arthur Hanson
8cfb44fd4b
14132 Add EventRule - change webhook and add in script processing to events ( #14267 )
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-30 16:36:33 -05:00
Jeremy Stretch
7a061ab6a3
Closes #14312 : Move ConfigRevision to core ( #14328 )
...
* Move ConfigRevision model & write migrations
* Move ConfigRevision resources from extras to core
* Extend migration to update original content type for ConfigRevision
2023-11-27 16:09:05 -05:00
Jeremy Stretch
3240034743
Initial work on #10244 : Protection rules ( #14097 )
2023-10-30 14:36:56 -04:00
Jeremy Stretch
21dfda12f2
Closes #11541 : Support for limiting tag assignments by object type ( #12982 )
...
* Initial work on #11541
* Merge migrations
* Limit tags by object type during assignment
* Add tests for object type validation
* Fix form field parameters
2023-06-23 14:08:14 -04:00
jeremystretch
0b66de0302
Fixes #6389 : Call snapshot() on object when processing deletions
2022-11-17 21:04:55 -05:00
jeremystretch
11321bae46
Permanently connect change logging & webhook receivers
2022-11-14 09:31:25 -05:00
jeremystretch
0c98740663
Use context vars instead of thread-local storage for change logging
2022-11-14 09:31:25 -05:00
jeremystretch
0872badd1f
Merge branch 'develop' into feature
2021-11-24 14:00:37 -05:00
jeremystretch
e169f21c74
Move request object and webhook queue to TLS
2021-11-17 15:12:19 -05:00
jeremystretch
cb549e15a3
Move CUSTOM_VALIDATORS to dynamic configuration
2021-11-08 15:22:29 -05:00
jeremystretch
73150f1551
Closes #7619 : Permit custom validation rules to be defined as plain data or dotted path to class
2021-11-08 14:52:56 -05:00
jeremystretch
62a5f2ffbd
Extend admin UI to allow restoring previous config revisions
2021-10-27 14:05:49 -04:00
jeremystretch
b79be9712a
Ensure bootstrapping of config on start
2021-10-26 16:45:53 -04:00
jeremystretch
914304c580
Initial work on #5883
2021-10-25 16:10:50 -04:00
jeremystretch
b4fc9dcd36
Merge branch 'develop' into feature
2021-08-23 13:23:39 -04:00
jeremystretch
ef90974f8d
Fixes #6776 : Fix erroneous webhook dispatch on failure to save objects
2021-08-23 12:06:43 -04:00
jeremystretch
dd8d01e5cf
Fixes #6686 : Force assignment of null custom field values to objects
2021-08-16 14:38:06 -04:00
jeremystretch
532d216120
Remove cacheops workarounds & queryset caching metrics
2021-07-07 17:15:42 -04:00
jeremystretch
64a948c350
Closes #6590 : Introduce a nightly housekeeping command to clear expired sessions and change records
2021-06-11 10:44:17 -04:00
jeremystretch
2763ed6f3e
Initial work on custom model validation
2021-06-09 11:36:29 -04:00
jeremystretch
dcd51763a1
Update post-change snapshot for M2M changes
2021-06-01 09:30:54 -04:00
jeremystretch
b25ebb0f78
Extend webhook create/update/delete tests
2021-06-01 09:04:01 -04:00
jeremystretch
a24e4780c6
Initial work on #6284
2021-05-28 16:07:27 -04:00
jeremystretch
d2e74af032
Merge branch 'develop' into feature
2021-04-15 15:46:48 -04:00
jeremystretch
66b07a6be3
Fixes #5652 : Update object data when renaming a custom field
2021-04-15 12:04:34 -04:00
jeremystretch
087b55ba43
Merge branch 'develop' into feature
2021-04-13 16:41:46 -04:00
jeremystretch
79568fd653
Fixes #6056 : Optimize change log cleanup
2021-04-13 13:48:22 -04:00
jeremystretch
15d3db817a
Fixes #5583 : Eliminate redundant change records when adding/removing tags
2021-04-13 10:14:25 -04:00
jeremystretch
995446bc57
Remove redundant prechange_data assignments
2021-04-02 15:21:11 -04:00
Jeremy Stretch
1fbff074f7
Fixes #5913 : Improve change logging ( #5924 )
...
* Initial work on #5913
* Provide per-line diff highlighting
* BulkDeteView should delete objects individually to secure a pre-change snapshot
* Add changelog tests for bulk operations
2021-03-04 13:06:04 -05:00
Jeremy Stretch
8d437d80cb
#4711 : Rename CustomField.obj_type to content_types
2020-10-14 15:26:46 -04:00
Jeremy Stretch
abbea95b32
Clean up stale data when a custom field is changed/deleted
2020-09-16 17:03:31 -04:00
Jeremy Stretch
03299f038c
Move housekeeping to _handle_changed_object()
2020-08-18 09:13:07 -04:00
Jeremy Stretch
b545bca3e0
Cache custom fields on instance prior to save()
2020-08-17 11:08:14 -04:00
Jeremy Stretch
b43c657465
Move ObjectChange creation into signal receivers
2020-08-14 17:03:45 -04:00
Jeremy Stretch
15a0240df0
Fix errant changelog entries when executing a script without committing
2019-08-26 11:59:38 -04:00
John Anderson
5489f42681
closes #3104 - add support for exposing prometheus metrics
2019-04-25 01:09:19 -04:00