Commit Graph

517 Commits

Author SHA1 Message Date
madmatt
e4914a6778 Remove X-Query, X-Filters, and X-QueryFields headers from being set in test environments 2016-07-18 14:46:10 +12:00
Damian Mooyman
c6c3d3c3ab Merge pull request #122 from webbuilders-group/unit-test-fix
BUGFIX: SolrVersionedTest_Index causing crash in unit tests when Phockito is not installed
2016-07-07 18:37:02 +12:00
UndefinedOffset
6ff50fede9 BUGFIX: SolrVersionedTest_Index causing crash in unit tests when Phockito is not installed 2016-06-16 11:50:21 -03:00
Daniel Hensby
5ced034b33 Merge pull request #119 from webbuilders-group/empty-rels-fix
BUGFIX: Fixed crash when the relationship has no parents
2016-05-24 21:29:24 +01:00
UndefinedOffset
0ca7906c2d BUGFIX: Fixed crash when the relationship has no parents 2016-05-24 16:34:00 -03:00
Damian Mooyman
9a5361ae31 Merge pull request #118 from DarrenInwood/resultshook
Add an extension hook to allow altering search results
2016-05-20 17:38:08 +12:00
Damian Mooyman
b9440061ec Update changelog for 2.2.0 2016-05-18 17:20:00 +12:00
Damian Mooyman
cdd06fc375 Merge pull request #116 from sminnee/fix-first-dev-build
FIX: Fix initial dev/build on PDO Database.
2016-05-12 15:57:09 +12:00
Darren Inwood
234eac8308 More complete faceting example for docs. 2016-05-09 16:19:01 +12:00
Darren Inwood
034171270f Add an extension hook to allow altering search results 2016-05-09 10:21:07 +12: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
1ddf008592 API adding stemming support 2016-04-29 12:04:07 +12:00
Daniel Hensby
da22629d47 Merge pull request #117 from tractorcow/pulls/fix-shared-variants
BUG fix issues with search variants applying to more than one class
2016-04-26 02:20:41 +01:00
Damian Mooyman
e5fbdf9d42 BUG fix issues with search variants applying to more than one class 2016-04-26 12:43:31 +12:00
John Milmine
ab15c0ded8 adding stemming support 2016-04-21 09:07:39 +12:00
Damian Mooyman
afe7af18d2 Merge pull request #113 from webbuilders-group/derived-id-override-fix
BUGFIX: Fixed issue where the $id variable would be overridden in derived fields
2016-04-20 13:46:23 +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
Daniel Hensby
2067786e7f Merge pull request #114 from tractorcow/pulls/fix-versioned-writes
BUG Fix versioned writes where subtables have no fields key
2016-04-15 12:26:01 +01: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
Damian Mooyman
aa77e2b63a Merge pull request #109 from dhensby/pulls/fix-aliased-index
FIX Indexes with custom index names that dont match the classname wer…
2016-04-12 12:18:29 +12:00
Daniel Hensby
a94ddbce76 FIX Indexes with custom index names that dont match the classname were breaking 2016-02-23 02:05:00 +00:00
Damian Mooyman
a9eda33db7 Add changelog for 2.1.1 2016-02-04 14:08:29 +13:00
Damian Mooyman
100d2f3d7e Merge pull request #106 from helpfulrobot/update-license-year
Updated license year
2016-01-05 11:20:01 +13:00
helpfulrobot
e6de7c6d8a Updated license year 2016-01-01 06:45:22 +13:00
Damian Mooyman
db4d73a5b1 Merge pull request #105 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-12-18 10:05:41 +13:00
helpfulrobot
f87690ef22 Converted to PSR-2 2015-12-18 07:16:09 +13:00
Damian Mooyman
a2db7298cd Merge pull request #104 from torleif/patch-2
FIX: remove parameters from function calls
2015-12-08 16:47:32 +13:00
torleif
84a79995d9 FIX: remove parameters from function calls 2015-12-03 14:49:26 +13:00
Damian Mooyman
e14464f574 Merge pull request #102 from madmatt/pulls/fix-hamcrest
MINOR: Don't include Hamcrest globally so it doesn't conflict with PHPUnit
2015-11-27 12:57:25 +13:00
madmatt
665490dfde MINOR: Don't include Hamcrest globally so it doesn't conflict with PHPUnit
PHPUnit now includes matching functions like `any()` and `anything()` outside of a namespace, which conflicts with `Phockito` that does the same thing when calling `Phockito::include_hamcrest(true)`.

This test in particular breaks Behat, because the file includes a class (`SolrReindexTest_Item`) that extends `DataObject`, meaning that this file gets included very early in the initialisation process.

Instead, we can just set `Phockito::include_hamcrest(false)` and use the full path to the Hamcrest matching functions instead (e.g. `\Hamcrest_Matchers::anything()`).
2015-11-27 12:43:33 +13:00
Damian Mooyman
896f795539 Merge pull request #91 from helpfulrobot/convert-to-psr-2
Converted to PSR-2
2015-11-26 14:39:37 +13:00
Daniel Hensby
30c01e8590 Merge pull request #100 from helpfulrobot/add-standard-code-of-conduct
Added standard code of conduct
2015-11-22 20:33:11 +00:00
helpfulrobot
773ab89bf6 Added standard code of conduct 2015-11-21 20:13:42 +13:00
helpfulrobot
314feddd48 Converted to PSR-2 2015-11-21 19:19:20 +13:00
Daniel Hensby
c96d4bf749 Merge pull request #93 from helpfulrobot/add-standard-editor-config
Added standard editor config
2015-11-19 17:32:29 +00:00
Daniel Hensby
36fdeb3ee2 Merge pull request #94 from helpfulrobot/add-standard-travis-config
Added standard Travis config
2015-11-19 17:32:17 +00:00
Daniel Hensby
34074bba1b Merge pull request #97 from helpfulrobot/add-standard-license
Added standard license
2015-11-19 17:24:36 +00:00
Daniel Hensby
635865a2c3 Merge pull request #98 from helpfulrobot/add-license-to-composer
Added license to composer.json
2015-11-19 11:25:17 +00:00
Daniel Hensby
2d8ee1d653 Merge pull request #99 from helpfulrobot/add-standard-git-attributes
Added standard git attributes
2015-11-19 10:41:03 +00:00
helpfulrobot
14b5376ba8 Added standard git attributes 2015-11-19 19:11:54 +13:00
helpfulrobot
05d8127c52 Added license to composer.json 2015-11-19 18:52:29 +13:00
helpfulrobot
775a14fe9f Added standard license 2015-11-19 18:30:33 +13:00
Scott Hutchinson
997ecfef16 Merge pull request #96 from tractorcow/pulls/release-210
Add changelog for 2.1.0 release
2015-11-19 17:08:45 +13:00
Damian Mooyman
bc83546f24 Add changelog for 2.1.0 release 2015-11-19 16:59:18 +13:00
helpfulrobot
43d9a20e43 Added standard Travis config 2015-11-19 14:19:18 +13:00
helpfulrobot
c131aba63e Added standard editor config 2015-11-19 13:25:25 +13:00
Daniel Hensby
bd93f4b9ae Merge pull request #92 from helpfulrobot/add-standard-travis-config
Added standard Travis config
2015-11-18 23:39:25 +00:00
Daniel Hensby
5519b71242 Merge pull request #90 from helpfulrobot/add-standard-scrutinizer-config
Added standard Scrutinizer config
2015-11-18 23:37:45 +00:00
helpfulrobot
39b1ec2095 Added standard Travis config 2015-11-18 17:21:44 +13:00
helpfulrobot
0a39937697 Added standard Scrutinizer config 2015-11-18 15:14:01 +13:00