Create Ban, CharacterBan, and IPBan objects, and create a new DB schema for bans against users.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix some issues with the schema and add enable and disable functions for all new ban objects.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add banned properties to the User and EVECharacter classes, and restrict API calls in the api.core and api.proxy endpoints for banned users.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add check for if a user is banned to the authentication routine, and deny logging in to users who are banned.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add core/blacklist call for checking if a character or IP address has been banned.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Clean up the code, fix a bunch of typos, and remember to run the linter before committing.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix the banned property for characters, change the database fields to save storage space, and make the contains length requirements for core.blacklist more stringent.

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

Conflicts:
	brave/core/api/core.py
Fix some issues with the banned functions in EVECharacter and User, and add search support for banned characters.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge branch 'develop' into feature/blacklist
Add banned support to the user search page.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add ability to create bans, add ability to ban from account details page, fix some schema issues, and fix a ton of bugs.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add support for the enabled fields when determining if a character or account is banned, fix the model a bit, and add __repr__ for the Ban objects.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Move the Ban stuff to it's own directory, and rename the ban collection to Bans.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Actually move the Ban collection to Bans instead of ban.

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

Add banning support to Core