[FEATURE] Allow static route resolving 15/58315/15
authorSusanne Moog <susanne.moog@typo3.org>
Tue, 18 Sep 2018 14:19:35 +0000 (16:19 +0200)
committerFrank Naegler <frank.naegler@typo3.org>
Thu, 20 Sep 2018 11:58:03 +0000 (13:58 +0200)
commit2b4c6f3d8e3809743cc215dc5c82d63437d2c631
tree76d40a4897bf3515809a6a8a344f750b030c6c09
parent625854dcca21a660986f53479cceb09c084358a2
[FEATURE] Allow static route resolving

Resolving for predefined routes has been introduced.

Static routes can be configured on a per-site level
to provide for example robots.txt or sitemap.xml
routes.

Routes are resolved directly after site resolving
in a middleware and directly return content if found.

Static routes can be configured to deliver static text
defined in site configuration or fetch content from
a file, page or url.

The GUI uses the link wizard for providing URLs.

Resolves: #86214
Releases: master
Change-Id: I6d07529cf535a02472b2e03a763a00ff049270e8
Reviewed-on: https://review.typo3.org/58315
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
typo3/sysext/backend/Classes/Controller/SiteConfigurationController.php
typo3/sysext/backend/Classes/Form/FormDataProvider/SiteDatabaseEditRow.php
typo3/sysext/backend/Classes/Form/FormDataProvider/SiteTcaInline.php
typo3/sysext/backend/Configuration/SiteConfiguration/site.php
typo3/sysext/backend/Configuration/SiteConfiguration/site_route.php [new file with mode: 0644]
typo3/sysext/backend/Resources/Private/Language/locallang_siteconfiguration_tca.xlf
typo3/sysext/core/Documentation/Changelog/master/Feature-86214-ImplementStaticRoutes.rst [new file with mode: 0644]
typo3/sysext/frontend/Classes/Middleware/StaticRouteResolver.php [new file with mode: 0644]
typo3/sysext/frontend/Configuration/RequestMiddlewares.php
typo3/sysext/redirects/Configuration/RequestMiddlewares.php