Changed the database to PG
Completed basic setup of omniauth using facebook found at https://github.com/mkdynamic/omniauth-facebook
Set up gemfile and gitignore
OAuth implemented
Editted the session controller so I can log in and log out. Added current_user and signed_in? helper methods. Now people can sign in and it actually creates something, that's trackable
Added the validation to the admin_controller. Now you cannot access the admin routes unless you are authenticated and signed in.
Finished adding omniauth. Users can sign in, sign out. Only signed in users can access ADMIN area.
Octokit has been implemented. Right now, I am setting a session[:user_type] as either 'organizer' or 'project night coordinator' when the Octokit query comes back as true. Toying with the idea of maybe adding a user_type column to users when the user is first created, but this poses the problems of the user_type having to be manually updated whenever changes are made. Still need to write validation tests for the corresponding admin controllers, but I'm mostly there
Took out the user model from the Session Controller entirely. Set up the Session create model to set a session[:user_type] when a new session is created that corresponds with either 'organizer' or 'project night coordinator'. Updated helper methods in application controller to be signed_in? and is_organizer?
Erased some test code in the presentations_controller (the admin test I put in to sandbox in)
Removed all references to Users table, and user table from schema.
Moved all the logic of manipulating the Octokit out of the controller. This way, we can make testing easier.
Added the service tests for GithubAuth
Refractored the GithubAuth spec file some.
Woops, fixed the SessionsController model. We want to redirect if the is_member? returns false, NOT true.
Fixed up a few spec files - removes the omniauth test.
Added a auth failure test. Removed a few unnecessary spec configuration files, now that we're configuring Omniauth info directly within the required spec files.
Added new VCR and also finished writing RSPEC tests for authorization. Hooray.
Made a seperate vcr cassette for both the organizer and the project night coordinator. Now we just need a helper method to allow help sign in so we can refractor the other code.
Added the helper file authentication_helper.rb that defines the new login methods 'sign_in_as_org' and 'sign_in_as_project_manager'. Cleaned up a few spec files so that they implement the new logging in functionality. We are at a go.