aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-map.js
Commit message (Collapse)AuthorAgeLines
* Fix numerous time-travel issues in front and APIKristian Lyngstol2016-05-28-1/+13
| | | | | | | | | | | | | | | | | Fixes #69 #11 #5 Introduces nmsTime which unifies the time travel code a bit. It still needs some work, but this is much better. All conversion is now done by native JavaScript methods, freeing us from the hell that is parsing it ourself. One thing should be added: The backend should discard any now=values that are not 5-minute intervals. We don't want to kill the cache and the database by extension. Still need to re-implement the "replay event" shorthand, but that ties in to #54
* Front: introduce nmsColor namespaceKristian Lyngstol2016-05-22-9/+9
| | | | | | Also gets rid of color_from_latency() (?) as it was basically worthless by now, and adds switch info to the combo-map so you can quickly identify why a switch is colored a certain way without clicking on it.
* Add rudimentary way of providing linknets.Kristian Lyngstol2016-05-20-1/+1
| | | | Needs a lot of work, including the API side, possibly also the schema.
* Actual initial importKristian Lyngstol2016-04-12-0/+590
Fetched from tgmanage.