Brian Tiemann
702fc0e651
Merge remote-tracking branch 'origin/7336-vlan-translation' into 7336-vlan-translation
2024-10-11 09:16:43 -04:00
Jeremy Stretch
ee15a575ec
Closes #17733 : Replace pycodestyle
with ruff
( #17734 )
...
* Resolve F541 errors
* Resolve F841 errors
* Resolve F811 errors
* Resolve F901 errors
* Resolve E714 errors
* Ignore F821 errors for GraphQL mixins
* Replace pycodestyle with ruff
* Move ignores to ruff.toml
2024-10-11 09:16:19 -04:00
github-actions
ed8f370804
Update source translation strings
2024-10-11 09:16:19 -04:00
Arthur Hanson
0f0abfa13c
17713 fix underscore in datasource.sync ( #17729 )
2024-10-11 09:16:19 -04:00
Jeremy Stretch
3cc45239df
Closes #17725 : Clean up import
statements ( #17728 )
...
* #17725 : Resolve all F401 errors
* Tweak noqa designation
2024-10-11 09:16:19 -04:00
github-actions
aa95ecb4dd
Update source translation strings
2024-10-11 09:16:19 -04:00
Jeremy Stretch
864acf5ba3
Changelog for #17216 , #17562 , #17636
2024-10-11 09:16:19 -04:00
Jeremy Stretch
4c5d8a4fc4
Add triage priority to issue templates
2024-10-11 09:16:19 -04:00
gellis713
309cafc2a0
Fix parsing of extra_choices ( #17691 )
...
* Align strawberry resolver with expected return type
* Align test data with expected representation of extra_choices in CustomFieldChoiceSet model
---------
Co-authored-by: Griffin Ellis <griffin.ellis@pico.net>
2024-10-11 09:16:19 -04:00
Craig Askings
f7cdce026e
Add EVPN-VPWS to L2VPNTypeChoices ( #17694 )
...
* Add EVPN-VPWS to the availbable L2VPN Connection Types
* Updated documentation to reference the new L2VPN type.
2024-10-11 09:16:19 -04:00
Daniel Sheppard
0944284fff
Fixes : #17636 - Correct typo in Power Outlet Template form for Power Port field
2024-10-11 09:16:19 -04:00
Brian Tiemann
1465f5eace
Skip tagged models in test
2024-10-11 09:16:19 -04:00
Brian Tiemann
ae7c67a1d6
Add GraphQL typing
2024-10-11 09:16:19 -04:00
Brian Tiemann
18becdd0b5
Add filtering on vlan_translation_policy fields
2024-10-11 09:16:10 -04:00
Brian Tiemann
b7912cecb6
Add serializer classes to InterfaceSerializer
2024-10-11 09:15:36 -04:00
Brian Tiemann
bbe684d37a
Change VLANTranslationPolicy to a PrimaryModel and make name unique
2024-10-11 09:15:36 -04:00
Brian Tiemann
3af686f7f1
VLANTranslationPolicy and VLANTranslationRule models and all associated UI classes
2024-10-11 09:15:36 -04:00
github-actions
ae99c8ecaa
Update source translation strings
2024-10-11 09:15:36 -04:00
Jeremy Stretch
4ebc0f5109
Changelog for #17079 , #17566 , #17648 , #17655
2024-10-11 09:15:36 -04:00
Daniel Sheppard
7bc17fe1c1
Fixes : #17648 - Fix exception thrown in Job.delete()
when no object_type specified ( #17657 )
...
* Fixes : #17648 - Fix exception thrown in `Job.delete()` when no object_type specified
* Remove unrelated fix
* Change back elif to if
* Remove unused imports
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-11 09:15:36 -04:00
Thor Selmer Dreier-Hansen
4a42da1e76
limits vlans on interface tables ( #17662 )
...
* limits vlans on interface tables
* limits vlans on interface tables
* limits vlans on interface tables
* limits vlans on interface tables
2024-10-11 09:15:35 -04:00
Daniel Sheppard
ddf236dd50
Fixes : #17566 - Fix issue Job.get_absolute_url()
to prevent exception being thrown if no object_type is set ( #17661 )
...
* Fixes : #17566 - Fix issue `Job.get_absolute_url()` to prevent exception being thrown if no object_type is set
* Add back whitespace after statements
* Remove whitespace. Change to if statement
2024-10-11 09:15:35 -04:00
Costas Drongos
ad0378a115
fixes: 17079 add more device airflow choices
2024-10-11 09:15:35 -04:00
Jeremy Stretch
f0cb03dead
Update changelog
2024-10-11 09:15:35 -04:00
github-actions
489fae4590
Update source translation strings
2024-10-11 09:15:35 -04:00
Jeremy Stretch
f48f530ae2
Closes #17669 : Enable filtering VLANs by assigned interface ( #17674 )
...
* Closes #17669 : Enable filtering VLANs by assigned interface
* Add tests
2024-10-11 09:15:35 -04:00
bctiemann
a01d85d993
Fixes : #17663 - Only remove extraneous attributes from extra if changing to a BooleanFilter ( #17670 )
...
* Only remove extraneous attributes from extra if changing to a BooleanField
* Add tests for MultipleChoiceField icontains and negation
* Use enum in test consistently
* Reorganize tests
* Add __empty test to base filter lookup tests
* Fix test name
* Change var name for clarity
2024-10-11 09:15:35 -04:00
Arthur Hanson
edaf4e34d3
17671 fix RackType search
2024-10-11 09:15:35 -04:00
Alexander Haase
8a4f33c998
Rename Microsoft Azure AD to Entra ID
...
Occurrences of the old term have been replaced by the new term. However,
the documentation still needs some work to reflect the new Entra ID
screenshots and terminology.
2024-10-11 09:15:35 -04:00
Jeremy Stretch
2d65b99399
Change attr_type from list to str for MultipleChoiceFilter ( #17638 )
2024-10-11 09:15:35 -04:00
Daniel Sheppard
aecedd07eb
Closes : #11671 - Add position display to cable trace
2024-10-11 09:15:35 -04:00
Jeremy Stretch
c030371c8f
Release v4.1.3
2024-10-11 09:15:35 -04:00
Jeremy Stretch
71233f8ab2
Remove old logos
2024-10-11 09:15:35 -04:00
github-actions
f3739adaf7
Update source translation strings
2024-10-11 09:15:35 -04:00
Arthur Hanson
acce34df09
Add support for socks connection to Git backend ( #17640 )
...
* Add support for socks connection to Git backend
* cleanup socks detection
* add documentation for installing python_socks
* dont need lower()
* cleanup
* refactor Socks to utilities
* fix imports
* fix missing comma
* Update docs/features/synchronized-data.md
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* review feedback
* Update docs/features/synchronized-data.md
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* review changes
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-11 09:15:35 -04:00
github-actions
3a52f63e16
Update source translation strings
2024-10-11 09:15:35 -04:00
Jeremy Stretch
21f799f46f
Changelog for #17558
2024-10-11 09:15:35 -04:00
Arthur Hanson
70b2c72bab
17558 raise validation error if removing used choice from ChoiceSet ( #17591 )
...
* 17558 raise validation error if removing choice from choiceset that is currently used
* 17558 raise validation error if removing choice from choiceset that is currently used
* 17558 raise validation error if removing choice from choiceset that is currently used
* 17558 add tests
* 17558 add tests
* Tightened up choice evaluation logic a bit; cleaned up test
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-11 09:15:35 -04:00
DM3740
f48bc124a6
Fixes : #17612 : Update ASN types in asn.md ( #17625 )
...
* Update asn.md
There are no 64-bit AS Numbers - 16- and 32-bit only :
https://www.iana.org/assignments/as-numbers/as-numbers.xhtml
* Update docs/models/ipam/asn.md
Co-authored-by: bluikko <14869000+bluikko@users.noreply.github.com>
---------
Co-authored-by: bluikko <14869000+bluikko@users.noreply.github.com>
2024-10-11 09:15:35 -04:00
github-actions
ef6c193fc9
Update source translation strings
2024-10-11 09:15:35 -04:00
Jeremy Stretch
758340dc47
Release v4.1.2
2024-10-11 09:15:35 -04:00
transifex-integration[bot]
fbaaced33a
Updates for project NetBox ( #17624 )
...
* Translate django.po in fr
100% translated source file: 'django.po'
on 'fr'.
* Translate django.po in it
100% translated source file: 'django.po'
on 'it'.
* Translate django.po in ru
100% translated source file: 'django.po'
on 'ru'.
* Translate django.po in de
100% translated source file: 'django.po'
on 'de'.
* Translate django.po in uk
100% translated source file: 'django.po'
on 'uk'.
* Translate django.po in nl
100% translated source file: 'django.po'
on 'nl'.
* Translate django.po in ja
100% translated source file: 'django.po'
on 'ja'.
* Translate django.po in pl
100% translated source file: 'django.po'
on 'pl'.
* Translate django.po in tr
100% translated source file: 'django.po'
on 'tr'.
* Translate django.po in cs
100% translated source file: 'django.po'
on 'cs'.
* Translate django.po in zh
100% translated source file: 'django.po'
on 'zh'.
* Translate django.po in da
100% translated source file: 'django.po'
on 'da'.
* Translate django.po in pt
100% translated source file: 'django.po'
on 'pt'.
* Translate django.po in es
100% translated source file: 'django.po'
on 'es'.
---------
Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-10-11 09:15:35 -04:00
Costas Drogos
e401e81285
Fixes : #17611 : Fix a ValidationError message
2024-10-11 09:15:35 -04:00
bctiemann
b100283a34
Fixes : #17360 - Ensure model is defined when rendering bulk_edit_button ( #17535 )
...
* Ensure model is defined when rendering bulk_edit_button
* Move model check to inner conditional
* Set model in context
* Return child_model instead of model for use in bulk_edit_button
2024-10-11 09:15:34 -04:00
bctiemann
95faa66acf
Fixes : #17497 - Handle invalid accessor fields in bulk import forms ( #17594 )
...
* Add handling for FieldError to CSVModelChoiceField.to_python to handle invalid accessor field
* manufacturer & default_platform should be CSVModelChoiceFields
* Fix string translation
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-11 09:15:34 -04:00
Arthur Hanson
ab42b00164
17419 fix MPTT issue with migrations for nested module bays ( #17553 )
...
* 17419 rebuild module bay tree on upgrade
* 17419 rebuild module bay tree on upgrade
* 17419 use get_model
2024-10-11 09:15:34 -04:00
Brian Tiemann
2cae87fd59
Change manufacturer to a CSVModelChoiceField in DeviceTypeImportForm
2024-10-11 09:15:34 -04:00
Jeremy Stretch
dda76b0f46
Fixes #17511 : Restore consistent font support for non-Latin characters
2024-10-11 09:15:34 -04:00
Arthur Hanson
028708e953
17604 fix cluster disk space display
2024-10-11 09:15:34 -04:00
Alexander Haase
68ad6fdadc
Add interface type SFP (100 Base-FX)
2024-10-11 09:15:34 -04:00