aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Add basic collector-implementationKristian Lyngstol2019-02-13-4/+132
| | | | | | | | | | | | | | | References #195 This is the first dumb-ass implementation of the collector-api. It actually works fine for write AS IS, but has 0 safties. But I'm thinking the API itself is reasonably stable and ready for testing. I will need to extend it for dhcp-specific stuff, and the plan is to create a secondary table with metadata (hidden from the user) and a few other nice things. Also, indexes. We need indexes. Obviously.
* Front + api: Fix parsing of JSON-fields for switchesKristian Lyngstol2019-02-13-38/+34
| | | | | | | | | | | | | | | | | | | | | | | Sort of. It's two issues at once, related: 1. API: The problem here was that the old way of updating tags simply didn't use actual JSON, but just sent "'foo','bar','baz'" as a text string. This seems dumb so I've made it send actual JSON now - just like the "placement" field. This meant updating the API. And it's not pretty, but it works. 2. Front: I've simplified nms-types a bit (hopefully to provide to simple methods: either get/set the raw value, or get/set strings. There was a bug where we sent text-encoded json instead of real json, and the reason was a confusion between when we're dealing with JSON and when we're dealing with strings. Now we are explicit. This makes the nmsEditRow-thing slightly uglier, but it needs to be fixed properly either way. In the future, we should provide renderers and editors based on types, e.g.: Placement-editor could start as a general-purpose JSON-editor, and the "switch reference" should be a drop-down.... etc. Fixes #202
* front: Tweak legacy info-box size....Kristian Lyngstol2019-02-11-2/+2
| | | | God I hate this...
* front: Switch editing: Don't nest panel-body elementsKristian Lyngstol2019-02-11-1/+1
| | | | It creates an extra margin that serves no purpose but to take up space.
* Merge branch 'master' of github.com:gathering/gondulKristian Lyngstol2019-02-11-2/+2
|\
| * Update INSTALLING.rstLasse Haugen2019-02-11-1/+1
| |
| * changed to the correct repoLasse Haugen2019-02-05-1/+1
| |
* | front: Update switch-moving to use correct APIKristian Lyngstol2019-02-11-1/+1
|/
* VCL/Varnish: Rewrite/order varnish VCLKristian Lyngstol2019-02-04-43/+126
|
* Merge branch 'master' of github.com:tech-server/gondulKristian Lyngstol2019-01-29-167/+420
|\
| * gondul-receiver: Emphasise the limitations of the first implementationKristian Lyngstol2019-01-24-0/+3
| |
| * docs/gondul-receiver.rst: Minor style fixesKristian Lyngstol2019-01-24-9/+8
| |
| * Minor tweaks on gondul-git-splitKristian Lyngstol2019-01-24-12/+10
| |
| * Add gondul-receiver.rst docKristian Lyngstol2019-01-24-0/+183
| |
| * Markdown editsSimen Linderud2019-01-23-0/+4
| |
| * Add document for git-splitKristian Lyngstol2019-01-23-0/+60
| | | | | | | | | | | | Bah, forgot to use English. Use google translate if you so require.
| * 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
| |/
* / js front: Add missing file and minor tweakKristian Lyngstol2019-01-29-0/+60
|/
* 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...