summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/luasrc
AgeCommit message (Collapse)Author
2018-05-18luci-app-adblock: respect SimpleForm size limitDirk Brenken
* respect SimpleForm size limit of 100KB for advanced online editing Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-15luci-app-adblock: sync with adblock 3.5.2Dirk Brenken
* archive sub-categories (shalla & ut_capitole) are now configurable via LuCI CBI template * small bugfixes & enhancements Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-09luci-app-adblock: support new workflowDirk Brenken
* adapt Adblock to support the new cbi apply workflow * tested successfully with old & new workflow 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-16luci-app-adblock: remaining fixesDirk Brenken
* missed in the last (untested) commit - sorry. Signed-off-by: Dirk Brenken <dev@brenken.org>
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-02-27luci-app-adblock: fix frontend typoDirk Brenken
fix trivial 'msmtp' typo & changed .po files as well Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-02-03luci-app-adblock: fix XHMTL MarkupDirk Brenken
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-10luci-app-adblock: sync with adblock 3.4.3Dirk Brenken
* add 'Download Utility' select box * add new "running" status * small visual fixes 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-12-27luci-app-adblock: sync with adblock 3.4.0Dirk Brenken
* add new extra options (disabled by default): - Flush DNS Cache - Email Notification - Email Notification Count Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-12-04luci-app-adblock: fix minor visual issueDirk Brenken
* fix visual issue in runtime section (originally provided by @ansuel) Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-11-04luci-app-adblock: sync with adblock 3.1.0Dirk Brenken
* add support for new 'whitelist mode' * fix a small css issue in advanced edit tabs Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-09-11luci-app-adblock: Fix LuCI i18n-tools detection issuesINAGAKI Hiroshi
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>
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-07-05luci-app-adblock: bugfixDirk Brenken
* fix nil error on overview page Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-29luci-app-adblock: sync with adblock 2.8.1Dirk Brenken
* add bind support Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-06-09luci-app-adblock: sync with adblock 2.7.1Dirk Brenken
* "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>
2017-06-07luci-app-adblock: sync with adblock 2.7.0Dirk Brenken
* add new 'Manual mode' option Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-05-09luci-app-adblock: Fix duplicated textINAGAKI Hiroshi
Added text "Input file not found. Please check your configuration." by commit 9b4b1df is duplicated. so I replaced the text with previously existed. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
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-26luci-app-adblock: fix markupDirk Brenken
Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-04-25luci-app-adblock: sync with 2.6.1Dirk Brenken
* add two new extra options * cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-04-17luci-app-adblock: sync with 2.6.0-2Dirk Brenken
* made default trigger delay more conservative to fix possible start up issues * add luci-lib-jsonc dependency 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-04-04luci-app-adblock: sync with adblock 2.5.1Dirk Brenken
* made buttons translatable * accept empty values for interface trigger input field * replace 'url' with 'luci.dispatcher.build_url' Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-03-28luci-app-adblock: fix XHTML/HTML5 markupDirk Brenken
* fix XHTML parsing errors in openwrt theme * tested with openwrt, bootstrap & material theme Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-03-27Merge pull request #1083 from dibdot/luci-app-adblockHannu Nyman
luci-app-adblock: small fixes in overview tab
2017-03-27luci-app-adblock: small fixes in overview tabDirk Brenken
* mute stderr in syscalls * better suspend/resume button handling Signed-off-by: Dirk Brenken <dev@brenken.org>
2017-03-27luci-app-adblock: Fix display issues with translationINAGAKI Hiroshi
Fixed display issues when applying translation. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
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>
2017-02-05luci-app-adblock: put backup options to global sectionDirk Brenken
this PR reflect the changes made in adblock 2.3.0 Signed-off-by: Dirk Brenken <dev@brenken.org>
2016-12-20luci-app-adblock: Adjust to adblock 2.0Hannu Nyman
Modify the LuCI app to match the simplified adblock 2.0 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-12luci-app-adblock: adjust to adblock 1.2.0Hannu Nyman
* more status info * change in default nullipv addresses * two uhttpd instances (for ports 80/443) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-06-03luci-app-adblock: support 1.16Hannu Nyman
Add support for 'adb_restricted' Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-26luci-app-adblock: support adb_fetchttl optionHannu Nyman
Support adb_fetchttl options from adblock 1.1.15 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-01luci-app-adblock: adjust to change in option nameHannu Nyman
Change also the adb_nullport option name to match 1.1.0 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-05-01luci-app-adblock: match adblock 1.1.0Hannu Nyman
Update the luci app to match adblock 1.1.0 Add support for showing blocklist status info. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-28luci-app-adblock: conform to adblock 0.90Hannu Nyman
* Add support for disabling "force DNS queries to local resolver" option * Remove deprecated logging options Additionally remove unnecessary rmempty definitions. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-22luci-app-adblock: remove deprecated optionsHannu Nyman
Remove support for options deprecated in adblock 0.80.1 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-21luci-app-adblock: conform to adblock 0.80Hannu Nyman
* Change "debug log" to "log" * Add support for source descriptions * Support new options for ping targets * Simplify link to readme Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-20luci-app-adblock: Add support for optional config valuesHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-19luci-app-adblock: Beautify blocklist selection table and reorganiseHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
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>