aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
Commit message (Collapse)AuthorAgeLines
* Tweak the oplog-hover-thingKristian Lyngstol2019-01-07-2/+7
| | | | | The timeout makes things about 1000x more complicated, but adds a really nice effect too.
* Auto-hilight systems on oplog-hoverKristian Lyngstol2019-01-07-5/+24
|
* Re-enable oplog-togglingKristian Lyngstol2019-01-07-1/+1
|
* Bad attempt at fixing the margins in the oplog-entryKristian Lyngstol2019-01-07-5/+5
| | | | Too late, need sleeeezpzpeepzor
* More big stuff: Re-do the oplogKristian Lyngstol2019-01-07-117/+336
| | | | | This is still a bit of a mess, but I'm establishing a new way of doing things, it'll be awesome, I swear...
* Extenstive frontend work on box/type/switch editingKristian Lyngstol2019-01-06-45/+256
| | | | | | | | | | | | | | | | | | | | | | | Still not very visible, but the nmsModSwitch() class is starting to look very interesting. This introduces a big thing: A type system. So far it is "only" used to provide generic validation-services for all fields that will be edited, but the scope can extend further into other uses. The implementation as it is does shallow validation for IP addresses, JSON-input (tags,placement), durations/intervals (poll frequency), sysname references (checks that distro_name is a valid system), and networks (verifying that mgmt_vlan / traffic_vlan exists). This is expected to improve over time, and should eventually lead to things like "if it doesn't exist, then please make it." As the big comment in nms-ui-switch.js now suggests: This is still just a proof of concept and while the fundamental concepts of nmsBox seems to work well, I still feel like I have a lot to iron out in nmsModSwitch, which really should be generic for networks and switches at the very least. But we're getting there.
* Introduce nms-ui-boxes, a big step for GUIKristian Lyngstol2019-01-06-21/+340
| | | | | | | | | | | | | | | | | | | | | | | | | | nmsBox is a new class for generic HTML-based elements, and will eventually be used to replace nms-info-box. The idea is simple: a generic way to deal with containers that are usually represented in HTML too. To test it, I've re-implemented the GUI for the oplog. This rewrite didn't really utilize the new benefits of the framework, but was a small step. I've also added nms-ui-switch, which isn't exposed anywhere yet and isn't done, but is a good start. nms-ui-switch will be the new way to add and edit switches in the future, it will probably be made more generic over time and thus can be reused for networks too. Note how x = nmsUiSwitch() will allow you to do x.row["community"].value to both get and set the value, and setting will visually update and run any verifier that will be relevant, and alert the parent. This can then be used for simple stuff like json-verification, but also for stuff like auto-complete or whatnot. God only knows. Obviously I will continue to work on this over the next few days...
* js: Trigger a map-resize when menu is toggledKristian Lyngstol2019-01-05-0/+16
| | | | Fixes #71
* Merge pull request #172 from olemathias/masterKristian Lyngstøl2019-01-03-373/+382
|\ | | | | Cleanup of latencychart
| * Code formating cleanup of chart and 1 hour latency chartOle Mathias Aa. Heggem2018-10-31-360/+344
| |
| * Code formating cleanup of chart and 1 hour latency chartOle Mathias Aa. Heggem2018-10-31-179/+179
| |
| * Cleanup of latencychartOle Mathias Aa. Heggem2018-09-14-17/+42
| |
* | Merge pull request #169 from tech-server/cpu-map-hotkeyKristian Lyngstøl2019-01-03-0/+3
|\ \ | | | | | | Adding CPU map to key 9, moving disco to 0
| * | Adding CPU map to key 9, moving disco to 0cpu-map-hotkeyMagnus Kirø2018-04-06-0/+3
| | |
* | | First step to major cleanupKristian Lyngstol2019-01-03-32/+71
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #150 Fixe #88 Closes #3 Probably lots of bugs introduced, will fix ASAP.
* | | Remove noisy log message from nms-map-handlersKristian Lyngstol2019-01-02-3/+8
| | |
* | | Tweak general lookKristian Lyngstol2019-01-02-26/+28
| | |
* | | front: Time replay: Speed it upKristian Lyngstol2018-12-02-3/+3
| | |
* | | nms.js: Add time-traveling in whole days with H/L keysKristian Lyngstol2018-12-02-0/+8
| | |
* | | front: Tweak format of time stamp during travelKristian Lyngstol2018-12-02-1/+2
| | | | | | | | | | | | | | | Seeing the day helps immensly, and the rather ugly translate-code avoids overlap
* | | front: Adjust new dhcp-magic to be less agressiveKristian Lyngstol2018-12-02-1/+1
| |/ |/|
* | front: Shortcut for toggling the oplog (o)Kristian Lyngstol2018-04-09-0/+15
| |
* | Merge pull request #171 from sklirg/patch-3Kristian Lyngstøl2018-04-06-1/+1
|\ \ | | | | | | Set Client ports description to "None configured" if no configured client ports
| * | Set Client ports description to "None configured" if no configured client ports.Håkon Solbjørg2018-03-30-1/+1
| |/ | | | | This fixes a bug where "Client ports" value could be "0 / NaN" if no client ports were configured.
* | Merge pull request #170 from sklirg/patch-1Kristian Lyngstøl2018-04-06-1/+1
|\ \ | | | | | | Make health view the default view.
| * | Make health view the default view.Håkon Solbjørg2018-03-29-1/+1
| |/
* | Ignore chart failures to reduce log noiseKristian Lyngstol2018-04-04-53/+56
| |
* | Tweak DHCP/uplink/client-port logicKristian Lyngstol2018-04-04-8/+32
| |
* | Fix replay for TG18 and in generalKristian Lyngstol2018-04-04-10/+29
| |
* | Throw TG18-stuff over the wallroot2018-03-31-16/+161
| |
* | Mange dager med rot på TG18root2018-03-26-15/+16
| |
* | Hide community be defaultOle Mathias Heggem2018-03-22-0/+5
| |
* | Commit diverse av Ole Mathias sitt template-greierroot2018-03-22-29/+47
|/
* Merge branch 'master' of github.com:tech-server/gondulroot2018-03-21-21/+262
|\
| * Merge pull request #168 from olemathias/network-firstclassKristian Lyngstøl2018-03-21-21/+262
| |\ | | | | | | Network as own table
| | * Merge branch 'master' into network-firstclassOle Mathias Aa. Heggem2018-03-21-18/+93
| | |\
| | * | Making network first class citizenOle Mathias Aa. Heggem2018-01-28-1/+1
| | | |
| | * | Making network first class citizenOle Mathias Aa. Heggem2018-01-28-21/+262
| | | | | | | | | | | | | | | | Still work in progress
* | | | js/health: Tweak criticality of rebootroot2018-03-21-3/+3
|/ / /
* | / Make health-map defaultroot2018-03-21-3/+3
| |/ |/|
* | Color tweak to latency chartOle Mathias Aa. Heggem2018-03-18-5/+11
| |
* | latencyChart autoupdateOle Mathias Aa. Heggem2018-03-17-8/+27
| |
* | Added support for delete switchesOle Mathias Aa. Heggem2018-03-17-4/+30
| |
* | Small change to latency chartOle Mathias Aa. Heggem2018-03-17-1/+6
| |
* | Added a litle better color scheme to charts and some words about securing influxOle Mathias Aa. Heggem2018-03-17-5/+24
|/
* Merge pull request #166 from sjurtf/masterKristian Lyngstøl2017-12-27-3/+6
|\ | | | | Added support to calculate uptime in days
| * Added support to calculate uptime in daysSjur Fredriksen2017-11-12-3/+6
| |
* | Merge pull request #164 from msbone/influxKristian Lyngstøl2017-12-27-21/+374
|\ \ | |/ |/| InfluxDB, charting and a few fixes to Ansible
| * A few typosOle Mathias Aa. Heggem2017-11-06-1/+2
| |
| * influx/chart and ansibleOle Mathias Aa. Heggem2017-11-05-22/+374
| |