Commit Graph

74 Commits

Author SHA1 Message Date
Daniel Sheppard
cea05b0809 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
kkthxbye-code
36d1b1bcb8 Prefetch installed components when adding modules 2022-05-04 23:21:03 +02:00
kkthxbye-code
3a77223771 Don't adopt components already belonging to a module 2022-05-04 22:59:28 +02:00
kkthxbye-code
02358baef2 Allow mixture of component replication and adoption 2022-05-03 22:03:12 +02:00
kkthxbye-code
4c74cbc060 Formatting: Remove whitespace on blank line 2022-05-02 21:55:34 +02:00
kkthxbye-code
e93913f91c Create module components in bulk 2022-05-02 21:37:37 +02:00
kkthxbye-code
a55ff798da Add ability to adopt components when adding a module 2022-04-30 02:19:11 +02:00
jeremystretch
00ad3f7632 Fixes #9100: Include position field in module type YAML export 2022-04-11 08:28:10 -04:00
jeremystretch
4c052023db Merge develop into feature 2022-03-24 16:35:35 -04:00
jeremystretch
e700f084b9 Closes #8846: Enable image attachments for module types 2022-03-23 13:58:35 -04:00
jeremystretch
6fdf349dab Closes #8848: Show module bay & type in API serilizer display 2022-03-14 14:06:14 -04:00
jeremystretch
7573dde28f Merge v3.1.9 2022-03-07 10:55:30 -05:00
jeremystretch
2c657af4b1 Fixes #8724: Fix exception during device import with invalid device type 2022-03-04 13:45:59 -05:00
jeremystretch
db7aafc734 Standardize on get_FOO_color() method for returning ChoiceField colors 2022-02-11 14:25:13 -05:00
jeremystretch
d8610ccec4 Improve ChoiceFieldColumn to not rely on model method to derive label color 2022-02-10 16:29:19 -05:00
jeremystretch
cf10733051 #7844: Allow installing modules via UI without replicating components 2022-02-04 11:51:30 -05:00
jeremystretch
515c7f56a3 Rename PrimaryModel to NetBoxModel 2022-01-26 20:57:14 -05:00
jeremystretch
cb80cf7488 Remove extras_features() decorator 2022-01-19 15:16:10 -05:00
jeremystretch
d50b564257 Initial work on #8118 2021-12-29 15:37:01 -05:00
jeremystretch
58fa729de1 Add Module model 2021-12-17 16:12:03 -05:00
jeremystretch
847b4a4dfd Add Module model 2021-12-17 12:18:37 -05:00
jeremystretch
5b4b067eea Add ModuleBay and ModuleBayTemplate models 2021-12-17 09:35:57 -05:00
jeremystretch
26823615ad Support CSS class definition directly in CHOICES iterable 2021-12-16 10:03:23 -05:00
jeremystretch
85897acd27 Closes #5143: Include a device's asset tag in its display value 2021-11-17 13:06:57 -05:00
jeremystretch
89aa7df3ca Remove "primary for" references to Device on IPAddress 2021-11-17 12:50:46 -05:00
jeremystretch
841e54b61c Housekeeping: Use RestrictedQuerySet for default manager on base models 2021-11-11 15:04:22 -05:00
jeremystretch
edc69c75bf Introduce ConfigItem; add rack elevation parameters 2021-10-26 10:04:56 -04:00
jeremystretch
914304c580 Initial work on #5883 2021-10-25 16:10:50 -04:00
jeremystretch
bfc52b15bb Add tags to organizational & nested group models 2021-10-21 10:51:02 -04:00
jeremystretch
76867f73b6 Add contact assignments to models 2021-10-18 15:09:57 -04:00
jeremystretch
cace1d7ecf 3839: Add airflow field to Device 2021-10-14 16:15:08 -04:00
jeremystretch
de3c7eab5b 3839: Add airflow field to DeviceType 2021-10-14 15:45:36 -04:00
jeremystretch
e101116411 Remove csv_headers model attributes 2021-06-09 15:52:49 -04:00
jeremystretch
f374902564 Remove obsolete to_csv() methods 2021-06-09 15:08:49 -04:00
jeremystretch
a43cdcbb2e Merge branch 'develop' into feature 2021-05-25 13:19:17 -04:00
jeremystretch
264d95d3a7 Add tags as a feature query 2021-05-21 16:54:33 -04:00
Johannes Erwerle
69fe67408e Fixed #6438 Device Type Import does not import/export description/label fields for many components 2021-05-20 06:30:44 +00:00
Daniel Sheppard
00b4a82ee8 Closes: #5278 - Remove Secrets (#6397)
* Remove Secrets

* #5278: Remove secrets javascript from netbox core

* Remove userkey references

* Fix PEP8

* Remove a few more instances of secrets.  Rebundle

* Remove Secrets

Co-authored-by: checktheroads <matt@allroads.io>
2021-05-17 16:26:02 -04:00
jeremystretch
c993e3883c Merge branch 'develop' into feature 2021-05-07 10:27:23 -04:00
jeremystretch
9d5403f11b Fixes #6312: Interface device filter should return all virtual chassis interfaces only if device is master 2021-05-07 09:47:32 -04:00
jeremystretch
eaddd57fb1 Closes #6359: Enable custom links for organizational and nested group models 2021-05-06 13:01:20 -04:00
jeremystretch
b22fddb111 Remove deprecated display_name() methods from models 2021-05-04 16:05:17 -04:00
jeremystretch
1014555306 Fixes #6289: Fix assignment of VC member interfaces to LAG interfaces 2021-04-27 09:36:48 -04:00
jeremystretch
5d3ac1d3df Fixes #6123: Prevent device from being assigned to mismatched site and location 2021-04-09 09:56:36 -04:00
Jeremy Stretch
f4953d28ca Add dedicated views for organizational models 2021-03-26 14:44:43 -04:00
Jeremy Stretch
b5c6613682 Declare TaggableManager on PrimaryModel base class 2021-03-10 14:32:50 -05:00
Jeremy Stretch
d1eeee3085 Closes #4971: Allow assigning devices to locations without a rack 2021-03-03 14:28:07 -05:00
Jeremy Stretch
f7d6275959 Closes #5895: Rename RackGroup to Location 2021-03-03 13:30:33 -05:00
Jeremy Stretch
b58ad1384e Standardize model types based on function 2021-02-24 21:01:16 -05:00
Jeremy Stretch
e859b3c7a6 Fixes #5301: Fix misleading error when racking a device with invalid parameters 2020-12-23 16:21:26 -05:00