luci-app-clamav: Convert to JS
authorPaul Donald <newtwen+github@gmail.com>
Tue, 8 Oct 2024 16:48:49 +0000 (18:48 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Tue, 8 Oct 2024 22:40:21 +0000 (00:40 +0200)
commit780a84e8bead3cbbdda09c479ab793081ecf9903
tree113630761cb74c4f3b9cb3172293273bb774ce1d
parentd35b658d8a7d7a8f0872e46c5182b05de4500495
luci-app-clamav: Convert to JS

Added functionality for clamav-milter and freshclam which are also in
the package.

Assumptions: clamd.log will always be in /tmp, so read permissions are
granted for /tmp/*, in case the log file gets moved or renamed.

Don't expose the LogFile* parameters to avoid logfile related location
problems.

Added entries to use syslogging for each component, and added a Log tab.

Tested on 23.05.5

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
45 files changed:
applications/luci-app-clamav/Makefile
applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav-log.js [new file with mode: 0644]
applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav-milter.js [new file with mode: 0644]
applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/clamav.js [new file with mode: 0644]
applications/luci-app-clamav/htdocs/luci-static/resources/view/clamav/freshclam.js [new file with mode: 0644]
applications/luci-app-clamav/luasrc/model/cbi/clamav.lua [deleted file]
applications/luci-app-clamav/po/ar/clamav.po
applications/luci-app-clamav/po/bg/clamav.po
applications/luci-app-clamav/po/bn_BD/clamav.po
applications/luci-app-clamav/po/ca/clamav.po
applications/luci-app-clamav/po/cs/clamav.po
applications/luci-app-clamav/po/da/clamav.po
applications/luci-app-clamav/po/de/clamav.po
applications/luci-app-clamav/po/el/clamav.po
applications/luci-app-clamav/po/en/clamav.po
applications/luci-app-clamav/po/es/clamav.po
applications/luci-app-clamav/po/fi/clamav.po
applications/luci-app-clamav/po/fr/clamav.po
applications/luci-app-clamav/po/ga/clamav.po
applications/luci-app-clamav/po/he/clamav.po
applications/luci-app-clamav/po/hi/clamav.po
applications/luci-app-clamav/po/hu/clamav.po
applications/luci-app-clamav/po/it/clamav.po
applications/luci-app-clamav/po/ja/clamav.po
applications/luci-app-clamav/po/ko/clamav.po
applications/luci-app-clamav/po/lt/clamav.po
applications/luci-app-clamav/po/mr/clamav.po
applications/luci-app-clamav/po/ms/clamav.po
applications/luci-app-clamav/po/nb_NO/clamav.po
applications/luci-app-clamav/po/nl/clamav.po
applications/luci-app-clamav/po/pl/clamav.po
applications/luci-app-clamav/po/pt/clamav.po
applications/luci-app-clamav/po/pt_BR/clamav.po
applications/luci-app-clamav/po/ro/clamav.po
applications/luci-app-clamav/po/ru/clamav.po
applications/luci-app-clamav/po/sk/clamav.po
applications/luci-app-clamav/po/sv/clamav.po
applications/luci-app-clamav/po/templates/clamav.pot
applications/luci-app-clamav/po/tr/clamav.po
applications/luci-app-clamav/po/uk/clamav.po
applications/luci-app-clamav/po/vi/clamav.po
applications/luci-app-clamav/po/zh_Hans/clamav.po
applications/luci-app-clamav/po/zh_Hant/clamav.po
applications/luci-app-clamav/root/usr/share/luci/menu.d/luci-app-clamav.json
applications/luci-app-clamav/root/usr/share/rpcd/acl.d/luci-app-clamav.json