DemocracyOS/app — pull request #209 by cristiandouce (2014-01-03 19:19:58+00:00)
Title: Settings

Provides with a new settings page, distributing `profile` edits from other gems, like `password` and stuff (right now these two). It provides also with a simple and solid architecture for future and fast growing.

The two sections added are:

1. `settings-profile`: Allows users to update it's `email`, `firstName`, `lastName` and a link to `gravatar.com` for profile image update.
2. `settings-password`: Allows users to update their password.

Notes:
1. For `settings-profile`, users `email` display should be followed with an indication if it is verified or not. And an link to **resend email validation token** in case that is required. Also, we should not forbid access to the ones with an `email` not validated, but restrict them of persisting to DB. @gvilarino thoughts?

Future sections:

1. `sessions`: Displays to the user a list of logged in sessions or `active` sessions, and allows it to close them by desire.
2. `notifications: Allows user to `set-up` its `notifications` preferences, like `daily`, `weekly`. Or: `event` and `digest` for comments on laws.