Commit Graph

10641 Commits

Author SHA1 Message Date
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
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
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
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
Brian Tiemann
ad7046d8cb Add auth_required attrib on PluginMenuItem 2025-01-31 14:40:49 -05:00
Renato Almeida de Oliveira Zaroubin
5936a06f0b Add get_extra_addanother_params method in IPAddressEditView 2025-01-31 14:33:26 -05:00
Renato Almeida de Oliveira Zaroubin
f28d7a4b52 remove extra line 2025-01-31 18:48:50 +00:00
Renato Almeida de Oliveira Zaroubin
ed8285759b Simplify Anon user logic 2025-01-31 18:03:55 +00:00
Renato Almeida de Oliveira Zaroubin
c926a1bb00 Check if DEFAULT_USER_PREFERENCES are configured 2025-01-30 21:51:37 +00:00
Renato Almeida de Oliveira Zaroubin
1a9bad33fe Add default user preferences tables testing in BaseTable 2025-01-30 21:09:36 +00:00
github-actions
9ac08529db Update source translation strings 2025-01-30 05:02:02 +00:00
Brian Tiemann
65b359f25a Add <meta> tag reflecting settings.HOSTNAME 2025-01-29 12:50:08 -05:00
Tobias Genannt
c57ae6e1f7 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
2728a6cfec NB-717 Update dashboard news feed URL to eliminate multiple 301 redirects 2025-01-28 08:26:35 -05:00
github-actions
f4bdb72c17 Update source translation strings 2025-01-28 05:02:09 +00:00
Daniel Sheppard
f942318422 Merge branch 'main' into 18433-fix-macaddress-primary-for-interface 2025-01-27 12:11:37 -06:00
github-actions
afd3eb2c59 Update source translation strings 2025-01-24 05:02:20 +00:00
bctiemann
e22fc8302e 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
a3ffcb952e 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
641be9ca9f 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
f4e5f2a593 Change to @cached_property 2025-01-23 18:30:54 -06:00
Daniel Sheppard
a40cb1cfff Remove mac_address from tables. 2025-01-22 14:14:56 -06:00
Daniel Sheppard
2b9ac7f187 Update VirtualMachineVMInterfaceTable 2025-01-21 11:15:33 -06:00
Daniel Sheppard
be097a6e97 Fixes: #18449 - Clean up some formatting errors 2025-01-21 10:44:46 -06:00
Daniel Sheppard
940176148f 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
64b808f182 Fixes #18438: Specify batch_size for migrations which run bulk_update() 2025-01-21 09:48:35 -05:00
Daniel Sheppard
747965d369 Fix Tests 2025-01-20 23:44:36 -06:00
Daniel Sheppard
62669c1afa Update UI to disable interface assignment when assigned as primary 2025-01-20 23:06:29 -06:00
Daniel Sheppard
a82bd1183d Fixes: #18436 - Prevent unassigning mac address when primary on an interface 2025-01-20 22:49:55 -06:00
Daniel Sheppard
4efbe2c75e Fixes: #18433 - Fix missing is_primary property on MACAddress model 2025-01-20 22:21:36 -06:00
github-actions
e621b2e19e Update source translation strings 2025-01-18 05:02:12 +00:00
Jeremy Stretch
d99aa08b29 Release v4.2.2 2025-01-17 15:05:09 -05:00
atownson
7f471de4ce 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
abff479ce7 Fixes #18392: Exclude config contexts assigned to locations for VMs 2025-01-17 13:14:05 -05:00
Jeremy Stretch
ca9e8626f3 Fixes #18379: Ensure RSS feed content within dashboard widget is sanitized 2025-01-17 10:25:22 -05:00
Brian Tiemann
86086c8e3b Migrate DEFAULT_FILE_STORAGE to STORAGES 2025-01-17 09:04:51 -05:00
Brian Tiemann
c278e44d52 Make GFK scope field sortable=False on tables where it appears 2025-01-17 08:52:12 -05:00
bctiemann
7a6071a7d3 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
240fce75e4 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
f726f55fa7 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
61ee914a55 Fixes #18376: Include tagged VLANs in interfaces list for Q-in-Q interfaces 2025-01-10 09:10:34 -05:00
github-actions
256e27f0ea Update source translation strings 2025-01-10 05:02:08 +00:00
Brian Tiemann
6a7949408e Don't cache CACHE_KEY_CATALOG_ERROR if ISOLATED_DEPLOYMENT is True 2025-01-09 15:21:27 -05:00
Jeremy Stretch
fa1402d197 Fixes #18368: Restore missing fields on REST API serializer for MAC addresses 2025-01-09 14:53:03 -05:00