Age | Commit message (Collapse) | Author |
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Always write this configuration parameter into the config.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
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>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Add the new possibilty to ping https targets with httping.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Update status view because of ubus value rename
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
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>
|
|
Remove deprecated local_source option which is not supported/needed anymore.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
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>
|
|
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>
|
|
Name variables as the options name in uci.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
It is best practice to declar module variables local.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
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>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Translate missing text.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Use diffrent function to get the physical interface name.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Make mwan3 interface enable config option use cbi flag.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Add executed command to diagnostic output.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
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>
|
|
|
|
Add new quality_check feature
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
This option is only valid if track-method is set to "ping".
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
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>
|
|
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>
|
|
* two more luci.model.uci fixes for #1743
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* make use of luci.model.uci to fix #1740
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Update hint in the interface page.
Update hint in the policy page.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
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>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Remove the unnecessary 'tracking active' hint from the status interface
page.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
On the material theme the "Collecting data" hint in the status pages
was still present on the page even though the command was sucessfull executed.
Remove the legend tag and move the info "Collecting data" to the
"diag-rc-output" tag will solve this issue.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Show max interface value on interface page dependent on the mmx_mask
value
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Add css boxes for mwan3 status again
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
This case is not supported by mwan3 anymore
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|