Commit graph

90 commits

Author SHA1 Message Date
9946276f43
Remove compatibility layer, as only V9 is supported 2019-05-17 17:30:11 +02:00
ff6e721158
Shorten long lines within tests to follow CGL 2019-05-17 17:30:11 +02:00
c4e28211af
Adjust dataset paths for import 2019-05-17 16:50:24 +02:00
373505b9d4
Extend new FunctionalTestCase provided by testing framework 2019-05-17 16:46:52 +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
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
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
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
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
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
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
ae51de9041
Merge remote-tracking branch 'origin/develop' into feature/phpcs-travis
Conflicts:
    Classes/Hook/DataHandler.php
2018-03-06 13:17:29 +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
47b3282034
BUGFIX: Allow indexing of new records with their relations
Relations were inserted by TYPO3's DataHandler after indexing and were
therefore not indexed.

We now use a later hook after DataHandler has finished everything, so we
know that we can index. As it's not relevant, we do not differentiate
between add and update anymore, as both trigger "indexDocument" internal.

Resolves: #112
2018-02-22 22:14:44 +01:00
0006148a52
TASK: Fix broken functional tests
Add new default TypoScript to not break tests.
2017-11-29 19:43:16 +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
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
d45d231585
Merge remote-tracking branch 'origin/develop' into feature/cms-8-support 2017-09-05 19:26:09 +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
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
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
a737501dac
TASK: Update existing tests to work with new pages setup 2017-07-18 15:12:24 +02:00
eafed7fb11
TASK: Add keys for better access to Facets 2017-07-18 09:27:46 +02:00
299ec3af5e
TASK: Add tests covering new pages indexing
Including content and search abstract.
2017-07-13 14:54:37 +02:00
2cd5debf97
BUGFIX: Fix broken getRecord method
Also add test covering method.
2017-07-07 16:44:57 +02:00
d61a86f8fe
TASK: Finish TYPO3 CMS 8 update 2017-07-07 16:16:49 +02:00
cf902dde83
TASK: Make extension more compatible
Migrate sql to doctrine.
Migrate relation resolver to use new API.
2017-07-07 14:44:32 +02:00