{"push_id":3149379385,"size":6,"distinct_size":6,"ref":"refs/heads/develop","head":"9407e2ce48773742632d389eb07d03343a5806b1","before":"ab1e9b61f69ccaaf0c0113d2c38e7953c0e85845","commits":[{"sha":"6087bbf17354a113cbf5293dda4c765abf56de7f","author":{"name":"nikeshnazareth","email":"104598be751a8aaa17ca071665b73fe4f3addc67@gmail.com"},"message":"Create Admin database\n\nAll endpoints are currently available to any user. In the production\nversion, all requests that change the database (POST, PUT and DELETE)\nwill be authenticated.\n\nAs a prepatory step, this commit creates and initialises a table in\nthe database that includes the Github profile names of project admins","distinct":true,"url":"https://api.github.com/repos/weare2brothers/overcooked-api/commits/6087bbf17354a113cbf5293dda4c765abf56de7f"},{"sha":"aec0ca2685b91ccd10fac91fd447d51b5b1ce628","author":{"name":"nikeshnazareth","email":"104598be751a8aaa17ca071665b73fe4f3addc67@gmail.com"},"message":"Add support for github authentication\n\nAny request that updates the database (POST, PUT, DELETE) should be\nauthenticated. This commit adds support github authentication\nusing OAuth 2.","distinct":true,"url":"https://api.github.com/repos/weare2brothers/overcooked-api/commits/aec0ca2685b91ccd10fac91fd447d51b5b1ce628"},{"sha":"eaac5782be8ea375d62479aebf2a53936de798e9","author":{"name":"nikeshnazareth","email":"104598be751a8aaa17ca071665b73fe4f3addc67@gmail.com"},"message":"Allow sending plaintext cookies in development\n\nThe server policy is set to ensure cookies are always sent over\nhttps. Cookies are used to maintain a session between client and\nserver, which is required for a client to access protected endpoints\nwithout authenticating every time.\n\nSince the development client runs over http, the authentication\nmechanisms cannot be observed with the current cookie policy.\n\nThis commit sets a flag in development mode, which removes the\nhttps cookie policy.","distinct":true,"url":"https://api.github.com/repos/weare2brothers/overcooked-api/commits/eaac5782be8ea375d62479aebf2a53936de798e9"},{"sha":"2786f13c78e5337eef9fcd0c1c389db4a712ba92","author":{"name":"nikeshnazareth","email":"104598be751a8aaa17ca071665b73fe4f3addc67@gmail.com"},"message":"Create /auth/whoami route\n\nThe route returns the profile of the currently logged in user.\nIt can be used by clients to confirm that the user is authenticated.","distinct":true,"url":"https://api.github.com/repos/weare2brothers/overcooked-api/commits/2786f13c78e5337eef9fcd0c1c389db4a712ba92"},{"sha":"a23f8d453959530d86861f9b624b2215e743a838","author":{"name":"nikeshnazareth","email":"104598be751a8aaa17ca071665b73fe4f3addc67@gmail.com"},"message":"Reset individual spies in Mock Database\n\nThe Mock database stubs individual mongoose calls associated with\nmodels in the database. Whenever the database is reset, the spies\nare cleared with sinon.restore() and then recreated. However,\nthis has the side effect of clearing any spies created outside of\nthe database.\n\nThis commit replaces the sinon.restore() call with individual calls\nfor each spy created by the Mock database","distinct":true,"url":"https://api.github.com/repos/weare2brothers/overcooked-api/commits/a23f8d453959530d86861f9b624b2215e743a838"},{"sha":"9407e2ce48773742632d389eb07d03343a5806b1","author":{"name":"nikeshnazareth","email":"104598be751a8aaa17ca071665b73fe4f3addc67@gmail.com"},"message":"Protect endpoints that change the database\n\nAll requests that change the database (POST, PUT and DELETE) should\nbe restricted to authenticated users.\n\nThis commit introduces middleware to return 401 responses whenever\nan unauthenticated user requests a database modification through\nany of the /food or /recipes endpoints.\n\nIt also updates the endpoint tests to account for the authenticated an\nunauthenticated cases.","distinct":true,"url":"https://api.github.com/repos/weare2brothers/overcooked-api/commits/9407e2ce48773742632d389eb07d03343a5806b1"}]}
{"actor":{"display_login":"nikeshnazareth"}}