* Implement mail tracking Signed-off-by: Victor "multun" Collod <victor.collod@prologin.org> * Implement task merging * Add a mail tracker title format pattern * Autocomplete task names * Fix comment display * Track notification answers * Add a socket timeout for the mail worker A mail worker is a long running application. And sometimes, the IMAP server just hangs for hours for no apparent reason. imaplib doesn't enable setting a timeout, and setting it globally seems fine. * Only validate the merge form when submitted * Redirect to the new form when merging * Prettier task edit UI * Make task merging optional * Test mail tracking * Update documentation for mail tracking * Update dependencies * Add the TODO_COMMENT_CLASSES setting * Fix dependencies install order * Remove debug leftovers, improve documentation * Fail on missing from_address
9 lines
307 B
Python
9 lines
307 B
Python
def tracker_consumer(**kwargs):
|
|
def tracker_factory(producer):
|
|
# the import needs to be delayed until call to enable
|
|
# using the wrapper in the django settings
|
|
from .tracker import tracker_consumer
|
|
|
|
return tracker_consumer(producer, **kwargs)
|
|
|
|
return tracker_factory
|