1. 11 Mar, 2019 2 commits
    • Jérome Perrin's avatar
      ERP5ShortMessage: use a private/unrestricted method to search for gateways · 3f0bf77e
      Jérome Perrin authored
      User triggering action to send SMS does not have view permission on
      Gateway
      3f0bf77e
    • Jérome Perrin's avatar
      ERP5ShortMessage: simplify gateway interface · 290d703b
      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.
      290d703b
  2. 04 Sep, 2014 1 commit
  3. 20 Dec, 2013 1 commit
  4. 26 Apr, 2011 1 commit
  5. 18 Jan, 2011 1 commit
  6. 10 Jan, 2011 2 commits
  7. 10 Nov, 2010 1 commit
  8. 08 Nov, 2010 1 commit