Commit Graph

661 Commits

Author SHA1 Message Date
Robbie Averill
558fa486b8 Add PHP7 + SS3.6 build to Travis configuration 2017-06-15 10:58:13 +12:00
elliot sawyer
d7805f46ab fixes to allow namespacing in index class 2017-05-19 11:23:12 +12:00
elliot sawyer
3fe285aaf1 Merge branch 'compat4/btasker' of github.com:silverstripe-elliot/silverstripe-fulltextsearch into compat4/btasker 2017-05-05 21:30:15 +12:00
elliot sawyer
63954f3a07 Merge branch 'compat4/btasker' into compat/4 2017-05-05 21:25:29 +12:00
Elliot Sawyer
c7be39480b Merge pull request #4 from ssmarco/compat/4marco
Able to run these tasks successfully, includes Brett's changes
2017-05-04 21:35:31 +12:00
Elliot Sawyer
eb0740f522 Merge pull request #3 from ssmarco/compat/4marco
Able to run configure and reindex
2017-05-04 21:35:20 +12:00
Brett Tasker
4ff4404f9f SS 4.0 - Include PHPUnit in composer.json 2017-05-01 21:19:22 +12:00
Brett Tasker
8adb3171f0 FIX: Update travis to remove php 5.5 + Fix SearchVariantSubsiteTest reference to SapphireTest 2017-05-01 20:46:19 +12:00
Brett Tasker
4c44d1c29e FIX: Broken merge as files have been moved + Fixed additional tests 2017-05-01 20:18:59 +12:00
Marco Hermo
6478a13425 Use ->config()->segment instead. It's possible for somebody to change the value of using the Config API 2017-05-01 12:26:07 +12:00
Marco Hermo
e6cd3f4cd2 Use to make backwards compatible with existing code 2017-05-01 12:12:43 +12:00
elliot sawyer
815d619013 SS 4.0 - Strip namespaces from core name since backslashes are not acceptable Solr core names 2017-04-30 17:08:29 +12:00
Marco Hermo
7c0ff89adf Removed @todo as SearchLogFactory interface is injected via Yaml config 2017-04-29 01:31:53 +12:00
Marco Hermo
2932ae94ca Change segments for configure and reindex tasks 2017-04-29 01:30:29 +12:00
Marco Hermo
b4d1e45f3c Add extra slashes to namespaced class passed as variable to shell commands 2017-04-29 01:29:59 +12:00
Marco Hermo
8bc6f5982c Replace deprecated code with DataObject::getSchema()->classHasTable() 2017-04-29 01:27:57 +12:00
Marco Hermo
572c17a00e Merge remote-tracking branch 'upstream/compat4/btasker' into compat/4marco 2017-04-28 22:04:57 +12:00
Marco Hermo
561550c538 Add FieldDefinitions and CopyFieldDefinitions to casting property in order to render them as HTMLText 2017-04-28 21:50:55 +12:00
Brett Tasker
c29e8ec6bf Merge branch 'master' into compat4/btasker 2017-04-27 00:27:16 +12:00
Brett Tasker
a8588b2fd8 Merge branch 'compat/4' into compat4/btasker 2017-04-27 00:24:46 +12:00
Brett Tasker
fa7a23a6d2 SS 4.0 - Upgrade Combinations array and Logging 2017-04-26 23:24:51 +12:00
Brett Tasker
6fb5736ef3 SS 4.0 - Upgrade Solr services and stores 2017-04-26 23:23:37 +12:00
Brett Tasker
5fae52374f SS 4.0 - Upgrade Solr reindex components 2017-04-26 23:22:28 +12:00
Brett Tasker
4143850786 SS 4.0 - Remove MessageHandler Solr integration 2017-04-26 23:21:30 +12:00
Brett Tasker
ea944373bd Only commit non-null values to Solr 2017-04-26 23:19:44 +12:00
Brett Tasker
4530fb21fe SS 4.0 - Upgrade Solr & Solr Index 2017-04-26 23:19:25 +12:00
Brett Tasker
7baf7d5758 Use actual classname in SearchVariantVersioned 2017-04-26 23:17:12 +12:00
Brett Tasker
59c3ad2ded SS 4.0 - Upgrade search variants 2017-04-26 23:16:32 +12:00
Brett Tasker
022575fadb SS 4.0 - Upgrade FullTextSearch, queries and updaters 2017-04-26 23:13:26 +12:00
Brett Tasker
590ac4cb25 Update manyMany array index as SS4.0 as an additional class in history. 2017-04-26 23:12:33 +12:00
Brett Tasker
8e07d4a5c6 SS 4.0 - Upgrade search processors and remove MessageQueue as not maintained 2017-04-26 23:09:47 +12:00
Brett Tasker
695b2d2fc3 SS 4.0 - Upgrade search indexes 2017-04-26 23:06:30 +12:00
Brett Tasker
3c1ace867b SS 4.0 - Disable SubSite installation as SubSite has yet to be upgraded 2017-04-26 22:55:18 +12:00
Brett Tasker
57f6a55994 SS 4.0 - Update config files to use full class names & update travis 2017-04-26 22:53:44 +12:00
Brett Tasker
73e4888715 SS 4.0 - Upgrade tests to SilverStripe 4.0 & Replace Phockito 2017-04-26 22:53:00 +12:00
elliot sawyer
6b58da3f9b Merge branch 'compat/4marco' into compat/4 2017-04-26 20:58:14 +12:00
Marco Hermo
3160c066c0 Use PHP5.5 class name resolution operator 2017-04-25 21:17:48 +12:00
Marco Hermo
e422ad48c9 Use PHP5.5 class name resolution operator 2017-04-25 21:11:29 +12:00
Elliot Sawyer
1728a62af5 WIP: Silverstripe 4 compatibility
Thanks to Marco Hermo and Brett Tasker for helping with this
* Bump framework/cms to ^4.0@dev
* WIP Silverstripe 4 compatibility fixes
* more replacements and patches to migrate this module to 4.0
* Update composer.json
* remove php <5.5 from travis.yml
* WIP more SS4 compatibility fixes
* WIP fix solr path to use DIR, avoid hardcoded module name
* WIP respect current include path
* WIP Namespacing and use on SearchIndex class
* Namespacing for tests
* WIP add namespaces to all classes
* Second push of Test changes + namespacing
* WIP split Solr files with multiple classes into single file / single class. Adjust namespaces
* Fix PHP errors in test
* break out search components with multiple classes into individual files and change namespaces
* Update namespacing for Search indexes and variants in tests
* Batch fixes for tests #2
* Update _config.php to use namespace
* Use root namespace in referencing Apache_Solr_Document
* Migrate task names so that the name is not fully qualified
2017-04-25 20:46:35 +12:00
Marco Hermo
d13601f827 Fix invalid namespace reference for SolrService_Core 2017-04-24 10:01:49 +12:00
Marco Hermo
8228c762c9 Explicit namespace definition on YAML files 2017-04-24 09:05:47 +12:00
Brett Tasker
168b6745b4 SS 4.0 - Skip Subsite tests if module is not installed 2017-04-22 21:36:40 +12:00
Brett Tasker
43dd2ba398 SS 4.0 - Replace inst()->update with modify()->set and hasOne with hasOneComponent 2017-04-22 21:31:34 +12:00
Brett Tasker
faacb6bc47 SS 4.0 - Fix SearchIntrospection and SearchIndex 2017-04-22 21:30:29 +12:00
Brett Tasker
0b7281b25e SS 4.0 - Update references to thirdparty Solr API as its not namespaced 2017-04-22 21:30:02 +12:00
Brett Tasker
eac9485924 SS 4.0 - Update Variants 2017-04-22 21:24:33 +12:00
Brett Tasker
fcf9a4f888 SS 4.0 - Update Database Captures to support Postgres & SQLite 2017-04-22 21:22:54 +12:00
Brett Tasker
6066af5841 Update Search Manipulater 2017-04-21 16:34:04 +12:00
Marco Hermo
da0a217aa0 Use root namespace in referencing Apache_Solr_Document 2017-04-21 16:32:47 +12:00
Marco Hermo
62ba531543 Update _config.php to use namespace 2017-04-21 16:32:03 +12:00