privly/privly-web — pull request #125 by smcgregor (2014-05-09 23:33:58+00:00)
Title: Cleanup

This is a large pull request that started out as a small Gem update -- but it is landing with a large simplification of the content server. The reason being that several Gems are getting stale, so it is time for them to go.

Basically, AttackSurface--

**Functionality Removed**

* I yanked all IdentityProvider and Shares functionality. The amount of development to get this functionality into beta was too great, and it wasn't really adding anything. The Privly Foundation wants its servers to not require trust on the part of the users, and server-based authorization requires a lot of trust.

**Updates**

* I updated ALL the gems to their current max versions for Rails 3.2.18
* TokenAuthentications was yanked from Devise's newer versions, so this pull request includes a patch to add the functionality into our code base.
* I switched most of the post endpoint tests to use json as the format, since the HTML endpoint is effectively dead. Old content will be redirected to the Privly Application, which should continue to work.
* I added a reference to the Lord of the Rings. Bonus points if you are the first one to find it. (incentive for reviewing this PR)

**Cleanup**

* Since I killed the Shares functionality, there was no longer a purpose behind the functionality found in app/views/posts. I killed all the posts templates. Soon all client side code will be in Privly-Applications.
* The CanCan gem is DeadDead.

**Migration Is Recommended**

* I dropped the tables associated with IdentityProviders and Shares.
* I added a column for users based on the changes to Devise Invitable