Commit graph

48 commits

Author SHA1 Message Date
fe754964fe
BUGFIX: Fetch record to update 2017-08-21 12:10:34 +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
d59173ec9a Merge remote-tracking branch 'origin/develop' into feature/cms-8-support 2017-07-28 11:45:09 +02:00
da7692b502
TASK: Adjust code accordingly to pr 2017-07-27 16:31:37 +02:00
36777c700b
Merge remote-tracking branch 'origin/develop' into feature/switch-from-ttcontent-to-pages 2017-07-27 16:26:24 +02:00
334bb34625
TASK: Cleanup code
Use get and use an try catch. Receiving null through ifExists will
result in an php error.
2017-07-27 13:00:51 +02:00
7722c37ea5
TASK: Check multiple fields for pages to be used as title 2017-07-20 14:22:52 +02:00
b832a6e6b3
TASK: Allow sub indexer to exchange limit
As long as it's not configurable, allow concrete implementations to
exchange. Necessary for one customer at the moment.
2017-07-20 09:48:44 +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
2cd5debf97
BUGFIX: Fix broken getRecord method
Also add test covering method.
2017-07-07 16:44:57 +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
3d90bad58d
Merge remote-tracking branch 'origin/develop' into feature/cms-8-support 2017-07-07 11:58:15 +02:00
c58e13cdf6
TASK: Rename vendor
As we move it from private repo to codappix.
2017-07-06 23:48:47 +02:00
975381cc4a
TASK: Integrate working code
Copied code from customer installation with working implementation.
2017-07-06 12:03:52 +02:00
432335c80d
FEATURE: Allow custom indexer
Adjust code to use defined indexer as FQCN, to allow any class to be
used as indexer. Also classes defined by user.
2017-07-04 12:12:36 +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
9d20524706
WIP|TASK: Use new TYPO3
Use testing framework configuration.
Use new db.
Begin with replacement of old TYPO3_DB.
2017-07-04 10:12:47 +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
350f906016
BUGFIX: Don't index null records
* Check null beside false for db result.
2017-05-11 09:16:24 +02:00
8bea39217e
BUGFIX: Don't break if no more records exist 2017-01-26 14:57:23 +01: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
8448618f60
FIX: Catch deletion of non existing documents
* Catch exception raised during deletion of documents that are not
  already indexed.
* Log failed deletion tries.
* Add new necessary Exceptions.
2017-01-26 11:01:00 +01:00
d358714d0d
BUGFIX: Handle non available records during indexing
* E.g. a hidden record is edited.
2017-01-12 14:26:09 +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
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
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
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
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
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