1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00
Commit Graph

141 Commits

Author SHA1 Message Date
204c10c053 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
1d4f828b93 Device/VM unique constraints ignore case for name field 2022-09-27 16:47:56 -04:00
7ff2cb75a8 Use templated app & model names for all unique constraints 2022-09-27 15:44:38 -04:00
f51415cf2c Replace unique_together with UniqueConstraints 2022-09-27 15:35:24 -04:00
ec6457bcd3 Remove custom validate_unique() methods 2022-09-27 14:28:21 -04:00
ce6bf9e5c1 #10172 fixes for Django 4.1 2022-09-12 09:59:37 -07:00
2ce1a96468 #9481 update child location whem move parent 2022-09-01 15:44:41 -07:00
8ca3dfd8c9 #10178 add manufacturer to device detail view devicetype 2022-08-29 15:26:38 -07:00
38a8ddcd77 #6454 fix merge conflicts 2022-08-18 15:31:54 -07:00
928dff6b68 #6454 add prerequisite alert 2022-08-18 15:11:03 -07:00
8cd5a24409 #9414: Clean up clone_fields on all models 2022-08-11 09:58:37 -04:00
562769fb89 Merge branch 'develop' into feature 2022-08-01 14:42:09 -04:00
984d15d7fb Closes #9893: Move YAML serialization logic for component templates under the individual models 2022-08-01 11:39:07 -04:00
2c43c8d077 Closes #9793: Add PoE attributes to interface templates 2022-07-28 15:20:25 -04:00
43b27cc052 Misc cleanup 2022-07-12 16:29:26 -04:00
0d6d68c62f Fix YAML representation of decimal values 2022-06-20 12:07:59 -04:00
84f0561712 Initial work on half-height RUs 2022-06-20 12:05:06 -04:00
f415d81049 Fixes #8374 - Display device type and asset tag if name is blank but asset tag is populated 2022-05-13 09:49:07 -05:00
c52aa2196d Prefetch installed components when adding modules 2022-05-04 23:21:03 +02:00
81c7fe2084 Don't adopt components already belonging to a module 2022-05-04 22:59:28 +02:00
8040804c75 Allow mixture of component replication and adoption 2022-05-03 22:03:12 +02:00
977ccb01f2 Formatting: Remove whitespace on blank line 2022-05-02 21:55:34 +02:00
c2a6a1c125 Create module components in bulk 2022-05-02 21:37:37 +02:00
3fb967b482 Add ability to adopt components when adding a module 2022-04-30 02:19:11 +02:00
a9e05aec7c Fixes #9100: Include position field in module type YAML export 2022-04-11 08:28:10 -04:00
58f97bc0e7 Merge develop into feature 2022-03-24 16:35:35 -04:00
fdc0036872 Closes #8846: Enable image attachments for module types 2022-03-23 13:58:35 -04:00
2101f714cc Closes #8848: Show module bay & type in API serilizer display 2022-03-14 14:06:14 -04:00
cd29293dd6 Merge v3.1.9 2022-03-07 10:55:30 -05:00
81610ba86e Fixes #8724: Fix exception during device import with invalid device type 2022-03-04 13:45:59 -05:00
1319b62acb Standardize on get_FOO_color() method for returning ChoiceField colors 2022-02-11 14:25:13 -05:00
71d3dc6e44 Improve ChoiceFieldColumn to not rely on model method to derive label color 2022-02-10 16:29:19 -05:00
a2981870ce #7844: Allow installing modules via UI without replicating components 2022-02-04 11:51:30 -05:00
c5650bb278 Rename PrimaryModel to NetBoxModel 2022-01-26 20:57:14 -05:00
cdae0c2bef Remove extras_features() decorator 2022-01-19 15:16:10 -05:00
4c15f4a84f Initial work on #8118 2021-12-29 15:37:01 -05:00
7777922bef Add Module model 2021-12-17 16:12:03 -05:00
7c60e3c0ff Add Module model 2021-12-17 12:18:37 -05:00
e529d7fd3b Add ModuleBay and ModuleBayTemplate models 2021-12-17 09:35:57 -05:00
0d3b50a5e5 Support CSS class definition directly in CHOICES iterable 2021-12-16 10:03:23 -05:00
9a45547cda Closes #5143: Include a device's asset tag in its display value 2021-11-17 13:06:57 -05:00
a000ded350 Remove "primary for" references to Device on IPAddress 2021-11-17 12:50:46 -05:00
d529c1b5b3 Housekeeping: Use RestrictedQuerySet for default manager on base models 2021-11-11 15:04:22 -05:00
7c0f32e8ee Introduce ConfigItem; add rack elevation parameters 2021-10-26 10:04:56 -04:00
82243732a1 Initial work on #5883 2021-10-25 16:10:50 -04:00
cfb3897047 Add tags to organizational & nested group models 2021-10-21 10:51:02 -04:00
f193f0d3f9 Add contact assignments to models 2021-10-18 15:09:57 -04:00
33ea8763d5 3839: Add airflow field to Device 2021-10-14 16:15:08 -04:00
2c2c2e9060 3839: Add airflow field to DeviceType 2021-10-14 15:45:36 -04:00
7e18b0dd3a Remove csv_headers model attributes 2021-06-09 15:52:49 -04:00