Jeremy Stretch
914588f55d
Merge branch 'develop' into feature
2023-08-09 15:31:21 -04:00
Abhimanyu Saharan
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
Abhimanyu Saharan
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
Jeremy Stretch
d52c18ce38
Merge branch 'develop' into feature
2023-07-28 10:36:09 -04:00
Abhimanyu Saharan
7158360dfa
moves non-racked devices to tab #11803
2023-07-28 08:59:15 -04:00
Jeremy Stretch
5b5444f414
Closes #13269 : Cache component template counts on device types
2023-07-25 16:38:05 -04:00
Jeremy Stretch
daa8f71bb6
Closes #10197 : Add a cached counter field for virtual chassis members
2023-07-25 15:50:12 -04:00
Jamie (Bear) Murphy
154b8236a2
Oob ip (devices) ( #13013 )
...
* initial oob_ip support for devices
* add primary ip and oob ip checkmark to ip address view
* add oob ip to device view and device edit view
* pep8
* make is_oob_ip and is_primary_ip generic for other models
* refactor oob_ip
* fix oob ip signal
* string capitalisation
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-07-25 14:40:40 -04:00
Arthur Hanson
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
Anthony Brissonnet
860be780ad
Fix #12579 create cable and add another error ( #13007 )
...
* fix create cable and add another error #12579
* fix return proper parent object field
* improve code and wokflow
---------
Co-authored-by: netopsab <abrisson@cerbere.rp.sig .u-bourgogne.fr>
2023-07-06 09:28:45 -04:00
Sudheesh Singanamalla
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
Abhimanyu Saharan
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
kkthxbye-code
6206d226ae
Fix the filtervar being set to site_id instead of site in SiteView related_models
2023-05-01 07:15:00 +02:00
jeremystretch
f49e4ee512
Merge branch 'develop' into feature
2023-04-26 15:09:51 -04:00
PieterL75
b693123f6e
Fixes #10987 : Show rack-list dropdown in rack ( #11779 )
...
* Intial. 2 ways the racknavigation displayed
* show active rack in dropdown
* auto hide/show when viewport reduces
* Dropdown only
* Update links to use get_absolute_url()
---------
Co-authored-by: Pieter Lambrecht <pieter.lambrecht@sentia.com >
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-04-24 12:01:33 -04:00
jeremystretch
014a5d10d1
Closes #12187 : Add button to download rendered config from UI
2023-04-17 16:37:02 -04:00
jeremystretch
08017c51f6
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
jeremystretch
085cfc58f4
Fixes #12184 : Fix filtered bulk deletion for various models
2023-04-07 10:25:36 -04:00
jeremystretch
2805633b16
Fixes #12144 : Ensure consistent treatment of context data when rendering config templates via UI & API
2023-04-03 09:50:07 -04:00
jeremystretch
00088cba6d
#11559 : Add device config API endpoint & cleanup
2023-03-21 17:00:06 -04:00
Jeremy Stretch
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
Arthur Hanson
36771e821c
10520 remove Napalm code references ( #11768 )
...
* 10520 remove all Napalm code references
* 10520 remove lldp
* 10520 remove config, status - rebuild js
* 10520 re-add config parameters
* 10520 re-add serializer
* 10520 update docs
2023-02-24 15:38:50 -05:00
Jeremy Stretch
73a7a2d27a
Closes #11559 : Implement config template rendering ( #11769 )
...
* WIP
* Add config_template field to Device
* Pre-fetch referenced templates
* Correct up_to_date callable
* Add config_template FK to Device
* Update & merge migrations
* Add config_template FK to Platform
* Add tagging support for ConfigTemplate
* Catch exceptions when rendering device templates in UI
* Refactor ConfigTemplate.render()
* Add support for returning plain text content
* Add ConfigTemplate model documentation
* Add feature documentation for config rendering
2023-02-19 20:09:52 -05:00
jeremystretch
2525eefefd
Move rack reservations panel to separate tab
2023-02-19 20:09:51 -05:00
jeremystretch
0f6995e92a
Use embedded table to show assigned services under object view
2023-02-19 20:09:51 -05:00
jeremystretch
8f7c100e22
Standard related object links across all models
2023-02-19 20:09:51 -05:00
jeremystretch
48e5b395b2
Standardize linking to related objects in tables
2023-02-19 20:09:51 -05:00
jeremystretch
94797bb956
Standardize related model display for organizational models
2023-02-19 20:09:51 -05:00
jeremystretch
91b81d51da
Standardize related model display for nested models
2023-02-19 20:09:51 -05:00
jeremystretch
0c9e7aa074
Clean up related objects for sites, tenants
2023-02-19 20:09:51 -05:00
Jeremy Stretch
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
jeremystretch
ccc108a217
Closes #11598 : Add buttons to easily switch between rack list and elevations views
2023-01-26 10:53:59 -05:00
jeremystretch
22a9df82e6
Closes #11554 : Add module types count to manufacturers list
2023-01-26 08:46:25 -05:00
jeremystretch
b8de9c0875
Fixes #11528 : Permit import of devices using uploaded file
2023-01-25 09:55:45 -05:00
Abhimanyu Saharan
ddd4f805a5
added device and vm tab on device role ( #11500 )
...
* added vm tab on device role
* added blank lines
* updated templates
* fixed lint issues
2023-01-20 09:30:18 -05:00
jeremystretch
8565d175f9
Fixes #11467 : Correct count on interfaces tab when viewing a VC master device
2023-01-12 09:05:55 -05:00
kkthxbye
effcdb8723
Snapshot DeviceBay before populating/depopulating.
2023-01-09 08:39:54 -05:00
kkthxbye
b9f8370097
Fixes #11156 - Allow InventoryItem component reassignment ( #11256 )
...
* Allow re-assigning InventoryItem components
* Refactor logic for finding initial component assignment on InventoryItems
* PEP8 fix
* Fix wrong HTML causing tab list to extend past the end of the parent row
* Tweak form field labels
Co-authored-by: jeremystretch <jstretch@ns1.com >
2023-01-03 10:13:34 -05:00
Mario
ccb2966c4c
Fixes #11244 : Elevations: Filter badge missing ( #11321 )
...
* Added filter badge in rack elevation
* Tweak template context
Co-authored-by: Jeremy Stretch <jstretch@ns1.com >
2022-12-28 16:54:33 -05:00
jeremystretch
13d39a28ce
#7854 : Misc cleanup
2022-12-12 12:34:05 -05:00
jeremystretch
83a0576ca4
#9072 : Add weight parameter to influence ViewTab ordering
2022-12-09 14:50:13 -05:00
jeremystretch
5a77791f9d
Merge branch 'develop' into feature
2022-12-08 09:31:22 -05:00
Renato Almeida de Oliveira
d4d8d00d01
add distinct method to circuit_count
2022-12-06 15:19:35 -05:00
jeremystretch
d0e0c2ff8b
Merge branch 'develop' into feature
2022-11-30 16:21:20 -05:00
jeremystretch
00d72f18cf
Annotate need for natural ordering
2022-11-30 15:33:01 -05:00
Arthur
b36afdc924
11014 code review changes
2022-11-30 15:33:01 -05:00
Arthur
4ed45e4031
11014 fix rack elevation name sorting
2022-11-30 15:33:01 -05:00
kkthxbye-code
977b79ecee
Check that device has a platform set before rendering napalm tab
2022-11-17 08:25:06 -05:00
jeremystretch
80f5c96af3
Document save_object() on BulkImportView
2022-11-16 08:47:45 -05:00
jeremystretch
23c0ca456f
#4347 : Rename NetBoxModelCSVForm to NetBoxModelImportForm
2022-11-15 12:24:57 -05:00