summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc/model
AgeCommit message (Collapse)Author
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>
2018-01-18luci-app-mwan3: refactoring member config pagesFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: refactoring warning compilation on the policy config pagesFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: refactoring ruleconfig pageFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: refactoring warning compilation on the rule config pagesFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: remove some config parameter from rule overview tableFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: update rule help textFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: remove config_cssFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: remove some config parameter from interface overview tableFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: refactoring warning compilation on the interface config pagesFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-18luci-app-mwan3: remove unnecessary table informationFlorian Eckert
- 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-18luci-app-mwan3: unify header in configuration tabFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11luci-app-mwan3: remove configuration tabFlorian Eckert
remove configuration tab Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11luci-app-mwan3: remove direct configuration possibility for /etc/config filesFlorian Eckert
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-11luci-app-mwan3: refactoring notify pageFlorian Eckert
clean up notify page Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-01-11luci-app-mwan3: move/rename hotplugscript tabFlorian Eckert
- move hotplugscript tab to Configuration - rename hotplugscript tab to notify Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-11-29luci-app-mwan3: fix member metric allowed valuesJakub Janco
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-03luci-app-mwan3: fix i18n spellingFlorian Eckert
Fix i18n en spelling Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-16Merge pull request #1308 from TDT-GmbH/luci-app-mwan3_updateHannu Nyman
luci-app-mwan3: use mwan3.user and add global mmx_mask option
2017-08-16luci-app-mwan3: add config for mwan3 maskFlorian Eckert
Add global config option to edit the mwan3 firewall mask. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-16luci-app-mwan3: change hotplug script to mwan3.userFlorian Eckert
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-14luci-app-mwan3: add new config option 'track_method'Marcin Jurkowski
Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
2017-08-11luci-app-mwan3: add globals config sectionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-08-11luci-app-mwan3: add new config options initial_state and keep_failure_intervalFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-07-23luci-app-mwan3: Add more translate stringskuoruan
Signed-off-by: Hsing-wang Liao <kuoruan@gmail.com>
2017-06-01luci-app-mwan3: make interface list non sortableFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-06-01luci-app-mwan3: change track_ip from ip to host datatypeFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-04-09luci-app-mwan3: Fix luci tools cannot detect translate()INAGAKI Hiroshi
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-03luci-app-mwan3: add failure and recovery intervalFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-04-03luci-app-mwan3: call translatef funktion if reasonableFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-31luci-app-mwan3: add new ip family paramFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-31luci-app-mwan3: add new conntrack flash paramFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-03-31luci-app-mwan3: add new ping size paramFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-02-17luci-app-mwan3: initial commitdanrl
Moved over here from the packages repository. Signed-off-by: Dan Luedtke <mail@danrl.com>