Commit graph

450 commits

Author SHA1 Message Date
564ca1511c
TASK: Refactor code into common flow
As we have the same flow in some more places, we refactor this part to
follow this conventions.
2018-12-29 18:07:25 +01:00
a858d748ee
TASK: Shorten code
* Do not use variable, instead provide result to method call.
* Do not provide public method which is not part of API. Otherwise one
  might use it in custom PHP code and switch connection later on. Then the
  method call will no longer work.
2018-12-29 18:06:26 +01:00
13cd87019f
TASK: Refactor type handling for elasticsearch
With V6 of elasticsearch the meaning / handling of index and type has
changed, and it will change further in the future.

We therefore move code to own classes and adjust / refactor calling
code.
2018-12-29 18:05:24 +01:00
ea8b4f4538
TASK: Fix / improve some comments
* Add missing throws annotation.
* Remove useless comments.
* Import namespaces used in comments.
2018-12-29 18:03:14 +01:00
18cb95b8e9
TASK: Update elasticsearch even further
Use latest stable 6.x releases, for elasticsearch and used library.
2018-12-29 18:01:25 +01:00
9c2db0b5ba
TASK: Remove custom filter for fe group filtering
As this didn't work on first use. Also no tests are available for this
feature yet.

As we remove the whole feature in a single commit, we can revert this
commit later. This way we can upgrade Elasticsearch and provide this
feature later on.
2018-12-29 17:59:23 +01:00
6f34ca273b
BUGFIX: Keep necessary type hint for extbase 2018-12-27 11:57:58 +01:00
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
8eecdff01e
Merge pull request #171 from Codappix/feature/170-do-not-specify-the-pluginname
TASK: Make multiple plugins with flexform settings possible
2018-11-06 18:09:29 +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
4da6e2fec7 [TASK] Add a little description howto extend configuration 2018-10-31 09:40:33 +01:00
Benjamin Serfhos
4f7ccef2f6 [TASK] Apply CGL changes 2018-10-30 13:33:14 +01:00
Benjamin Serfhos
2e327db47c [TASK] Finetune QueryFactoryTest based on changes 2018-10-30 10:03:10 +01:00
Benjamin Serfhos
b63168b8b7 [TASK] Remove unneeded pluginNamespace 2018-10-30 09:59:20 +01:00
Benjamin Serfhos
ee1f235c2e [TASK] Use filter interface for custom added filter 2018-10-30 09:59:14 +01:00
Benjamin Serfhos
3a2c700ff1 [TASK] Remove unused constant 2018-10-30 09:19:05 +01:00
Benjamin Serfhos
615d24b126 [TASK] Update unit tests for renaming controller initialize 2018-10-30 09:18:42 +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
2c5ab1b57a [TASK] Add documentation for frontend user access feature 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
4b7337d3fa [TASK] Use generic namespace for fluid 2018-10-29 14:01:53 +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
30746038c3
TASK: Use same order within all files for plugins 2018-10-27 13:15:29 +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
e5e8f41ad5
TASK: Prevent php warning for stdClass constant 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
35fdc6905f [TASK] Enable elasticsearch version 6 for travis 2018-10-26 14:11:12 +02:00
Benjamin Serfhos
7b5a0039ed [TASK] Try composer update for travis build 2018-10-26 14:03:41 +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
628f76af4b [BUGFIX] Use relative location of Fixtures 2018-10-24 17:57:16 +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