1. 29 Mar, 2021 1 commit
    • Jérome Perrin's avatar
      manager/getAllowedExtensionList: use explicit extensions in ERP5 legacy mode · be6c35c0
      Jérome Perrin authored
      In python2, mimetypes module was not deterministic and this snippet:
      
          import mimetypes; print(mimetypes.guess_extension("text/html"))
      
      use to be ".html" on python 2.7.14, but is ".htm" on python 2.7.18
      
      Similarly:
      
          import mimetypes; print(mimetypes.guess_extension("application/msword"))
      
      was ".doc" on 2.7.14 and ".dot" on 2.7.18 (this was in my observations, this
      does not look deterministic as it is iterating on a dict, maybe this behaviour
      is not always same)
      
      For html conversion engine, ERP5 expect that the extension for text/html is
      .html, not .htm. Some tests also expect that the conversion for word is .doc so
      to keep compatibility with extensions used in ERP5 compatibility mode, define
      explicitly these two extensions instead of depending on python standard library.
      be6c35c0
  2. 01 Jun, 2020 1 commit
  3. 25 May, 2020 1 commit
  4. 18 May, 2020 1 commit
  5. 14 May, 2020 1 commit
  6. 06 May, 2020 1 commit
  7. 05 May, 2020 1 commit
  8. 02 Jan, 2020 1 commit
  9. 30 Dec, 2019 1 commit
  10. 27 Dec, 2019 1 commit
  11. 13 Mar, 2019 1 commit
  12. 21 Sep, 2018 1 commit
  13. 18 Sep, 2018 3 commits
  14. 14 Sep, 2018 4 commits
  15. 03 Aug, 2018 1 commit
  16. 26 Feb, 2018 9 commits
  17. 19 Feb, 2018 1 commit
  18. 21 Feb, 2017 1 commit
  19. 17 Jan, 2017 1 commit
  20. 14 Jan, 2017 1 commit
  21. 13 Jan, 2017 3 commits
  22. 05 Jan, 2017 1 commit
  23. 03 Jan, 2017 2 commits
  24. 22 Dec, 2016 1 commit