Add a UI to simplify adding supported permissions to an app
Add functional tests
Fix over-long lines
Bump Rails to 3.2.10.

Version 3.2.10 fixes a security vulnerability in ActiveRecord. See
<https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/DCNTNp_qjFM>
Merge pull request #46 from alphagov/bump-rails-to-3.2.10

Bump Rails to 3.2.10.
Bump Lograge to 0.1.2.

Version 0.1.0 of Lograge includes a fix for compatibility with Rails
version 3.2.9 and above <https://github.com/roidrage/lograge/issues/18>.
Add missing i18n for password => passphrase
Upgrade to Rails 3.2.11 for security fixes

Jordan Hatch is disabling the vulnerable functionality here:
https://github.com/alphagov/alphagov-deployment/commit/b27aa94c4a36249614580f52f25f9f60d5283a49

See:
https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion
Merge pull request #47 from alphagov/bump_rails_to_3.2.11

Upgrade to Rails 3.2.11 for security fixes
Improve create test per pull request comments

*   GET create -> POST create
*   Only do a single request in the test
Clean up revoked_token test code
Upgrade Doorkeeper to 0.6.7

This will let us automatically "authorize" an app - rather than force
the user to click "Authorize" on first use (or "Deny" which we don't want).
Automatically authorise apps

Until now, when you use any app for the first time, you had to manually
"authorise" (or "deny") "access" to the application. This is complexity
that doesn't do us any good, and probably confuses users.

Now, it will automatically be authorised.
Update auth error page for modern Doorkeeper

The variable name had changed, so broke the display of errors.
Merge remote branch 'origin/master' into automatically_authorise_apps

Conflicts:
	app/views/doorkeeper/authorizations/error.html.erb
Merge pull request #44 from alphagov/add-supported-permissions-ui

Add a UI to add supported permissions to an application
Merge pull request #48 from alphagov/automatically_authorise_apps

Automatically authorise apps
Completely disable exception debug pages in prod
Merge remote branch 'origin/master' into add_superuser_role

Conflicts:
	app/views/admin/applications/edit.html.erb
	config/routes.rb