Commit graph

297 commits

Author SHA1 Message Date
5ba860b8de
TASK: Add new test covering new feature 2017-11-29 20:00:10 +01:00
e3151e802c
TASK: Fix broken unit tests
Adjust tests to match new queries built with multiple fields.
2017-11-29 19:52:10 +01:00
0006148a52
TASK: Fix broken functional tests
Add new default TypoScript to not break tests.
2017-11-29 19:43:16 +01:00
02ef86b67b
FEATURE: Provide new feature to configure fields to search in
This enables you to search only in some fields.
Also if some fields contain mapping, you can add them in addition to
e.g. `_all`.
2017-11-29 18:57:09 +01:00
0bac2df6a4
BUGFIX: Fix broken dependencies 2017-11-11 17:01:50 +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
689d8f0c53
Merge pull request #96 from Codappix/feature/refactor-dataprocessing
!!!|FEATURE: Make data processing available to all indexer
2017-11-10 22:05:49 +01:00
7472cab660
Merge pull request #98 from Codappix/feature/provide-form-finisher
FEATURE: Provide form finisher for integration into form extension
2017-11-10 22:05:34 +01:00
03d4d7493c
Merge pull request #99 from Codappix/feature/provide-index-deletion-command
FEATURE: Provide command to delete whole index
2017-11-10 22:05:02 +01:00
1840eba07b
Merge pull request #100 from Codappix/hotfix/if-record-can-not-be-updated-delete-it-instead
BUGFIX: Remove records during update if no longer available
2017-11-10 22:04:48 +01:00
0815eaff6b
BUGFIX: Remove records during update if no longer available
E.g. update is to deactivate a record. In this case we will not be able
to update the record but should delete him instead.
2017-11-10 13:48:53 +01:00
a3a46f5cb5
FEATURE: Provide command to delete whole index
This is necessary, e.g. for complete re-indexing.
2017-11-10 13:22:15 +01:00
31202f8882
FEATURE: Provide form finisher for integration into form extension
Provide a finisher, working as a proxy, to internal data handler, which
is already used for Hooks in TYPO3 backend.
2017-11-10 12:31:06 +01:00
ea8eb8148e
Merge pull request #95 from Codappix/feature/dataprocessor-remove
FEATURE: Add data processor to remove fields for indexing
2017-11-08 21:16:48 +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
ddb95e8c91
BUGFIX: Fix documentation for remove processor 2017-11-08 20:37:28 +01:00
379dddf8ac
BUGFIX: Also remove fields containing "null" 2017-11-08 20:36:04 +01:00
0159315183
FEATURE: Add data processor to remove fields for indexing
Add a new processor, with docs and tests, to allow removal of fields
before sending them to search service like elasticsearch.

E.g. remove sensitive information that should not be available.
2017-11-08 20:20:37 +01:00
43ec410eb5
Merge pull request #93 from Codappix/hotfix/allow-empty-filter
BUGFIX: Do not remove submitted filter if configured one is empty
2017-11-02 22:41:20 +01:00
87298d8e58
Merge pull request #92 from Codappix/feature/geo-search
Feature: Support Geo search
2017-11-02 22:41:00 +01:00
8206a1ec59
BUGFIX: Do not remove submitted filter if configured one is empty
This will be the case if you add a flexform to the plugin with no value.
Then an empty filter is configured and you will not be able to submit a
value for this filter.
2017-10-29 17:08:33 +01:00
b0eccc241d TASK: Allow dev to be required as 1.0
Until we release first stable version.
2017-10-29 17:07:40 +01:00
b5225b943c
TASK: Add tests for new query factory code 2017-10-29 14:16:16 +01:00
c38f7b9d6a
TASK: Move configuration logic into own class
Also add tests for new code.
2017-10-29 13:44:17 +01:00
85bfb86f5f
TASK: Fix broken tests for query factory 2017-10-29 13:03:58 +01:00
7a5bea687e
TASK: Add new tests for filter setting on model 2017-10-29 13:03:42 +01:00
bf91c4a5ba
TASK: Allow fields and sorting to contain a condition
This way integrators can configure when the sorting and fields should be
added.
2017-10-29 12:25:25 +01:00
d937266bf5 Merge remote-tracking branch 'origin/develop' into feature/geo-search 2017-10-29 11:41:43 +01:00
769bdd1003
BUGFIX: Do not cache search action 2017-10-29 11:32:21 +01:00
9f7c5f8ac7
Merge pull request #91 from Codappix/feature/configure-get
TASK: Allow integrators to use GET with minimal overhead
2017-10-29 11:16:44 +01:00
86d02f7b8d
TASK: Allow integrators to use GET with minimal overhead
Allow to map search request even if no trusted properties exist.
Also cache initial call to plugin.

This allows to use GET as submit for forms with minimal arguments in
URL.
2017-10-26 10:05:32 +02:00
07a4fec622
WIP|FEATURE: Allow fields and sorting to be configurable 2017-10-23 16:35:38 +02:00
b1f81c0d3b
WIP|FEATURE: Add field and sorting
Sort result by distance and provide distance to result items.
2017-10-22 17:51:04 +02:00
8d343ee97f
FEATURE: Finish filter configuration for geo_search 2017-10-22 17:34:48 +02:00
636ef78a14
WIP|TASK: Remove sort and add filter
As we filter for distance and do not sort.
2017-10-22 11:23:28 +02:00
e1764dca13
FEATURE: Add GeoPoint Processor
Document data processors.
Add test for new data processor.
2017-10-20 16:36:26 +02:00
3f1c3db2a2
Merge remote-tracking branch 'origin/develop' into feature/geo-search
Conflicts:
    Classes/DataProcessing/ProcessorInterface.php
    Classes/Domain/Index/TcaIndexer/TcaTableService.php
2017-10-20 09:20:04 +02:00
e321c424b4 Merge pull request #88 from Codappix/bugfix/do-not-fetch-non-existing-db-fields
BUGFIX: Do not add non existing db columns to fields array
2017-10-14 16:01:39 +02:00
5d960910f7 Merge pull request #89 from Codappix/bugfix/typos
BUGFIX: Fix typos in method name and php doc
2017-10-14 15:59:41 +02: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
a507eb165d Merge pull request #90 from Codappix/feature/data-processing
FEATURE: Add data processing to extension
2017-10-14 15:29:12 +02:00
67a43e64a5
BUGFIX: Fix typos in method name and php doc 2017-10-14 15:28:50 +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
fafa919f37
WIP|FEATURE: Basic hardcoded implementation 2017-09-16 20:50:03 +02:00
5509d4a56b Merge pull request #87 from Codappix/feature/predefined-filter
BUGFIX: Keep existing arguments in filter mode
2017-09-16 00:00:53 +02:00
306f5bef84
BUGFIX: Keep existing arguments in filter mode
E.g. to support paginate widget arguments.
2017-09-15 23:47:34 +02:00
0dd65085b6 Merge pull request #86 from Codappix/feature/predefined-filter
Feature: Predefined filter
2017-09-15 22:56:47 +02:00
a47b1c3a97
TASK: Remove unused fields for plugin content element
As we do not make use of recursion or pages, we hide the inputs.
2017-09-15 22:29:20 +02:00