#242: errorlib: make SMS sending facility more generic
--------------------------+-------------------------------------------------
Reporter: simko | Owner: jluker
Type: enhancement | Status: closed
Priority: critical | Milestone: v1.0
Component: MiscUtil | Version:
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by Jay Luker <lbjay@…>):
* status: in_merge => closed
* resolution: => fixed
Comment:
In [de6394663a2b3d47f53ec15ed9771507252c05d9]:
{{{
#!CommitTicketReference repository=""
revision="de6394663a2b3d47f53ec15ed9771507252c05d9"
errorlib: register_emergency() sends email not SMS
* separated the fetching of the configuration from the actual sending,
partly to allow for flexibility in calling, but also to allow for
easier unit testing
* removed CFG_SITE_EMERGENCY_PHONE_NUMBERS and added
CFG_SITE_EMERGENCY_EMAIL_ADDRESSES
* moved bibtask.parse_runtime_limit function into dateutils
* added tests for parse_runtime_limit
* added CFG_SITE_EMERGENCY_EMAIL_ADDRESSES setting to special 'dict'
options in inveniocfg.py
* removed errorlib.send_sms function;
* modified errorlib.register_emergency to read
CFG_SITE_EMERGENCY_EMAIL_ADDRESSES and call send_email depending
on configured date/time constraints
* added test for errorlib.get_emergency_recipients
* closes #242
}}}
--
Ticket URL: </ticket/242#comment:7>
Invenio <http://invenio-software.org>