Add some new style overrides.

Background color, default font, popover max width.
Use an adobe free font for banner.

Just experimenting with look and feel using some free adobe edge
fonts. The link to the fonts is right in the index, and has to be
factored out.
Add some actual copy to about tab.
New div below map.

This will be used to dump crap into, for now.
Bug fix.

There was a problem with FB.init getting called over and over whenever
the window was updated; this is fixed via a small change to the sdk
load call.
Add a search form field.

The visibility of the form is contingent on the user being logged
in. This is done via a simple style change in facebook-login. It is
flushed right currently but not too concerned with the layout at this
stage.
Bug fix: geocoder.

Was calling the geocoder constructor before the library load; now
called inside the get friends function. Going to change this
functionality using MVC but wanted to get rid of this error.
Misc commit, mostly whitespace.

A little messing around with getFriends(); it's going to be blown away
in favor of a real model, anyway.
Remove automatic calls to get friends.

Want this linked to some user-driver request.
Link getFriends to search bar button.

Right now this directly triggers friend's names and ids to be written
to the console.
Factor out about popover.

Want to handle this with a controller but for now just doing
straightforward javascript function call. Could use to roll all the
javascript assets into one file...
Add omniauth authentication in Gemfile + initializer.

Will ideally use a single kind of authorization for all the various
services; right now am experimenting with using omniauth. Currently
only facebook is enabled (and required in Gemfile); the other
commented-out services are there as a hint for later. Also, the key
and secret have to be coded in there before this will work.

TODO: find some way to manage the secret without exposing it in this
way.
First stab at integrating omniauth facebook login.

Created a user model that contains name, provider, uid, auth token,
and token time limit. The model also contains a method to generate a
user from an omniauth authorization response. Right now, this thing is
using a database to store the user's stuff; should probably take this
away and just have everything be non-saved variables...

Next created a session controller -- omniauth uses this controller to
look up/create new user sessions and remove old user sessions.

In the application controller, added a current_user global variable
and helper function; this variable draws from the database but what it
should really do is not touch any database and just instantiate a new,
empty, global user, then the index controller will be responsible for
populating the current user when the index loads.

Finally, using the helper methods and some eml to automatically
generate applicable login/logout html content.

This whole thing has a bugs, however. First, it does not detect a
user's login status when they first appear. Second, one you log in and
log out then everything vanishes. This has to do with the database
management; need to remove the database.
Rename app.js to custom.js. Appropriate changes.
Rename stylesheet "app" to "custom".

In line with javascript. Using a"app" was dumb.
Add database schema.

Can now rebuild database with > rake db:schema:load. Although we
actually don't want to be using a database for this right now. It is
causing bugs.
Overall application stylesheet -- app -> custom.

Whoops.
Remove some files from repo.

Stupid local crap that should never have been in here in the first
place. Rails jsut creates so many files...
Remove facebook jssdk stuff.

Trying to get a clean slate to figure this omniauth stuff out.
Second stab at using omniauth to log in to facebook.

Several things in this commit.

Did some cleanup/code change in the sessions controller and user
model. A bit simpler now.

Added some coffeescript so load the javascript sdk and link its login
and logout functionality to the appropriate links in the index --
using this sdk was the only way (so it seems) to get the login and
logout to actually work on facebook as a whole, not just user's
current session on this site. Also better to do this stuff on the
client side...

TODO: still a bug where after log out redirect loads a bad version of
the page.

Factored out the app id and secret so that they are set as an
environment variable locally. Now there's no more duplication on that
front.