Skip to content

v3.13.0

commit 677fbfb550ec2b03ef919f038a14634c4fe0975a
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Tue Mar 26 10:16:47 2019 -0500

    Allow for repositioning CurrentTask into the past

    To a limited extent.  For now, you cannot go past a bootenv change.
    This restriction may be relaxed in the future.  You can only do this
    if you have the 'updateTaskList' permission for that machine.

M   backend/machines.go
M   backend/renderData.go
M   backend/requestTracker.go
M   frontend/actions.go
M   frontend/content.go
M   frontend/events.go
M   frontend/files.go
M   frontend/frontend.go
M   frontend/info.go
M   frontend/interfaces.go
M   frontend/isos.go
M   frontend/job_create.go
M   frontend/jobs.go
M   frontend/log.go
M   frontend/meta.go
M   frontend/objects.go
M   frontend/params.go
M   frontend/plugin_providers.go
M   frontend/plugins.go
M   frontend/prefs.go
M   frontend/system.go
M   frontend/users.go

commit 18611563e6530af232a04430a904db74b64b9b8c
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Mar 27 19:30:30 2019 -0500

    Add the esxi thing to the system

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

commit 1dc706c62eb862301425ac0ee15686a61785f113
Author: Shane Gibson <shane@rackn.com>
Date:   Wed Mar 27 15:22:22 2019 -0700

    updates to ESXI tool

M   embedded/assets/make-esxi-bootenv.sh

commit 9291fe3222803c6b868064f81373f3241d39ed07
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Mar 27 14:35:28 2019 -0500

    Generate tokens correctly cross users.

M   frontend/users.go

commit 62404c06c450bdae72242e23d057d6edc4effb78
Author: Shane Gibson <shane@rackn.com>
Date:   Tue Mar 26 15:17:12 2019 -0700

    WIP: make ESXi bootenv from ISO

A   embedded/assets/make-esxi-bootenv.sh

commit aad322cc25fd116948a583cca96577f3fb1bd86b
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Mar 25 14:26:02 2019 -0500

    If the rack-license contents change, restart plugin_providers

M   midlayer/controller.go
M   midlayer/plugin.go

commit fbf490d80e08d9e4112012c119abfd0a34755dd5
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Mar 25 10:57:32 2019 -0500

    Fix search on rawmodels

    Add endpoint url search for forward-url with fallback to direct url to
    support HA use cases.

M   backend/raw_model.go
M   frontend/endpoint.go

commit a84bcd6aaf848fa10075d23794aeb4c588c956b0
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Tue Mar 19 15:22:30 2019 -0500

    Add unit tests for content prerequisite version checking

M   backend/stack.go

commit 33508c463a87dc9756d8da11985a45547b6ba6ad
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Mar 19 14:46:06 2019 -0500

    Make sure HaId is exposed everywhere.

M   frontend/info.go

commit dcc460ec18f0153c47867c7e914126c630679736
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Tue Mar 19 13:05:06 2019 -0500

    Add basic prerequisites support to content bundles.

M   backend/stack.go
M   test-data/usr/share/dr-provision/default.yaml

commit a0909eb447ed7e6f52d40252a728c8bfb4b807b8
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Fri Mar 15 12:44:24 2019 -0500

    Zap some unused vars and include a unit test I missed.

M   backend/task.go

commit f431434a9a6c2b3be784dcfab4fbe675ee81ad9e
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Mar 11 14:30:05 2019 -0500

    Start adding Prerequisites to tasks

M   backend/dataTracker.go
M   backend/machines.go
M   backend/task.go

commit 2c7578f13c4c1185ed34eb6da3b02c58908d1f51
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Fri Mar 15 09:30:35 2019 -0500

    Switch to two-phase object validity checking on dtStore regen.

    This allows us to remove some more complex validation checking (as all
    objects will be present in memory and indexec before OnLoad is
    called), and allows us to return hard errors when objects are
    semantically invalid for whatever reason.

M   backend/dataTracker.go
M   backend/stack.go

commit c691f7a56cfad6f6ab97a0c811bfd0d8b16a7a59
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Mar 14 11:35:47 2019 -0500

    Also add an event on massive failure

M   frontend/frontend.go

commit 20f3d7d8f8f30109c4d99091e0dd1243946cae6f
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Mar 14 11:05:06 2019 -0500

    Add more audit items for DRP.  Include failure and success.

M   frontend/frontend.go

commit b1c2def35396d208d1bdee8cc9afe151e739d088
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Mar 7 14:17:54 2019 -0600

    Make sure to reload the plugin_providers if the plugin fails
    for license reasons.

M   midlayer/controller.go
M   midlayer/plugin.go

commit 68e83ee381b73c01ed2e31dd043f1a04080d6053
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Mar 6 00:02:18 2019 -0600

    Protect proxy map from concurrence.  Do simple mutex for now.
    Could one day do sync.Map, but only for 4+ Cores

M   frontend/endpoint.go

commit 41b2f4b502a96f083f6278abdd156aaedaf0f100
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Feb 27 14:24:48 2019 -0600

    Reuse the connections to avoid leakage.

M   frontend/endpoint.go

commit 1ae1f60ff098e2abb0437f99f393ccea8080231f
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Feb 25 15:02:18 2019 -0600

    Fix typo

M   server/server.go

commit d3547d7eefdb52910504338a4db81772a942dc76
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Feb 25 14:35:23 2019 -0600

    Update docs for new flags.

    Allow the server options to be specified by RS_* environment variables.

M   server/server.go

commit 79a80e784d80a9f8a8dae821f8a145bef9498fd9
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Feb 25 11:59:55 2019 -0600

    Fix recursive endpoint look-ups to work all the way down the tree.

M   frontend/endpoint.go

commit 5dffe078fc871affe465710be201161981422b15
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Fri Feb 22 17:14:44 2019 -0600

    Alter proxy endpoint slightly.

M   frontend/endpoint.go

commit a5eaaefbd43ed908bdb11908e414c9c46c7bb036
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Fri Feb 22 08:30:39 2019 -0600

    We don't really need to strip out vendor specific options

M   midlayer/dhcp.go

commit 10e5bf5af3fd8fc21e766fd7381bed56e5962de2
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Feb 21 20:18:11 2019 -0600

    DRP Endpoints don't set Endpoint.  Managers do.

M   backend/bootenv.go
M   backend/jobs.go
M   backend/lease.go
M   backend/machines.go
M   backend/param.go
M   backend/plugins.go
M   backend/profiles.go
M   backend/raw_model.go
M   backend/reservation.go
M   backend/roles.go
M   backend/stage.go
M   backend/subnet.go
M   backend/task.go
M   backend/template.go
M   backend/tenants.go
M   backend/user.go
M   backend/workflow.go

commit a32770648b9f1c948e913dff17d5b79e89721a45
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Feb 20 10:21:23 2019 -0600

    Fix casting to the correct type

M   frontend/content.go

commit 9a8b288a81b62d0b77bf7004fe25c163466cb802
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Feb 19 21:46:23 2019 -0600

    Add a noToekn option to the CLI so that it won't use tokens.
    This is NOT the default.

    Plugins need to be restarted if the token prefs are reset.

M   backend/event.go
M   frontend/prefs.go
M   midlayer/plugin.go

commit 0d48dd82f0a91dee899ec23440d56cf04c96727a
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Mon Feb 18 12:07:29 2019 -0600

    Update content show/create/update/upload/bundlize to handle secure parameters

M   frontend/content.go

commit 34c2d94a14232db955c60e45f65d23d974f954c6
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Thu Feb 14 11:32:14 2019 -0600

    Have content bundle API handle encrypting and decrupting secure params

M   frontend/content.go

commit 66a870a5f1089a26f99358c0f39dace0f001f560
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Feb 13 15:35:12 2019 -0600

    Make buildContent decrypt all secure params.

M   frontend/content.go

commit 6f834c7e574a32356853d1b92926d5dee537f994
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Feb 18 10:38:02 2019 -0600

    Remove unused fmt

M   frontend/endpoint.go

commit 46a00d1b0c4d9c2834b716bf0a673927df619a1b
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Feb 18 01:38:04 2019 -0600

    Remove extra prints

M   frontend/endpoint.go

commit 0240992ceb0b4b83c3880f242c5a3ea7fdd6cc5f
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Feb 18 01:09:44 2019 -0600

    Add ability to drive API without conversion to tokens

M   frontend/endpoint.go

commit e3e75793b15a186138a1b549c107c8a2153a37a7
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Feb 13 15:08:22 2019 -0600

    Add a user group concept in tenants.

M   backend/dataTracker.go
M   backend/tenants.go
M   backend/user.go
M   backend/user_test.go
M   frontend/frontend.go

commit 4fd27d77393ea7ad265d18722e6b0c3b68141aad
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Feb 13 09:26:35 2019 -0600

    Add the original model to the update events.

M   backend/event.go
M   backend/license.go
M   backend/raw_model.go
M   backend/requestTracker.go

commit 46dc8a6a4a546c686727c2fc286f48db9ca89cae
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Feb 13 14:56:13 2019 -0600

    Allow for getting obbects with secure params pre-decrypted

M   frontend/frontend.go

commit 78f53b33b0a02b2a287f9496670c499245dde4c0
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Feb 13 13:18:20 2019 -0600

    Allow decode fetches of secure params when getting the whole item

M   frontend/frontend.go
M   frontend/machines.go
M   frontend/params.go
M   frontend/plugins.go
M   frontend/profiles.go

commit 16c0b1970847cedc8633f05f5b844e0dc0dc1fad
Author: Victor Lowther <victor.lowther@gmail.com>
Date:   Wed Feb 13 08:57:46 2019 -0600

    Add an index for secure params.

M   backend/param.go

commit cc33f7fffdf066acbf42f82dbd311e5e33fb2513
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Sun Feb 10 16:10:11 2019 -0600

    Add search on bundle

M   backend/index/index.go

commit afd11d9aef0fd42e6d25f5db28f1eba11932e93d
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Feb 7 22:06:16 2019 -0600

    Fix plugins and logs on errors

M   backend/bootenv.go
M   midlayer/controller.go

commit f7813568e7cc20f23830e6be6f925db29a032359
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Feb 7 19:20:10 2019 -0600

    Add catalog support in the upload / upgrade functions
    for DRP, contents, and plugin_providers.

M   frontend/system.go

commit 93d04e8aa03994264dce690f89ead287557d881c
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Feb 7 19:18:33 2019 -0600

    Continue the fixes for restart of upgrade.  This reworks the
    server control structure to all for the upgrade to clean up
    file descriptors before restarting.  This is pretty clean now.

M   server/server.go
M   server/watcher.go

commit 93c193d396b5f723b67278f3ab093e6f9e654eb2
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Feb 6 23:50:30 2019 -0600

    Add the ability to upgrade itself in place.

M   frontend/system.go
M   server/server.go
A   server/watcher.go

commit 9db6d891e56c9d691e671706629cbd9aab12cc6c
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Feb 6 17:07:01 2019 -0600

    Don't use .. - do the right thing

M   midlayer/messaging.go

commit b2ce3ba7ea601db8c1a283bb8a7fd98bcf203469
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Feb 6 15:24:18 2019 -0600

    Deal with changing DRPIP somewhat and start HAID

M   frontend/endpoint.go
M   frontend/frontend.go
M   frontend/info.go
M   server/server.go

commit fd3a1dccd08a65189f39967b824a1ce94527d39d
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Feb 5 16:43:02 2019 -0600

    Only allow valid users to login.

M   frontend/frontend.go

commit 3e48d3b6fa6bd47b7825173877bbbc1148cc8fa4
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Feb 5 15:24:06 2019 -0600

    Always save user on login to make sure we get latest
    roles and tenants from external auth source if used.

M   frontend/frontend.go

commit 1c7ee207770404da5107b2277063901cd19fceb8
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Feb 5 15:13:40 2019 -0600

    Allow plugins to use profile defaults.

M   midlayer/plugin.go

commit ae67c153ad673e477281942729a037b8128ac967
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Feb 5 10:19:52 2019 -0600

    Change the auth data from the plugin to me more extensible.

M   frontend/frontend.go

commit ae9296cbfdf75a6644cf89986e703fcdb31a5d4f
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Sat Feb 2 12:35:20 2019 -0600

    Fix security hole (could get too many counts) for plugin_providers list.

M   frontend/plugin_providers.go

commit 9257dbbb433d1a8236b1dc717296723fca85c803
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Fri Feb 1 15:27:46 2019 -0600

    Update version to something the UX won't eat in unit testing

M   version.go

commit 58a7a6c6c1a67f0d6492192dbafa79503a940eb8
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Jan 31 11:41:02 2019 -0600

    Missed a unit test.

M   backend/jwt_utils_test.go

commit 089365f25c1ff4df2f87aaf68ef7522a132f2e82
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Jan 31 10:21:21 2019 -0600

    Allow for external auth systems through plugins.

M   backend/dataTracker.go
M   backend/jwt-utils.go
M   backend/machines.go
M   backend/user.go
M   frontend/frontend.go
M   midlayer/actions.go

commit 47655c28db3d53ee23464a2e0b77ebbf2f23cf50
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Jan 30 22:47:31 2019 -0600

    Create a temp space in the plugins area.  Plugins can
    use this to cache information.

M   midlayer/messaging.go

commit 0ce387da153090680805ab3ce800194c9fddbbe3
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Jan 16 11:26:45 2019 -0600

    This completes the endpoint support.

    With this change, DRP tags all objects as to their
    owner.  The endpoint field in the objects is stored
    and propagated through events.

M   backend/bootenv.go
M   backend/jobs.go
M   backend/lease.go
M   backend/machines.go
M   backend/param.go
M   backend/plugins.go
M   backend/profiles.go
M   backend/raw_model.go
M   backend/reservation.go
M   backend/roles.go
M   backend/stage.go
M   backend/subnet.go
M   backend/task.go
M   backend/template.go
M   backend/tenants.go
M   backend/user.go
M   backend/workflow.go
M   frontend/actions.go
A   frontend/endpoint.go
M   frontend/frontend.go
M   frontend/info.go
M   frontend/users.go
M   version.go

commit 5c59fb41832b2cf7dbfcc6be2a4db4fb0895744e
Author: Benjamin Runnels <kraven@kraven.org>
Date:   Sat Jan 19 12:28:49 2019 -0600

    Fix to resolve PXE not working in when dhcp is in proxy mode.  Resolves https://github.com/digitalrebar/provision/issues/1037

M   midlayer/dhcp.go

commit cf9cfa99bf2eaaf048072c1c1e9e112b3c89943b
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Jan 9 14:36:01 2019 -0600

    Add a test dr-provision that can be compiled without
    anything else.  It will not have the embedded in it.

A   cmds/dr-test/dr-test.go

commit 978516ec3b0374c5e28bdd94b2c6aada31b40bf4
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Jan 9 14:26:48 2019 -0600

    Update archiver to use the latest release and change the bootenv to
    handle it.

M   backend/bootenv.go

commit 9c7eb1eb9da2b1d2eab989546e862a60fd222fd9
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Wed Jan 9 11:30:37 2019 -0600

    Fix hound found lint issues.
    Add security on objects call
    Maybe fix unit test non-determination
    Make role tests test for something.
    Fix latent bug on interfaces.

M   backend/dataTracker.go
M   backend/interfaces.go
M   frontend/objects.go

commit 4ca5bb1ae0f1a91c65e321896db700423c1d59da
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Jan 8 22:03:35 2019 -0600

    Add Endpoint to all objects

M   backend/bootenv.go
M   backend/jobs.go
M   backend/lease.go
M   backend/machines.go
M   backend/param.go
M   backend/plugins.go
M   backend/profiles.go
M   backend/raw_model.go
M   backend/reservation.go
M   backend/roles.go
M   backend/stage.go
M   backend/subnet.go
M   backend/task.go
M   backend/template.go
M   backend/tenants.go
M   backend/user.go
M   backend/workflow.go

commit 8ba84482dfce2e843f19896cda0f4c694f3f8ec5
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Tue Jan 8 13:11:01 2019 -0600

    Add a lookup for the object types in DRP.

M   backend/dataTracker.go
M   frontend/frontend.go
A   frontend/objects.go
M   server/swagger.base.yml

commit 4ee0f16726585720aa9bef22e1dd9d2d4232ac23
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Jan 7 22:09:11 2019 -0600

    Add wildcard to endpoint check "MatchAny"

M   backend/license.go

commit 3976bfe4e45f32d2dcf1b02b8a8ae975ecf4ac72
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Jan 7 21:15:58 2019 -0600

    Add tests for Endpoints and licensing.

M   backend/dataTracker.go
M   backend/dataTracker_test.go
M   backend/license.go
M   midlayer/fake_midlayer_server_test.go
M   server/server.go

commit 3de841be09b3c5dfca3144942ba6a76087c92027
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Mon Jan 7 20:18:58 2019 -0600

    Add endpoints field to license
    Allow plugins to init storage and then use it.

M   midlayer/plugin.go

commit 146f7c0fd694d38f2c206614fdfe9672bf1380cf
Author: Rob Hirschfeld <rob@rackn.com>
Date:   Sun Dec 30 17:01:56 2018 -0600

    do not include docs or tools in code coverage

M   codecov.yml

commit ac76b3fd84cf2a6f8626e69b11fbda2adbd8e6f5
Author: Greg Althaus <galthaus@austin.rr.com>
Date:   Thu Dec 20 12:30:33 2018 -0600

    Extend timeout on go unit tests.  On some systems, 10m is not enough.

    Fix some issues with the RawModel exposed through more testing.

M   backend/raw_model.go

End of Note