1. 04 Jun, 2020 2 commits
  2. 12 May, 2020 1 commit
  3. 27 Apr, 2020 1 commit
  4. 17 Apr, 2020 1 commit
  5. 15 Apr, 2020 1 commit
  6. 14 Apr, 2020 1 commit
  7. 12 Apr, 2020 1 commit
  8. 06 Apr, 2020 1 commit
  9. 03 Apr, 2020 1 commit
  10. 27 Mar, 2020 1 commit
  11. 08 Mar, 2020 1 commit
  12. 06 Mar, 2020 1 commit
  13. 27 Feb, 2020 1 commit
  14. 15 Feb, 2020 1 commit
  15. 14 Jan, 2020 1 commit
  16. 30 Dec, 2019 1 commit
  17. 18 Dec, 2019 2 commits
  18. 07 Oct, 2019 1 commit
  19. 23 Aug, 2019 1 commit
  20. 13 Jul, 2019 1 commit
  21. 11 Jul, 2019 1 commit
  22. 01 Mar, 2019 1 commit
  23. 30 Dec, 2018 1 commit
  24. 20 Dec, 2018 1 commit
    • Benni Mack's avatar
      [!!!][TASK] Remove deprecated code related to TSFE · 09632eef
      Benni Mack authored and Anja Leichsenring's avatar Anja Leichsenring committed
      The following code related to TSFE has been removed:
      
      PHP classes:
      * TYPO3\CMS\Core\PageTitle\AltPageTitleProvider
      * TYPO3\CMS\Frontend\Page\ExternalPageUrlHandler
      * TYPO3\CMS\Frontend\Page\PageGenerator
      * TYPO3\CMS\Frontend\Page\EidUtility
      
      PHP interfaces:
      * TYPO3\CMS\Frontend\Http\UrlHandlerInterface
      
      Methods that have been marked as protected
      * tempPageCacheContent()
      * realPageCacheContent()
      * setPageCacheContent()
      * clearPageCacheContent_pidList()
      * setSysLastChanged()
      * contentStrReplace()
      
      Dropped TSFE methods
      * mergingWithGetVars()
      * connectToDB()
      * initFEuser()
      * checkAlternativeIdMethods()
      * initializeBackendUser()
      * getPageShortcut()
      * pageUnavailableAndExit()
      * pageNotFoundAndExit()
      * checkPageUnavailableHandler()
      * pageUnavailableHandler()
      * pageNotFoundHandler()
      * pageErrorHandler()
      * makeCacheHash()
      * initTemplate()
      * handleDataSubmission()
      * initializeRedirectUrlHandlers()
      * redirectToExternalUrl()
      * checkPageForMountpointRedirect()
      * checkPageForShortcutRedirect()
      * redirectToCurrentPage()
      * processOutput()
      * sendCacheHeaders()
      * sendHttpHeadersDirectly()
      * storeSessionData()
      * previewInfo()
      * hook_eofe()
      * addTempContentHttpHeaders()
      * setCSS()
      * getUniqueId()
      * readLLfile()
      * getLLL()
      * initLLvars()
      * convPOSTCharset()
      * convertCharsetRecursivelyToUtf8()
      * domainNameMatchesCurrentRequest()
      * getDomainDataForPid()
      * getDomainNameForPid()
      
      Dropped TSFE properties
      * activeUrlHandlers
      * page_cache_reg1
      * siteScript
      * loginUser
      * gr_list
      * beUserLogin
      * workspacePreview
      * ADMCMD_preview_BEUSER_uid
      * showHiddenPage
      * showHiddenRecords
      * debug
      * MP_defaults
      * sys_language_uid
      * sys_language_mode
      * sys_language_content
      * sys_language_contentOL
      * altPageTitle
      * lang
      
      TSFE Properties now marked as protected
      * loginAllowedInBranch
      * loginAllowedInBranch_mode
      * cacheTimeOutDefault
      * cacheContentFlag
      * cacheExpires
      * isClientCachable
      * no_cacheBeforePageGen
      * tempContent
      * pagesTSconfig
      * pageCacheTags
      * uniqueCounter
      * uniqueString
      * pageAccessFailureHistory
      
      TSFE Method Signature changes
      * calculateLinkVars now 1st parameter is required
      * preparePageContentGeneration now 1st parameter is required
      4th Parameter of TSFE->__construct() now unused
      
      Removed TypoScript
      * config.typolinkCheckRootline
      * config.titleTagFunction
      * config.USERUID_substToken
      * config.USERNAME_substToken
      
      Hooks
      $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['tslib_fe-PostProc']
      
      Database fields:
      * index_phash.data_page_reg1
      
      Resolves: #87235
      Releases: master
      Change-Id: Id95bb0ccb30852fd115fb9da7754fa2e64374a41
      Reviewed-on: https://review.typo3.org/59226
      
      
      Tested-by: default avatarTYPO3com <no-reply@typo3.com>
      Reviewed-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
      Tested-by: Georg Ringer's avatarGeorg Ringer <georg.ringer@gmail.com>
      Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
      Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
      09632eef
  25. 05 Nov, 2018 1 commit
  26. 30 Sep, 2018 1 commit
  27. 29 Sep, 2018 2 commits
  28. 02 Sep, 2018 2 commits
  29. 14 Aug, 2018 1 commit
  30. 13 Jul, 2018 1 commit
  31. 27 Jun, 2018 1 commit
    • Benni Mack's avatar
      [FEATURE] Add Contexts for storing data access modes · 5f8f50a0
      Benni Mack authored and Andreas Fernandez's avatar Andreas Fernandez committed
      A new "Context" concept is added which allows to keep
      the state of common TYPO3 Request Data in form of
      so-called Aspects.
      
      An aspect contains properties which can be fetched,
      but only the ones that are really necessary, instead of
      exposing a full object (e.g. BE_USER).
      
      The main goal is to centralize some global variables
      distributed in various places.
      
      In the first step the following variables are considered:
      
      - $TSFE->showHiddenPages
      - $TSFE->showHiddenRecords
      - $TSFE->beUserLogin
      - $TSFE->gr_list
      - $TSFE->loginUser
      - $GLOBALS[SIM_EXEC_TIME]
      - $GLOBALS['BE_USER']->workspace
      
      For now the Context is a singleton object, but should
      be fetched from a DI container.
      
      Sometimes a custom context is necessary, so it is
      cloned (see usage in TSFE).
      
      The difference to the PSR-7 request attributes is that the
      context is ONLY related to data access (like permissions / visibility)
      and also independent if TYPO3 is running via HTTP or CLI
      (thus, can be used in CLI mode as well).
      
      Next Steps:
      - Migrate PageRepository->versioningWorkspaceId
      - Migrate TSFE->simUserGroup
      - Use DateTimeAspect everywhere
      - Introduce Language + Page Aspects
      - Introduce the context object into ContentObjectRenderer and cObjects
      - Use Contexts in RestrictionContainers
      - Use Contexts in TYPO3 Backend
      - Decouple sys_page behaviour from TSFE where applicable
      - Ensure TypoScript conditions continue to work / have a documented alternative
      
      Resolves: #85389
      Releases: master
      Change-Id: I9e27e581a1632fcd8c3c6a9e0954b76b91f42c52
      Reviewed-on: https://review.typo3.org/57104
      
      
      Tested-by: default avatarTYPO3com <no-reply@typo3.com>
      Reviewed-by: Stefan Bürk's avatarStefan Bürk <stefan.buerk@pure-metal.de>
      Tested-by: Stefan Bürk's avatarStefan Bürk <stefan.buerk@pure-metal.de>
      Reviewed-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
      Tested-by: Susanne Moog's avatarSusanne Moog <susanne.moog@typo3.org>
      Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
      Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
      5f8f50a0
  32. 15 Jun, 2018 1 commit
  33. 10 Jun, 2018 1 commit
  34. 30 May, 2018 1 commit
  35. 11 May, 2018 1 commit
  36. 16 Feb, 2018 1 commit