{"push_id":547915054,"size":17,"distinct_size":17,"ref":"refs/heads/develop","head":"91b49b4e05ea2fce7d52a1df9001de93c3fc0814","before":"b9dd2f4336ed88b643b2e933ee2a2f7476e873b8","commits":[{"sha":"0c4dbe0d93d3b4b70ac601c6ed920fd4e51cc4a5","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"basic auth structure for handling sessions\n\nSessions are regenerated on any auth activity to deter spoofing.  User\nauthentication does not return a user, as is suggested by #3, instead passing\nthe user data object into the session variable.  When the user is attached to\nan app scope, it may no longer be passed to the session","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/0c4dbe0d93d3b4b70ac601c6ed920fd4e51cc4a5"},{"sha":"82ecf2fd4e4f64f14ec3ea80f85006da98d06a1a","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Actor manager serializes user objects to the db\n\nEven though the user object has not been built yet, knowing that the app\nstructure will encapsulate a user object, serialize_actor takes a user object\nas an argument. This function primarily serves as a way to add users to the db,\nso that they can be authenticated. Part of the install process should create a\nnew user to be authenticated and serialize it. Without this step,\nserialize_actor will fail.","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/82ecf2fd4e4f64f14ec3ea80f85006da98d06a1a"},{"sha":"2486697852ccb3b2f5c4048a7ed0f70ff814f093","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Actor class attempts to be immutable\n\nActor class defaults to all private attributes and will return a generated\nstring of any requested attribute. This does the least damage to the already\nwritten code, which targets __get() instead of standard getters and setters.\nThis solution attempts to allow actor to be an immutable data object by keeping\nobject data from being directly accessible.\n\nThe storage of password is a messy solution that will have to be resolved.","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/2486697852ccb3b2f5c4048a7ed0f70ff814f093"},{"sha":"f002ac6223d32f198f933d98a7d5848adacd0e49","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Actor constructor takes all actor data\n\nActor objects are supposed to be immutable, so all data is taken at\ninitialization","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/f002ac6223d32f198f933d98a7d5848adacd0e49"},{"sha":"7f446182f0ce7f21c299256e0d3da99c3767a40b","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Incorporating sessions to user authentication\n\nSessions will track if a user is already logged in when they attempt to log in","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/7f446182f0ce7f21c299256e0d3da99c3767a40b"},{"sha":"08de6202580b27bde6789219ca38095afcfa0cf0","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Sessions now managed on login and logout\n\nWhen a user logs out, their session is closed. Guest users will generate new\nsessions and new ids.","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/08de6202580b27bde6789219ca38095afcfa0cf0"},{"sha":"b7c8211e7cab36f735ab3777270c1ea619cd617d","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Session stores an actor and a key\n\nThis commit is a lot of work in progress on #3, user authentication. This\ncommit makes it so that if a session is not set, a user is generated, and added\nto the session. The session object feels very unnecessary right now, and it may\nbe factored out before this branch is done. Currently, it stores the session\nid and the user. In order to allow the session to be serialized, the user has\nto have access to its id (or a select query would have to be performed). I\nwould like to change this. All ids are currently just random numbers, but this\nwill be changed before serialization can occur to prevent overlap. a key ring\nwill probably be used for this. Further, serialize functions can be combined\nusing a serialize(sql,args) : bool signature.","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/b7c8211e7cab36f735ab3777270c1ea619cd617d"},{"sha":"1b11828b0e800655a939bfc6198ec9b187b180e6","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Actor id is generated confirmed unique\n\nActor id is checked against keys in the db to ensure it is unique before\nreturned. Right now this task is managed synchronously, and keys are returned\nevery time a new user is created. In order to avoid timeout, this task will\nneed to be managed asynchronously, through a key ring.","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/1b11828b0e800655a939bfc6198ec9b187b180e6"},{"sha":"2a48f34380d9de002cf3e17bd6ecd7176d7e34f6","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Sessions and actors both verify and serialize\n\nThere were some errors in the queries that are now fixed. Until the system is\ncomplete, several fields have to be allowed to be null in the db, so the\ninstall.sql has been updated to reflect this. The id generation functions can\nbe combined at a later date. Actor.php __get() was not returning a value, this\nhad to be fixed to allow serialization.","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/2a48f34380d9de002cf3e17bd6ecd7176d7e34f6"},{"sha":"82985261a3afcd239e4850f92a78ac8bfad3aff9","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Initialization script creates database\n\nInitialization is more stub than script right now, but in order to check user\nauthorization, a user must be in the database.","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/82985261a3afcd239e4850f92a78ac8bfad3aff9"},{"sha":"0dd609af15725553e180d5b97afbb8aec3d65bf0","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Logging in finally almost works\n\nA lot of progress made for #3, user authentication in this commit. The\nfootprint of login has changed because there is no point in wrapping\ncredentials in a new data structure to test them, and they already come in as\nindependent data. password hashing is added to serialize_actor so that\npasswords are not stored in plain text. Similarly, blobbing will have to be\napplied to the rest of the sensitive data in the actor_table.","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/0dd609af15725553e180d5b97afbb8aec3d65bf0"},{"sha":"52e423cb5b1e43259ec5ba233ec12e1e69e9393b","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Actor data is set to session when logged in\n\nPassword is removed from user footprint because it is not needed outside of\nlogin and it should not be floating around in user land. Sessions are not\nsetting currently, so they've been removed.","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/52e423cb5b1e43259ec5ba233ec12e1e69e9393b"},{"sha":"97e9f5c7ead027cfc85bc8e833f3afcbfa3d8bb0","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Session storage uses internal key code\n\nSessions seem to be working now. It looks like the Session class has been\nofficially factored out, and the schema has been changed to accept generated\nsession ids instead of a numeric id. Auth will probably also be factored out,\nas login will only really happen through the login form.\n\nThere is still tons to do on sessions, including, but not limited to: -new\nlogins do not check for existing sessions to close -session keys are not\nproperly escaped as they need to be -A check needs to be done to ensure that\nthe session data is synced","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/97e9f5c7ead027cfc85bc8e833f3afcbfa3d8bb0"},{"sha":"49e25d5257a85446f7820fdaa6927e47cdcfb877","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Cleaning up some of the artifacts\n\nThere was a lot of legacy stuff in here that isn't relevant anymore.\nAlso, the key reference was changed from 'plog' to 'user' to better\nreflect what was being stored.","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/49e25d5257a85446f7820fdaa6927e47cdcfb877"},{"sha":"333595d3714dbcd59b28015b8fc7b0ea7ad17326","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Logout works as well\n\nIt looks like all relevant data to #3, user authentication is wrapped\nup. There is still a lot of work left to be done in sessions.","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/333595d3714dbcd59b28015b8fc7b0ea7ad17326"},{"sha":"c862dd8b6a67df89993acaf427e99d0197b42cc6","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"home variable set in config.php","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/c862dd8b6a67df89993acaf427e99d0197b42cc6"},{"sha":"91b49b4e05ea2fce7d52a1df9001de93c3fc0814","author":{"email":"68507a13665ec3a31759c0d3a94804221c0a87d3@beingbrown.net","name":"randy brown"},"message":"Merge branch 'f-userauth' into develop\n\nResolved #3, user authentication","distinct":true,"url":"https://api.github.com/repos/beingbrown/plog/commits/91b49b4e05ea2fce7d52a1df9001de93c3fc0814"}]}