23e201cec6
Fixes #14905 : Fix miscellaneous errors with string translations
2024-01-24 17:05:02 -05:00
d5c1cb0ef6
Merge branch 'develop' into feature
2023-12-28 14:20:04 -05:00
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
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
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
c4e765c4a8
Closes #14141 : translation cleanup ( #14143 )
...
* Translations cleanup
* Tweak variable names; misc string cleanup
* Misc cleanup
2023-10-30 13:38:03 -04:00
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
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
75b71890a4
Misc i18n cleanup
2023-09-11 15:59:50 -04:00
06f2c6f867
Fixes #13632 : Avoid raising exception when checking if FHRP group IP address is primary
2023-08-31 11:09:49 -04:00
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
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
8f271151a7
Closes #11519 : Add a SQL index for IPAddress host value
2023-08-02 09:56:56 -04:00
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
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
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
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
08017c51f6
Merge branch 'develop' into feature
2023-04-07 13:00:00 -04:00
b032742418
Closes #12133 : Move any instance mutations inside clean() to save()
2023-04-03 16:26:07 -04:00
c44eb65993
Closes #11325 : Move help_texts from model forms to models
2023-03-01 17:31:54 -05:00
536b46158a
Add mark_utilized to IPRange
2023-03-01 09:27:06 -05:00
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
c3dcd8937f
Merge branch 'develop' into feature
2022-11-22 10:08:23 -05:00
4623858849
Fixes #10936 : Permit demotion of device/VM primary IP via IP address edit form
2022-11-21 15:36:13 -05:00
ebf555e1fb
Use strings to specify prerequisite models
2022-11-16 17:22:09 -05:00
6eba5d4d96
10300 initial translation support use gettext
2022-11-11 08:47:29 -05:00
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
e2f5ee661a
Clean up redundant NestedGroupModel, OrganizationalModel fields
2022-11-03 13:59:44 -04:00
7ba0b420f1
Fixes #10109 : Fix available prefixes calculation for container prefixes in the global table
2022-08-23 10:37:38 -04: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
8a075bcff9
Fixes #9884 : Prevent querying assigned VRF on prefix object init
2022-08-01 09:47:18 -04:00
53372a7471
#8157 : General cleanup & fix tests
2022-07-11 21:51:39 -04:00
277c2ff869
Closes #8171 : Populate next available address when cloning an IP
2022-07-01 16:36:24 -04:00
01d2ede097
Closes #1202 : Support overlapping assignment of NAT IP addresses
2022-05-11 16:22:07 -04:00
b5613a2cc6
Do not allocate subnet router anycast in certain IPv6 prefixes
2022-04-26 14:54:52 -04:00
22908a12e9
Merge branch 'develop' into feature
2022-03-25 10:38:44 -04:00
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
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
c5650bb278
Rename PrimaryModel to NetBoxModel
2022-01-26 20:57:14 -05:00
b67859832a
Refactor to_objectchange()
2022-01-26 20:25:23 -05:00
571e9801f3
Closes #8195 : Ensure all GenericForeignKey ID fields employ PositiveBigIntegerField
2022-01-24 16:02:54 -05:00
cdae0c2bef
Remove extras_features() decorator
2022-01-19 15:16:10 -05:00
3e3880823b
Merge v3.1.6
2022-01-17 11:12:54 -05:00
0ca6d73614
#8293 : Tweak table column output & add changelog
2022-01-13 15:10:06 -05:00
62fc7717c8
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
85f588e8c9
Updating page title to include asdot notation
2022-01-12 16:44:22 +00:00