Commit graph

27 commits

Author SHA1 Message Date
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
b2a63e9cb0
TASK: Make extension compatible with CMS 7.6 2018-03-13 20:34:56 +01: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
96cfa46056
Merge remote-tracking branch 'origin/develop' into feature/cms-8-support 2017-08-04 13:01:33 +02:00
299ec3af5e
TASK: Add tests covering new pages indexing
Including content and search abstract.
2017-07-13 14:54:37 +02:00
d61a86f8fe
TASK: Finish TYPO3 CMS 8 update 2017-07-07 16:16:49 +02:00
c58e13cdf6
TASK: Rename vendor
As we move it from private repo to codappix.
2017-07-06 23:48:47 +02:00
9a482381c0
TASK: Upgrade phpunit to latest stable 5.7
* To make use of new features.
* To reduce cost of later migrations.
* Migrate deprecated calls from lower TYPO3 api.
2017-06-13 15:36:56 +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
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
541c6db53a
FEATURE: Allow to configure tables to be processed
* Add typoscript option which TYPO3 tables should be processed and which
  should not be processed.
* Respect new optiion in hook.
* Also add necessary tests.
* Remove old no longer needed tests for hook.
2016-12-15 14:04:26 +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
203b70898b
TASK: Restructure tests
* As introduces through review, the tests are working and have huge code
  coverage, but don't test what they say. Therefore we reorder them in
  new structure, to have new tests in clean structure.
2016-12-15 11:31:48 +01:00
5ad99ad8f6
Merge remote-tracking branch 'origin/feature/integrate-elasticsearch' into feature/firstReview 2016-12-15 09:21:26 +01:00
98affa8f69
TASK: Resolve first review results
* Also remove coverage output on stdout, as it won't help anyone.
2016-12-15 09:17:58 +01:00
Ferdinand Kuhl
1c1295cacb TASK: Just some very early notes, without claiming of completeness 2016-12-14 19:34:35 +01:00
a87610716b
FEATURE: Improve tests
* As they fail on travis and have a dependency to result order.
* Resolve the dependency and query each document itself.
2016-12-13 17:51:30 +01:00
1e75661395 BUGFIX: Fix broken tests
* Always provide backend user for tests, as we always add language
  handling.
* Only this way all relations can be resolved in all tests.
2016-12-13 17:10:23 +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
162d383a9d FEATURE: Allow to configure additional where statement for indexing
* Provide TypoScript option to extend where clause to skip further
  records, e.g. tt_content by CType.
2016-12-13 12:33:54 +01:00
1692a02c55 CLENAUP: Remove some scrutinizer ci issues 2016-12-12 18:02:52 +01:00
62ce197406 FEATURE: Added tests for hook and implemented logic (#8)
* FEATURE: Added tests for hook and implemented logic

* To enable updating search index on modifications through TYPO3 API.

* BUGFIX: Fix path for unit test coverage report

* To fix failing delivery to scrutinizer.
2016-12-12 13:33:07 +01:00
31c4108039 FEATURE: Add two more tests for indexing 2016-12-10 16:21:02 +01:00
67463fa135 TASK: Refactor tests
* Have necessary setup in all tests.
* Added todos
2016-12-10 14:41:48 +01:00
a7714945c6 FEATURE: Setup first working functional test 2016-12-09 19:45:46 +01:00