1. 15 Feb, 2018 7 commits
    • Jérome Perrin's avatar
      ERP5ShortMessage: add an incomplete test · ca685446
      Jérome Perrin authored
      only covers interface compliance and high level parts of sending
      ca685446
    • Jérome Perrin's avatar
      ERP5ShortMessage: use a private/unrestricted method to search for gateways · 1392357f
      Jérome Perrin authored
      User triggering action to send SMS does not have view permission on
      Gateway
      1392357f
    • Jérome Perrin's avatar
      short_message: export portal_sms · 839691ec
      Jérome Perrin authored
      after using Base_setDefaultSecurity to initialize security
      839691ec
    • 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 2 commits