aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Merge pull request #200 from Foxboron/foxboron/template-rewriteKristian Lyngstøl2019-01-23-105/+85
|\ | | | | Added slight rewrite of template webserver
| * Removed `PUT` from `POST` methodMorten Linderud2019-01-22-1/+1
| | | | | | | | | | Although nice to have, this isn't compatible with the implementation of the web service.
| * Added python 3.5 compatible string formattingMorten Linderud2019-01-22-5/+5
| |
| * Added slight rewrite of template webserverMorten Linderud2019-01-21-105/+85
|/ | | | | | Moved to flask for more "free" things. Possibly easier to extend in the future. Added argparser so we are able to define settings from the command line.
* Use ::1 instead of localhost to avoid multiple IPsKristian Lyngstol2019-01-21-2/+2
| | | | Fixes #193
* Merge pull request #194 from lasseh/masterSimen Linderud2019-01-19-64/+72
|\ | | | | Update ansible play for Debian 9
| * Moved git install before git pullLasse Haugen2019-01-19-7/+7
| |
| * change to apt moduleLasse Haugen2019-01-14-7/+7
| |
| * Install basic packagesLasse Haugen2019-01-14-0/+9
| |
| * newline fixLasse Haugen2019-01-14-1/+1
| |
| * some ansible-lint fixesLasse Haugen2019-01-14-10/+19
| |
| * Change to new ansible styleLasse Haugen2019-01-14-36/+33
| |
| * Removed dupicatesLasse Haugen2019-01-14-3/+0
| |
| * Merge branch 'master' of github.com:tech-server/gondulLasse Haugen2019-01-14-0/+18
| |\ | |/ |/|
* | Merge pull request #192 from slinderud/postgres-ansible-bugKristian Lyngstøl2019-01-14-0/+18
|\ \ | | | | | | Fixes ansible and postgres user premission error
| * | Fixed ansible postgres bugslinderud2019-01-13-0/+18
|/ /
| * Change to new ansible styleLasse Haugen2019-01-14-5/+1
| |
| * changed to 9.6Lasse Haugen2019-01-13-5/+5
| |
| * Update to debian9Lasse Haugen2019-01-13-6/+6
|/
* front: Implement new network/switch and moreKristian Lyngstol2019-01-12-337/+137
| | | | | | | | | | | | | | | Fixes #183 References #182 It's now possible to add new networks and switches, and it's also possible to edit networks, but since I haven't exposed it in the UI yet, I can't really close the bug. This is also a major step in stripping nms-info-box apart. Next up is listing existing networks, possibly linking to them. I think that might be a decent first-step towards a new core nms-info-box since it doesn't alreay exist.
* Move the info summary in the info-box into nmsBox-logicKristian Lyngstol2019-01-11-37/+21
| | | | | | | Also some other random drive-by fixes :D Fixes #180 References #181
* Expose validation and "changed or not" to end userKristian Lyngstol2019-01-09-156/+64
| | | | | | | Starting to look seeeexy. Also killed off some redundant stuff that should be covered by templates instead now.
* Fix switch-deletion in frontend after misspellKristian Lyngstol2019-01-09-2/+2
|
* Move switch-editing further away from nms-info-boxKristian Lyngstol2019-01-09-42/+38
| | | | Still needs to be tidied up, but we're getting there.
* Expose new-style edit-stuff in old-style panelKristian Lyngstol2019-01-09-164/+84
| | | | | | | | | | | The integration is a hack, but a first step. I will eventually remove all the code in nms-info-box, but I needed a simple test. This also demonstrates how to add a new switch.... simply hit edit, then change the name. It aint pretty, and shouldn't work like it does today, but it's a decent example. Also, had to fix the backend again now that I actually tested the write-api :D
* Fix switch-edit-thing after I changed nms-ui-boxKristian Lyngstol2019-01-09-11/+8
|
* Re-introduce the use-name-box and tweak styleKristian Lyngstol2019-01-08-21/+38
| | | | | | Turns out the style-diff was because the old implementation with hard-coded HTML had indentation == white space, which rendered as white-space between the elements.... This SHOULD be a CSS fix, but in the meanwhile....
* 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
|
* Fix placement/style of mini-oplogKristian Lyngstol2019-01-07-2/+3
|
* 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-129/+337
| | | | | 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/+257
| | | | | | | | | | | | | | | | | | | | | | | 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-24/+349
| | | | | | | | | | | | | | | | | | | | | | | | | | 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...
* api/ping: remove linknet stuff (again)Kristian Lyngstol2019-01-06-6/+0
| | | | | This hasn't really been used and will probably be reimplemented before it would be used. Thus removed.
* 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/+7
|\ \ | | | | | | 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/+7
| | |
* | | Merge pull request #173 from Koch/patch-1Kristian Lyngstøl2019-01-03-1/+1
|\ \ \ | | | | | | | | seceral -> several
| * | | seceral -> severalAlexander Koch2018-11-12-1/+1
| | |/ | |/|
* | | Update schemaKristian Lyngstol2019-01-03-158/+203
| | |
* | | First step to major cleanupKristian Lyngstol2019-01-03-281/+116
| | | | | | | | | | | | | | | | | | | | | | | | 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-46/+35
| | |
* | | front: Time replay: Speed it upKristian Lyngstol2018-12-02-3/+3
| | |