Age | Commit message (Collapse) | Author |
|
Display a nicer error message when the DAWN service is not running
Signed-off-by: Daniel Vijge <danielvijge@gmail.com>
|
|
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>
|
|
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>
|
|
This is anyway default
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
|
|
It's better to explicitly define it
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
|
|
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>
|
|
Sometimes 0 is passed to the frequency. Return 0 in that case.
Signed-off-by: Nick Hainke <vincent@systemli.org>
|
|
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>
|
|
Signed-off-by: Schleifer, Werner <werner.schleifer@gmx.de>
|
|
- 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>
|
|
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
|
|
Signed-off-by: Jonny Tischbein <jonny_tischbein@systemli.org>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-app-dawn: stop adding not used config files
|
|
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>
|
|
Signed-off-by: Jonny Tischbein <jonny_tischbein@systemli.org>
|
|
Signed-off-by: Jonny Tischbein <jonny_tischbein@systemli.org>
|
|
Fixes: #3866
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Missing:
- luci-compat
- luci-lib-json
Fixes #3836
Signed-off-by: Nick Hainke <vincent@systemli.org>
|
|
Signed-off-by: Nick Hainke <vincent@systemli.org>
|
|
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>
|