9cc5e45409
BUGFIX: Allow to define zero as valid filter value via TypoScript
...
The configured filter is no longer filtered, it's up to the integrator
to provide proper configuration. Therefore `0` is now a valid and
respected filter value.
Resolves : #163
2018-09-26 17:07:34 +02:00
Justus Moroni
2b56d4c2d5
Merge branch 'develop' into feature/75-make-index-configurable
...
# Conflicts:
# Documentation/source/configuration/connections.rst
# Documentation/source/connections.rst
2018-05-17 23:51:55 +02:00
Justus Moroni
a15b78ff45
FEATURE: Provide new feature to configure the index
...
This enables you to configure the index which elastic
will use.
Related: #75
2018-05-17 23:42:13 +02:00
dfb3f897e7
!!!|FEATURE: Extract relation resolver to data processor
...
Instead of hardcoding and tight coupling of relation resolving, we now
provide a dataprocessor instead.
Therefore you need to configure resolving for each indexed type.
This resolves #149 and #147 .
2018-04-24 11:00:29 +02:00
0d57374f25
Merge remote-tracking branch 'origin/develop' into feature/147-handle-rendertype-inputDateTime
...
Conflicts:
Tests/Unit/Domain/Index/TcaIndexer/RelationResolverTest.php
2018-04-19 17:08:13 +02:00
82d397c428
FEATURE: Keep sys_language_uid while indexing
...
Before this change, sys_language_uid was indexed as an empty string, due
to internal used TYPO3 API.
We now skip the configure field which defines language uid. This way you
can build filter based on current language.
Resolves #148
2018-04-12 12:03:02 +02:00
c1d1e6ed68
BUGFIX: Do not resolve inputDateTime as relation
...
Add test which checks this behaviour.
Exclude inputDateTime from relation resolving.
Resolves #147
2018-04-12 12:01:07 +02:00
4234575c36
TASK: Fix broken tests caused by missing caches
...
For some reason, which is unknown yet, caches are needed to make tests
pass. We therefore configure the caches to be null.
2018-04-12 09:29:01 +02:00
eb1c988f6d
Merge pull request #145 from Codappix/feature/add-type-to-resultitem
...
FEATURE: Provide type of result item
2018-03-22 13:40:27 +01:00
c8dc95c4d3
FEATURE: Provide type of result item
...
In order to make further usage easier, we provide the type for each
result item.
This makes it possible to call {f:render(section: resultItem.type)}.
2018-03-20 16:07:28 +01:00
372cd48471
FEATURE: Allow to copy a single field with CopyToProcessor
2018-03-20 15:43:09 +01:00
5c493aad21
TASK: Fix typo in test method name
2018-03-20 14:18:47 +01:00
8fe42789ba
Merge remote-tracking branch 'origin/develop' into feature/112-prevent-issue-with-non-uids
2018-03-20 14:18:00 +01:00
203b5d7adf
TASK: Prevent issue When hook is called with non uid
...
If some issues occur outside of our extension, we might not get a valid
uid inside of our hooks. We will therefore add additional checks and
prevent any further execution.
Resolves : #112
2018-03-20 11:25:51 +01:00
bb10f4f5d6
Merge remote-tracking branch 'origin/develop' into feature/134-allow-header-element-to-be-indexed
2018-03-16 17:28:56 +01:00
81b210b3b7
Merge remote-tracking branch 'origin/develop' into hotfix/135-limit-page-indexing
2018-03-15 16:03:30 +01:00
9c25f1560b
Merge remote-tracking branch 'origin/develop' into feature/134-allow-header-element-to-be-indexed
2018-03-15 16:03:20 +01:00
5c8cfa9cca
TASK: Remove unnecessary fixture
2018-03-15 14:43:00 +01:00
22e097ca85
TASK: Do not comment out code for non working tests
...
Mark tests as non working for now.
2018-03-15 14:01:49 +01:00
dea028ed0f
TASK: Add missing fixture
2018-03-15 14:00:45 +01:00
f3e8dacd4e
TASK: Keep language information for all TYPO3 Versions
...
Keep code consistent. Fetch language field for both TYPO3 versions.
To make sure we do not mess up, add test case.
2018-03-15 13:59:47 +01:00
218d8d7289
FEATURE: Make content fields configurable
...
Allows integrators to configure which fields should be used to produce
field "content" for indexed pages.
Before only "bodytext" was used. This is now configurable and "header"
was added to defaults.
Resolves : #134
2018-03-15 09:15:26 +01:00
a232ae0b36
BUGFIX: Respect page uid of content records
...
Do not index content records of all pages while indexing pages in CMS
8.x.
We add same logic as for CMS 7.x, we extend the query to only fetch
records from current page.
Resolves : #135
2018-03-15 08:08:47 +01:00
8f65d858bb
TASK: Fix case in source code
...
Fix case for method call.
Fix a typo in test method name.
2018-03-15 08:08:43 +01:00
5a0a4931e4
TASK: Make tests compatible with TYPO3 CMS 7.6
...
As there is no doctrine, we receive values as string, also for uid.
2018-03-15 08:07:28 +01:00
56bfc4f75a
TASK: Fix merge conflict issue
2018-03-14 20:23:40 +01:00
ec8362b934
TASK: Remove unused comment
2018-03-14 20:23:29 +01:00
835924a8d8
Merge remote-tracking branch 'origin/develop' into feature/support-typo3-7-to-8
...
Conflicts:
Tests/Functional/Hooks/DataHandler/ProcessesAllowedTablesTest.php
Tests/Unit/Domain/Index/TcaIndexer/TcaTableServiceTest.php
2018-03-14 20:13:03 +01:00
b5b0acdc62
TASK: Provide sys_language_uid
...
Fetch sys_language_uid from database.
Until now we did not fetch system related fields from database. As there
is now a RemoveProcessor, integrators are able to remove fields.
Also providing this field enables basic multi language support.
Relates: #25
2018-03-14 19:56:03 +01:00
20513400de
FEATURE: Index page if cache was cleared
...
We use the cache clear hook to index pages whenever the cache was
cleared.
This makes it possible to cover some cases like changing content on a
page. But also if an integrator configures to clear additional pages.
This is limited as we can not handle cache tags at the moment.
Resolves : #131
2018-03-13 21:52:50 +01:00
b2a63e9cb0
TASK: Make extension compatible with CMS 7.6
2018-03-13 20:34:56 +01:00
6d7199ccf2
TASK: Provide already used logger
...
As we use the logger, we should inject it.
2018-03-13 12:19:30 +01:00
9e80574361
TASK: Provide compatible TypoScriptService for both TYPO3 versions
2018-03-13 12:19:04 +01:00
16bc22aa44
TASK: Support tests for TYPO3 CMS 7.6
...
Check which version to run and switch TYPO3 bootstrapping.
Also allow tests to run with TYPO3 CMS 7.6 again.
2018-03-13 11:58:01 +01:00
7b336f3fa5
Merge branch 'develop' into feature/119-allow-range-queries-for-elasticsearch
2018-03-08 09:27:58 +01:00
88f301f228
FEATURE: Allow range queries for elasticsearch
...
Allow "raw" configuration and support "range" type.
Also prevent adding boosts if no search term was submitted which can be
boosted.
Resolves : #119
2018-03-06 16:42:22 +01:00
6544ec07d3
FEATURE: Support display name for facet option
...
As some search services, like elasticsearch, allow generation of a
string that should be displayed in frontend, we provide a new getter for
that.
The old existing name can be a fallback in custom implementations.
2018-03-06 16:41:54 +01:00
3731bcf474
TASK: Fix CGL
2018-03-06 16:39:07 +01:00
6ac2680211
Merge pull request #101 from Codappix/feature/phpcs-travis
...
Feature: Run phpcs on travis
2018-03-06 15:11:46 +01:00
fa2b11f276
Merge pull request #123 from Codappix/feature/118-dataprocessor-adapter
...
FEATURE: 118 dataprocessor adapter
2018-03-06 14:02:10 +01:00
951edf3871
Merge pull request #122 from Codappix/feature/116-execute-dataprocessor-on-result
...
FEATURE: 116 execute dataprocessor on result
2018-03-06 13:47:35 +01:00
6456f31503
TASK: Make test more readable
...
Make sure everyone knows what we compare, do not add hardcoded
information.
2018-03-06 13:23:08 +01:00
ae51de9041
Merge remote-tracking branch 'origin/develop' into feature/phpcs-travis
...
Conflicts:
Classes/Hook/DataHandler.php
2018-03-06 13:17:29 +01:00
a893303939
TASK: Improve ResultItemTest
...
Do not repeat content, use variable which is also better to read.
And do not add unnecessary, unused, variables.
2018-03-06 13:04:42 +01:00
5d1e7c41bc
!!!|FEATURE: Pass facet configuration to search service
...
Do not limit integrator in possibilities to configure.
Therefore previously configure facets for a field need to be adjusted to
contain full configuration for elasticsearch. See changelog.
Resolves : #120
2018-03-06 12:05:32 +01:00
04aaad12fe
FEATURE: Provide ContentObjectDataProcessorAdapterProcessor
...
Allow integrator to execute any existing data processor for content
objects.
Resolves : #118
2018-03-06 11:16:00 +01:00
0210110ccf
TASK: Add test for applied data processing on search result
2018-03-06 10:26:39 +01:00
45bb12cf51
TASK: Add tests for search result model
2018-03-06 09:44:26 +01:00
cf91251be3
TASK :Add tests for SearchRequest
...
Make sure exceptions with helpful messages are thrown if one object is
missing when execute is called.
Also make sure the expected methods are called.
2018-03-06 09:36:39 +01:00
79aba3c544
TASK: Add test cases for ResultItem Model
...
Check whether all methods work as expected.
E.g. we can retrieve data in all ways, but not change anything.
2018-03-06 09:19:09 +01:00