summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dawn/luasrc/model/cbi
AgeCommit message (Collapse)Author
2023-10-31luci-app-dawn: Implement in JavaScriptDaniel Vijge
This commit re-implements luci-app-dawn in JavaScript, removing the older lua implementation. Besides a 1-to-1 port, there are some changes/improvements: * In both the network overview and the hearing map, replace MAC addresses by host name if known. * In the hearing map, the table is sortable. If the same client is connected to multiple access points/frequencies the MAC/host name is listed twice, whereas in the lua implementation the second MAC address was empty to show it was referring to the same client. This means the table can be sorted on any column, and the information remains correct. * The view in the network overview is a bit different. This table is not sortable, because LuCi doesn't seem to like a table inside a table for sorting. * Align the column names between the network overview and the hearing table. * Add tooltips for abbreviations in column names. Signed-off-by: Daniel Vijge <danielvijge@gmail.com>
2023-03-15luci-app-dawn: fix crash issue when viewing hearing mapBCoverstone
When viewing the hearing map, sometimes a crash will happen when one of the routers suddenly cannot view a client. This PR simply checks that the radio frequency in data2 is not 0, and skips the entry if it is a 0. Submitted-by: Brian Coverstone <brian@mainsequence.net> [fix commit subject, add commit description] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-10-09luci-app-dawn: remove page for steering optionsNick Hainke
The luci-app-dawn is blocking the PR to be merged: https://github.com/openwrt/packages/pull/16299 Remove the configuration page and set appropriate standard values. Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-09-24luci-app-dawn: add missing quotation markSchleifer, Werner
Signed-off-by: Schleifer, Werner <werner.schleifer@gmx.de>
2021-03-29luci-app-dawn: fix custom markupJo-Philipp Wich
- Properly indent HTML markup - Replace div-based table markup with actual tables - Escape SSID, hostname and interface values to prevent potential XSS Fixes: #4942 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-06-09luci-app-dawn: Add hostname and interface to network overviewDavid Woodhouse
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2020-04-19luci-app-dawn: network overview rewrite with div tablesJonny Tischbein
Signed-off-by: Jonny Tischbein <jonny_tischbein@systemli.org>
2020-04-19Merge pull request #3929 from PolynomialDivision/fix/stop_adding_config_filesDirk Brenken
luci-app-dawn: stop adding not used config files
2020-04-19luci-app-dawn: stop adding not used config filesPolynomialdivision
Fixes https://github.com/berlin-open-wireless-lab/DAWN/issues/64. The app adds config files under /etc/config/ for the Hearing Map and the Network Overview. Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-04-18luci-app-dawn: hearing map with div tablesJonny Tischbein
Signed-off-by: Jonny Tischbein <jonny_tischbein@systemli.org>
2020-04-18luci-app-dawn: rewrite dawn hearing map in table formJonny Tischbein
Signed-off-by: Jonny Tischbein <jonny_tischbein@systemli.org>
2020-04-10luci-app-dawn: fix typosPolynomialdivision
Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-04-02luci-app-dawn: add luci app for dawnPolynomialdivision
Dawn is a decentralized WiFi controller. Just install dawn and the APs will find each other via umdns. They periodically exchange information about connected clients, wireless statistics and other needed information. With that, the daemon load balances clients between different APs through association control. Luci-app-dawn is the graphical user interface. It allows to: - Configure dawn - View Wireless Network Overview - View Hearing Map The hearing map is the list of all probe requests seen from a client from all APs that are running the controller. Signed-off-by: Nick Hainke <vincent@systemli.org>