From 70df94f3a17a69e999099a6906a75ea1c105b836 Mon Sep 17 00:00:00 2001 From: Adityashandilya555 Date: Sun, 26 Oct 2025 12:13:50 +0530 Subject: [PATCH 1/3] [feature] Add firmware upgrader websocket routes #484 Adds websocket routes for the OpenWISP firmware upgrader module when USE_OPENWISP_FIRMWARE environment variable is enabled. This enables real-time upgrade progress tracking for: - Individual upgrade operations - Batch upgrade operations - Device-specific upgrade progress --- images/common/openwisp/asgi.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/images/common/openwisp/asgi.py b/images/common/openwisp/asgi.py index ec81442c..1c224a9c 100644 --- a/images/common/openwisp/asgi.py +++ b/images/common/openwisp/asgi.py @@ -28,6 +28,13 @@ routes.extend(network_topology_routes) +if env_bool(os.environ.get("USE_OPENWISP_FIRMWARE")): + from openwisp_firmware_upgrader.routing import ( # noqa: E402 + websocket_urlpatterns as firmware_upgrader_routes, + ) + + routes.extend(firmware_upgrader_routes) + application = ProtocolTypeRouter( { "http": django_asgi_app, From 7068d4152e5ebe5a97de1f0e0df5d306b133646e Mon Sep 17 00:00:00 2001 From: Adityashandilya555 Date: Tue, 9 Dec 2025 16:30:20 +0530 Subject: [PATCH 2/3] [deps] Pin sphinx<8.0.0 for docstrfmt compatibility --- requirements-test.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-test.txt b/requirements-test.txt index 8a6b6c72..57875b35 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,2 +1,3 @@ docker>=7.1.0,<7.2.0 openwisp-utils[qa,selenium]~=1.2.0 +sphinx<8.0.0 From 0c13154e960304282320f70bb947be219b328102 Mon Sep 17 00:00:00 2001 From: Adityashandilya555 Date: Tue, 13 Jan 2026 12:01:28 +0530 Subject: [PATCH 3/3] [fix] Load monitoring charts from dashboard domain Removed OPENWISP_MONITORING_API_BASEURL = API_BASEURL so that monitoring charts use relative URLs and load from the dashboard domain instead of the API domain. This fixes SSL certificate issues for users without trusted certs on the API domain. Closes #526 --- images/openwisp_dashboard/module_settings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/images/openwisp_dashboard/module_settings.py b/images/openwisp_dashboard/module_settings.py index 6c092abf..1a5a17ce 100644 --- a/images/openwisp_dashboard/module_settings.py +++ b/images/openwisp_dashboard/module_settings.py @@ -108,6 +108,5 @@ OPENWISP_NETWORK_TOPOLOGY_API_BASEURL = API_BASEURL OPENWISP_NOTIFICATIONS_HOST = API_BASEURL OPENWISP_CONTROLLER_API_HOST = API_BASEURL -OPENWISP_MONITORING_API_BASEURL = API_BASEURL OPENWISP_FIRMWARE_API_BASEURL = API_BASEURL OPENWISP_RADIUS_API_BASEURL = API_BASEURL