summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc/model/cbi/mwan
AgeCommit message (Collapse)Author
2020-11-27luci-app-mwan3: fix i18n for recovery and latencyFlorian Eckert
Redmine-patch-id: 5620 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-06luci-app-mwan3: update translation for rule famile optionsFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: remove mwan3 routing table selectionFlorian Eckert
The routing tables available for selection are already used by mwan3. So remove theme from drop down. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: fix max tracking interface hintFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: update default value for mmx_maskFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: remove deprecated rtmon interval in globals config sectionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: unify map, section and option variable handling in globalsconfigFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: only show port options if proto is tcp or udpFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: add missing familiy selection for rulesFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-04luci-app-mwan3: unify map, section and option variable handling in ruleconfigFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-14luci-app-mwan3: check rule name length on createFlorian Eckert
fixes #13499 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-10-14luci-app-mwan3: check policy name length on createFlorian Eckert
fixes #13499 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-22luci-app-mwan3: fixing reliability check if value is not configuredFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-09-22luci-app-mwan3: Adjust timeout value to match mwan3track defaultJames White
Signed-off-by: James White <james@jmwhite.co.uk>
2020-09-22luci-app-mwan3: Adjust default interval value to 10 to match mwan3trackJames White
Signed-off-by: James White <james@jmwhite.co.uk>
2020-09-22luci-app-mwan3: Update down and up defaults to match mwan3trackJames White
Signed-off-by: James White <james@jmwhite.co.uk>
2020-08-31luci-app-mwan3: sync default values with mwan3Florian Eckert
fixes #4389 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-08-20treewide: replace `which` with `command -v`Paul Spooren
Fix shellcheck SC2230 > which is non-standard. Use builtin 'command -v' instead. Once applied to everything concerning OpenWrt we can disable the busybox feature `which` and save 3.8kB. Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-12-18luci-app-mwan3: save httping_ssl config whether is set or notFlorian Eckert
Always write this configuration parameter into the config. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-12-18luci-app-mwan3: fix require field message if httping is selectedFlorian Eckert
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>
2019-11-19luci-app-mwan3: switch on ssl tracking on httping selectionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-11-13luci-app-mwan3: add new httping_ssl optionFlorian Eckert
Add the new possibilty to ping https targets with httping. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-03luci-app-mwan3: change flush_conntrack option to list optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-31luci-app-mwan3: fix possibility to not select an ipsetFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-22luci-app-mwan3: Offer loaded ipsets as dropdown for ipset selectionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-22luci-app-mwan3: add syslog rule debug optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-17luci-app-mwan3: fix cbi local scopeFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-21luci-app-mwan3: show supported tracking methodes if needed bin is installedFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-21luci-app-mwan3: add tracking methode npingFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-app-mwan3: remove deprecated local_source optionFlorian Eckert
Remove deprecated local_source option which is not supported/needed anymore. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-app-mwan3: add rt_table_lookup optionFlorian Eckert
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-14luci-app-mwan3: add rtmon interval optionFlorian Eckert
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-14luci-app-mwan3: rename variable in globalsconfig.luaFlorian Eckert
Name variables as the options name in uci. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-app-mwan3: declare variables in globalsconfig.lua localFlorian Eckert
It is best practice to declar module variables local. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-27luci-app-mwan3: add new max_ttl optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-08-30luci-app-mwan3: change interface enabled option to use flag cbi classFlorian Eckert
Make mwan3 interface enable config option use cbi flag. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-15luci-app-mwan3: add quality check optionsFlorian Eckert
Add new quality_check feature Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-15luci-app-mwan3: add dependecy to size optionFlorian Eckert
This option is only valid if track-method is set to "ping". Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-09luci-app-mwan3: bugfixDirk Brenken
* make use of luci.model.uci to fix #1740 Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-04-06luci-app-mwan3: show default values in interface page if config is not foundFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-06luci-app-mwan3: update translationsFlorian Eckert
Update hint in the interface page. Update hint in the policy page. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
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-03luci-app-mwan3: calculate max interface usage from mmx_mask valueFlorian Eckert
Show max interface value on interface page dependent on the mmx_mask value Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-28luci-app-mwan3: update notify infoFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-28luci-app-mwan3: fix strict XHTML syntax errorFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-03-01luci-app-mwan3: fix stack trace if no tacking_ip is set on interface addFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
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: fix unify luci code stylingFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: remove/unify lua require orderFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>