1. 27 Jan, 2017 6 commits
    • Ayush Tiwari's avatar
      erp5_catalog: Rename reindexObject method to use them as new methods for CatalogTool. · 0d84b2f2
      Ayush Tiwari authored
      - This step is needed due to the use of BaseTool as Base class for CatalogTool
        due to which there were conflict between reindexObject from the Base and the one
        from the BaseTool.
      0d84b2f2
    • Ayush Tiwari's avatar
      erp5_catalog: New ERP5CatalogTool based on BaseTool from ERP5Type · 86894cb2
      Ayush Tiwari authored
      	- Remove copy-pasting all code from CatalogTool, better to rely on inheritence
      	- Remove unnecessary imports
      	- Add argument id in __init__ class
      	- Add functions _isBootstrapRequired and _bootstrap
      	- Update BusinessTemplate installation according to changes made in ERP5Catalog and Tool
      86894cb2
    • Ayush Tiwari's avatar
      erp5_catalog: New Catalog for ERP5. · 3ee864ef
      Ayush Tiwari authored
      We try to move from using SQLCatalog to ERP5Catalog as the default Catalog inside
      ERP5. The major difference is use of Folder class as the base for Catalog from
      Products.ERP5Type.Core
      
      Significant changes:
      	-Add dtml form for creating ERP5Catalog object
      	-Inherit from Catalog class from Products.ZSQLCatalog.SQLCatalog instead of copy-pasting the whole code again.
      	-Add allowed_types for ERP5Catalog tool
      	-Monkey patch some property setters and getters to maintain consistency
      	-Update id and title for ERP5Catlog while class initialization
      	-Set declarative securities and solve some inheritance conflicts
      	-Add isRADContent for ERP5Catalog Class
       	-Solve inheritence conflict for _setPropValue function in ERP5Catalog class
      	-Add SQL Method portal_type in allowed_types for ERP5Catalog class
      	-Override getCatalogMethodIds cause it uses global variable in SQLCatalog.Catalog
      	-Redefine security declarations
      	-Add functions for object_actions of Catalog portal_type in ERP5Catalog object
      	-Add filter_dict and _properties attributes for compatibilty
      	-isIndexable should be function instead of Accessor property for Catalog object
      3ee864ef
    • Ayush Tiwari's avatar
      erp5_catalog: Add SQLMethod class as ERP5 based class · 9c0bf60d
      Ayush Tiwari authored
      Here, we are creating the SQLMethod class based on ZSQLMethods.SQL
      class and XMLObject. Also, we are moving important attributes to
      property in 'SQL Method' property sheets.
      9c0bf60d
    • Ayush Tiwari's avatar
      sql_catalog: Change security on methods which are needed in restricted environment. · 31ec426a
      Ayush Tiwari authored
      Loosen the security on methods which we will use in erp5 catalog view in
      restricted environment. As suggested by \@vpelletier, this should be
      accepted as all methods were restricted by default earlier.
      31ec426a
    • Tristan Cavelier's avatar
  2. 25 Jan, 2017 26 commits
  3. 24 Jan, 2017 1 commit
  4. 23 Jan, 2017 3 commits
  5. 21 Jan, 2017 1 commit
  6. 20 Jan, 2017 1 commit
  7. 19 Jan, 2017 2 commits