Commit Graph

13158 Commits

Author SHA1 Message Date
Arthur Hanson
3917bd840b 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
40e0dc1188 Closes #17472: Deprecate the staged changes API 2024-10-10 14:32:39 -04:00
Arthur Hanson
ca82a155f1 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
20f6e0fc0f 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
26006d784c fix migrations 2024-10-02 12:52:27 -07:00
Arthur Hanson
eb012fae2f 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
5ff9e302c8 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
904c666af4 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
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
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
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
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
Jeremy Stretch
5604f89e21 Closes #17482: Ignore Branch & StagedChange in nbshell 2024-09-16 09:10:21 -04:00
Jeremy Stretch
5be35c9c1d Closes #17477: Upgrade tabler to 1.0.0-beta21 2024-09-16 08:45:44 -04:00
Jeremy Stretch
9c4ac47b5e Merge pull request #17478 from netbox-community/develop
Release v4.1.1
2024-09-12 14:51:13 -04:00
Jeremy Stretch
9bf2bdb49c Merge branch 'master' into develop 2024-09-12 14:35:39 -04:00
Jeremy Stretch
97ad5e541f Release v4.1.1 2024-09-12 14:28:56 -04:00
transifex-integration[bot]
ab48db991d Updates for project NetBox (#17474)
* Translate django.po in cs

100% translated source file: 'django.po'
on 'cs'.

* Translate django.po in nl

100% translated source file: 'django.po'
on 'nl'.

* Translate django.po in ru

100% translated source file: 'django.po'
on 'ru'.

* Translate django.po in pl

100% translated source file: 'django.po'
on 'pl'.

* Translate django.po in es

100% translated source file: 'django.po'
on 'es'.

* Translate django.po in pt

100% translated source file: 'django.po'
on 'pt'.

* Translate django.po in da

100% translated source file: 'django.po'
on 'da'.

* Translate django.po in ja

100% translated source file: 'django.po'
on 'ja'.

* Translate django.po in uk

100% translated source file: 'django.po'
on 'uk'.

* Translate django.po in de

100% translated source file: 'django.po'
on 'de'.

* 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 tr

100% translated source file: 'django.po'
on 'tr'.

* Translate django.po in zh

100% translated source file: 'django.po'
on 'zh'.

---------

Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com>
2024-09-12 14:16:39 -04:00
Jeremy Stretch
0b6a484814 Remove markdown-include 2024-09-12 13:56:27 -04:00
Jeremy Stretch
5f206223c3 Delete obsolete static resources 2024-09-12 13:43:26 -04:00
Jeremy Stretch
fee7464ad6 Ignore blocked PRs 2024-09-12 13:00:42 -04:00
Jeremy Stretch
b0c7bfad5b Fixes #17437: Fix exception when specifying a bridge relationship on an interface template 2024-09-12 10:22:43 -04:00
Arthur Hanson
57fa960c5d 17333 don't prefetch jobs on script api call 2024-09-12 09:12:03 -04:00
Arthur Hanson
598cd301d2 17444 fix event rules jobs enqueue (#17458)
* 17444 fix event rules jobs enqueue

* 17444 fix event rules jobs enqueue

* 17444 fix event rules jobs enqueue

* 17444 cleanup

* 17444 cleanup
2024-09-12 08:42:29 -04:00
Arthur Hanson
89cd087bdd 17457 Make NumericArrayFilter optional 2024-09-12 08:31:02 -04:00
github-actions
1e097e0bd7 Update source translation strings 2024-09-12 05:02:14 +00:00
pl0xym0r
1d20df8c65 Fixes #17362: Fix unicity of VRF returned by filter_present_in_vrf function 2024-09-11 09:43:21 -04:00