1. 13 Dec, 2023 1 commit
  2. 12 Dec, 2023 1 commit
  3. 06 Dec, 2023 2 commits
  4. 05 Dec, 2023 2 commits
  5. 04 Dec, 2023 2 commits
  6. 01 Dec, 2023 4 commits
  7. 30 Nov, 2023 4 commits
  8. 29 Nov, 2023 1 commit
  9. 28 Nov, 2023 12 commits
  10. 27 Nov, 2023 3 commits
    • Rafael Monnerat's avatar
      bf447559
    • Rafael Monnerat's avatar
      erp5_web: Introduce no-store policy · fb869e0a
      Rafael Monnerat authored
        We must ensure that some Web Section (under a website with must-revalidate caching policy) can have a session that isn't stored.
      
        Different from no-cache (that is similar to must-revalidate + max-age=0), no-store tells the client (and frontends) that it must not cache the content ever.
      fb869e0a
    • Rafael Monnerat's avatar
      erp5_web: authenticate cache should send Last-Modified · 1ae11adc
      Rafael Monnerat authored
        Since we issue an no-store and no 304s, the Last-Modified could confuse the frontend if If-Modified-Since header is present on the request.
      
        If-Modified-Since is sent, the ERP5 wont return with 304, so we don't expect that the frontend does it (but it does), so since we don't expect that user stores the last request it makes no sense to return with Last-Modified.
      1ae11adc
  11. 20 Nov, 2023 2 commits
  12. 16 Nov, 2023 4 commits
    • Jérome Perrin's avatar
      dms: version up pdfjs 3.11.174 · 5cb08e8c
      Jérome Perrin authored
      using pdfjs-3.11.174-legacy-dist.zip
      
      Note: viewer.js is modified to do nothing in webViewerLoad (one line
      with return "ERP5 patch: disable here" is added at the top of this
      function) because we do the initialization in the gadget.
      I think something similar was also done with the previous version.
      
      The tests were extended to cover:
      
       - opening an empty or broken PDF: this should not crash
       - clicking save: this should not crash and the updated document should
         render properly. The save action replaces the ERP5 document content
         with the content from the editor, so if user for example added
         annotations or draw on the PDF, the modified version is saved.
         We don't use this feature and it's not so easy to test, so for now
         the test only covers the "it should not crash and it should not
         break the document".
       - entering wrong password for encrypted PDFs should not crash
      5cb08e8c
    • Jérome Perrin's avatar
      core: make sure base_data is bytes or Pdata · c633ecef
      Jérome Perrin authored
      This was working fine (although not python3 ready), but was not tested
      c633ecef
    • Jérome Perrin's avatar
      10c68910
    • Jérome Perrin's avatar
      core: store a message instance in workflow history when converting to base format · 206cd26f
      Jérome Perrin authored
      Messages are translated when displayed, Base_translateString translates
      once and for all with the current language.
      206cd26f
  13. 15 Nov, 2023 1 commit
  14. 13 Nov, 2023 1 commit