Oliver Gerlich
cdd003bd4c
map: display node as "offline" only if both ping and respondd replies are missing
...
If node is reachable both by ping and respondd, node is now displayed as up.
If one of ping or respondd is down, node is displayed in "warning" state.
2019-07-03 15:53:27 +02:00
Martin/Geno
f3bb60dd38
fix wifi5 also
2019-07-01 17:28:52 +02:00
Oliver Gerlich
695bdc8a14
Update runtime/node_ssh.go: fix format string
...
Co-Authored-By: genofire <geno+dev@fireorbit.de>
2019-07-01 17:23:06 +02:00
Oliver Gerlich
f9625dfdaa
don't restart wifi after changing offline SSID
...
Co-Authored-By: genofire <geno+dev@fireorbit.de>
2019-07-01 17:18:30 +02:00
Oliver Gerlich
4d030892b5
node_ssh.go: add node hostname to offline-SSID
2019-07-01 15:59:37 +02:00
Martin/Geno
8751d401d3
support postgresql
2019-06-29 03:13:08 +02:00
Martin/Geno
d372718264
show error message on database connect
2019-06-29 03:08:01 +02:00
Martin/Geno
2620713e1a
fix misspelling
2019-06-23 03:02:29 +02:00
Martin/Geno
536999d094
fix gitlab ci
2019-06-23 02:52:17 +02:00
Martin/Geno
97e0095602
relativ leaflet files
2019-06-23 02:04:47 +02:00
Martin/Geno
1b9b5662fb
fix to use relativ path
2019-06-23 01:09:54 +02:00
Oliver Gerlich
850d841eb4
README: document setcap command (necessary for pinger)
2019-06-23 00:05:49 +02:00
Martin/Geno
ecf2383927
Frontend pinger
2019-06-23 00:05:49 +02:00
Martin/Geno
f2bcfe014c
change logger library
2019-06-23 00:05:49 +02:00
Martin/Geno
44ee0234fa
[BUGFIX] add TimeFilter to Node
2019-06-23 00:05:49 +02:00
Martin/Geno
63087001d3
[BUGFIX] store lastseen and not forward respondd of blacklisted nodes to websocket
2019-06-23 00:05:49 +02:00
Martin/Geno
b27c452fab
update dependency
2019-06-23 00:05:49 +02:00
Martin/Geno
83319163d7
show ping status in map by node color
2019-06-23 00:05:49 +02:00
Martin/Geno
0db00ad76e
frontend store data from pinger
2019-06-23 00:05:49 +02:00
Martin/Geno
4f346355d4
make pinger every,timeout and count configurable
2019-06-23 00:05:49 +02:00
Martin/Geno
aa2917b1a0
Add backend pinger
2019-06-23 00:05:49 +02:00
Martin/Geno
eddae7806f
ci load golang depens where needed
2019-06-05 19:09:58 +02:00
Oliver Gerlich
60bc6049b9
Improve docs, and add tool for sending example data ( #16 )
...
* config_example.conf: add documentation
* README.md: add more technical details
* add respondd-sim.py script, for sending test data back to FFMan
Also add some setup/usage notes for the script.
The respondd-sim.py script is based on the respondd.py script from
https://github.com/ffnord/mesh-announce .
2019-06-04 20:47:08 +02:00
Martin/Geno
e063fa2e12
add gitlab-ci build
2019-06-03 16:42:30 +02:00
Martin/Geno
f597f29f72
fix tests after change in yanic
2019-06-03 16:42:29 +02:00
Martin/Geno
77278ca130
[BUGFIX] session_init before auth_status
2018-09-01 17:46:51 +02:00
Martin/Geno
b92c33b10e
[BUGFIX] session check
2018-08-30 10:26:23 +02:00
Martin/Geno
3a887ec1c5
add websockettype ping
2018-08-24 23:44:26 +02:00
Martin/Geno
832c30fa26
update websocket + handle settings in session
2018-08-24 23:34:02 +02:00
Martin/Geno
a198abb8d0
enhanced session
2018-08-11 12:36:21 +02:00
Martin/Geno
88d7e53cdb
use frequency of airtime to get channel
...
to get real/current used values
+ fix naming
2018-08-11 12:34:19 +02:00
Martin/Geno
57955f30e3
[BUGFIX] do not decode lastseen
2018-08-10 19:48:34 +02:00
Martin/Geno
b5989710e8
use duration for blacklist
2018-08-10 18:58:53 +02:00
Martin/Geno
df5a229fc8
merge json message to one node message
2018-08-10 16:47:34 +02:00
Martin/Geno
a641a162a0
[BUGFIX] boolean in example config
2018-08-10 11:55:10 +02:00
Geno
861531712c
[TASK] rewrite table ( #10 )
2018-08-10 11:52:46 +02:00
Martin/Geno
7c5d117784
use dropdown for channel selection
2018-08-03 09:13:23 +02:00
Martin/Geno
58d843ae7e
fix some issues on connect
2018-08-03 09:13:22 +02:00
Martin/Geno
9fbdd5a798
fix node equal check (location)
2018-08-03 09:13:20 +02:00
Martin/Geno
21c398ca42
sql rewrite
2018-08-03 09:13:12 +02:00
Martin/Geno
50a109dee0
split mutex in List,Current and Read,Write
2018-07-25 09:51:57 +02:00
Martin/Geno
f631ac057b
add ssh timeout and ip prefix filter
2018-07-24 15:07:26 +02:00
Oliver Gerlich
0a9c10666a
status box: turn pulsing animation into 1-second blinking, to reduce CPU load
...
With the pulsing animation (which appears when the websocket connection is
down) the CPU load and GPU load goes up, which probably also uses up lots
of battery time.
2018-07-22 21:58:18 +02:00
Oliver Gerlich
444d80f77e
map: save list of enabled layers in localStorage
2018-07-22 21:56:00 +02:00
Oliver Gerlich
f02b047f9a
map: fix exception when enabling Clients layers
...
The layer data array must not contain "null" entries.
2018-07-22 21:47:26 +02:00
Oliver Gerlich
668ba59b8d
node page: ask for confirmation before resetting node location
2018-07-22 21:47:20 +02:00
Oliver Gerlich
bd7b9c10aa
node page: add "Reset Location" button, to unset node location
...
This can be helpful if the node was placed far away (eg. due to IP-based
geolocation).
2018-07-22 21:47:11 +02:00
Oliver Gerlich
d95b41315c
node page: don't display "undefined" if node has never been saved yet
2018-07-22 21:46:43 +02:00
Oliver Gerlich
2cc533c481
node page: display map correctly also if node doesn't have location info
2018-07-22 21:46:29 +02:00
Oliver Gerlich
d7e98625e2
node: don't show "Start follow position" button at all if browser does not support navigator.geolocation
2018-07-22 21:46:22 +02:00