Robbie Averill
9106371f30
FIX Replace deprecated create_function with closure
2017-11-15 10:58:49 +13:00
Robbie Averill
e590132967
FIX Run phpcbf automated linting to fix PSR-2 code styles, add PSR-4 autoloader
2017-11-15 09:53:33 +13:00
Robbie Averill
b448bfcd20
NEW Add config for shutdown flush, remove references to Object and update tests
2017-11-14 17:05:30 +13:00
Robbie Averill
0de6f52b1f
Merge remote-tracking branch 'upstream/master' into compat4/btasker
2017-11-14 16:31:16 +13:00
Robbie Averill
b996f689bc
API Remove Object inheritance and update method signatures in CaptureFilter request filter
2017-11-14 16:08:28 +13:00
Robbie Averill
e6af5be740
Merge branch '2.3' into 2
2017-11-14 15:47:19 +13:00
cpenny
e196de2ac2
Bugfix: Set SearchUpdateCommitJobProcessor::$dirty_indexes prop type to array, not bool
2017-08-18 12:47:30 +12:00
Mojmir Fendek
16fc54e101
Index now supports multiple relations with the same name.
2017-06-21 13:13:33 +01:00
Mojmir Fendek
2b3357565e
Index now supports multiple relations with the same name.
2017-06-16 17:05:35 +01:00
elliot sawyer
63954f3a07
Merge branch 'compat4/btasker' into compat/4
2017-05-05 21:25:29 +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
8bc6f5982c
Replace deprecated code with DataObject::getSchema()->classHasTable()
2017-04-29 01:27:57 +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
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
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
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
8228c762c9
Explicit namespace definition on YAML files
2017-04-24 09:05:47 +12:00
Brett Tasker
faacb6bc47
SS 4.0 - Fix SearchIntrospection and SearchIndex
2017-04-22 21:30:29 +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
Brett Tasker
9d5ea9393d
Batch fixes for tests #2
2017-04-21 14:14:30 +12:00
elliot sawyer
13bef6eb0d
break out search components with multiple classes into individual files and change namespaces
2017-04-21 13:26:24 +12:00
Brett Tasker
a5588fa5a0
Merge branch 'compat/4' into compat4/btasker
2017-04-21 12:28:49 +12:00
elliot sawyer
abdfe1947f
WIP add namespaces to all classes
2017-04-21 12:27:01 +12:00
Brett Tasker
ddbab95e3f
Namespacing for tests
2017-04-21 12:23:27 +12:00
elliot sawyer
9aac0ff1aa
WIP respect current include path
...
WIP Namespacing and use on SearchIndex class
2017-04-21 12:00:02 +12:00
elliot sawyer
19b38e0811
WIP more SS4 compatibility fixes
2017-04-21 11:37:01 +12:00
Elliot Sawyer
2246fa9ab8
Obtain search results for a particular subsite when the request comes from a query ( #136 )
...
* Allow a user to obtain search results for a particular subsite when the request comes from a query
When attempting to do this in project code, SearchVariantSubsites kicks in and replaces any filter you've applied with the current subsite ID, which prevents you from searching for filtered results in another subsite.
This fix prevents the module from doing this if a filter is applied on the query
TODO write unit tests for the filter() and exclude() behaviours
2017-03-30 11:17:46 +01:00
Damian Mooyman
bbaf4276af
BUG Fix delete / unpublish
...
Split SearchUpdater classes into separate files
Fixes #134
2017-03-09 12:34:20 +13:00
elliot sawyer
bbdf79ea2b
WIP Silverstripe 4 compatibility fixes
2017-02-17 16:27:38 +13:00
Daniel Hensby
465c072a99
FIX Regression where pages would be indexed under all subsites
2016-12-09 12:02:11 +00:00
UndefinedOffset
0ca7906c2d
BUGFIX: Fixed crash when the relationship has no parents
2016-05-24 16:34:00 -03:00
Sam Minnee
b25ec97979
FIX: Fix initial dev/build on PDO Database.
...
When the database isn’t yet created, $current is set, but
$current->currentDatabase() is empty. I suspect this only applies to
PDO connections. It results in errors during startup.
This check fixes it.
2016-04-29 14:23:11 +12:00
Damian Mooyman
e5fbdf9d42
BUG fix issues with search variants applying to more than one class
2016-04-26 12:43:31 +12:00
UndefinedOffset
5571e99506
BUGFIX: Fixed issue where the $id variable would be overridden in subsequent iterations of the derived fields loop
2016-04-18 09:40:43 -03:00
Damian Mooyman
ec5e4f4581
BUG Fix versioned writes where subtables have no fields key
...
BUG Remove unnecessary config nesting in tests which are now handled via core
Fixes some regressions in recent framework fixes to versioned
2016-04-15 15:46:19 +12:00
helpfulrobot
f87690ef22
Converted to PSR-2
2015-12-18 07:16:09 +13:00
torleif
84a79995d9
FIX: remove parameters from function calls
2015-12-03 14:49:26 +13:00
helpfulrobot
314feddd48
Converted to PSR-2
2015-11-21 19:19:20 +13:00
Christopher Pitt
3ad9369b0a
3.2 compat
2015-08-28 08:43:03 +12:00
Damian Mooyman
1683f776bd
API QueuedJob support for Solr_Reindex
...
API Incremental clear and re-index of records rather than clearing all records from SolrIndex up front
2015-07-28 12:46:23 +12:00
Damian Mooyman
16a6f362e2
API Only allow one scheduled commit job at a time
2015-05-11 16:35:43 +12:00