Add alternate script for updating keys.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix a bug that would cause the script to fail if an HTTPError were to occue

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Fix the bug which forced the key update time to be 1440, assign keys to times sequentially, and move the main method into a class.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
move logic out of template

Also just drop some of it as redundant (the check for whether the user
could see permissions was the same as whether they could view the
character)
Merge pull request #308 from eve-val/trim-template-logic

move logic out of template
Fix some bugs where the wrong authenticate was being called.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
Add support for key violations that describe insufficient API masks and incorrect API key types.

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

Fix some bugs where the wrong authenticate was being called.
Merge pull request #311 from Acidity/feature/keyViolations

Add support for key violations that describe insufficient API masks and ...
more concise assignment of keys to timeslots and timeslots to threads
rewrite the whole batch assignment/sleeping thing
fix missing import (and organize imports)
fix rounding logic, heh
regularly update our knowledge of what keys we need to pull
tweak math (should be equivalent)
Fix a bug where characters were still able to have groups even if they had no valid key on file.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>
fix missing import
Merge pull request #313 from Acidity/feature/denyGroupsForDetachedChars

Fix a bug where characters were still able to have groups even if they...
Merge pull request #1 from eve-val/timed-key-pull-tweaks

Timed key pull tweaks
Add create_permission to ensure that permissions are created with the correct type.

This function creates and returns a permission object of the correct
class (Permission vs. WildcardPermission). As such, it is useful for
creating a permission where you do not know at compile time whether it
is a Permission or WildcardPermission. In the event of id conflicts
(the permission already exists), this function returns False.

Signed-off-by: Tyler O'Meara <Tyler@TylerOMeara.com>