Commit Graph

569 Commits

Author SHA1 Message Date
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
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