1. 19 Mar, 2020 1 commit
    • Jérome Perrin's avatar
      renderjs_ui: "Touch" cache manifest in Post-Upgrade · 99c7ec1d
      Jérome Perrin authored
      With the current architecture of cache manifest, it was required that
      developpers change the cache manifests referencing a web page every time
      they change a web page. In practice, developers were never doing this,
      so we sometimes had issues where client keep using old version of
      website even though a new version has been deployed, when after
      deployment we did not change the cache manifest.
      
      To automate the scenario of modifying the cache manifest, introduce a
      post-upgrade constraint that will check that the manifest is newer than
      all of the referenced pages. If that's the case, the constraint can fix
      by modifying the manifest content, which also changes the modification
      date of the manifest, which might be used in "if-modified-since"
      negociations.
      
      According to spec [1], cache manifest is updated if the HTTP responses
      is not "304 not modified" and if the manifest content is not
      byte-for-byte identical to the previously cached version.
      
      [1] https://www.w3.org/TR/2008/WD-html5-20080122/#updating1
      
      /reviewed-on !1009
      99c7ec1d
  2. 11 Mar, 2020 1 commit
  3. 28 Jan, 2020 1 commit
    • Jérome Perrin's avatar
      calendar: More fixes with exceptions when not repeating · 5375936a
      Jérome Perrin authored
      The fixes from !630
      were not enough, exceptions set on days were calendar did not repeat
      were also confusing other exceptions after this.
      
      Simplify implementation a lot, instead of keeping track of the next
      exception date, start by building a set of all exceptions dates and
      use membership of this set as a criterion to skip exceptions.
      
      backport of https //lab.nexedi.com/nexedi/erp5/merge_requests/1030
      5375936a
  4. 16 Dec, 2019 18 commits
  5. 13 Dec, 2019 7 commits
  6. 12 Dec, 2019 5 commits
  7. 11 Dec, 2019 1 commit
    • Jérome Perrin's avatar
      CodingStyleTest: run testXHTML for each business template · 7988bc67
      Jérome Perrin authored
       - run `testXHTML` on business templates "one by one"
       - fix all the problems with the currently tested business templates
       - because `erp5_ingestion` was containing some tests skin folder depending on other business templates and because I did not want to add dependencies to `erp5_ingestion` I moved the tests in `erp5_ingestion_test`.
      
      /reviewed-on nexedi/erp5!989
      7988bc67
  8. 10 Dec, 2019 3 commits
  9. 06 Dec, 2019 3 commits