Commit graph

495 commits

Author SHA1 Message Date
eberhab 2844a203d5 iframe width relates to sidebar width (#44) 2016-07-04 11:00:43 +02:00
Marvin W 1b332508a0 Shorten device name in sidebar stats (#46)
This way, version codes on TP-Link devices and processor names are visible
2016-07-04 10:58:26 +02:00
Moorviper 8435885e5c Router pics (#37)
* add a padding to sidebar for better use on mobile devices

* allow other things as text in attributeEntry

Now it is possible to use pictures and other stuff in this function

* Show Router-Pic with double fallback

3 Möglichkeiten
1. in config wird externe Quelle angegeben
2. wenn nicht wird in ./nodes/ geseucht
3. ansonsten Knotenname + Knotenname in erster Zeile

extern via:
cdn

"hwImg": [
  { "thumbnail": "https://cdn.rawgit.com/Moorviper/meshviewer_hwpics/master/nodes/{MODELHASH}.svg",
    "caption": "Knoten {MODELHASH}"
  }
 ]

aktueller nicht cdn:
"hwImg": [
  { "thumbnail": "https://rawgit.com/Moorviper/meshviewer_hwpics/master/nodes/{MODELHASH}.svg",
    "caption": "Knoten {MODELHASH}"
  }
 ]
2016-07-04 10:57:04 +02:00
eberhab f80ea1ca8f infobox: added wifi channel, airtime and batctl nexthop (#38)
* infobox: added wifi channel, airtime and batctl nexthop

* simplify

* kill all semicolons

* update data locations

I'd suggest that channel information go under nodeinfo. Airtime and nexthop are changing variables which should go under statistics.

* filter out nodes with faulty nodeinfo

* additional nexthop key

The nexthop to the batman gateway has now been made available in gluon master where it will be called "gateway_nexthop" the "nexthop" key is also currently in use and should eventually be removed

* sidebar/node: cosmetic changes to gateway/nexthop

* remove data validity check

* move wifi helper function to sidebar/node

* cosmetics
2016-06-08 23:23:56 +02:00
Johannes Rudolph 2bbdd1e077 main: filter duplicate nodes from different data sources
* add jquery

* filter duplicate nodes by online state

* remove old stuff

* remove debug output

* remove curly braces
2016-06-05 22:55:26 +02:00
Moritz 2da97bca16 meshstats: show offline nodes (#39) 2016-06-03 00:43:08 +02:00
Milan Paessler 4c6ba69dd3 meshstats: don't count undefined as gateway 2016-06-02 23:17:06 +02:00
Milan Pässler 93355f28ba meshstats: dynamic gateway count 2016-06-02 22:44:42 +02:00
Xaver Maierhofer 1bcd2b797d remove obsolete Gemfile (#28) 2016-05-22 18:18:07 +02:00
Xaver Maierhofer 3971c36250 add .editorconfig (#25) 2016-05-22 12:30:44 +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
Marvin W 20f0f08de3 Replace MapQuest with OpenStreetMap.HOT in example config (#26)
MapQuest Open Tiles service is announced to be discontinued and already started removing tiles at the highest zoom level. MapQuest provides a replacement service requiring custom javascript code to be injected, which I don't consider a good idea.
OpenStreetMap.HOT is a OpenStreetMap map style using pastel colours and thus is lot better than Mapnik for rendering stuff on it.
2016-05-22 03:12:08 +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
Xaver Maierhofer e1e510c308 use libsass (#22)
Avoid ruby dependency
2016-05-19 17:47:13 +02:00
PetaByteBoy // Milan Pässler ce8853c0fa fix examples 2016-05-09 18:17:45 +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
eberhab bc7e7888a5 helper: str replace function should replace all instances of placeholder 2016-04-20 14:04:46 +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
PetaByteBoy // Milan Pässler d1e28192b1 Merge pull request #10 from ffggrz/master
added option to fix the map on a specific coordinate
2016-03-16 13:28:58 +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 11a157c58a readme: add linkinfos 2016-03-08 20:07:20 +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