luci-app-adblock: sync with adblock 4.1.3
authorDirk Brenken <dev@brenken.org>
Sat, 12 Jun 2021 20:29:20 +0000 (22:29 +0200)
committerDirk Brenken <dev@brenken.org>
Mon, 14 Jun 2021 04:40:40 +0000 (06:40 +0200)
* support the new 'adb_fetchinsecure' option

Signed-off-by: Dirk Brenken <dev@brenken.org>
(cherry picked from commit be578c64e97d138e7104dfa7025eb9ab998b3b07)

applications/luci-app-adblock/htdocs/luci-static/resources/view/adblock/overview.js

index 468e8a34210f2f9eeea11e01350ee5ee9bda6849..e8b82dd6083195a08d97f4bf4d6872ff32deaa79 100644 (file)
@@ -412,7 +412,12 @@ return view.extend({
                o.optional = true;
                o.rmempty = true;
 
-               o = s.taboption('additional', form.Value, 'adb_fetchparm', _('Download Parameters'), _('Special config options for the selected download utility.'));
+               o = s.taboption('additional', form.Flag, 'adb_fetchinsecure', _('Download Insecure'), _('Don\'t check SSL server certificates during download.'));
+               o.default = 0
+               o.rmempty = true;
+
+               o = s.taboption('additional', form.Value, 'adb_fetchparm', _('Download Parameters'), _('Manually override the pre-configured download options for the selected download utility.'));
+               o.optional = true;
                o.rmempty = true;
 
                /*