Commit Graph

545 Commits

Author SHA1 Message Date
Dylan Wagstaff
393377c8f8
Merge pull request #219 from creative-commoners/pulls/3.3/travis-recipes
Add different core installer versions to Travis matrix and add own phpcs ruleset
2018-06-15 16:11:41 +12:00
Robbie Averill
fc36eac3b3 FIX Remove method clearing dummy data from test fixture methods, DB rollbacks do this already 2018-06-15 14:33:40 +12:00
Robbie Averill
2fdf87bbf1 FIX Remove resetDBSchema use, not required and breaking 4.2 tests
Also reduces tearDown to protected visiblity as it is in SapphireTest and optimises class imports
2018-06-15 14:07:30 +12:00
Robbie Averill
0afe8c92d7 Bump memory limit in Travis to 2G 2018-06-15 12:03:39 +12:00
Robbie Averill
67a3e3697e Add different core installer versions to Travis matrix and add own phpcs ruleset 2018-06-15 11:58:06 +12:00
Robbie Averill
87ae48bbe5 Merge branch '3.3' 2018-06-15 11:11:01 +12:00
Robbie Averill
750fd30ec5
Merge pull request #218 from creative-commoners/pulls/3.3/fix-case
BUG Fix psr-4 namespace errors due to incorrect case
2018-06-15 11:10:30 +12:00
Damian Mooyman
b653758c80
BUG Fix psr-4 namespace errors due to incorrect case 2018-06-15 10:34:14 +12:00
Robbie Averill
a5001204f4 Merge branch '3.3' 2018-06-11 16:40:17 +12:00
Robbie Averill
9bcedf8fdd Remove obsolete branch alias 2018-06-11 16:39:56 +12:00
Dylan Wagstaff
aacbd3d303
Merge pull request #216 from creative-commoners/pulls/solr_search_form
Replace default CMS SearchForm with Solr version
2018-06-11 10:51:41 +12:00
Andrew Aitken-Fincham
875b37ea63 use a template that iterates results properly 2018-06-08 14:11:33 +01:00
Andrew Aitken-Fincham
7b78a841b0 add default solr contentcontroller extension
piggy-back on default searchform
2018-06-06 17:28:31 +01:00
Robbie Averill
3a2d1792b5 Merge branch '3.2' 2018-05-25 14:57:50 +12:00
Robbie Averill
c86c175753 Merge remote-tracking branch 'origin/3.1' into 3.2 2018-05-25 14:57:15 +12:00
Robbie Averill
b973f0bafe Remove obsolete branch alias 2018-05-25 14:57:07 +12:00
Dylan Wagstaff
2498934704
Merge pull request #214 from andrewandante/pulls/cleanup_searchquery_api
clean up SearchQuery API
2018-05-19 21:39:36 +12:00
Andrew Aitken-Fincham
e2a68ccffe improve SearchQuery API readability by deprecating functions
deprecate filter, exclude, fuzzysearch, inClass

deprecate start, limit

deprecate page, update SearchQuery_Range

add _config.php with Deprecation versioning

update index.md method names

update solr.md method names
2018-05-18 10:15:20 +01:00
Daniel Hensby
65204542c0
Merge branch '3.1' 2018-04-06 15:20:29 +01:00
Daniel Hensby
6e0d6bb48e
Merge branch '3.0' into 3.1 2018-04-06 15:19:39 +01:00
Robbie Averill
b79464941f
Merge pull request #212 from dhensby/pulls/3.0/suggest-QJ
Add symbiote/silverstripe-queuedjobs to composer.suggests
2018-04-06 09:12:20 +12:00
Daniel Hensby
0155aed186
Add symbiote/silverstripe-queuedjobs to composer.suggests 2018-04-05 17:06:34 +01:00
Daniel Hensby
bd01a56346
Merge pull request #210 from creative-commoners/pulls/3.2/disable-config
NEW Allow autoconfigure to be disabled via configuration
2018-03-20 11:01:29 +00:00
Robbie Averill
7a3e2d0823 NEW Allow autoconfigure to be disabled via configuration 2018-03-20 16:32:32 +13:00
Robbie Averill
c9a0fef326 Merge branch '3.1' 2018-03-15 11:06:42 +13:00
Robbie Averill
ba5a932c10 Merge branch '3.0' into 3.1 2018-03-15 11:04:25 +13:00
Robbie Averill
c0087fe2fc Remove obsolete branch alias 2018-03-15 11:02:14 +13:00
Robbie Averill
990c996c97
Merge pull request #208 from creative-commoners/pulls/3.1/proxification
NEW Update to use proxied DB instead of self-proxied
2018-03-15 10:50:01 +13:00
Raissa North
f47f43324c Update doc blocks at class level 2018-03-15 10:36:31 +13:00
Raissa North
f416a648c7 Update scrutinizer config 2018-03-15 09:52:44 +13:00
Raissa North
08052436e8 DOCS Add doc blocks for ProxyDBExtension 2018-03-15 09:45:14 +13:00
Raissa North
e7420a584d NEW Update to use proxied DB instead of self-proxied 2018-03-14 16:54:04 +13:00
Robbie Averill
685148f6fb
Merge pull request #207 from creative-commoners/pulls/3.0/list-all-the-classes
FIX Reenable indexing of relationship fields
2018-03-13 13:53:02 +13:00
Dylan Wagstaff
138fdad90c FIX Reenable indexing of relationship fields
In previous versions one could add e.g. a filter field for their index to
a relationship, such as 'Categories.ID' where categories is a many_many
relationship. This stopped working in the SS4 upgrade. Namespaces, whoop.
2018-03-13 13:34:14 +13:00
Robbie Averill
4db4a2bbb5
Merge pull request #206 from jakedaleweb/master
Fix issue where schema.xml etc is put in a different dir than the cor…
2018-03-12 10:50:58 +13:00
jovenden
c110eac8a1 Remove unneeded test as getClassNameFromIndex has been removed 2018-03-09 13:26:55 +13:00
jovenden
0fbff7ca6a Remove all further references to getClassNameFromIndex() 2018-03-09 09:42:33 +13:00
jovenden
9153365313 Use full namespaced core for index and commit actions 2018-03-09 09:33:29 +13:00
jovenden
0764c0ed1e Ensure only Namespaced format is used for Configure 2018-03-08 14:17:33 +13:00
jovenden
b6e64a2ec4 Fix issue where schema.xml etc is put in a different dir than the core is instantiated in 2018-03-08 12:56:43 +13:00
Dylan Wagstaff
48f3df725a
Merge pull request #202 from creative-commoners/pulls/3.0/irrelevant-variant-isolation
NEW Add SearchVariant::withCommon to run callbacks on relevant variants rather than all
2018-03-06 13:27:21 +13:00
Robbie Averill
c64c0c05c7 Update doc block for withCommon to indicate an array of strings, shorten serialized cache key 2018-02-28 09:30:17 +13:00
Robbie Averill
415fdeb0cd
Merge pull request #204 from creative-commoners/pulls/3.0/equality-for-all-dataobjects
FIX Don't assume a DataObject's table.
2018-02-26 11:00:19 +13:00
Robbie Averill
8dc27d5bba
Merge pull request #203 from creative-commoners/pulls/3.0/reindex-mah-windows
FIX permit reindexing on a Windows machine
2018-02-26 10:58:38 +13:00
Dylan Wagstaff
9e32f2adb0 FIX Don't assume a DataObject's table.
Knowing if a DataObject has a table or not is irrelevant - data is queried
out and pushed into solr all the same, whether there is a join table, a
base table, or any combination with maybe a few no-tables in between.
SomeDataClass::get() will fetch all data irrelevant of tables, that's the
point of an abstraction like SilverStripe's ORM.
2018-02-23 17:45:33 +13:00
Dylan Wagstaff
367343c481 FIX permit reindexing on a Windows machine
It appears that when executing in a Microsoft Windows environment the
default shell used in the immediate reindex handler is CMD, which has
some severely different syntax support from that of a POSIX machine (e.g.
GNU bash). This leads to errors to do with double escaping certain
parameters passed in via the CLI - culminating in an Injector error about
an non-extant class e.g. 'SilverStripe\\CMS\\Model\\SiteTree' - two
slashes a namespace separator does not make!
2018-02-23 16:46:44 +13:00
Robbie Averill
31991858ef FIX Update tests to reflect the fact that the versioned variant is not relevant for SearchUpdaterTest_Container 2018-02-23 16:42:35 +13:00
Robbie Averill
6e5b37e728 NEW Add SearchVariant::withCommon to run callbacks on relevant variants rather than all 2018-02-23 16:42:00 +13:00
Dylan Wagstaff
10344580c9
Merge pull request #200 from creative-commoners/pulls/3.0/use-symfony-process
NEW Use symfony/process to execute immediate system commands for reindexing
2018-02-19 10:19:27 +13:00
Robbie Averill
de4e2ba889 NEW Use symfony/process to execute immediate system commands for reindexing 2018-02-16 12:05:46 +13:00