An error occurred fetching the project authors.
  1. 30 Nov, 2017 2 commits
  2. 20 Nov, 2017 2 commits
    • Ayush Tiwari's avatar
      ERP5CatalogTool: ERP5-ify CatalogTool · 4872db70
      Ayush Tiwari authored
      ERP5CatalogTool class inherits from BaseTool.
      
      Significant addition/changes in:
      -------------------------------
        ERP5CatalogTool:
          Add functions _isBootstrapRequired and _bootstrap
          Explicilty add manage option tabs in Catalog Tool
      
        BusinessTemplate:
          Update BusinessTemplate installation according to changes made in ERP5Catalog and Tool
      
        testCopySupport:
          Its better to change the tests where they need to call getpath function of
          portal_catalog to use portal_catalog.getpath instead of portal_catalog.getPath,
          as we have overridden the 'getPath' function for CatalogTool class due to change
          in inheritence.
      
        ERP5Site:
          Create portal_catalog while setting up erp5site
      4872db70
    • Ayush Tiwari's avatar
      Products.ERP5Catalog: EPR5-ify catalog. · 557c20bd
      Ayush Tiwari authored
      Move from SQLCatalog to ERP5Catalog as the default Catalog inside ERP5.
      The major difference is use of Products.ERP5Type.Core.Folder as Catalog
      base class.
      
      Significant addition/changes in
      -------------------------------
      
        ERP5Catalog class:
          Inherit from Catalog class from Products.ZSQLCatalog.SQLCatalog instead of copy-pasting the whole code again.
          Monkey patch some property setters and getters to maintain consistency
          Override getCatalogMethodIds cause it uses global variable in SQLCatalog.Catalog
          Add FilterDict and Filter class to have consistency with `filter_dict` attribute of SQLCatalog
      
        BusinessTemplate:
          Update BusinessTemplate installation with updated filter_dict
          Also, use dynamic migration while installing the catalog method objects for
          bt5. This way we have SQL Methods migrated just after installation.
      
        Tests:
          Update tests according to changes in portal_catalog
      
        SQLCatalog, testZSQLCatalog:
          Cleanup for unusable functions
      557c20bd
  3. 03 Oct, 2017 2 commits
  4. 08 Sep, 2017 1 commit
    • Tatuya Kamada's avatar
      BusinessTemplate: Reset portal_components on the fly while installing components · e3d3e6ce
      Tatuya Kamada authored
      Before:
      
        self.portal_components.reset(force=True,
                                     reset_portal_type_at_transaction_boundary=True)
      
      After:
      
        self.portal_components.reset(force=True)
      
      If the reset_portal_type_at_transaction_boundary is True, it does reset
      component only once at the end of transaction.
      (In detail, it reset component document module on the fly, and reset
       the component portal_types in the end of the transaction)
      
      However, it is possible that those components are required in the middle of
      the transaction while installing the business templates. For exmaple:
       - A method of a component is triggered while installing
       - A document component is required in a different business template,
         and those buisiness templates are installed inside a single transaction
         by upgrader.
      
      Thus reset here on the fly.
      e3d3e6ce
  5. 06 Jul, 2017 1 commit
  6. 20 Apr, 2017 1 commit
  7. 13 Apr, 2017 1 commit
    • Jérome Perrin's avatar
      BT: support template_keep_path_list for CatalogTemplateItem · 727477a3
      Jérome Perrin authored
      Because CatalogTemplateItem uses a special preinstall method, their way
      of computing modified objet did not support template_keep_path_list.
      
      To support template_keep_path_list, we must give priority to
      ObjectTemplateItem.preinstall, because BaseTemplateItem.preinstall does
      not work with path.
      727477a3
  8. 19 Jan, 2017 1 commit
  9. 23 Dec, 2016 1 commit
  10. 19 Aug, 2016 1 commit
  11. 20 Jun, 2016 1 commit
  12. 09 Jun, 2016 1 commit
  13. 07 Jun, 2016 8 commits
  14. 04 May, 2016 1 commit
  15. 03 May, 2016 2 commits
    • Kazuhiko Shiozaki's avatar
      Business Template: speed up build. · 11409e10
      Kazuhiko Shiozaki authored
      * remove needless copy of sub objects that are already recursively
        copied by their top most object.
      * remove needless manage_beforeDelete() calls when copying objects.
      11409e10
    • Georgios Dagkakis's avatar
      BusinessTemplate: don't export in a different file for missing attribute case. · 94508ae2
      Georgios Dagkakis authored
      Only xml metadata should be exported in this case.
      In the previous version the check of hasattr could pass
      if attribute is defined as an attribute of the class and not of the instance,
      causing also AttributeError later when the code tries to invoke delattr.
      
      Also, restructure export. First try to delete property and then
      export as separate file.
      
      Test also added.
      94508ae2
  16. 19 Mar, 2016 1 commit
    • Georgios Dagkakis's avatar
      Revert "BusinessTemplate.py: PortalTypeWorkflowChainTemplateItem do not · 02a07723
      Georgios Dagkakis authored
      fix the keys adding 'portal_type_workflow_chain/'
      in _importFile, preinstall and export."
      
      This reverts commit 6f8221b6.
      
      This commit cleaned inconsistent prefix manipulation in
      PortalTypeWorkflowChainTemplateItem. It passes the test suite,
      however it was found to produce incompatibility with previously installed
      business templates. In 'Upgrade Business Templates from Repositories"
      there was a diff of PortalTypeWorkflowChainTemplateItems like:
      Portal Type Name -> New
      portal_type_workflow_chain/Portal Type Name -> Removed
      For some reason the upgrade process would remove the chain
      without adding the new element.
      
      We are working on a clean solution, but since this needs more testing
      I revert this commit for now so that master version does not cause
      problems to users.
      02a07723
  17. 18 Mar, 2016 1 commit
  18. 17 Mar, 2016 1 commit
  19. 11 Mar, 2016 1 commit
  20. 08 Mar, 2016 2 commits
  21. 07 Mar, 2016 6 commits
  22. 19 Feb, 2016 1 commit
  23. 25 Jan, 2016 1 commit