1. 09 Mar, 2020 31 commits
  2. 06 Mar, 2020 9 commits
    • Roque's avatar
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
      erp5_web_renderjs_ui: drop translateHTML usage · 376897f7
      Romain Courteaud authored
      Keep compatibility with existing officejs tests, by keeping the
      data-i18n attributes, even if useless.
      376897f7
    • Romain Courteaud's avatar
      d3187304
    • Romain Courteaud's avatar
      erp5_web_renderjs_ui: Replace appcache by a service worker · 4f530f85
      Romain Courteaud authored
      Chrome will deprecate appcache in the coming weeks.
      As appcache has been dropped on Firefox, this change will improve the speed on Firefox.
      
      The service worker only provide a cache for all ERP5JS gadgets.
      ERP5JS will still be usable on browser without service worker API.
      
      The list of files to cache is directly added inside the service worker
      code, in order to be able to skip the usage of the fetch method (which
      does not yet cover all browser HTTP usage).
      
      This list is configurable on the web site level.
      No need to change the service worker code directly.
      
      The service worker will be updated as soon as the web site modification date changes.
      
      End user does not need to reload its browser tab.
      Only browsing ERP5JS will trigger the service worker update.
      
      When a new update is found, ERP5JS will automatically reload itself if
      there is no risk of losing user data input.
      
      An empty appcache is kept, to allow migration of existing client to the
      worker automatically.
      4f530f85
    • Romain Courteaud's avatar
    • Romain Courteaud's avatar
      bf4ee366
    • Romain Courteaud's avatar
      erp5_gadget_interface_validator: stop relying on appcache · 82d84bd1
      Romain Courteaud authored
      Use the precache script to get the list of gadgets.
      Ensure to also check the launcher gadget.
      
      Report subgadget service error.
      82d84bd1
    • Jérome Perrin's avatar
      insolvency_proceeding: repair InsolvencyProceeding XML · 35efab5d
      Jérome Perrin authored
      I don't know how it was exported, but this object does not install:
      
           File "/parts/erp5/product/ERP5/Document/BusinessTemplate.py", line 4141, in install
             return ObjectTemplateItem.install(self, context, **kw)
           File "/parts/erp5/product/ERP5/Document/BusinessTemplate.py", line 1422, in install
             container._setObject(object_id, obj)
           File "/parts/erp5/product/ERP5Type/Base.py", line 253, in __call__
             result = self.__dict__['_m'](instance, *args, **kw)
           File "/parts/erp5/product/ERP5Type/Core/Folder.py", line 1055, in _setObject
             return folder._setObject(self, *args, **kw)
           File "/eggs/Products.BTreeFolder2-2.13.5-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 443, in _setObject
             self._setOb(id, ob)
           File "/parts/erp5/product/ERP5Type/Core/Folder.py", line 970, in _setOb
             return folder._setOb(self, id, object)
           File "/eggs/Products.BTreeFolder2-2.13.5-py2.7.egg/Products/BTreeFolder2/BTreeFolder2.py", line 256, in _setOb
             ids = mti.get(meta_type, None)
         AttributeError: 'NoneType' object has no attribute 'get'
      35efab5d