Skip to content

v3.8.0

commit 8a2a8b674ba1ebfc6c53511ab0a3a506b9e942c6
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Apr 12 10:36:09 2018 -0500

    Add Range to the allowed headers.
    Add an http-range-header feature flag.
    Update unit test.

M   frontend/frontend.go
M   frontend/info.go

commit 26823b38b22a670e962b8c9562c8fcb33ecf2c90
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Apr 11 09:27:20 2018 -0500

    Fix broken UEFI feature check for iPXE.

A   midlayer/dhcp-tests/0003-ipxe-uefi-discover/0000.logs-expect
A   midlayer/dhcp-tests/0003-ipxe-uefi-discover/0000.request
A   midlayer/dhcp-tests/0003-ipxe-uefi-discover/0000.response-expect
M   midlayer/dhcp.go

commit e9e3a477f2db8eb0ac2a0599a19d8ff28ea7deec
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Apr 10 15:00:55 2018 -0500

    Fix case where plugin wouldn't stop in a race.

M   midlayer/plugin.go

commit 3bc2e800b130b9fc503cdcb1f156110be9f0978b
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Fri Apr 6 12:01:42 2018 -0500

    Force machines to default to change-stage-v2

M   backend/machines.go

commit a5a0ae7a433fa22e79d034434a4d295cb2ff5edf
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Fri Apr 6 08:57:57 2018 -0500

    Make setting a workflow go ahead and set the machine Stage and BootEnv to the first Stage in the list.

M   backend/machines.go
M   frontend/frontend.go

commit 07cf9c0fe59a7e5c98f7c1af3937121639ec6878
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Apr 3 22:01:12 2018 -0400

    Add ParamAsYAML to the render function set.

    Add unit tests for ParamAsJSON and ParamAsYAML.

M   backend/renderData.go
M   backend/renderData_test.go

commit 7714b3c71fb4ba126e1e2e15e58048f5a7f69eeb
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Tue Apr 3 15:55:20 2018 -0500

    Bootenvs must have a non-empty OS name.

M   backend/bootenv.go

commit 105281b6ee034c27b7712bcb6267262544035127
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Apr 3 08:17:41 2018 -0400

    Put back delayed assest exploding so that the server
    can be started without assets.  Used in testing
    terraform provider.

M   cmds/dr-provision/dr-provision.go
M   embedded/assets.go
M   frontend/frontend.go
M   server/server.go

commit a486c362f5ae59097f75a72e8b773948770c5ae7
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Mar 28 15:32:56 2018 -0500

    When changing a user password, rotate their token secret as well.

M   backend/user.go

commit 8adfaa584a109b8209401595060b6ccf91ab158c
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Tue Mar 27 12:38:56 2018 -0500

    Add a feature flag for the defaultWorkflow pref

M   frontend/info.go

commit e7515e1d0e18a2439eb889030052510e4a315736
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Tue Mar 27 12:31:39 2018 -0500

    Add a defaultWorkflow preference along with unit tests for it.

M   backend/dataTracker.go
M   backend/machines.go
M   backend/preference.go
M   backend/preference_test.go
M   frontend/prefs.go

commit 02306d9101434cbf82c4670aed9c0a12ff56e5df
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Tue Mar 20 09:41:20 2018 -0500

    Fix up machine create auth claim gen to match what the frontend expects

M   frontend/frontend.go

commit 64bbdd37425a340a049d98bbfd25e9c5012200e5
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 26 14:44:11 2018 -0500

    Fix up machines unit tests

M   backend/machines.go

commit 0f73fc0cf653b53fecf65d068b40819072612245
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 26 13:12:49 2018 -0500

    Include Workflows in the generated swagger output

M   server/swagger.base.yml

commit 2b2cacc8da0dd0a47249c608629be35f83cfb6e1
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 26 13:10:20 2018 -0500

    Make rt.Find be able to use unique indexes.

    This ports over the code that frontend.Fetch and frontend.Exists used
    to be able to find items by an index to the backend, allowing all API
    paths to use it.

M   backend/requestTracker.go
M   frontend/frontend.go

commit df194343dfe6918f2e4980d16dbd9d623f0d87c0
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Fri Mar 23 12:45:53 2018 -0500

    Make sure we don't lose track of CurrentJob just because someone deleted all the Jobs.

M   frontend/jobs.go

commit ea9e326a869a517aebdae96dd38f1abc0a25f21b
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Thu Mar 22 10:01:15 2018 -0500

    Make a couple more tweaks to machine validation to make all the unit tests pass again.

M   backend/machines.go

commit 77c889ade21815dfb451fd1519a9754484a3e1f5
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Thu Mar 22 09:22:14 2018 -0500

    Add feature flags and fix up a few unit tests

M   backend/machines.go
M   backend/renderData_test.go
M   backend/task.go
M   frontend/info.go

commit 8d86feb6d4b1df93ba675b5e906c3c4c458e4a38
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Mar 21 17:19:22 2018 -0500

    Fix corner cases around how we were determining that a stage change was needed

M   backend/jobs.go
M   backend/machines.go
M   frontend/jobs.go

commit 57ae15d1222af157122dd216a54f5bcf22d7c426
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Mar 21 14:36:47 2018 -0500

    Fix up how we do machine validation to make it a little easier to follow

M   backend/machines.go
M   frontend/jobs.go

commit b8ac7c910edff99d39b74220950956fd8dd4495c
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Mar 21 14:25:04 2018 -0500

    Add indexes for new Jobs fields

M   backend/jobs.go

commit 2325c1aad6593fae8308c8504d97247187dc2803
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Mar 21 13:09:34 2018 -0500

    Update jobs frontend code to handle properly lying about the change-stage/map

M   frontend/jobs.go

commit b32da964b77215325176d2bb37b38911ef1d6660
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Mar 21 12:31:39 2018 -0500

    Fix Job backend validation

M   backend/jobs.go

commit 2f5966d82b939acd1f6b176033d93b03c6d408fb
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Mar 21 12:27:55 2018 -0500

    Dial down audit spam to only show up when someone auths with basic auth.

M   frontend/frontend.go

commit 6f537c972cff7fbe74b14935691ae88889af1241
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Tue Mar 20 14:18:12 2018 -0500

    Fix task list restart logic

M   backend/machines.go

commit 8605c64799518af1bf4d5361da9b7587af972f50
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Tue Mar 20 13:35:05 2018 -0500

    Refactor more sanity checking code for workflows and get closer to making it work

M   backend/dataTracker.go
M   backend/machines.go
M   frontend/jobs.go

commit 93a96a17c87765ab74a86495734de9e3c0cba142
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Tue Mar 20 09:55:19 2018 -0500

    Fix machines create auth

M   frontend/frontend.go

commit 2ad3691d6c5b4b35fe7c80ff89ca80545d8eb7db
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 19 16:00:36 2018 -0500

    Add CLI and frontend stubs for workflow

A   frontend/workflows.go

commit 1bcf75e1c05b04285f68d21855770b55249790c9
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 19 15:14:13 2018 -0500

    Rewrite jobs POST handling code in the frontend to handle stage and bootenv changes.

M   frontend/jobs.go

commit 5fad7009d4f517da1b23ebc17f3a3e194e28a19c
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 19 15:13:11 2018 -0500

    Tighten up restrictions on how CurrentTask can be manupulated in the backend.

M   backend/machines.go

commit b5d163e5d8c8d41b02430b2330c67141d3eea526
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 19 15:11:54 2018 -0500

    Get rid of unneeded manipulation of the machine CurrentTask pointer on the backend.

M   backend/jobs.go

commit 88a935d2dd89f70952f460ee60894c0b1f53bf04
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 19 11:12:35 2018 -0500

    Bootenv needs to take the workflow lock as well

M   backend/bootenv.go

commit 91691a952578876eeb0e470fd0a488e0dc61ac77
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 19 11:03:54 2018 -0500

    Start adding workflow-related unit tests and validation

M   backend/workflow.go
A   backend/workflow_test.go

commit 27fbd411f2287d98c07cb13fc115be84ce21ac37
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 19 10:43:18 2018 -0500

    Add workflow locks and basic validation

M   backend/bootenv_test.go
M   backend/machines.go
M   backend/machines_test.go
M   backend/stage.go
M   backend/stage_test.go
M   backend/workflow.go

commit 568df3d5e4dab71e632fef3241a93b96addccfab
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 19 09:33:37 2018 -0500

    Clean up some corner cases in validating task list changes

M   backend/machines.go
M   backend/renderData_test.go

commit 65589168202e7992e666732480c52734ddb76936
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Thu Mar 15 10:53:49 2018 -0500

    Wire workflows into Machine validity checking

M   backend/machines.go

commit f8955b1227a47aa5ec55580a740d0ea48befbc8b
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Thu Mar 15 10:53:09 2018 -0500

    Start adding Workflows to the backend

M   backend/dataTracker.go
M   backend/renderData_test.go
A   backend/workflow.go

commit 6872ed235a50799f35eb78b7e770b5ee0f30cf95
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Fri Mar 23 17:10:53 2018 -0500

    Don't double start plugins.

    Explicitly kill plugins on shutdown.

M   midlayer/messaging_client.go
M   midlayer/plugin.go

commit 031bbe5b02be0c8f61afcc04a2d0412e168c73f3
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Mar 22 17:09:46 2018 -0500

    Make sure each new plugin gets a new socket name so
    that we don't stomp on others.

M   midlayer/controller.go
M   midlayer/messaging.go

commit 12dc7e622dddc21b950f04c2ef5b5aa845fbbd08
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Mar 22 17:09:17 2018 -0500

    Document state machine better
    Fix a fail create loop
    Fix better control around the config unlock

M   midlayer/plugin.go

commit 339e0924f7ba8ebf86a4759a70b427e929c1c361
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Fri Mar 23 09:30:17 2018 -0500

    Fix deadlock in task validation when a stage depends upon it.

M   backend/task.go

commit 2fa61965500b2cab53cbaf5a0d05e8b86ccee87f
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Mar 22 17:05:42 2018 -0500

    Validate content packs against the fileRoot to
    minimize bootenv errors.

M   backend/dataTracker.go
M   midlayer/stack.go
M   server/server.go

commit 4f80ff5fe613702dbbd5f8657170af2e50d8c176
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Mar 22 17:04:25 2018 -0500

    Plugins get needs to take the profiles lock as well.

M   backend/plugins.go

commit 5654653a51c6e12e859c9eb8e2c07d051da94e9e
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Mar 20 12:17:44 2018 -0500

    Add the System object to the swagger tags list.

M   server/swagger.base.yml

commit f2d4f5990095f01821dfc9317257fd487ea69822
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Mar 20 10:19:10 2018 -0500

    With the latest code, we turned on create validation.
    Make sure the tokens enable the correct thing and test
    for it.

M   backend/renderData.go
M   backend/renderData_test.go

commit e4005d372bc4bd2ea9e2491d9f100240d96dd7cc
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Mar 14 21:22:26 2018 -0500

    Fix config->config state machine loop.  Should be config->start.

M   midlayer/plugin.go

commit 29ac08e226d4104db1d4feea6ce132f1e8621e15
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Mar 12 17:10:31 2018 -0500

    Push the plugin name into the config struct.

M   midlayer/messaging.go
M   midlayer/messaging_client.go
M   midlayer/plugin.go

commit 39e28ef291da3f05bf350f00c77ff55a9902a014
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Mar 12 16:48:06 2018 -0500

    Content meta data must be strings.

M   midlayer/controller.go

commit b51c52e95629f15e47e08621c1e375516b3e2e54
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Mar 12 12:57:35 2018 -0500

    Auth the machine create call!

M   frontend/machines.go

commit 7ac5fd4582b8af42f9bffc63204f7ceb2fac11fe
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Fri Mar 9 16:49:30 2018 -0600

    Add feature-flag for plugin-v2-safe-config

M   frontend/info.go

commit 21ff6e4e8be00275ba92f855e30df5bc1b7fbeec
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Fri Mar 9 16:28:57 2018 -0600

    Reduce logging for plugin load.

M   midlayer/controller.go

commit 4f99ccd053ef652481e12712fb21896327624731
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Fri Mar 9 16:14:34 2018 -0600

    r.Plugin may not be set yet.

M   midlayer/plugin.go

commit 1a1eec2f2fe840e339e6ffbe841d8e8738148db2
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Fri Mar 9 16:00:37 2018 -0600

    Fix subnet unit tests

M   backend/subnet_test.go

commit a9c496b2f4892573f0f88db400f2bd15b0957a03
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Thu Mar 8 12:38:15 2018 -0600

    Clean up subnet validation and add some sane defaults

M   backend/subnet.go

commit ae0428bdaee0cded4b44c9e4c2882ee5746a3138
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Fri Mar 9 15:10:32 2018 -0600

    Alter the plugin start-up/teardown workflow to be
    safer and cleaner while allowing config actions to
    call back into the API.

M   backend/requestTracker.go
M   frontend/plugin_providers.go
M   midlayer/controller.go
M   midlayer/messaging.go
M   midlayer/messaging_client.go
M   midlayer/messaging_server.go
A   midlayer/plugin.go
M   midlayer/stack.go
M   server/server.go

commit ea1bc4957a98434c1f758216b84763013fdb6393
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Mar 8 13:07:00 2018 -0600

    If we don't need stage, don't find stage.

    Prevents lock panic when profiles get parameters.

M   backend/requestTracker.go

commit 789cbe420e5fee3d866d7acbf79d6b5715baa366
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Mar 8 12:24:15 2018 -0600

    Fix looping if config fails at upload time or startup time.

M   midlayer/controller.go

commit 057f0e472f52780b8b0540e18b195ddf7acc67d2
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Mar 7 15:04:47 2018 -0600

    This allows for starting of plugins not under a lock.

    It feels dirty and I'm not happy with it, but it is
    a starting point.

M   midlayer/controller.go
M   midlayer/messaging.go

commit c36c6f7f6485e9ce36eedfe40af448165d6aeb62
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Mar 6 12:17:53 2018 -0600

    Add 'fsm-runner' as a feature-flag.
    Always for RunnerWait to be true on a stage.
    Mark RunnerWait for deprecation

M   backend/stage.go
M   frontend/info.go

commit 166d5d90377fbc6943ac984d6925b6e2e9e8b557
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Mar 5 11:04:26 2018 -0600

    Add windows cli into DRP

M   .gitignore
M   embedded/assets.go
M   embedded/assets_test.go

End of Note