summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/luasrc
AgeCommit message (Collapse)Author
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: reenable the "auto refresh" featurepmelange
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-12-06luci-app-olsr change ccs style to use class "left" instead of ↵pmelange
"style=text-align: left" Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
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 interfaces.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-11-07luci-app-olsr: cbi remove library version numbers in library search resultspmelange
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2018-11-02Merge pull request #2250 from booo/remove-olsrd-library-version-numbersJo-Philipp Wich
get rid of library version numbers in luci olsrd code
2018-10-28Add missing variable declarations in JavaScript codeStefan Weil
This fixes errors reported by LGTM. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-25get rid of library version numbers in luci olsrd codePhilipp Borgers
Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
2018-10-12treewide: Fix typos in UI stringsyangfl
Signed-off-by: David Yang <mmyangfl@gmail.com>
2018-07-09treewide: always include cbi.jsJo-Philipp Wich
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-05-28treewide: convert HTML tables to divJo-Philipp Wich
Mostly convert HTML tables to div based markup to allow for easier styling in the future. Also change JS accessor code accordingly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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-10-06Globally convert headline anchors into name attributes.Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-30applications/olsr: change config file download on olsr overview page to use ↵Manuel Munz
seperate v4 and v6 config files
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-16Update my email addresses in the license headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16Globally reduce copyright headersJo-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-15luci-app-olsr: switch to nixio.fsJo-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>