Commit Graph

417 Commits

Author SHA1 Message Date
Nils Schneider
8aa738b035 map: show clients 2015-04-17 01:02:56 +02:00
Nils Schneider
9317346dfe forcegraph: partially revert framerate limiting 2015-04-16 21:02:11 +02:00
Nils Schneider
ef7f60179a forcegraph: limit framerate 2015-04-16 20:35:42 +02:00
Nils Schneider
a3f473a6df forcegraph: redraw using requestAnimationFrame 2015-04-16 20:21:38 +02:00
Nils Schneider
70d78e3742 forcegraph: backport client circles from ffmap-d3 2015-04-16 20:16:49 +02:00
Nils Schneider
4c97886039 forcegraph: get rid of shadow svg 2015-04-16 01:29:17 +02:00
Nils Schneider
58cd7ad026 map: adding custom layers 2015-04-15 22:25:44 +02:00
Nils Schneider
a0120221ae button for adding tile layer 2015-04-15 21:14:52 +02:00
Nils Schneider
0758614688 leaflet providers 2015-04-15 21:14:51 +02:00
Nils Schneider
95a0f8974b sidebar: reduce breakpoint to 630pt, reduce width to 320pt 2015-04-15 15:28:21 +02:00
Nils Schneider
a4fdf39352 infobox: show node_id (and update changelog) 2015-04-14 23:52:35 +02:00
Nils Schneider
dde828934e nodelist: fix uptime sorting 2015-04-12 23:23:15 +02:00
Nils Schneider
2fcce92bce map: hide vpn links 2015-04-12 23:09:43 +02:00
Nils Schneider
2c944224e3 map: locate user and show marker 2015-04-12 02:47:52 +02:00
Nils Schneider
6f546bf823 add CHANGELOG.md 2015-04-11 20:18:47 +02:00
Nils Schneider
2cbea6dc20 change LICENSE to AGPL 3 2015-04-11 13:40:15 +02:00
Nils Schneider
4e2e61f3c6 forcegraph: when highlighting links, also highlight nodes 2015-04-11 01:28:01 +02:00
Nils Schneider
7ebc4c5571 forcegraph: hidpi rendering of labels 2015-04-11 01:18:46 +02:00
Nils Schneider
c0ab6b7406 forcegraph: fix rendering on hidpi devices 2015-04-11 00:53:35 +02:00
Nils Schneider
a6ad9f928a forcegraph: pre-render label 2015-04-11 00:30:36 +02:00
Nils Schneider
09e760f4d0 forcegraph: unknownNodes, optimize clearing 2015-04-10 21:53:40 +02:00
Nils Schneider
cc88109271 forcegraph: convert to canvas 2015-04-10 20:47:11 +02:00
Nils Schneider
eb735c8c52 forcegraph: calculate linksDict/nodesDict indepently of d3 2015-04-10 15:19:42 +02:00
Nils Schneider
020ab2aef5 forcegraph: add labels 2015-04-10 13:50:39 +02:00
Nils Schneider
ab9ac94014 map: make new/lost nodes a little more pronounced 2015-04-08 10:58:05 +02:00
Nils Schneider
74e640f899 forcegraph: fix links losing nodes 2015-04-08 01:21:52 +02:00
Nils Schneider
03d0c5488f forcemap: fix clicking on links 2015-04-08 01:12:30 +02:00
Nils Schneider
653bbcd873 about: GPL 3 is actually used instead of 2 2015-04-08 00:27:12 +02:00
Nils Schneider
1c896d08f7 about box 2015-04-07 22:07:53 +02:00
Nils Schneider
c734975a3b check nodes and graph version 2015-04-07 21:10:37 +02:00
Nils Schneider
88bc4aafc5 nodelist/linklist: sortable tables 2015-04-07 17:41:17 +02:00
Nils Schneider
aae9d4253e fixes 2015-04-06 23:15:09 +02:00
Nils Schneider
290bc6f359 map: keep objects highlighted on updates 2015-04-06 23:13:00 +02:00
Nils Schneider
d9084fa462 forcegraph: keep objects highlighted on updates 2015-04-06 23:12:37 +02:00
Nils Schneider
d6e0587c55 work on forcegraph reload 2015-04-06 23:12:04 +02:00
Nils Schneider
0490455ccf handle multiple setData calls in map 2015-04-06 23:10:55 +02:00
Nils Schneider
0a0b8bd065 removeContent: also remove from dataTargets 2015-04-06 23:10:55 +02:00
Nils Schneider
c4383aabb9 make proportions.setData idempotent 2015-04-06 23:10:55 +02:00
Nils Schneider
d3bbf6060e make nodelist.setData idempotent 2015-04-06 23:10:54 +02:00
Nils Schneider
7ddfbd964c make linklist.setData idempotent 2015-04-06 23:10:54 +02:00
Nils Schneider
7b57a2245b make meshstats, simplenodelist setData idempotent 2015-04-06 23:10:54 +02:00
Nils Schneider
389291e585 make linkId a property (id) of link 2015-04-06 23:10:37 +02:00
Nils Schneider
315484625b map: set initial view based on barycenter and standard deviation 2015-04-06 15:54:26 +02:00
Nils Schneider
11c689eb29 map: group* is a property of instance, not class 2015-04-06 15:04:41 +02:00
Nils Schneider
3b75f01ccd set document.title on router events 2015-04-05 23:46:12 +02:00
Nils Schneider
6c862182f5 config: introduce siteName 2015-04-05 22:29:29 +02:00
Nils Schneider
ff19d0cf8e sidebar styling 2015-04-04 18:01:57 +02:00
Nils Schneider
8de28b903b enhance sidebar and content styling
- 3 sidebar variations (margin, no margin, below content)
  depending on screen size
- scrolling sidebar will scroll document (more space on mobile devices)
- wrap map/graph on div.content
2015-04-02 04:17:35 +02:00
Nils Schneider
141e98f027 replace Intl.NumberFormat with numeraljs 2015-04-02 02:33:17 +02:00
Nils Schneider
534f7bbed4 forcegraph: set size based on diameter 2015-04-01 18:22:20 +02:00
Nils Schneider
aa237c2380 forcegraph: test for localStorage before using it 2015-04-01 16:00:20 +02:00
Nils Schneider
eb315ab60a forcegraph: remove labels 2015-04-01 04:01:25 +02:00
Nils Schneider
a8bb1b40a2 add forcegraph to gui 2015-04-01 03:55:45 +02:00
Nils Schneider
3b21b49a0d forcegraph: linkStrength = 1 / tq 2015-04-01 01:07:40 +02:00
Nils Schneider
05386f0772 forcegraph: store nodeposition in localstorage 2015-04-01 01:06:53 +02:00
Nils Schneider
6cb6af2401 forcegraph: fit graph on resetView 2015-04-01 00:06:17 +02:00
Nils Schneider
0780a83dd2 forcegraph: do not animate pan/zoom on first router event 2015-03-31 23:45:32 +02:00
Nils Schneider
473734f2bb prepare router, forcegraph, map for destroy/reload 2015-03-31 23:26:38 +02:00
Nils Schneider
625e7ba880 router: add removeTarget 2015-03-31 22:18:11 +02:00
Nils Schneider
980187193f make eslint happy 2015-03-31 21:31:06 +02:00
Nils Schneider
48147eb417 forcegraph: reset zoom on resetView 2015-03-31 21:29:47 +02:00
Nils Schneider
d2fe76f736 pan/zoom in forcelayout 2015-03-31 21:18:06 +02:00
Nils Schneider
706bc2c1fc sidebar: width is 0 when hidden 2015-03-31 20:32:47 +02:00
Nils Schneider
c6f17e8a89 catch error in promise 2015-03-31 18:51:35 +02:00
Nils Schneider
4b076ab3b9 add forcegraph 2015-03-31 17:33:39 +02:00
Nils Schneider
b8a9ac9a26 wrap links/nodes in graph 2015-03-31 17:21:58 +02:00
Nils Schneider
3c3cb4047d router: be a little more robust 2015-03-31 16:30:16 +02:00
Nils Schneider
60d6f8921a handle node and link IDs with special characters 2015-03-31 15:13:11 +02:00
Nils Schneider
af3d22e4c2 drop chartjs 2015-03-30 21:02:18 +02:00
Nils Schneider
1f8cb5203e make eslint happier 2015-03-30 03:20:43 +02:00
Nils Schneider
c4db68b31f statistics: selected gateway 2015-03-30 03:12:30 +02:00
Nils Schneider
35c4690ad6 statistics 2015-03-30 02:58:47 +02:00
Nils Schneider
33bd730576 refactor tabs 2015-03-29 21:44:05 +02:00
Nils Schneider
eded0eb19c move GUI to its own module 2015-03-29 20:34:58 +02:00
Nils Schneider
61a58f11bc refactor main 2015-03-29 19:38:50 +02:00
Nils Schneider
7006f5174a fix router 2015-03-29 19:36:52 +02:00
Nils Schneider
f4719be133 fix timezone handling 2015-03-29 19:10:24 +02:00
Nils Schneider
f1512a6ed7 generalize setData/dataTargets 2015-03-29 17:54:43 +02:00
Nils Schneider
a031ac336d refactor setData 2015-03-29 17:49:31 +02:00
Nils Schneider
3e143435e6 make eslint happy 2015-03-29 16:14:10 +02:00
Nils Schneider
3a501766ff refactor main, app 2015-03-29 04:35:20 +02:00
Nils Schneider
056c46331d load helper.js using requirejs 2015-03-29 04:26:23 +02:00
Nils Schneider
5651c605de handle most dependencies using requirejs 2015-03-29 03:35:10 +02:00
Nils Schneider
d5552840a9 manage dependencies using bower 2015-03-29 01:09:21 +01:00
Nils Schneider
3b77d1230b load config using requirejs 2015-03-29 00:38:51 +01:00
Nils Schneider
519612ca9d add Intl shim 2015-03-29 00:00:49 +01:00
Nils Schneider
f5dbd56a70 refactor router 2015-03-27 22:28:32 +01:00
Nils Schneider
40ecf2641e refactor map.js, show all offline nodes 2015-03-26 13:51:08 +01:00
Nils Schneider
ccd4b1652b nodelist: show only uptime and clientcount 2015-03-26 13:19:11 +01:00
Nils Schneider
a773b8323a reparent meshstats to overview 2015-03-26 13:18:55 +01:00
Nils Schneider
1b65918e74 typo 2015-03-26 02:00:36 +01:00
Nils Schneider
6f5d047a71 nodelist: change h2 to "Alle Knoten" 2015-03-26 01:36:23 +01:00
Nils Schneider
c6f8b5e8e4 nodelist: sort by hostname 2015-03-26 01:33:09 +01:00
Nils Schneider
ad56296a83 add nodelist 2015-03-26 01:31:46 +01:00
Nils Schneider
7cc653f20a infobox: add autoupdater state 2015-03-26 00:44:44 +01:00
Nils Schneider
368ca5e14a simple tabs 2015-03-26 00:33:11 +01:00
Nils Schneider
090254c781 main.js: create only after data is ready 2015-03-25 21:19:52 +01:00
Nils Schneider
64c9e42eb4 meshstats: show absolute timestamp 2015-03-25 21:15:06 +01:00
Nils Schneider
5b352d7a32 refactor main.js 2015-03-25 21:12:03 +01:00
Nils Schneider
c79dff9111 fix loadState 2015-03-25 21:02:03 +01:00
Nils Schneider
1e6e868bfb refactor router 2015-03-25 20:55:49 +01:00
Nils Schneider
26f6936d39 move Router to its own module 2015-03-25 20:25:53 +01:00
Nils Schneider
265cb2e5eb rename gotoAnything to router 2015-03-25 20:25:17 +01:00
Nils Schneider
a2669373a0 more refactoring 2015-03-25 16:36:24 +01:00
Nils Schneider
a935c765c4 refactor nodeslists into simplenodelist 2015-03-25 16:28:36 +01:00
Nils Schneider
33bcb23cc1 refactor linklist to its own module 2015-03-25 16:04:23 +01:00
Nils Schneider
0a90cdb76c more refactoring (sidebar, meshstats) 2015-03-25 15:33:36 +01:00
Nils Schneider
2c57cff27f don't push history on initial reset() 2015-03-25 15:07:43 +01:00
Nils Schneider
efca0d98be rename history.js to main.js 2015-03-25 11:36:46 +01:00
Nils Schneider
5fb3cf5d20 refactor Infobox (own module) 2015-03-25 11:21:09 +01:00
Nils Schneider
648a8336d7 re-introduce blinking iconAlert 2015-03-25 10:29:41 +01:00
Nils Schneider
8a2300578a resetView 2015-03-25 02:50:28 +01:00
Nils Schneider
14d86c06af marker highlighting 2015-03-25 02:15:17 +01:00
Nils Schneider
52434ff06c leaflet.label 2015-03-25 02:14:56 +01:00
Nils Schneider
090b6c1d79 use circleMarkers again 2015-03-25 01:27:55 +01:00
Nils Schneider
0c74ddec8f introduce gotoTargets on map 2015-03-25 01:16:15 +01:00
Nils Schneider
8184e5f625 initial requirejs work (map-module) 2015-03-25 00:55:15 +01:00