Commit graph

426 commits

Author SHA1 Message Date
403fd47df0
TASK: Add necessary phpdoc for extbase
As extbase does not reflect PHP source but phpdoc, we have to define the
type to use for mapping as phpdoc.
2018-03-15 11:29:29 +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
b3390c66db
TASK: Keep old logic to make changes smaller 2018-03-14 20:23:04 +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
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