An error occurred fetching the project authors.
  1. 05 Sep, 2020 1 commit
  2. 02 Sep, 2020 1 commit
  3. 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
  4. 20 Feb, 2020 1 commit
    • Arnaud Fontaine's avatar
      erp5_core_test: Migrate core tests ERP5/ERP5Type Products which have no external bt5 dependencies. · de85c464
      Arnaud Fontaine authored
      Not migrated:
        + testERP5Site: Checks Site creation and overrides setUp().
        + testERP5TypeInterfaces: Verifies that classes implements the Interfaces they claim to implement.
          => Should probably be integrated into coding style Unit Tests and done
             dynamically (MRO). Also, testERP5Interfaces imports code from that
             Unit Test and requires non-core bt5 to be installed.
        + testInvalidationBug: To-do (failing).
        + testPredicate: testDomainTool, inheriting from TestPredicateMixin, should be rewritten to not
          depend on erp5_apparel so that it can be moved to erp5_core_test.
      
      Also, move manuallyInstallBusinessTemplate() and uninstallBusinessTemplate() from
      ERP5TypeCommandLineTestCase to ERP5TypeTestCaseMixin as they are also used by
      Live Unit Tests.
      de85c464
  5. 22 Oct, 2018 1 commit
  6. 30 Jan, 2015 1 commit
  7. 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
  8. 10 Sep, 2013 1 commit
    • Arnaud Fontaine's avatar
      ZODB Components: Revert 'Allow to execute runUnitTest for bt5 Test Components'... · c35d24e8
      Arnaud Fontaine authored
      ZODB Components: Revert 'Allow to execute runUnitTest for bt5 Test Components' (a771dca4) to fix tests bootstrap.
      
      The new syntax to load ZODB Tests Components is:
      runUnitTest BT_TITLE:TEST_NAME
      
      That commit was too adhoc as it was relying upon filesystem to load Tests
      Components and was not behaving like any other Components (versions was not
      available and other Components were not importable).
      
      At the end, it would have meant that a Test Component ran through runUnitTest
      and Live Tests (in ERP5 itself) would have behaved differently, thus instead:
      
      1/ Install BT_TITLE dependencies and its test dependencies (new bt property to
         specify bt to be installed only for tests on a fresh instance).
      2/ The site is loaded.
      3/ Load the test by importing it like any other Components.
      c35d24e8
  9. 03 Jan, 2011 1 commit