Commit Graph

13438 Commits

Author SHA1 Message Date
Jeremy Stretch
3aaf3446ad Release v4.2.2 2025-01-29 18:23:56 -05:00
atownson
39cd8bc42d Fixes: #18369 - Remove the json filter for protection rules (#18388)
* Remove the json filter for protection rules

* Configure PROTECTION_RULE config attribute to use ConfigJSONEncoder as serializer

* Tweak getattr()

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2025-01-29 18:23:56 -05:00
Jeremy Stretch
8cc9a5af5e Fixes #18392: Exclude config contexts assigned to locations for VMs 2025-01-29 18:23:56 -05:00
Jeremy Stretch
ff565ab192 Closes #18425: Remove the triage priority field from GitHub issue templates 2025-01-29 18:23:56 -05:00
Jeremy Stretch
50321b2cbb Fixes #18379: Ensure RSS feed content within dashboard widget is sanitized 2025-01-29 18:23:56 -05:00
Brian Tiemann
6702105ed9 Migrate DEFAULT_FILE_STORAGE to STORAGES 2025-01-29 18:23:56 -05:00
Brian Tiemann
310e4360d4 Make GFK scope field sortable=False on tables where it appears 2025-01-29 18:23:56 -05:00
bctiemann
b160c83c0e Fixes: #18336 - Perform Rack object validation of u_height and starting_unit on rack_type if present (#18395)
* Perform Rack object validation of u_height and starting_unit on rack_type if present

* Calculate effective values before doing validation
2025-01-29 18:23:56 -05:00
bctiemann
00b891000f Fixes: #18373 - Fix validation of site in Assign Device to Cluster flow (#18375)
* Fix validation of site in Assign Device to Cluster flow

* Validate Location as well as Site scope
2025-01-29 18:23:56 -05:00
bctiemann
a0b084615b Fixes: #18350 - Remove 'site' and 'provider_network' from CircuitTerminationIndex.display_attrs (#18351)
* Remove 'site' and 'provider_network' from CircuitTerminationIndex.display_attrs

* Use '_site' and '_provider_network' in display_attrs

* Replace private fields with 'termination'
2025-01-29 18:23:56 -05:00
Jeremy Stretch
7de79a1b8a Closes #18348: Disable legacy pre-commit hook script 2025-01-29 18:23:56 -05:00
Jeremy Stretch
56ae5734a5 Fixes #18376: Include tagged VLANs in interfaces list for Q-in-Q interfaces 2025-01-29 18:23:56 -05:00
github-actions
1c587d0454 Update source translation strings 2025-01-29 18:23:56 -05:00
Brian Tiemann
30714dadc5 Don't cache CACHE_KEY_CATALOG_ERROR if ISOLATED_DEPLOYMENT is True 2025-01-29 18:23:56 -05:00
Jeremy Stretch
733c1fce63 Fixes #18368: Restore missing fields on REST API serializer for MAC addresses 2025-01-29 18:23:56 -05:00
Jeremy Stretch
dfd9b06d6c Fixes #18363: Fix assignment of MAC addresses to interfaces via REST API (#18367)
* Fixes #18363: Fix assignment of MAC addresses to interfaces via REST API

* Add missing API & view tests
2025-01-29 18:23:56 -05:00
Jeremy Stretch
7de47b8d99 Closes #18362: Create a system job for census reporting 2025-01-29 18:23:56 -05:00
Brian Tiemann
5e35ca688c Update docs to indicate PostgreSQL 13+ requirement 2025-01-29 18:23:56 -05:00
github-actions
eef1704820 Update source translation strings 2025-01-29 18:23:56 -05:00
Jeremy Stretch
2693434df1 Release v4.2.1 (#18346)
* Release v4.2.1

* Add changelog for #18282
2025-01-29 18:23:56 -05:00
Brian Tiemann
6cf3475eab Use order_by to change ordering behavior of VLAN column rather than changing accessor 2025-01-29 18:23:56 -05:00
Brian Tiemann
e6b3e041b6 Change PrefixTable.vlan to represent the VLAN ID rather than the VLAN object, to enable more useful sorting by VLAN ID rather than site-grouped VLAN objects 2025-01-29 18:23:56 -05:00
Jeremy Stretch
8905cb4a9c Fixes #18329: Pin strawberry-graphql-django to v0.52.0 to resolve upstream bug 2025-01-29 18:23:56 -05:00
github-actions
1eb581217d Update source translation strings 2025-01-29 18:23:56 -05:00
bctiemann
0c9d671ace Fixes: #18316 - Fix PrefixIndex reference to 'site' (#18322)
* Fix PrefixIndex reference to 'site'

* Fix ClusterIndex reference to 'site' and add 'scope' to WirelessLANIndex
2025-01-29 18:23:56 -05:00
Tobias Genannt
f050b4c6d9 Fix #18314: Use get to avoid KeyError 2025-01-29 18:23:56 -05:00
Jeremy Stretch
48db63c102 Fixes #18324: Correct filter names for certain related object listings 2025-01-29 18:23:56 -05:00
Jeremy Stretch
bef93933ec Fixes #18318: Correct navigation breadcrumbs for module type UI view 2025-01-29 18:23:56 -05:00
github-actions
8e26563506 Update source translation strings 2025-01-29 18:23:56 -05:00
Jeremy Stretch
fc3d91c5ea Closes #18311: Update minimum required version of PostgreSQL 2025-01-29 18:23:56 -05:00
Jeremy Stretch
a946a3870f Release v4.2.0 2025-01-29 18:23:55 -05:00
Jeremy Stretch
bba302b5c1 Closes #13366: Update documentation for main branch (#18309)
* Closes #13366: Update documentation for main branch

* Clarify wording
2025-01-29 18:23:55 -05:00
Jeremy Stretch
5d1070796d Merge branch 'develop' into feature 2025-01-06 13:42:57 -05:00
Jeremy Stretch
83d62315cc
Closes #18153: Introduce virtual circuit types (#18300)
* Closes #18153: Introduce virtual circuit types

* Fix TagTestCase

* Fix GraphQL API test
2025-01-06 13:37:43 -05:00
Jeremy Stretch
ab8fc3de5e Merge branch 'master' into develop 2025-01-06 11:25:43 -05:00
Jeremy Stretch
67657efe1c Release v4.1.11 2025-01-06 11:24:29 -05:00
bctiemann
c9ee699633
Fixes: #18263 - Iterate through a freshly queried set of CableTerminations to find endpoints in update_connected_endpoints (#18264)
* Iterate through a freshly queried set of CableTerminations to find endpoints in update_connected_endpoints

* Add defensive break if q_filter has not been populated
2025-01-06 09:54:13 -05:00
Brian Tiemann
89d7487197 Update some detail views with prefetch_related from 'site' to 'scope' 2025-01-06 09:48:14 -05:00
github-actions
40f22533d1 Update source translation strings 2025-01-04 05:02:13 +00:00
Jeremy Stretch
c3b0de3ebd
Closes #18281: Support group assignment for virtual circuits (#18291)
* Rename circuit to member on CircuitGroupAssignment

* Support group assignment for virtual circuits

* Update release notes

* Introduce separate nav menu heading for circuit groups

* Add generic relations for group assignments

* Remove obsolete code

* Clean up bulk import & extend tests
2025-01-03 13:42:47 -05:00
bctiemann
e8e3981da5
Fixes: #18289 - Add 'created' and 'last_updated' fields to ModuleTypeTable (#18292)
* Add 'created' and 'last_updated' fields to ModuleTypeTable for consistency

* Add 'created' and 'last_updated' fields to ModuleTable for consistency
2025-01-03 12:35:04 -05:00
Jeremy Stretch
b9abb3200c Fixes #18271: Require only encryption OR authentication algorithm when creating an IPSec proposal via REST API 2025-01-03 12:33:58 -05:00
Jeremy Stretch
10748edc3a Fixes #18222: Include action data from event rule in webhook and custom script data 2025-01-03 09:39:05 -05:00
Jeremy Stretch
6f4bec7644 Fixes #18278: Restore missing columns on MACAddressTable 2024-12-30 14:00:29 -05:00
bctiemann
0cda10a204
Fixes: #18203 - Validate that scope is selected if scope type is specified (#18254)
* Validate that a scope has been selected if a scope_type is specified, on CachedScopeMixin models

* Cleaner logic

* Call super().clean() after validating scope_type/scope
2024-12-30 12:36:46 -05:00
Jeremy Stretch
685264c757 Merge branch 'develop' into feature 2024-12-30 12:30:34 -05:00
Thor Selmer Dreier-Hansen
f03489f58e
Add distinct() to filtering VLANs by assigned interface (#18274) 2024-12-27 15:11:51 -05:00
Jeremy Stretch
c6452b33d8
Merge pull request #18267 from netbox-community/develop
Release v4.1.10
2024-12-23 11:42:29 -05:00
Jeremy Stretch
16917133b2
Merge branch 'master' into develop 2024-12-23 11:24:38 -05:00
Jeremy Stretch
28eada13d3 Release v4.1.10 2024-12-23 10:59:52 -05:00