Commit Graph

61 Commits

Author SHA1 Message Date
Oliver Gerlich cbd87c85c8 list perf: use textContent instead of innerHTML 2018-07-16 23:05:36 +02:00
Oliver Gerlich c7b051e73b list perf: re-render list at most once per second
This should at least keep the browser somewhat usable even if lots of
updates are received from server.
2018-07-16 23:05:36 +02:00
Oliver Gerlich 1c6c8b0e02 menu: rename "Statistics" to "Stats" to save some space on phone screens 2018-07-16 23:05:36 +02:00
Oliver Gerlich 780fce0fc8 node page: display GPS coordinates next to toggle button 2018-07-16 23:05:36 +02:00
Oliver Gerlich 7c60ebddf5 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-16 23:05:36 +02:00
Oliver Gerlich b7f07ccbe0 node page: fix bug if navigator.geolocation.watchPosition() returns 0 as id 2018-07-16 23:05:36 +02:00
Oliver Gerlich cf80198928 node page: set node details (hostname/owner etc.) also if location is unknown 2018-07-16 23:05:32 +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
Oliver Gerlich cd511dce8e web: rework store.js and interaction with view/node.js
- store.getNode() no longer adds new node to the list
- instead, store.createNode() can be used to create an empty new node
- view/node.js now now transfer a local copy of the node object it wants to
  modify, rather then modifying the real object from store.list. If the
  change is accepted by server, the server will send the new values for the
  changed object anyway.

Previously, if the user visited the node page for a nonexistent node but
didn't make any changes, the list view would always throw an exception
because an incomplete node object was contained in the list.
2018-07-15 21:51:11 +02:00
Martin/Geno 393caf55f8
announce useable channels + fix tests 2018-07-15 21:04:37 +02:00
Martin/Geno ca1835fcac
switch channel by ubus -> without restart 2018-07-15 20:00:18 +02:00
Martin/Geno 82270e6fa3
cleanup and migrate to newer libraries (use NEW Javascript env) + add secret 2018-06-30 17:22:20 +02:00
Martin/Geno a86ac56b75
cleanup 2018-06-30 01:58:09 +02:00
Martin Geno 37cf186d32
add micro controller for clients - right interface 2017-07-08 20:04:13 +02:00
Martin Geno a683b6b1ac
mux fix 2017-07-08 19:24:08 +02:00
Martin Geno c477cfabc6
ssh exit code to debug 2017-07-08 18:50:46 +02:00
Martin Geno c704b08d5c
add micro controller for clients 2017-07-08 18:42:03 +02:00
Martin Geno c28a14010d
enable updater + some mutex 2017-07-07 10:06:26 +02:00
Martin Geno 87a2f08c85
Fix ssh commands for wifi 2017-07-06 19:08:37 +02:00
Martin Geno 17ccb2c4ff
channel used stats 2017-07-06 14:25:24 +02:00
Martin Geno b921e6cdee
fix some nil basic on connect 2017-07-06 12:17:10 +02:00
Martin Geno fbd01cf7ab
mux on ssh 2017-07-06 09:57:25 +02:00
Martin Geno 3540b638f6
fix ssh update 2017-07-06 09:17:19 +02:00
Martin Geno 1a7989a24e
ssh update on connect + web: define unseen before offline 2017-07-06 08:54:27 +02:00
Martin Geno e02273e0ef
[TASK] autoselect https websocket (wss) 2017-07-01 02:10:56 +02:00
Martin Geno 75f3bae1f4
[BUGFIX] update vendor 2017-06-30 22:39:06 +02:00
Geno f9e219ba20 Create LICENSE.md 2017-06-13 00:49:42 +02:00
Martin Geno d4ef66028d
[TASK] logo 2017-05-30 22:49:16 +02:00
Martin Geno 3b74ddbf6a
[BUGFIX] consoleView 2017-05-30 18:56:52 +02:00
Martin Geno 7aa5896c4f
[TASK] add console to backend 2017-05-30 16:39:14 +02:00
Martin Geno 2e5873a541
[TASK] add consoleView 2017-05-30 15:36:51 +02:00
Martin Geno 6046e7dd95
[TASK] add ssh List for handling result of everywhere run 2017-05-30 11:17:16 +02:00
Martin Geno f3e9b6c0db
[TASK] add functions to listView + allow unlearn nodes 2017-05-30 02:16:46 +02:00
Martin Geno f48aaf3236
[TASK] add hostname to nodeView 2017-05-29 23:39:49 +02:00
Martin Geno 75ffdbeefe
[TASK] add tests for webserver (for coveralls) 2017-05-29 23:04:29 +02:00
Martin Geno c82a07d3fe
[TASK] extract lib package 2017-05-29 22:55:38 +02:00
Martin Geno 376afc7494
[TASK] add vendor for yanic client 2017-05-29 22:37:44 +02:00
Martin Geno c1d9386698
[TASK] use yanic client from package 2017-05-29 22:28:24 +02:00
Martin Geno 9439c7285a
[TASK] config location for breminale 2017-05-19 21:14:44 +02:00
Martin Geno a4045b50a6
eslint all (with some exludes) 2017-05-16 19:25:09 +02:00
Martin Geno d3fcd7f232
eslint 2017-05-16 16:27:35 +02:00
Martin Geno 2e2142b155
[TASK] add geojson support 2017-05-16 08:38:31 +02:00
Martin Geno e2774c3880
[TASK] add position editing of node 2017-05-16 01:29:16 +02:00
Martin Geno 7a4a6c66e9
add stats + map 2017-05-15 22:41:06 +02:00
Martin Geno 2a5ab5c1f5
[TASK] add temporary blacklist 2017-05-14 10:13:58 +02:00
Martin Geno b190bd43c4
[TASK] nice list 2017-05-14 09:41:40 +02:00
Martin Geno ac87050fa0
[TASK] add tablesort and routing 2017-05-11 20:30:22 +02:00
Martin Geno 3e1242c5cf
[TASK] frontend improve notify run without gui 2017-05-09 18:05:55 +02:00
Martin Geno 85ba20ba4f
[TASK] switch to own freifunk bremen themen 2017-05-09 17:45:16 +02:00