1. 31 Jul, 2020 1 commit
    • Arnaud Fontaine's avatar
      ZODB Components: erp5_web: Migrate Documents and Unit Tests (MR !1219). · 8e211e3e
      Arnaud Fontaine authored
      * Properly override WebSite Document in erp5_web_shadir by creating a new
        version_priority.
      * Keep Web{Section,Site}TraversalHook in Product/ERP5/Document as these are
        not ERP5 objects. Also, add `kept_for_backward_compatibility_only` to
        importLocalDocument() to handle pattern where the Document class has been
        migrated but some code remains.
      * Move WebSection_get*PrecacheManifestList Python Script from bt5 not depending
        on erp5_web to erp5_web_renderjs as this is required by CodingStyleTest
        (WebSection being now in erp5_web).
      8e211e3e
  2. 15 Nov, 2019 1 commit
  3. 08 Nov, 2014 1 commit
    • Kazuhiko Shiozaki's avatar
      use fulltext search in title and description. · d47df833
      Kazuhiko Shiozaki authored
      * to quickly setup catalog_full_text table, you can use the following SQL.
      
        REPLACE INTO catalog_full_text SELECT uid, title, description FROM catalog;
      
      * non fulltext queries like '=abc', '>abc', '%abc%' are supported.
      
      * now erp5_full_text_mroonga_catalog is used for unit tests thus I recommend using it instead of erp5_full_text_myisam_catalog.
      
      * to migrate existing MyISAM full_text table into Mroonga, you can use the following SQL.
      
        ALTER TABLE full_text DROP KEY SearchableText,
          ENGINE = mroonga,
          ADD FULLTEXT KEY SearchableText (`SearchableText`) COMMENT 'parser "TokenBigramSplitSymbolAlpha"';
      
      * fulltext search score is no longer provided as (column_name) but now provided as (column_name)__score__.
      
      * (category)_title, like source_title, related keys are automatically generated. (category)_description keys as well.
      d47df833
  4. 11 Sep, 2014 1 commit
  5. 30 Jan, 2014 1 commit
  6. 10 Sep, 2013 3 commits
  7. 27 Feb, 2013 1 commit
  8. 15 May, 2012 1 commit
  9. 11 May, 2012 1 commit
  10. 05 Sep, 2011 1 commit
  11. 02 Sep, 2011 1 commit
  12. 01 Sep, 2011 8 commits
  13. 30 Aug, 2011 1 commit
    • Łukasz Nowak's avatar
      Avoid publishing in activities. · 0a6324f2
      Łukasz Nowak authored
      During usage of shacache and shadir it was possible to publish document
      immediately.
      
      If there is problem with such scenario, it shall be fixed in correct place with
      a test proving issue.
      0a6324f2
  14. 25 Aug, 2011 1 commit
    • Łukasz Nowak's avatar
      Cleanup shacache and shadir restfulness. · b43adf6c
      Łukasz Nowak authored
      Follow the specification of shacache and shadir: PUT is used in shadir,
      POST is used in shacache in order to create new content. erp5_web can be used
      without any modification to serve fully restfull POST interface.
      
      Create special action for Web Site which reacts on POST type of request and
      support it by low level functionality. This action is available in web view
      only and affects only Web Sites configured for shacache.
      
      Other changes:
      
       * do not check uploaded content, just return calculated sha
       * break compatibility during upload (better now then later)
       * avoid hiding errors during publishing content by hiding exceptions in
         WebSite_publishDocumentByActivity
       * do randomisation in tests and make them live test safe
       * connect to running web server in tests in order to use all stacks during
         uploading and downloading content
       * cleanup erp5_web_shacache and erp5_web_shadir business templates and remove
         not needed scripts
       * during testing treat running site as blackbox and do not try to be too smart
      b43adf6c
  15. 18 Jul, 2011 2 commits
  16. 05 Jul, 2011 2 commits
  17. 04 Jul, 2011 1 commit