Commit Graph

377 Commits

Author SHA1 Message Date
Milan Pässler
f77aabd37d redo link type handling 2016-02-18 19:26:05 +00:00
Milan Pässler
3a7cc2bbc5 infobox/node: move direction indicator to own column 2016-02-18 17:42:42 +00:00
Milan Pässler
1cb22c45f5 main: sort links by tq 2016-02-18 16:48:35 +00:00
Milan Pässler
f354a6fbc7 infobox: handle directional links 2016-02-18 16:38:36 +00:00
Milan Pässler
d13b032b61 infobox/node: show chosen gateway 2016-02-18 15:58:28 +00:00
Milan Pässler
fa9a16defb infobox, nodelist: rename neighbours to links 2016-02-06 07:26:03 +01:00
PetaByteBoy
80967c6259 statistics: site code statistics
configurable and documented!
2016-02-06 03:25:09 +01:00
Milan Pässler
c0ab7afa15 nodelist: show number of neighbours 2016-02-06 03:24:50 +01:00
PetaByteBoy
80afc7d162 statistics: re-add "Gateway-Feature"
revert commit c13e648cc6.
2016-02-06 03:24:06 +01:00
Milan Pässler
1e74f319ef statistics: uplink statistics 2016-02-06 03:23:58 +01:00
Milan Pässler
956b2a4d76 Merge commit '8f634b4ba2b2c2ebb3d6337ad3df1270e7fd8328' 2016-02-06 02:50:11 +01:00
Milan Pässler
6d6cb72f37 forcegraph: mark uplink nodes 2016-02-06 00:45:09 +01:00
Milan Pässler
5708b63873 main: support multiple data sources 2016-02-06 00:38:53 +01:00
Milan Pässler
5da5623bf1 rebranding
fix build
2016-02-06 00:38:50 +01:00
Jonas Platte
6fbc531c17 map: fix coord picker on first click 2016-01-11 23:22:37 +01:00
Jörg Deckert
f9e8c72508 map: add coordinates picker 2015-12-18 22:44:30 +01:00
Nils Schneider
8f634b4ba2 gui: use two datadistributors, one for filtered data 2015-09-04 15:06:25 +02:00
Nils Schneider
653a329698 filters: combine filters first 2015-09-04 15:06:24 +02:00
Nils Schneider
036b6d6099 genericnode: show negation in label 2015-09-04 15:06:24 +02:00
Nils Schneider
caf8383b6f filters: negation, styling 2015-09-04 15:06:24 +02:00
Nils Schneider
09bdb7d61a basic filter support 2015-09-04 15:06:24 +02:00
Nils Schneider
aeae866998 proportions: sort firmware based on version 2015-09-04 15:01:27 +02:00
Nils Schneider
5a278f5b86 about: update source code URL to github/ffnord 2015-09-04 14:59:46 +02:00
Nils Schneider
9a0b5ac672 update to nodes.json version 2 2015-09-04 14:58:10 +02:00
Jan-Philipp Litza
db7f005dd2 legend: drop full stops and optically center circles vertically 2015-09-04 14:47:24 +02:00
Florian Rittmeier
37c5dba449 added simple node status legend 2015-09-04 14:47:24 +02:00
Steffen Möller
13c640beb8 Introducing adaptive numerus for clients and gateways 2015-09-04 14:47:24 +02:00
Nils Schneider
22e2c6d3c5 forcegraph: node shadow hi-dpi fix 2015-09-04 14:47:24 +02:00
Nils Schneider
8b10d2ec10 forcegraph: tweaks 2015-09-04 14:47:23 +02:00
Nils Schneider
ca0d3bd47d forcegraph: dropshadows behind nodes 2015-09-04 14:47:23 +02:00
Nils Schneider
dc5e364803 forcegraph: draw labels ontop of everything else 2015-09-04 14:47:23 +02:00
Nils Schneider
76fb29d5d8 forcegraph: just clear the whole canvas 2015-09-04 14:47:23 +02:00
Nils Schneider
c13e648cc6 remove "Gateway-Feature" 2015-09-04 14:47:23 +02:00
Nils Schneider
ca8ce8392f forcegraph: draw clients above everything else 2015-09-04 14:47:23 +02:00
Nils Schneider
7fdb6c7e21 forcegraph: more visible highlight 2015-09-04 14:47:23 +02:00
Nils Schneider
8e1e698849 forcegraph: use setTransform instead of resetTransform 2015-09-04 14:47:23 +02:00
Nils Schneider
d3cad446b4 about.js: update link to source code 2015-09-04 14:26:28 +02:00
Nils Schneider
8423ef7277 Revert "tabs: do not open tabs by default"
This reverts commit 0b56e0f407829d3f85f3a73a8ec982511c40889b.
2015-09-04 14:26:28 +02:00
Nils Schneider
eb8f1dd2a4 map/graph: redraw on render 2015-09-04 14:26:28 +02:00
Nils Schneider
a95f466f3f map/graph: implement render 2015-09-04 14:26:28 +02:00
Nils Schneider
9a950a2a8e map/graph: use sidebar.getWidth directly 2015-09-04 14:26:28 +02:00
Nils Schneider
93ca06ab75 map/labels: show less labels on lower zoom levels 2015-09-04 14:26:28 +02:00
Nils Schneider
f6516a6807 forcegraph: increase visibility of unknown nodes 2015-09-04 14:26:28 +02:00
Nils Schneider
071bf43268 meshstats: typo 2015-09-04 14:26:08 +02:00
Nils Schneider
3c77af5ced meshstats: show number of new and lost nodes 2015-09-04 14:23:46 +02:00
Nils Schneider
3eabb5f351 tabs: do not open tabs by default 2015-09-04 14:23:46 +02:00
Nils Schneider
27752b2270 gui: add header to sidebar 2015-09-04 14:23:45 +02:00
Nils Schneider
68de68fd25 forcegraph: improve dragging of nodes 2015-09-04 14:23:28 +02:00
Nils Schneider
a774b91bc1 meshstats: show siteName 2015-09-04 14:23:28 +02:00
Nils Schneider
ed731f087f proporties: refactor if to ternary 2015-09-04 14:23:12 +02:00
Nils Schneider
301630e47e forcegraph: fix translation of keyboard zoom 2015-09-04 14:22:41 +02:00
Nils Schneider
102c8af873 move config.js to config.json, load by XHR 2015-07-27 16:56:30 +02:00
Nils Schneider
848b5b7384 proportions: add online/offline statistics 2015-07-08 00:30:29 +02:00
Nils Schneider
ec49c9d59b map: various small fixes 2015-07-07 21:42:55 +02:00
Nils Schneider
02a03e5a61 map: work with no or little nodes 2015-07-07 21:28:44 +02:00
Nils Schneider
e67c61d7d3 tabs: render tabs when visible, destroy them when hidden 2015-07-07 17:42:41 +02:00
Nils Schneider
3954ec5eaf map: define layers in config.js 2015-07-07 16:36:19 +02:00
Nils Schneider
f81ee255cc gui: use fixed icon for togglebutton 2015-07-07 12:51:12 +02:00
Nils Schneider
a240bb2f7a forcegraph: new, dark color theme 2015-07-07 12:42:57 +02:00
Nils Schneider
d1beb51868 forcegraph: color theme 4 2015-07-07 11:59:47 +02:00
Nils Schneider
b1d876026b gui: fix map/graph toggle button 2015-07-07 11:31:32 +02:00
Nils Schneider
2d1916be02 forcegraph: fix dragging of nodes 2015-07-07 11:27:19 +02:00
Nils Schneider
160100e6df forcegraph: keyboard zoom using + - 2015-07-07 10:19:38 +02:00
Nils Schneider
144dba319e map: show buttons along content buttons 2015-07-07 01:56:11 +02:00
Nils Schneider
cc3d591bd0 infobox/node: move status to attributes table 2015-07-07 01:00:30 +02:00
Nils Schneider
37c3278ded router: another bugfix 2015-07-07 00:30:35 +02:00
Nils Schneider
2b3605a46e router: another bugfix 2015-07-07 00:20:34 +02:00
Nils Schneider
8bbad8e1d5 router: bugfix 2015-07-07 00:12:42 +02:00
Nils Schneider
b2a90109bb router: ensure currentView is set 2015-07-07 00:10:42 +02:00
Nils Schneider
bc8943abc2 router: save view in state 2015-07-07 00:07:29 +02:00
Nils Schneider
2d1fbba40f router: avoid pushing state twice 2015-07-06 23:12:30 +02:00
Nils Schneider
cc505f4d4a infobox: ensure sidebar box is visible on create 2015-07-06 22:30:45 +02:00
Nils Schneider
e834e2ab94 infobox hides sidebar 2015-07-06 22:27:16 +02:00
Nils Schneider
3abebc8684 map/graph: change color of clients to magenta 2015-07-06 21:21:30 +02:00
Nils Schneider
4d69677ede rework client drawing code 2015-06-27 01:37:36 +02:00
dzzinstant
d170204b31 Fix comparison: if (d.clients === 0) return does nothing 2015-06-27 01:09:04 +02:00
Nils Schneider
2427a19f39 map: show new nodes above lost nodes (match order in labelslayer.js) 2015-06-21 16:07:14 +02:00
Nils Schneider
7f74fff992 Merge pull request #12 from flokli/startAngle
use node_id hash to calculate startAngle for client layer
2015-06-21 15:59:28 +02:00
Neal Oakey
3575e08a40 add statistic about geoinformations 2015-06-19 20:24:41 +02:00
Little-Ben
607c15ef3b statistics: show global statistics image (globalGraph) - v2 2015-06-07 18:47:14 +02:00
kokel
ae931347be meshstats: count and show all nodes (online and offline) 2015-06-04 14:55:48 +02:00
Florian Klink
008a1d0b0b use node_id hash to calculate startAngle for client layer 2015-06-02 17:19:04 +02:00
PetaByteBoy
f38471f299 show router hardware in link info 2015-05-30 12:29:43 +02:00
Nils Schneider
8b21589520 infobox: fix image width of nodeInfo elements 2015-05-21 17:57:02 +02:00
Little.Ben
cbe21ee3df insert statistics image in infobox of node 2015-05-19 21:13:15 +02:00
Leo Krueger
f8df797963 about.js: small adaptions to the license text
to reflect https://www.gnu.org/licenses/agpl-3.0.html#howto
2015-04-29 19:42:48 +02:00
Nils Schneider
115444f1cb config: introduce maxAge setting 2015-04-26 13:12:11 +02:00
Nils Schneider
913f9f70f6 remove contact info from simplenodelist 2015-04-26 11:53:55 +02:00
Nils Schneider
d94ba09b2c forcegraph: always draw VPN links 2015-04-22 23:18:10 +02:00
Nils Schneider
9e51bd78fa forcegraph: grayscale vpn links 2015-04-22 12:37:18 +02:00
Nils Schneider
d8c147a323 forcegraph: ignore clicks on vpn links 2015-04-22 02:44:07 +02:00
Nils Schneider
f65e89aaca proportions: count only values that are present 2015-04-22 01:35:31 +02:00
Nils Schneider
d5a9c52788 map/labels: dynamic labels (zoom levels, sizes) 2015-04-21 16:28:06 +02:00
Nils Schneider
fc921e6c59 map: show clients only from zoom 15 onwards 2015-04-21 16:27:29 +02:00
Nils Schneider
c48f053619 move config.js from lib to root 2015-04-21 00:11:21 +02:00
Nils Schneider
0caaa8f64e forcegraph: set miterLimit for text to 2 2015-04-20 23:31:55 +02:00
Nils Schneider
db3d8fa795 map: place labels without overlaps 2015-04-20 23:13:03 +02:00
Nils Schneider
879c1e6f25 map: store zoom/center instead of bounds 2015-04-19 17:02:43 +02:00
Nils Schneider
ba9cc703d7 map: save bounds on drag end store on resetview 2015-04-19 16:54:35 +02:00
Nils Schneider
72dccaa51c forcegraph: restore last panzoom on resetview 2015-04-19 16:29:22 +02:00
Nils Schneider
3a6d4855a9 nodelist: fix calculation of negative uptime 2015-04-19 13:35:49 +02:00
Nils Schneider
b3c49d01a0 map: fix drawing of clients 2015-04-19 13:05:23 +02:00
Nils Schneider
22b49c1a55 map: draw only labels present on map using rtrees 2015-04-19 12:22:09 +02:00
Nils Schneider
8ff0f789f8 forcegraph: do not use global ctx when preparing labels 2015-04-19 03:46:09 +02:00
Nils Schneider
e36d3b1a6a forcegraph: tickevent is already in animation frame 2015-04-19 02:50:15 +02:00
Nils Schneider
8a09342ab7 forcegraph: show vpn links 2015-04-19 02:16:06 +02:00
Nils Schneider
e09ec32d93 map: show client labels 2015-04-17 23:54:19 +02:00
Nils Schneider
139e3c1a32 map: less obstrusive client color 2015-04-17 23:51:03 +02:00
Nils Schneider
1ed8a56031 map: move clientlayer to lib/map/ 2015-04-17 22:27:24 +02:00
Nils Schneider
b7ab859bea map: fix identation 2015-04-17 22:10:47 +02:00
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