Jeremy Stretch
93edf74f7c
Fixes #14945 : Fix "select all" button for device type components ( #15027 )
2024-02-05 13:05:25 -05:00
Jeremy Stretch
1f2f0860fe
Merge branch 'develop' into feature
2023-12-27 16:34:38 -05:00
Jeremy Stretch
b955751349
Fixes #14517 : Ensure reservations tab is always displayed under rack view
2023-12-27 13:42:26 -05:00
Jeremy Stretch
ac91d4e5e5
Merge branch 'develop' into feature
2023-11-09 16:06:26 -05:00
Abhimanyu Saharan
0603dd1be4
Adds inventory item children view ( #14217 )
...
* adds inventory item children view #14112
* Use existing child_items relation
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-11-09 08:47:24 -05:00
Jeremy Stretch
944008d475
Closes #12135 : Prevent the deletion of interfaces with children ( #14091 )
...
* Closes #12135 : Prevent the deletion of interfaces with children
* Change PROTECT to RESTRICT
* Extend handle_protectederror() to also handle RestrictedError
* Fix string translation
* Update migrations
* Support bulk removal of parent interfaces via UI if all children are included
* Add support for the bulk deletion of restricted objects via REST API
2023-11-01 13:47:14 -04:00
Jeremy Stretch
450790ab4a
Closes #13550 : Refactor view action mappings ( #14062 )
...
* Merge actions and action_perms into a single mapping
* Update obsolete permission maps
* Update obsolete action lists
* Normalize empty permission mappings
* Cleanup
* Add deprecation warnings
* Introduce DEFAULT_ACTION_PERMISSIONS constant
2023-10-20 15:08:09 -04:00
Daniel Sheppard
06ed7ac8a5
Fixes : #14023 - Fixes bulk disconnecting with multiple components attached to the same cable ( #14029 )
...
* Fixes : #14023 - Fixes bulk disconnecting with multiple components attached to the same cable
* Update netbox/dcim/views.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* Update netbox/dcim/views.py
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
* Update netbox/dcim/views.py
Co-authored-by: Daniel Sheppard <dans@dansheps.com >
* Code cleanup & i18n fix
* Restore original termination count logic
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-10-13 13:57:58 -04:00
Abhimanyu Saharan
004daca862
Adds rename button on the list page for device components ( #13564 )
...
* adds interface rename button on the list page #13444
* adds rename view on all device components #13564
* Condense component views to a single template
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-09-01 16:58:31 -04:00
Jeremy Stretch
679cc8fdda
Fixes #13596 : Always display "render config" tab for devices & VMs
2023-08-31 14:36:03 -04:00
Jeremy Stretch
2a4e3dd09f
Merge branch 'develop' into feature
2023-08-29 10:45:55 -04:00
Arthur Hanson
29877c9abe
12489 Use HTMX for Location and Non-Racked Devices in Site detail view ( #12491 )
...
* 12489 use htmx for site view locations and non-racked-devices
* 12489 remove now unused queries in context
* adds device type and role to device component filter #12015
* Revert "Fixes #12463 : Fix the association of completed jobs with reports & scripts in the REST API"
This reverts commit a29a07ed26 .
* 12489 update nonracked_devices on rack and location templates
* 12489 fix whitespace issue
* Undo errant commits
* 12489 update site id in templates
* 12489 remove nonracked_devices include
* 12489 add has_position filter
* Use empty lookup for position field
* Remove non-racked devices list from rack view (was moved to a tab)
* Clean up location and device tables
* Restore plugins block on rack template
---------
Co-authored-by: Abhimanyu Saharan <desk.abhimanyu@gmail.com >
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-08-28 16:03:35 -04:00
Abhimanyu Saharan
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
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