Added violation db field to keys, and added check for when keys are added that include characters that are owned by other Core accounts.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fixed bug where everything was shifted improperly in the table for non-violation keys.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix bug that prevented the addition of new characters to the database.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Adds check to prevent the addition of API Keys alerady in the database.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix whitespace issues, and remove temp code from the key delete function.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Merge branch 'develop' of https://github.com/bravecollective/core into feature/fixDuplicateCharacters

Conflicts:
	brave/core/key/model.py

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix some bugs that lead to keys getting improperly marked as security violations, and fixes a bug preventing keys from getting marked as compliant.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Security violations now show up in the table row that is updated via javascript.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Adds additional information about security violations when the user hovers over the text of the violation.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Makes the key field unique and catches errors when users try to add a key that's already been added.

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

Conflicts:
	brave/core/key/model.py

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Remove redundant check for uniqueness of API keys, change the false state of violation to None, and fix a bug that was causing the violation status returned ajaxily to be incorrect.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Handle the async pull request by save properly when initially adding a key.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix a bug that could occur when 3 accounts all have keys for the same character.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix a bug where the character list returned by a key could be inaccurate.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix syntax errror. I really should double check for those before pushing...

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

Feature/fix duplicate characters (fixes #31, #33, #34, #46)