Validate resource existence before validating data sent

This commit is contained in:
Dane Everitt 2018-03-01 20:00:14 -06:00
parent 070239abcf
commit 5f6c153537
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 34 additions and 14 deletions

View file

@ -10,6 +10,9 @@ This project follows [Semantic Versioning](http://semver.org) guidelines.
* Fix validation error returned when no environment variables are passed, even if there are no variables required.
* Fix improper permissions on `PATCH /api/servers/<id>/startup` endpoint which was preventing enditing any start variables.
### Changed
* Changes order that validation of resource existence occurs in API requests to not try and use a non-existent model when validating data.
### Added
* Adds back client API for sending commands or power toggles to a server though the Panel API: `/api/client/servers/<identifier>`
* Added proper transformer for Packs and re-enabled missing includes on server.