Commit graph

348 commits

Author SHA1 Message Date
250a187cc6
Merge pull request #143 from Codappix/feature/112-prevent-issue-with-non-uids
TASK: Prevent issue When hook is called with non uid
2018-03-20 14:39:33 +01:00
5c493aad21
TASK: Fix typo in test method name 2018-03-20 14:18:47 +01:00
8fe42789ba Merge remote-tracking branch 'origin/develop' into feature/112-prevent-issue-with-non-uids 2018-03-20 14:18:00 +01:00
cc9f3a42d8
Merge pull request #142 from Codappix/feature/cleanup-codacy
TASK: Remove codacy from travis
2018-03-20 14:17:13 +01:00
4bffa33401
Merge pull request #138 from Codappix/feature/134-allow-header-element-to-be-indexed
FEATURE: Make content fields configurable
2018-03-20 11:31:10 +01:00
979db75ef8
Merge pull request #141 from Codappix/hotfix/allow-multiple-instances
BUGFIX: Allow multiple instances with different configurations
2018-03-20 11:27:25 +01:00
203b5d7adf
TASK: Prevent issue When hook is called with non uid
If some issues occur outside of our extension, we might not get a valid
uid inside of our hooks. We will therefore add additional checks and
prevent any further execution.

Resolves: #112
2018-03-20 11:25:51 +01:00
30aa8ed10b
TASK: Remove codacy from travis
As we are no longer using codacy, we do not need to send any
information.
2018-03-20 11:02:43 +01:00
32df6ff8ec
BUGFIX: Allow multiple instances with different configurations
In order to use the plugin with different configurations on same site,
we can not use ConfigurationContainerInterface as a Singleton.
This would prevents us from using different configuration setups.
2018-03-20 10:21:03 +01: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
8ed477501c
BUGFIX: Use contentFields constant in setup.txt 2018-03-16 17:28:08 +01:00
ad7befb911
Merge pull request #139 from Codappix/hotfix/135-limit-page-indexing
Hotfix: Limit page indexing for own conten elements
2018-03-16 17:26:32 +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
ca5339fb31
Merge pull request #137 from Codappix/release/0.0.1
Release: 0.0.1
2018-03-15 15:56:39 +01:00
17d9ae5341
Merge remote-tracking branch 'origin/master' into develop
Conflicts:
    Tests/Functional/Hooks/DataHandler/IgnoresUnkownOperationTest.php
2018-03-15 15:16:59 +01:00
0461cf3b21
Merge pull request #136 from Codappix/feature/support-typo3-7-to-8
FEATURE: Support TYPO3 CMS 7 to 8
2018-03-15 15:11:37 +01:00
5c8cfa9cca
TASK: Remove unnecessary fixture 2018-03-15 14:43:00 +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
22e097ca85
TASK: Do not comment out code for non working tests
Mark tests as non working for now.
2018-03-15 14:01:49 +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
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