summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc
AgeCommit message (Collapse)Author
2020-11-06luci-app-mwan3: update translation for rule famile optionsFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: remove mwan3 routing table selectionFlorian Eckert
The routing tables available for selection are already used by mwan3. So remove theme from drop down. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: fix max tracking interface hintFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: update default value for mmx_maskFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: remove deprecated rtmon interval in globals config sectionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: unify map, section and option variable handling in globalsconfigFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: only show port options if proto is tcp or udpFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: add missing familiy selection for rulesFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: unify map, section and option variable handling in ruleconfigFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-14luci-app-mwan3: check rule name length on createFlorian Eckert
fixes #13499 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-14luci-app-mwan3: check policy name length on createFlorian Eckert
fixes #13499 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-22luci-app-mwan3: fixing reliability check if value is not configuredFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-22luci-app-mwan3: Adjust timeout value to match mwan3track defaultJames White
Signed-off-by: James White <james@jmwhite.co.uk>
2020-09-22luci-app-mwan3: Adjust default interval value to 10 to match mwan3trackJames White
Signed-off-by: James White <james@jmwhite.co.uk>
2020-09-22luci-app-mwan3: Update down and up defaults to match mwan3trackJames White
Signed-off-by: James White <james@jmwhite.co.uk>
2020-08-31luci-app-mwan3: sync default values with mwan3Florian Eckert
fixes #4389 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-08-20treewide: replace `which` with `command -v`Paul Spooren
Fix shellcheck SC2230 > which is non-standard. Use builtin 'command -v' instead. Once applied to everything concerning OpenWrt we can disable the busybox feature `which` and save 3.8kB. Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-17luci-app-mwan3: fix interface gridAaron Goodman
Interface grid can become misaligned due to varying number of lines. Use non-breaking spaces to ensure all interface boxes are three lines long. Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-08luci-app-mwan3: fix diagnostics status page style issuesFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-04-19applications: add ACL dependency annotations to legacy controllersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-18luci-app-mwan3: save httping_ssl config whether is set or notFlorian Eckert
Always write this configuration parameter into the config. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-12-18luci-app-mwan3: fix require field message if httping is selectedFlorian Eckert
If these two values are not removed, then httping cannot be selected as the tracking method. The field size is a must field for ping but it is not displayed because httping does not need it. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-11-19luci-app-mwan3: switch on ssl tracking on httping selectionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-11-13luci-app-mwan3: add new httping_ssl optionFlorian Eckert
Add the new possibilty to ping https targets with httping. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-07-10luci-app-mwan3: rename ubus valuesFlorian Eckert
Update status view because of ubus value rename Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-03luci-app-mwan3: change flush_conntrack option to list optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-31luci-app-mwan3: fix possibility to not select an ipsetFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-22luci-app-mwan3: Offer loaded ipsets as dropdown for ipset selectionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-22luci-app-mwan3: add syslog rule debug optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-17luci-app-mwan3: fix cbi local scopeFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-21luci-app-mwan3: show supported tracking methodes if needed bin is installedFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-21luci-app-mwan3: add uptime/downtime to status pageFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-21luci-app-mwan3: add tracking methode npingFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-20luci-app-*: use default poll intervalFlorian Eckert
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>
2018-11-14luci-app-mwan3: remove deprecated local_source optionFlorian Eckert
Remove deprecated local_source option which is not supported/needed anymore. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-app-mwan3: add rt_table_lookup optionFlorian Eckert
Make list option rt_table_lookup configurable in luci. With this option we could define additional routing tables which get scanned by mwan3 and then get added to the connected ipset. The entries will be treated as connected network and will not get mangeld by mwan3. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-app-mwan3: add rtmon interval optionFlorian Eckert
Add the configuration option rtmon to luci. With this parameter we could adjust how often the routing table get synced between main routing table and the interface routing table. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-app-mwan3: rename variable in globalsconfig.luaFlorian Eckert
Name variables as the options name in uci. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-app-mwan3: declare variables in globalsconfig.lua localFlorian Eckert
It is best practice to declar module variables local. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-12luci-app-mwan3: fix typoFlorian Eckert
This has worked before because the interface variable is global. But this is not nice. So this commit will fix this. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-02luci-app-mwan3: fix i18n tracebackFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-27luci-app-mwan3: add new max_ttl optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30luci-app-mwan3: translate missing text in diagnostic pageFlorian Eckert
Translate missing text. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30luci-app-mwan3: diagnostic fix physical device lookupFlorian Eckert
Use diffrent function to get the physical interface name. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30luci-app-mwan3: change interface enabled option to use flag cbi classFlorian Eckert
Make mwan3 interface enable config option use cbi flag. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30luci-app-mwan3: add command to diag_command output viewFlorian Eckert
Add executed command to diagnostic output. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
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-07-02luci-app-mwan3: fix aliased interfaces (@wan6)Paul Traina
2018-05-15luci-app-mwan3: add quality check optionsFlorian Eckert
Add new quality_check feature Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-15luci-app-mwan3: add dependecy to size optionFlorian Eckert
This option is only valid if track-method is set to "ping". Signed-off-by: Florian Eckert <fe@dev.tdt.de>