luci-app-banip: update 1.8.1-2
authorDirk Brenken <redacted>
Mon, 16 Mar 2026 18:16:02 +0000 (19:16 +0100)
committerDirk Brenken <redacted>
Mon, 16 Mar 2026 18:16:02 +0000 (19:16 +0100)
* ESlint fixes

Signed-off-by: Dirk Brenken <redacted>
applications/luci-app-banip/Makefile
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/allowlist.js
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/blocklist.js
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/feeds.js
applications/luci-app-banip/htdocs/luci-static/resources/view/banip/logtemplate.js

index 5231e2ea1e5e1f6c8a803ab971b6d346ca71bb60..783fc06475bbc09a14ecb35a0bea45a3f6aaf54b 100644 (file)
@@ -7,7 +7,7 @@ LUCI_TITLE:=LuCI support for banIP
 LUCI_DEPENDS:=+luci-base +banip
 
 PKG_VERSION:=1.8.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_LICENSE:=Apache-2.0
 PKG_MAINTAINER:=Dirk Brenken <dev@brenken.org>
 
index 30ba7038dba34ce4fbcb59e25bac3950dc6a7444..3b068982e90ef5ac03a9a36f114431f4c873e064 100644 (file)
@@ -66,4 +66,4 @@ return view.extend({
 
        handleSaveApply: null,
        handleReset: null
-});
\ No newline at end of file
+});
index 9832f2c9525dd34e3593ad2842574fc2112fe5e1..40d41ba08e195a0a7e3cb96321454f67889211b2 100644 (file)
@@ -66,4 +66,4 @@ return view.extend({
 
        handleSaveApply: null,
        handleReset: null
-});
\ No newline at end of file
+});
index 11a629d64d72115b8411b9dccc89f8f9f967e806..1b8bbf47a5383d9fae6c9ff89b03e675ba0be07e 100644 (file)
@@ -213,7 +213,7 @@ return view.extend({
                                if (!value) {
                                        return true;
                                }
-                               if (!value.match(/^https?:\/\/[A-Za-z0-9\[\]\/.\-?&+_@%=:~#]+$/)) {
+                               if (!value.match(/^https?:\/\/[A-Za-z0-9[\]/.?&+_@%=:~#-]+$/)) {
                                        return _('Protocol/URL format not supported');
                                }
                                return true;
@@ -224,7 +224,7 @@ return view.extend({
                                if (!value) {
                                        return true;
                                }
-                               if (!value.match(/^https?:\/\/[A-Za-z0-9\[\]\/.\-?&+_@%=:~#]+$/)) {
+                               if (!value.match(/^https?:\/\/[A-Za-z0-9[\]/.?&+_@%=:~#-]+$/)) {
                                        return _('Protocol/URL format not supported');
                                }
                                return true;
@@ -258,7 +258,7 @@ return view.extend({
                                if (!value) {
                                        return true;
                                }
-                               if (!value.match(/^(\bgz\b|\btcp\b|\budp\b|\b[0-9\-]+\b| )*$/)) {
+                               if (!value.match(/^(\bgz\b|\btcp\b|\budp\b|\b[0-9-]+\b| )*$/)) {
                                        return _('Flag not supported');
                                }
                                return true;
@@ -320,4 +320,4 @@ return view.extend({
        handleSaveApply: null,
        handleSave: null,
        handleReset: null
-});
\ No newline at end of file
+});
index 9ac4d6752ca7bf8280e6e3fb843bbd73aa7479aa..22160d1d5d6b4548a039fa2e1e12c497796033bd 100644 (file)
@@ -73,4 +73,4 @@ function Logview(logtag, name) {
        });
 }
 
-return L.Class.extend({ Logview });
\ No newline at end of file
+return L.Class.extend({ Logview });
git clone https://git.99rst.org/PROJECT