792b353f64
Fixes #14363 : Fix bulk editing of interfaces assigned to VM with no cluster
2023-11-29 15:23:35 -05:00
6b89da2233
Closes #13936 : Add primary_ip4 and primary_ip6 filters to VirtualMachine and VirtualDeviceContext filtersets ( #14203 )
...
* Add primary_ip4 and primary_ip6 filters for VirtualMachine and VirtualDeviceContext filtersets (#13936 )
* Add PrimaryIPFilterSet to __all__
---------
Co-authored-by: Artem I. Kotik <artem.i.kotik@ringcentral.com>
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-11-09 09:56:43 -05:00
092f2b06ab
Enhance Virtual Machine and Device Platform Filter with Manufacturer Information ( #14047 )
...
* Add manufacturer for filters in the virtual machine and device #12741
* reverse the filtersets of device and vm
* revert the filtersets of vm
* add advance selector in platform
* remove manufacture from imports
2023-11-09 09:55:44 -05:00
b0541be107
13745 device type migration ( #13747 )
...
* 13745 update migrations to use batch_size
* 13745 update migrations to use subquery update
* 13745 refactor and update other counter migrations
2023-09-18 09:59:26 -04:00
679cc8fdda
Fixes #13596 : Always display "render config" tab for devices & VMs
2023-08-31 14:36:03 -04:00
aebf3288d1
Fixes #13605 : Specify batch size for cached counter migrations ( #13610 )
...
* Specify batch size for cached counter migrations
* Remove list() casting of querysets
2023-08-30 09:18:24 -04:00
2a4e3dd09f
Merge branch 'develop' into feature
2023-08-29 10:45:55 -04:00
3090dd4934
Fixed permission for config context UI view ( #13547 )
...
* fixed permission for config context UI view #13543
* removed extras.view_configcontext permission #13543
2023-08-24 14:13:31 -04:00
752e26c7de
Adds config template to vm model ( #13450 )
...
* adds config template to vm model #12461
* Add translation tags; collapse config data
* i18n cleanup
* Establish parity with DeviceRenderConfigView
* Move config_template field to RenderConfigMixin
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-08-14 15:43:28 -04:00
914588f55d
Merge branch 'develop' into feature
2023-08-09 15:31:21 -04:00
545769ad88
Adds generic object children template ( #13388 )
...
* adds generic tab view template #12110
* Rename view_tab.html and move to generic/
* Fix console ports template
* Move bulk operations view resolution to template
* Avoid setting default template_name on ObjectChildrenView
* Move base_template and table_config context vars to base context
* removed bulk_delete_control from templates
* refactored bulk_controls view
* fixed table_config
* renamed object_tab.html to objectchildren_list.html
* removed unused import
* Refactor template blocks for bulk operation buttons
* Rename object children generic template
* Move disconnect bulk action into a separate template for device components
* Fix cluster devices & VM interfaces views
* minor button label change
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-08-09 14:16:03 -04:00
2afce6c94b
Introduce ContactsMixin
2023-08-04 10:15:50 -04:00
caedc8dbe3
Closes #13352 : Translation support for model verbose names ( #13354 )
...
* Update verbose_name & verbose_name_plural Meta attributes on all models
* Alter makemigrations to ignore verbose_name & verbose_name_plural changes
2023-08-03 10:41:10 -04:00
0bb86f1e7d
Replaces device_role with role on device model ( #13342 )
...
* replaces device_role with role on device model #6391
* fixes lint issue #6391
* revert the database user
* revert test_runner comment
* changes as per review
* Update references to device_role column in UserConfigs
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-08-02 09:55:52 -04:00
e625a5667c
Closes #13279 : Wrap choice labels with gettext()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-31 17:31:07 -04:00
e284cd7e54
Closes #13150 : Wrap table column headers with gettext()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-31 14:35:28 -04:00
b7a9649269
Closes #13149 : Wrap form field labels with gettext_lazy()
...
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-31 12:52:38 -04:00
83bebc1bd2
Closes #13132 : Wrap verbose_name and other model text with gettext_lazy() (i18n)
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-31 11:28:07 -04:00
149a496011
6347 Cache the number of each component type assigned to devices/VMs ( #12632 )
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-25 09:39:05 -04:00
c5f71c0c19
Fixes #12847 - Include Missing Add buttons to Views
...
Signed-off-by: Sudheesh Singanamalla <sudheesh@cs.washington.edu>
2023-06-14 10:05:43 -07:00
fa3bedb947
Fixes #12642 : Fix bulk tenant assignment via cluster import form
2023-05-22 13:07:40 -04:00
4eb5e90ccc
Adds contact tabs ( #12460 )
...
* adds contact tabs #11599
* fixed lint issues
* changes as per review
* changes as per review
* replaces generic object template with base template
2023-05-12 10:26:26 -04:00
47f3023401
Fixes #12412 : Device/VM interface MAC addresses can be nullified via REST API
2023-05-01 13:06:10 -04:00
15d80f4e1b
12195 remove incorrect null=True on choice fields
2023-04-21 12:23:07 -04:00
d470848b29
Closes #12246 : General cleanup of utilities modules
...
* Clean up base modules
* Clean up forms modules
* Clean up templatetags modules
* Replace custom simplify_decimal filter with floatformat
* Misc cleanup
* Merge ReturnURLForm into ConfirmationForm
* Clean up import statements for utilities.forms
* Fix field class references in docs
2023-04-14 10:33:53 -04:00
08017c51f6
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
c26fe266cc
Moved interface filterset under common class ( #12200 )
...
* moved interface filterset under common class #12007
* lint fix
2023-04-07 10:54:39 -04:00
085cfc58f4
Fixes #12184 : Fix filtered bulk deletion for various models
2023-04-07 10:25:36 -04:00
b032742418
Closes #12133 : Move any instance mutations inside clean() to save()
2023-04-03 16:26:07 -04:00
872b70c2b5
Fixes #12145 : Employ HTMXSelect widget to fix inclusion of <select> field values during form regeneration
2023-04-03 12:49:26 -04:00
ecd0c56554
Closes #9608 : Move from drf-yasg to spectacular
...
Co-authored-by: arthanson <worldnomad@gmail.com>
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-30 14:32:59 -04:00
c57d71a9db
11291 optimize GraphQL queries ( #11943 )
...
* 11291 initial optimize graphql queries
* 11291 add optimizer to schemas
* 11291 cleanup fields.py
* 11291 fix fragment query
2023-03-23 08:42:18 -04:00
00088cba6d
#11559 : Add device config API endpoint & cleanup
2023-03-21 17:00:06 -04:00
206d578bc3
Closes #10242 : Redirect to filtered objects list after bulk import ( #12001 )
...
* Redirect user to filtered objects list after bulk import
* Remove obsolete table attribute from bulk import views
2023-03-17 09:23:40 -04:00
d1f76bec37
Closes #10054 : Implement advanced UI controls for object selection ( #11952 )
...
* WIP
* WIP
* WIP
* Make object selector functional
* Replace extraneous form fields with selector widgets
* Avoid overlap with filterset field names
* Show checkmarks next to visibile filters
* Update results automatically when searching
* Include selector for device/VM component parent fields
* Use selector for filtering VLAN group/site
* Limit selector to 100 results
2023-03-13 12:44:26 -04:00
2a9178af12
Merge branch 'develop' into feature
2023-03-13 11:58:37 -04:00
fa60f9d2a8
Closes #11294 : Markdown Preview ( #11894 )
...
* MarkdownWidget
* Change border and color of active markdown tab
* Fix template name typo
* Add render markdown endpoint
* Static assets for markdown widget
* widget style fix and unique ids based on name
* Replace SmallTextArea with SmallMarkdownWidget
* Clear innerHTML before swapping
* render markdown directly in template
* change render markdown view path
* remove small markdown widget
* Simplify rendering logic
* Use a form to clean input Markdown data
---------
Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2023-03-09 08:21:13 -05:00
c44eb65993
Closes #11325 : Move help_texts from model forms to models
2023-03-01 17:31:54 -05:00
6ea30798bf
#10058 : Enable primary IP search for virtual machines too
2023-02-27 14:41:34 -05:00
c84f0de8f8
#11625 : Employ HTMX form rendering for device & VM interfaces
2023-02-19 20:09:52 -05:00
b9bd96f0c7
Closes #11765 : Remove StaticSelect & StaticSelectMultiple ( #11767 )
...
* Remove StaticSelect, StaticSelectMultiple form widgets
* Tag custom ChoiceField, MultipleChoiceField classes for removal in v3.6
2023-02-19 20:09:51 -05:00
8d68b6a2e6
Fixes #11694 - Remove obsolete SmallTextarea widget
2023-02-19 20:09:51 -05:00
0f6995e92a
Use embedded table to show assigned services under object view
2023-02-19 20:09:51 -05:00
94797bb956
Standardize related model display for organizational models
2023-02-19 20:09:51 -05:00
1a2dae3471
Closes #8184 : Enable HTMX for embedded tables ( #11518 )
...
* Enable HTMX rendering for embedded tables
* Start converting embedded tables to use HTMX (WIP)
* Additional table conversions (WIP)
* Standardize HTMX usage for nested group models
* Enable HTMX for additional emebedded tables
* Fix HTMX table rendering for ObjectChildrenView
* Standardize usage of inc/panel_table.html
* Hide selection boxes in embedded tables
2023-02-19 20:09:51 -05:00
4bfc3bf412
#11118 : Extend L2VPN filters to device & VM interfaces
2023-01-20 09:58:58 -05:00
19da92b510
#11488 : Additional cleanup
2023-01-17 10:26:34 -05:00
beb1f4e172
added missing description field on the api serializers
2023-01-17 10:20:34 -05:00
735fa4aa31
Add summed resource card to cluster view
2022-12-27 10:24:46 -05:00
8809fc949b
Fixes #11154 : Index VM interface MAC address and MTU for global search
2022-12-12 10:43:48 -05:00