c657f1544f
user.html: Make uptime sortable (as in router_list.html)
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
5c4360b944
router_list.html/user.html: Make status column sortable
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
bdff2b74b0
statistics.html: Add option to hide hoods by type (V1/V2/local)
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
7d2488bcc5
v2routers: Added page for V1/V2 comparison
...
Selection of deleted hoods for V1 is a dirty walkaround and
needs to be adjusted for every new deleted hood. Since this is
an undocumented page, this is okay ...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
4c2b4f1628
gateways: Add new page with gateway data (IPs, DHCP ranges)
...
Shows all interfaces without checking vpnif.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
4d638c3744
gwinfo: Fix IPv4/IPv6 sed (leading space in match pattern, v1.4.6)
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
7e34a20451
gwinfo: Delete IP addresses for old netif entries
...
This ensures that only the latest addresses are shown on the
gateway overview page.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
b0165a4c9c
gwinfo: Bump to 1.4.5 (further DHCP fix)
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
a56ff652d1
gwinfo: Bump to 1.4.4 (two DHCP processing fixes)
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
c26c5e79e4
gwinfo: Make grep silent
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
2b8b267ed2
gwinfo: Bump to version 1.4.3
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
424b944254
gwinfo: Update to 1.4.2 and add gateway firmware version
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
3ee01379dd
router.html: Fix display of WebUI and remove try/catch
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
f14e9a51be
statistics.html: Fix order in hoods table
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:51 +01:00
80d6a421e5
router.html: Show hood version next to hood name
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:50 +01:00
0bf2312fe4
Global: Put hoods into table and use smallint for reference
...
This will reduce size of stats_hood and, more importantly,
make hood assignment independent of hood name changes:
Previouly: Name change = changing string in every place
Now: Name change = change of one table entry
This requires changes to the MySQL database!
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:50 +01:00
dd6d101ccd
Global: Identify local routers and indicate their status
...
This detects local routers based on knowing their hood, but not
having the hood listed in hoodsv2 table.
This classification is performed when the routers' alfred data
is parsed. Thus, offline routers won't change.
This requires changes to the MySQL database!
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:50 +01:00
b38af9a74b
Global: Read V1 hoods from KeyXchange
...
This obsoletes the hood initialization file.
Hood are capitalized and "V1" is added at the end.
This may require a rename of the existing hood stats.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:50 +01:00
77bd43c73a
Global: Add V2 hoods to table
...
This requires changes to the MySQL database!
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:50 +01:00
74ba799912
alfred/gwinfo: Provide specific error message if JSON non-parsable
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:50 +01:00
c1c728f2a3
Global: Convert IPv4/IPv6 from char to numbers/binary
...
This is done for tables router_ipv6 and router_netif.
This is not done for table gw_netif (contains subnet masks).
This requires changes to the MySQL database!
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:50 +01:00
bc3460f2e0
Global: Change MAC address storage to use BIGINT
...
This requires changes to the MySQL database!
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-23 13:14:41 +01:00
2a7d58413d
gwinfo: Fix greps for IPv4/IPv6/dnsmasq (v1.4.1)
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:43:49 +01:00
ea7f0ed199
map: Show hood borders in different colors
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:41:46 +01:00
9ea489da74
map: Fix capitalization of hood names
...
Previously, hood names were reformatted to have only the first
letter capitalized. Now, we just take the names as they are.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:41:09 +01:00
e7d68398e2
statistics.html: Remove trailing whitespace
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:40:20 +01:00
478c0fb8dd
gwinfo: Support internal IPv4/IPv6 and DHCP ranges (v1.4)
...
This updates gwinfo script AND evaluation code.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:37:30 +01:00
fe4136167a
sendgwinfo: Multi-URL, https and default batctl (v1.3)
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:35:52 +01:00
24c64f5605
graph.js: Enable additional parameters for plots
...
This makes the applications of the affected plots more versatile
and thus reduces the need for duplicate code.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:33:58 +01:00
49cb6673d7
router.html: Rephrase option to report router
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:32:28 +01:00
ef3b4d78fa
config.py: Decreased netif stats to 10 days
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:31:57 +01:00
05fda04ccd
user_list: Fix not counting router for mixed-case mail adresses
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:31:44 +01:00
d3c8a7a64d
uwsgi: Suppress logging every request
...
Errors (Status 4xx/5xx) will still be logged.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:30:58 +01:00
4bfe42bb67
map: Indicate WAN uplink with white center in dots
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-11-22 18:30:22 +01:00
79bada38bb
Changelog: Update
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:11:07 +02:00
d779b10778
config.py: Use dedicated folder for log files
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:10:16 +02:00
e46380eb50
config.py: Wait 15 minutes before offline status
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:10:16 +02:00
c7ebe21caa
config.py: Adjust gw stats collection (only 1 day)
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:10:16 +02:00
7a03e43c3b
config.py: Adjust netif stats collection (14 days every 5 min)
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:10:16 +02:00
339eaee9a5
scripts: Redirect cron output to log only
...
This prevents information sent via e-mail.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:10:15 +02:00
cf3517d9d2
api/alfred: Fix check for existing router and delete fragments
...
The router id "router_id" is only evaluated based on the
router_netif table. If the corresponding entry in the router
table is missing, an error occurs.
To deal with that, we now use the "olddata" variable for ifs,
which is initialized based on the router table. If nothing is
found there, we trigger delete_router to get rid of fragments
in other tables.
The latter is necessary, as we identify routers by MAC addresses
and thus old entries will keep to be a problem if just a new
entry is added to router_netif.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:10:15 +02:00
6d492a3a25
api/alfred: Support Babel neighbor IP address inside tag
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:10:15 +02:00
c01a3017a2
api/alfred: Support loadavg5
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:10:15 +02:00
Dominik Heidler
22df21dc7e
router.html: Improve readability of selected mesh network devs
...
Signed-off-by: Dominik Heidler <dominik@heidler.eu>
2018-07-03 14:10:15 +02:00
323a3a000c
api/alfred: Improve retrieval of L3 mac address from IPv6
...
Thanks to Fabian Blaese.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:10:15 +02:00
b1eacf5f0a
maptools: Always use "best" connection for link color
...
This is much easier to maintain and prevents from having a
wrong average if e.g. w2mesh and w5mesh are present, but only
the better one is used.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:10:15 +02:00
c155dbef6e
map/router.html: Show neighbor links in black
...
This improves contrast to the background
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 14:10:08 +02:00
166cad518a
map/router.html: Indicate ethernet mesh connections by color
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 13:49:41 +02:00
3034fd9e2c
maptools: Treat case of multiple neighbor interfaces correctly
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 13:46:30 +02:00
f6e9aec960
init_db: Add missing gw tables
...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2018-07-03 13:45:40 +02:00