Commit graph

233 commits

Author SHA1 Message Date
8531f26410
BUGFIX: Keep default action non cacheable
Otherwise user input is saved and re displayed to foreign visitors.

If someone is in need for an cached version, he can create a plugin
inside his sitepackage with a different plugin signature but same
action.

If that does not work, we might add another action for caching.

Also keep old action name to be non breaking.
2018-12-27 11:57:24 +01:00
f9ef8cb3bb
Merge remote-tracking branch 'origin/develop' into feature/elastic-upgrade
Conflicts:
    Classes/Configuration/ConfigurationContainer.php
2018-12-27 10:12:18 +01:00
Justus Moroni
6c46a20160 TASK: Make multiple plugins with flexform settings possible
Remove the specified pluginName in the
ConfigurationContainer so the correct settings for the
context can be fetched.

Resolves: #170
2018-11-06 17:40:48 +01:00
Benjamin Serfhos
ee1f235c2e [TASK] Use filter interface for custom added filter 2018-10-30 09:59:14 +01:00
Benjamin Serfhos
ef43bc1674 [FEATURE] Use interface for SearchService
Added cached proxy service for data interaction
2018-10-29 17:31:26 +01:00
Benjamin Serfhos
b8d708874e [TASK] Revert to only one plugin based on feedback 2018-10-29 17:29:11 +01:00
Benjamin Serfhos
2ee4a88a67 [TASK] Add objectmanager via constructor DI injection 2018-10-29 14:30:40 +01:00
Benjamin Serfhos
209f441b5d [TASK] Added link generation based on fluid templates
Removed search_page_typolink parameter from index
2018-10-29 14:30:37 +01:00
Benjamin Serfhos
5250f97809 [BUGFIX] Make sure boolean is returned for strict return type
When configured by comma seperate list, it should return true
2018-10-29 14:01:03 +01:00
Benjamin Serfhos
9b0b0305a7 [BUGFIX] Make sure the while loop is not closed
When filterRecordsByRootLineBlacklist() returns no results, loop should just ask
the next items based on iteration
2018-10-29 14:00:02 +01:00
Benjamin Serfhos
f1eb85de64 [TASK] Remove double variables 2018-10-29 14:00:02 +01:00
Benjamin Serfhos
4000699812 [TASK] Remove duplicate search_identifier in index 2018-10-29 14:00:02 +01:00
Benjamin Serfhos
ab1b6b5da9 [TASK] Finetune so interface is not reliant for Elastica library 2018-10-29 13:59:51 +01:00
2d9062b6e3
TASK: Streamline phpdoc
* Do not add duplicate information from PHP to phpdoc.
* Do not add useless comments like "this is a constructor of class x".
2018-10-27 14:08:11 +02:00
140dea3cbb
TASK: Refactor code to use guards and decrease indentation 2018-10-27 13:15:02 +02:00
5d5af73705
TASK: Add missing license comments in PHP files 2018-10-27 13:11:39 +02:00
2c6521a565
TASK: Fix phpdocs and type hints 2018-10-27 13:10:59 +02:00
30a34c4f15
FEATURE: Always accept comma separated list of identifiers on CLI
* Streamline all commands to always accept a comma separated list of
  identifiers.
* Adjust phpdoc to reflect this feature and provide help on CLI.
* Refactor code to move recurring logic to own method.
* Provide tests for new feature.
* Add documentation for feature.
2018-10-27 13:07:20 +02:00
577a5624b8
TASK: Remove code base for TYPO3 7.x
Also add documentation with breaking change.
2018-10-27 13:04:35 +02:00
Benjamin Serfhos
0d14f80f62 [TASK] Remove support for TYPO3 7.6 2018-10-26 14:48:13 +02:00
Benjamin Serfhos
a3ccc123c4 [TASK] Make sure CGL is correct 2018-10-26 11:29:37 +02:00
Benjamin Serfhos
6e492d2bdb [FEATURE] Added flush command as indexation is now into one 2018-10-26 10:56:57 +02:00
Benjamin Serfhos
b8de35adee [BUGFIX] Remove _all from unit tests 2018-10-26 10:49:43 +02:00
Benjamin Serfhos
23f3d0df92 [TASK] Add functional test for deleteDocuments functionality 2018-10-26 09:46:01 +02:00
Benjamin Serfhos
b70dd604fe [TASK] Process own feedback based on tests 2018-10-26 09:26:33 +02:00
Benjamin Serfhos
a50cbf25a2 [TASK] Process feedback and fix unit-tests 2018-10-24 17:41:47 +02:00
Benjamin Serfhos
028914e789 [TASK] Finetune query for document_type instead of regex 2018-10-24 14:08:59 +02:00
Benjamin Serfhos
519bc7e5b4 [BUGFIX] Inherit access groups from parent pages when extended to subpages 2018-10-24 10:09:22 +02:00
Benjamin Serfhos
3f5273f0fe [BUGFIX] Make sure the while loop is not closed when filterRecordsByRootLineBlacklist() returns no results 2018-10-22 17:28:49 +02:00
Benjamin Serfhos
7566bf93d5 [FEATURE] Add Frontend User access query for secure search on elastic index 2018-10-22 17:28:17 +02:00
Benjamin Serfhos
404f49aad2 [TASK] Add opening for possible user access lookup 2018-10-12 18:43:28 +02:00
Benjamin Serfhos
e297d556e6 [!!!][FEATURE] Remap specific document type's to ES6 identifiers
Multiple types are not allowed any more in ES6. Refactored to use document type and custom
identifier to still create different 'types'.

See: https://www.elastic.co/guide/en/elasticsearch/reference/6.x/removal-of-types.html
2018-10-12 09:30:25 +02:00
Benjamin Serfhos
1f0eae88f7 [TASK] Corectly index access group for query content 2018-10-08 11:57:26 +02:00
Benjamin Serfhos
de5261f7d4 [TASK] Add both form as list plugin seperate 2018-10-04 13:01:31 +02:00
Benjamin Serfhos
d0bbfb8682 [TASK] Add typolink to index 2018-10-03 11:59:56 +02:00
Benjamin Serfhos
acac544f77 [TASK] Remove deprecated _all field query for Elastic 6.x
See: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-all-field.html
2018-10-03 11:32:24 +02:00
Benjamin Serfhos
a93a7af27f [TASK] Add docprops to classes
+ Updated version pointer
+ Replaces deprecated ArrayUtility for Core utility
2018-10-03 10:59:45 +02:00
9cc5e45409
BUGFIX: Allow to define zero as valid filter value via TypoScript
The configured filter is no longer filtered, it's up to the integrator
to provide proper configuration. Therefore `0` is now a valid and
respected filter value.

Resolves: #163
2018-09-26 17:07:34 +02:00
244b0d9b12
TASK: Refactor column value in own method
This allows to replace this single part of code in own implementations.
2018-09-05 13:42:13 +02:00
Justus Moroni
2b56d4c2d5 Merge branch 'develop' into feature/75-make-index-configurable
# Conflicts:
#	Documentation/source/configuration/connections.rst
#	Documentation/source/connections.rst
2018-05-17 23:51:55 +02:00
Justus Moroni
a15b78ff45 FEATURE: Provide new feature to configure the index
This enables you to configure the index which elastic
will use.

Related: #75
2018-05-17 23:42:13 +02:00
dfb3f897e7
!!!|FEATURE: Extract relation resolver to data processor
Instead of hardcoding and tight coupling of relation resolving, we now
provide a dataprocessor instead.

Therefore you need to configure resolving for each indexed type.

This resolves #149 and #147.
2018-04-24 11:00:29 +02:00
0d57374f25
Merge remote-tracking branch 'origin/develop' into feature/147-handle-rendertype-inputDateTime
Conflicts:
    Tests/Unit/Domain/Index/TcaIndexer/RelationResolverTest.php
2018-04-19 17:08:13 +02:00
82d397c428
FEATURE: Keep sys_language_uid while indexing
Before this change, sys_language_uid was indexed as an empty string, due
to internal used TYPO3 API.
We now skip the configure field which defines language uid. This way you
can build filter based on current language.

Resolves #148
2018-04-12 12:03:02 +02:00
c1d1e6ed68
BUGFIX: Do not resolve inputDateTime as relation
Add test which checks this behaviour.
Exclude inputDateTime from relation resolving.

Resolves #147
2018-04-12 12:01:07 +02:00
eb1c988f6d
Merge pull request #145 from Codappix/feature/add-type-to-resultitem
FEATURE: Provide type of result item
2018-03-22 13:40:27 +01:00
c8dc95c4d3
FEATURE: Provide type of result item
In order to make further usage easier, we provide the type for each
result item.

This makes it possible to call {f:render(section: resultItem.type)}.
2018-03-20 16:07:28 +01:00
372cd48471
FEATURE: Allow to copy a single field with CopyToProcessor 2018-03-20 15:43:09 +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
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