-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Added support for TYPO3 13, dropped support for 10 and PHP7
- Loading branch information
Showing
89 changed files
with
1,451 additions
and
1,159 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
parameters: | ||
level: 0 | ||
paths: | ||
- ../Classes | ||
- ../Configuration | ||
ignoreErrors: | ||
- '#TYPO3\\CMS\\Backend\\ViewHelpers\\ModuleLayoutViewHelper#' | ||
typo3: | ||
requestGetAttributeMapping: | ||
frontend.page.information: TYPO3\CMS\Frontend\Page\PageInformation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
valid_versions=("11" "12" "13") | ||
|
||
if [[ ! " ${valid_versions[@]} " =~ " $1 " ]]; then | ||
echo "Invalid version. Please use one of the following: ${valid_versions[@]}" | ||
exit 1 | ||
fi | ||
|
||
composer req typo3/cms-dashboard:"^$1" -n -d /var/www/html/v$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
valid_versions=("11" "12" "13") | ||
|
||
if [[ ! " ${valid_versions[@]} " =~ " $1 " ]]; then | ||
echo "Invalid version. Please use one of the following: ${valid_versions[@]}" | ||
exit 1 | ||
fi | ||
|
||
composer remove typo3/cms-dashboard -n -d /var/www/html/v$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
valid_versions=("11" "12" "13") | ||
|
||
if [[ ! " ${valid_versions[@]} " =~ " $1 " ]]; then | ||
echo "Invalid version. Please use one of the following: ${valid_versions[@]}" | ||
exit 1 | ||
fi | ||
|
||
composer update -n -d /var/www/html/v$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#!/bin/bash | ||
|
||
VERSION=v12 | ||
|
||
rm -rf /var/www/html/$VERSION/* | ||
mkdir -p /var/www/html/$VERSION/ | ||
echo "{}" > /var/www/html/$VERSION/composer.json | ||
composer config extra.typo3/cms.web-dir public -d /var/www/html/$VERSION | ||
composer config repositories.$EXTENSION_KEY path ../../$EXTENSION_KEY -d /var/www/html/$VERSION | ||
composer config --no-plugins allow-plugins.typo3/cms-composer-installers true -d /var/www/html/$VERSION | ||
composer config --no-plugins allow-plugins.typo3/class-alias-loader true -d /var/www/html/$VERSION | ||
composer req t3/cms:'^12' $PACKAGE_NAME:'*@dev' --no-progress -n -d /var/www/html/$VERSION | ||
|
||
cd /var/www/html/$VERSION | ||
|
||
TYPO3_INSTALL_DB_DBNAME=$VERSION | ||
vendor/bin/typo3 install:setup -n --database-name $VERSION | ||
vendor/bin/typo3 configuration:set 'BE/debug' 1 | ||
vendor/bin/typo3 configuration:set 'FE/debug' 1 | ||
vendor/bin/typo3 configuration:set 'SYS/devIPmask' '*' | ||
vendor/bin/typo3 configuration:set 'SYS/displayErrors' 1 | ||
vendor/bin/typo3 configuration:set 'SYS/trustedHostsPattern' '.*.*' | ||
vendor/bin/typo3 configuration:set 'MAIL/transport' 'smtp' | ||
vendor/bin/typo3 configuration:set 'MAIL/transport_smtp_server' 'localhost:1025' | ||
vendor/bin/typo3 configuration:set 'MAIL/defaultMailFromAddress' '[email protected]' | ||
vendor/bin/typo3 configuration:set 'GFX/processor' 'ImageMagick' | ||
vendor/bin/typo3 configuration:set 'GFX/processor_path' '/usr/bin/' | ||
|
||
sed -i -e "s/base: ht\//base: \//g" /var/www/html/$VERSION/config/sites/main/config.yaml | ||
sed -i -e 's/base: \/en\//base: \//g' /var/www/html/$VERSION/config/sites/main/config.yaml | ||
|
||
vendor/bin/typo3 cache:flush |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
|
||
VERSION=v13 | ||
|
||
rm -rf /var/www/html/$VERSION/* | ||
mkdir -p /var/www/html/$VERSION/ | ||
echo "{}" > /var/www/html/$VERSION/composer.json | ||
composer config extra.typo3/cms.web-dir public -d /var/www/html/$VERSION | ||
composer config repositories.$EXTENSION_KEY path ../../$EXTENSION_KEY -d /var/www/html/$VERSION | ||
composer config --no-plugins allow-plugins.typo3/cms-composer-installers true -d /var/www/html/$VERSION | ||
composer config --no-plugins allow-plugins.typo3/class-alias-loader true -d /var/www/html/$VERSION | ||
composer req t3/cms:'^13' $PACKAGE_NAME:'*@dev' --no-progress -n -d /var/www/html/$VERSION | ||
|
||
cd /var/www/html/$VERSION | ||
|
||
mysql -h db -u root -p"root" -e "CREATE DATABASE ${VERSION};" | ||
|
||
TYPO3_INSTALL_DB_DBNAME=$VERSION | ||
vendor/bin/typo3 setup -n --dbname=$VERSION --password=$TYPO3_DB_PASSWORD --create-site="https://${VERSION}.yoast-seo.ddev.site" --admin-user-password=$TYPO3_SETUP_ADMIN_PASSWORD | ||
vendor/bin/typo3 configuration:set 'BE/debug' 1 | ||
vendor/bin/typo3 configuration:set 'FE/debug' 1 | ||
vendor/bin/typo3 configuration:set 'SYS/devIPmask' '*' | ||
vendor/bin/typo3 configuration:set 'SYS/displayErrors' 1 | ||
vendor/bin/typo3 configuration:set 'SYS/trustedHostsPattern' '.*.*' | ||
vendor/bin/typo3 configuration:set 'MAIL/transport' 'smtp' | ||
vendor/bin/typo3 configuration:set 'MAIL/transport_smtp_server' 'localhost:1025' | ||
vendor/bin/typo3 configuration:set 'GFX/processor' 'ImageMagick' | ||
vendor/bin/typo3 configuration:set 'GFX/processor_path' '/usr/bin/' | ||
vendor/bin/typo3 configuration:set 'SYS/features/security.backend.enforceReferrer' 0 | ||
|
||
cp ~/favicon.ico ./public | ||
|
||
vendor/bin/typo3 cache:flush |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.