Commit Graph

583 Commits

Author SHA1 Message Date
Robbie Averill fccac37621 FIX Ensure queued job signature remains under 64 character limit (fixes Postgres error) 2017-12-07 09:12:57 +13:00
Robbie Averill e47ab9c07d FIX Implement correct namespace for PostgreSQL and add to Travis matrix 2017-12-07 09:12:57 +13:00
Dylan Wagstaff 8deccf0882
Merge pull request #192 from creative-commoners/pulls/3.0/safer-index-names-together
NEW Replace backslashes in Solr index names with dashes
2017-12-06 12:16:12 +13:00
Robbie Averill 4d57f09230 NEW Replace backslashes in Solr index names with dashes 2017-12-06 10:17:24 +13:00
Dylan Wagstaff d98303bc31
Merge pull request #190 from creative-commoners/pulls/3.0/namespaced-classes-in-boosts
FIX Double escape namespace separators in class names when boosting fields
2017-12-05 17:03:11 +13:00
Robbie Averill b64f02727c FIX Double escape namespace separators in class names when boosting fields 2017-12-05 16:49:55 +13:00
Dylan Wagstaff 16a5643d1b
Merge pull request #189 from creative-commoners/pulls/3.0/namespaced-classes-in-exclude
FIX Double escape namespace separators in class names when excluding fields
2017-12-05 16:26:58 +13:00
Robbie Averill 7ae7f704ce FIX Double escape namespace separators in class names when excluding fields 2017-12-05 16:07:49 +13:00
Dylan Wagstaff 3e491088b5
Merge pull request #187 from creative-commoners/pulls/3.0/subsites-compat
API Update Subsite integration, remove Polyhome variant
2017-12-05 15:10:45 +13:00
Robbie Averill 44f7bc02fd
Merge pull request #186 from madmatt/pulls/fix-configure
FIX: coreIsActive() failed when using a namespaced core
2017-12-05 14:33:36 +13:00
Robbie Averill 861f87514d API Update Subsite integration, remove Polyhome variant
Add a method to clear cached variants from SearchVariant, and a configuration flag for whether
a variant should be enabled or not. Add a FullTextSearch TestState class which will globally
disable the queuedjobs and fulltextsearch shutdown handlers during tests, and is not used to
clear cached variants on each test to prevent global state leakage.

Also removes Phockito as a test dependency.
2017-12-05 14:29:53 +13:00
Matt Peel 7bacda9a0f
FIX: coreIsActive() failed when using a namespaced core 2017-12-05 13:38:35 +13:00
Robbie Averill ceff657c62
Merge pull request #185 from creative-commoners/pulls/4.0/namespaces-over-classnames
FIX Replace uppercase String occurrences with lowercase version ones
2017-12-05 11:03:32 +13:00
Raissa North b066628fcc FIX Replace uppercase String occurences with lowercase version ones 2017-12-05 10:52:24 +13:00
Robbie Averill 7d762012d9
Merge pull request #183 from creative-commoners/pulls/4.0/namespaces-over-classnames
ENHANCEMENT Use namespace imports over fully qualified class names
2017-12-04 12:24:51 +13:00
Raissa North 0c3b4ff95b ENHANCEMENT Use namespace imports rather than fully qualified class names in strings 2017-12-04 11:56:18 +13:00
Dylan Wagstaff 71d837d7b0
Merge pull request #179 from creative-commoners/pulls/3.0/env-var-support
NEW Support environment variables for Solr index prefix and suffix
2017-12-04 11:53:22 +13:00
Robbie Averill 6ade00ae28
Merge pull request #182 from creative-commoners/pulls/3.0/delete-deprecated
API Remove deprecated code
2017-12-04 11:44:54 +13:00
Raissa North bd405c622a API Remove deprecated code 2017-12-04 10:43:57 +13:00
Robbie Averill 7f564956a5
Merge pull request #181 from creative-commoners/pulls/3.0/upgrade-yml
Add .upgrade.yml for silverstripe-upgrader tool class mapping
2017-12-01 13:43:59 +13:00
Robbie Averill 2b5544254a Add .upgrade.yml for silverstripe-upgrader tool class mapping 2017-11-30 13:47:45 +13:00
Robbie Averill 71107e0e96
Merge pull request #180 from creative-commoners/pulls/3.0/symbiote-namespaces-update
API Make SearchVariant::call(...) arguments variadic
2017-11-30 13:24:14 +13:00
Raissa North 193fe8139e API Make SearchVariant::call(...) arguments variadic 2017-11-30 12:01:57 +13:00
Robbie Averill 6811082263 NEW Support environment variables for Solr index prefix and suffix 2017-11-30 10:40:25 +13:00
Robbie Averill 7f22cb98c2
Merge pull request #177 from creative-commoners/pulls/3.0/symbiote-namespaces-update
FIX Update namespace references to Symbiote
2017-11-30 09:58:54 +13:00
Robbie Averill c7cbb0190d FIX Disable QueuedJobService shutdown function in fulltextsearch unit tests 2017-11-30 09:52:04 +13:00
Raissa North 6f8ef48a9b FIX Disabled the shutdown handler in QueuedJobs 2017-11-30 09:36:27 +13:00
Daniel Hensby dffdba0378
Merge pull request #178 from creative-commoners/pulls/3.0/composerize-solr-client
API Remove Solr PHP client from thirdparty library and include with composer instead
2017-11-29 10:20:31 +00:00
Robbie Averill 9b26af1290 API Remove Solr PHP client from thirdparty library and include with composer instead 2017-11-29 19:28:31 +13:00
Raissa North acd8b7b164 FIX Update namespace references to Symbiote 2017-11-29 15:40:47 +13:00
Dylan Wagstaff c7343e989d
Merge pull request #176 from creative-commoners/pulls/3.0/shuffle-folder-names
FIX Update directory structure for PSR-4 compatibility and rename "code" to "src"
2017-11-29 15:33:20 +13:00
Robbie Averill 7b72774890 FIX Update directory structure for PSR-4 compatibility and rename "code" to "src" 2017-11-29 15:13:46 +13:00
Daniel Hensby 494ce9a8a0
Merge pull request #173 from creative-commoners/pulls/3.0/fix-template-paths
FIX Replace Object reference with Injector and use ModuleLoader to resolve schema location
2017-11-23 17:45:21 +00:00
Robbie Averill f1ab8c9c9e FIX Replace use of SS_Log with Psr logger 2017-11-21 11:49:13 +13:00
Robbie Averill 74db46f5d7 DOCS Update namespaces and code formatting in documentation 2017-11-21 10:52:14 +13:00
Robbie Averill a408c9f7b5 Merge branch '2.4' into 2 2017-11-20 14:29:34 +13:00
Robbie Averill 196fc383ff Update branch alias for 2.5.x-dev 2017-11-20 14:29:16 +13:00
Robbie Averill 0692e2adad Remove obsolete branch alias 2017-11-20 14:28:48 +13:00
Robbie Averill fbc4c0e81d FIX Escape backslashes in class namespaces when performing queries, tidy up SearchVariantVersioned a bit 2017-11-16 13:59:15 +13:00
Robbie Averill a26f4370e4 FIX Use instanceof check for $object against DBString
Fixes #162
2017-11-16 11:23:20 +13:00
Robbie Averill 992bb5a969 FIX Use ModuleLoader to resolve the path to cli-script.php in framework 2017-11-16 10:17:49 +13:00
Robbie Averill 216613d746 FIX Replace Object reference with Injector and use ModuleLoader to resolve schema location 2017-11-16 10:12:08 +13:00
Robbie Averill fc51d1a62e
DOCS Add build badges to readme, update requirements for SS4 2017-11-15 16:09:37 +13:00
Robbie Averill 69f1d9bafe
Merge pull request #141 from silverstripe-elliot/compat4/btasker
WIP: Compat4/btasker
2017-11-15 14:57:44 +13:00
Robbie Averill 9106371f30 FIX Replace deprecated create_function with closure 2017-11-15 10:58:49 +13:00
Robbie Averill e001b68232 FIX Remove obsolete Object reference in Solr 2017-11-15 09:56:14 +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 1080d6444a FIX Update Travis configuration for SS4, add phpunit config and necessary composer updates 2017-11-15 09:43:36 +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