Commit Graph

11892 Commits

Author SHA1 Message Date
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
Arthur
a43cbcb1c1 8356 fix tests 2023-11-13 09:59:46 -08:00
Arthur
005010e642 8356 fix tests 2023-11-09 17:55:30 -08:00
Arthur
5686b96499 8356 fix tests 2023-11-09 17:30:40 -08:00
Arthur
7fae20ca51 8356 fix tests 2023-11-09 14:28:21 -08:00
Jeremy Stretch
840b7d804c
Closes #13645: Make Sentry integration optional (#14197) 2023-11-09 16:33:35 -05:00
Jeremy Stretch
3d20276f55
Closes #14134: Display additional object attributes in global search results (#14154)
* WIP

* Add display_attrs for all indexers

* Linkify object attributes

* Clean up prefetch logic

* Use tooltips for display attributes

* Simplify template code

* Introduce get_indexer() utility function

* Add  to examples in docs

* Use tooltips to display long strings
2023-11-09 16:21:09 -05:00
Jeremy Stretch
2562c8745c Closes #14156: Add custom field support for contact assignments 2023-11-09 16:10:14 -05:00
Jeremy Stretch
ac91d4e5e5 Merge branch 'develop' into feature 2023-11-09 16:06:26 -05:00
Jeremy Stretch
d52a6d3b10 PRVB 2023-11-09 16:04:38 -05:00
Arthur
1453419779 8356 fix form, init fields 2023-11-09 13:01:10 -08:00
Jeremy Stretch
6ac25eeb65
Merge pull request #14238 from netbox-community/develop
Release v3.6.5
2023-11-09 16:00:56 -05:00