Commit graph

465 commits

Author SHA1 Message Date
f955a9b70a
FEATURE: Provide basic caching 2018-12-30 14:48:17 +01:00
4c99009ea0
TASK: Remove cache implementation
As it does not use TYPO3 caching framework but custom feature.
2018-12-30 14:45:16 +01:00
a6f7f31274
TASK: Do not publish internal method 2018-12-30 14:01:45 +01:00
1efb06d84b
TASK: Remove wrong phpdoc 2018-12-30 14:01:38 +01:00
09cbaede29
TASK: Remove unused code
E.g. use statement and injected object manager.
2018-12-30 14:01:10 +01:00
7f2249e3ff
TASK: Use a single array utility
Instead of only adding a new class for one static method, we extend the
existing class to only import a single class.

This way we extend the original array utility function collection.
2018-12-30 14:00:22 +01:00
689f293194
TASK: Finish deletion of index and documents feature
We replace the "flush" and "delete" by "delete" and "deletedocuments"
logic. This makes it more obvious what will happen, without reading the
docs.

Also we kept the logic to always provide the index name, as
we will need them in the future. Due to elasticsearch v6 changes no
types are allowed in the same index in the future. Therefore we need to
make it possible to use different indexes in the future, leading to the
need to provide the document type all the time.
2018-12-30 13:43:43 +01:00
28a8dd1ab4
TASK: rephrase indice to index. 2018-12-30 13:22:25 +01:00
43254c168c
TASK: Fix license and php doc 2018-12-29 19:27:47 +01:00
8c33c8c6f0
TASK: Remove unused file / php class 2018-12-29 19:27:02 +01:00
97160dac91
TASK: Use php 7 anonymous function call 2018-12-29 19:25:07 +01:00
f95723fff7
TASK: Fix unit tests 2018-12-29 19:23:46 +01:00
831da6a4e4
TASK: Use new SearchRequestInterface everywhere
Otherwise the interface is no big benefit. Also it might crash under
some circumstances.
2018-12-29 19:21:58 +01:00
89a558e735
TASK: Improve documentation
* Add some missing documentation.
* Adjust some documentation due to breaking changes.
* Adjust structure of documentation for easier changelog rendering and
  browsing.
2018-12-29 19:21:16 +01:00
12c3623dff
TASK: Cleanup TypoScript
Do not provide unnecessary Constants or Setup.

Fluid paths are there out of the box and integrators have all freedom
without the provided constants.
2018-12-29 18:08:00 +01:00
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