Releases: joyent/conch-api
v2.19.3
v2.20.1
release v2.20.1.
make recursive workspace queries more efficient by removing duplicate workspace ids in subquery
fix remaining use of CMM that I missed in 8b61d500 (#432)
remove is_uuid format that should have been removed in 53dead81 (#467)
skip scratch files when loading sql
add missing PKs to user_workspace_role, workspace_datacenter_{rack,role}
This will let us delete user_workspace_role records in "conch clean_permissions".
add user id to output of GET /workspace/:workspace_id/user
closes #468.
v2.20.0
Stable Release v2.20.0
PR #429 - new endpoint to list all users+workspaces: GET /user
- Branch: ether/get-all-users
- Revision: ca04c18
- Labels: enhancement, needs-shell
closes github #396.
People
- Author: karenetheridge
- Merged By: sungo
- Merged: 2018-09-13T14:19:51Z
Commits
- 56a10a -
ensure tabs stay out of the yaml files
- 7e6319 -
verify email format in json schema
- 16bcc7 -
add more fields to the result of GET /user/<id or email>
- 6ea748 -
new endpoint to list all users+workspaces: GET /user
PR #430 - Changelog Generator
- Branch: sungo/changelog-generator
- Revision: 71e7917
- Labels: docs
New tools to generate shiny changelogs. Also remove some out of date sample config files.
People
- Author: sungo
- Merged By: karenetheridge
- Merged: 2018-09-13T18:09:19Z
Commits
PR #432 - DBIC infrastructure improvements
- Branch: ether/20180913-dbic-infrastructure
- Revision: 2d1cfc8
- Labels: database, refactor
There are no breaking changes here; this is all internal infrastructure improvements.
People
- Author: karenetheridge
- Merged By: sungo
- Merged: 2018-09-13T19:36:36Z
Commits
- d638ac -
use faster related_resultset when possible
- cb9206 -
add automatic "alias" attribute to db_<source>s resultset helper
- 1adfee -
be more explicit with options in dump rule
- 1b6cf5 -
join tables should not have nullable FKs
- 4ab3b2 -
remove unused columns from subquery, and rename internal alias
- d019c5 -
remove empty resultset class
- 90d494 -
move resultset method to a more intuitive location
- 8b61d5 -
use next::method (via "mro") instead of Class::Method::Modifiers
PR #437 - speed up device_settings queries
- Branch: ether/device_settings-index
- Revision: a2a0a21
- Labels: database, high priority
- add index on device_id
- search using existing name+(deactivated is null) index
- abort earlier when there are no changes to a single setting
closes #433.
People
- Author: karenetheridge
- Merged By: karenetheridge
- Merged: 2018-09-14T18:23:19Z
Commits
- 400033 -
speed up device_settings queries
PR #448 - port conch-stats endpoints to conch
- Branch: ether/conch-stats
- Revision: cc0a5f8
- Labels: enhancement
closes #434.
The only endpoint being used presently is /workspace/:workspace/device-totals.
This change also requires a config change (see buildops-infra).
People
- Author: karenetheridge
- Merged By: perigrin
- Merged: 2018-09-18T14:52:29Z
Commits
- 99cf80 -
create a new parent class for our result classes
- c770ca -
add ->self_rs method to all result classes
- c4c424 -
port conch-stats endpoints to conch
PR #449 - search for device by arbitrary setting
- Branch: ether/search-device-by-setting
- Revision: 40d59eb
- Labels: enhancement, needs-shell
..by extending the existing GET /device/?foo=bar endpoint.
closes #431.
People
- Author: karenetheridge
- Merged By: perigrin
- Merged: 2018-09-18T15:29:28Z
Commits
- a4d9b6 -
only search for active devices
- 233d4b -
search for device by arbitrary setting
- 77ea90 -
fix log and error message on no match
PR #450 - remove all uses of IO::All
- Branch: ether/remove-IO-All
- Revision: 6204e70
- Labels:
closes #445.
People
- Author: karenetheridge
- Merged By: karenetheridge
- Merged: 2018-09-18T20:29:27Z
Commits
- 878539 -
remove all uses of IO::All
PR #451 - convert ghch from LWP to HTTP::Tiny
- Branch: ether/lwp-to-http-tiny
- Revision: b655cd3
- Labels:
...and repair cpanfile.snapshot
closes #446.
People
- Author: karenetheridge
- Merged By: karenetheridge
- Merged: 2018-09-19T16:22:12Z
Commits
- 5fcd5b -
convert ghch from LWP to HTTP::Tiny
- 071c15 -
upgrade Data::Printer to latest alpha to get off of File::HomeDir
PR #455 - a bit more json schema validation
- Branch: ether/json-schemas
- Revision: 08b605d
- Labels:
People
- Author: karenetheridge
- Merged By: perigrin
- Merged: 2018-09-24T20:11:51Z
Commits
- 28e9fc -
minor json schema cleanup and notes
- 3566ba -
add input validation to create workspace, invite user endpoints
PR #457 - Separate workspace 'admin' privileges from system administrator privileges
- Branch: ether/user-is_admin
- Revision: 97b4a73
- Labels: database, needs-shell
- requires a config change in buildops-infra - see joyent/buildops-infra#54.
- closes #443.
People
- Author: karenetheridge
- Merged By: karenetheridge
- Merged: 2018-09-25T19:18:10Z
Commits
- 31bb4e -
add default permission checks on /workspace/:workspace_id/* endpoints
- f3f677 -
factor out global_auth(), as nothing else uses it
- 7211d6 -
remove erroneous (and harmless, but useless) $self references
- 923b81 -
add user_account.is_admin
- 537f87 -
disambiguate is_admin helper by renaming to is_workspace_admin
- d49211 -
more disambiguation: rename "global admin" to "system admin"
PR #462 - Prep for recursive workspaces
- Branch: ether/prep-for-recursive-workspaces
- Revision: 6041229
- Labels: database
part one of work for #373. No new endpoints, but a few queries may get faster.
People
- Author: karenetheridge
- Merged By: sungo
- Merged: 2018-09-25T20:23:25Z
Commits
v2.19.2
HOTFIX: speed up device_settings queries
- 4000335 speed up device_settings queries
HOTFIX: speed up device_settings queries
- 4000335 speed up device_settings queries
v2.19.0
PR #415 - fix reference to column name
- Branch: ether/fix-hardware_product_id
- Revision: dba039c
- Labels: bug
This addesses rollbar exception #52.
People
- Author: karenetheridge
- Merged By: sungo
- Merged: 2018-09-05T21:01:18Z
Commits
- 4faad1 -
fix reference to column name
PR #414 - separate out the device_report query from the rest
- Branch: ether/fix-slow-device-report-prefetch
- Revision: 5e135d9
- Labels: bug
This is apparently causing slowdowns on staging.
People
- Author: karenetheridge
- Merged By: sungo
- Merged: 2018-09-05T21:20:36Z
Commits
- 92ec76 -
separate out the device_report query from the rest
PR #416 - this field is different in the input payload vs. the schema
- Branch: ether/morefix-hardware_product_id
- Revision: e2df915
- Labels: bug
People
- Author: karenetheridge
- Merged By: sungo
- Merged: 2018-09-05T21:49:13Z
Commits
- 9ba4d8 -
this field is different in the input payload vs. the schema
PR #413 - burn device_validate, device_validate_criteria tables, phase 2
- Branch: ether/nuke-device_validate-phase2
- Revision: f3cbe71
- Labels: database
Drop tables in the db schema.
For github #397.
People
- Author: karenetheridge
- Merged By: sungo
- Merged: 2018-09-05T22:23:01Z
Commits
- cb2fa0 -
fix db reset script
- e572a4 -
burn device_validate, device_validate_criteria tables, phase 2
PR #420 - modify hardware_vendor.name constraint to allow for deletions
- Branch: ether/hardware_vendor-unique-name
- Revision: 879638c
- Labels: bug, database
for GH #419.
People
- Author: karenetheridge
- Merged By: sungo
- Merged: 2018-09-06T19:49:01Z
Commits
- 79d69b -
modify hardware_vendor.name constraint to allow for deletions
PR #422 - More json schema fixes
- Branch: ether/more-json-schema-fixes
- Revision: 9690d73
- Labels:
People
- Author: karenetheridge
- Merged By: sungo
- Merged: 2018-09-07T14:27:33Z
Commits
- 48959f -
fix json schema for WorkspaceRackSummary: VALID is a possible status type
- a6dd6b -
fix json schema for WorkspaceProblems
PR #421 - in Controller::DatacenterRack#update, if the user provides a "role" parameter, map it to the new db field name
- Branch: sungo/rack-update-role-bug
- Revision: 81c2715
- Labels: bug
People
- Author: sungo
- Merged By: karenetheridge
- Merged: 2018-09-07T15:42:01Z
Commits
- 2ae002 -
in Controller::DatacenterRack#update, if the user provides a "role" parameter, map it to the new db field name
PR #417 - rename columns for rack unit size, position; add FK; adjust formatting of WorkspaceRack response
- Branch: ether/rack_unit_size_position
- Revision: 196cf47
- Labels: api, database, needs-ui
renames some db columns for clarity, and changes the formatting of the
GET /workspace/:workspace_id/rack/:rack_id
endpoint.@perigrin this mostly impacts you, so I don't want to merge this until you've signed off on it.
People
- Author: karenetheridge
- Merged By: karenetheridge
- Merged: 2018-09-07T20:59:24Z
Commits
- a4549d -
rename columns for rack unit size, position; add FK
- 1c4f0d -
adjust formatting of WorkspaceRack response
PR #424 - generate CSV data for /workspace/:id/rack/:id
- Branch: ether/datacenter_rack_layout-with-csv
- Revision: 84b9fda
- Labels: enhancement, needs-ui
closes github #360.
People
- Author: karenetheridge
- Merged By: karenetheridge
- Merged: 2018-09-11T17:31:54Z
Commits
- c9f8e2 -
add ->hri, for fetching raw data structures
- 740505 -
generate CSV data for /workspace/:id/rack/:id
PR #425 - remove endpoint: GET /workspace/:workspace_id/validation_state
- Branch: ether/remove-validation_state-endpoint
- Revision: 5d31a6b
- Labels: api, breaking
for github #400
People
- Author: karenetheridge
- Merged By: karenetheridge
- Merged: 2018-09-11T18:09:33Z
Commits
- 7bd4a1 -
remove endpoint: GET /workspace/:workspace_id/validation_state
PR #426 - burn device_role, device_service and related join tables and FKs
- Branch: ether/burn-device_role-and-device_service
- Revision: 260a0d7
- Labels: api, breaking, database
closes github #423.
People
- Author: karenetheridge
- Merged By: sungo
- Merged: 2018-09-11T18:19:18Z
Commits
- 86130e -
burn device_role, device_service and related join tables and FKs
PR #428 - Documentation updates
- Branch: sungo/docs
- Revision: cb8bb41
- Labels: docs
People
- Author: sungo
- Merged By: karenetheridge
- Merged: 2018-09-12T20:48:26Z
Commits
- 335858 -
remove the obsolete openapi spec docs
- 84ee15 -
remove the old notes
- 3b3d0b -
remove some old unused config files
- e0e862 -
a write up on how conch api development works these days
- b56d08 -
update the readme
v2.18.2
v2.18.1
v2.18.0
-
cf14e80 Merge pull request #411 from joyent/ether/no-login-by-name
- 2101b7b remove ability to /login via user_account.name
-
50ff5f2 Merge pull request #410 from joyent/ether/device-hostname
-
2afa5cd Merge pull request #409 from joyent/ether/json-schema-fixes
-
d2f367b Merge pull request #406 from joyent/ether/datacenter_rack-new-columns
- 64b4d37 add serial_number, asset_tag to datacenter_rack
- 0f32113 validate output for GET /workspace/:workspace_id/rack
- 25a52f9 validate input for POST /workspace/:workspace_id/rack
- 61c4a33 these helpers are no longer used by any models
- 68bfd95 convert and remove Conch::Model::DatacenterRackRole
- df01f3b convert and remove Conch::Model::Datacenter
- bcd5199 convert and remove Conch::Model::DatacenterRack
- e2004f8 convert and remove Conch::Model::DatacenterRackLayout
- e9d5b14 convert and remove Conch::Model::DatacenterRoom
- 76cc94f fix: make sure our time module is loaded
-
442f555 Merge pull request #408 from joyent/ether/morefix-workspace-rack-output
-
8d49e07 Merge pull request #407 from joyent/ether/fix-workspace-rack-output
- 414fe53 restore "role" field in output of GET /workspace/:workspace_id/rack/:rack_id
-
d6ac938 Merge pull request #405 from joyent/ether/device-interface-routes
-
1e1f25b Merge pull request #404 from joyent/ether/nuke-device_validate-phase1
- 7df8005 burn device_validate, device_validate_criteria tables, phase 1
-
8a2d228 Merge pull request #402 from joyent/ether/fix-unique-user-email
-
817b728 Merge pull request #403 from joyent/ether/fix-validation-death-spiral
- 44063c9 fix postgres + perl consuming memory on the device_validates query
-
9b6bb85 Merge pull request #357 from joyent/ether/device_setting-permissions
-
9cf01ce Merge pull request #395 from joyent/ether/strip-device-models
- b4a5d7d convert and remove Conch::Model::DeviceSettings
- 24a50c7 convert and remove all Conch::Model::Device asset mutators
- bd32959 convert and remove Conch::Model::DeviceReport
- a0dc1df convert and remove Conch::Model::Device->lookup_for_user
- f12f517 convert and remove Conch::Model::DeviceService
- 23c37e8 convert and remove Conch::Model::DeviceRole
- 6767383 remove all uses of the "current_device" stash
- ad933df move this query to a resultset method, as it comes up a few times.
- 2c5036e avoid conflicting "me" aliases in final query