Age | Commit message (Collapse) | Author |
|
* complete rewrite, migrated to client side JS
* tested with mainline 19.07 and current master
* tested with latest Firefox & Chrome and all
standard themes (not OpenWrt2020!)
Pre-tested by many forum users, see here:
https://forum.openwrt.org/t/adblock-4-pre-releases/57101
* sync translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Signed-off-by: Stefan Sundin <git@stefansundin.com>
|
|
Ref: https://github.com/openwrt/luci/pull/3249
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
* support the new extra options 'TLD Compression Threshold',
'Local FW/DNS Ports' and 'DNS Inotify', see packages PR for details.
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* fix a suspend/resume issue
* format overall domains with a thousands separator
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* add support for the 'null' blocking variant in dnsmasq
(via addn-hosts), see new select box 'DNS Variant'
* add support for 'DNS File Reset', where the final DNS blockfile
will be purged after DNS backend loading (save storage space)
* Provide additional Runtime information:
'DNS Variant' and 'Backup Directory'
* add E-Mail notification options to LuCI
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
|
|
Since the section labels are already HTML-escaped implicitely by the
striptags() function, we must not escape them again in attr() or
ifattr().
Fixes: #2524
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- show 'DNS Query Report' tab only when tcpdump was found
- remove needless Turris Omnia logread workaround, due to changes in
latest syslog-ng package
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* the DNS Report now displays the hostname, MAC-Address or
client IP (CLI & LuCI)
* Filter the DNS Query result set for a particular domain, client or
time frame (CLI & LuCI)
* remove needless XHR.Poll-Events from Reporting page in LuCI
* remove needless 'force sort' option in LuCI
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* support new reporting options
* small fixes
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* use new XHR default on report page
* fix wrong string.find syntax
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Replace all XHR poll time number with -1 so they will use the default
poll interval time value from "/etc/config/luci". If this is not set then
5 seconds as default is used.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
* add adblock dns query reporting via tcpdump (see readme for details)
* fix tld compression on low memory systems (< 64 MB)
* fix various small issues
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* fix IE Edge rendering issues
* merge external styles in central css
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Use the placeholder property on the textbox in the query tool so it's more convenient.
Signed-off-by: Andrei Troie <andreitroie90@gmail.com>
|
|
* fix cornercase issues in runtime information/json parsing
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
during intense testing with different browsers (Chrome/Firefox/partly IE
in a VM) I found & fixed some more minor things:
* remove needless hook & include from overview page
* fix possible JS error in Runtime Information
* Align CSS color with "LuCI standard"
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* fix possible controller error during json parsing
* remaining code cleanup
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* made readonly textarea (logview) scrollable again (bootstrap theme)
* align "Query" input button
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* fix runtime & button translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
backend:
* add low priority mode (nice level 10), disabled by default
* enhance 'Force DNS' to redirect ports 53, 853 and 5353
frontend:
* switch to dynamic XHR polling for runtime information and logfile
viewing
* add new 'Refresh' button to reload blocklists
* various cleanups & small fixes
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Include cbi.js in the main header template like it is done for xhr.js and
remove the page specific includes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
* use now CSS for non breaking spaces in div table header
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* small fixes & cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Mostly convert HTML tables to div based markup to allow for easier styling
in the future. Also change JS accessor code accordingly.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
* respect SimpleForm size limit of 100KB for advanced online editing
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* archive sub-categories (shalla & ut_capitole) are now configurable
via LuCI CBI template
* small bugfixes & enhancements
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* adapt Adblock to support the new cbi apply workflow
* tested successfully with old & new workflow
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Invoke the SimpleForm models using the form() action, not the cbi() ones.
This avoids the extraneous rendering of the cbi header template, avoiding
rejected save operations due to duplicated token value.
Fixes #1722.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
* missed in the last (untested) commit - sorry.
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* fix function calls that have an implicit extra parameter self,
pre-requisite for PR #1681
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
fix trivial 'msmtp' typo & changed .po files as well
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* Support new 'Download Queue'
* Support new 'Jail' Blocklist Creation
(replace former 'Whitelist Mode')
* Fix field width in "Runtime Information" section
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* add 'Download Utility' select box
* add new "running" status
* small visual fixes
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* refine logfile search term
* textarea 'autoscroll down' in logfile view
* left-align blocklist source table plus a more compact design
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* add new extra options (disabled by default):
- Flush DNS Cache
- Email Notification
- Email Notification Count
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* fix visual issue in runtime section (originally provided by @ansuel)
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* add support for new 'whitelist mode'
* fix a small css issue in advanced edit tabs
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
LuCI i18n-tools cannot interpret variables, so translations on that are
not applied in po/pot by i18n-tools.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
|
|
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* add preliminary kresd support
* small fixes
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* fix nil error on overview page
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* add bind support
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* "Save & Reply" now distinguish between normal and manual/backup mode
and triggers an appropriate reload or a start action
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* add new 'Manual mode' option
Signed-off-by: Dirk Brenken <dev@brenken.org>
|