Commit graph

127 commits

Author SHA1 Message Date
Martin Schiller
5f7c695848 i18n: sync translations
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2018-09-12 11:17:30 +02:00
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
665e062061 luci-app-mwan3: change interface enabled option to use flag cbi class
Make mwan3 interface enable config option use cbi flag.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30 14:44:34 +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
yangfl
9711120e06 luci-app: update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-08-11 15:46:07 +08:00
Jo-Philipp Wich
c0de036b31 treewide: always include cbi.js
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-09 11:51:43 +02:00
Paul Traina
b0486ab5dc luci-app-mwan3: fix aliased interfaces (@wan6) 2018-07-02 16:45:10 -07:00
INAGAKI Hiroshi
ca0a086a2d i18n: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-06-30 23:10:45 +09:00
Zheng Qian
bfcf2189f1 luci-app-mwan3: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-06-09 22:49:04 +08:00
INAGAKI Hiroshi
e050337c51 luci-app-mwan3: update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-27 03:12:24 +09:00
INAGAKI Hiroshi
b1fd056fa5 i18n: sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-05-21 01:04:53 +09:00
Florian Eckert
9a93359d42 luci-app-mwan3: add quality check options
Add new quality_check feature

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-15 11:11:38 +02:00
Florian Eckert
2c6faaecd1 luci-app-mwan3: add dependecy to size option
This option is only valid if track-method is set to "ping".

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-15 11:11:34 +02: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
Dirk Brenken
f7f5395f1c luci-app-mwan3: bugfix
* make use of luci.model.uci to fix #1740

Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-09 15:50:21 +02:00
Hannu Nyman
93040427ff luci-app-mwan: fix translation fallout
Partially fix the fallout from the recent string changes.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-04-06 23:28:41 +03:00
Florian Eckert
af3ef3390c luci-app-mwan3: show default values in interface page if config is not found
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-06 12:56:57 +02:00
Florian Eckert
01e0179725 luci-app-mwan3: update translations
Update hint in the interface page.
Update hint in the policy page.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-06 12:54:21 +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
dd637e4f46 luci-app-mwan3: remove unnecessary 'tracking active' hint
Remove the unnecessary 'tracking active' hint from the status interface
page.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-03 13:30:30 +02:00
Florian Eckert
cd1a979593 luci-app-mwan3: remove diag-rc-legend field id
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>
2018-04-03 13:30:28 +02:00
Florian Eckert
c390464590 luci-app-mwan3: calculate max interface usage from mmx_mask value
Show max interface value on interface page dependent on the mmx_mask
value

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-03 13:30:20 +02:00
INAGAKI Hiroshi
caf4421603 i18n: sync translations
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-03-29 12:51:13 +09:00
Florian Eckert
3a0d5301ca luci-app-mwan3: update notify info
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-28 10:59:50 +02:00
Florian Eckert
ed56422a91 luci-app-mwan3: fix strict XHTML syntax error
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-28 10:59:42 +02:00
Florian Eckert
10e5171ea6 luci-app-mwan3: add missing graphics boxes again
Add css boxes for mwan3 status again

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-23 10:30:55 +01:00
Florian Eckert
a279c9abb3 luci-app-mwan3: remove notMonitored status information
This case is not supported by mwan3 anymore

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-23 10:30:12 +01:00
Florian Eckert
dcb041e396 luci-app-mwan3: remove css from javascript in overview_status_interface
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:52 +01:00
Florian Eckert
5362f69706 luci-app-mwan3: Update header name in status pages
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:50 +01:00
Florian Eckert
a73687022d luci-app-mwan3: remove duplicated code section
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:47 +01:00
Florian Eckert
deba02e096 luci-app-mwan3: fix source styling
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:45 +01:00
Florian Eckert
1ff26f380f luci-app-mwan3: remove css styling from status_interface page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:42 +01:00
Florian Eckert
a82e588c06 luci-app-mwan3: remove css styling from overview_status_interface page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:40 +01:00
Florian Eckert
3c86c6562e luci-app-mwan3: fix stack trace if no tacking_ip is set on interface add
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01 10:47:38 +01:00
Florian Eckert
66b93ab784 luci-app-wman3: show info if mwan3 is not global enabled
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-02-05 10:45:22 +01:00
Florian Eckert
4b0347d498 luci-app-mwan3: update look and feel interface status page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-02-05 10:45:20 +01:00
Florian Eckert
83cec9277d luci-app-mwan3: do not show mwan3 status in overview if not enabled
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-02-05 10:45:16 +01:00
Florian Eckert
0c3bd5c537 luci-app-mwan3: update uci track entry to use /etc/init.d/mwan3 reload
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-02-05 10:45:05 +01: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
72191b7e2c luci-app-mwan3: fix diagnostics dropdown menu entry
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-23 13:30:28 +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
Vladimir
bb87aac852 i18n-ru: Edits on the general pattern of Russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-20 14:02:48 +03:00
Vladimir
dc71ae0102 i18n-sync changes mwan3
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-19 19:55:44 +03: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
24fe9b1279 luci-app-mwan3: rename status tab names
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:10:12 +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