Commit Graph

13525 Commits

Author SHA1 Message Date
Brian Tiemann
7b884230c7 Merge remote-tracking branch 'origin/18518-add-hostname-meta-tag' into 18518-add-hostname-meta-tag
# Conflicts:
#	netbox/dcim/models/devices.py
2025-01-28 18:48:23 -05:00
Brian Tiemann
a398ccfc8c Add <meta> tag reflecting settings.HOSTNAME 2025-01-28 18:47:25 -05:00
Tobias Genannt
d7cc68ec43 Fix #18515: Don't fail in DEBUG mode
When no Redis server is reachable management commands failed without
this try...except block.
2025-01-28 18:47:25 -05:00
mr1716
b01d7544f5 #18512 Update required-parameters spelling 2025-01-28 18:47:25 -05:00
Brian Tiemann
5f4c380a10 NB-717 Update dashboard news feed URL to eliminate multiple 301 redirects 2025-01-28 18:47:25 -05:00
Brian Tiemann
8290cec22e Reword references to develop and master branches 2025-01-28 18:47:25 -05:00
github-actions
68372a1cef Update source translation strings 2025-01-28 18:47:25 -05:00
Jeremy Stretch
ea1973ef60 Add remaining issue types 2025-01-28 18:47:25 -05:00
Jeremy Stretch
375e05a2f9 Closes #18484: Exempt changes to GitHub templates from CI 2025-01-28 18:47:25 -05:00
Jeremy Stretch
6f488c850b Assign GitHub issue type on creation 2025-01-28 18:47:25 -05:00
Brian Tiemann
c25f244390 Fix typo in Site Groups docs 2025-01-28 18:47:25 -05:00
Brian Tiemann
53d1bd4c6e Add note about \l command 2025-01-28 18:47:25 -05:00
Brian Tiemann
92c07207f1 Add warning about UTF8 encoding in PostgreSQL 2025-01-28 18:47:25 -05:00
github-actions
932dc245b5 Update source translation strings 2025-01-28 18:47:25 -05:00
Daniel Sheppard
83e12cc834 Fixes: #18449 - Clean up some formatting errors 2025-01-28 18:47:25 -05:00
Daniel Sheppard
19344f4762 Remove mac_address from tables. 2025-01-28 18:47:25 -05:00
Daniel Sheppard
9a859770b7 Update VirtualMachineVMInterfaceTable 2025-01-28 18:47:25 -05:00
Daniel Sheppard
51544b2b1d Fixes: #18447 - Fix sorting by mac_address field
* Disable sorting by `mac_address` for legacy `mac_address` field for Device and VM Interfaces
* Ensure `primary_mac_address` field is included in field list for Device and VM Interfaces
2025-01-28 18:47:25 -05:00
Daniel Sheppard
b3d204188e Update UI to disable interface assignment when assigned as primary 2025-01-28 18:47:22 -05:00
Jeremy Stretch
da070559c0 Fixes #18438: Specify batch_size for migrations which run bulk_update() 2025-01-28 18:47:17 -05:00
Daniel Sheppard
1bcc3d10ec Change to @cached_property 2025-01-28 18:47:17 -05:00
Daniel Sheppard
0b8a57c2c3 Fixes: #18433 - Fix missing is_primary property on MACAddress model 2025-01-28 18:47:17 -05:00
github-actions
e348b02562 Update source translation strings 2025-01-28 18:47:17 -05:00
Jeremy Stretch
9f6873ab27 Release v4.2.2 2025-01-28 18:47:17 -05:00
atownson
92b0e44494 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-28 18:47:17 -05:00
Jeremy Stretch
a0c1eae68b Fixes #18392: Exclude config contexts assigned to locations for VMs 2025-01-28 18:47:17 -05:00
Jeremy Stretch
5acd06bc3d Closes #18425: Remove the triage priority field from GitHub issue templates 2025-01-28 18:47:17 -05:00
Jeremy Stretch
db694141f5 Fixes #18379: Ensure RSS feed content within dashboard widget is sanitized 2025-01-28 18:47:17 -05:00
Brian Tiemann
dacd58c5ef Migrate DEFAULT_FILE_STORAGE to STORAGES 2025-01-28 18:47:16 -05:00
Brian Tiemann
3453b8d3fa Make GFK scope field sortable=False on tables where it appears 2025-01-28 18:47:16 -05:00
bctiemann
7f17f90c01 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-28 18:47:16 -05:00
bctiemann
b6e30f2484 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-28 18:47:16 -05:00
bctiemann
d91c7651b1 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-28 18:47:16 -05:00
Jeremy Stretch
66fe67e791 Closes #18348: Disable legacy pre-commit hook script 2025-01-28 18:47:16 -05:00
Jeremy Stretch
6ba9c3c021 Fixes #18376: Include tagged VLANs in interfaces list for Q-in-Q interfaces 2025-01-28 18:47:16 -05:00
github-actions
c2a80d1ab5 Update source translation strings 2025-01-28 18:47:16 -05:00
Brian Tiemann
2b26a52fa5 Don't cache CACHE_KEY_CATALOG_ERROR if ISOLATED_DEPLOYMENT is True 2025-01-28 18:47:16 -05:00
Jeremy Stretch
e356e42352 Fixes #18368: Restore missing fields on REST API serializer for MAC addresses 2025-01-28 18:47:16 -05:00
Jeremy Stretch
02e8637270 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-28 18:47:16 -05:00
Jeremy Stretch
6a6cde6619 Closes #18362: Create a system job for census reporting 2025-01-28 18:47:16 -05:00
Brian Tiemann
e187e72c88 Update docs to indicate PostgreSQL 13+ requirement 2025-01-28 18:47:16 -05:00
github-actions
37a1a178df Update source translation strings 2025-01-28 18:47:16 -05:00
Jeremy Stretch
05e3e8e656 Release v4.2.1 (#18346)
* Release v4.2.1

* Add changelog for #18282
2025-01-28 18:47:16 -05:00
Brian Tiemann
16577b4e30 Use order_by to change ordering behavior of VLAN column rather than changing accessor 2025-01-28 18:47:16 -05:00
Brian Tiemann
57a0f1608a 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-28 18:47:16 -05:00
Jeremy Stretch
f89c3e7df4 Fixes #18329: Pin strawberry-graphql-django to v0.52.0 to resolve upstream bug 2025-01-28 18:47:16 -05:00
github-actions
a083420cd4 Update source translation strings 2025-01-28 18:47:16 -05:00
bctiemann
a44fd24016 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-28 18:47:16 -05:00
Tobias Genannt
e2e416cf67 Fix #18314: Use get to avoid KeyError 2025-01-28 18:47:16 -05:00
Jeremy Stretch
32c1252d7f Fixes #18324: Correct filter names for certain related object listings 2025-01-28 18:47:16 -05:00