Commit Graph

75 Commits

Author SHA1 Message Date
dependabot[bot] 2aac33038e
Bump path-parse from 1.0.6 to 1.0.7 in /webroot (#29)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-11 13:13:07 +02:00
dependabot[bot] b11748acd4
Bump hosted-git-info from 2.8.8 to 2.8.9 in /webroot (#28)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-05 11:08:48 +02:00
dependabot[bot] 67b357b5d4
Bump y18n from 3.2.1 to 3.2.2 in /webroot (#27)
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-05 11:08:25 +02:00
dependabot[bot] 3ff5c463fc
Bump elliptic from 6.5.3 to 6.5.4 in /webroot (#26)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-05 11:08:11 +02:00
dependabot[bot] 650b17669d
Bump ini from 1.3.5 to 1.3.7 in /webroot
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-11 08:32:27 +00:00
dependabot[bot] a538e9157c Bump elliptic from 6.5.2 to 6.5.3 in /webroot
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-31 10:57:23 +02:00
genofire ddfbfb7adc Bump webclient versions 2020-05-18 00:22:48 +02:00
dependabot[bot] 0bbee96ab7 Bump jquery from 3.4.1 to 3.5.0 in /webroot
Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-05-04 13:38:31 +02:00
dependabot[bot] 7259f1004e Bump acorn from 5.7.3 to 5.7.4 in /webroot
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-15 08:36:58 +01:00
Martin/Geno f1194afefe
update webroot depenecies 2019-07-14 02:20:51 +02:00
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 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
Martin/Geno ecf2383927 Frontend pinger 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 77278ca130
[BUGFIX] session_init before auth_status 2018-09-01 17:46:51 +02:00
Martin/Geno 832c30fa26
update websocket + handle settings in session 2018-08-24 23:34:02 +02:00
Martin/Geno df5a229fc8
merge json message to one node message 2018-08-10 16:47:34 +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 21c398ca42
sql rewrite 2018-08-03 09:13:12 +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
Oliver Gerlich 3a18da51c8 menu: remove logo
It doesn't provide any functionality, and it uses up valuable screen space
on a phone screen.
2018-07-22 21:45:41 +02:00
Oliver Gerlich bd7cef3f00 socket: don't notify user on every failed connection attempt
Only notify user if the websocket connection was already established and is
now closed.
2018-07-22 21:45:36 +02:00
Oliver Gerlich 2fca4b49fe fix exception in list.renderView() introduced by adding debouncer.run()
Use arrow function to keep "this" at the same value it has in render().
2018-07-19 22:48:40 +02:00
Oliver Gerlich e77e94ef85 list perf: limit list to 20 nodes by default
Also add links to bottom of list to select how many nodes shall be
displayed, and store the selection in localStorage.

The shorter list has much better performance. A long list is not really
useful anyway; rather let the user filter/sort it to display interesting
nodes only.
2018-07-19 02:00:39 +02:00
Oliver Gerlich 885b3232c3 move debouncing logic to separate Debouncer class, and use it for list view
While the normal GUI is re-rendered at most every 100 msec, the list is
re-rendered at most every second (since it is very expensive to render).
2018-07-19 01:51:21 +02:00
Oliver Gerlich 67dd56d71d call render() again after render bouncer timer has elapsed
This is necessary so that the GUI really shows the latest data from server
after the timer has elapsed.

Also add some other minor fixes.
2018-07-19 01:51:21 +02:00
Martin/Geno ba1045aacd render bouncer 2018-07-19 01:51:21 +02:00
Martin/Geno af80ade82b
Disable notification of successful node update 2018-07-17 23:37:03 +02:00
Oliver Gerlich b97ac6ea43 node page: display GPS coordinates next to toggle button 2018-07-17 22:51:41 +02:00
Oliver Gerlich fb0f2f054d node page: some fixes for GPS-following
- rename storePosition to gpsPosition
- don't check for btnGPS.innerHTML contents (this is fragile); check for
  this.gpsPosition instead
- fix call to updatePosition() when clicking "Stop following"
2018-07-17 22:51:41 +02:00
Oliver Gerlich ad7cc8d0aa node page: fix bug if navigator.geolocation.watchPosition() returns 0 as id 2018-07-17 22:51:41 +02:00
Oliver Gerlich 7f498b4a6e node page: set node details (hostname/owner etc.) also if location is unknown 2018-07-17 22:51:41 +02:00
Oliver Gerlich b3b8d1f53f menu: rename "Statistics" to "Stats" to save some space on phone screens 2018-07-17 22:36:32 +02:00
Oliver Gerlich 043e7225fd list perf: use documentFragment to add all rows to table in one operation 2018-07-17 22:31:29 +02:00
Oliver Gerlich 66d8951ad9 list perf: use textContent instead of innerHTML 2018-07-17 22:31:29 +02:00
Oliver Gerlich 10a717f558 list: fix exception when typing in list filter fields 2018-07-17 22:31:29 +02:00
Martin/Geno 485ecc13c6
default channel on create node + send callback 2018-07-15 22:47:05 +02:00
Martin/Geno 63f77d87c7
fix statistics channel view 2018-07-15 21:55:31 +02:00