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
Daniel Sheppard
011a936a56
Fixes #10686 - Import cables using VC master device ( #12551 )
...
* Allow importing cables against master device for subordinate device interfaces
* Add tests
2023-05-12 09:07:51 -04:00
jeremystretch
b7f028fba3
Fixes #12550 : Fix rear port selection widget under front port creation form
2023-05-10 10:44:01 -04:00
Abhimanyu Saharan
57156f0e94
Adds stroke to the reservation ( #12506 )
...
* adds stroke to the reservation #11900
* fixed right side border
* Tweak reserved stroke style & add constants for colors
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-05-09 10:21:23 -04:00
Dillon Henschen
c55c14ea4c
Closes #11670 : Add ability to optionally import DeviceType and ModuleType weight ( #12512 )
...
* 11670: Add optional weight to DeviceType import
This is 1 of 2 commits to address issue #11670
To maintain consistency, the import design of the DeviceType weight follows the
same pattern used for importing weight and weight units in DCIM Racks.
* Closes #11670 : Add weight to ModuleType import
This is commit 2 of 2 to address and close #11670 .
To maintain consistency, the import design of the ModuleType weight follows the
same pattern used for importing weight and weight units in DCIM Racks.
* Merge tests; misc cleanup
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-05-09 09:59:42 -04:00
Abhimanyu Saharan
cb6852bf7a
adds CXP (100GE) #12323
2023-05-09 08:28:58 -04:00
Abhimanyu Saharan
896b19eaa3
adds parent device and bay position to table #12223
2023-05-05 15:23:28 -04:00
Abhimanyu Saharan
abdcfdecf5
Adds description to elevation device tooltip ( #12488 )
...
* adds description to elevation device tooltip #11801
* changes as per review
* changes as per review
* Rearrange attrs, add headings, and update docstring
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-05-05 09:09:21 -04:00
Luke Anderson
9d62174e1e
Fix #12245 - Add WLAN to InterfaceBulkEditForm
2023-05-05 08:41:40 -04:00
Abhimanyu Saharan
ea8a0135ad
Adds module status to module bay table ( #12455 )
...
* adds module status to module bay table #11652
* removed the extra line
* updated field name
2023-05-04 13:46:31 -04:00
Arthur
78ec3a6411
11504 add rack filter to elevation
2023-05-03 08:40:43 -04:00
Arthur
24650d9118
11422 add power-panel-name to quick search of power feeds
2023-05-03 08:36:12 -04:00
jeremystretch
1952707702
Fixes #12401 : Support the creation of front ports without a pre-populated device ID
2023-05-01 16:51:10 -04:00
jeremystretch
47f3023401
Fixes #12412 : Device/VM interface MAC addresses can be nullified via REST API
2023-05-01 13:06:10 -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
6109bef700
Merge branch 'develop' into feature
2023-04-27 12:11:08 -04:00
Jeremy Stretch
d39c796828
Merge pull request #12356 from netbox-community/11607-custom-field-cable
...
11607 make CableSerializer use WritableNestedSerializer
2023-04-27 09:30:30 -04:00
Arthur
5d4ef5e9e5
11607 make CableSerializer WritableNestedSerializer for to_internal value instantiation
2023-04-26 13:27:55 -07:00
jeremystretch
f49e4ee512
Merge branch 'develop' into feature
2023-04-26 15:09:51 -04:00
Arthur
1ad029712e
#11902 validate device on inventory item import
2023-04-26 14:22:37 -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
Arthur Hanson
38a0ed5e24
12255 inventory item device change ( #12311 )
...
* #12255 allow inventory items to change devices
* #12255 allow inventory item template to change devices
* #12255 fix init
* 12255 remove can_swtich from template model
* 12255 change to check module list
2023-04-21 12:36:11 -04:00
jeremystretch
2fcdc0ae6a
#10520 : Restore ability to edit platform NAPALM fields via UI
2023-04-21 11:21:42 -04:00
jeremystretch
7b374e4cf6
Fixes #12296 : Fix 'mark connected' form field for bulk editing front & rear ports
2023-04-19 17:25:32 -04:00
jeremystretch
c08c7dda50
Closes #12292 : Replace SelectSpeedWidget and SelectDurationWidget with NumberWithOptions
2023-04-18 16:33:43 -04:00
jeremystretch
014a5d10d1
Closes #12187 : Add button to download rendered config from UI
2023-04-17 16:37:02 -04:00
Jeremy Stretch
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
jeremystretch
59a6b3e71b
Merge branch 'develop' into feature
2023-04-12 17:38:16 -04:00
Arthur Hanson
8de252e34e
11432 device field ( #11567 )
...
* 11432 make device field on interface read-only on api edit call
* 11432 make device field on interface read-only on api edit call
* 11432 extend serializer change to mixin
* 11432 add readonlydevicemixin to template serializers
* 11432 change subclass ordering
* 11432 fix device_type for template serializers
* 11432 DRY
* 11432 DRY
* 11432 make internal var
* 11432 change to model-level validation
* 11432 fix fk accessor
* Clean up validation error messages
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-04-12 10:25:54 -04:00
jeremystretch
15a615d3a3
Optimize migrations
2023-04-11 16:08:41 -04:00
jeremystretch
6820796c10
Closes #10414 : Enable general purpose image attachments for device types
2023-04-10 16:43:40 -04:00
jeremystretch
f68a63255b
#11029 : Cleanup & changelog
2023-04-10 10:40:56 -04:00
Arthur Hanson
00714b23a2
11029 add changelog on CableTermination ( #11407 )
...
* 11209 add changelog on CableTermination
* Rename migration
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com >
2023-04-10 10:11:58 -04:00
Arthur Hanson
5a4feb7099
10615 filter cable termination_id with cable_end ( #12182 )
...
* 10615 filter cable termination_id with cable_end
* 10615 filter distinct
* 10615 filter distinct
2023-04-07 14:13:58 -04:00
jeremystretch
589d51e028
Merge branch 'develop' into feature
2023-04-07 13:58:56 -04:00
jeremystretch
a6fd0ab09a
#12007 : Move vlan & vlan_id filter methods to CommonInterfaceFilterSet
2023-04-07 13:58:12 -04:00
jeremystretch
08017c51f6
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
Abhimanyu Saharan
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
jeremystretch
085cfc58f4
Fixes #12184 : Fix filtered bulk deletion for various models
2023-04-07 10:25:36 -04:00
jeremystretch
ccfdc216a5
Fixes #12118 : Refactor bulk creation logic under _instantiate_components()
2023-04-06 17:01:46 -04:00
Arthur
0a2ae90411
12011 fix module bay bulk create
2023-04-04 16:34:51 -04:00
jeremystretch
b032742418
Closes #12133 : Move any instance mutations inside clean() to save()
2023-04-03 16:26:07 -04:00
Arthur Hanson
2883fa14de
Fixes #12074 : Move automatic location assignment out of clean()
...
* 12074 fix full clean
* 12074 move device location setting to save from clean
* 12074 fix set location only if present in rack
* Update base.py
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2023-04-03 15:22:36 -04:00
jeremystretch
872b70c2b5
Fixes #12145 : Employ HTMXSelect widget to fix inclusion of <select> field values during form regeneration
2023-04-03 12:49:26 -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
Arthur Hanson
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
jeremystretch
15590f1f48
Merge branch 'develop' into feature
2023-03-28 14:19:08 -04:00
kkthxbye
b12551c64b
Fixes #11991 - Add vdcs to InterfaceImportForm and InterfaceBulkEditForm ( #11996 )
...
* Add vdcs to InterfaceImportForm and InterfaceBulkEditForm
* Filter vdcs queryset by device when bulk importing interfaces
2023-03-28 13:20:23 -04:00
Arthur
87eabdbffb
12029 add description to virtual description add
2023-03-28 10:10:05 -04:00
Arthur Hanson
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