Commit Graph

385 Commits

Author SHA1 Message Date
Xaver Maierhofer
5162946fca [TASK] Format load average 2016-05-24 23:26:46 +02:00
Xaver Maierhofer
5d84a328bd [TASK] Remove unsupported stats 2016-05-24 23:21:46 +02:00
Xaver Maierhofer
2e45276922 [TASK] Only add german language from numeral.js 2016-05-24 09:45:34 +02:00
Xaver Maierhofer
ba15956bb7 [TASK] Unicode instead of utf8 icons 2016-05-24 00:22:34 +02:00
Xaver Maierhofer
32ea88c65a [TASK] Replace all specialchars in NODE_NAME in stat urls 2016-05-23 00:50:48 +02:00
Xaver Maierhofer
aa9416ed9b [TASK] CGL - Optimize returns and unnecessary math 2016-05-22 23:32:31 +02:00
Xaver Maierhofer
f716966eaa [TASK] Change source url 2016-05-22 23:09:46 +02:00
Marvin W
fa9a29e0fa [TASK] Dynamically select maxLayerZoom
Fixes clients/names being hidden accidentally (in certain conditions). Also added auto-zoom-out to ensure zoom is in bounds
2016-05-22 21:49:34 +02:00
Xaver Maierhofer
b27ae7e8da [TASK] Context menu/right click open layermenu 2016-05-22 16:40:04 +02:00
Xaver Maierhofer
f571864e98 [TASK] Update bower components 2016-05-22 16:06:12 +02:00
Xaver Maierhofer
7bee4d9640 [TASK] Only include additional german locale
English is default
2016-05-22 16:03:45 +02:00
Xaver Maierhofer
c878e0de97 [TASK] Use own iconfont set
Reduce overhead in initial load
2016-05-22 16:03:36 +02:00
Xaver Maierhofer
a828a55d51 [TASK] Reformat code spacing & remove braces jslint 2016-05-22 16:01:24 +02:00
Xaver Maierhofer
c0726461fb [TASK] Add semicolon
Most code is writen with semicolon and IDE shows errors in nearly every line
2016-05-22 16:01:15 +02:00
Marvin W
9719385076 map: dynamically select maxLayerZoom (#27)
Fixes clients/names being hidden accidentally (in certain conditions). Also added auto-zoom-out to ensure zoom is in bounds
2016-05-22 12:30:31 +02:00
Milan Pässler
81379a8263 meshstats: fix NaN client count 2016-05-22 00:26:36 +02:00
Xaver Maierhofer
31d1464805 clean scss (#21)
* [TASK] CGL - Formation

* [TASK] Generic font fallback

* [TASK] Remove swp file
2016-05-19 17:47:32 +02:00
PetaByteBoy // Milan Pässler
075076a2fe infobox/*infos: fix iframe height option 2016-04-24 20:10:53 +02:00
Milan Pässler
2f28c51da1 forcegraph, main: l2tp support 2016-04-24 01:20:01 +02:00
Milan Pässler
2a78af4208 proportions: correct use of online vs all nodes 2016-04-22 01:05:32 +02:00
anoy
8497a5f833 reimplement feature 'encoded url' (#16)
change symbol names for better readability
beautify location-sidebar
cleanup sourcecode

* change symbols to unicode-names

* reimplement feature 'encoded url'
2016-04-21 22:34:21 +02:00
Marvin W
51c1c57e48 Save selected layer in local storage (#17) 2016-04-21 22:32:22 +02:00
anoy
31545c758d infobox/location: beautify location-sidebar
and cleanup sourcecode
2016-04-02 22:47:57 +02:00
PetaByteBoy // Milan Pässler
5fce722f24 Merge pull request #12 from yayachiken/master
Fixed client-dots and labels not showing on zoom levels >= 19
2016-03-28 23:30:58 +02:00
Milan Pässler
08e00d4b91 infobox/node: nodeinfos {NODE_NAME} support 2016-03-28 22:58:45 +02:00
PetaByteBoy // Milan Pässler
1f07f50530 Merge pull request #13 from yayachiken/new-stats-patch
stats: Fix inaccuracies if lat or long is missing
2016-03-24 13:05:12 +01:00
David Kolossa
40dd7d2a0a stats: Fix inaccuracies if lat or long is missing
* please also note that freifunk-gluon/gluon#703 exists.
2016-03-24 00:46:42 +01:00
PetaByteBoy // Milan Pässler
54801ded8f Merge pull request #11 from eberhab/master
Added support for iframes in config
2016-03-23 13:42:27 +01:00
Benjamin
961a18fec4 infobox: added support for iframes 2016-03-23 13:41:02 +01:00
David Kolossa
78de449b88 map: fixed display errors on high zoom levels
* client dots and labels only showed up on zoom
  levels up to 18
2016-03-23 13:14:58 +01:00
PetaByteBoy // Milan Pässler
f8701ca0e3 Merge pull request #9 from viisauksena/patch-1
patch: allow hiding of statistic elements and add cients/gw statistics
2016-03-22 17:42:59 +01:00
viisauksena
fc2a1e3872 proportions: allow hiding of statistics and add gateway client statistics
Update proportions.js: enable onclick hiding of Statistics <H2> and add clients per GW <H2>
hiding works by clicking on H2 element, so you can have the overview you like
[need to add some hidden line in scss/main.scss also]
clients per GW is based on nodes.json and the offered clientcount by the nodes directly (so this is only rough idea of reality, for alfred this means extra timedifferences upto 30 minutes)

update main.scss: to allow hiding of statistics element
add this to allow statistics element hiding

use consistent var table and dict Names
change gwTable and gwDict (and gw2 ...) to
gwNodes and gwClients
2016-03-22 04:52:16 +01:00
ffggrz.de
8d22417789 added fixed center option
added option to fix the map on a specific coordinate
2016-03-16 00:39:09 +01:00
Milan Pässler
2eace51bfe add configurable linkinfos 2016-03-08 20:01:38 +01:00
Milan Pässler
a7c18b3a0a infobox/node: eliminate duplicate 'vor' 2016-03-05 14:21:33 +01:00
Milan Pässler
2e414cd5b8 infobox/node: unseen status orange 2016-03-05 13:48:49 +01:00
Milan Pässler
8d4cc87994 main: unseen nodes are online 2016-03-05 13:48:49 +01:00
Milan Pässler
f7bc41dcec infobox/node: lastseen proper quantity 2016-03-05 13:48:49 +01:00
Milan Pässler
309878d607 forcegraph: partially revert 'draw unseen nodes orange' 2016-03-05 13:48:44 +01:00
Milan Pässler
4c8b2c03c6 infobox/location: fix uci commands 2016-03-03 20:00:18 +01:00
Milan Pässler
593a96e07e infobox/node: more detailed lastseen 2016-03-02 22:34:35 +01:00
Milan Pässler
24987f4963 forcegraph: draw unseen nodes orange 2016-03-02 21:55:44 +01:00
Milan Pässler
23ded77089 infobox/location: more detailed command 2016-03-02 10:45:41 +01:00
Milan Pässler
c541f5b721 main: fix missing location error 2016-03-01 19:50:14 +01:00
Milan Pässler
2e823a90c8 nodefilter: filter unknown nodes 2016-02-28 01:27:00 +01:00
Milan Pässler
97a00b6925 forcegraph: show links with unknown nodes 2016-02-27 14:43:47 +01:00
Milan Pässler
9f48cb1f3b location: remove debug prints
also some style corrections
2016-02-25 21:38:01 +01:00
Milan Pässler
273d0d5d23 infobox/location: show uci in one box 2016-02-25 21:15:28 +01:00
Milan Pässler
8758c04a29 infobox/node: always show lastseen
also change loadavg name
2016-02-25 21:00:05 +01:00
Moorviper
85fcdee20c Location Picker - show on sidebar
data is now represented at sidebar
2016-02-25 20:05:36 +01:00
Moorviper
115d9abab9 Location Picker
Both
Rightclick and Button
with higher precision
2016-02-25 18:15:24 +01:00
Moorviper
32b919dca7 INFOBOX - Show Offline since in Sidebar
Shows the date and time since the node is offline
2016-02-25 18:15:11 +01:00
Moorviper
e385ac73ad INFOBOX - add maybe annouced weblink to sitebar
Add annouced Weblinks to Webpages/Services

As example
alias.json

"pages": [
      "https://kuechenfunk.fffd"
    ]

How it looks like :

http://picpaste.com/pics/Bildschirmfoto_2016-02-25_um_14.49.33-GV9DnX33.1456408206.png
2016-02-25 18:14:58 +01:00
Moorviper
2dc989ab63 INFOBOX - Show Load avg at sidebar
Show the average load in the sidebar

under a load 1.0 it is colored green
above its red
2016-02-25 18:14:30 +01:00
Milan Pässler
6aab7aec7d main: fix meshlinks counter 2016-02-20 10:56:07 +01:00
Milan Pässler
92de127bed main: reverse link sorting 2016-02-18 21:46:05 +00:00
Milan Pässler
f321867482 map: don't hide cable links 2016-02-18 20:55:19 +00:00
Milan Pässler
6ee0d02b7b cleanup and fix things 2016-02-18 19:47:12 +00:00
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