Commit graph

316 commits

Author SHA1 Message Date
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
4d2c8f79ca
TASK: Use imported interface 2018-03-14 20:08:53 +01:00
e969b13fa0
Merge pull request #132 from Codappix/feature/25-provide-record-language-uid
TASK: Provide sys_language_uid
2018-03-14 20:07:40 +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
26b8849104
Merge pull request #133 from Codappix/feature/131-index-page-on-cache-clear
FEATURE: Index page if cache was cleared
2018-03-14 11:37:05 +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
0122dd88e4
TASK: Fix call to non existing method 2018-03-13 12:19:54 +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
75335e2bc1
TASK: Do not import unnecessary namespace
As imported class is on same level as we are, we do not need to import
the class.
2018-03-13 11:03:57 +01:00
ba19537f4e
TASK: Migrate existing 7.6 features
We had some features in 7.6 support which we didn't merge up yet.
Mostly very small bug fixes or more helpful logging and processing of
elasticsearch options.

But also adding images of content elements while indexing pages.
2018-03-13 11:02:29 +01:00
a469f63aa6
TASK: Cleanup differences
We have some small differences between develop and support/76 branch.
This differences are just CGL and should not exist.
2018-03-13 10:51:59 +01:00
0e69fbfc6f
Merge pull request #130 from Codappix/feature/doc-cleanup
FEATURE: Cleanup docs
2018-03-08 19:53:36 +01:00
3bebfac769
TASK: Fix documentation
As we have moved the repository at github, we should update all mentions
to use new url.
Also a small typo was fixed.
2018-03-08 19:26:36 +01:00
f0de7aa2b4 Merge remote-tracking branch 'origin/develop' into feature/doc-cleanup 2018-03-08 19:01:46 +01:00
Justus Leon Moroni
e25a9ed5b2
Merge pull request #129 from Codappix/feature/cleanup
!!!|TASK: Cleanup Codebase
2018-03-08 18:55:10 +01:00
de884128db
Merge remote-tracking branch 'origin/develop' into feature/doc-cleanup
Conflicts:
    composer.json
2018-03-08 11:37:10 +01:00
4756da5c5d
TASK: Update / cleanup documentation
Code and docs have diverged a bit. We therefore need to update them.
2018-03-08 11:35:50 +01:00
09cd655a7a
TASK: Remove whitespace in return type annotation 2018-03-08 11:20:23 +01:00
fc8017fdf4
TASK: Fix further issues reported by phan 2018-03-08 11:09:28 +01:00
4da9e86540
TASK: Remove unused use statements 2018-03-08 11:09:07 +01:00
43f31f75a8
TASK: Add phan configuration
Even if not used in CI yet, we still can use it local.
2018-03-08 11:08:18 +01:00
e960f4595b
TASK: Add breaking change documentation
Also order changelog entries news first.
2018-03-08 09:57:32 +01:00
a965b745ec Merge remote-tracking branch 'origin/develop' into feature/cleanup 2018-03-08 09:50:52 +01:00
2a8f993721
Merge pull request #126 from Codappix/feature/119-allow-range-queries-for-elasticsearch
FEATURE: 119 allow range queries for elasticsearch
2018-03-08 09:48:53 +01:00
7b336f3fa5
Merge branch 'develop' into feature/119-allow-range-queries-for-elasticsearch 2018-03-08 09:27:58 +01:00
8560f00956
Merge pull request #125 from Codappix/feature/add-display-name-to-facet
FEATURE: Support display name for facet option
2018-03-08 09:27:49 +01:00
e98b9ee4fc
Merge branch 'develop' into feature/add-display-name-to-facet 2018-03-08 09:19:49 +01:00
30a833ce68
TASK: Add branch alias to provide version number
Allow to require extension with 1.0.0, if dev is allowed.
2018-03-08 08:29:05 +01:00
89065305c4
Merge branch 'feature/add-display-name-to-facet' into feature/cleanup
Conflicts:
    Classes/Connection/Elasticsearch/FacetOption.php
    Classes/Connection/FacetOptionInterface.php
2018-03-08 07:51:44 +01:00
9a2d2734f2
TASK: Switch to new php scurtinizer engine 2018-03-06 17:58:27 +01:00
8d930448e0
TASK: Fix scurtinizer issues 2018-03-06 17:58:19 +01:00
560597dcff
TASK: Cleanup type annotations and phpstan issues 2018-03-06 17:40:49 +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
74e5f6d432
Merge pull request #127 from Codappix/hotfix/cgl
TASK: Fix CGL
2018-03-06 16:40:42 +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
42c9ae026f
Merge pull request #124 from Codappix/feature/120-pass-facets-configuration
!!!|FEATURE: 120 Pass facet configuration to search service
2018-03-06 12:59:50 +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
f0e58afe01
Merge remote-tracking branch 'origin/develop' into feature/116-execute-dataprocessor-on-result
Conflicts:
    Classes/Domain/Index/AbstractIndexer.php
    Documentation/source/configuration/indexing.rst
    Tests/Unit/Domain/Index/AbstractIndexerTest.php
2018-03-06 10:52:06 +01:00
176c466d7e
TASK: Update documentation for data processing 2018-03-06 10:47:14 +01:00