Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MAINTENANCE] Add support for Typo3 v12 (fixes #900) #1337

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Commits on Sep 17, 2024

  1. [MAINTENANCE] Add support for Typo3 v12 (fixes kitodo#900)

    - Update composer.json for Typo3 v12
    - Add missing dependency for `typo3/cms-scheduler`
    - Add version restriction for phpunit v9 (phpunit v10 has breaking changes)
    - Upgrade dependency `typo3/testing-framework` to v7, which is compatible with Typo3 v11 and v12
    - Fix basic problems with extension configuration (see Typo3 Feature #96733)
    - Replace `TYPO3_MODE` references (see Typo3 Deprecation #92947)
    - Remove phpstan ignore rule `TYPO3_MODE not found`, which is not required any more
    - Fix flash message rendering (see Typo3 Depcrecation #97787)
    - Fix `SolrSearch` implementation by extending from `Query` class (see Typo3 Breaking #96044)
    - Avoid initialization via constructor in `AbstractController` (required to access $request when migrating to v13, see Typo3 Deprecation #99615)
    - Fix NewTenantController by using dependency injection (see Typo3 Manual)
    - Return ResponseInterfaces in controller actions (see Typo3 Deprecation #92784)
    - Change `forward` calls to `redirect` in controller classes (see Typo3 Deprecation #92815)
    - Remove reference to old `ObjectManager` (see Typo3 Deprecation #94619)
    - Determine login status via Context class instead of `$GLOBALS["TSFE"]` (see Typo3 Manual)
    - Update GitHub CI tests to Typo3 v11 (with PHP 7.4) and v12 (with PHP 8.1)
    - Remove columns `cruser_id`, `t3ver_oid`, `t3ver_wsid`, `t3ver_state`, `t3ver_stage` from test fixtures, which are not available in Typo3 v12 any more (see Typo3 Breaking #98024)
    - Fix OAI-PMH template in case of request without verb or other parameters
    - Fix various undefined array key issues that are raised when using PHP 8+
    thomaslow committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    800d497 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    b7e6ed4 View commit details
    Browse the repository at this point in the history
  2. Fix some codacy issues.

    thomaslow committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    f8f1b04 View commit details
    Browse the repository at this point in the history
  3. Fix phpstan issue.

    thomaslow committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    2b851f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Fix url parameter not added in navigation and toc links in Typo3 v12.

     Typo3 v12 changes `addQueryString` parameter, see Typo3 Feature #98488.
    thomaslow committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    2cb8bb3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1e9e84a View commit details
    Browse the repository at this point in the history
  3. Fix some codacy issues.

    thomaslow committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    1ab3764 View commit details
    Browse the repository at this point in the history
  4. Fix some codacy issues.

    thomaslow committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    491bc99 View commit details
    Browse the repository at this point in the history