Jonathan Senecal
c79c664e96
Update choices.py to add C39 Type outlets
...
(cherry picked from commit e92d0ec2e642b00506a64c1333e95cea8a36feae)
2024-09-17 09:28:21 -04:00
Jeremy Stretch
114b8a2860
Fixes #17437 : Fix exception when specifying a bridge relationship on an interface template
2024-09-12 10:22:43 -04:00
amit177
93eea95735
Add NEMA L22-20
2024-09-10 08:48:38 -04:00
bchow
43b949779d
Closes #16926 Adds various USB cable types to front/rear ports and cable choices ( #16951 )
...
* Closes #16926 Adds various USB cable types to front/rear ports and cable choices
* Closes #16926 Changes USB cable types to reflect versions-physical differences. Updated human readable labels on USB front/rear ports to match style of usb console ports
* Closes #16926 Removes USB cable type choices in favor of single, generic 'USB' cable
2024-09-09 10:49:04 -04:00
Jeremy Stretch
a777850702
Merge branch 'develop' into feature
2024-09-03 11:59:59 -04:00
Jeremy Stretch
d18a853baa
Fixes #17337 : Fix ordering of virtual device contexts by device name
2024-09-03 08:58:13 -04:00
Daniel Sheppard
4fead1c85f
Fixes : #17310 - Properly restrict GraphQL related object queries ( #17312 )
...
* Fixes : #17310 - Fix GraphQL restriction of related objects
* Fix some failing tests
* Fix test
2024-08-30 14:22:58 -04:00
Arthur Hanson
8fff4e2a5d
12826 make RackType.form_factor required ( #17327 )
...
* 12826 make RackType.form_factor required
* 12826 fix tests
2024-08-30 13:43:07 -04:00
Arthur Hanson
829bef041d
11969 remove airflow from racktype ( #17324 )
...
* 11969 remove airflow from racktype
* 11969 remove airflow from racktype
* 11969 update docs
* 11969 fix rack edit
* Rename migration
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-08-30 13:30:51 -04:00
Jeremy Stretch
00d8eb40fc
#11969 : Cleanup ( #17308 )
...
* Shorten choice constant names
* Add filter tests for airflow
2024-08-29 15:47:11 -04:00
Jeremy Stretch
db6246a437
#10500 : Cleanup ( #17305 )
...
* Use MPTTColumn for module bays
* Fix return URLs
* Omit extraneous relationships from nested serializers
* Add note re: v4.1
2024-08-29 15:38:53 -04:00
Jeremy Stretch
6f7bf5baf4
Merge branch 'develop' into feature
2024-08-29 10:51:38 -04:00
bctiemann
a150e5d561
Fixes : #16905 - Allow filtering on Device Status in InventoryItemTable ( #17260 )
...
* Add device_status as filtering option (and configurable column) for InventoryItemTable
* Add device_status to common superclasses for Device Components, and refactor ChoiceFieldColumn to support a "color" callable allowing get_FOO_color behavior to be overridden
* Remove unnecessary 'device_status' in fields
* Add unit tests for device_status
2024-08-29 08:10:30 -04:00
Arthur Hanson
cac92352ca
17286 fix add member to virtual chassis
2024-08-28 12:29:04 -04:00
Daniel Sheppard
0464dacf7e
Fixes : #16292 - Properly restrict GraphQL queries for querys with pk set ( #17244 )
...
* Fixes : #16292 - Properly restrict GraphQL queries for querys with pk set
* Update netbox/netbox/settings.py
* Apply schema adaptations across all apps
* Extend GraphQL API tests
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-08-28 12:23:25 -04:00
Brian Tiemann
5bd4fc862d
Add a Devices column with device_count hyperlink (via count_related) to SiteListView
2024-08-22 13:03:49 -04:00
Brian Tiemann
38a26a7908
Add "facility" field to LocationFilterForm
2024-08-22 10:56:27 -04:00
Jeremy Stretch
e3d681be54
Closes #17143 : Deprecate the use of dedicated nested API serializers
2024-08-15 08:00:33 -04:00
Jeremy Stretch
8b91fb8d2d
Merge branch 'develop' into feature
2024-08-14 10:54:31 -04:00
Jeremy Stretch
5a9f9af2fa
Fixes #16871 : Sanitize device ID when bulk editing components to prevent exception
2024-08-14 07:43:10 -04:00
Matthew Mehrtens
7c9a77b77f
17006 Add Wi-Fi 7 IEEE 802.11be ( #17125 )
...
* Add .devcontainer to .gitignore
* Closes #17006 : Add Wi-Fi 7 IEEE 802.11be
* Revert out-of-scope change
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-08-12 08:03:46 -04:00
Arthur Hanson
34d20fccd5
17036 international messages ( #17041 )
...
* 17036 international messages
* 17036 fix typo
* 17036 fix _
* Misc cleanup & fixes
* More cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-08-10 11:47:06 -04:00
Arthur Hanson
f6c1642116
16176 Add UI for multi-termination cables
2024-08-10 10:30:56 -04:00
Arthur Hanson
796b9e84af
Closes #10500 : Introduce support for nested modules ( #16983 )
...
* 10500 add ModularComponentModel
* 10500 add ModularComponentModel
* 10500 add to forms
* 10500 add to serializer, tables
* 10500 template
* 10500 add docs
* 10500 check recursion
* 10500 fix graphql
* 10500 fix conflicting migration from merge
* 10500 token resolution
* 10500 don't return reverse
* 10500 don't return reverse / optimize
* Add ModuleTypeModuleBaysView
* Fix replication of module bays on new modules
* Clean up tables & templates
* Adjust uniqueness constraints
* Correct URL
* Clean up docs
* Fix up serializers
* 10500 add filterset tests
* 10500 add nested validation to Module
* Misc cleanup
* 10500 ModuleBay recursion Test
* 10500 ModuleBay recursion Test
* 10500 ModuleBay recursion Test
* 10500 ModuleBay recursion Test
* Enable MPTT for module bays
* Fix tests
* Fix validation of module token in component names
* Misc cleanup
* Merge migrations
* Fix table ordering
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-08-05 13:13:59 -04:00
Jeremy Stretch
0b77b3372c
Rename DeviceType.get_full_name to full_name
2024-08-01 09:14:03 -04:00
Arthur Hanson
d6f2fc7d29
17058 RackType name -> model ( #17059 )
...
* 17058 RackType name -> model
* 17058 RackType name -> model
* 17058 fix tests
* 17058 fix tests
2024-08-01 09:06:51 -04:00
Jeremy Stretch
c51e91dddd
Closes #17048 : Replace all calls to get_user_model() with direct imports of User
2024-08-01 08:17:51 -04:00
Arthur Hanson
1a6406632a
For #12826 add tests to RackTest filtersets for manufacturer and DeviceType
2024-08-01 13:59:20 +07:00
Jeremy Stretch
2168a73a2d
Display manufacturer & model of module type on module view
2024-07-31 14:40:05 -04:00
Jeremy Stretch
8d585031d8
Misc cleanup
2024-07-31 14:06:35 -04:00
Jeremy Stretch
da7d47d3ed
Add manufacturer filter for Rack; extend RackFilterForm
2024-07-31 14:06:07 -04:00
Jeremy Stretch
047d717532
Add missing table columns
2024-07-31 14:04:51 -04:00
Jeremy Stretch
a12fdd6e2d
Merge branch 'develop' into feature
2024-07-26 16:39:58 -04:00
Arthur Hanson
e62a42286a
11969 airflow ( #16967 )
...
* 11960 Add airflow
* 11960 Add airflow
* 11960 fix tests
* 11960 fix racktype form
* 11969 different choices type
* 11969 update docs
* 11969 fix racktype copy
* 11969 fix
* Misc cleanup & reordering of form fields
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-07-25 15:14:02 -04:00
Jeremy Stretch
424dda5be6
Closes #16933 : Enable toggling true/false marks on BooleanColumn
2024-07-19 07:54:41 -04:00
Arthur Hanson
5a6ffde67e
12826 Add Rack Type ( #16739 )
...
* 12826 add RackType
* 12826 add forms, filters, tables
* 12826 add to menu
* 12826 remove role
* 12826 add api/serializers
* 12826 add tests and fixes
* 12826 fix tests
* 12826 fix tests
* 12826 fix tests
* 12826 fix tests
* 12826 add device_type to device and instantiation
* 12826 test device creation
* 12826 add slug
* 12826 fix tests
* 12826 fix slug field
* 12826 prevent modification of rack fields if rack_type set
* 12826 update rack fields on rack_type edit
* Misc cleanup
* Update model docs
* Add manufacturer field to RackType
* Add test for mounting_depth
* Rename 'type' to 'form_factor'
* Create base classes for Rack & RackType models, serializers
* Hide RackType-defined fields on RackForm when a rack type is set
* Establish a base filter form for Rack & RackType
* Clean up RackType attr inheritance
* Clean up templates
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-07-16 08:58:22 -04:00
Thomas Fargeix
d39acfd3f2
Fixes 16536 - Fix filtering of device component by device role ( #16553 )
...
* Fixes 16536 - Fix filtering of device component by device role
Rename role and role_id fields to device_role and device_role_id in
DeviceComponentFilterSet
* Update tests for DeviceComponentFilterSet
* Use device_role filter name for DeviceComponentFilterSetTests
* Add test_device_role test in InventoryItemTestCase
2024-07-12 09:13:33 -04:00
Fabian Geisberger
4ea4e57f33
Fixes #16624 : Set allow_null=True on method fields that can return None
2024-07-12 09:03:40 -04:00
Arthur Hanson
013139aa20
16357 clone tenant and type for cable
2024-07-10 08:34:48 -04:00
Jeremy Stretch
02ae91589d
Merge branch 'develop' into feature
2024-07-09 15:16:05 -04:00
Jeremy Stretch
b18a6b7c59
Fixes #16779 : Fix saved filter selection for child object lists ( #16789 )
...
* Fixes #16779 : Fix saved filter selection for child object lists
* Omit label_suffix
2024-07-03 08:51:30 -04:00
siku4
a12259fae7
fix: add missing parent field to inventory item import form
2024-07-01 09:20:49 -04:00
Julio Oliveira at Encora
c506f60f12
16424 - Allow filtering of Devices by Cluster and Cluster Group ( #16674 )
...
* Allow filtering Devices by Cluster and Cluster Group.
* Allow filtering Devices by Cluster and Cluster Group.
* Added tests for cluster and cluster_groups filterset.
* Add missing filter & complete tests
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-06-26 10:13:32 -04:00
Julio Oliveira at Encora
b605dfcba0
16704 - Define a default help_text for ColorField ( #16708 )
...
* Added `help_text` to ColorField.
* Addressed PR comment to remove the redundant help_text from all the forms where ColorField was used.
* Add space before example value
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-06-26 09:14:08 -04:00
Arthur Hanson
52546608f6
15156 Add display_url to REST API ( #16412 )
...
* 15156 add display_url to REST API
* 15156 fix view name
* 15156 fix typo
* 15156 fix tests
* 15156 add url display_url to base class
* 15156 add url display_url to base class
* 15156 add url display_url to base class
* 15156 review changes
* 15156 review changes
* 15156 review changes
* 15156 review changes
* 15156 remove bogus code
* 15156 remove bogus code
* 15156 review changes
* 15156 review changes
* 15156 review changes
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com >
2024-06-25 09:59:58 -04:00
Jeremy Stretch
08ac5cd52c
Merge branch 'develop' into feature
2024-06-24 15:40:43 -04:00
Jeremy Stretch
f4ac23d868
Closes #16700 : Audit usage of mark_safe() for consistent escaping
2024-06-24 12:33:54 -04:00
Ryan Gillespie
582ede8ed3
Fixes #15717 - Unable to assign a VM in Site to Cluster without Site ( #15763 )
...
* Fixes #15717 : Allow VM with Site to Cluster without Site
* Fixes #15717 : Allow VM with Site to Cluster without Site
* Fixes #15717 : Allow VM with Site to Cluster without Site
* Fixes #15717 : Allow VM with Site to Cluster without Site
* Fixes #15717 : Allow VM with Site to Cluster without Site
2024-06-20 10:59:17 -04:00
Jeremy Stretch
9559349541
Fixes #16450 : Rack unit filter should be case-insensitive
2024-06-17 11:33:17 -04:00
Arthur Hanson
91dcecbd07
15106 Add Length Field to Wireless Link ( #16528 )
...
* 15106 add wireles link length
* 15106 add wireles link length
* 15106 add wireless link length
* 15106 add tests
* 15106 rename length -> distance
* 15106 rename length -> distance
* 15106 review comments
* 15106 review comments
* 15106 fix form
* 15106 length -> distance
2024-06-17 09:19:49 -04:00