Jeremy Stretch
975a647d9a
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
f860345914
Misc cleanup
2023-11-27 10:37:47 -05:00
Jeremy Stretch
bf11f1db0d
Extend filterset forms
2023-11-27 09:52:58 -05:00
Jeremy Stretch
0066eed445
Use Django's import_string() to reference pipeline functions
2023-11-27 09:43:10 -05:00
Jeremy Stretch
e34eff2e87
Select RQ queue based on action object type
2023-11-27 09:40:17 -05:00
Jeremy Stretch
d14e868e46
Add action_object field to EventRuleSerializer
2023-11-27 09:32:32 -05:00
Jeremy Stretch
18422e1d26
Closes #14326 : Move form mixins ( #14327 )
...
* Move form mixins from extras app to netbox app
* Remove obsolete extras/admin.py
2023-11-22 13:49:26 -05:00
Arthur
bbd008e152
14132 add payload_url to webhook filterset
2023-11-21 11:22:24 -08:00
Arthur
92ab4a0a25
14132 fix serializer
2023-11-21 11:02:15 -08:00
Arthur
9c32a68a0f
14132 fix serializer
2023-11-21 10:02:20 -08:00
Arthur
245465a425
14132 re-add migration
2023-11-21 09:30:31 -08:00
Arthur
d6cc025f49
14132 review change
2023-11-21 09:22:29 -08:00
Arthur
5266109a3c
14132 fix merge
2023-11-21 09:20:46 -08:00
Arthur
ef29343205
Merge branch 'feature' into 14132-event-refactor-2
2023-11-21 09:19:50 -08:00
Arthur
568a5b8054
14132 change action_parameters to jsonfield
2023-11-21 09:19:24 -08:00
Arthur
7eb5371600
14132 review changes fix tests
2023-11-21 08:45:38 -08:00
Arthur
56a9210d6c
14132 review changes
2023-11-21 08:27:52 -08:00
Arthur
b3a702215a
14132 review changes
2023-11-20 15:27:13 -08:00
Jeremy Stretch
a73ba00aa0
Closes #13299 : Improve options for controlling custom field visibility ( #14289 )
...
* Add ui_visible and ui_editable fields
* Extend migration to map new visible/editable values
* Remove ui_visibility field
* Update docs
2023-11-20 13:06:34 -05:00
Arthur
bfc9a23e98
Merge branch 'feature' into 14132-event-refactor-2
2023-11-20 08:00:15 -08:00
Jeremy Stretch
5b40220239
Misc cleanup
2023-11-20 10:11:10 -05:00
Arthur Hanson
549b0ea107
Closes #8356 : Add virtual disk to Virtual Machines ( #14087 )
...
* 8356 add virtual disk model
* 8356 add supplemental forms
* 8356 add menu
* 8356 cleanup views
* 8356 virtual machine tab
* 8356 migrations
* 8356 vm disk tables
* 8356 cleanup
* 8356 graphql
* 8356 graphql
* 8356 add components button
* 8356 bulk add on virtualmachine
* 8356 bulk add fixes
* 8356 api tests
* 8356 news tests add rename
* 8356 VirtualDiskCreateForm
* 8356 fix test
* 8356 add todo to remove disk from vm
* 8356 review changes
* 8356 fix test
* 8356 deprecate disk field
* 8356 review changes
* 8356 fix test
* 8356 fix test
* Simplify view actions
* 8356 review changes
* 8356 split trans tag
* 8356 add total virtual disk size to api
* 8356 add virtual disk list to virtual machine detail view
* 8356 move virtual disk size to property
* 8356 revert property
* Tweak display of deprecated disk field
* 8356 render single disk field
* 8356 update serializer
* 8356 model property
* 8356 fix test
* 8356 review changes
* Revert disk space annotation
* Use existing disk field to store aggregate virtual disk size
* Introduce abstract ComponentModel for VM components
* Add search index for VirtualDisk
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-17 15:02:56 -05:00
Arthur
488f0c5427
14132 fix JSON field issue
2023-11-17 11:28:08 -08:00
Arthur
1d7aace56e
14132 add documentation
2023-11-17 10:29:06 -08:00
Arthur
ed203b1e39
14132 fix form field util
2023-11-17 07:19:35 -08:00
Pavel Korovin
e13bf48a35
Add /api/virtualization/virtual-machines/{id}/render-config/ endpoint ( #14287 )
...
* Add /api/virtualization/virtual-machines/{id}/render-config/ endpoint
* Update Docstring "Device" -> "Virtual Machine"
Docstring should mention "..this Virtual Machine" instead of "...this Device", thanks @LuPo!
* Move config rendering logic to new RenderConfigMixin
* Add tests for render-config API endpoint
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-17 08:32:58 -05:00
Arthur
33819839ee
14132 fix script event for user
2023-11-16 16:30:35 -08:00
Arthur
e9e0791e90
14132 form fixes
2023-11-16 14:08:22 -08:00
Arthur
d0a2529013
14132 form fixes
2023-11-16 14:07:01 -08:00
Arthur
bcb38d206c
14132 form fixes
2023-11-16 11:56:18 -08:00
Arthur
22c11c8123
14132 add description, comments fields
2023-11-16 11:19:02 -08:00
Arthur
ca0a567081
14132 fix imports
2023-11-16 10:14:22 -08:00
Arthur
bcf477a6c7
14132 review changes and fix feature merge conflicts
2023-11-16 09:39:14 -08:00
Jeremy Stretch
e767fec5cc
Closes #14173 : Enable plugins to register columns on core tables ( #14265 )
...
* Closes #14173 : Enable plugins to register columns on core tables
* Support translation for column name
* Document new registry store
2023-11-16 12:16:35 -05:00
Jeremy Stretch
e15647a2ce
Closes #14153 : Filter ContentTypes by supported feature ( #14191 )
...
* WIP
* Remove FeatureQuery
* Standardize use of proxy ContentType for models
* Remove TODO
* Correctly filter BookmarksWidget object_types choices
* Add feature-specific object type validation
2023-11-16 12:12:51 -05:00
Jeremy Stretch
69a4c31072
Closes #13794 : Dynamically populate related objects list under tenant view ( #14196 )
...
* Closes #13794 : Dynamically populate related objects list under tenant view
* get_related_models() should sort models alphabetically by default
* Reference Meta.related_objects instead of calling get_fields()
2023-11-16 12:02:32 -05:00
Arthur
dcb6483222
14132 review changes
2023-11-16 07:59:10 -08:00
Arthur
7a50706605
Merge branch 'feature' into 14132-event-refactor-2
2023-11-15 16:15:22 -08:00
Arthur
e9950459b4
14132 review changes
2023-11-15 16:14:55 -08:00
Jeremy Stretch
58136deeaf
Misc cleanup
2023-11-15 16:54:19 -05:00
Arthur
12b4bf80bc
14132 optimize flush_events
2023-11-15 08:34:41 -08:00
Arthur
a2f542774d
14132 fix test
2023-11-14 16:08:55 -08:00
Arthur
04866b47e6
14132 fix test
2023-11-14 16:08:09 -08:00
Arthur
6e7afd1020
14132 fix test
2023-11-14 15:48:19 -08:00
Arthur
90cf3c8b9d
14132 refactor pipeline code
2023-11-14 15:28:37 -08:00
Arthur
179564d6ff
14132 remove breakpoint
2023-11-14 09:28:16 -08:00
Arthur
48ed7cc91d
14132 fix runscript
2023-11-14 09:11:00 -08:00
Arthur
3dbdd47ada
14132 script run fixup
2023-11-13 15:53:00 -08:00
Arthur
f5615e5c8a
14132 fix tests
2023-11-13 13:22:49 -08:00
Arthur
4956203a29
14132 fix tests
2023-11-13 12:15:10 -08:00