summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/luasrc/controller
AgeCommit message (Collapse)Author
2020-04-19applications: add ACL dependency annotations to legacy controllersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-21luci-lib-luaneightbl: drop package - all functions ar also in luci-lib-ipPatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2019-08-02luci-app-olsr: handle empty result for non-status tablesLars Kruse
The response of the jsoninfo request may be non-empty (e.g. a linebreak or just whitespace), but still yield "nil" after "json.decode". This situation was already handled for the "status" request, but it leads to a dictionary access against a "nil" value for all other tables. Signed-off-by: Lars Kruse <lists@sumpfralle.de>
2018-12-06luci-app-olsr: make cosmetic changes.pmelange
modify the status tables so that then headers and columns align, values left justified. Additionally, add the openwrt style interface name to the interfaces table, change huge ETX numbers to 'infinate', and add the german translation for 'Selected'. Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-11-11luci-app-olsr: convert olsr.lua and smartgw.htm to new json pluginpmelange
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-11-11luci-app-olsr: convert mid.htm to new json pluginpmelange
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-11-07luci-app-olsr: convert olsr.lua and overview.htm to new json pluginpmelange
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-04-05treewide: filter shell arguments through shellquote() where applicableJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-03-12treewide: unify mac address handlingJo-Philipp Wich
Use the new luci.ip MAC address facilities to parse and verify MAC addresses in a common way, instead of relying on various ad-hoc solutions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-10luci-app-olsr: adapt to changed behavior of new OLSRd v0.9.5Bastian Bittorf
controller/olsr.lua: drop HTTP-headers which are now emitted, we do not need them status-olsr/neighbors.htm: olsr ETX value now without muliplication 1024x Signed-off-by: Bastian Bittorf <bb@npl.de> Signed-off-by: Freifunk UFO <ufo@rund.freifunk.net>
2015-12-09luci-app-olsr: use public interface of luci.model.network.wifinet (#569)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-30applications/olsr: redirect errors on jsoninfo connects with netcat to ↵Manuel Munz
/dev/null to avoid spamming the log
2015-05-30applications/olsr: Get jsoninfo source port prom olsrd/olsrd6 config fileManuel Munz
2015-01-22luci-app-olsr: rewrite mac address resolvingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22luci-app-olsr: use luci.ip.routes() to find default gwJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16luci-app-olsr: add workaround for finding default gw with policy routingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08Rework LuCI build systemJo-Philipp Wich
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>