#242: errorlib: make SMS sending facility more generic
--------------------------+-------------------------------------------------
  Reporter:  simko        |       Owner:  jluker  
      Type:  enhancement  |      Status:  in_merge
  Priority:  critical     |   Milestone:  v1.0    
 Component:  MiscUtil     |     Version:          
Resolution:               |    Keywords:          
--------------------------+-------------------------------------------------
Changes (by jluker):

  * status:  assigned => in_merge


Comment:

 Patch generated from commits to emergency_email brach available at
 http://github.com/lbjay/cds-
 invenio/commit/39109ffc365c2e7ee4dbe114b11ff511029df3e9

 MiscUtil: register_emergency sends e-mail rather than 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

-- 
Ticket URL: <http://invenio-software.org/ticket/242#comment:2>
Invenio <http://invenio-software.org>

Reply via email to