Commit Graph

13223 Commits

Author SHA1 Message Date
DM3740
0b822f55b3 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-09-27 16:20:49 -04:00
github-actions
2e5167676a Update source translation strings 2024-09-27 05:01:59 +00:00
Jeremy Stretch
0e0253eb67 Merge pull request #17626 from netbox-community/develop
Release v4.1.2
2024-09-26 16:31:22 -04:00
Jeremy Stretch
7839fdd785 Release v4.1.2 2024-09-26 16:13:57 -04:00
transifex-integration[bot]
7c2a8ac69f 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-09-26 16:08:01 -04:00
Costas Drogos
6d822a26c1 Fixes: #17611: Fix a ValidationError message 2024-09-26 16:04:17 -04:00
bctiemann
0daef18c74 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-09-26 15:36:42 -04:00
bctiemann
84f3e894ea 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-09-26 15:31:07 -04:00
Arthur Hanson
d188fa316f 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-09-26 15:24:32 -04:00
Brian Tiemann
713e0eb1bb Change manufacturer to a CSVModelChoiceField in DeviceTypeImportForm 2024-09-26 15:17:28 -04:00
Jeremy Stretch
f3609b4820 Fixes #17511: Restore consistent font support for non-Latin characters 2024-09-26 14:59:10 -04:00
Arthur Hanson
a3fd666f2a 17604 fix cluster disk space display 2024-09-26 14:58:00 -04:00
Alexander Haase
faabaf6912 Add interface type SFP (100 Base-FX) 2024-09-26 14:55:08 -04:00
Alexander Haase
425b9ad747 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-09-26 14:51:11 -04:00
Jeremy Stretch
ae5426be91 Fixes #17601: Record change to terminating object when disconnecting a cable 2024-09-25 10:20:31 -04:00
github-actions
5e494c68f3 Update source translation strings 2024-09-25 05:02:13 +00:00
Jeremy Stretch
1b132541fe Update changelog 2024-09-24 17:14:02 -04:00
bctiemann
1729c0d8d1 Fixes: #17126 - Respect the weight unit of the DeviceType when displaying the Device detail (#17579)
* Respect the weight unit of the DeviceType when displaying the Device details

* Reuse the same weight formatting construct as in rack.html, and add placeholder in rack if empty
2024-09-24 16:53:39 -04:00
Arthur Hanson
075574f686 17569 Add help text to VLAN Group that is not saved on the interface (#17578)
* 17569 Add help text to VLAN Group that is not saved on the interface

* 17569 review changes
2024-09-24 16:49:41 -04:00
iamk3
e21f228614 create 802.15.4 interface type 2024-09-24 10:18:19 -04:00
Arthur Hanson
8737c2a2ca 17537 add name field to ASN Range Search 2024-09-24 10:05:04 -04:00
bctiemann
612173fd6e Closes: #16837 - Fix type__empty filter in character-based filters (#17574)
* Fix type__empty filter in character-based filters

* Add tests
2024-09-24 10:02:49 -04:00
Arthur Hanson
b21e8277aa 17501 fix showing last run of script execution in list view (#17581)
* 17501 fix showing last run of script job execution in list view

* 17501 fix showing last run of script job execution in list view
2024-09-24 09:45:38 -04:00
Arthur Hanson
5043eab61e 17555 fix interface filter on device for hide-disconnected 2024-09-24 09:31:52 -04:00
Jeremy Stretch
6f648b74fa Update changelog 2024-09-24 09:23:14 -04:00
Jeremy Stretch
f37e2e55a3 Closes #17577: Reference ModelState when determining whether an object is being created 2024-09-24 09:14:07 -04:00
atownson
b08641a443 Satisfy prettier check 2024-09-23 14:59:16 -05:00
atownson
e18cc9366f Update TS styling 2024-09-23 13:42:37 -05:00
atownson
0741da6366 Added null check for the button group 2024-09-23 13:26:47 -05:00
atownson
72f569fc67 Fix TS import 2024-09-23 13:16:05 -05:00
atownson
bd3b1f0152 Added TypeScript to handle conditionally floating the object list forms 2024-09-23 13:06:46 -05:00
atownson
e238bb91b9 Added style classes to represent left and right justified floating button groups 2024-09-23 13:04:44 -05:00
atownson
647a4eb5de #16009 Removed floating div background and moved filter form buttons outside of card 2024-09-20 11:02:59 -05:00
github-actions
d2f42f815f Update source translation strings 2024-09-20 05:02:25 +00:00
bctiemann
540b116ac8 Fixes: #15408 - Add primary_ip4 and primary_ip6 to bulk import form for VDC (#17509)
* Add primary_ip4 and primary_ip6 to bulk import form for VDC

* Specify IPAddress querysets with address field accessor and labels

* Filter primary_ip4/ip6 querysets to only those IPs available on the device

* Fix comment

* Make ipv6 help text more correct

* Shorten IPv6 example

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-09-19 13:51:24 -04:00
Arthur Hanson
de318df421 17517 fix cable creation when switching device type 2024-09-19 13:24:49 -04:00
Jeremy Stretch
a2beaefc3d Merge branch 'develop' into issue_16009 2024-09-19 13:09:44 -04:00
bctiemann
7d70fedb35 Fixes: #17083 - Wrap labels in a div to reduce inadvertently clickable area to their left in forms (#17525)
* Wrap labels in a div to reduce inadvertently clickable area to their left in forms

* Set form label to be inline-block
2024-09-19 13:07:36 -04:00
Arthur Hanson
4b6b22e69b 17522 enable localization of user preference form 2024-09-19 10:11:56 -04:00
Arthur Hanson
b7cfddbe4d 14201 allow searching for ASN with prefix AS 2024-09-19 10:08:54 -04:00
Arthur Hanson
a95b6f38e4 17521 fix error message toast color in dark mode 2024-09-19 10:04:04 -04:00
github-actions
6c33801495 Update source translation strings 2024-09-18 05:02:30 +00:00
Jeremy Stretch
a84ea064ad Closes #16669: Include a notice when rendering docs locally 2024-09-17 14:44:51 -04:00
atownson
234761064a #16009 Added btn-float-group style class and added to form templates for floating button groups 2024-09-17 13:36:05 -05:00
Jeremy Stretch
738e0ed1a4 Increase stale PR timer from 15 to 30 days 2024-09-17 09:29:59 -04:00
Jonathan Senecal
f3535f2019 Update choices.py to add C39 Type outlets
(cherry picked from commit e92d0ec2e642b00506a64c1333e95cea8a36feae)
2024-09-17 09:28:21 -04:00
Arthur Hanson
57222e880b 17406 allow deletion of plugin custom field if plugin removed 2024-09-17 09:26:33 -04:00
Arthur Hanson
ab8140b92c 17406 allow deletion of plugin custom field if plugin removed 2024-09-17 09:26:33 -04:00
Daniel Sheppard
cb15dc9ed3 Fixes: #17492 - Change methods on NetBox*HyperlinkedIdentityField to use get_viewname 2024-09-17 09:21:18 -04:00
Jeremy Stretch
a71fcc3b28 Increase operations limit for stale action 2024-09-16 11:49:15 -04:00