summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/luasrc/controller/adblock.lua
AgeCommit message (Collapse)Author
2018-07-28luci-app-adblock: small fixesDirk Brenken
* fix possible controller error during json parsing * remaining code cleanup Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-22luci-app-adblock: fix translationsDirk Brenken
* fix runtime & button translations Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-22luci-app-adblock: sync with adblock 3.5.4Dirk Brenken
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>
2018-04-05luci-app-adblock: fix SimpleForm page delegationJo-Philipp Wich
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>
2018-04-05treewide: filter shell arguments through shellquote() where applicableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-15luci-app-adblock: fix function callsDirk Brenken
* fix function calls that have an implicit extra parameter self, pre-requisite for PR #1681 Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-01-31luci-app-adblock: sync with adblock 3.5.0Dirk Brenken
* 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>
2018-01-05luci-app-adblock: sync with adblock 3.4.1Dirk Brenken
* 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>
2017-09-09luci-app-adblock: sync with adblock 3.0.0Dirk Brenken
Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-08-04luci-app-adblock: sync with adblock 2.8.5Dirk Brenken
* add preliminary kresd support * small fixes Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-05-08luci-app-adblock: sync with adblock 2.6.3Dirk Brenken
* Limit Blacklist/Whitelist Online editing to max. 512 KB, approx. 20.000 domains per list * Automatically refresh the overview page after button onclick event, e.g. 'Suspend/Resume' or 'Save & Apply' * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-04-12luci-app-adblock: sync with adblock 2.6.0Dirk Brenken
* add new trigger timeout input field * the download utility plus SSL Library will be listed in runtime information and the blocklist source table contains an additional "SSL req." column * various small fixes * changed copyright notice Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-03-26luci-app-adblock: major updateDirk Brenken
* multi-tab navigation Overview/View Logfile/Advanced Advanced: Edit Blacklist/Whitelist/Configuration Query domains * all adblock options are now configurable via LuCI Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-02-16luci-app-adblock: User interface for the 'adblock' packageHannu Nyman
Simple user interface for the 'adblock' package from packages feed. Adds 'Adblock' item to the Services menu in LuCI. Allows enabling/disabling the service and selecting blocklists. Configuration of the blocklist URLs and selection of Shalla categories needs to be done manually to the config file, if needed. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>