{"push_id":2720055773,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"6844f2167088c7db80eca7d09021f4f2646d644e","before":"042e5d43f0edf37cc412bf27fdfbe64388b0b115","commits":[{"sha":"6844f2167088c7db80eca7d09021f4f2646d644e","author":{"name":"Max Dobeck","email":"a2fbffce1b8d6a5625c2043fd4bb503bd754507b@gmail.com"},"message":"Tests for Member's Settings updated (#27)\n\n* Added small test population script for travis temp database.\r\n\r\n* Added small population script.\r\n\r\n* Setup test to make sure valid credential set works.\r\n\r\n* Updated test to see if travis is adding data to table correctly.\r\n\r\n* Manual debugging of mebers table.\r\n\r\n* Incorrect syntax on travis sql debug\r\n\r\n* Updated with correct -c command.\r\n\r\n* Updated travis file to get rid of extra psql debug statment.  Modified PGURL for travis environment variable.\r\n\r\n* Adding pgurl as environment variable.\r\n\r\n* Added env data back in case had to stitch together postgres url.  Trying new export method on travis.\r\n\r\n* Updated readme with new test commands.\r\n\r\n* Updated localhost URL.\r\n\r\n* Added CORS middleware for server.  Added Logic to output and log more verbose login failures.\r\n\r\n* Cookies are now HTTP Only and stored in browser.\r\nAdded:\r\n- domain and httpOnly configs in session cookie\r\n- The *required* and well defined allowed origins\r\n- Allow Credentials in cors settings\r\n- wrap handler midddleware with clearhandler so that memory leak doesn't occur.\r\nCookies are cool\r\n\r\n* Updated to use standard go testing file structure.\r\n\r\n* Moved tests to standard Golang style file structure.\r\n\r\n* Renamed to reflect the true nature of the go file.\r\n\r\n* Updated comment.\r\n\r\n* Testing with negroni middleware helper and the CSRF token.\r\n\r\n* CSRF token works if I manually insert it into fetch header.  But now the cookie isn't returned.\r\n\r\n* Working with csrf token.  Now need to set the token in the app.\r\n\r\n* Added starter handle to generate just the CSRF token.  Cookie will be generated as well but both must be given to the app.\r\n\r\n* Updated test message.\r\n\r\n* Modified CSRF cookie name.  Modified CSRF route output.\r\n\r\n* Removed unused fmt package.\r\n\r\n* renamed gatekeeper package to avoid confusion with the gatekeepr app directory.\r\n\r\n* Preparing to make member specific functions for reusablity.\r\n\r\n* Replaced with singular secret key.\r\n\r\n* Update readme\r\n\r\n* Added styling to readme.\r\n\r\n* Updated readme for dev.\r\n\r\n* removed dup dir.\r\n\r\n* Passwords are now encrypted with bcrypt and hash is compared instead of raw string.\r\n\r\n* Updated handles_test.go to connect to database and create a member to test that the login works.\r\n\r\n* Removed the simple db test file.\r\n\r\n* Heroku test (#5)\r\n\r\n* Updated csrf cookie name.\r\n\r\n* updated main.go.\r\n\r\n* Removed license.  Who knows what I'm doin.\r\n\r\n* Added dep and ran dep init.\r\n\r\n* Updated gopkg.toml with heroku metadata.\r\n\r\n* updated with basic heroku deploy job.\r\n\r\n* Added test environment url for s3 deployed frontend.\r\n\r\n* Making .travis deploy more verbose.\r\n\r\n* Updated travis.yml.  Bad formatting/syntax.\r\n\r\n* Added heroku api key for travis.\r\n\r\n* Trying to skip more non-deploy steps.\r\n\r\n* Updated logging output for hostURL.\r\n\r\n* Setting port per heroku instructions.\r\n\r\n* Added prod setting.\r\n\r\n* Updated Readme\r\n\r\n* Resolved issue with allowed domains not being set properly.\r\n\r\n* Updated verbage.\r\n\r\n* Updated travis to deploy to prod similar to test.\r\n\r\n* Returns proper http response. (#13)\r\n\r\n* Testing if this deploy works better in travis.\r\n\r\n* Added domain switch command based on env config.\r\n\r\n* Updating strings for domain.\r\n\r\n* Adding http protocol specificiation back in.\r\n\r\n* added hostURL string in for prod.\r\n\r\n* Member can change details in Settings (#24)\r\n\r\n* Updated readme.  added model functions to get specific user data.\r\n\r\n* started adding /members/{id} route for updating member info.\r\n\r\n* Added test for members/handles.  Added starter test for members/handles.  Started adding PUT route for members/{id}.\r\n\r\n* Added working non-responsive route.\r\n\r\n* User can now change their username but will be prevented from saving a 0 length name.  Added model function to update member.\r\n\r\n* Added update email functinoality bad had to temp remove the validation of name and email.\r\n\r\n* Split the routes into two sub-paths for the email and name of the member.\r\n\r\n* Removed empty file.\r\n\r\n* Updatd the db.go file so the DB pointer is exported correctly.  Updated the tests so they flow a little better.\r\n\r\n* Fixed the Duplicate Email test so it passes if the wrong error is returned.\r\n\r\n* Fixed issue with wrong DB pointer name.\r\n\r\n* Changed filename.\r\n\r\n* Almost done adding tests.  Can't seem to grab vars during test though.\r\n\r\n* Need to add the mux router to the testing otherwise we can't get the vars.\r\n\r\n* Got the email change to work in a test.  Just had to add mux router.\r\n\r\n* All tests complete.","distinct":true,"url":"https://api.github.com/repos/maxdobeck/gatekeeper/commits/6844f2167088c7db80eca7d09021f4f2646d644e"}]}
{"actor":{"display_login":"maxdobeck"}}