luci-app-radicale3: fix bcrypt/libpass detection
authorDaniel F. Dickinson <redacted>
Tue, 20 Jan 2026 12:29:56 +0000 (07:29 -0500)
committerPaul Donald <redacted>
Tue, 20 Jan 2026 14:25:34 +0000 (15:25 +0100)
Update call to `rpc-sys packagelist` to list all packages, not just
top-level packages, so that we can actually check if python3-libpass
and python3-bcrypt are installed.

Without this bcrypt authentication will not be made available to the
user.

Signed-off-by: Daniel F. Dickinson <redacted>
applications/luci-app-radicale3/htdocs/luci-static/resources/view/radicale3.js

index 038d425609d1ea2ab39eb043a5b476185e860074..75d19ebbe314190db1670ff37e97fe03c0f2b0b9 100644 (file)
@@ -31,7 +31,7 @@ const callEncrypt = rpc.declare({
 const callPackageList = rpc.declare({
        object: 'rpc-sys',
        method: 'packagelist',
-       params: [],
+       params: ['all'],
        expect: {},
 });
 
@@ -39,7 +39,7 @@ return view.extend({
        load() {
                return Promise.all([
                        L.resolveDefault(callServiceList('radicale3')),
-                       L.resolveDefault(callPackageList()),
+                       L.resolveDefault(callPackageList(true)),
                        uci.load('radicale3'),
                ]);
        },
git clone https://git.99rst.org/PROJECT