Commit Graph

3062 Commits

Author SHA1 Message Date
jeremystretch
75732a175c Replace static journaling, changelog URL paths with dynamic resolution 2022-10-06 16:21:23 -04:00
jeremystretch
cd34f23465 Merge branch 'develop' into feature 2022-10-05 10:28:48 -04:00
Arthur Hanson
200d295660 8424 device location (#10544)
* 8424 fix merge

* 8424 fix merge

* 8424 fix merge

* 8424 fix merge
2022-10-03 13:55:05 -04:00
jeremystretch
8d6c315513 Fixes #10513: Disable the reassignment of a module to a new device 2022-10-03 11:11:51 -04:00
Patrick Hurrelmann
16c33475d7 Fixes: #10465 Format all remaining displayed rackunits with floatformat (#10481)
* Fixes: #10465 Try to finish #10268 and format all remaining displayed rackunits with floatformat

* #10465: PEP8 fix

Co-authored-by: Patrick Hurrelmann <patrick.hurrelmann@nfon.com>
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-30 17:18:12 -04:00
jeremystretch
4a4fea40f5 Merge branch 'develop' into feature 2022-09-30 17:17:18 -04:00
Arthur Hanson
57cbd5243d 9654 device weight (#10448)
* 9654 add weight fields to devices

* 9654 changes from code review

* 9654 change _abs_weight to grams

* Resolve migrations conflict

* 9654 code-review changes

* 9654 total weight on devices

* Misc cleanup

Co-authored-by: Jeremy Stretch <jstretch@ns1.com>
2022-09-30 16:31:04 -04:00
Arthur Hanson
84f997dff4 10348 add decimal custom field (#10422)
* 10348 add decimal custom field

* 10348 fix tests

* 10348 add documentation

* Rearrange custom fields to be ordered consistently

* Rename number_field to integer_field for clarity

* Clean up validation logic

* Apply suggested changes from PR

* Store decimal custom field values natively

* Fix filter test

* Update custom field model migrations to use new encoder

Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-30 16:03:24 -04:00
jeremystretch
f4b2f87f14 Update device/VM name filters to be case-insensitive 2022-09-27 16:48:39 -04:00
jeremystretch
d6931e8160 Device/VM unique constraints ignore case for name field 2022-09-27 16:47:56 -04:00
jeremystretch
a6a8f609bd Use templated app & model names for all unique constraints 2022-09-27 15:44:38 -04:00
jeremystretch
8a2872641c Replace unique_together with UniqueConstraints 2022-09-27 15:35:24 -04:00
jeremystretch
70a612d782 Remove custom validate_unique() methods 2022-09-27 14:28:21 -04:00
Patrick Hurrelmann
49219e480c Fixes: #10465 Format all remaining displayed rackunits with floatformat (#10481)
* Fixes: #10465 Try to finish #10268 and format all remaining displayed rackunits with floatformat

* #10465: PEP8 fix

Co-authored-by: Patrick Hurrelmann <patrick.hurrelmann@nfon.com>
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-27 11:24:19 -04:00
Patrick Hurrelmann
88185a46fd Fixes: #10480 Fix link-target on cable-trace svg to open link in the same window. 2022-09-27 13:23:51 +02:00
jeremystretch
2b65e1311a Merge branch 'develop' into feature 2022-09-26 11:55:58 -04:00
Artem I. Kotik
37e6bdf9e9 Add widget for Airflow field in DeviceTypeForm 2022-09-24 15:49:23 +04:00
Arthur
ee8752a94a Merge branch 'develop' into feature 2022-09-20 08:52:37 -07:00
Daniel Sheppard
4c5ef573ea Merge pull request #10420 from netbox-community/9497-fix-site-location-nonracked-device-display
Fixes #9497 - Change non-racked filter for sites/locations
2022-09-20 09:48:09 -05:00
Daniel Sheppard
a49f70a3dd Fixes #9497 - Change filter for sites/locations 2022-09-20 09:26:40 -05:00
Arthur
d46a239597 Merge branch 'develop' into feature 2022-09-19 15:51:54 -07:00
jeremystretch
f0ddc3642f Fixes #10383: Fix assignment of component templates to module types via web UI 2022-09-16 08:30:46 -04:00
jeremystretch
00ddcc2212 Fixes #10387: Fix MultiValueDictKeyError exception when editing a device interface 2022-09-16 08:20:24 -04:00
jeremystretch
364ed2b6ac Merge branch 'develop' into feature 2022-09-15 14:30:24 -04:00
Jeremy Stretch
26fbd275d9 Merge pull request #10369 from netbox-community/10359-add-region-column
#10359 add region column to site table
2022-09-15 13:07:59 -04:00
jeremystretch
1156531ff6 #10359: Add region and site group columns to the devices table 2022-09-15 12:55:21 -04:00
Jeremy Stretch
cd0f4028cd Fixes #10247: Allow changing selected device/VM when creating a new component (#10312)
* Initial work on #10247

* Continued work on #10247

* Clean up component creation tests

* Move valdiation of replicated field to form

* Clean up ordering of fields in component creation forms

* Omit fieldset header if none

* Clean up ordering of fields in component template creation forms

* View tests should not move component templates to new device type

* Define replication_fields on VMInterfaceCreateForm

* Clean up expandable field help texts

* Update comments

* Update component bulk update forms & views to support new replication fields

* Fix ModularDeviceComponentForm parent class

* Fix bulk creation of VM interfaces (thanks @kkthxbye-code!)
2022-09-15 10:10:32 -04:00
Arthur
c06e4d4e53 #10359 add region column to site table 2022-09-14 15:50:45 -07:00
Jeremy Stretch
c2fdbb0bd6 Merge pull request #10349 from sasschary/10316-cableform-termination
Fixes #10305: Allows null master in VirtualChassis APIs
2022-09-14 12:13:16 -04:00
Zachary Clark
de6fa963c1 Fixes #10305: Allows null master in VirtualChassis APIs 2022-09-13 19:54:39 -04:00
jeremystretch
d40d72a443 Merge branch 'develop' into feature 2022-09-13 14:24:58 -04:00
jeremystretch
70416bb0fe Closes #9577: Add has_front_image and has_rear_image filters for device types 2022-09-13 14:14:18 -04:00
jeremystretch
6ba4d9c306 Add relevant tests for all device components 2022-09-12 17:03:33 -04:00
jeremystretch
65172903da Rename is_occupied to occupied 2022-09-12 16:42:04 -04:00
Arthur
71ae6ca6a7 #8580 add tests 2022-09-12 10:52:40 -07:00
Arthur
e726bbcb12 #8580 add tests 2022-09-12 10:22:05 -07:00
Arthur
1765f0bafe Merge branch 'develop' into 8580-filter-connected 2022-09-12 10:11:20 -07:00
Arthur
6fe1725a11 #10172 fixes for Django 4.1 2022-09-12 09:59:37 -07:00
Arthur
df8d37146e #10307 fix choices for poe type 2022-09-09 07:40:01 -07:00
Jeremy Stretch
7bf8d118e9 Merge pull request #10287 from netbox-community/10250-cable-import-virtual
Fixes #10250: Fix exception when CableTermination validation fails during bulk import of cables
2022-09-08 16:48:02 -04:00
Arthur
754f9d69e3 #8580 changes from code review 2022-09-08 13:11:17 -07:00
kkthxbye-code
cc63073180 Add wwn CharField to InterfaceForm 2022-09-08 11:38:39 +02:00
Arthur
4d01182da0 #8580 add interface filters for connected 2022-09-07 15:45:01 -07:00
jeremystretch
b7b9db5587 Fixes #10250: Fix exception when CableTermination validation fails during bulk import of cables 2022-09-07 14:41:48 -04:00
jeremystretch
8d27bb9595 Closes #10268: Omit trailing ".0" in device positions within UI 2022-09-07 14:09:17 -04:00
jeremystretch
d5d747d355 Fixes #10034: Add L2VPN column to interface and VLAN tables 2022-09-02 14:26:35 -04:00
Jeremy Stretch
2cbb4e2f61 Merge pull request #10233 from netbox-community/9665-rack-elevation-sorting
#9665 Rack Elevation Sorting Enhancements
2022-09-02 08:53:16 -04:00
Arthur
3317dd6f66 #9481 update child location whem move parent 2022-09-01 15:44:41 -07:00
Arthur
e49cdd34ba #9665 review changes 2022-09-01 11:15:23 -07:00
Arthur
e627e42395 #9665 review changes 2022-09-01 11:12:01 -07:00