Commit graph

239 commits

Author SHA1 Message Date
Florian Eckert
6ec540c46d luci-app-mwan3: add rt_table_lookup option
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-14 09:19:08 +01:00
Florian Eckert
8517a25a80 luci-app-mwan3: add rtmon interval option
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-14 09:17:04 +01:00
Florian Eckert
29ab12650c luci-app-mwan3: rename variable in globalsconfig.lua
Name variables as the options name in uci.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14 09:15:46 +01:00
Florian Eckert
fc1e2c53b9 luci-app-mwan3: declare variables in globalsconfig.lua local
It is best practice to declar module variables local.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14 09:15:13 +01:00
Hannu Nyman
89e26911f1 i18n: cleanup old strings
also sync translations

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-10 21:26:41 +02:00
Hannu Nyman
40de466475 i18n: sync translations, add location annotatations
Thanks to a recent commit, the translation files will now
have info about locations where the string is used. That
can help is deciding the correct translation, as all contexts
are more easily found.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-07 18:10:59 +02:00
Florian Eckert
d78be98cc4 luci-app-mwan3: fix typo
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-12 08:45:42 +02:00
Hannu Nyman
c9e3e73c8c i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-10-11 19:57:32 +03:00
Florian Eckert
ea59480e4e luci-app-mwan3: fix i18n traceback
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-02 11:47:33 +02:00
yangfl
dc1c69ce4e i18n: update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-10-01 11:39:57 +08:00
Florian Eckert
5d8b64f414 luci-app-mwan3: add new max_ttl option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-27 08:50:31 +02:00
Florian Eckert
4032c335e0 luci-app-mwan3: add german translation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-27 08:50:31 +02:00
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
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
278b3f53db luci-app-mwan3: fix unify luci code styling
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:56 +01:00
Florian Eckert
831bd71eb3 luci-app-mwan3: remove/unify lua require order
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:52 +01:00
Florian Eckert
d369c80bec luci-app-mwan3: refactoring member config pages
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:50 +01:00
Florian Eckert
b4350f21ff luci-app-mwan3: refactoring warning compilation on the policy config pages
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:46 +01:00
Florian Eckert
ed0d2ba6cf luci-app-mwan3: refactoring ruleconfig page
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:42 +01:00
Florian Eckert
aae3d298c2 luci-app-mwan3: refactoring warning compilation on the rule config pages
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:38 +01:00
Florian Eckert
de1afe2a90 luci-app-mwan3: remove some config parameter from rule overview table
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:34 +01:00
Florian Eckert
8014e21d6d luci-app-mwan3: update rule help text
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:30 +01:00
Florian Eckert
2d7e440eb1 luci-app-mwan3: remove config_css
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:28 +01:00
Florian Eckert
03dc912ebd luci-app-mwan3: remove some config parameter from interface overview table
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:25 +01:00
Florian Eckert
0ac4d725c5 luci-app-mwan3: refactoring warning compilation on the interface config pages
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:20 +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
119730448d luci-app-mwan3: remove unnecessary table information
- memberconfg view: remove interface table information it is already reflected
  in the interface dropdown
- policyconfig view: remove member table information it is already refelected
  in the member dropdown
- ruleconfig view: remove policy table information it is already reflected
  in the policy dropdown

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:15 +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
72bcd39b9f luci-app-mwan3: unify header in configuration tab
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:08 +01:00
Florian Eckert
0b4942c396 luci-app-mwan3: rename mwan3 status overview plugin
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:04 +01:00
Florian Eckert
811685c269 luci-app-mwan3: remove old /etc/hotplug.d/16-mwancustombak"
Remove old /etc/hotplug.d/15-mwancustombak file use instead
/etc/mwan3.user from the mwan3 base package. The modification could be
done undet "Networke | Load Balancer | Notify"

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18 15:09:01 +01:00
Vladimir
0f80bcfd8f fixed russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-13 13:32:58 +03:00
Vladimir
7cdb92bfd0 fixed russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-11 23:17:43 +03:00
Vladimir
5d48227363 Correction by script i18n-sync.sh with editing of Russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-11 19:22:07 +03:00
Hannu Nyman
74eaa6bedf
Merge pull request #1526 from TDT-AG/pr/20180111-luci-app-mwan3-refactoring
luci-app-mwan3: refactoring
2018-01-11 16:46:24 +02: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
2a165111e8 luci-app-mwan3: refactoring notify page
clean up notify page

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11 14:45:04 +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
Vladimir
7e3d52ec08 fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-11 01:43:46 +03:00
Hannu Nyman
bd52bf4625 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-01-06 09:40:39 +02:00
Vladimir
e7adf1c1bb fixed and updated russian translation
Signed-off-by: Vladimir <picfun@ya.ru>
2018-01-05 18:08:00 +03:00
Hannu Nyman
463c72a798 i18n: sync translations
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-12-28 14:22:49 +02:00
Jakub Janco
890a2fc828 luci-app-mwan3: fix member metric allowed values
mwan3 accepts only 1-256 metric of member, if it is more, member is ignored.
This patch fix translations and allowed values of member metric input.

Signed-off-by: Jakub Janco <kubco2@gmail.com>
2017-11-29 00:30:53 +01:00
Florian Eckert
afd84b3cab luci-app-mwan3: fix i18n spelling
Fix i18n en spelling

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-11-03 10:13:09 +01:00
yangfl
4dc055be85 i18n: Update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-29 16:00:27 +08:00
yangfl
7dd75df093 i18n: Update Chinese translation
Signed-off-by: David Yang <mmyangfl@gmail.com>
2017-10-28 18:57:21 +08:00
Florian Eckert
b228700610 luci-app-mwan3: fix uci-defaults script rename initial_source to local_source
Rename wrong uci option

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-09-05 06:55:46 +02:00
INAGAKI Hiroshi
5d4ae05c63 luci-app-mwan3: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-08-20 13:44:24 +09:00
INAGAKI Hiroshi
d503740be1 luci-app-mwan3: Sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-08-20 12:48:53 +09:00
Hannu Nyman
209deb50a4 Merge pull request #1308 from TDT-GmbH/luci-app-mwan3_update
luci-app-mwan3: use mwan3.user and add global mmx_mask option
2017-08-16 18:42:59 +03:00
Florian Eckert
6c4053066a luci-app-mwan3: add config for mwan3 mask
Add global config option to edit the mwan3 firewall mask.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-16 14:51:55 +02:00
Florian Eckert
10992d6b10 luci-app-mwan3: change hotplug script to mwan3.user
Replace old "/etc/hotplug.d/iface/16-mwancustom" edit possibility
with the new "/etc/mwan3.user" hotplug script.
Which will also be saved during sysupgrade.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-16 14:48:53 +02:00
Marcin Jurkowski
71f07bb65b luci-app-mwan3: add new config option 'track_method'
Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2017-08-14 18:53:55 +02:00
Florian Eckert
bcc9382e16 luci-app-mwan3: update i18n
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-11 13:42:38 +02:00
Florian Eckert
5371f159da luci-app-mwan3: extend uci-default to set globals section if not present
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-11 13:33:38 +02:00
Florian Eckert
933e0f335c luci-app-mwan3: add globals config section
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-11 13:23:33 +02: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
3604e4756d luci-app-mwan3: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-28 13:47:25 +09:00
INAGAKI Hiroshi
ec305ecc82 luci-app-mwan3: Sync translations
Synchronized translations with sources.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-25 14:12:25 +09:00
INAGAKI Hiroshi
35cfbe09cc luci-app-mwan3: Add translate strings in update_status()
Translation function is not used in "start", "stop", and "restart",
and I modified them because the LuCI i18n-tools cannot be detected.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-07-25 13:56:50 +09:00
Hsing-Wang Liao
ccca70579f luci-app-mwan3: Clean unneeded css styles
Some css styles were cleaned by commit e61f40ead8
 but that commit forget the file advanced_wirelessconfig.htm, clean these styles to unify style.

Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-07-23 14:34:44 +08:00
Hsing-Wang Liao
e3b22c4888 luci-app-mwan3: Update Simplified Chinese translation
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-07-23 10:42:50 +08:00
kuoruan
7445849460 luci-app-mwan3: Add more translate strings
Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
2017-07-23 10:42:49 +08:00
INAGAKI Hiroshi
71f76c3475 luci-app-mwan3: Fix mismatched texts
"hostname" and "address" in interfaceconfig.lua are mismatched with
the strings in po/pot files, and their translations are not applied.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-06-11 00:47:42 +09:00
INAGAKI Hiroshi
d5ece06efe luci-app-mwan3: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-06-02 02:56:22 +09:00
Florian Eckert
dda52733e2 luci-app-mwan3: update language po
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-06-01 11:56:08 +02:00
Florian Eckert
e61f40ead8 luci-app-mwan3: fix css styling
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-06-01 11:56:08 +02:00
Florian Eckert
cb2e3c1a57 luci-app-mwan3: make interface list non sortable
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-06-01 11:56:08 +02:00
Florian Eckert
30f63ced67 luci-app-mwan3: change track_ip from ip to host datatype
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-06-01 11:56:07 +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
INAGAKI Hiroshi
99af05d103 luci-app-mwan3: Update Japanese translation
Updated Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-04-10 23:05:48 +09:00
Hannu Nyman
7a7e08c39b luci-app-mwan3: sync translations
Fix manually minor breakage from the previous commit.
Prune some deleted strings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-10 14:42:14 +03:00
INAGAKI Hiroshi
473409ad8e luci-app-mwan3: Fix luci tools cannot detect translate()
Fixed strings in Lua sources where the LuCI i18n tools cannot be
detected. And also fixed some other problems.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-04-09 21:38:36 +09:00
Hsing-Wang Liao
5900ca8db7 luci-app-mwan3: Add Simplified Chinese translation
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2017-04-09 16:18:44 +08:00
INAGAKI Hiroshi
601784f283 luci-app-mwan3: Update Japanese translation
Synchronized translations with sources and updated japanese
translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-04-07 03:53:13 +09:00
Hannu Nyman
a33dfdd67c Merge pull request #1094 from TDT-GmbH/luci-app-mwan3-update
luci-app-mwan3: update interfaceconfig page with new params
2017-04-06 11:11:37 +03:00
INAGAKI Hiroshi
fce9f5248b luci-app-mwan3: Add Japanese translation
Added po templates and Japanese translations.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2017-04-04 22:49:38 +09:00
Florian Eckert
71f2f045b2 luci-app-mwan3: add me as co maintainer
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-04-03 11:19:56 +02:00
Florian Eckert
7e4fb9998b luci-app-mwan3: add failure and recovery interval
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-04-03 11:16:42 +02:00
Florian Eckert
e49e657859 luci-app-mwan3: call translatef funktion if reasonable
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-04-03 11:04:34 +02:00
Florian Eckert
e1e5743a1a luci-app-mwan3: add new ip family param
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-31 15:02:03 +02:00
Florian Eckert
7d5579b3e0 luci-app-mwan3: add new conntrack flash param
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-31 15:01:51 +02:00
Florian Eckert
585b6b3111 luci-app-mwan3: add new ping size param
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-31 15:01:41 +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