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
This commit is contained in:
bctiemann
2024-12-16 11:46:28 -05:00
committed by GitHub
parent aa56b99566
commit 13c26ccb0c
3 changed files with 15 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ DEFAULT_DASHBOARD = [
'feed_url': 'http://netbox.dev/rss/',
'max_entries': 10,
'cache_timeout': 14400,
'requires_internet': True,
}
},
{