Commit graph

40 commits

Author SHA1 Message Date
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
b2a300bae1
TASK: Adjust TYPO3 compatibility 2016-12-15 09:33:56 +01:00
af4de18b65 Merge pull request #18 from DanielSiepmann/feature/firstReview
Feature/first review
2016-12-15 09:31:44 +01:00
7cabcea0d5
TASK: Explain why this todo is not resolved yet 2016-12-15 09:24:43 +01:00
5ad99ad8f6
Merge remote-tracking branch 'origin/feature/integrate-elasticsearch' into feature/firstReview 2016-12-15 09:21:26 +01:00
8565da8679 Merge pull request #12 from DanielSiepmann/feature/resolve-relations
Feature/resolve relations
2016-12-15 09:18:53 +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
dc7a8f77bf
TASK: Remove TYPO3 7
* As relation resolver is not compatible yet. See branch
  feature/resolve-relations/typo3-7
2016-12-15 09:01:05 +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
99fbb28b9d
CLEANUP: Keep line short 2016-12-13 17:19:02 +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
2b4a3a5bd6
FEATURE: Enable hooks 2016-12-13 16:43:51 +01:00
884a39e3a0 Merge pull request #11 from DanielSiepmann/feature/configure-ignorable-records
FEATURE: Allow to configure additional where statement for indexing
2016-12-13 13:11:35 +01:00
2ede3ea3a0
BUGFIX: Reorder arguments
* As optional arguments should not come before required.
2016-12-13 12:46:03 +01:00
30ec03998e Merge pull request #10 from DanielSiepmann/feature/ignore-content-on-non-existing-pages
FEATURE: Respect pages information
2016-12-13 12:39:54 +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
fef760ee0d FEATURE: Respect pages information
* If content is on a deleted or inactive page, ignore it.
* Also respect disable search setting of page.
2016-12-13 10:52:43 +01:00
e30463ddc7 Merge pull request #7 from DanielSiepmann/feature/add-functional-tests
Feature/add functional tests
2016-12-13 09:20:39 +01:00
e1e867befd Feature/integrate codacy (#9)
* REFACTOR: Move scripts to Makefile

* FEATURE: Add codacy
2016-12-12 22:47:45 +01:00
dc8e04b449 CLEANUP: Remove debugging code 2016-12-12 21:18:22 +01:00
d4ccf6a7ea Fix codacy issue 2016-12-12 18:04:50 +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
8500b8fd57 BUGFIX: Separate functional and unit coverage results 2016-12-10 16:20:37 +01:00
070e901dbb FEATURE: Add code coverage for tests to travis and scrutinizer (#6)
* FEATURE: Add code coverage for tests to travis and scrutinizer

* To detect which parts still need to be tested

* BUGFIX: Fix broken TYPO3 installation for tests

* We need the source, otherwise a base test file will be missing
2016-12-10 14:59:48 +01:00
67463fa135 TASK: Refactor tests
* Have necessary setup in all tests.
* Added todos
2016-12-10 14:41:48 +01:00
c3763a0982 FEATURE: Use latest stable elastica version (#5)
* As we should use it anyway.
* It's compatible with PHP 7
* Also we added php 7.1 to travis
2016-12-10 13:59:34 +01:00
4ff23c60c2 WIP|FEATURE: Try to make functional tests work on travis 2016-12-09 20:22:36 +01:00
8dc373c0b2 BUGFIX: Don't break travis because folder does not exist 2016-12-09 19:57:23 +01:00
3bd2b9c52d WIP|FEATURE: Integrate functional tests into travis 2016-12-09 19:50:53 +01:00
a7714945c6 FEATURE: Setup first working functional test 2016-12-09 19:45:46 +01:00
e75f24092e Feature/improve scrutinizer (#3)
* TASK: Fix scrutinizer issues

* TASK: Add library dependency

* FIX: Adjust php and TYPO3 requirements

* TASK: Adjust test
2016-12-09 14:07:38 +01:00
b079dd8125 TASK: Migrate existing code (#2) 2016-12-09 13:19:35 +01:00
d89e616a4f FEATURE: Add travis ci (#1)
* To automate tests and display results in pull requests.
2016-12-09 13:01:09 +01:00
224f945d82 FEATURE: Add first code and tests to integrate travis ci 2016-12-09 11:47:28 +01:00
057c67714f WIP|FEATURE: Integrate scrutinizer
* To allow auto checking of coding guideline
2016-12-09 10:24:49 +01:00
Leonmrni
4ec4753cf8 Initial commit 2016-12-01 17:17:10 +01:00