From 3e6144bf2d20ceb2b6ba7fd377f2b818d3f1e8d7 Mon Sep 17 00:00:00 2001 From: action Date: Sat, 13 Jun 2026 05:27:08 +0800 Subject: [PATCH] update 2026-06-13 05:27:08 --- luci-app-log/Makefile | 4 ++-- luci-app-log/README.md | 24 +++++++++---------- .../resources/view/log-viewer/log-base.js | 1 + 3 files changed, 15 insertions(+), 14 deletions(-) diff --git a/luci-app-log/Makefile b/luci-app-log/Makefile index 929cef98..efe199d1 100644 --- a/luci-app-log/Makefile +++ b/luci-app-log/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2025 gSpot (https://github.com/gSpotx2f/luci-app-log) +# Copyright (C) 2026 gSpot (https://github.com/gSpotx2f/luci-app-log) # # This is free software, licensed under the MIT License. # @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-log-viewer PKG_VERSION:=1.5.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 LUCI_TITLE:=Advanced syslog and kernel log (tail, search, etc) LUCI_DEPENDS:=+ucode +ucode-mod-fs LUCI_PKGARCH:=all diff --git a/luci-app-log/README.md b/luci-app-log/README.md index f8644dd6..1dd1fdb6 100644 --- a/luci-app-log/README.md +++ b/luci-app-log/README.md @@ -11,29 +11,29 @@ Supported LuCI themes: luci-theme-bootstrap, luci-theme-material, luci-theme-ope **OpenWrt >= 25.12:** - wget --no-check-certificate -O /tmp/luci-app-log-viewer-1.5.0-r2.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-app-log-viewer-1.5.0-r2.apk - apk --allow-untrusted add /tmp/luci-app-log-viewer-1.5.0-r2.apk - rm /tmp/luci-app-log-viewer-1.5.0-r2.apk + wget --no-check-certificate -O /tmp/luci-app-log-viewer-1.5.0-r3.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-app-log-viewer-1.5.0-r3.apk + apk --allow-untrusted add /tmp/luci-app-log-viewer-1.5.0-r3.apk + rm /tmp/luci-app-log-viewer-1.5.0-r3.apk service rpcd restart i18n-ru: - wget --no-check-certificate -O /tmp/luci-i18n-log-viewer-ru-1.5.0-r2.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-i18n-log-viewer-ru-1.5.0-r2.apk - apk --allow-untrusted add /tmp/luci-i18n-log-viewer-ru-1.5.0-r2.apk - rm /tmp/luci-i18n-log-viewer-ru-1.5.0-r2.apk + wget --no-check-certificate -O /tmp/luci-i18n-log-viewer-ru-1.5.0-r3.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-i18n-log-viewer-ru-1.5.0-r3.apk + apk --allow-untrusted add /tmp/luci-i18n-log-viewer-ru-1.5.0-r3.apk + rm /tmp/luci-i18n-log-viewer-ru-1.5.0-r3.apk **OpenWrt <= 24.10:** - wget --no-check-certificate -O /tmp/luci-app-log-viewer_1.5.0-r2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-app-log-viewer_1.5.0-r2_all.ipk - opkg install /tmp/luci-app-log-viewer_1.5.0-r2_all.ipk - rm /tmp/luci-app-log-viewer_1.5.0-r2_all.ipk + wget --no-check-certificate -O /tmp/luci-app-log-viewer_1.5.0-r3_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-app-log-viewer_1.5.0-r3_all.ipk + opkg install /tmp/luci-app-log-viewer_1.5.0-r3_all.ipk + rm /tmp/luci-app-log-viewer_1.5.0-r3_all.ipk service rpcd restart i18n-ru: - wget --no-check-certificate -O /tmp/luci-i18n-log-viewer-ru_1.5.0-r2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-i18n-log-viewer-ru_1.5.0-r2_all.ipk - opkg install /tmp/luci-i18n-log-viewer-ru_1.5.0-r2_all.ipk - rm /tmp/luci-i18n-log-viewer-ru_1.5.0-r2_all.ipk + wget --no-check-certificate -O /tmp/luci-i18n-log-viewer-ru_1.5.0-r3_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-i18n-log-viewer-ru_1.5.0-r3_all.ipk + opkg install /tmp/luci-i18n-log-viewer-ru_1.5.0-r3_all.ipk + rm /tmp/luci-i18n-log-viewer-ru_1.5.0-r3_all.ipk ## Screenshots: diff --git a/luci-app-log/htdocs/luci-static/resources/view/log-viewer/log-base.js b/luci-app-log/htdocs/luci-static/resources/view/log-viewer/log-base.js index 365dacf9..d0e31fda 100644 --- a/luci-app-log/htdocs/luci-static/resources/view/log-viewer/log-base.js +++ b/luci-app-log/htdocs/luci-static/resources/view/log-viewer/log-base.js @@ -721,6 +721,7 @@ return baseclass.extend({ if(!fPattern) { return entriesArray; }; + fPattern = this.htmlEntities(fPattern); return (this.msgFilterReValue) ? this.setRegexpFilter(entriesArray, 5, fPattern) : this.setStringFilter(entriesArray, 5, fPattern);