1. 27 Jan, 2021 2 commits
  2. 26 Jan, 2021 7 commits
  3. 25 Jan, 2021 2 commits
    • Jérome Perrin's avatar
      officejs_support_request_ui: support Ctrl+S in discussion view editor · fb1f6d48
      Jérome Perrin authored
      form_discussion_view embeds an editor, but it did not expose notifySubmit
      method to child gadgets. Because using Ctrl+S in the editor calls
      notifySubmit on parent gadget, Ctrl+S was causing a page crash.
      
      Expose such a method that would submit a comment when called.
      fb1f6d48
    • Jérome Perrin's avatar
      web_renderjs_ui: use lxml to extract data-i18n messages · a928abd2
      Jérome Perrin authored
      The previous regular expression based approach sometimes could not extract
      message properly. Using xml parser simplify code and fix several messages
      that were not extracted properly, like messages containing ", [] or {}
      
      This also fix some problems when looking for messages sources:
        - archived web pages were sometimes used instead of published ones
        - messages from gadgets implemented as page templates/OFS files were not
          extracted.
      
      A few more unit tests for the scripts involved in this process are added.
      a928abd2
  4. 22 Jan, 2021 1 commit
  5. 20 Jan, 2021 4 commits
  6. 19 Jan, 2021 5 commits
  7. 14 Jan, 2021 2 commits
    • Jérome Perrin's avatar
      web_renderjs_ui: update comments about the reason for not using cache.addAll · 5c0a852e
      Jérome Perrin authored
      The main reason for not using cache.addAll was to fill the cache as a low
      priority task, not to generate too much traffic, the safari compatibility
      was secondary. Now that safari seems to support cache.addAll, remove the
      comment about safari.
      5c0a852e
    • Jérome Perrin's avatar
      xhtml_style/authentication_policy: merge "logged_in" implementation · b9097101
      Jérome Perrin authored
      This simplify code and also bring the functionnality of c484f8aa
      (erp5_xhtml_style Base_cancel and logged_in: do not allow redirection outside
      ERP5 site., 2016-02-12) for the cases where authentication_policy is
      installed.
      
      This also fixes a problem with translations of "Your password will expire at
       {date}", which was using different messages for every possible date.
      
      Tests needed to be updated because we now redirect with properly URL encoded
      parameters.
      b9097101
  8. 13 Jan, 2021 4 commits
  9. 12 Jan, 2021 1 commit
  10. 11 Jan, 2021 2 commits
  11. 08 Jan, 2021 2 commits
  12. 06 Jan, 2021 2 commits
    • Jérome Perrin's avatar
      authentication_policy: fix UnicodeDecodeError with invalid password messages · 28ef4724
      Jérome Perrin authored
      When new password does not match policy, in reset password and change
      password dialogs, we used u' '.join([str(message) ...]) to join all
      translated messages in a string, but this construct will decode the
      str(message) to unicode using ascii, so it will fail when these messages
      contain some multi bytes characters.
      
      Extend test coverage to check that these dialogs uses translations and use
      non ascii messages in the tests, to make sure we don't have regressions
      with this issue.
      28ef4724
    • Tristan Cavelier's avatar
      erp5_base: drop create_user_action · 1b11dd03
      Tristan Cavelier authored
      ERP5 does not handle user "account" anymore, it handles "login".
      Please use "Add ERP5 Login" or any other login you need instead.
      
      See discussions on !547
      1b11dd03
  13. 05 Jan, 2021 1 commit
  14. 04 Jan, 2021 1 commit
  15. 30 Dec, 2020 3 commits
  16. 29 Dec, 2020 1 commit