1. 09 Apr, 2018 1 commit
    • Jérome Perrin's avatar
      deferred_style: factorize request argument filtering · 0b8b8cb5
      Jérome Perrin authored
      This code was slightly different in three places:
       * Base_activateSimpleView: only use request.form.items()
       * Base_activateReport: use request.items()
       * Base_computeReportSection: use request.items()
      
      request.items returns all items from request.other, request.form and
      request.cookies.
      In all cases, we are interested in request.form, so that report runs
      with the same user input in request. We want to restore restore
      request.other for Base_computeReportSection , but it does not harm in
      other cases.
      We always drop cookies to fix  #20180220-1DBF516 (as a consequence the
      request will not strictly be identical, but rendering reports should not
      depend on cookies)
      0b8b8cb5
  2. 06 Mar, 2018 1 commit
  3. 15 Feb, 2018 5 commits
    • Jérome Perrin's avatar
      ERP5ShortMessage/Mobyt: use https api url · eb6d3df4
      Jérome Perrin authored
      eb6d3df4
    • Jérome Perrin's avatar
      ERP5ShortMessage: add an incomplete test · b04a9562
      Jérome Perrin authored
      only covers interface compliance and high level parts of sending
      b04a9562
    • Jérome Perrin's avatar
      ERP5ShortMessage: use a private/unrestricted method to search for gateways · 49520e9d
      Jérome Perrin authored
      User triggering action to send SMS does not have view permission on
      Gateway
      49520e9d
    • Jérome Perrin's avatar
      short_message: export portal_sms · 61dea2a5
      Jérome Perrin authored
      after using Base_setDefaultSecurity to initialize security
      61dea2a5
    • Jérome Perrin's avatar
      ERP5ShortMessage: simplify gateway interface · e18c3509
      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.
      e18c3509
  4. 27 Dec, 2017 3 commits
  5. 22 Dec, 2017 3 commits
  6. 06 Dec, 2017 7 commits
  7. 04 Dec, 2017 20 commits