dammit
fuck everything
fuckj
COMMIT THIS TO MEMORY
this last bit to make it responsive
thats so meta
populate the seed file/some other things
move that to non-dev
Lots of things….

For the account calendar views…..
--General shit
----Added an 'alert' (and success,warning,info) bit in the header nav
so we can easily send error messages to the user via the javascript
function showErrorHeader(message, timeout) where it'll slide-down from
the top and show the message for X time. Also decided to add all the
different kinds of messages to the header/call via javascript in the
same way cause Y-NOT.
----renamed the application.css.scss to sass so we can easily use the
media queries (for easy screen size stuff) (which also fixes the bit
about the top of the calendar getting cutoff in mobile view.

----Removed
------views from account/calendar since we aren't using them
------
--for availability and vacation calendars. you can now create
events/delete them if they already exist. Drag/resize them to different
days/time lengths

--Model Changes
overwrote the to_param functions in the models to user the permalink or
calendar_type in the url since it looks better
Also fixed the get_code_for_color method in the user model to be based
off of phone number(we can change it in the future if we want to make
the variety of colors greater or w/e)
Added calendar_by_type to the company model. This is just to make it so
we can call company.calendar_by_type("vacation")
 or any other type
Added some simple validations to the event model with a message!

--MISC--
added central timezone to the application.rb file (since we parse
events by timezone)
played around with the seeds.rb file
Also added the bootstrap error shit in the company/user views since w/e
it makes sense…..

fixed the showing of events in the calendar since when we were parsing
it before it was fucking up the time zones so the fix was to include it!
Also split the different types of user calendars into partials so it's
easier to edit/read

--ADMIN STUFFS--
fixed creating events (with drop downs) still need to get the
drag/dropping into official calendar working and good (though it's just
about getting the right hooks and submitting it to the proper path (or
making a super simple stripped out path in the calendar controller or
whatever)
Some other things

Added a state machine gem for the shift switches
also created a new shift switch model, since it should be separate so
we can have fancy things (like state machines) for it (also maybe other
views and things) removed some other things n such……
w/e fixed something that I broke… still have to figure out why/how i set the color of the brand new event so it matches the user color...
just some dumb things that might be good for the future
ahhh
Merge pull request #1 from ksolkowski/kevin

Kevin