-
-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[!!!][TASK] Rework frontend indexing helpers
This change cleans up a few parts within the FrontendHelper logic when indexing a page in the frontend: - The PageIndexerInitialization and PageIndexerFinisher middleware are now merged. - The PageIndexerRequestHandler contains no state - The PageIndexerRequest is added to the PSR-7 Request as attribute "solr.pageIndexingInstructions" so it can be retrieved in various places. - The AbstractFrontendHelper is removed, as the FrontendHelper middleware is thinned out. Activation and Deactivation rather works as initialization and flushing This allows us to use DI in various places we hadn't had a chance before. In addition, the AuthorizationService getGroupsFE is removed as it has been already replaced by a PSR-14 event. AuthorizationService is now registered at any time and now listens properly to the request object. Relates: #3376
- Loading branch information
Showing
18 changed files
with
164 additions
and
452 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 0 additions & 90 deletions
90
Classes/IndexQueue/FrontendHelper/AbstractFrontendHelper.php
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.