1. 15 Feb, 2018 1 commit
    • Jérome Perrin's avatar
      ERP5ShortMessage: simplify gateway interface · 63ac2d77
      Jérome Perrin authored
      Implementation dependant parameters, such as message type or quality,
      must be defined by the gateway class, not in the common
      ShortMessage_send script.
      
      This should make it easier to switch implementations.
      
      Also:
       * send method is expected to be called once per recipient. I guess we
         prefer to isolate messages than to batch send messages efficiently.
       * send method expect relative url of sender and reciever documents, so
         that it can decide which properties to use.
       * drop `sender_title` parameter, now the gateway implementation decide
         what to use.
       * drop `test` parameter. For simulation mode, set simulation mode on
         the gateway instance
       * sms.send() no longer accept direct from_url / to_url / body message.
         It only supports sending what's defined on document properties.
       * SMSTool_afterSend will be called with message_id parameter, not
         message_id_list
       * Split interfaces in two SMS Sending / SMS Receiving.
      63ac2d77
  2. 05 Oct, 2016 15 commits
  3. 04 Oct, 2016 4 commits
  4. 03 Oct, 2016 7 commits
  5. 30 Sep, 2016 9 commits
  6. 29 Sep, 2016 4 commits