summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-adblock/luasrc
AgeCommit message (Collapse)Author
2018-11-14luci-app-adblock: consolidate cssDirk Brenken
* fix IE Edge rendering issues * merge external styles in central css Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-09-07luci-app-adblock: use placeholder in query toolAndrei Troie
Use the placeholder property on the textbox in the query tool so it's more convenient. Signed-off-by: Andrei Troie <andreitroie90@gmail.com>
2018-09-01luci-app-adblock: sync with adblock 3.5.5Dirk Brenken
* fix cornercase issues in runtime information/json parsing Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-07-31luci-app-adblock: "final" fixesDirk Brenken
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>
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-25luci-app-adblock: small visual fixesDirk Brenken
* made readonly textarea (logview) scrollable again (bootstrap theme) * align "Query" input button 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-07-09luci-app-adblock: align blocklist markup with recent changesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09treewide: always include cbi.jsJo-Philipp Wich
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>
2018-06-08luci-app-adblock: partly revert last commitDirk Brenken
* use now CSS for non breaking spaces in div table header Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-06-07luci-app-adblock: sync with adblock 3.5.3Dirk Brenken
* small fixes & cosmetics Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-05-28treewide: convert HTML tables to divJo-Philipp Wich
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>
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>