Commit Graph

20 Commits

Author SHA1 Message Date
Adrian Schmutzler 55dc7b4ad5 Rename net_if from router_neighbor table to netif
This includes various changes throughout the code. Additionally,
some fields are reordered.

This requires a change of the MySQL table router_neighbor!

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-30 18:21:08 +01:00
Adrian Schmutzler 47f43eab0d global/hood stats: Include orphaned routers in statistics
This requires a change of the database!

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-30 18:04:12 +01:00
Adrian Schmutzler 5e8e399a70 statistics.html: Filter hood when clicking sectors in pie charts
Fixes #107

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-21 17:07:07 +01:00
Adrian Schmutzler d2789a51df statistics.html: Increase y-limit for online/offline graph
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-11-23 22:12:03 +01:00
Adrian Schmutzler bd4495e660 statistics.html: Add total value to routers graph
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-11-23 22:12:03 +01:00
Adrian Schmutzler d71d35af10 query string: Use beginning and end markers
Since we use regex for the query string, we have to set markers
for beginning and end when we want to match only the whole field.

Fixes #85

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-11-23 22:02:16 +01:00
Adrian Schmutzler bf1d1b8b2a router.html: Fix long loading times
The mysql queries had been executed in a for loop, this is
moved to a single query now.

Side effect may be a little more JavaScript execution time.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-11-16 14:44:28 +01:00
Adrian Schmutzler e3fe995407 MySQL: alpha3
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-11-16 00:00:07 +01:00
Adrian Schmutzler fc4e4f3026 Add loadavg graph for routers
Fixes #55

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-09-10 12:24:36 +02:00
Dominik Heidler 0c7c9772df remove timezone (doesn't work anyway) 2015-12-11 00:01:12 +01:00
Dominik Heidler 850c474371 fix js graph autoscale and Others section 2015-12-09 19:47:02 +01:00
Dominik Heidler 0716ed945a show netif on multiple links to same neighbour
fixes #1
2015-11-27 15:49:02 +01:00
Dominik Heidler b5b4ff60fe filter/search router_list 2015-11-18 14:48:14 +01:00
Dominik Heidler 1d0ef0f321 make js pie look nicer 2015-11-15 20:45:26 +01:00
Dominik Heidler 6c385b3408 add statistics page 2015-11-11 15:27:50 +01:00
Dominik Heidler 8bb4c8ce82 assert 0 if no quality data is available 2015-11-08 21:58:51 +01:00
Dominik Heidler cb1215ac8a multirow graph legend 2015-11-06 18:06:31 +01:00
Dominik Heidler f495283208 add statistics 2015-11-03 23:55:33 +01:00
Dominik Heidler 88904b184d hide graph reset button before selection 2015-11-03 16:13:37 +01:00
Dominik Heidler 8dc6760ccc add network statistics 2015-11-03 16:03:14 +01:00