Commit Graph

17 Commits

Author SHA1 Message Date
Marcel Kapfer cff6ac1849
🔖 Release preparations for 2.0.0 2023-05-06 13:01:31 +02:00
Marcel Kapfer 8264969c61
Use Context API to check for logged in backend user
The `isBackendUserLoggedIn()` function of the TSFE array is deprecated
starting with TYPO3 v12 and since the Context API also provides the
necssary aspect and functionality in v11 there is no harm in migrating
now.

Refs: #2
2023-05-06 12:55:57 +02:00
Marcel Kapfer 89ee94bf28
🐛 Replace check for 'TYPO3_MODE' with check for 'TYPO3'
The TYPO3_MODE variable was deprecated with TYPO3 v11 and replaced
with the TYPO3 constant.

Refs: #2
2023-05-06 12:54:55 +02:00
Marcel Kapfer 2af99f3a4d
⬆ Upgrade dependencies to include TYPO3 v12.4
Refs: #2
2023-05-06 12:53:11 +02:00
Marcel Kapfer 356360443b
💥 Drop support for TYPO3 v10
TYPO3 v10 is no longer officially supported and I do not want to
invest any time in testing the extension on it.

Refs: #2
2023-05-06 12:50:56 +02:00
Marcel Kapfer 4c81c9b694
🔖 Release preparations for 1.2.0 2022-08-10 19:01:23 +02:00
Marcel Kapfer b704eaae5c
♻️ Refactored CHANGELOG.md following markdownlint suggestions 2022-08-10 18:57:52 +02:00
Marcel Kapfer 09f9578d20
♻️ Use already existing asset collector
For some reason the AssetCollector instance created (or passed) in the
PageRendererPreProcess constructor was not used, but instead a new
instance was made as part of the addLibrary function.

This commit refactors PageRendererPreProcess::addLibrary to use the
already created AssetCollector.
2022-08-10 18:48:26 +02:00
Marcel Kapfer 9c43bfc8f5
🐛 Fix runtime crash if $GLOBALS: TSFE is not set on PHP 8 and higher
This is the case for the backend.

Setting it to null yields to an early abortion in the addLibrary
function.
2022-08-10 18:46:22 +02:00
Marcel Kapfer 01c8997c1d
⚰️ Remove unused use statement in PageRendererPreProcess 2022-08-10 18:45:33 +02:00
Marcel Kapfer 25ccc28ecc
⬆️ Raise dependencies to include TYPO3 v11 and PHP 8.0 & 8.1 2022-08-10 18:44:00 +02:00
Marcel Kapfer f5cde24eb6
🐛 Fix issues URL in composer.json 2022-08-09 22:45:13 +02:00
Marcel Kapfer db0ccff957
Release preparations for 1.1.0 2021-05-03 19:52:15 +02:00
Marcel Kapfer 7d22f3569b
Don't add script if logged into BE 2021-05-03 19:48:34 +02:00
Marcel Kapfer 3fd4905ea8
Release preparations for 1.0.0 2021-04-12 22:14:05 +02:00
Marcel Kapfer 4d8d5c89ec
Add PHP version constraint to composer file 2021-04-12 10:28:30 +02:00
Marcel Kapfer 1bfb8a1a77
Initial commit 2021-04-11 13:41:47 +02:00