From a66c011f0b8b452ccbadfc825966ab17d07a72cf Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sat, 15 Nov 2025 20:16:23 -0800 Subject: [PATCH] jsxc: Fix missing dependencies Fixes: #2547. - Earlier, FreedomBox itself depended on Bootstrap 4 as needed by the room we built for JSXC. Since FreedomBox moved to Bootstrap 5 this library is no longer available for JSXC. libjs-jsxc itself depends on libjs-bootstrap which is of version 3. - Also fix the path for jquery-slimscroll. This is was likely updated for Trixie cycle. Tests: - Connect to JSXC with two different browsers. Add contacts. Initiate chat and send messages. - Re-run app setup and it succeeds. Signed-off-by: Sunil Mohan Adapa Reviewed-by: James Valleroy --- plinth/modules/jsxc/__init__.py | 6 +++++- plinth/modules/jsxc/templates/jsxc_launch.html | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/plinth/modules/jsxc/__init__.py b/plinth/modules/jsxc/__init__.py index b51e3cd93..74f7c03ff 100644 --- a/plinth/modules/jsxc/__init__.py +++ b/plinth/modules/jsxc/__init__.py @@ -53,7 +53,11 @@ class JSXCApp(app_module.App): clients=info.clients, tags=info.tags) self.add(shortcut) - packages = Packages('packages-jsxc', ['libjs-jsxc']) + packages = Packages('packages-jsxc', [ + 'libjs-jsxc', 'libjs-bootstrap4', 'libjs-jquery', + 'libjs-jquery-ui', 'node-jquery-slimscroll', + 'libjs-jquery-fullscreen' + ]) self.add(packages) firewall = Firewall('firewall-jsxc', info.name, diff --git a/plinth/modules/jsxc/templates/jsxc_launch.html b/plinth/modules/jsxc/templates/jsxc_launch.html index 140254c03..342b682e4 100644 --- a/plinth/modules/jsxc/templates/jsxc_launch.html +++ b/plinth/modules/jsxc/templates/jsxc_launch.html @@ -48,7 +48,7 @@ - +