Commit Graph

48 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 858f419e54 api/alfred and router.html: Show WiFi data for netifs
This shows information about WiFi parameters (e.g. channel).

Except the Tx-Power, data is only available if a firmware with
a corresponding nodewatcher update is present (version 44).

This requires a change of the MySQL table router_netif!

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-30 18:08:41 +01:00
Adrian Schmutzler 23dd78d1da router.html: Fix HTML validity issue
Fixes #67.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-30 17:15:32 +01:00
Adrian Schmutzler 559ced0520 router.html: Only show authorized options in pulldown
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-21 17:03:27 +01:00
Adrian Schmutzler 899061b6ce router.html: Use url_for also for domain name
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-21 17:03:27 +01:00
Adrian Schmutzler ab400e1f01 Provide possibility to report routers
ATTENTION: Requires change in users database!

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-21 17:03:27 +01:00
Adrian Schmutzler 20e71afeb0 Provide possibility to ban routers
If routers are supposed to be removed from the Monitoring
permanently, they can now be banned based on their MAC address.

All admins can do that via the web interface.

ATTENTION: This requires a database update!

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-21 17:03:27 +01:00
Adrian Schmutzler ce4193556a router.html: Add permalink
This is fixed to the br-mesh address. If a router has no br-mesh,
no perma-link is displayed.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-12-10 19:46:46 +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 8f04e13c24 routertools/router.html: Display warning for lost coordinates
Warning: This requires a change of the MySQL table 'router'

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-11-23 21:59:30 +01:00
Adrian Schmutzler 4f4afeb69f router.html: Show neighbors without associated router
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-11-19 15:24:30 +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 60501ac775 router.html: Fix omitting coordinates if not set
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2017-11-16 00:07:31 +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 5ad3111745 Add hood link to router page 2017-03-22 23:27:42 +01:00
Steffen Pankratz 3f0052bdfe - do not show links to Netmon anymore
Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2017-03-22 18:12:54 +01:00
loki-kun 682d62d852 Netmon Sync Button entfernt
Netmon Sync Button auf Route Seite entfernt
2017-03-21 14:48:04 +01:00
Dominik Heidler 19329ef85c User Accounts, Legacy Routers, Delete Routers 2016-02-29 18:51:58 +01:00
Dominik Heidler b508f5031c Remove trailing whitespaces from IP Addrs 2016-01-30 14:56:25 +01:00
Dominik Heidler 688b90f3f6 Show ipv4 and ipv6 addresses 2016-01-30 14:48:48 +01:00
Dominik Heidler e56336b106 rename position.comment to position_comment 2016-01-06 19:06:43 +01:00
Dominik Heidler a8851609f5 show statustext 2015-12-22 10:35:17 +01:00
Dominik Heidler e9e53b1344 show router community 2015-12-22 10:06:14 +01:00
Dominik Heidler c888bf28b9 show router uptime 2015-12-22 09:20:48 +01:00
Steffen Pankratz 4d06d1fd2f Do not rely on CDNs for accessing bootstrap, jquery etc. (fixes #2)
- upgrade to Leaflet 0.7.7
2015-12-11 11:18:07 +01:00
Dominik Heidler 594ee53194 neighbours function doesn't like empty neighbours 2015-12-01 14:54:09 +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 02c094aab2 allow users to trigger netmon resync 2015-11-19 22:37:06 +01:00
Dominik Heidler b5b4ff60fe filter/search router_list 2015-11-18 14:48:14 +01:00
Dominik Heidler 5b8609102a strip spaces around ip addr 2015-11-16 09:59:49 +01:00
Dominik Heidler 0a9e255802 add titles and make ui more responsible 2015-11-15 20:48:55 +01:00
Dominik Heidler 6c385b3408 add statistics page 2015-11-11 15:27:50 +01:00
Dominik Heidler 3e4debab4a make graphs hideable 2015-11-09 12:01:15 +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 e6c94c35fa use more efficient bson2json for stats 2015-11-05 15:47:40 +01:00
Dominik Heidler 3daee38a7c show wan uplink (also for aux) 2015-11-05 15:46:27 +01:00
Dominik Heidler 455f1710d5 fix graphs on mobile devices 2015-11-04 00:30:31 +01:00
Dominik Heidler f495283208 add statistics 2015-11-03 23:55:33 +01:00
Dominik Heidler 8dc6760ccc add network statistics 2015-11-03 16:03:14 +01:00
Dominik Heidler 771a49bb03 changes for router view and data fetch
- show router update event
- show time since last contact
- re-fetch netmon data when netmon_id is unset
- gracefully handle missing router data
2015-10-22 19:26:03 +02:00
Dominik Heidler 8975d01100 fix event list 2015-10-21 11:01:24 +02:00
Dominik Heidler 2dc2ba8158 calc fe80 ip from mac, if there is no ip in the db 2015-10-20 21:44:36 +02:00
Dominik Heidler 3f3f0f31d7 fix mobile layout 2015-10-16 09:51:05 +02:00
Dominik Heidler d69bb8a622 show network interfaces 2015-10-12 18:09:39 +02:00
Dominik Heidler 0306e02052 use ssl cdn to allow using https 2015-10-12 14:36:39 +02:00
Dominik Heidler 934d2851e5 add alfred support and dynamic map creation 2015-10-10 17:42:44 +02:00