1. 18 Sep, 2024 16 commits
  2. 17 Sep, 2024 11 commits
  3. 16 Sep, 2024 1 commit
    • Romain Courteaud's avatar
      erp5_hal_json_style/erp5_web: fix http cache condition · bcd82831
      Romain Courteaud authored
      The main query to the hateoas web section must be cache by the browser,
      to reduce the number of queries by 2.
      
      Caching policy manager conditions are checked before calculating the query result,
      and so, it is not possible anymore to wait for the script to explicitely
      ask for the result to be cached.
      bcd82831
  4. 10 Sep, 2024 7 commits
  5. 09 Sep, 2024 3 commits
  6. 05 Sep, 2024 1 commit
  7. 03 Sep, 2024 1 commit
    • Jérome Perrin's avatar
      ERP5TypeLiveTestCase: repair running live tests from zope · 055adae4
      Jérome Perrin authored
      This fixes a regression with 445e8fa8 (ERP5TypeTestCase: rework
      default manager password generation, 2024-05-27), it was no longer
      possible to run live tests from a "normal" zope instance, this was
      failing with:
      
      Traceback (most recent call last):
        File "./eggs/Zope-5.10-py3.9.egg/Testing/ZopeTestCase/PortalTestCase.py", line 59, in setUp
          self._setup()
        File "./parts/erp5/product/ERP5Type/tests/ERP5TypeLiveTestCase.py", line 156, in _setup
          self.login()
        File "./parts/erp5/product/ERP5Type/tests/ERP5TypeTestCase.py", line 290, in login
          return PortalTestCase.login(self, user_name)
        File "./eggs/Zope-5.10-py3.9.egg/Testing/ZopeTestCase/PortalTestCase.py", line 146, in login
          user = user.__of__(uf)
      AttributeError: 'NoneType' object has no attribute '__of__'
      
      It was only possible from a runUnitTest instance.
      055adae4