summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-dawn
AgeCommit message (Collapse)Author
2023-11-07luci-app-dawn: error message when service not runningDaniel Vijge
Display a nicer error message when the DAWN service is not running Signed-off-by: Daniel Vijge <danielvijge@gmail.com>
2023-11-06luci-app-dawn: Bug fixes for JavaScript implementationDaniel Vijge
Some bug fixes and a small improvements that were discovered after the initial implementation of the JavaScript version of luci-app-dawn: * Correctly show multiple APs per client in the hearing map * Display correct name of all APs in the hearing map * Show if client is connected to the network in the hearing map. This replaces the column for Stations Connected, which is not a property of a client but of an AP, and is available still in the network overview. * Display both hostname and MAC address for clients/APs * Convert spaces to tabs in dawn-common.js for consistency Signed-off-by: Daniel Vijge <danielvijge@gmail.com>
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-09-24applications: remove LUCI_PKGARCH:=allSergey Ponomarev
This is anyway default Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-09-24applications: add missing dependency to luci-baseSergey Ponomarev
It's better to explicitly define it Signed-off-by: Sergey Ponomarev <stokito@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>
2022-09-27luci-app-dawn: return 0 in case of weird frequencyNick Hainke
Sometimes 0 is passed to the frequency. Return 0 in that case. Signed-off-by: Nick Hainke <vincent@systemli.org>
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-19applications: add ACL dependency annotations to legacy controllersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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-10treewide: stage ACL rules for legacy applicationsJo-Philipp Wich
Fixes: #3866 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-10luci-app-dawn: add dependenciesPolynomialdivision
Missing: - luci-compat - luci-lib-json Fixes #3836 Signed-off-by: Nick Hainke <vincent@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>