Alexander Haase
3e1cc0d7f3
Fixes 18208: Consolidate rendering configuration templates ( #18604 )
2025-02-10 11:03:08 -05:00
Alexander Haase
e1d1aab4bd
Omit empty related models
2025-02-10 10:56:09 -05:00
Matej Vadnjal
299bde9653
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
4b98f74943
Fixes 18247: Fix dark mode button classes ( #18617 )
2025-02-10 09:42:08 -05:00
Jeremy Stretch
a33fb2a0a9
Closes #17918 : Fix styling of "tagged items" list under tag view
2025-02-10 09:00:55 -05:00
github-actions
13dc6854c2
Update source translation strings
2025-02-08 05:02:19 +00:00
Antoine Keranflec'h
e475386936
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
github-actions
72e93b04da
Update source translation strings
2025-02-07 05:02:00 +00:00
Renato Almeida de Oliveira
7794b6718a
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
efa939d0c2
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
Brian Tiemann
9391f48d62
Update static bundle
2025-02-04 15:20:08 -05:00
Brian Tiemann
6e165435e2
Release 4.2.3
2025-02-04 15:09:37 -05:00
Jeremy Stretch
f829f34b43
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
0b794de40e
Update source translation strings
2025-02-01 05:02:11 +00:00
Brian Tiemann
b2bc842f1c
Remove 'provider' from VirtualCircuitIndex.display_attrs
2025-01-31 14:42:39 -05:00
Brian Tiemann
c8decf4c21
Add auth_required attrib on PluginMenuItem
2025-01-31 14:40:49 -05:00
Renato Almeida de Oliveira Zaroubin
e12a5d2edc
Add get_extra_addanother_params method in IPAddressEditView
2025-01-31 14:33:26 -05:00
Renato Almeida de Oliveira Zaroubin
7d6089775e
remove extra line
2025-01-31 18:48:50 +00:00
Renato Almeida de Oliveira Zaroubin
f5bdf7b593
Simplify Anon user logic
2025-01-31 18:03:55 +00:00
Antoine Keranflec'h
2a8728544c
fix(pep) fix pep8 compliancy
2025-01-31 08:48:35 +01:00
Renato Almeida de Oliveira Zaroubin
62148bb83c
Check if DEFAULT_USER_PREFERENCES are configured
2025-01-30 21:51:37 +00:00
Renato Almeida de Oliveira Zaroubin
22af6dd05f
Add default user preferences tables testing in BaseTable
2025-01-30 21:09:36 +00:00
github-actions
5514df9dee
Update source translation strings
2025-01-30 05:02:02 +00:00
Brian Tiemann
5cd7c6d167
Add <meta> tag reflecting settings.HOSTNAME
2025-01-29 12:50:08 -05:00
Tobias Genannt
07403f690a
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 19:40:22 +01:00
Brian Tiemann
34fa3835be
NB-717 Update dashboard news feed URL to eliminate multiple 301 redirects
2025-01-28 08:26:35 -05:00
github-actions
968214b64a
Update source translation strings
2025-01-28 05:02:09 +00:00
Daniel Sheppard
ee5d7cfe31
Merge branch 'main' into 18433-fix-macaddress-primary-for-interface
2025-01-27 12:11:37 -06:00
Antoine Keranflec'h
f83e55e1db
Merge branch 'netbox-community:main' into 17542-Contact_Assignment_to_vpn_tunnels
2025-01-25 14:19:25 +01:00
github-actions
da9b452327
Update source translation strings
2025-01-24 05:02:20 +00:00
bctiemann
31efd1fe57
Merge pull request #18452 from netbox-community/18449-fix-formatting-errors
...
Fixes : #18449 - Clean up some formatting errors
2025-01-23 19:51:42 -05:00
bctiemann
a8168899b8
Merge pull request #18450 from netbox-community/18447-fix-legacy-macaddress-sorting
...
Fixes : #18447 - Fix sorting by `mac_address` field
2025-01-23 19:50:12 -05:00
bctiemann
e02ae72f0c
Merge pull request #18445 from netbox-community/18436-fix-unassign-mac-with-primary
...
Fixes : #18436 - Prevent unassigning mac address when primary on an interface
2025-01-23 19:45:53 -05:00
Daniel Sheppard
3219609253
Change to @cached_property
2025-01-23 18:30:54 -06:00
Daniel Sheppard
adcb6bebd2
Remove mac_address from tables.
2025-01-22 14:14:56 -06:00
Daniel Sheppard
ad4e4e89a7
Update VirtualMachineVMInterfaceTable
2025-01-21 11:15:33 -06:00
Daniel Sheppard
c56a39a168
Fixes : #18449 - Clean up some formatting errors
2025-01-21 10:44:46 -06:00
Daniel Sheppard
d1914595f6
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-21 10:15:33 -06:00
Jeremy Stretch
b913661297
Fixes #18438 : Specify batch_size for migrations which run bulk_update()
2025-01-21 09:48:35 -05:00
Daniel Sheppard
bec97df242
Fix Tests
2025-01-20 23:44:36 -06:00
Daniel Sheppard
22e320084a
Update UI to disable interface assignment when assigned as primary
2025-01-20 23:06:29 -06:00
Daniel Sheppard
277acd3a31
Fixes : #18436 - Prevent unassigning mac address when primary on an interface
2025-01-20 22:49:55 -06:00
Daniel Sheppard
51a79505fe
Fixes : #18433 - Fix missing is_primary property on MACAddress model
2025-01-20 22:21:36 -06:00
github-actions
d11deb6678
Update source translation strings
2025-01-18 05:02:12 +00:00
Jeremy Stretch
f845b2cf07
Release v4.2.2
2025-01-17 15:05:09 -05:00
atownson
2ed4a2b005
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-17 14:02:12 -05:00
Jeremy Stretch
5b9210dfa5
Fixes #18392 : Exclude config contexts assigned to locations for VMs
2025-01-17 13:14:05 -05:00
Jeremy Stretch
a9f3c74b0c
Fixes #18379 : Ensure RSS feed content within dashboard widget is sanitized
2025-01-17 10:25:22 -05:00
Brian Tiemann
50b7f46fc0
Migrate DEFAULT_FILE_STORAGE to STORAGES
2025-01-17 09:04:51 -05:00
Brian Tiemann
07ad4c1321
Make GFK scope field sortable=False on tables where it appears
2025-01-17 08:52:12 -05:00
bctiemann
4a1fea3504
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-17 08:45:17 -05:00
bctiemann
993d8f1480
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-17 08:35:17 -05:00
bctiemann
c3efa2149c
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-17 08:28:43 -05:00
Jeremy Stretch
e75d327f38
Fixes #18376 : Include tagged VLANs in interfaces list for Q-in-Q interfaces
2025-01-10 09:10:34 -05:00
github-actions
a79d869bd8
Update source translation strings
2025-01-10 05:02:08 +00:00
Brian Tiemann
32422d1683
Don't cache CACHE_KEY_CATALOG_ERROR if ISOLATED_DEPLOYMENT is True
2025-01-09 15:21:27 -05:00
Jeremy Stretch
571f604ce8
Fixes #18368 : Restore missing fields on REST API serializer for MAC addresses
2025-01-09 14:53:03 -05:00
Jeremy Stretch
b12c8c880f
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-09 13:55:19 -05:00
Jeremy Stretch
b11f179527
Closes #18362 : Create a system job for census reporting
2025-01-09 11:56:09 -05:00
github-actions
4090afbf24
Update source translation strings
2025-01-09 05:02:09 +00:00
Jeremy Stretch
d04fc11c61
Release v4.2.1 ( #18346 )
...
* Release v4.2.1
* Add changelog for #18282
2025-01-08 10:19:28 -05:00
Brian Tiemann
f6b8c1966d
Use order_by to change ordering behavior of VLAN column rather than changing accessor
2025-01-08 09:54:00 -05:00
Brian Tiemann
4456c488f1
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-08 09:54:00 -05:00
github-actions
ffac0974dd
Update source translation strings
2025-01-08 05:02:12 +00:00
bctiemann
e518f08604
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-07 10:47:05 -05:00
Tobias Genannt
4ae5529362
Fix #18314 : Use get to avoid KeyError
2025-01-07 10:39:55 -05:00
Jeremy Stretch
ef6c89ee5d
Fixes #18324 : Correct filter names for certain related object listings
2025-01-07 10:34:35 -05:00
Jeremy Stretch
9c960c2387
Fixes #18318 : Correct navigation breadcrumbs for module type UI view
2025-01-07 10:28:22 -05:00
github-actions
ed541220e8
Update source translation strings
2025-01-07 05:02:25 +00:00
Jeremy Stretch
9d82a668a4
Release v4.2.0
2025-01-06 16:13:24 -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
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
28eada13d3
Release v4.1.10
2024-12-23 10:59:52 -05:00
Tobias Genannt
6ddd3cc779
#18260 - Add context managers to registry
2024-12-23 10:27:25 -05:00
Jeremy Stretch
e396097f3c
Release v4.1.9
2024-12-17 15:59:39 -05:00
bctiemann
8d6cec408c
Fixes : #17868 - Handle orphaned cable condition gracefully in SVG rendering ( #18244 )
...
* Handle condition gracefully where an empty object list is passed in to draw_far_objects (e.g. orphaned cable where attached device has been deleted)
* Move continue statement to right after draw_far_objects
* Preferable falsy syntax
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
* Check far_ends rather than altering draw_far_objects
---------
Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2024-12-17 15:39:29 -05:00
bctiemann
e7fcbffaf3
Fixes : #16757 - Use table_htmx.html for assigning ipaddresses ( #18226 )
...
* Use table_htmx.html for assigning ipaddresses
* Add disable_htmx property on ObjectChildrenView to allow IP assignment flow to avoid htmx fragmentary rendering on object save
* Revert "Add disable_htmx property on ObjectChildrenView to allow IP assignment flow to avoid htmx fragmentary rendering on object save"
This reverts commit fa8f2ac377 .
2024-12-17 14:46:52 -05:00
Jeremy Stretch
0b9ead3e8b
Closes #18224 : Apply all registered request processors when running custom scripts
2024-12-16 11:54:42 -05:00
bctiemann
13c26ccb0c
Fixes : #18184 - Gracefully handle unavailable internet connection on RSS feed dashboard widget if ISOLATED_DEPLOYMENT is set ( #18186 )
...
* Suppress adding the RSS feed widget to the dashboard if ISOLATED_DEPLOYMENT is set
* Add config option on RSSFeedWidget to specify requires_internet and to display a more appropriate error if ISOLATED_DEPLOYMENT is set
* Remove skipping behavior from utils.py
* Add required=False
2024-12-16 11:46:28 -05:00
Jeremy Stretch
aa56b99566
Closes #18045 : Enable adding a new MAC to an interface via quick add ( #18200 )
...
* Closes #18045 : Enable adding a new MAC to an interface via quick add
* Misc cleanup
2024-12-16 10:57:09 -05:00
Brian Tiemann
c0fec28b2a
Handle editing IPAddresses on VMInterfaces without parent.oob_ip
2024-12-16 10:17:22 -05:00
Kay Schroeder
382e246b2c
Added the cable -> CableType-Annotation in CableTerminationType.
2024-12-16 10:14:16 -05:00
Pieter Lambrecht
fff4ec78ad
set disabled interface backgroundcolor to $gray-400
2024-12-16 10:12:15 -05:00
github-actions
8951aa815f
Update source translation strings
2024-12-13 05:02:21 +00:00
Jeremy Stretch
39ca3ce571
Merge branch 'develop' into feature
2024-12-12 12:13:45 -05:00
Jeremy Stretch
e63fe23af8
Release v4.1.8
2024-12-12 10:37:21 -05:00
Jeremy Stretch
2da1a754c4
Fixes #18213 : Enable searching for ASN ranges by name
2024-12-12 09:03:27 -05:00
bctiemann
abfa28dc56
Fixes : #18150 - Get pagination limit with default 0 ( #18151 )
...
* Wait until job1 is scheduled before enqueueing job2
* Clamp limit=0 to default_limit
* Handle unspecified limit explicitly so as to return min(PAGINATE_COUNT, MAX_PAGE_SIZE)
* Revert original min()
* Coerce MAX_PAGE_SIZE to be at least PAGINATE_COUNT
* Raise ImproperlyConfigured error if MAX_PAGE_SIZE < PAGINATE_COUNT
* Revert test behavior
* Revert "Revert test behavior"
This reverts commit 5087a1111a .
* Revert "Raise ImproperlyConfigured error if MAX_PAGE_SIZE < PAGINATE_COUNT"
This reverts commit 5dd93c096d .
2024-12-12 09:00:46 -05:00