This project is mirrored from https://git.typo3.org/typo3/typo3.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Last successful update .
  1. 21 Dec, 2020 1 commit
    • Benjamin Franzke's avatar
      [TASK] Update bootstrap javascript to 5.0.0-beta1 · 27881b60
      Benjamin Franzke authored and Benni Mack's avatar Benni Mack committed
      Bootstrap v5 – introduced in #92616 – was added with CCS from beta1 but
      JavaScript from alpha2. bootstrap.bundle.js was manually wrapped
      into a AMD closure, and because bootstrap 5.0.0-beta1 contains alot of
      changes regarding data tags, it couldn't be updated in the initial
      patch.
      
      Bootstrap is now bundled using rollup using the ES6 sources in order
      to allow for automatic updates through `grunt build`.
      
      popperjs – previously bundled into bootstrap distributed files –
      is now added as dependency. The bootstap ES6 sources, that we now use
      through rollup, do not bundle this external dependency (for good reasons).
      
      Dependency added with:
      
         yarn add @popperjs/core
      
      Further adaptions contained in this change to ensure beta1 compatibility:
      
      a) Carousel "item" to "carousel-item" class migration
      b) $.fn.modal(options) does no longer imply $.fn.modal('show')
      c) Fix panels, both JS and CSS (card-group can't be used here)
      d) All bootstrap data- tags are migrated to data-bs-.
         (see https://github.com/twbs/bootstrap/pull/31827)
         Migrated with
      
         # renderes a sed substition with the help of a nested sed from all the
         # data-bs attributes that where changed in the twbs/bootstrap commit
         git grep -l data- | xargs sed -i $( \
              curl -s \
              https://patch-diff.githubusercontent.com/raw/twbs/bootstrap/pull/31827.patch | \
              sed 's/data-bs-[a-z-]*/\n&\n/g' | grep "data-bs-[a-z-]" | \
              sort | uniq | \
              sed 's/data-bs-\(.*\)\([^a-z-]\|$\)/ -e s\/data-\1\\\([^a-z-]\\\)\/data-bs-\1\\1\/g -e s\/data('"'"'\1'"'"')\/data('"'"'bs-\1'"'"')\/g/g' \
         )
      
         # Revert false positives from the above auto-replacement
         git checkout -- typo3/sysext/core/Documentation/Changelog/ \
              typo3/sysext/backend/Classes/Form/Container/FlexFormContainerContainer.php \
              Build/Sources/TypeScript/backend/Resources/Public/TypeScript/LiveSearch.ts \
              Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngineFlexForm.ts \
              Build/Sources/TypeScript/install/Resources/Public/TypeScript/Module/Settings/ExtensionConfiguration.ts \
              Build/Sources/Sass/typo3/_element_panel.scss
      
         (cd Build && grunt build)
      
      Resolves: #93126
      Resolves: #93123
      Resolves: #93132
      Related: #92616
      Releases: master
      Change-Id: Ie194d0f87d2c60df7b9e8a6de4893cfaaea55356
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/67215
      
      Tested-by: default avatarTYPO3com <noreply@typo3.com>
      Tested-by: default avatarMartin Kutschker <mkutschker-typo3@yahoo.com>
      Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Reviewed-by: default avatarMartin Kutschker <mkutschker-typo3@yahoo.com>
      Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      27881b60
  2. 18 Apr, 2020 1 commit
  3. 23 Apr, 2019 1 commit
  4. 08 Sep, 2017 1 commit
    • Benni Mack's avatar
      [!!!][BUGFIX] Separate sys_history from sys_log db entries · d047b314
      Benni Mack authored
      Before, the history module fetched info about "modified records" from
      sys_history+the authoritive user from a coupled sys_log entry.
      
      Info about "insert" and "delete" was fetched from sys_log solely.
      
      However, when using a scheduled cleanup task to truncate sys_log
      then all history information is useless (see bug report).
      
      The patch introduces a new RecordHistoryStore as an abstraction
      for adding history entries (currently done solely within DataHandler).
      
      It adds some additional, necessary SQL fields to sys_history to
      store all information in there and creates an update wizard
      to migrate all coupled sys_history/sys_log entries to a
      new sys_history entry itself.
      
      Additionally, the whole existing "RecordHistory" class is
      now only necessary for fetching the so-called ChangeLog,
      for a page or a specific record, and to do rollbacks, preparing
      the history records so they can be worked on.
      
      The whole logic for fetching the GET/POST parameters is moved
      into the "ElementHistoryController", everything that is only possible
      via Fluid is moved from the RecordHistory object and the
      ElementHistoryController into the view.
      
      Referencing from sys_log (Log module) into sys_history is
      now done the other way around, storing information about
      the corresponding history entry inside sys_log.
      As a side-effect, sys_log should load faster.
      
      Abstraction basis:
      - sys_history is the only source of truth about the history of a record
      - sys_log contains a reference to an history entry now
      (inside sys_log.log_data) to link from the backend log module
      - RecordHistoryStore exists for tracking changes to records
      - RecordHistory is for retrieving, compiling the history/changelog and rollbacks
      - ElementHistoryController is doing PSR-7 style request/response
      handling and preparing data for the view
      - Fluid is handling more view functionality now, removing
      the need for doing <f:format.raw> everywhere in the templates.
      
      Sidenotes:
      * Data within sys_history is now stored as JSON, not serialized anymore
      * Adding/deleting was previously stored in sys_log only, is now within sys_history
      * Moving records is now tracked (but not evaluated yet)
      * Highlight/Snapshot functionality within the Backend Module
      was removed
      
      This functionality is built so it can also be used within Extbase
      persistence and in FE in general in a future iteration.
      
      Resolves: #55298
      Resolves: #71950
      Releases: master
      Change-Id: I354317609099bac10c264b9932e331fa908c98be
      Reviewed-on: https://review.typo3.org/53195
      
      Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
      Tested-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
      Tested-by: default avatarTYPO3com <no-reply@typo3.com>
      Reviewed-by: Joerg Kummer's avatarJoerg Kummer <typo3@enobe.de>
      Tested-by: Joerg Kummer's avatarJoerg Kummer <typo3@enobe.de>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      d047b314
  5. 19 Jul, 2017 1 commit
  6. 01 Dec, 2016 1 commit
  7. 22 Jan, 2016 1 commit