Commit graph

56 commits

Author SHA1 Message Date
Xaver Maierhofer 9987e443f7 [TASK] Use strict 2017-03-21 22:53:36 +01:00
Milan Pässler 173674c2a1 [!!!][TASK] Use eslint default 2017-03-21 22:53:35 +01:00
Xaver Maierhofer c451775021 [TASK] Remove tablesort number
No complex different styled numbers need to be sorted
2017-03-21 22:53:35 +01:00
Xaver Maierhofer fe3ba88887 [TASK] Replace numeraljs with toFixed vanilla js 2017-03-21 22:53:35 +01:00
Xaver Maierhofer 6908e2953f [TASK] Format load average 2017-03-21 22:53:35 +01:00
Xaver Maierhofer d367bf58bf [TASK] Unicode instead of utf8 icons 2017-03-21 22:53:35 +01:00
Xaver Maierhofer 7f3a86596a [TASK] Replace all specialchars in NODE_NAME in stat urls 2017-03-21 22:53:34 +01:00
Xaver Maierhofer f7f5744a78 [TASK] Update bower components 2017-03-21 22:53:34 +01:00
Xaver Maierhofer 0a22ed5e6f [TASK] Only include additional german locale
English is default
2017-03-21 22:53:34 +01:00
Milan Pässler eb4c7a04b0 change code style to ffrgb/meshviewer fork 2017-03-21 22:53:34 +01:00
Milan Paessler b2c2627d73 infobox: fix error when gateway could not be resolved 2017-02-14 21:33:36 +01:00
Marvin W 5cb88e8d06 Use server side resolving only, add proper support for nexthop resolving (#81)
* Revert "Use resolved data if gateway was already resolved (#78)"

This reverts commit 44bb8e9d3d.

* Revert "proportions: lookup gateway name"

This reverts commit 94662cb3dc.

* Revert "infobox/node: change mac used to lookup nodes"

This reverts commit 2ca2604403.

* Revert "infobox/node: resolve nexthop and gateway from data"

This reverts commit 9e7049c9e3.

* Resolve nexthop full chain if possible

requires hopglass/hopglass-server#79

* Correctly handle sidecase when nodes on route report inconsistent gateway
2017-01-07 18:43:04 +01:00
Marvin W 44bb8e9d3d Use resolved data if gateway was already resolved (#78)
This is now very dirty, I think the old approach was better (although it requires a server side change)
2016-12-10 11:45:21 +01:00
Milan Pssler 2ca2604403 infobox/node: change mac used to lookup nodes 2016-11-19 10:57:24 +01:00
Milan Paessler 0171ebe7e1 infobox/node: non-clickable mac adresses should be black 2016-11-19 02:27:21 +01:00
Milan Paessler 9e7049c9e3 infobox/node: resolve nexthop and gateway from data
not perfect yet: the mac address doesn't always match
2016-11-19 02:17:08 +01:00
Milan Paessler 7d145141c1 infobox/node: handle unknown model when showing router img 2016-11-19 02:05:28 +01:00
Milan Pssler 7eb0675be0 fix meshclients for orange nodes 2016-11-06 17:13:22 +01:00
Milan Pssler 1641bc2437 router pics hopglass changes
- don't use display block on the table, instead make the close button
  position absolute
- show the old style heading when no source is defined
- clean up the indention and some small things
2016-11-06 00:11:49 +01:00
Moorviper 84aee48229 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-11-05 23:03:46 +01:00
Daniel Krah 808b8c1986 Count Clients in a Mesh (#61)
This functions count all clients in a meshcloud.

It count over wireless and cable links not over VPN links via l2tp or fastd.
2016-11-05 21:24:38 +01:00
Marvin W cb065d8d07 Fully resolve gateway names in hopglass (#57)
Depends on hopglass/hopglass-server#56
2016-08-05 19:47:25 +02:00
Daniel Krah 07d5e3f636 check IPv4/IPv6 (#56) 2016-07-23 14:52:49 +00:00
codedust cfd778dadb Fix number of decimal places being displayed in the CPU load bar (#54) 2016-07-23 14:49:35 +00:00
Milan Paessler 8f7b1e15ce Revert "Router pics (#37)"
This reverts commit 8435885e5c.
2016-07-04 12:45:19 +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
Milan Pässler 08e00d4b91 infobox/node: nodeinfos {NODE_NAME} support 2016-03-28 22:58:45 +02:00
Benjamin 961a18fec4 infobox: added support for iframes 2016-03-23 13:41:02 +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 f7bc41dcec infobox/node: lastseen proper quantity 2016-03-05 13:48:49 +01:00
Milan Pässler 593a96e07e infobox/node: more detailed lastseen 2016-03-02 22:34:35 +01:00
Milan Pässler 97a00b6925 forcegraph: show links with unknown nodes 2016-02-27 14:43:47 +01:00
Milan Pässler 8758c04a29 infobox/node: always show lastseen
also change loadavg name
2016-02-25 21:00:05 +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 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 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
PetaByteBoy 80afc7d162 statistics: re-add "Gateway-Feature"
revert commit c13e648cc6.
2016-02-06 03:24:06 +01:00
Nils Schneider c13e648cc6 remove "Gateway-Feature" 2015-09-04 14:47:23 +02:00
Nils Schneider cc3d591bd0 infobox/node: move status to attributes table 2015-07-07 01:00:30 +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
Nils Schneider a4fdf39352 infobox: show node_id (and update changelog) 2015-04-14 23:52:35 +02:00