1. 20 Jan, 2021 4 commits
  2. 19 Jan, 2021 5 commits
  3. 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
  4. 13 Jan, 2021 4 commits
  5. 12 Jan, 2021 1 commit
  6. 11 Jan, 2021 2 commits
  7. 08 Jan, 2021 2 commits
  8. 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
  9. 05 Jan, 2021 1 commit
  10. 04 Jan, 2021 1 commit
  11. 30 Dec, 2020 3 commits
  12. 29 Dec, 2020 1 commit
  13. 28 Dec, 2020 2 commits
  14. 25 Dec, 2020 8 commits
  15. 24 Dec, 2020 2 commits
    • Jérome Perrin's avatar
      run_my_doc: enable coding style test · 57cc0393
      Jérome Perrin authored
      57cc0393
    • Jérome Perrin's avatar
      run_my_doc: make TestPage_viewEditTest valid html · 47c46690
      Jérome Perrin authored
      remove useless language="javascript"
      remove useless <col>
      
      This fixes these errors:
      
          Using nu validator to parse the view "TestPage_viewEditTest" (from erp5_run_my_doc bt) with warnings displayed :
          Error: line 623 column 33 : Table column 1 established by element “col” has no cells beginning in it.: st_table">
              <col class="action_column" />
              <
          Error: line 624 column 33 : Table column 2 established by element “col” has no cells beginning in it.: n" />
              <col class="action_column" />
              <
          Error: line 625 column 11 : Table column 3 established by element “col” has no cells beginning in it.: n" />
              <col />
              <
          Error: line 626 column 11 : Table column 4 established by element “col” has no cells beginning in it.: ol />
              <col />
              <
          Error: line 627 column 11 : Table column 5 established by element “col” has no cells beginning in it.: ol />
              <col />
              <
          Warning: line 619 column 85 : The “language” attribute on the “script” element is obsolete. You can safely omit it.: r.css">
            <script language="javascript"
                    src="http://erp5-catalog-0:2201/portal_3010166623124138150/test_editor.js"></scri
          Warning: line 621 column 90 : The “language” attribute on the “script” element is obsolete. You can safely omit it.: script>
            <script language="javascript"
                    src="http://erp5-catalog-0:2201/portal_3010166623124138150/erp5_run_my_docs.js"></scri
      47c46690