618afb784a
Merge remote-tracking branch 'origin/develop' into support/76
...
Conflicts:
Classes/Connection/Elasticsearch/IndexFactory.php
Classes/Domain/Index/TcaIndexer.php
Classes/Domain/Index/TcaIndexer/PagesIndexer.php
Classes/Domain/Index/TcaIndexer/TcaTableService.php
Classes/Domain/Search/QueryFactory.php
Classes/Integration/Form/Finisher/DataHandlerFinisher.php
Documentation/source/readme.rst
2018-03-13 09:32:04 +01:00
ee3987a746
Merge branch 'develop' into support/76
...
Conflicts:
Classes/DataProcessing/ProcessorInterface.php
Classes/Domain/Index/AbstractIndexer.php
Classes/Integration/Form/Finisher/DataHandlerFinisher.php
Makefile
Tests/Functional/Connection/Elasticsearch/FilterTest.php
Tests/Functional/Fixtures/BasicSetup.ts
Tests/Unit/Integration/Form/Finisher/DataHandlerFinisherTest.php
composer.json
2018-03-08 11:58:31 +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
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
6ac2680211
Merge pull request #101 from Codappix/feature/phpcs-travis
...
Feature: Run phpcs on travis
2018-03-06 15:11:46 +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
2998c43ba8
TASK: Refactor data processing
...
Use own service to handle data processing. Classes like indexer should
not know anything about the structure and how to process the data.
Also rename record to data, as we can process just any data in form of
an array.
Relates: #116
2018-03-01 08:03:51 +01:00
350f8a52b6
FEATURE: Use extbase for processor instantiation
...
This way injects will be resolved inside of processors, enabling
developers to inject dependencies.
We use inject instead of constructor as indexers mostly will change the
constructor and should not need to add the objectmanager.
Resolves : #117
2018-02-27 14:47:22 +01:00
ebaeaf4c92
TASK: Support PHP 7.0
...
As some (e.g. debian) do not provide PHP 7.1 and we did not use so much
features which were introduced in PHP 7.1, we add support for PHP 7.0.
2018-02-22 21:59:13 +01:00
a4150956e9
Merge remote-tracking branch 'origin/feature/merge-with-features' into support/76
2018-02-20 10:11:21 +01:00
a5b35c54d9
TASK: Remove data processing from tca table service
...
This is not the place to be.
Data processing during indexing happens in abstract indexer for all
indexers that make use of it. It's more generic then to TCA.
2018-01-30 20:54:41 +01:00
810439cc80
Merge remote-tracking branch 'origin/support/76' into feature/merge-with-features
...
Conflicts:
Classes/Domain/Index/TcaIndexer/TcaTableService.php
Classes/Domain/Search/QueryFactory.php
Tests/Functional/Connection/Elasticsearch/IndexTcaTableTest.php
Tests/Functional/Hooks/DataHandler/ProcessesAllowedTablesTest.php
Tests/Unit/Domain/Search/QueryFactoryTest.php
2018-01-30 20:22:09 +01:00
Justus Moroni
c994a32ac1
BUGFIX: Make BackendUtility usable in frontend
...
BackendUtility used LanguageService which only works
in the backend.
Extend BackendUtility and use TSFE instead.
2018-01-29 22:49:29 +01:00
a998f155c1
TASK: Refactor common code base
2017-12-12 11:34:38 +01:00
6423f510e2
!!!|BUGFIX: Index media field of pages as relation uids
...
Always index media field of pages as array.
Index reference_uids for files.
2017-12-12 11:26:46 +01:00
Willi Wehmeier
cd391abf10
[BUGFIX] reset array_keys for record media
2017-11-28 12:09:11 +01:00
b7b783a7fe
TASK: Use Code Sniffer at travis
...
This way we need no external service.
Each developer can fully run all tests and cgl on local environment.
Also this integrated better into IDEs and editors.
2017-11-11 16:52:02 +01:00
689d8f0c53
Merge pull request #96 from Codappix/feature/refactor-dataprocessing
...
!!!|FEATURE: Make data processing available to all indexer
2017-11-10 22:05:49 +01:00
03d4d7493c
Merge pull request #99 from Codappix/feature/provide-index-deletion-command
...
FEATURE: Provide command to delete whole index
2017-11-10 22:05:02 +01:00
0815eaff6b
BUGFIX: Remove records during update if no longer available
...
E.g. update is to deactivate a record. In this case we will not be able
to update the record but should delete him instead.
2017-11-10 13:48:53 +01:00
a3a46f5cb5
FEATURE: Provide command to delete whole index
...
This is necessary, e.g. for complete re-indexing.
2017-11-10 13:22:15 +01:00
e1a14b2f04
!!!|FEATURE: Make data processing available to all indexer
...
Before data processing was applied for TCA only, through tca table
service.
Now it's applied much later in process and in abstract indexer.
Therefore all indexer will run data processing if configured.
2017-11-08 21:05:53 +01:00
Willi Wehmeier
a05bf09e19
FIX: get correct RelationResolver class of support/76 branch
2017-10-25 11:48:35 +02:00
7ca998c03a
TASK: Fix PR issues
2017-10-24 14:06:56 +02:00
5026de0acd
Merge remote-tracking branch 'origin/develop' into bugfix/do-not-fetch-non-existing-db-fields
2017-10-14 15:41:21 +02:00
2c466854b2
BUGFIX: Do not add non existing db columns to fields array
...
As TCA might contain columns which do not exist in DB, filter them out.
2017-10-14 15:23:13 +02:00
6c01abe5a5
BUGFIX: Also handle data processor without configuration
2017-10-14 13:35:44 +02:00
efeb5d1e07
FEATURE: Add data processing to extension
...
Allow integrators / developer to apply data processing concept known
from FLUIDTEMPLATE to indexing.
2017-10-14 13:02:48 +02:00
aebe58721d
TASK: Add changes from customer project
2017-10-10 11:15:06 +02:00
250dd25107
Merge remote-tracking branch 'origin/develop' into support/62
...
Conflicts:
.travis.yml
Classes/Domain/Index/TcaIndexer/RelationResolver.php
Makefile
Tests/Functional/Connection/Elasticsearch/IndexTcaTableTest.php
composer.json
ext_emconf.php
2017-10-10 10:03:19 +02:00
d45d231585
Merge remote-tracking branch 'origin/develop' into feature/cms-8-support
2017-09-05 19:26:09 +02:00
efc2fb7da6
BUGFIX: Remove pr issue
2017-08-25 11:46:46 +02:00
3bb875d99a
Merge pull request #81 from Codappix/feature/support-timing-inheritance-for-pages
...
FEATURE: Respect inherited start- and endtime for pages
2017-08-25 11:44:20 +02:00
fe754964fe
BUGFIX: Fetch record to update
2017-08-21 12:10:34 +02:00
040206c95d
FEATURE: Respect further root line cases
...
Respect the following situations during indexing:
- Page is not reachable due to broken root line.
- Page is not reachable due to being below a recycler.
2017-08-15 09:21:04 +02:00
416e49026e
TASK: Break line exceeding max line length
2017-08-10 09:05:20 +02:00
17eb35a92b
FEATURE: Respect inherited start- and endtime for pages
...
Do not index records below tables that extend their start- or endtime to
their subpages are not accessible due to timing now.
2017-08-08 12:58:01 +02:00
49a56496c6
TASK: Fix codacy issues
...
Break line to not exceed maximum line length.
Use imported namespace to shorten line.
2017-08-08 11:54:32 +02:00
5c061e5c72
Merge branch 'hotfix/fix-db-tests-on-travis' into support/62
2017-08-08 10:27:28 +02:00
0fa05270d5
Merge branch 'feature/small-improvements' into feature/cms-8-support
2017-08-04 13:40:53 +02:00
56ce88b005
TASK: Resolve relations always to array
...
Do not resolve to empty string but array to allow same handling for all
relations.
2017-08-04 13:39:18 +02:00
96cfa46056
Merge remote-tracking branch 'origin/develop' into feature/cms-8-support
2017-08-04 13:01:33 +02:00
d59173ec9a
Merge remote-tracking branch 'origin/develop' into feature/cms-8-support
2017-07-28 11:45:09 +02:00
da7692b502
TASK: Adjust code accordingly to pr
2017-07-27 16:31:37 +02:00
36777c700b
Merge remote-tracking branch 'origin/develop' into feature/switch-from-ttcontent-to-pages
2017-07-27 16:26:24 +02:00
b42de0576a
Merge pull request #67 from Codappix/feature/allow-exchange-of-limit
...
TASK: Allow sub indexer to exchange limit
2017-07-27 14:28:08 +02:00
334bb34625
TASK: Cleanup code
...
Use get and use an try catch. Receiving null through ifExists will
result in an php error.
2017-07-27 13:00:51 +02:00
7722c37ea5
TASK: Check multiple fields for pages to be used as title
2017-07-20 14:22:52 +02:00