Merge pull request #1 from bravecollective/develop

Bring up to date with latest.
Switched to standard Python conventions.
Swapped static method call for dict lookup.

This will fail with an honest exception (`KeyError` mentioning the key)
if an invalid value is encountered, rather than an `AttributeError`
claiming `NoneType` has no attribute called `objects` by falling off
the function.

Side effect: 15% faster in `%timeit` tests.
Added brief doctoring pointing at wiki.
Removal of unneeded `__repr__`
Updated text representations for consistency.
Whitespace changes.
Remove sign in when authenticating already authorized apps.

When a user has an existing Core session, if they attempt to
authenticate an app they've already authorized, they will no longer be
prompted for their username and password. This reduces the amount that
users need to type their username and password while ensuring that they
still must do so before authorizing an application.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix a bug in the Proxy API for tokens that have no mask, and override __nonzero__ for the KeyMask class for ease of use.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Tell users without an API key to add one on the overview. Resolves #363

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Direct users with suspicious activity to the help channel rather than to Github issues.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge pull request #365 from Acidity/feature/fixKeyMasks

Fix a bug in the Proxy API for tokens that have no mask, and override __...
Merge pull request #366 from Acidity/feature/fixHomePage

Tell users without an API key to add one on the overview. Resolves #363
Merge pull request #367 from Acidity/feature/removeGithubLink

Direct users with suspicious activity to the help channel rather than to...
Merge pull request #350 from Acidity/feature/AllCharsGrant

Add support for multi-character grants.
Removes implicit extension of authorizations when user does not provide credentials.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge branch 'feature/SSO' into develop

Conflicts:
	brave/core/controller.py
Don't require login before grant page

Even if the user hasn't authorized the app before.
Do require the user to be logged in.
Fix format substitution mismatches