{"push_id":1090744922,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"4906611ccce0c3c36bda54fd2c21c7042d7a2616","before":"e3cd65f8d847dabb34bcab8b965ceb3af86c01fe","commits":[{"sha":"4906611ccce0c3c36bda54fd2c21c7042d7a2616","author":{"email":"0d833fe7fba004f25db7699eb75531e13779c30c@gmail.com","name":"Michael Leanos"},"message":"fix(users): GitHub strategy missing email (#1250)\n\nFixes an issue with an empty/missing/null Email coming from GitHub's\r\nOAuth call response.\r\n\r\nAlso, introduces the `sparse` index option on the User model's Email\r\nfield. This will ensure that we can have multiple User documents without\r\nthe Email field.\r\n\r\nAdds a server-side User model test for the sparse index setting on the\r\nemail field.\r\n\r\nConfirms that User documents without the email field are not indexed,\r\nillustrating the sparse option on the schema's email field works\r\nproperly.\r\n\r\nAdded the dropdb task to the Gulp test:client & test:server tasks, to\r\nensure we have a clean database & that any indexes are rebuilt; this\r\nwill ensure any Schema changes (in this case the email index is rebuilt using\r\nthe sparse index option) are reflected when the database is started again.\r\n\r\nAdded a UPGRADE.md for tracking important upgrade information for our\r\nuser's to be aware of, when we introduce potentially breaking changes.\r\n\r\nIncluded an explanation of the Sparse index being added, and how to apply it\r\nto an existing MEANJS application's database.\r\n\r\nAdds a script for dropping the `email` field's index from the User\r\ncollection.\r\n\r\nRelated #1145","distinct":true,"url":"https://api.github.com/repos/meanjs/mean/commits/4906611ccce0c3c36bda54fd2c21c7042d7a2616"}]}