Commit graph

54 commits

Author SHA1 Message Date
9c25f1560b Merge remote-tracking branch 'origin/develop' into feature/134-allow-header-element-to-be-indexed 2018-03-15 16:03:20 +01:00
2b78ffbe96
BUGFIX: Workaround doctrine limitation
Doctrine will not implode our array, so we have to do
2018-03-15 14:42:41 +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
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
b2a63e9cb0
TASK: Make extension compatible with CMS 7.6 2018-03-13 20:34:56 +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
fc8017fdf4
TASK: Fix further issues reported by phan 2018-03-08 11:09:28 +01:00
560597dcff
TASK: Cleanup type annotations and phpstan issues 2018-03-06 17:40:49 +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
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
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
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
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
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
d45d231585
Merge remote-tracking branch 'origin/develop' into feature/cms-8-support 2017-09-05 19:26:09 +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
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
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
7722c37ea5
TASK: Check multiple fields for pages to be used as title 2017-07-20 14:22:52 +02:00
e2c1846d6b
BUGFIX: Allow parent implementation to access content entry
E.g. it's possible to configure search_abstract to contain the value of
any record entry. Still content was not possible as it was set
afterwards.
2017-07-18 14:19:32 +02:00
b6ab05bac7
FEATURE: Switch from ttcontent to pages
Also provide search_abstract as new auto added field which is
configurable.
2017-07-13 12:51:36 +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
fc3c12fa96
BUGFIX: Allow tests to run without database connection
Ad TYPO3 Core now makes use of Doctrine, a connection is required to
build system where. Therefore we move it to an own method to exchange
the execution inside of tests.
2017-07-07 12:19:35 +02:00
c58e13cdf6
TASK: Rename vendor
As we move it from private repo to codappix.
2017-07-06 23:48:47 +02:00
03a953c13f
TASK: Add unit test covering configuration option
Add test to cover option to configure user defined
additionalWhereClause.
2017-07-04 10:27:03 +02:00
3553c443e2
FEATURE: Adjust configuration structure
* To support further configuration, specific to identifiers / tables.
* E.g. mapping and boost configuration should be possible.
* Adjust docs and settings.
* Adjust tests and code.
2017-06-27 16:51:33 +02:00
ea1e3640dd
TASK: Fix CGL 2017-05-11 14:36:12 +02:00
687ba8075d
TASK: Migrate RelationResolver to FormEngine
* Replace old implementation for TYPO3 6.x with new one for rewritten
  form engine in 7.x and up.
2017-05-11 12:39:56 +02:00
8e062d6e42
BUGFIX: Respect additionalWhereClause and rootline
* Use constants instead of setup.
* Grap configuration from path.
* Add where clause.
2017-01-26 14:37:17 +01:00
77555e359f
CLEANUP: Scrutinizer issues 2016-12-20 16:54:46 +01:00
257b23d8e6 Merge pull request #38 from DanielSiepmann/feature/17-resolve-inline-relations
FEATURE: Resolve further relations
2016-12-20 12:19:03 +01:00
dc489d6bb8
CLEANUP: Refactor code 2016-12-20 12:10:28 +01:00
9bf2657318
FEATURE: Resolve further relations
* Resolve static select items
* Add test for further relation resolvings

Relates: #17
2016-12-20 11:49:02 +01:00
5989b65ae0
FEATURE: Split configuration to support the concepts
* Add a further level in configurations to support multiple connections
  and indexer.

Relates: #31
2016-12-20 10:04:44 +01:00
1486799a02
CLEANUP: Code Style Issues 2016-12-15 11:41:45 +01:00
499b9d0500
FEATURE: Add new configuration to blacklist records by root line
* Allow configuration through TypoScript to exclude records for indexing
  based on their root line position. Page uids can be configured for
  exclusion and all records beneath will be excluded while indexing.
2016-12-15 11:32:41 +01:00
99fbb28b9d
CLEANUP: Keep line short 2016-12-13 17:19:02 +01:00
0953f4bb1f
FEATURE: Index resolved relations
* TCAIndexer is now able to resolve relations of any kind by using TYPO3
  Core API.
* Indexed will be a single string or an array, depending of how many
  relations were resolved.
* The same value will be indexed as shown by TCA in backend while
  editing or displaying.
2016-12-13 16:55:57 +01:00