Commit Graph

432 Commits

Author SHA1 Message Date
Robbie Averill d2c4181826
Merge pull request #223 from creative-commoners/pulls/3.2/use-exception
FIX Use \Exception for catching Solr exceptions
2018-06-27 17:00:12 +12:00
Guy 97891b5fa3
Fixing linting issue that couldn't be automatically resolved 2018-06-27 16:54:08 +12:00
Guy 3e8b7f50a4
Automated linting commit 2018-06-27 16:50:54 +12:00
Guy 5c12baaaa9
FIX Use \Exception for catching Solr exceptions 2018-06-27 16:23:17 +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
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
Daniel Hensby 436b7663e1
Merge pull request #196 from creative-commoners/pulls/3.0/docblock-types
MINOR Correct PHPDoc types and remove unused imports
2018-01-10 08:47:48 +00:00
Robbie Averill 345a45d532 MINOR Correct PHPDoc types and remove unused imports 2018-01-10 19:57:19 +13:00
Robbie Averill 0bb82bf71b
Merge pull request #195 from creative-commoners/pulls/3.0/move-teststate
API More TestState into source folder from tests
2018-01-10 18:23:58 +13:00
Robbie Averill 7b933cb36e API More TestState into source folder from tests 2018-01-10 15:16:04 +13:00
Robbie Averill 415a1b9960 Merge branch '2' 2017-12-13 18:07:54 +13:00
Dylan Wagstaff 0fd7bd4730
Merge pull request #184 from creative-commoners/pulls/3.0/fix-postgres
API Remove bind_manipulation_capture RequestFilter in favour of Injection overrides
2017-12-11 10:41:33 +13:00
Robbie Averill 2ac0178958 Switch testSoftCap from skipped to incomplete 2017-12-07 09:14:09 +13:00
Robbie Averill 59a1643e85 Add Capture classes to upgrade.yml 2017-12-07 09:14:09 +13:00
Robbie Averill 6ecf8439af FIX Update setUpBeforeClass and illegal_extensions 2017-12-07 09:14:09 +13:00
Robbie Averill a47d5e8a8e FIX Use correct namespace for SQLite3 adapter, implement injector prioritisation for database 2017-12-07 09:14:08 +13:00
Robbie Averill 21a045165b Skip testSoftCap for now, passes in isolation but not in the suite. Use constants for queue statics 2017-12-07 09:12:57 +13:00
Robbie Averill 45c402fc4c API Remove bind_manipulation_capture and RequestFilter, use Injector instead 2017-12-07 09:12:57 +13:00
Robbie Averill fccac37621 FIX Ensure queued job signature remains under 64 character limit (fixes Postgres error) 2017-12-07 09:12:57 +13:00