Checking npm-Version on npm-install
See: https://github.com/balderdashy/sails/pull/1742
allow to use populate feature with custom route, either by:
1. set `populate: true` on route config: { controller: 'User', action: 'find', populate: true }
2. use query param `populate=fk1,fk2,...,fkn` with route config: { controller: 'User', action: 'find' }
3. use actionUtil.populateEach() in custom controller action with route config: { controller: 'User', action: 'customAction' }
Removed unused dep
Removed more unused deps
Removed more unused deps
So.. this seems to be needed
fixes path resolutions in moduleloader
Use localDiskDb unless otherwise configured
back to Merge defaults 0.1.0 for now
Important parentheses
Move CSRF route binding into initialize function
This way it takes place *after* the views hook does its bindings, including adding res.view
closes #1983
Merge branch 'master' of github.com:balderdashy/sails
Add req.headers.origin for all x-domain socket requests
Don't add req.headers.origin to socket requests in CORS hook
This is now being handled in a more global manner in the sockets hook
Also ignore /csrfToken requests in CORS hook when CSRF hook is enabled
Fixed CORS+CSRF tests
Remove reference to req.csrfToken in CORS hook
updating package.json>devDependencies>microtime to ~0.6.0
Added ability to add custom log message to router "bind" method, to make it easier to tell what's being bound.
Added "log" option to controller action and policy functions
Now with sails lift --silly, you can see what is being bound to each route--no more mystery double log messages.
Updated the way the router binding log works
Use "_middlewareFn" key of the bound function if available, so we only have to use the options hash as a last resort
Added _middlewareFn key and/or function names wherever possible in hooks