summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc/controller/mwan3.lua
AgeCommit message (Collapse)Author
2018-10-02luci-app-mwan3: fix i18n tracebackFlorian 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: 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-02luci-app-mwan3: fix aliased interfaces (@wan6)Paul Traina
2018-05-09luci-app-mwan3: pin diag ping command to interface deviceFlorian Eckert
If the physical device is not set in the diag_command then the ping will always use the route with the lowest metric from the default routing table. To fix this add the physical device of the logical interface to the ping command. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-09luci-app-mwan3: honor dynamic interface to get gateway ipFlorian Eckert
If a logical interface setup and adds in the protocol handler a dynamic interface then the gateway is configured in the dynamic interface and the setting up logical interface does not have a gateway specified. To fix this check first if a dynamic interface is present and use this gateway ip if found and if no dynamich interface is set then check for a gateway in the logical interface. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-10luci-app-mwan3: bugfixDirk Brenken
* two more luci.model.uci fixes for #1743 Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-06luci-app-mwan3: fix legacy uci api usageJo-Philipp Wich
Explicitely require libuci-lua in model classes that use legacy /var/state cursor handling. Also add a specific dependency on libuci-lua to the luci-app-mwan3 Makefile in preparation of the upcoming default removal of libuci-lua. Finally fix the post data dispatching on the notification tab, see #1722 for reference. Fixes #1726. 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-01-23luci-app-wman3: add license header to all filesFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-23luci-app-mwan3: fix assert if route could not select by ubusFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: refactoring troubleshooting pageFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: refactoring detail status view and controllerFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: refactoring diagnostics view and controllerFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: remove diagnostics service sectionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: use mwan3 ubus call for status informationFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11luci-app-mwan3: remove configuration tabFlorian Eckert
remove configuration tab Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11luci-app-mwan3: remove direct configuration possibility for /etc/config filesFlorian Eckert
With this change it is not longer possible to edit the following configuration files directly. - mwan3 - wireless - network The user should edit the configuration over the provided luci pages. which will do input checks and so prevent from miss configuration. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11luci-app-mwan3: rename status page filesFlorian Eckert
rename status page files Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11luci-app-mwan3: update entry namingFlorian Eckert
udpate entry nameing Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11luci-app-mwan3: move diagnostic and troubleshooting page to status pageFlorian Eckert
move diagnostic and troubleshooting page to status page Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11luci-app-mwan3: move status information to status menu entryFlorian Eckert
move status information to status menu entry Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11luci-app-mwan3: move/rename hotplugscript tabFlorian Eckert
- move hotplugscript tab to Configuration - rename hotplugscript tab to notify Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-11luci-app-mwan3: add new config options initial_state and keep_failure_intervalFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-05-15luci-app-mwan3: Fix "ip" command pathINAGAKI Hiroshi
Fixed an issue that mwan3 fails to detect connection because "ip" command relocated. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-04-14luci-app-mwan3: disable uci/sed errors print to syslogpsyborg55
Maintainer: @arfett Compile tested: ramips, xiaomi mini, r50082 Run tested: ramips, xiaomi mini, r50082 Add uci parameter to silence errors printed to syslog and append extra redirect of sed error messages to /dev/null. Signed-off-by: Tomislav Požega <pozega.tomislav@gmail.com>
2017-02-17luci-app-mwan3: initial commitdanrl
Moved over here from the packages repository. Signed-off-by: Dan Luedtke <mail@danrl.com>