1. 15 Feb, 2018 4 commits
    • Jérome Perrin's avatar
      ERP5ShortMessage: simplify gateway interface · dad444b3
      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.
      dad444b3
    • Jérome Perrin's avatar
      ERP5ShortMessage: allow messages longer than 140 characters · 6522133b
      Jérome Perrin authored
      - fix message_type to support multitext messages
      - use MULTITEXT message type by default
      
      Only mobyt support this parameter, so this break the compatibility with
      essendex
      6522133b
    • Vincent Pelletier's avatar
      PythonScript, SQLMethod: Fix expression_instance getting stale · 04f331a2
      Vincent Pelletier authored
      Before this change, expression_instance would not be set when expression is
      modified, leading to either non-applied filter expression (when no
      expression_instance existed) or use of an outdated expression.
      Use a volatile attribute to store the expression: it does not change the
      amount of work needed to load the Expression instance (pickle is the raw
      python expression as text) and it remove data duplication in exported
      documents.
      04f331a2
    • Vincent Pelletier's avatar
      Revert "erp5_discussion: speed up forum RSS generation" · ede919f6
      Vincent Pelletier authored
      This reverts commit fe84b799.
      I did not intend to push that hash (copy/paste mistake).
      ede919f6
  2. 14 Feb, 2018 5 commits
  3. 13 Feb, 2018 11 commits
  4. 12 Feb, 2018 4 commits
  5. 09 Feb, 2018 5 commits
  6. 08 Feb, 2018 6 commits
  7. 07 Feb, 2018 5 commits