Commit Graph

15851 Commits

Author SHA1 Message Date
bctiemann ba5018a3b4
Merge pull request #22763 from netbox-community/22497-delete
22497 Avoid redundant counter updates when deleting an object's parent
2026-07-24 14:37:24 -04:00
Arthur b0f8cb4fbb remove comment 2026-07-24 11:29:12 -07:00
Jeremy Stretch bf363ab9b7
Closes #22593: Deprecate legacy fields on rack model (#22758) 2026-07-24 09:35:38 -05:00
Jeremy Stretch 928d07e69f
Closes #22695: Clean up test suite output (#22760) 2026-07-24 08:44:24 -04:00
github-actions 05e6e85042 Update source translation strings 2026-07-24 05:56:43 +00:00
Arthur d6698ebc68 add test 2026-07-23 15:18:36 -07:00
Arthur eeb44cd0c8 add test 2026-07-23 15:09:52 -07:00
Arthur 393c9d7307 cleanup 2026-07-23 14:23:49 -07:00
Arthur b82016ce0d Merge branch 'feature' into 22486-webhook 2026-07-23 14:04:10 -07:00
bctiemann b6ff8654e0
Merge pull request #22755 from netbox-community/22737-deleting-a-profiled-cable-leaves-stale-connector-metadata-on
Fixes #22737: Clear cached Cable Profile data when deleting Cables
2026-07-23 14:00:29 -04:00
bctiemann d4670266d6
Merge pull request #22759 from netbox-community/22757-InlineFields-help-text
Closes #22757: Extend InlineFields to support an arbitrary help text
2026-07-23 13:57:43 -04:00
Jeremy Stretch 728c84470b
Closes #22753: Add `header_safe` Jinja2 filter for sanitizing webhook headers (#22754)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-23 10:58:25 -05:00
bctiemann cd2a43dc5f
Closes #22485: Break the search signal wiring import cycle (#22744)
Closes #22485
2026-07-23 10:54:48 -05:00
bctiemann e2bc76c8d3
Closes #22748: ContentTypeField.to_internal_value() must respect its declared queryset (#22749) 2026-07-23 10:56:23 -04:00
Arthur Hanson 58b4209fe6
#22640 - Enforce ALLOWED_URL_SCHEMES for URLs in custom fields (#22732) 2026-07-23 10:33:53 -04:00
Jeremy Stretch 00dc86b3ee Closes #22757: Extend InlineFields to support an arbitrary help text 2026-07-23 10:17:44 -04:00
Martin Hauser 47102330eb
fix(dcim): Clear stale cable profile data on cable deletion
Clear cable_connector and cable_positions when deleting profiled cables.
Adds data migration to clean up stale values from earlier versions that
failed to clear these fields, preventing validation errors on affected
endpoints.

Fixes #22737
2026-07-23 15:06:08 +02:00
github-actions ee8aaec433 Update source translation strings 2026-07-23 05:59:11 +00:00
bctiemann 1860713156
Merge pull request #22741 from netbox-community/22697-using-cancel-button-in-add-script-screen-returns-to-root
Fixes #22697: Return to Scripts list when canceling ScriptModule creation
2026-07-22 19:45:08 -04:00
Jeremy Stretch b62c384daf
Closes #22595: Introduce BULK_UPDATE_CHUNK_SIZE config parameter to limit max number of rows per bulk update (#22728) 2026-07-22 22:44:33 +02:00
Sri Chandraja Reddy Allala 3e3d36cc2d
Fixes #22588: Filter VLANs by Site Group scope when assigning to a prefix (#22684) 2026-07-22 12:44:09 -07:00
Martin Hauser 84a024babd
fix(ipam): Add comments field to ASN search indexing (#22739)
Include comments field in ASN search with weight 5000 to enable
full-text search on ASN comment content.

Fixes #22736
2026-07-22 11:58:48 -07:00
Jeremy Stretch a24fbb06ce Closes #22721: Enable plugins to extend core GraphQL API
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 13:16:43 -04:00
bctiemann 0a3e9e3bdb
Merge pull request #22709 from netbox-community/22604-document-packaged-netbox-installation-and-release-workflow
Closes #22604: Add Python package installation guide (experimental)
2026-07-22 12:24:39 -04:00
Martin Hauser 8ff8dab8a2
docs: Add Python package installation guide (experimental)
Introduce experimental Python package installation workflow as an
alternative to release archive and Git methods. Document package layout,
setup command, upgrade procedure, and migration path for existing
deployments.

Fixes #22604
2026-07-22 18:18:16 +02:00
Jeremy Stretch d5dca3ae81
Closes #20972: Add support for channelized subinterfaces (#22647) 2026-07-22 11:10:45 -05:00
Martin Hauser bc51d04988
fix(extras): Set default return URL for ScriptModule create view
The ScriptModule add view now falls back to the Scripts list when no
explicit return URL is provided. Adds regression test to verify the
default return URL behavior.

Fixes #22697
2026-07-22 18:01:54 +02:00
Martin Hauser 98c94f5fc7
Fixes #22720: Fix Virtual Chassis deletion with cross-chassis LAGs (#22740) 2026-07-22 10:43:26 -05:00
Jeremy Stretch e79e33e9dd
Fixes #22729: Escape names of file attachments in HTTP responses (#22730) 2026-07-22 10:38:22 -05:00
bctiemann abe4a2cd9e
Closes #22685: Add "any" lookup for tag & tag_id filters 2026-07-22 08:20:09 -04:00
Arthur Hanson 64519b722e
Fixes #22677: Fix display of validation errors for Cable length fields (#22733) 2026-07-22 11:17:36 +02:00
bctiemann e232ec00e3
Merge pull request #22724 from netbox-community/22719-rest-api-returns-500-instead-of-a-validation-error-for
Fixes #22719: Correct malformed IP value validation
2026-07-21 22:05:17 -04:00
Arthur 30c61a3aa4 22486 - Add Configurable timeout for webhooks 2026-07-21 16:42:50 -07:00
Martin Hauser f9a90f3cc9
fix(dcim): Correct format placeholder in Cluster location validation error (#22725)
Changes 'site' to 'location' in the error message format string to match
the actual parameter name being passed. Adds regression test coverage to
verify the error message displays the correct location name.

Fixes #22717
2026-07-21 08:27:54 -07:00
Jeremy Stretch ab07002df8 Cleanup from merging main 2026-07-21 09:28:17 -04:00
Jeremy Stretch e50683fee9 Merge main into feature 2026-07-21 09:09:58 -04:00
Martin Hauser 87d396bab5 feat(ipam): Change DHCP IP address status color from green to purple
Group DHCP with SLAAC as an automatic address configuration method while
keeping it visually distinct from Active and Available.

Fixes #22623
2026-07-21 08:32:54 -04:00
Martin Hauser f9363f8688
fix(ipam): Fix format string in IP address/prefix validation errors
Add missing keyword argument to format() calls in validation error
messages. This ensures the invalid data value is properly included in
the error message returned to the user.

Fixes #22719
2026-07-21 09:41:04 +02:00
Arthur 6539ee10b2 fixes 2026-07-20 14:19:47 -07:00
Arthur b86843aaad Speed up bulk-delete objects 2026-07-20 13:51:29 -07:00
Martin Hauser cfbbceea4d
Closes #15289: Allow moving Modules between Bays and Devices (#22704)
Fixes #15289
2026-07-20 14:21:07 -05:00
Martin Hauser d857c145c0
fix(dcim): Resolve VC position when replicating relationships (#22710)
Pass the device context to resolve_name() when creating port mappings
and assigning interface bridges. This ensures that component template
names containing {vc_position} resolve consistently with the names of
the instantiated device components.

Fixes #22707
2026-07-20 10:46:26 -07:00
Martin Hauser 15d2cc35e0
Closes #19273: Enable selection of VLANs scoped to a Device's Cluster or Cluster Group (#22715) 2026-07-20 10:18:56 -05:00
Martin Hauser 80f6da084e fix(forms): Improve Tom Select validation error styling
Replicate Bootstrap's invalid styling for Tom Select widgets with
explicit .is-invalid class, and apply NetBox's server-side error border
to widgets with aria-invalid='true'. This ensures consistent validation
feedback across both client and server-side validation states.

Fixes #22712
2026-07-20 08:50:22 -04:00
github-actions 158f6846c3 Update source translation strings 2026-07-19 05:58:36 +00:00
bctiemann 0eb1fcc09c
Closes #22682: Fix CachedScopeMixin cache fields cascading on ancestor deletion (#22693)
CachedScopeMixin._region and ._site_group may cache ancestors of a
Site or Location scope. Change these relationships to SET_NULL so
deleting a Region or SiteGroup clears the cached value instead of
deleting the scoped Prefix, Cluster, or WirelessLAN.

Add reverse GenericRelation fields for Cluster and WirelessLAN on
Region and SiteGroup. This preserves the expected cascade when a
Region or SiteGroup is itself the direct scope, matching the existing
Prefix behavior.

Add migrations recording the ORM-level on_delete changes and regression
coverage for Site, Location, and direct Region/SiteGroup scopes.
2026-07-18 10:35:08 +02:00
github-actions 100589bf06 Update source translation strings 2026-07-18 05:44:18 +00:00
bctiemann 5d05fcc983
Merge pull request #22696 from netbox-community/21988-restrict-filtered-object-references
Fixes #21988: Enforce view permissions when referencing related object by attributes in REST API
2026-07-17 14:40:05 -04:00
Arthur Hanson 8aa39cf24b
Closes #22678: Add security note for Redis broker trust / RQ task deserialization (#22679) 2026-07-17 13:59:47 +02:00
bctiemann f0a58362f4
Closes #22687: Fix queryset truthiness check in RenderTemplateMixin.render_to_response() (#22689) 2026-07-16 15:17:21 -04:00