Finally able to login through AJAX. redigned authentication some prior to doing ajax work
Tweaked login system. I realize that I need to start iterating faster and fix bugs later. I'm moving on to admin so I cna use that to debug
You can no longer see other users if you are not that user, admin now shows all the users
When logged in and you go to home page, you get redirected to the user#show page
Doing a quick push to heroku. Currently wokring on integrating google calendar
Finished google authentication. Now able to see google api data in /calendar. Tried omniauth. Didn't work. Going with signet gem to do authentication
upgrade ruby version as asked by heroku
Upgrading heroku ruby version
Working copy of the calendar data. Finally!!! Suck it bugs. There were many challenges. Decided to forgo signet and omniauth for own implementation. using update! instead of update_token! proved to cause errors that were really hard to track down. Moving the assignment of session variables proved to be the key to the final challenge.
Cleaned up some puts used to debug and fixed some warnings given by upgrading to Rails 4
fixed random things, but mostly I fixed the nil authorization error. Tried several settings packages but just opted for global in the end. I know it's a global, but I feel like this scenario is pretty justified. Going to add saving tokens and getting new access tokens
Added saving the google username (username@gmail.com) to database. Changed how the helper user_credentials reads data to not use session so that the user will not have to reauthenticate or do weird stuff when they close the browser. Need to narrow the event list returned by google to only be this week or whatever week is in the view. Also, bootstrap calendar will prove to be challenging without less since i'm on windows. Fuck...
Big Milestone. Started developing the views using partials. There is a lot of math in the views that needs to be moved to helpers later.
added a link that creates a hard-coded event. Now I'm going to spend some time styling and redoing routes so that it goes to calendar first instead of users page
Massively changed the theme and styling. Reorganied views into layouts for modularity
Added a working event form. Now going add drawing of the event and then on to the to-dos
Newly created events are now added to the calendar. Moving on to to-dos now
To-Dos are working in a very limited sense. They can be added via the form and the view will update to add them to the list. Going to create a delete link for each to-do
Added todo deleting. Need to add link to the todo so that it will be added to the calendar
Big Commit. Todos can be added to the event plane by clicking a button which calls todos#to_event which finds the todo and creates an event object from the todo and then submits the event. Finally it runs the render on the events/create js which creates and appends the event partial.