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

350 Commits

Author SHA1 Message Date
af8bb0c4b9 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
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
2c43c8d077 Closes #9793: Add PoE attributes to interface templates 2022-07-28 15:20:25 -04:00
68b87dd668 Fixes #9729: Fix ordering of content type creation to ensure compatability with demo data 2022-07-15 13:27:20 -04:00
e8dd952aa5 Fix migration progress output 2022-07-15 10:07:35 -04:00
0615252e15 Add progress output to cable migration 2022-07-14 10:33:20 -04:00
42e5282283 Improve filtering cables by termination device/rack/site 2022-07-08 11:44:28 -04:00
9a7f3f8c1a Cleanup for #9102 2022-07-07 12:48:44 -04:00
ba079b9ee5 Merge branch 'feature' into 9102-cabling 2022-07-06 14:09:25 -04:00
cd3111ca8d Merge branch 'develop' into feature 2022-06-28 16:55:49 -04:00
25ed3390cb Merge branch 'feature' into 9102-cabling 2022-06-27 12:12:34 -04:00
4315c4697c Ignore default field values which reference ConfigItems when calculating migrations 2022-06-23 17:44:19 -04:00
e4aa933d57 Closes #7744: Add status field to Location 2022-06-22 13:33:19 -04:00
4587b83d85 Closes #1099: Add PoE mode & type for interfaces 2022-06-21 21:22:24 -04:00
440dfabefe Merge branch 'feature' into 9102-cabling 2022-06-20 15:04:55 -04:00
84f0561712 Initial work on half-height RUs 2022-06-20 12:05:06 -04:00
3362bc3106 Remove link peer fields from cable termination models 2022-06-01 16:48:56 -04:00
75eea50d71 Order CableTerminations by cable, cable_end 2022-05-16 16:35:32 -04:00
399afffddf Fix CablePath migration 2022-05-13 16:46:55 -04:00
1b593384e5 Restore reverse relation to CableTerminations from Cable 2022-05-13 15:45:58 -04:00
83fdab5feb Change CablePath.path to JSONField 2022-05-12 16:08:44 -04:00
f0b722b0a5 Update cable tracing logic 2022-05-12 16:08:44 -04:00
82706eb3a6 Migrate CablePath to use two-dimensional array 2022-05-12 16:08:44 -04:00
1f4ad444ae Introduce CableTermination model & migrate data 2022-05-12 16:08:44 -04:00
907323d46f Revert initial model changes 2022-05-12 16:08:44 -04:00
4bb9b6ee26 Extend Cable model to support multiple A/B terminations 2022-05-12 16:08:44 -04:00
66464fd807 Implement bypass for migration safeguard 2022-04-05 14:24:28 -04:00
8b92bc6c4a Add migration safeguard to prevent accidental destruction of data 2022-04-05 10:07:48 -04:00
39b8eb0ae0 Fixes #8656: Fix migration error when upgrading from a v2.11 database 2022-02-17 14:14:23 -05:00
272d6e7437 Closes #8463: Change the created field on all change-logged models from date to datetime 2022-02-08 14:41:44 -05:00
7611cfddae Tweak related names in old migrations to avoid creating new ones 2022-02-03 12:58:54 -05:00
478eefb74c Merge v3.1.7 2022-02-03 12:55:34 -05:00
e4abbfb2c6 Closes #8454: Set DEFAULT_AUTO_FIELD to BigAutoField 2022-01-25 17:37:06 -05:00
571e9801f3 Closes #8195: Ensure all GenericForeignKey ID fields employ PositiveBigIntegerField 2022-01-24 16:02:54 -05:00
38963e7960 Fixes #8377: Fix calculation of absolute cable lengths when specified in fractional units 2022-01-18 11:09:12 -05:00
0f58faaddb #7853 - Initial work on Speed/Duplex.
TODO: Documentation, Tests, Form order
2022-01-08 12:25:30 -06:00
3e277de82d Closes #7852: Enable assigning interfaces to VRFs 2022-01-07 14:57:43 -05:00
0978777eec Merge v3.1.4 2022-01-03 11:20:58 -05:00
4c15f4a84f Initial work on #8118 2021-12-29 15:37:01 -05:00
99d5013de3 Initial work on #7846 2021-12-27 14:01:25 -05:00
04fb5e544d #3087: Add InvetoryItemRole 2021-12-27 10:18:39 -05:00
eaa1165611 Add position field for module bays 2021-12-20 09:51:55 -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
7d99e15dc3 Closes #7743: Remove legacy ASN field from site model 2021-12-09 17:01:27 -05:00
d2d2978288 Closes #7748: Remove legacy contact fields from site model 2021-12-09 16:23:39 -05:00