Commit Graph

13200 Commits

Author SHA1 Message Date
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
Alexander Haase
b395a9584e Add return URL to available IPs table link
As with other buttons to create objects, the 'x IPs available' button
in tables now returns to this URL after the IP address has been created.
2024-10-11 09:15:34 -04:00
Arthur Hanson
65687851fe
16547 Add distance to Circuit (#17629)
* 16547 Add distance to Circuit

* 16547 fix test cases

* 16547 fix test cases

* 16547 add distance to API, forms, tables

* 16547 fixes

* 16547 fixes

* 16547 review changes

* 16547 review changes

* Clean up DistanceColumn

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-10 14:37:33 -04:00
Jeremy Stretch
bc597c3c5d Closes #17472: Deprecate the staged changes API 2024-10-10 14:32:39 -04:00
Arthur Hanson
ed1327eeb7
16546 define get_absolute_url method in NetBoxModel (#17693)
* 16546 define get_absolute_url method in NetBoxModel

* 16546 define get_absolute_url method in NetBoxModel

* 16546 define get_absolute_url method in NetBoxModel

* 16546 move get_absolute_url to NetBoxFeatureSet

* 16546 fix CircuitTermination

* Fix linebreaks

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-10 09:59:19 -04:00
Arthur Hanson
3f469b0b0a
17476 Upgrade to Django 5.1 (#17620)
* 17476 Upgrade to Django 5.1

* 16136 fix migrations

* 17476 update remove GFK from fields

* 17476 fix

* 17476 update django to bugfix release

* fix comma
2024-10-10 09:08:58 -04:00
Arthur Hanson
1969f0dc71 fix migrations 2024-10-02 12:52:27 -07:00
Arthur Hanson
2c68aca344
17195 Add color to PowerOutlet (#17623)
* 17195 Add color to PowerOutlet

* 17195 Add color to PowerOutlet

* Reorder serializer fields

* Misc cleanup

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-10-02 08:51:41 -04:00
Arthur Hanson
8cd0a3215c
16783 Add status field to InventoryItem (#17627)
* 16783 Add status field to InventoryItem

* 16783 fix tests

* 16783 fix tests

* 16783 review changes
2024-09-30 18:26:14 -04:00
Arthur Hanson
c60a0f4f56
16136 remove Django Admin (#17619)
* 16136 remove Django Admin

* 16136 fix plugin test

* 16136 fix migrations

* Revert "16136 fix migrations"

This reverts commit 80296fa1ec.

* Remove obsolete admin module from dummy plugin

* Remove obsolete admin site configuration

* Remove unused import statement

* Remove obsolete admin module

* Misc cleanup

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-09-27 08:33:02 -04:00