Skip to content
Snippets Groups Projects
  1. Jul 10, 2023
    • Nicole Cordes's avatar
      [BUGFIX] Support deferred ConsumerScope in GlobalEventHandler · 6b426d4d
      Nicole Cordes authored
      The GlobalEventHandler changes the location of the current (target)
      window. The location is set to a given destination without any ability
      to interrupt. The existing ConsumerScope API isn't used even if the
      current window is the ContentContainer. This patch extends the handling
      of a navigation action by checking its target window and using proper
      ContentContainer API to set the location. Therefore registered listener
      can deny a location change and trigger own functions.
      
      Resolves: #95474
      Resolves: #100114
      Releases: main, 12.4, 11.5
      Change-Id: If6a3b1cc546e1f2ff0b8e9fed3f83055f3f55e49
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79922
      
      
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
      Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
      6b426d4d
    • Benjamin Franzke's avatar
      [BUGFIX] Fix sudo mode in non-Sec-Fetch-Dest context · 10a41357
      Benjamin Franzke authored
      Since #94084 all module URLs are automatically framed by
      the TYPO3 main controller whenever they are opened in a
      Sec-Fetch-Dest aware request. (HTTPS or localhost domain)
      The intention of API is to allow module-links
      to be opened in a new tab by user intent – but due to
      technical limitation that feature is limited to
      secure contexts, and must therefore not be relied on
      as an API for internal redirects.
      
      sudo mode made use of this API and redirected
      via top.location to the privileged module, relying
      on the fact that iframe module-requests where detected
      to be loaded in the wrong context, to produce
      a redirect to the proper backend-frame, this didn't
      work for non HTTPS requests.
      
      This workaround has been done to remove "sudo-mode"
      from the URL bar. That workaround is no longer needed
      as #101287 added support for installtool URL
      bar synchronisation.
      ContentContainer API is now used to set the URL.
      
      Releases: main, 12.4
      Resolves: #101288
      Related: #101287
      ...
      10a41357
    • Benjamin Franzke's avatar
      [TASK] Update URL bar in nested backend installtool · e1f4d209
      Benjamin Franzke authored
      Map backend URLs like
      /typo3/install.php?install%5Bcontroller%5D=settings
      to /typo3/module/tools/settings for display in the
      browsers URL bar.
      
      Resolves: #101287
      Releases: main, 12.4
      Change-Id: I5177146e28b01011f946c578804a8141fe9a371f
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79920
      
      
      Reviewed-by: default avatarBenjamin Franzke <ben@bnf.dev>
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Tested-by: default avatarBenjamin Franzke <ben@bnf.dev>
      e1f4d209
  2. Jul 07, 2023
  3. Jul 06, 2023
  4. Jul 05, 2023
  5. Jul 04, 2023
  6. Jul 03, 2023
  7. Jun 29, 2023
  8. Jun 27, 2023
    • Christian Kuhn's avatar
      [TASK] Connect label with element in FormEngine · 4531510e
      Christian Kuhn authored
      A single FormEngine element (created by "element"
      classes that typically extend AbstractFormElement)
      takes care of the "inner" HTML of an element.
      
      The surrounding "outer" HTML like embedding elements
      in palettes is created by "container" classes. Also,
      <label> tags for single elements are created by
      container classes, namely PaletteAndSingleContainer
      and FlexFormElementContainer.
      
      The situation having <label> done by a container and
      the inner HTML done by elements has drawbacks:
      First, "label" tags should have a "for" attribute,
      to connect it with input fields having "id" attribute.
      This is one of the accessibility "must haves".
      Separating label and fields in different classes
      does not allow doing this. Secondly, not all elements
      have such input or select tags at all. In those cases,
      the label is not a label, but should be a legend
      embedded in a fieldset.
      
      The patch moves the existing label tag generation from
      container classes to element classes: Only elem...
      4531510e
  9. Jun 26, 2023
  10. Jun 22, 2023
  11. Jun 08, 2023
  12. Jun 07, 2023
  13. Jun 06, 2023
  14. May 24, 2023
  15. May 09, 2023
  16. May 08, 2023
  17. May 07, 2023
  18. May 05, 2023
  19. May 02, 2023
  20. Apr 26, 2023
  21. Apr 24, 2023