Refactor
Take response authorization logic out of scheduler
Pass scheduler type to new_task to avoid re-hitting DB to get app
Prefer session.remove instead of session.close
Remove unused imports
Store a key in redis when requesting newtask, and require it when posting taskrun to that task
Refactor
Refactor
Change message
Tests for allowing taskrun creation logic
Use StrictRedis for compatibility with Sentinel connections
Add docstrings
Rename file and delete empty commited one
Merge pull request #971 from PyBossa/issue-request-task-to-contribute

Issue request task to contribute