Merge pull request #195 from 18F/devel

Release 0.0.12
Switching Model.done() syntax to Model.exec for migration to Sails 0.10.

The done method has been deprecated in favor of the exec method. This
change was implemented to support the migration to Sails 0.10.

See issue #217.
Switching Model.done() syntax to Model.exec for migration to Sails 0.10.

The done method has been deprecated in favor of the exec method. This
change was implemented to support the migration to Sails 0.10.

See issue #217.
Merge branch 'devel' for 0.0.14 release
Merge branch 'master' of https://github.com/18F/midas into devel-sails10
Merge branch 'devel' of https://github.com/18F/midas into devel-sails10
Added a findOne action to controllers that expose the find action.

Sails .10 added a findOne action that is invoked when the route
GET /controller/:id is accessed. Previously, these went to the find action.
The functionality for this action is the same as the find action.

See #217
Adding checks for undefined at two locations that were returning errors.
Merge branch 'devel' of https://github.com/18F/midas into devel-sails10
Added findOne routes to the policies config file.

The accessibility of the findOne action should be the same as the
find action. This change explicitly sets them to be the correct
permissions.

See #217
Removed the hard-coded id of 1 from the admin test

The tests expected the admin user to always be created with an id 1. This
isn't always the case. Now the id is pulled from the user object returned
from the server.

See #217
Upgrading to Sails .10.

Changing the package.json file to reference current versions of sails,
sails-disk, and sails-postgresql. The version of sails-postgresql included
does not support soft deletes, which will need to be re-added. This commit
also updates several config files to match the current Sails standard
structure.

See #217
Updating responses to follow Sails .10 model.

For Sails .10. The custom server responses were moved from the config
directory to a new api/responses directory. These files were moved over.

See #217
Modifying the way services are loaded by Sails

Sails .10 changed the way services are loaded. To make our directory
structure work, they need to be reloaded with a new set of options.
This reload is facilitated by the bootstrap script.

See #217
Working around a Sails 10 bug so tests can succeed

Sails .10 does not return a 201 from the create action. Modifying the
tests that expect a 201 to accept a 200 instead. Also added a big TODO
to restore the behavior when Sails core corrects the bug.

Fixes #217
Changing the model migration strategy.

Previously, the migration strategy was set to 'drop'. With that setting,
the tags created in make init would be dropped when sails lift was run.
Setting to alter corrects that behavior.
Adding sails-build-dictionary explicitly for Travis.

Travis complained about missing the module, which is a dependency of
Sails itself. Adding it explicitly should get around the issue.
Merge pull request #230 from DavidEBest/devel-sails10

Creating the Sails .10 devel branch