teapot
db823634cf
Fixes #16027 : Correct typo in error message
2024-05-08 09:42:20 -04:00
Jeremy Stretch
312291b010
Merge branch 'develop' into feature
2024-05-01 16:09:14 -04:00
Arthur Hanson
cbfed83f60
15524 round iprange utilization ( #15734 )
2024-04-29 13:19:57 -04:00
Jeremy Stretch
78bd7dec48
Merge branch 'develop' into feature
2024-03-15 12:32:54 -04:00
Jeremy Stretch
0df68bf291
Rename ContentType proxy model to ObjectType
2024-03-04 08:33:44 -05:00
Jeremy Stretch
bdcf4c4154
Fixes #15220 : Move IP mask validation logic from form to model
2024-03-01 11:28:48 -05:00
Smixi
4ba0ec78cf
fix: performance for get__available_ips for prefix ( #15041 )
2024-02-05 13:30:59 -05:00
Jeremy Stretch
23e201cec6
Fixes #14905 : Fix miscellaneous errors with string translations
2024-01-24 17:05:02 -05:00
Jeremy Stretch
d5c1cb0ef6
Merge branch 'develop' into feature
2023-12-28 14:20:04 -05:00
Daniel Sheppard
45c646dcec
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
b532435a6d
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
e15647a2ce
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
c4e765c4a8
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
db40119faa
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
8e251ac33c
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
75b71890a4
Misc i18n cleanup
2023-09-11 15:59:50 -04:00
Jeremy Stretch
06f2c6f867
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
46f734eba2
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
caedc8dbe3
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
8f271151a7
Closes #11519 : Add a SQL index for IPAddress host value
2023-08-02 09:56:56 -04:00
Arthur Hanson
83bebc1bd2
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
154b8236a2
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
73348ee435
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
6b19f15a7b
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
08017c51f6
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
jeremystretch
b032742418
Closes #12133 : Move any instance mutations inside clean() to save()
2023-04-03 16:26:07 -04:00
jeremystretch
c44eb65993
Closes #11325 : Move help_texts from model forms to models
2023-03-01 17:31:54 -05:00
jeremystretch
536b46158a
Add mark_utilized to IPRange
2023-03-01 09:27:06 -05:00
Jeremy Stretch
7994073687
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
c3dcd8937f
Merge branch 'develop' into feature
2022-11-22 10:08:23 -05:00
jeremystretch
4623858849
Fixes #10936 : Permit demotion of device/VM primary IP via IP address edit form
2022-11-21 15:36:13 -05:00
jeremystretch
ebf555e1fb
Use strings to specify prerequisite models
2022-11-16 17:22:09 -05:00
Arthur
6eba5d4d96
10300 initial translation support use gettext
2022-11-11 08:47:29 -05:00
Jeremy Stretch
bc6b5bc4be
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
e2f5ee661a
Clean up redundant NestedGroupModel, OrganizationalModel fields
2022-11-03 13:59:44 -04:00
jeremystretch
7ba0b420f1
Fixes #10109 : Fix available prefixes calculation for container prefixes in the global table
2022-08-23 10:37:38 -04:00
Arthur
38a8ddcd77
#6454 fix merge conflicts
2022-08-18 15:31:54 -07:00
Arthur
928dff6b68
#6454 add prerequisite alert
2022-08-18 15:11:03 -07:00
jeremystretch
8cd5a24409
#9414 : Clean up clone_fields on all models
2022-08-11 09:58:37 -04:00
jeremystretch
562769fb89
Merge branch 'develop' into feature
2022-08-01 14:42:09 -04:00
jeremystretch
8a075bcff9
Fixes #9884 : Prevent querying assigned VRF on prefix object init
2022-08-01 09:47:18 -04:00
jeremystretch
53372a7471
#8157 : General cleanup & fix tests
2022-07-11 21:51:39 -04:00
jeremystretch
277c2ff869
Closes #8171 : Populate next available address when cloning an IP
2022-07-01 16:36:24 -04:00
jeremystretch
01d2ede097
Closes #1202 : Support overlapping assignment of NAT IP addresses
2022-05-11 16:22:07 -04:00
Sean M. Collins
b5613a2cc6
Do not allocate subnet router anycast in certain IPv6 prefixes
2022-04-26 14:54:52 -04:00
jeremystretch
22908a12e9
Merge branch 'develop' into feature
2022-03-25 10:38:44 -04:00
tranthang2404
1278429518
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
1319b62acb
Standardize on get_FOO_color() method for returning ChoiceField colors
2022-02-11 14:25:13 -05:00
jeremystretch
71d3dc6e44
Improve ChoiceFieldColumn to not rely on model method to derive label color
2022-02-10 16:29:19 -05:00
jeremystretch
c5650bb278
Rename PrimaryModel to NetBoxModel
2022-01-26 20:57:14 -05:00