Commit Graph

13733 Commits

Author SHA1 Message Date
Brian Tiemann
8d5e4ccbe9 Add VLAN Translation Policy to bulk edit forms and tables for Interface and VMInterface 2025-02-24 13:55:40 -05:00
Jason Novinger
44d0e94ffa Fixes #18605: only VLANs at selected Site are shown in VLAN select 2025-02-24 11:29:31 -06:00
github-actions
b996356676 Update source translation strings 2025-02-24 15:18:11 +00:00
Jeremy Stretch
b3984799c4 Clarify error message 2025-02-24 10:14:52 -05:00
atownson
8e4e2e5608 Do not retrieve the data field from Job objects unless needed 2025-02-24 09:07:16 -06:00
Andrey Tikhonov
035e8b540c Add missed init 2025-02-24 15:43:07 +01:00
Andrey Tikhonov
a930bbe9ca Cleanup 2025-02-24 15:38:19 +01:00
Andrey Tikhonov
e85d342aa6 Fix link peers 2025-02-24 15:28:45 +01:00
Andrey Tikhonov
e399c96200 port generic field to 4.2 2025-02-24 15:20:18 +01:00
bctiemann
a587f80577 Merge pull request #18703 from netbox-community/release-v4.2.4
Release v4.2.4
2025-02-21 15:34:15 -05:00
Brian Tiemann
eef6a326db Fix django-htmx version 2025-02-21 15:19:54 -05:00
Brian Tiemann
a0c5a40213 Release v4.2.4 2025-02-21 15:15:14 -05:00
Jeremy Stretch
1bd1615568 Fixes #18674: Fix form reset when selecting a value from a speed selection dropdown 2025-02-21 14:04:50 -05:00
mr1716
c1c50bfc81 #18698 Correct REST Wikipedia URL In Documentation 2025-02-21 09:34:16 -05:00
github-actions
5be401b918 Update source translation strings 2025-02-21 05:02:07 +00:00
Jeremy Stretch
f74fa97edd Update Transifex resource slug 2025-02-20 12:53:25 -05:00
Jason Novinger
53d87acd13 Fixes #18619: shift-select selects hidden items
This also fixes the inverse, when a range is unselected via shift-click,
previously checked checkboxes that are hidden are not changed.
2025-02-20 10:17:43 -05:00
Alexander Haase
51617ae11b Cover multitable inheritance in serialization
During serialization, custom fields may be available to a model due to
multi-table inheritance, but might not be available in serialized data
because only direct fields of the model are covered. Now this attribute
is only used if available in serialized data. Models using multi-table
inheritance must modify their serialize_object() method to cover parent
serialization.
2025-02-20 10:09:35 -05:00
Jason Novinger
35110beec4 Fixes #18594: asn_count sort in Sites list (#18634)
* Fixes #18594: asn_count sort in Sites list

* Fixes similar issue in `circuits.views.ProviderListView`

Thanks @bctiemann for point this out!
2025-02-20 10:01:04 -05:00
Jamie Murphy
517965bc25 add device rack title 2025-02-19 22:02:59 +00:00
github-actions
cf1eb393af Update source translation strings 2025-02-19 05:02:03 +00:00
Jason Novinger
edc2989f88 Fixes #18585: filtering circuits by location (#18641)
* Fixes #18585: filtering circuits by location

This also fixes a related issue where selected filter is not shown in
the filter form.

Changes:
- Adds `CircuitFilterSet.location_id` field to enable filtering with
  incoming GET params
- Adds `CirciotFilterForm.location_id` field to enable filtering from
  list form
- Adds `location_id` to the Location fieldset on `CircuitFilterForm`

* Adds test for new CircuitFilterset.location_id filter
2025-02-18 13:33:05 -05:00
Alexander Haase
3f873118ad Fixes 18555: Fix model URL generator for plugins (#18607)
* Fix model URL generator for plugins

* Fix reverse accessor warning

* Revert "Fix reverse accessor warning"

This reverts commit f07642bb99.

* Add URL test case for regular models

* Split dummy models

Instead of using a single model for testing, one is used for testing the
plugin API and a dedicated one is used for testing the NetBox plugin
model features.

* Fix filterset test case error

* Rename test module

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2025-02-18 09:11:32 -05:00
Renato Almeida de Oliveira
c27a23804d Fixes: #18584 Add rack types column to manufacturers table (#18636)
* Add racktype_count annotation to list view queryset, create the LinkedCountColumn in ManufacturerTable

* Add Manufacturer field to RackTypeFilterForm
2025-02-18 08:41:12 -05:00
github-actions
dc840d07fb Update source translation strings 2025-02-15 05:02:03 +00:00
Alexander Haase
8abdf39a05 Replace DurationChoices by JobIntervalChoices 2025-02-14 14:42:27 -05:00
Renato Almeida de Oliveira Zaroubin
823440dbea Update ModuleBay instance name before saving it 2025-02-14 14:22:29 -05:00
github-actions
55991ea91d Update source translation strings 2025-02-12 05:02:12 +00:00
Tobias Genannt
a3dffdae20 Close #18357: Display author name for plugins 2025-02-11 12:19:43 -05:00
Renato Almeida de Oliveira
7677c793ee Fixes: 18593 - "Create & Add Another" broken for new IP addresses (#18602)
* update IPAddressEditView get_extra_addanother_params

* Simplify get_extra_addanother_params
2025-02-11 08:31:40 -05:00
github-actions
9c1f3f5f98 Update source translation strings 2025-02-10 18:34:35 +00:00
Alexander Haase
efe2ca5283 Fixes 18208: Consolidate rendering configuration templates (#18604) 2025-02-10 11:03:08 -05:00
Alexander Haase
19de9eb2fe Omit empty related models 2025-02-10 10:56:09 -05:00
Matej Vadnjal
98350cd398 use script form's cleaned data when calling script from CLI
so ObjectVar and other field values have proper types in script's data variable
2025-02-10 09:46:59 -05:00
Alexander Haase
2127b990b6 Fixes 18247: Fix dark mode button classes (#18617) 2025-02-10 09:42:08 -05:00
Jeremy Stretch
3eb81e23fc Closes #17918: Fix styling of "tagged items" list under tag view 2025-02-10 09:00:55 -05:00
github-actions
0cb6c5f035 Update source translation strings 2025-02-08 05:02:19 +00:00
Antoine Keranflec'h
e5146862bb Fixes: #18408 add STATUS_PAUSED to VirtualMachine (#18595)
* feat(vm): add extra status

* keep only usefull status

---------

Co-authored-by: Antoine Keranflec'h <antoine.keranflech@worldline.com>
2025-02-07 16:41:45 -05:00
Jeremy Stretch
8e2fc6dc4e Docs cleanup 2025-02-07 15:33:37 -05:00
github-actions
cbe8fed113 Update source translation strings 2025-02-07 05:02:00 +00:00
Renato Almeida de Oliveira
0a14b2e1e2 Fixes: #18013 - All saved filters showing up for Change Log table, regardless of defined object type (#18551)
* Setup ObjectChangeFilterForm __init__ to add query_param to filter_id

* code lint, move __init__ to end of class

* Move filter_id widget setup to SavedFiltersMixin, and add model attributes to Models FilterForms

* Add missing model declarations for filter forms

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2025-02-06 17:21:46 -05:00
Renato Almeida de Oliveira
6357c2293d Fixes: #18241 - Script results log_threshold should default to Default (#18501)
* Changed LogLevelChoices order; Changed ScriptResultView to select LogLevelChoices to LOG_DEFAULT and setup the html template to put (All) in the last one

* Change LogLevelChoices in ScriptResultView get_table method

* Remove default option, add Default string to INFO

* Fix scripts.py and reports.py to reflect removing DEFAULT level

* fix linting
2025-02-06 16:30:25 -05:00
Jeremy Stretch
a338193826 Misc cleanup of the release checklist 2025-02-05 11:40:53 -05:00
bctiemann
a040c86322 Merge pull request #18569 from netbox-community/release-v4.2.3
Release 4.2.3
2025-02-04 15:35:45 -05:00
Brian Tiemann
04a5b8ea34 Update static bundle 2025-02-04 15:20:08 -05:00
Brian Tiemann
d53b334db9 Release 4.2.3 2025-02-04 15:09:37 -05:00
mr1716
c80389edaa #18496 Fixing Broken Link For Custom Links Documentation 2025-02-03 10:12:29 -05:00
Jeremy Stretch
5f6b1f6369 Closes #18559: Add a build parameter to ReleaseInfo (#18560)
* Closes #18559: Add a build parameter to ReleaseInfo

* Adjust dataclass typing
2025-02-03 09:44:00 -05:00
github-actions
97c7120beb Update source translation strings 2025-02-01 05:02:11 +00:00
Brian Tiemann
1b03345b91 Remove 'provider' from VirtualCircuitIndex.display_attrs 2025-01-31 14:42:39 -05:00