Smixi
c00a449094
fix: performance for get__available_ips for prefix ( #15041 )
2024-02-05 13:30:59 -05:00
Jeremy Stretch
177814a04a
Fixes #14905 : Fix miscellaneous errors with string translations
2024-01-24 17:05:02 -05:00
Jeremy Stretch
0324db1c74
Merge branch 'develop' into feature
2023-12-28 14:20:04 -05:00
Daniel Sheppard
ab69c04e71
Fixes #14482 - Fix validation error when primary IP is moved ( #14514 )
...
* Fix validation when primary IP is moved.
* Fix views test
* Work on excluding assigned_objects
* Modify clean() on model and form to properly catch error
* Fix test failure
* Fix test to check for PK
* Remove model_form check
2023-12-28 13:28:05 -05:00
Jeremy Stretch
999abfd3dc
Closes #14436 : Add indexes for all GenericForeignKey fields ( #14463 )
...
* Closes #14436 : Add PostgreSQL indexes for all GenericForeignKeys
* Add note about GFK indexes to developer docs
2023-12-07 14:02:51 -05:00
Jeremy Stretch
d7179282e6
Closes #14153 : Filter ContentTypes by supported feature ( #14191 )
...
* WIP
* Remove FeatureQuery
* Standardize use of proxy ContentType for models
* Remove TODO
* Correctly filter BookmarksWidget object_types choices
* Add feature-specific object type validation
2023-11-16 12:12:51 -05:00
Jeremy Stretch
6652555b3c
Closes #14141 : translation cleanup ( #14143 )
...
* Translations cleanup
* Tweak variable names; misc string cleanup
* Misc cleanup
2023-10-30 13:38:03 -04:00
Arthur Hanson
3d954d8de2
13130 dont allow reassigning ipaddress assigned object if primary ip ( #13893 )
...
* 13130 dont allow reassigning ipaddress assigned object if primary ip
* 13130 add tests fix parent check
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-09-26 15:16:02 -04:00
Arthur Hanson
a7b90acc05
13757 Fix ConfigContext reference to DeviceType ( #13804 )
...
* 13757 do prefetch to work around Django issue with vars in init (DeviceType)
* 13757 use self.__dict to access vars in init
* 13757 change test
2023-09-20 09:56:52 -04:00
Jeremy Stretch
5eae35c875
Misc i18n cleanup
2023-09-11 15:59:50 -04:00
Jeremy Stretch
b1aaae5a6a
Fixes #13632 : Avoid raising exception when checking if FHRP group IP address is primary
2023-08-31 11:09:49 -04:00
Jamie (Bear) Murphy
6f7ffb3422
fix error for is_oob_ip for non-device parents ( #13621 )
...
* fix error for is_oob_ip for non-device parents
* adjust oob_ip_id check to use hasattr
2023-08-31 07:57:14 -04:00
Jeremy Stretch
f124b68f0d
Closes #13352 : Translation support for model verbose names ( #13354 )
...
* Update verbose_name & verbose_name_plural Meta attributes on all models
* Alter makemigrations to ignore verbose_name & verbose_name_plural changes
2023-08-03 10:41:10 -04:00
Jeremy Stretch
85957fd499
Closes #11519 : Add a SQL index for IPAddress host value
2023-08-02 09:56:56 -04:00
Arthur Hanson
383fe8bb91
Closes #13132 : Wrap verbose_name and other model text with gettext_lazy() (i18n)
...
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-31 11:28:07 -04:00
Jamie (Bear) Murphy
44776b02c0
Oob ip (devices) ( #13013 )
...
* initial oob_ip support for devices
* add primary ip and oob ip checkmark to ip address view
* add oob ip to device view and device edit view
* pep8
* make is_oob_ip and is_primary_ip generic for other models
* refactor oob_ip
* fix oob ip signal
* string capitalisation
* Misc cleanup
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2023-07-25 14:40:40 -04:00
Jeremy Stretch
faebd865b7
Fixes #13105 : Avoid exception when attempting to allocate next available IP address from prefix marked as utilized
2023-07-10 13:53:31 -04:00
Abhimanyu Saharan
111d0b3030
Moves related ips to a tab ( #12502 )
...
* moves related ips to a tab #12233
* Refactor IP address templates to use a base template
---------
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-05-09 12:49:13 -04:00
jeremystretch
f039d36522
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
jeremystretch
9f08d39ccf
Closes #12133 : Move any instance mutations inside clean() to save()
2023-04-03 16:26:07 -04:00
jeremystretch
a8a0fd5b88
Closes #11325 : Move help_texts from model forms to models
2023-03-01 17:31:54 -05:00
jeremystretch
70c7959ccf
Add mark_utilized to IPRange
2023-03-01 09:27:06 -05:00
Jeremy Stretch
2b8c41f3d6
Closes #8550 : Implement ASN ranges ( #11835 )
...
* Move ASN to a separate module
* Move ASNField from dcim to ipam
* Introduce ASNRange model
* Add relationship from ASN to ASNRange
* Add an available-asns API endpoint
* Add RIR assignment for ASNRange
* Add standard tests
* Move child ASNs to a tabbed view
* Remove FK on ASN to ASNRange
* Add tests for provisioning available ASNs
* Add docs for ASNRange
2023-02-27 16:36:05 -05:00
jeremystretch
d97ab96914
Merge branch 'develop' into feature
2022-11-22 10:08:23 -05:00
jeremystretch
effb779323
Fixes #10936 : Permit demotion of device/VM primary IP via IP address edit form
2022-11-21 15:36:13 -05:00
jeremystretch
fa003f6764
Use strings to specify prerequisite models
2022-11-16 17:22:09 -05:00
Arthur
b06845e666
10300 initial translation support use gettext
2022-11-11 08:47:29 -05:00
Jeremy Stretch
acc750ad70
Closes #10545 : Standardize description & comment fields on primary models ( #10834 )
...
* Standardize description & comments fields on primary models
* Update REST API serializers
* Update forms
* Update tables
* Update templates
2022-11-04 08:28:09 -04:00
jeremystretch
8ea0bb75c1
Clean up redundant NestedGroupModel, OrganizationalModel fields
2022-11-03 13:59:44 -04:00
jeremystretch
bcedad2f50
Fixes #10109 : Fix available prefixes calculation for container prefixes in the global table
2022-08-23 10:37:38 -04:00
Arthur
468f1a5a6e
#6454 fix merge conflicts
2022-08-18 15:31:54 -07:00
Arthur
576ad86425
#6454 add prerequisite alert
2022-08-18 15:11:03 -07:00
jeremystretch
15c6b506ae
#9414 : Clean up clone_fields on all models
2022-08-11 09:58:37 -04:00
jeremystretch
30b7f8f2ae
Merge branch 'develop' into feature
2022-08-01 14:42:09 -04:00
jeremystretch
09f52fd8f9
Fixes #9884 : Prevent querying assigned VRF on prefix object init
2022-08-01 09:47:18 -04:00
jeremystretch
b5ce566e31
#8157 : General cleanup & fix tests
2022-07-11 21:51:39 -04:00
jeremystretch
7a899845a1
Closes #8171 : Populate next available address when cloning an IP
2022-07-01 16:36:24 -04:00
jeremystretch
60a5049461
Closes #1202 : Support overlapping assignment of NAT IP addresses
2022-05-11 16:22:07 -04:00
Sean M. Collins
c40ccfec58
Do not allocate subnet router anycast in certain IPv6 prefixes
2022-04-26 14:54:52 -04:00
jeremystretch
3f0b8a6adb
Merge branch 'develop' into feature
2022-03-25 10:38:44 -04:00
tranthang2404
be9fe2c36b
Closes #8232 : Add color show full 100% utilization ( #8816 )
...
* Closes #8232 : Add color show full 100% utilization
* change rounding
* change rounding
* fix hard code html
* format
2022-03-25 09:52:13 -04: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
515c7f56a3
Rename PrimaryModel to NetBoxModel
2022-01-26 20:57:14 -05:00
jeremystretch
dc4436f02d
Refactor to_objectchange()
2022-01-26 20:25:23 -05:00
jeremystretch
77e1aa34e4
Closes #8195 : Ensure all GenericForeignKey ID fields employ PositiveBigIntegerField
2022-01-24 16:02:54 -05:00
jeremystretch
cb80cf7488
Remove extras_features() decorator
2022-01-19 15:16:10 -05:00
jeremystretch
cd4b695f9d
Merge v3.1.6
2022-01-17 11:12:54 -05:00
jeremystretch
b204bb5fb7
#8293 : Tweak table column output & add changelog
2022-01-13 15:10:06 -05:00
Jason Yates
11c096cc42
Suggested changes
...
* Updating asdot computation to use an fstring
* Cleaning code. Custom property now returns either the ASN with ASDOT notation or just the ASN. asn_with_asdot can now be referenced in ASNTable & objet template.
2022-01-13 04:58:51 +00:00