This repository has been archived by the owner on Jul 24, 2021. It is now read-only.
Releases: joyent/conch-api
Releases · joyent/conch-api
v3.0.0-b8
Release v3.0.0-b8 [PR #987](https://github.com/joyent/conch/pull/987) - `fix validation of multiple branches of different types` === * Branch: ether/fix-validation-tests * Revision: 2851d4aa7 * Labels: tests, validation > (fixed in JSON::Validator 3.24) > see https://github.com/mojolicious/json-validator/pull/206 People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-03-03T23:39:24Z Commits --- * [5318a5](https://github.com/joyent/conch/commit/5318a561bf4470171a1a9be84b5b7a9c1138e1e5) - `fix validation of multiple branches of different types` - - - [PR #988](https://github.com/joyent/conch/pull/988) - `more docs` === * Branch: ether/more-docs * Revision: 8412ac2a8 * Labels: docs > - add more missing/inaccurate documentation > - add all the v2.x documentation in a subdirectory (to be published as https://joyent.github.io/conch/versions/v2) People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-03-04T18:39:28Z Commits --- * [e8c539](https://github.com/joyent/conch/commit/e8c53953521f4b51af3aa46852fa120808555810) - `more documentation fixes` * [1a5ff5](https://github.com/joyent/conch/commit/1a5ff50b1ddc2774c35fc0e8554d815befe34f9a) - `TOC for versioned documentation` * [dab2f8](https://github.com/joyent/conch/commit/dab2f87c54b8d1c436859392776600df08cdd17d) - `copy docs/ from release/v2 branch` * [2fc29e](https://github.com/joyent/conch/commit/2fc29e7414cab36f26d45dfa19aedd0fa26b6966) - `add scripts, json-schema docs and links to them` - - - [PR #989](https://github.com/joyent/conch/pull/989) - `v3: b8 small fixes` === * Branch: ether/v3-b8-small-fixes * Revision: 3c6b55e17 * Labels: docs, tests > internal fixes for v3.0.0-b8. > > - more and better documentation > - more refined compile test > - fix usage of meta-schema specification to restore usage of caching in JSON::Validator > - show in Organizaton, Build responses that there is always a user with the 'admin' role People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-03-16T21:10:45Z Commits --- * [d62f4e](https://github.com/joyent/conch/commit/d62f4e4e5cb4a3def57f930d507623969db3eec1) - `more endpoint documentation fixes` * [fbd3de](https://github.com/joyent/conch/commit/fbd3de3217eafc3a3e4467cd62e413fbd01b595e) - `document all methods` * [9a274d](https://github.com/joyent/conch/commit/9a274dce5f752bece54dacab68be7fb4fa19d8ef) - `fix reference to schema specification to allow cached document to be used` * [b68d5c](https://github.com/joyent/conch/commit/b68d5ca9a0109dd232900bdfe35d08d01dd89b69) - `only try to compile files known to git` * [b3b5f7](https://github.com/joyent/conch/commit/b3b5f7889a159b26b0abad58ce3f81b51ca27848) - `tighten up these schemas` - - - [PR #992](https://github.com/joyent/conch/pull/992) - `move POST /device endpoint` === * Branch: ether/move-POST-device * Revision: 3bc448209 * Labels: api, breaking, enhancement, needs-reporter, v3.0 > - send a message to Rollbar upon use of an endpoint that returns HTTP 308 > - return HTTP 308 for endpoints that were recently removed > - forward fatal log messages to Rollbar > - move POST /device/:serial to POST /device_report > existing POST /device_report has been moved to POST /device_report?no_save_db=1 > People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-04-08T21:44:10Z Commits --- * [e24908](https://github.com/joyent/conch/commit/e249085492bb95f902b1a91831dd444741d99865) - `update carton` * [1091f4](https://github.com/joyent/conch/commit/1091f44405b8ac42ccd08112073c66ff83814bc5) - `fix comment for accuracy` * [d7e2cb](https://github.com/joyent/conch/commit/d7e2cbee43b6267de6a5c47398fc258eda689771) - `clean up log messages` * [8e9464](https://github.com/joyent/conch/commit/8e9464461b9f576e4fd880a59e8cd3ad42a9ac0d) - `update Mojolicious and our custom test routines` * [185970](https://github.com/joyent/conch/commit/1859709a0b6ac8d312f190d3d25aa98e9ec496e9) - `disallow usage of HTTP 302 response` * [e9ce75](https://github.com/joyent/conch/commit/e9ce75f15936eba6f105045650e334ff702bdb54) - `send a message to Rollbar upon use of an endpoint that returns HTTP 308` * [461535](https://github.com/joyent/conch/commit/461535b565c1d813161f7187c7174b5551ccb657) - `respect $MOJO_LOG_LEVEL` * [eff753](https://github.com/joyent/conch/commit/eff7539adb15284bb9124b7b57b5b63af0a21160) - `shorten this routing syntax` * [9f4d81](https://github.com/joyent/conch/commit/9f4d8138b369e0080f8624bc6803db2e03f68708) - `allow $MOJO_MODE to stay undefined during development, testing` * [6a63b2](https://github.com/joyent/conch/commit/6a63b27e4cb54a6b2b5686523a0dd868fc629a73) - `forward fatal log messages to Rollbar` * [bb8f78](https://github.com/joyent/conch/commit/bb8f7851909acadc5bdc22b600c63be1cbd6f1d1) - `return HTTP 308 for endpoints that were recently removed` * [6d98ff](https://github.com/joyent/conch/commit/6d98fff7c42b42373c62fa174d36c51cfe4ee4e1) - `move POST /device/:serial to POST /device_report` - - - [PR #998](https://github.com/joyent/conch/pull/998) - `v3.0.0 b8 misc fixes` === * Branch: ether/v3.0.0-b8-misc-fixes * Revision: 2a0fc186b * Labels: > - switch to undeprecated form of GitHub API authentication > - update all module dependencies > - todo note about build permissions when workspaces go away in v3.1 > - remove unused response schema People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-04-16T19:15:51Z Commits --- * [581c3b](https://github.com/joyent/conch/commit/581c3b36ddd084aa4d6884e11fecaeaeab4b42c2) - `add todo note about build permissions` * [1bdc68](https://github.com/joyent/conch/commit/1bdc68f85b9651bbb19eb8ea1c88954423297ca4) - `refresh carton installation` * [0fb9c3](https://github.com/joyent/conch/commit/0fb9c3ec4ad415f46fdd4dc893bd6771a7a02fdf) - `switch to undeprecated form of GitHub API authentication` * [9b3cb9](https://github.com/joyent/conch/commit/9b3cb91e73f39cac18e3b03c4bd6eebea8bfa752) - `remove unused response schema` - - - [PR #999](https://github.com/joyent/conch/pull/999) - `v3.0.0 b8: nicer device report collisions` === * Branch: ether/v3.0.0-b8-nicer-device-report-collisions * Revision: 33d737f26 * Labels: bug, device reports, v3.0 > bring in changes made to v2.38 (#996, #997): > > * properly handle a report using a different device's system_uuid (this change was already present in v3.0) > * also set both conflicting devices to the error state for better detection > * on device collision, remove exception from stash so rollbar does not send it People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-04-16T19:20:48Z Commits --- * [713cdf](https://github.com/joyent/conch/commit/713cdfc13362aea3790a2e9f1a5c49ffb299e00e) - `also set both conflicting devices to the error state for better detection` * [08ef37](https://github.com/joyent/conch/commit/08ef37981086e92dd51c5f8c33517c94c1bbac60) - `on device collision, remove exception from stash so rollbar does not send it` - - - [PR #995](https://github.com/joyent/conch/pull/995) - `v3.0: do not update device hardware product when processing reports` === * Branch: ether/v3.0-do-not-update-device-hardware_product * Revision: 2391c3f11 * Labels: api, database, device reports, needs-shell, needs-ui, refactor, v3.0, validation > Several tweaks to the processing of device reports and related infrastructure. > > - move hardware_product_id from validation_result to validation_state > - ensure hardware_product and validation_plan are not deactivated before processing the device report > - do not update the device hardware_product_id from the report > - when a device is moved to a new location, change its hardware product to match the layout > - add new endpoint to permit changing a device's hardware_product directly > People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-04-17T15:56:49Z Commits --- * [e8c259](https://github.com/joyent/conch/commit/e8c259496c8b5d23d0d8535ef282ed74c3fff95c) - `drop redundant column validation_state.completed` * [4b9d3a](https://github.com/joyent/conch/commit/4b9d3a375b0f24f7a68a77a1217740c640b5efa6) - `add a unique constraint on validation_state_member.result_order` * [30e590](https://github.com/joyent/conch/commit/30e590f8f2cf5e80b7b63dc7bc184572e72632bf) - `move hardware_product_id from validation_result to validation_state` * [97424c](https://github.com/joyent/conch/commit/97424c622c1d7052bc108e6215f45ab391198898) - `do not update the device hardware_product_id from the report` * [3679c5](https://github.com/joyent/conch/commit/3679c56dc5c4b6f454672b0f43135f543009d950) - `remove dead code: device must exist before it can be assigned a location` * [087e6a](https://github.com/joyent/conch/commit/087e6a8d4aa6ef7435c3520f3f73feb4452eaa2e) - `when a device is moved to a new location, change its hardware product to match the layout` * [22efa5](https://github.com/joyent/conch/commit/22efa5ce8c0f09e2b597a5954c26c1833957b503) - `add new endpoint to permit changing a device's hardware_product directly` * [60dc08](https://github.com/joyent/conch/commit/60dc089403391d6cf883970a7fb0fa063ffa06e1) - `log how many devices are still using a deactivated hardware_product` * [cce32b](https://github.com/joyent/conch/commit/cce32b629ab9f185c1f2f99423ab23ed88df9531) - `ensure hardware_product and validation_plan are not deactivated` - - -
Release v2.38.3
[PR #996](https://github.com/joyent/conch/pull/996) - `properly handle a report using a different device's system_uuid` === * Branch: ether/v2.38.3-nicer-device-report-collisions * Revision: c23b24fd4 * Labels: bug, device reports, high priority, v2 > If we do not query for the device properly, the wrong device will get updated; > this might also cause a database explosion if the system_uuid and/or > serial_number is already in use by another device. > > also set both conflicting devices to the error state for better detection > > This resolves Rollbar items 3490, 3491 occurring 2020-04-15. People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-04-15T17:46:55Z Commits --- * [abb862](https://github.com/joyent/conch/commit/abb862db8817c0fde495479436d7ce5d722acb95) - `properly handle a report using a different device's system_uuid` * [2d1eb9](https://github.com/joyent/conch/commit/2d1eb9ec03b53aa2ee159dedf788461fe6a305ab) - `also set both conflicting devices to the error state for better detection` - - -
v3.0.0-b7
Conch API release v3.0.0-b7 [PR #983](https://github.com/joyent/conch/pull/983) - `v3 b7: better logging` === * Branch: ether/v3-b7-better-logging * Revision: 9930506ab * Labels: enhancement > Pull out some common log lines into separate files: > - the info level line that logs the request and response for every hit (when 'verbose' mode is enabled) is now in dispatch.log > - everything to do with validations (which can get noisy) is in validation.log People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-02-12T20:02:29Z Commits --- * [c0aa3f](https://github.com/joyent/conch/commit/c0aa3f20c2f606c451da63159ca7c5ae7a806bb4) - `allow creation of separate loggers; move dispatch log lines to dispatch.log` * [81aaa4](https://github.com/joyent/conch/commit/81aaa48f6c96bb941429ad8b3e993e3409f1f4a0) - `test log levels consistently` * [2fc475](https://github.com/joyent/conch/commit/2fc47571e8ff790936c1d8b4597ffab06f39ce3e) - `create a separate log file for validation details; improve logging of validation checks on startup` * [b99a2d](https://github.com/joyent/conch/commit/b99a2dec00b29a70f7843d76041ac78832f080a5) - `skip checking validation plans for sub-commands` - - - [PR #984](https://github.com/joyent/conch/pull/984) - `misc internal fixes for v3.0.0-b7` === * Branch: ether/v3-b7-misc-fixes * Revision: 8f6779f7e * Labels: api, database, tests > - bump cpan versions of some modules > - speed up unicode processing in file and serialization operations > - lots of documentation fixes > - tighten up some tests > - fix database migration that truncates validation result tables People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-02-27T21:13:47Z Commits --- * [489848](https://github.com/joyent/conch/commit/489848856df456e4461c97c2c4e3b5feecd9284a) - `remove these uses of /workspace endpoints in tests` * [823510](https://github.com/joyent/conch/commit/823510ab041bc84243acdb09060aa37735c09bea) - `this header does not actually exist` * [230ed6](https://github.com/joyent/conch/commit/230ed69e6e2c17a3851140b43b0039a61f5344a0) - `cpan updates` * [452776](https://github.com/joyent/conch/commit/4527769cff1694f970de964ee850a6f3900c893a) - `make use of new DBIx::Class::Helpers shortcut` * [9e90e6](https://github.com/joyent/conch/commit/9e90e67b3825f65a275fdc19db32d95d98c89c93) - `update version and date on schema diagrams` * [fb319b](https://github.com/joyent/conch/commit/fb319b98ae853c8634fa172a4ab27f246acff1d4) - `status code names are not all upper-case` * [de1d24](https://github.com/joyent/conch/commit/de1d24f52969d3a6d9ef14715bf3e6e4e0c4eca4) - `misc documentation fixes` * [f7b10e](https://github.com/joyent/conch/commit/f7b10e723943a7ba055e89d256f0d9fb91286dfb) - `add low level role_cmp tests that were lost` * [267dfb](https://github.com/joyent/conch/commit/267dfb8d3fd184537921d90ff1afd417da143ee7) - `declare recursive sub in a nicer way` * [cda54e](https://github.com/joyent/conch/commit/cda54e5fb814862025773f4e7d54040a5227351a) - `fix test description and source line number` * [845a95](https://github.com/joyent/conch/commit/845a95e8e5a2291a12ca40b5cf7e9b907d3f4c23) - `log (and fail a test) if this shortcut is used inappropriately` * [e8e95e](https://github.com/joyent/conch/commit/e8e95e4b29d4cad5655d76690c398faa5b271202) - `truncate tables at the same time to avoid foreign constraint errors` - - - [PR #985](https://github.com/joyent/conch/pull/985) - `401 responses must include WWW-Authenticate: Basic` === * Branch: ether/www-authenticate * Revision: 8b66a4649 * Labels: api, v3.0 > as per https://tools.ietf.org/html/rfc7235#section-4.1 People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-02-27T21:44:16Z Commits --- * [ade76f](https://github.com/joyent/conch/commit/ade76f33b859e840cac5d9af29de72a24ff25835) - `401 responses must include WWW-Authenticate: Basic` - - - [PR #986](https://github.com/joyent/conch/pull/986) - `add user_session_token.last_ipaddr to track where a JWT was last used` === * Branch: ether/last_ipaddr * Revision: 1d737a5ee * Labels: api, database, enhancement, v3.0 People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-02-27T21:48:31Z Commits --- * [748d71](https://github.com/joyent/conch/commit/748d7188601824dbd2fc6bc974052c60257def37) - `add user_session_token.last_ipaddr to track where a JWT was last used` - - -
v3.0.0-b6
Release v3.0.0-b6 [PR #977](https://github.com/joyent/conch/pull/977) - `v3 b6: more auth fixes` === * Branch: ether/v3-b6-more-auth-fixes * Revision: 030640b78 * Labels: bug, docs, security > More authentication fixes. > > - when authenticating a user and the session cookie is not being used, wipe any existing cookie that is already being stored by the client > - fix POST /logout to properly log out the user in all situations and keep the user logged out > - lots more testing of edge cases > - better logging People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-01-23T00:15:35Z Commits --- * [4a8ba0](https://github.com/joyent/conch/commit/4a8ba0bd1d42961f9d2a667ba026b5510fab85ce) - `when refreshing auth, do not create a new cookie if one did not already exist` * [88488e](https://github.com/joyent/conch/commit/88488e6c24555557b6328d054ed9ad3e73447f6f) - `no need to explicitly set the default session expiration` * [4b050d](https://github.com/joyent/conch/commit/4b050d5f008f248b6e70d3ef62a2c5ccfa2089b0) - `make POST /logout actually prevent future use of that JWT or session` * [8510c1](https://github.com/joyent/conch/commit/8510c1b166f0df673ec404d92fb217e2e5092b87) - `wipe out the user_id from the session when expiring it` * [bf4269](https://github.com/joyent/conch/commit/bf4269d8c4091e23e072a534b460795fc3315e47) - `tighten json schema for login tokens` * [6668e4](https://github.com/joyent/conch/commit/6668e40908d552e38639951ddf54cfcfcd572f0e) - `improve testing of the session cookie` * [d6e037](https://github.com/joyent/conch/commit/d6e037854cea4957c196444b9a5057f7eadd4803) - `more logging, tests for POST /user/*/password and /user/*/revoke` * [efef74](https://github.com/joyent/conch/commit/efef7480fde86524ae9b63941281457a545842fe) - `declare expected request json schema for POST /logout` - - - [PR #979](https://github.com/joyent/conch/pull/979) - `v3 b6: more fixes` === * Branch: ether/v3-b6-more-fixes * Revision: b96e29276 * Labels: docs, refactor > more small fixes to documentation, logging, and error diagnostics. People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-01-28T18:17:43Z Commits --- * [7962ba](https://github.com/joyent/conch/commit/7962ba5d324e8ab93e8548e683b0feb1d52e4e5c) - `log when startup is finished` * [cd41c1](https://github.com/joyent/conch/commit/cd41c189ec3b603e77a2d7f9aa19cf14c84fd433) - `fix organization description` * [3f1658](https://github.com/joyent/conch/commit/3f165879e2530e9ce964f92c497801a86ab29333) - `fix documentation errors` * [dbc119](https://github.com/joyent/conch/commit/dbc119621ee2d6228b8658d54a7b8d1c085d3cb8) - `adjust (via a config) the From address used in emails` * [a5d358](https://github.com/joyent/conch/commit/a5d358817e340387d11402b7263032e8ed977284) - `fix description of main app` * [a70f79](https://github.com/joyent/conch/commit/a70f79808314ed1cb6d4c42c4751f32ddfd40dea) - `fix title for all docs` * [b56fe7](https://github.com/joyent/conch/commit/b56fe7b5451c4f49907246e70ef31ea2e11b5e06) - `add links to these schemas; fix processing of F<> directives` * [a35033](https://github.com/joyent/conch/commit/a35033e474db717206865f64373f171ffe3fe770) - `add source links` * [f7ffbe](https://github.com/joyent/conch/commit/f7ffbe7c9ed293f5092aa2e76276d6284d21b9a3) - `report 403 errors from clients to rollbar also` * [f75481](https://github.com/joyent/conch/commit/f754812d050371547758190f33829f961c533f20) - `cleanup of error and warning log lines` * [325cae](https://github.com/joyent/conch/commit/325cae29e643b529bf6802bb6601cacae9b460c4) - `passwords are actually hashed, not encrypted` * [e76e7b](https://github.com/joyent/conch/commit/e76e7b6fbde62cee299828e015635714122b9153) - `consolidate setting of universal response headers` * [5cd41f](https://github.com/joyent/conch/commit/5cd41fcd2f3b9ad950ba90d210c7cc3175dc08d6) - `remove unused variable` * [9f0e69](https://github.com/joyent/conch/commit/9f0e6925fbb2c1f4ddaff7c208bd3701ee1824fc) - `send rollbar messages after response has been rendered` * [c7a8dd](https://github.com/joyent/conch/commit/c7a8dd1c0a935d2fe6adb6aa36684124e6d9605c) - `move "log_to_stderr" feature into the logging config section` * [4129a4](https://github.com/joyent/conch/commit/4129a4011f0e0f061fad2dabe1a2d2a742be2993) - `tests: preserve default features unless explicitly overridden` * [de9856](https://github.com/joyent/conch/commit/de9856de548697215eefa1a08d9d074e0dac7e82) - `move "audit" feature into the logging config section as the "verbose" option` - - - [PR #980](https://github.com/joyent/conch/pull/980) - `add device_serial_number to GET .../rack/*/assignment` === * Branch: ether/rack_assignment_serial_number * Revision: ffb440e3e * Labels: api > This was an oversight and should have been added when device id was renamed to serial_number. People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-01-28T22:25:00Z Commits --- * [62fbf8](https://github.com/joyent/conch/commit/62fbf857a615319f1bd729411ff77cd73351ebaf) - `add device_serial_number to GET .../rack/*/assignment` - - - [PR #981](https://github.com/joyent/conch/pull/981) - `v3 b6 even more fixes` === * Branch: ether/v3-b6-even-more-fixes * Revision: bfbe314b9 * Labels: docs, tests > - update some cpan dependencies for various features, bug fixes > - use https in all documentation, references > - fix erroneous route documentation > - some fixed log messages People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-02-03T21:47:56Z Commits --- * [36cd94](https://github.com/joyent/conch/commit/36cd9490303d270ffb5ede526e3a014a09cbf9af) - `update YAML backend for safer deserialization` * [590398](https://github.com/joyent/conch/commit/590398a4927e0e85ee5cc361453c2b940fc0806b) - `update JSON::Validator so empty-string consts work properly` * [d111ea](https://github.com/joyent/conch/commit/d111eaf30a000b2dcb6c60caa43d79d0b8c3f1fa) - `fix log messages for schema validation failure` * [9dcc42](https://github.com/joyent/conch/commit/9dcc42cf736a72b6357be38e50bd70d4afdabeb8) - `inject a failing test if a fatal log message is seen` * [11f090](https://github.com/joyent/conch/commit/11f090d89096f18d2ced4b0dc5a88de55d67057a) - `fix erroneous route documentation` * [d5577c](https://github.com/joyent/conch/commit/d5577c19734c407cdbc5d1b1abaed55d5b98a0ba) - `use https for all URLs, e.g. json-schema.org` * [97fb2d](https://github.com/joyent/conch/commit/97fb2d14d461b43f25141b0662c4d7d03174a484) - `shorten this syntax` * [080440](https://github.com/joyent/conch/commit/08044072b6c3fffd6cf951e3ea8c37aa54b56234) - `iface_driver is always set in practice, even though it never has a useful value` * [2debda](https://github.com/joyent/conch/commit/2debda2678364d6ec62a2655311bf377ec98399d) - `fix link to Mozilla 2.0 Public Licence` * [945036](https://github.com/joyent/conch/commit/945036af10a220402b047a1f8179dec61fcc09a1) - `fix Newt link` * [cf5e1b](https://github.com/joyent/conch/commit/cf5e1bd7d407b5b0842cf1c1af0ffdb3d1054ba5) - `update DBD::Pg for various bug fixes` * [5d4cd4](https://github.com/joyent/conch/commit/5d4cd4aa6ee2de7ec9cd194481ee60cd69b4bb24) - `use the current pid, not the starting application's pid, in application_name` - - -
v2.38.2
Release v2.38.2 [PR #982](https://github.com/joyent/conch/pull/982) - `use the current pid, not the starting application's pid, in application_name` === * Branch: ether/v2-db-application_name * Revision: 88e6e2959 * Labels: bug, database, v2 People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-02-03T21:20:37Z Commits --- * [2e9b3d](https://github.com/joyent/conch/commit/2e9b3d20d40f0fa1c1c757e6f91424fa82369860) - `use the current pid, not the starting application's pid, in application_name` - - -
v3.0.0-b5
Release v3.0.0-b5 [PR #976](https://github.com/joyent/conch/pull/976) - `v3 b5 fixes` === * Branch: ether/v3-b5-fixes * Revision: 85e5d45ee * Labels: api, database, enhancement, security, tests, v3.0 > - truncate validation_result and validation_result_member tables in an earlier migration, so v3 deployment happens much faster > - ..which lets us add a unique constraint that was otherwise being held back until after v3.0.0, because a runtime script would need to be run to merge validation_result rows together (to add the uniqueness that is now being enforced) > - add POST /user/me endpoint > - fix use of ETag header for device caching (now that my mojo patch is in) > - lots of cleanup and additional tests surrounding user authentication and the use of JWTs and session cookies > > No breaking changes for clients, but a config name is changing. People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-01-17T18:16:40Z Commits --- * [880ce8](https://github.com/joyent/conch/commit/880ce8405fc545f212d35aee198d4ea064e7582e) - `speed up this migration during v2->v3 migration by skipping these huge tables` * [560b8d](https://github.com/joyent/conch/commit/560b8d191556b906c78a779acfdef495489d2e7f) - `enforce validation_result with a unique constraint` * [b1b39d](https://github.com/joyent/conch/commit/b1b39d19e2b932d082bbd9d039b82f42ed8696c1) - `fix spelling test` * [052ac9](https://github.com/joyent/conch/commit/052ac98f685a680152be40ff9c804a2002bcbeae) - `add POST /user/me` * [905256](https://github.com/joyent/conch/commit/9052560d1c94d80e92e5f4237b1a942969440c45) - `clean up routing documentation` * [55fccd](https://github.com/joyent/conch/commit/55fccd0655f5334f6c25921ce88aa7748de47b37) - `combine some duplicate code for user lookups into a common shortcut` * [3029b7](https://github.com/joyent/conch/commit/3029b7951b92753a3f7d8b0b09599f440475e614) - `remove use of possibly-undefined variable` * [14cf84](https://github.com/joyent/conch/commit/14cf848760c0f648d50313f18694b7dece047d11) - `switch GET /device/:id ETag to weak form` * [9c5992](https://github.com/joyent/conch/commit/9c59928ae96970fe2504a676ab3dd0c80fbcea3f) - `clean up uses of the application config` * [a3cf30](https://github.com/joyent/conch/commit/a3cf30788e5cec077dcbd57e9f93924fe0bf4fd0) - `actually test using two JWTs at the same time` * [b379b5](https://github.com/joyent/conch/commit/b379b5326b02b91665db06349f27664beddc1b26) - `test exactly which auth failure occurred` * [dfe2e1](https://github.com/joyent/conch/commit/dfe2e116a2bbded5c896982efacc8049627c773e) - `do not log use of session when JWT is also set and being used` * [6ab992](https://github.com/joyent/conch/commit/6ab9926fa015988d9ad8af9815b6057180641228) - `allow configuring the expiration time for persistent session cookies` * [5a3626](https://github.com/joyent/conch/commit/5a3626b95260b8d9c56293fd9726b537de7fcd3a) - `pull session management out into a separate sub` * [e005b7](https://github.com/joyent/conch/commit/e005b749c29d42594ab0c665e089c6c387a7df17) - `no longer store to the user session when logging in, by default` * [09209e](https://github.com/joyent/conch/commit/09209e355511a3f8ef3ee1fcb029b0cd96816edc) - `fix checking of refuse_session_auth` * [1a83f6](https://github.com/joyent/conch/commit/1a83f6c14cdf9546bc504bfc5b589bce0a20394c) - `rename persistent session variable from "user" to "user_id"` * [182914](https://github.com/joyent/conch/commit/182914d270e217dd205ffc00fc1a0def1b3e8117) - `make session cookie even more secure` - - -
v3.0.0-b4
Release v3.0.0-b4 [PR #968](https://github.com/joyent/conch/pull/968) - `v3 b4 fixes` === * Branch: ether/v3-b4-fixes * Revision: a1a6e139f * Labels: bug > Addresses issues experienced while debugging or on live production systems People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Reviewed By: [perigrin - DISMISSED](https://github.com/joyent/conch/pull/968#pullrequestreview-338769339) * Reviewed By: [dustinryerson - APPROVED](https://github.com/joyent/conch/pull/968#pullrequestreview-338823800) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-01-06T20:03:57Z Commits --- * [ad489c](https://github.com/joyent/conch/commit/ad489ce85c38b8a0d513d1fcc020c20477038299) - `fix undef error in development environments` * [eb703d](https://github.com/joyent/conch/commit/eb703d223b9482e7e62e0b539db1b8f242b4e1b3) - `do not log morbo content to log/command.log` * [64eb73](https://github.com/joyent/conch/commit/64eb73e9b9377597a7053eb94e8911104ffb1d1a) - `fix log message` * [a7c88a](https://github.com/joyent/conch/commit/a7c88a98193171f924819a76ee1ff589c6be903b) - `avoid race conditions if multiple connections are updating settings simultaneously` * [7e9b51](https://github.com/joyent/conch/commit/7e9b51865d147f40c2554ebd5145a553126b661a) - `tighten json schema for incoming device reports` * [c9e107](https://github.com/joyent/conch/commit/c9e1075aba6bb9f8e3e24e92590df3169a9c25d9) - `skip all local* dirs too` * [81edd6](https://github.com/joyent/conch/commit/81edd65ad80ef772ee617cb01b4e78ea9cdead81) - `code reviews will be requested manually as needed` - - - [PR #971](https://github.com/joyent/conch/pull/971) - `v3 b4 scripts` === * Branch: ether/v3-b4-scripts * Revision: 9eb6ab1de * Labels: database > Updates to scripts used for deployment. People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-01-07T20:07:06Z Commits --- * [21e1a8](https://github.com/joyent/conch/commit/21e1a82dd5dec6e37d6b2459f4ff3077357acfff) - `bump Time::Local prereq for y2.02k bug` * [a8ff8e](https://github.com/joyent/conch/commit/a8ff8eddbf185bee33689d109541b11f1f13072d) - `revert erroneous json schema modification` * [f74a04](https://github.com/joyent/conch/commit/f74a04ce49aee33ae9b068a5d35f6b9dd73ecbbd) - `new script to copy user_account and user_session_token data between databases` * [d6191e](https://github.com/joyent/conch/commit/d6191e818ad7e3ba6a0e03052a5e1d0bc7827f4f) - `create new organizations separately` * [fad0e9](https://github.com/joyent/conch/commit/fad0e906a6675dbf31036ed97920ab2c8442f088) - `update existing builds with org data too; only use orgs, not also users, for access` * [b881d0](https://github.com/joyent/conch/commit/b881d08ccad9fad1d61e278b73211a2efffd2b34) - `clean up diagnostics` - - - [PR #974](https://github.com/joyent/conch/pull/974) - `v3 b4 api enhancements and fixes` === * Branch: ether/v3-b4-api-enhancements-and-fixes * Revision: b99fbfff8 * Labels: api, docs, enhancement, v3.0 > Internal fixes: > - db connection labels include script name > - doc fixes > > Enhancements to existing endpoints: > - return 204 for most POSTs if nothing changed, plus a Location header in more instances > - order GET /build/\*/rack, GET /room/\*/rack results by rack name > - sort device disks by slot number in GET /device/:id_or_serial > - use GET /hardware_product/<sku or name or alias> in place of sku=.. etc > - include names in addition to ids in some GET responses (shortening some client code by removing the need to do a name->id lookup) > - do not list all users in GET /organization, only admins (avoid leaking privileged information) > - add ?with_device_phases and ?with_rack_phases to GET /build, GET /build/:id_or_name endpoints (allows more avoidance of database-intensive queries on overview pages) > - add X-Deprecated response header for endpoints to be removed soon (and send rollbar messages when such endpoints are used) > > New endpoints: > - GET /build/:id_or_name/device/pxe > - GET, POST, DELETE /rack/:rack_id_or_long_name/layout/:layout_id_or_rack_unit_start > - GET, POST, DELETE /room/:room_id_or_alias/rack/:rack_id_or_name/layout/:layout_id_or_rack_unit_start People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-01-10T21:27:10Z Commits --- * [530990](https://github.com/joyent/conch/commit/530990b33e4aea53096eb74dc7a16aeb5dc4963f) - `add endpoint: GET /build/:id_or_name/device/pxe` * [0d56fc](https://github.com/joyent/conch/commit/0d56fc6bafd9756779f0756d02528f08dde74917) - `return 204 for most POSTs if nothing changed` * [2f9882](https://github.com/joyent/conch/commit/2f9882af59ac2771064c5e6f50fc4733239404f1) - `order GET /build/*/rack, GET /room/*/rack results by rack name` * [17ef70](https://github.com/joyent/conch/commit/17ef70724ce94d0a5b86c5e6eb12720e9b47711d) - `include names in addition to ids in some responses` * [a43798](https://github.com/joyent/conch/commit/a437983d54ad51ba4811424f014bb81af0e2e31f) - `use GET /hardware_product/<sku or name or alias> in place of sku=.. etc` * [8b3339](https://github.com/joyent/conch/commit/8b3339c55f69a97a8439bc9c679b79fad4042e22) - `rename this sub` * [808f71](https://github.com/joyent/conch/commit/808f71b2814b7434641499edc05b65e9c56bf52b) - `sort device disks by slot number` * [c0c9ff](https://github.com/joyent/conch/commit/c0c9ff27b8bb2655720abc18684194c0436326c5) - `rename some controller actions for consistency` * [cb72d6](https://github.com/joyent/conch/commit/cb72d6ac98d4cbf0406a3150cf279961dcd049b2) - `update copy_user_data instructions` * [ca191a](https://github.com/joyent/conch/commit/ca191a0dc6716b50bfbdb83ccbfd8a02f16b11fa) - `include the script name in the db connection label` * [7decba](https://github.com/joyent/conch/commit/7decbac6e1f086143cdce6bd82027fd2aa6624fb) - `do not list all users in GET /organization, only admins` * [7077a3](https://github.com/joyent/conch/commit/7077a3baf0c0696e7fe7e95b5ee2d47e12729ec5) - `add device phase, rack phase counts to build endpoints` * [9153ff](https://github.com/joyent/conch/commit/9153ff06764cbce4638cb8c7d32ea8ab74751bca) - `fix some documentation` * [598bc5](https://github.com/joyent/conch/commit/598bc5a3a95fa3bc02424da94aaddf6421d75b47) - `mount .../layout/:rack_unit_start routes under existing rack endpoint prefixes` * [ed7c4b](https://github.com/joyent/conch/commit/ed7c4b39e09c478d4dbbd76f57cfd75796fa4229) - `fix url fragment generation in markdown documentation` * [0b6f96](https://github.com/joyent/conch/commit/0b6f966a11b5f9991d65b9ee943f8d0e8f5378d3) - `add X-Deprecated response header for endpoints to be removed soon` - - -
v2.38.1
Release v2.38.1 [PR #973](https://github.com/joyent/conch/pull/973) - `v2.38.1 fixes` === * Branch: ether/v2.38.1-fixes * Revision: 281f85251 * Labels: docs > just docs. People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-01-09T23:29:03Z Commits --- * [1d1736](https://github.com/joyent/conch/commit/1d173691fc3946f180ec681547edeb553938d15e) - `update copy_user_data instructions` * [b3b88c](https://github.com/joyent/conch/commit/b3b88c3c8b73b42c21339b05035b2e769c4015fc) - `fix generated docs` - - -
v2.38.0
Release v2.38.0 [PR #969](https://github.com/joyent/conch/pull/969) - `v2.38 fixes` === * Branch: ether/v2.38-fixes * Revision: 36c822719 * Labels: bug, device reports > Addresses issues experienced while debugging or on live production systems > > Similar to changes made for v3 in #968. People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-01-06T21:19:02Z Commits --- * [58a05b](https://github.com/joyent/conch/commit/58a05b5431439b13094309944354865766f0182f) - `avoid race conditions if multiple connections are updating settings simultaneously` * [8d1f24](https://github.com/joyent/conch/commit/8d1f249b66487718d68aa56d1010123630881faf) - `tighten rollbar fingerprint` * [efb3e1](https://github.com/joyent/conch/commit/efb3e18e6349b1bb5c28142a3ca2e59de016c7a7) - `tighten json schema for incoming device reports` * [a1d07b](https://github.com/joyent/conch/commit/a1d07be279a49c9d14f482cdd163a48795aacc43) - `skip all local* dirs too` * [e31ffc](https://github.com/joyent/conch/commit/e31ffcd22ca5c0b0425f14bb5d3241142387cb4f) - `code reviews will be requested manually as needed` - - - [PR #970](https://github.com/joyent/conch/pull/970) - `v2.38: more updates` === * Branch: ether/v2.38-more-updates * Revision: 3d0380ef8 * Labels: database, v2 > - script to copy user data between databases > - update prereq for y2.02k bug People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2020-01-07T20:00:22Z Commits --- * [647cdc](https://github.com/joyent/conch/commit/647cdc0a1ce5577c9a42734a5c1d5288f13e2907) - `new script to copy user_account and user_session_token data between databases` * [cd3bd3](https://github.com/joyent/conch/commit/cd3bd331e509c25a1dff7b1019e9376936942a1f) - `bump Time::Local prereq for y2.02k bug` - - -
v3.0.0-b3
Release v3.0.0-b3 [PR #952](https://github.com/joyent/conch/pull/952) - `v3 b3 api improvements` === * Branch: ether/v3-b3-api-improvements * Revision: a612b9e09 * Labels: api, database, enhancement, v3.0 > - improve output for GET /user/:target_user (closes #950) > - allow editing the build name in POST /build/:build_id_or_name > - add POST /organization/:id_or_name (for editing name, description) > - add GET /room/:datacenter_room_id_or_alias/rack/:rack_name, and necessary unique constraint (see also https://github.com/joyent/buildops-infra/issues/111) People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Reviewed By: [dustinryerson - DISMISSED](https://github.com/joyent/conch/pull/952#pullrequestreview-318689981) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2019-11-19T18:53:01Z Commits --- * [fa61b7](https://github.com/joyent/conch/commit/fa61b7fe37dfedbdab4631e1d84dd97b6428c428) - `fix uninitialized warnings seen via ansible` * [f6e97f](https://github.com/joyent/conch/commit/f6e97f537931628b45b81edd5fc792d09666df1f) - `collapse GET /user/:target_user build data together` * [a01ade](https://github.com/joyent/conch/commit/a01ade5c222f0ca83d17a7f68067a791c0415c6a) - `explain to myself why an as_subselect_rs is not needed here` * [31c2b9](https://github.com/joyent/conch/commit/31c2b94344422c40d2d08e2fa7a9a2cca98c3665) - `prohibit empty string in build and organization description` * [2b5a5c](https://github.com/joyent/conch/commit/2b5a5cb127c4c8fd554b60f18cbaf344f52e525d) - `allow editing the build name` * [3d81b1](https://github.com/joyent/conch/commit/3d81b15c4fff382e90a22208bc5ab460a743cfa0) - `add POST /organization/:id_or_name` * [e4ce53](https://github.com/joyent/conch/commit/e4ce53ff46fbfe329acf45096fe1524cd53fc5fb) - `remove field that never appears in this result` * [5538c5](https://github.com/joyent/conch/commit/5538c51a80291a53f5d0ddb450f4616b7167dc62) - `clarify what this endpoint returns` * [8d4488](https://github.com/joyent/conch/commit/8d448872b98764d25ccd79cab254121b7291a864) - `tighten this schema` * [5e4b86](https://github.com/joyent/conch/commit/5e4b86f7e10b1e8887c7c342a6669d95dec00468) - `add GET /room/:datacenter_room_id_or_alias/rack/:rack_name` - - - [PR #958](https://github.com/joyent/conch/pull/958) - `v3 validation fixes` === * Branch: ether/v3-validation-fixes * Revision: 747047540 * Labels: api, breaking, bug, database, needs-shell, needs-ui, refactor, tests, v3.0, validation > Many fixes pertaining to validations and hardware products. > > - add the newer drive validations to the stock loadout used when creating a new database > - fix SataSsdNum validation to check the proper product field for legacy hardware > - set more default values for some hardware drive settings > - fold hardware_product_profile into hardware_product (clients using `/hardware_product` endpoints must be fixed) > - fix DeviceProductName endpont to validate the actual vs. intended hardware again (broken since #903, v3.0.0-a7) People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2019-12-04T17:17:01Z Commits --- * [c4fa4a](https://github.com/joyent/conch/commit/c4fa4a3db7bc7e193f9c731a1559a2ddcc761553) - `switch to more standard markdown` * [d0242a](https://github.com/joyent/conch/commit/d0242a1793414e9e2272057826f3ee790c3883db) - `add caveat to these docs` * [c55093](https://github.com/joyent/conch/commit/c550931302db0a8178a66ac812f6aa8cf45ee8cd) - `fix: add new HddSize validation when creating new server plan` * [b1ecaf](https://github.com/joyent/conch/commit/b1ecaf940d35cfe826b2bbd77fcfc8d0601e2e19) - `fix: add <drive>Num validations when creating new server plan` * [e77491](https://github.com/joyent/conch/commit/e7749196799486b2d5125b4bf12b12386dda1f22) - `fix: wrong hardware_product field was being checked for this legacy product` * [840b7c](https://github.com/joyent/conch/commit/840b7c4e292ceaeeffab5b755f7084516469f3b6) - `remove fixture data that is never used` * [670806](https://github.com/joyent/conch/commit/6708068ad4c3b0dec1fb21d1be1e5c9b626db765) - `make some validation numbers not nullable with sane defaults, for easier future transition` * [5b94a6](https://github.com/joyent/conch/commit/5b94a67e1b3ce621a5f649c4d288ae535c385df0) - `fold hardware_product_profile into hardware_product` * [7c52d6](https://github.com/joyent/conch/commit/7c52d6801fed5bd126fa31142001f4966006622a) - `fix fixtures to allow for a different hardware_product for the rack_layout than the device` * [29fb52](https://github.com/joyent/conch/commit/29fb527a5b4d7303b0a6469b4fc76bf5b05a5c19) - `rework construction of test validation fixtures, nesting (most) data under device` * [971f0d](https://github.com/joyent/conch/commit/971f0d1bc04aee35d0f23a9190a6108736a5edc1) - `fix: DeviceProductName validation verifies the hardware against the layout again` - - - [PR #961](https://github.com/joyent/conch/pull/961) - `v3-b3 build endpoint revisions` === * Branch: ether/v3-b3-build-endpoint-revisions * Revision: 640e72905 * Labels: api, breaking, needs-shell, needs-ui, v3.0 > Contains visible changes to some build-related endpoints. > > - GET /build/*/device no longer includes devices actually located in other builds, even if their rack is in this build. > - allow POST /rack/* to change a rack's build > - allow POST /build/* to change a device's or rack's build > - rack is always created with a build_id > - remove DELETE /build/*/rack endpoint (it is no longer possible to nullify rack.build_id) People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2019-12-05T23:03:06Z Commits --- * [31443f](https://github.com/joyent/conch/commit/31443f56a9ad50db082b7a3c4c796b08b763a164) - `GET /build/*/device now omits devices in racks in this build if the device is in another build` * [2305a1](https://github.com/joyent/conch/commit/2305a10bbbab48433cc7b68035715fb22e683da0) - `add missing error handling in build-device endpoint` * [172bc7](https://github.com/joyent/conch/commit/172bc7e6785b51175252ce013ae6b6db39e2db19) - `permit POST /build/* endpoints to change a device's or rack's build` * [e084ec](https://github.com/joyent/conch/commit/e084ecf3470493d58b22ad7a099dab22e1d9995d) - `remove DELETE /build/*/rack endpoint` * [657642](https://github.com/joyent/conch/commit/6576427eaa35ccb8511734e76bca827337371913) - `always create a rack with a build_id, and allow changing it` * [30703d](https://github.com/joyent/conch/commit/30703daf6eb7263160104f7b4a86ff6185381760) - `do not fetch needless hardware data here` * [7b48d8](https://github.com/joyent/conch/commit/7b48d8d0c739c76e9a63c11aed3cc3789f056725) - `for v2->v3 data migration, also create a DCOps org and a spares build` * [15d677](https://github.com/joyent/conch/commit/15d6770b6c851693a86c9691b9163d993337e4d6) - `fix: order of operations for require_role default` * [13f8e4](https://github.com/joyent/conch/commit/13f8e4b27134f0d454e55df2003b5e25355e6ff2) - `require the rw role for the device(s) or rack being added to the build` - - - [PR #962](https://github.com/joyent/conch/pull/962) - `v3 b3 misc fixes` === * Branch: ether/v3-b3-misc-fixes * Revision: ad3029709 * Labels: docs, refactor, tests > Miscellaneous fixes that do not alter endpoint specifications. > > - better rollbar data for large/long message alerts > - better wording in some documentation and comments > - improved logging in some error paths > - some improved tests > - fixed some json schemas to more properly constrain to acceptable data values People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Reviewed By: [dustinryerson - DISMISSED](https://github.com/joyent/conch/pull/962#pullrequestreview-328405032) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2019-12-09T21:08:18Z Commits --- * [be561a](https://github.com/joyent/conch/commit/be561a1da8896cbc1b568393c4f2c9f14ec5a348) - `more complete endpoint data for large/long message alerts` * [8c06ad](https://github.com/joyent/conch/commit/8c06ad2d505b0d6d4834df9f12c86bfd23b2a148) - `improve the occurrence grouping mechanism for long/large message alerts` * [a0b9c8](https://github.com/joyent/conch/commit/a0b9c8c9520ada970ce6775ca54617ee15104c2e) - `clarify comment` * [1c60d0](https://github.com/joyent/conch/commit/1c60d08156a71d305c7288c7f27d112f553adc9d) - `explicitly return a value from chained action, rather than evaluating the resultset` * [165742](https://github.com/joyent/conch/commit/16574228f8449b3e447f3c12de151dee6147c16e) - `use faster access method for query params` * [272e95](https://github.com/joyent/conch/commit/272e950e49f61c025663ab3bcecc25b7e99af0d2) - `$args->{exception} is no longer populated, since Mojolicious 7.82` * [9c8a8e](https://github.com/joyent/conch/commit/9c8a8ec686866cf83d4936d5f7618805fdcab921) - `ensure strict utf8 checks are used in these tests` * [b9cdb9](https://github.com/joyent/conch/commit/b9cdb932adcf83063e8098c3f162b2bd8b7811e2) - `minor doc fixes` * [cc25da](https://github.com/joyent/conch/commit/cc25dafb45b98fbcf2a561d59453608b251e4cc7) - `fix documentation for these endpoints` * [f487b7](https://github.com/joyent/conch/commit/f487b784687c162abf16bb5283996411fe91d264) - `remove unnecessary collapse clause` * [fa2b8c](https://github.com/joyent/conch/commit/fa2b8cd1d92d3c34721a1a18d0861411e676977b) - `fix these json schema type definitions, path specifications` * [3fb6a4](https://github.com/joyent/conch/commit/3fb6a4a91a9ea786b53c3bfca14b415393c7c5c4) - `fix controller action documentation` * [67e5c8](https://github.com/joyent/conch/commit/67e5c8a06bfb7d1bf367f6a900cc068b845af3ba) - `log when an object is not found` * [8eb97d](https://github.com/joyent/conch/commit/8eb97d28bdde208670d5cdaa09514705df7fff9b) - `rewrite ->exists helper for efficiency` * [7fa28e](https://github.com/joyent/conch/commit/7fa28e1a2c25343ceb53548da83e080c22b5b69a) - `when creating builds from workspaces, also populate user_build_roles` - - - [PR #965](https://github.com/joyent/conch/pull/965) - `v3 b3 room+rack improvements` === * Branch: ether/v3-b3-room-rack-improvements * Revision: b0a38498e * Labels: api, breaking, database, enhancement, needs-shell, needs-ui, v3.0 > Many improvements and additions to endpoints for racks and rooms. > > - room.vendor_name is now a required (not-nullable) column > - whenever you could do `<method> /rack/:rack_id/*`, you can do `<method> /rack/:rack_id_or_full_name/*`, where full name is the room vendor_name + ':' + rack name (e.g. "DC12:1F:211250:0101"), and also `<method> /room/:id_or_alias/rack/:rack_id_or_short_name_or_full_name/*` > - wherever you could do `<method> /room/:id_or_alias/:rack_name/*`, you can do `<method> /room/:id_or_alias/rack/:rack_id/*` and `<method> /room/:id_or_alias/rack/:full_rack_name/*` > - open up `<method> /room/:id_or_alias` endpoints to non-sysadmins, by checking the user role on rack(s) located in the room (racks without user access will be omitted from results) > - `GET /rack_role/name=:name` is now `GET /rack_role/:name` > - `GET /room/*/racks` is now `GET /room/*/rack` > - `GET /rack` is removed entirely (racks should be fetched from the build, room or workspace endpoints) > - the DeviceLocation schema now contains more useful information (affects `GET /device/:id_or_serial`, `GET /device/:id_or_serial/location`) > - pxe endpoints now contain more useful location data People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2019-12-12T17:32:10Z Commits --- * [0c71dd](https://github.com/joyent/conch/commit/0c71dde10c9b92f5c760fb11ce255a0fef58e680) - `verify datacenter_id, alias before creating, updating room` * [732dd8](https://github.com/joyent/conch/commit/732dd8a665366ffa98ee321d49de5bdfeef2b80c) - `simplify use of stashes` * [f72e60](https://github.com/joyent/conch/commit/f72e603ab819e01a5478371fbe85c75c9aa2aae1) - `test all changed fields` * [63ac97](https://github.com/joyent/conch/commit/63ac9741a36a027ee9743fc5901feceea5c65eb1) - `support /room/*/rack/:rack_id as well as /room/*/:rack_name` * [638efa](https://github.com/joyent/conch/commit/638efa3886e9c8cde3924c997d741d47a7b38712) - `allow non-sysadmin access to GET /room/:id_or_alias endpoints` * [67bb7a](https://github.com/joyent/conch/commit/67bb7af6412a80573470227fa80dfd716d1228ff) - `the constraint may not exist yet, if migration 95 never ran` * [92ab28](https://github.com/joyent/conch/commit/92ab28b4d1289fd8c930c3282d93dacf6b1b78e1) - `ensure that datacenter_room.vendor_name is unique and not null` * [3c1928](https://github.com/joyent/conch/commit/3c1928ca6fe618723a138f9a24e2786dce96e21b) - `fix GET /rack_role/:name to drop "name=" from path` * [5d07e7](https://github.com/joyent/conch/commit/5d07e77d1c38ca00d1d5c564c8ef07b66a5eb353) - `include Location headers in responses to all room- and rack-specific endpoints` * [e34f94](https://github.com/joyent/conch/commit/e34f94be3790df967b1814995d65107094e4aca6) - `support full rack name in <method> /rack/:rack_id_or_name` * [35a51e](https://github.com/joyent/conch/commit/35a51e22bbce68c05373e78aab85b2adb57f7920) - `mount all rack-specific endpoints under /room/:room_id_or_alias/rack/* also` * [e1f30f](https://github.com/joyent/conch/commit/e1f30f5008e930320a752792aab667cdc5890f9b) - `remove GET /rack` * [261925](https://github.com/joyent/conch/commit/2619251068b7a89aa1b6f8c0f623282043cc53d8) - `move GET /room/*/racks to ../rack, and * .../rack/*/layouts to */layout` * [39db63](https://github.com/joyent/conch/commit/39db6372faf9a98b47c0368936ce9ead33bfba1e) - `modify DeviceLocation schema to provide more relevant information` * [9f1baf](https://github.com/joyent/conch/commit/9f1bafeab02fd610c5d04ac8a3c0d8f5166713e8) - `make pxe data include more relevant location data` - - - [PR #967](https://github.com/joyent/conch/pull/967) - `v3 b3 yet more fixes` === * Branch: ether/v3-b3-yet-more-fixes * Revision: be6e63c08 * Labels: api, database, enhancement, refactor, tests, v3.0 > Mostly non-breaking changes for v3.0.0-b3. > > - feature: include Last-Modified and Expires headers when returning an auth token (This will make it easier for clients to keep using the same auth token for its full lifetime.) > - user_relay_connection is folded into relay > - fixes for processing device reports: ensure the relay was registered by the sending user; do not ever update decommissioned devices; update its hardware product if the report disagrees with history, rather than erroring > - soften json schema for device settings to allow the payload to specify a numeric or boolean value, as well as string > - organization_workspace_role and all related code (quite a lot of it) is sent to the dustbin > - efficiency improvements to entity role check queries People --- * Author: [karenetheridge](https://github.com/karenetheridge) * Merged By: [karenetheridge](https://github.com/karenetheridge) * Merged: 2019-12-13T16:55:09Z Commits --- * [838480](https://github.com/joyent/conch/commit/838480df170a24bdb555384f8060dd295f7faeaa) - `whitespace` * [532b87](https://github.com/joyent/conch/commit/532b8768b3232bc2615518dc0b4d941a7b87d582) - `feature: include Last-Modified and Expires headers when returning an auth token` * [a96a2d](https://github.com/joyent/conch/commit/a96a2dc6527991980e320e92201c877fcae4c69e) - `give different error messages for entity vs. endpoint not found` * [dd924d](https://github.com/joyent/conch/commit/dd924d4d086150933e7ce89eca2c2d91a55b17fb) - `move user_relay_connection into relay, for simplicity` * [574a35](https://github.com/joyent/conch/commit/574a35dfdce1a5214a186bb6a5f230ea1ed736e4) - `when processing device report, also check the relay was registered by the sending user` * [973b2e](https://github.com/joyent/conch/commit/973b2e63b1affe4dff65833cb5e496a8ce20f7d1) - `decommissioned devices should never be updated` * [8172a3](https://github.com/joyent/conch/commit/8172a3d472121759662bbaca39158d44faca1cf5) - `on device report receipt, update its hardware_product` * [3c313a](https://github.com/joyent/conch/commit/3c313a34c317cf62e699029b37257f1da472f512) - `properly test the row count` * [9e1592](https://github.com/joyent/conch/commit/9e15928bead8f01bdd525b2e18cb7ee0bee19c67) - `remove organization_workspace_role table and all related endpoints, code` * [7fdd9e](https://github.com/joyent/conch/commit/7fdd9ec97bd7c23c5876e9804c62e45f6c290d47) - `more json schema fixes` * [479d17](https://github.com/joyent/conch/commit/479d17ad1ec4481c88145e524a5519e60752e0e1) - `limit these queries to fewer columns` * [04bdb2](https://github.com/joyent/conch/commit/04bdb25de67fc3f2223d4b966183c432c42e3a65) - `allow device setting values to be numeric or boolean as well as stringy` - - -