Commit graph

27 commits

Author SHA1 Message Date
Florian Eckert
1b3f9b1f7e luci-app-mwan3: translate missing text in diagnostic page
Translate missing text.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:44:58 +02:00
Florian Eckert
21de87a1d6 luci-app-mwan3: diagnostic fix physical device lookup
Use diffrent function to get the physical interface name.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:44:58 +02:00
Florian Eckert
8d0cccdb43 luci-app-mwan3: add command to diag_command output view
Add executed command to diagnostic output.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:31:29 +02:00
Paul Traina
b0486ab5dc luci-app-mwan3: fix aliased interfaces (@wan6) 2018-07-02 16:45:10 -07:00
Florian Eckert
ee54a9542f luci-app-mwan3: pin diag ping command to interface device
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-09 14:20:03 +02:00
Florian Eckert
f50de41959 luci-app-mwan3: honor dynamic interface to get gateway ip
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-05-09 14:19:58 +02:00
Dirk Brenken
f3a10bb59b luci-app-mwan3: bugfix
* two more luci.model.uci fixes for #1743

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-10 21:38:07 +02:00
Jo-Philipp Wich
08a2b27df5 luci-app-mwan3: fix legacy uci api usage
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-06 09:35:39 +02:00
Jo-Philipp Wich
c0d9c4f3ce treewide: filter shell arguments through shellquote() where applicable
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-05 09:37:43 +02:00
Florian Eckert
c38117d2ad luci-app-wman3: add license header to all files
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-23 13:30:31 +01:00
Florian Eckert
562a3e5b73 luci-app-mwan3: fix assert if route could not select by ubus
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-23 13:30:24 +01:00
Florian Eckert
6a700eded1 luci-app-mwan3: refactoring troubleshooting page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:10:16 +01:00
Florian Eckert
406564c7db luci-app-mwan3: refactoring detail status view and controller
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:10:05 +01:00
Florian Eckert
5b92193978 luci-app-mwan3: refactoring diagnostics view and controller
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:59 +01:00
Florian Eckert
8371e40dbf luci-app-mwan3: remove diagnostics service section
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:17 +01:00
Florian Eckert
504fdad14b luci-app-mwan3: use mwan3 ubus call for status information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:12 +01:00
Florian Eckert
e40282cb38 luci-app-mwan3: remove configuration tab
remove configuration tab

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11 15:11:14 +01:00
Florian Eckert
5aeeb69f15 luci-app-mwan3: remove direct configuration possibility for /etc/config files
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-11 14:46:39 +01:00
Florian Eckert
7b1725566c luci-app-mwan3: rename status page files
rename status page files

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11 14:46:28 +01:00
Florian Eckert
e7af2148eb luci-app-mwan3: update entry naming
udpate entry nameing

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11 14:46:00 +01:00
Florian Eckert
5c42bba054 luci-app-mwan3: move diagnostic and troubleshooting page to status page
move diagnostic and troubleshooting page to status page

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11 14:45:32 +01:00
Florian Eckert
bb4f769ac1 luci-app-mwan3: move status information to status menu entry
move status information to status menu entry

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11 14:45:09 +01:00
Florian Eckert
6ac76568e7 luci-app-mwan3: move/rename hotplugscript tab
- move hotplugscript tab to Configuration
- rename hotplugscript tab to notify

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11 14:44:59 +01:00
Florian Eckert
c88e03548c luci-app-mwan3: add new config options initial_state and keep_failure_interval
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-11 13:14:55 +02:00
INAGAKI Hiroshi
0999f64f08 luci-app-mwan3: Fix "ip" command path
Fixed an issue that mwan3 fails to detect connection because "ip"
command relocated.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-05-15 15:24:42 +09:00
psyborg55
d912d6bb47 luci-app-mwan3: disable uci/sed errors print to syslog
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-04-14 23:30:47 +02:00
danrl
a25c71f556 luci-app-mwan3: initial commit
Moved over here from the packages repository.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-17 11:22:01 +01:00