{"push_id":1338828615,"size":3,"distinct_size":3,"ref":"refs/heads/newstart","head":"ceab191a052d4e07f7d589c448fa0cb3dc2d0f01","before":"46eb6e8de241a37d6caeb8c810940aa64dd9d134","commits":[{"sha":"5594b35899e376c65609d9917a98e674f4bca8b4","author":{"name":"cewing","email":"bdbccead3bf6d076596151fbcb1bfd036141a93f@crisewing.com"},"message":"Add login form to index page\n\nWe can use the  attribute of the Pyramid request object to determine if a user is authenticated.\n\nWhen the value is true (there is an id) then a user has logged in.  We can show them a welcome message and a log out button.\n\nWhen the value is false (no id is present) then the current user has not logged in.  So we show them a login form.","distinct":true,"url":"https://api.github.com/repos/cewing/pyramid-blogr-cf/commits/5594b35899e376c65609d9917a98e674f4bca8b4"},{"sha":"db4340a8415ac4c94ea30171a68139ed228a9f7f","author":{"name":"cewing","email":"bdbccead3bf6d076596151fbcb1bfd036141a93f@crisewing.com"},"message":"Add a user service\n\nThis service class provides an interface for interacting with user objects.\n\nWe also add an API to the user class which allows verifying a provided password against the stored value.","distinct":true,"url":"https://api.github.com/repos/cewing/pyramid-blogr-cf/commits/db4340a8415ac4c94ea30171a68139ed228a9f7f"},{"sha":"ceab191a052d4e07f7d589c448fa0cb3dc2d0f01","author":{"name":"cewing","email":"bdbccead3bf6d076596151fbcb1bfd036141a93f@crisewing.com"},"message":"8 -- Add login/logout view\n\nThis view will look up a user object using the 'username' passed in from the login form on a POST request.\nIt will then verify the password using the API we've added to the User model.\nIf a user object is found, and the password matches, then the 'remember' method is used to write the HTTP Headers needed to persist the fact that we have an authenticated user.\nThe 'authorization policy' we registered earlier is responsible for doing this work, so how exactly login is persisted depends on that policy.\n\nIf no user is found, if the password does not match, or if we have reached this view with the 'out' action (a GET request), then we will use the 'forget' API to remove authentication information.\nAgain, our registered authentication policy is responsible for this action.","distinct":true,"url":"https://api.github.com/repos/cewing/pyramid-blogr-cf/commits/ceab191a052d4e07f7d589c448fa0cb3dc2d0f01"}]}
{"actor":{"display_login":"cewing"}}