Commit Graph

115 Commits

Author SHA1 Message Date
Michal Kleiner
831438fe9d FIX Reset class from the actual SearchVariant instance to respect Injector 2023-05-10 12:05:45 +12:00
Steve Boyd
47d13600f9 API Update deprecations 2022-11-16 11:36:25 +13:00
Steve Boyd
302af21cad ENH PHP 8.1 compatibility 2022-04-13 11:24:03 +12:00
Steve Boyd
1d9e98cd3b Merge branch '3.9' into 3 2022-03-23 17:23:42 +13:00
Steve Boyd
b544d93121 FIX Ensure DB is active before processing 2022-03-23 14:31:55 +13:00
Steve Boyd
fad7c0421c Merge branch '3.9' into 3 2022-03-04 14:12:42 +13:00
Tim Oliver
30ed311386
FIX Don't double-escape state field (#317)
Symfony now escapes each component separately.
See https://github.com/silverstripe/silverstripe-fulltextsearch/issues/311
2022-03-04 14:10:15 +13:00
Michal Kleiner
0788dc4e81
[Backport] Let symfony/process escape each command part separately (#315) 2022-03-03 14:57:44 +13:00
Steve Boyd
5282cdc3ed Merge branch '3.9' into 3 2022-02-01 14:03:34 +13:00
Steve Boyd
e0ec87a0ed Merge branch '3.8' into 3.9 2022-02-01 14:02:48 +13:00
GuySartorelli
2c0e2df02d
FIX Don't assume DataObject::canView always returns bool (#306)
Because there is no return value typehinting in DataObject::canView, the value returned from that method can be of any type. We must cast to boolean before returning the value to avoid possible errors with non-boolean return types.
2022-01-27 11:23:19 +13:00
GuySartorelli
b1675d4df1
FIX Separate out all command components so Solr_Reindex works in dev mode. 2022-01-26 15:37:07 +13:00
Daniel Hensby
fbe899e85f
Close curl handles after use 2022-01-07 10:40:31 +00:00
Maxime Rainville
8ac7964220
Merge pull request #303 from creative-commoners/pulls/3.9/handle-deprecation
FIX Allow deprecated warnings
2021-12-16 11:40:22 +13:00
Steve Boyd
a621f77380 FIX Allow deprecated warnings 2021-12-15 15:09:25 +13:00
Steve Boyd
95f50f6ce2 Merge branch '3.8' into 3.9 2021-12-15 14:40:47 +13:00
Steve Boyd
34e0594e48 DEP Allow symfony 4 2021-12-08 15:24:29 +13:00
Michal Kleiner
9dfcbf9c90 ENH Show error message instead of error code on WebDAV check 2021-11-21 16:12:02 +13:00
Steve Boyd
8da0f2c2cc Merge branch '3.8' into 3 2021-09-14 10:05:23 +12:00
GuySartorelli
bd3ef84cb3
Make SearchQuery_Range injectable.
The docs in docs/en/04_querying.md#searching-value-ranges indicate that this class should be injectable.
2021-09-13 13:09:44 +12:00
Michal Kleiner
83af73c9f6 FIX Only use values that are not empty
Previously the isset check would still allow falsey values.
2021-08-23 23:55:13 +12:00
GuySartorelli
69ba134ac2
FIX: Always store the default field to support highlighting
Fixes #249
2021-02-24 16:54:19 +13:00
Steve Boyd
cfe937fbd1 NEW canView() check on record before indexing and before showing in search results 2020-06-10 17:22:20 +12:00
Michal Kleiner
167597db7b FIX #108 - Update and simplify getDirtyIDs method 2020-04-16 21:34:10 +12:00
Steve Boyd
bfa2edee6a Improved search filtering based on visibility 2020-04-09 09:04:01 +12:00
Dan Hensby
277a307a1b
Merge branch '3.6' into 3 2020-04-07 08:33:02 +01:00
Naomi Guyer
d759a78182 FIX: allow update processor to be overriden by existing yml
One of the update commits (6066af5841) replaced SearchUpdateProcessor with SearchUpdateImmediateProcessor, but that means that the existing processor yml fails to replace the SearchUpdateImmediateProcessor with SearchUpdateQueuedJobProcessor  as I think is intended?

c.f https://github.com/silverstripe/silverstripe-fulltextsearch/blob/3/_config/processor.yml#L19
2020-02-10 17:05:16 +13:00
Naomi Guyer
1e2019ba4f Update SearchUpdateQueuedJobProcessor.php 2020-02-10 16:26:12 +13:00
Naomi Guyer
957037fc43
FIX: SearchUpdateQueuedJobProcessor JobType NULL
getJobType method returns null as querying a string rather than a namespaced class.
2020-02-10 16:20:29 +13:00
Brett Tasker
72bc71a6a1 FIX: #270 - Reset variant state back to original state after processing 2020-01-08 13:09:29 +13:00
Will Rossiter
6fc5a6fb34
Add type mappings for dbdatetime 2019-09-11 15:29:04 +12:00
Robbie Averill
483fcbd513
Merge pull request #265 from scott1702/feature/subsite-extension
ENHANCEMENT Add extension point to appliesTo for SearchVariantSubsites
2019-08-05 16:58:47 +12:00
Scott Hutchinson
9c9b2a3e20 ENHANCEMENT Add extension point to appliesTo for SearchVariantSubsites 2019-08-05 16:44:56 +12:00
Guy Marriott
e0358c7c72
Merge branch '3.6' into 3 2019-07-29 14:39:53 +12:00
Garion Herman
c54f683e95 FIX Make remotepath optional to restore compatibility with CWP 2019-07-18 14:52:45 +12:00
Robbie Averill
afc6364d22 Merge branch '3.6' into 3 2019-05-31 14:46:50 +12:00
Maxime Rainville
566ffa0593 NEW Disable re-indexing when migrating files 2019-05-30 19:07:20 +12:00
Robbie Averill
14b35f1935 DOCS Fix doc block formatting in SolrService 2019-05-17 09:53:16 +12:00
Robbie Averill
b1ec2ed6d9 Remove unused class imports, import docblock reference for Apache_Solr_Response, use strict comparison 2019-05-17 09:51:20 +12:00
Robbie Averill
492769aea2 Merge branch '3.4' into 3.5 2019-05-10 10:06:19 +12:00
James Ayers
2323b7f2cd FIX: Use Configurable trait 2019-05-09 15:42:45 +12:00
James Ayers
cf26795019 Change config method & default timeout to null to disable. 2019-05-09 15:42:03 +12:00
James Ayers
decd040c55 Update Process timeout via Config 2019-05-09 15:41:58 +12:00
Robbie Averill
fece48c5f0 DOCS Fix broken phpdoc types and tighten string comparison operators 2019-04-17 15:47:53 +12:00
Robbie Averill
cf784f5c0a Use strict comparison 2019-03-25 13:22:36 +13:00
jovenden
ea91cf5a3c NEW Adds a 'post' option for solrconfigstore 2019-03-25 13:21:53 +13:00
Robbie Averill
0e1f9de45f Merge branch '3.4' into 3 2019-03-25 13:20:48 +13:00
Robbie Averill
8600c244f9 Update namespace references in broken PHP docs and simplify condition logic 2019-01-26 16:03:26 +02:00
Michal Kleiner
fe5b8b7681
FIX #241 - Minor edits 2018-12-04 16:51:40 +13:00
Michal Kleiner
ed2c135b38
FIX #241 - Support numerically indexed array of classes 2018-12-04 15:43:53 +13:00