#84727Site Handling - Part 2 / Missing Pieces
Description
1. We need to resolve the introduced @todos in the initial commit
2. Add tests for the new APIs
3. Create test cases for 1000 sites and find the performance bottlenecks
4. Create an API to fetch all language objects for a page and use that in the BE to encapsulate all calls to sys_language. Also encapsulate this for the TSconfig option for defining the “default language” options in TSconfig.
5. After 4 – go through page module, list module, view module and use site handling in there
6. Make rootline resolving better / faster (question is: how)
7. Allow to make a site configuration “read-only” and respect that on a per-
8. Add TypoScript conditions [site = site-identifier], and [siteLanguage = de-DE] (no languageId please!)
*Discussion points.*
- How should we consider pages with “non-sites”? Convert non-sites to pseudo-site? having sys_domain as fallback?
- How to handle schema- and domain-less bases? “/site1” and “/site2” are valid sites – especially when it comes to nesting
- How to handle http+https in a site base?
- How to handle multiple domains in one site? placeholders?
- How to handle “is_siteroot”? Upgrade wizard to give all root-level pages “is_siteroot”?
- How to deal with storage folders that are not within a site?
- How to handle record translations in page/list module which are there but not available for the current site setup?
- How to handle a new language which should not show up yet on the live setup (yet)?
- How to handle language fallbacks properly for content records (what should we allow, and how to implement this?)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Subtasks 21
- Feature #84760Conditions for site language
- Task #85143Improve deleting site configurations
- Task #85163Allow site handling with non-absolute URLs like "/"
- Task #85164Allow to only show site languages in BE ("enabledInFrontend")
- Task #85165Allow to accept https and http as incoming, and optional redirects
- Task #85166Add tests for a frontend rendering based on sites
- Task #85717Add site interface
- Task #85719Make base detection more robust
- Bug #85819Exception on non-existing error handler
- Task #85887Optimize language labels in IRRE title
- Task #85892Centralize sys_domain resolving
- Task #85900Introduce Pseudo Sites
- Task #85919Flush site caches if sys_domain or sys_language was modified
- Task #85929Move error handler constants to SiteInterface
- Task #85930Add API for Site resolving
- Bug #85950Preview URL in backend is invalid
- Task #85951Move domainStartPage setting to PageResolver
- Task #85954Move Site Resolving before TSFE initialization in Frontend
- Bug #86011Site Configuration Module should show hidden languages
- Task #86027Change Site Base Handling to PSR-7 URI Interface
- Bug #86078Not localized labels in site module