summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-mwan3/luasrc/model
AgeCommit message (Collapse)Author
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>
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>