{"push_id":629843763,"size":3,"distinct_size":1,"ref":"refs/heads/master","head":"0a76b4a8eff46cf6c9134432c2749281aa04f2f6","before":"36a8127d4ee5ee932b9e033609e266f1b8f5ef0c","commits":[{"sha":"551afdcc7aa684d08a0772f57c4086d95cb0c45d","author":{"email":"046282dbc965244af5681ad762665cd4e7cb1749@yahoo.com","name":"Jimmy Campbell"},"message":"\"/images\" route\n\nAdded \"/images\" route for testing.","distinct":false,"url":"https://api.github.com/repos/sharewhere/server/commits/551afdcc7aa684d08a0772f57c4086d95cb0c45d"},{"sha":"5e60fc7e7cce6b0cda3ce923e6ca30cd47e66f10","author":{"email":"046282dbc965244af5681ad762665cd4e7cb1749@yahoo.com","name":"jimmypc92"},"message":"Adding pictures with shareable, restrict routes\n\nserver.js Changes:\n*Changed tabs to 4 spaces\n*Fixed indenting to be consistent with other functions. I didn't fix all\nof the indenting, stopped at a certain point.\n*Adding the restrict middleware function to all routes requiring login.\n*Removed the /images post route.\n*Enabled images to be posted along with a shareable. the field name for\nthe image is picture, and the name of the picture is stored in the\ndatabase.\n*Multer middleware is used in the makeshareablerequest and\nmakeshareableoffer routes.\n\nDatabase Changes:\n*Users table now has a points field, you get points for doing things in\nthe app.\n*Users table no longer has a rank_id field since the points will\ndetermine their rank.\n*Ranks now have a threshold, your rank corresponds to the greatest\nthreshold that you surpass,\nex: rank master has threshold 8, when you get 8 points you become a\nmaster.\n*Shareable table now has shar_pic_name field for the image name that is\nstored for a shareable. This can be null.\n\nsql_queries.js Changes:\n*Changed addshareable so that it now adds the shar_pic_name field.\n\nutils.js Changes:\n*Added a function isEmptyObject. This should be a function included in\nnodeJS but it isn't. I used it for testing and debugging for\nimplementing the image uploads.","distinct":false,"url":"https://api.github.com/repos/sharewhere/server/commits/5e60fc7e7cce6b0cda3ce923e6ca30cd47e66f10"},{"sha":"0a76b4a8eff46cf6c9134432c2749281aa04f2f6","author":{"email":"046282dbc965244af5681ad762665cd4e7cb1749@yahoo.com","name":"jimmypc92"},"message":"Merge pull request #4 from sharewhere/develop\n\nAdding pictures with shareable, restrict routes","distinct":true,"url":"https://api.github.com/repos/sharewhere/server/commits/0a76b4a8eff46cf6c9134432c2749281aa04f2f6"}]}