From b3a2fcd2e4e7b0860bd1cf7e282be39a254474cd Mon Sep 17 00:00:00 2001 From: Stefan Davis Date: Wed, 11 Mar 2020 13:45:10 +1100 Subject: [PATCH 1/3] Updated CakePHP to latest stable - updated cakephp to latest stable - replaced tklwebcp with turnkey php shim --- Makefile | 3 - README.rst | 6 +- changelog | 12 + conf.d/main | 37 +- .../src/Template/Layout/default.ctp | 54 --- .../src/Template/Pages/home.ctp | 180 --------- .../webroot/css/cake.notices.css | 360 ------------------ .../cakephp/templates/Pages/turnkey-shim.php | 30 ++ 8 files changed, 69 insertions(+), 613 deletions(-) delete mode 100644 overlay/usr/local/src/cakephp.overlay/src/Template/Layout/default.ctp delete mode 100644 overlay/usr/local/src/cakephp.overlay/src/Template/Pages/home.ctp delete mode 100644 overlay/usr/local/src/cakephp.overlay/webroot/css/cake.notices.css create mode 100644 overlay/var/www/cakephp/templates/Pages/turnkey-shim.php diff --git a/Makefile b/Makefile index 91c9fd0..567dfd2 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,2 @@ -COMMON_OVERLAYS = tkl-webcp -COMMON_CONF = tkl-webcp - include $(FAB_PATH)/common/mk/turnkey/lamp.mk include $(FAB_PATH)/common/mk/turnkey.mk diff --git a/README.rst b/README.rst index 2a107c7..6300dfd 100644 --- a/README.rst +++ b/README.rst @@ -18,8 +18,8 @@ and on top of that: they **ARE NOT** configured to install automatically. See `CakePHP documentation`_ for upgrading. -- Includes TurnKey Web Control panel with links to useful references, - relevant path information, and CakePHP checks (convenience). +- Includes a turnkey php shim with links to useful references, + relevant path information. - SSL support out of the box. - `Adminer`_ administration frontend for MySQL (listening on port 12322 - uses SSL). @@ -36,5 +36,5 @@ Credentials *(passwords set at first boot)* .. _CakePHP: https://cakephp.org/ .. _TurnKey Core: https://www.turnkeylinux.org/core -.. _CakePHP documentation: https://book.cakephp.org/3.0/en/upgrade-tool.html +.. _CakePHP documentation: https://book.cakephp.org/4/en/appendices/4-0-upgrade-guide.html .. _Adminer: https://www.adminer.org/ diff --git a/changelog b/changelog index ff3b0d6..d4160c1 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,15 @@ +turnkey-cakephp-16.0 (1) turnkey; urgency=low + + * Latest upstream version of CakePHP (v4.0.4) + + * Replace turnkey landing page with turnkey-shim injected + into cakephp's landing page at build time. + + * Note: Please refer to turnkey-core's changelog for changes common to all + appliances. Here we only describe changes specific to this appliance. + + -- Stefan Davis Wed, 11 Mar 2020 13:37:22 +1100 + turnkey-cakephp-15.1 (1) turnkey; urgency=low * Latest upstream version of CakePHP (v3.6.13) diff --git a/conf.d/main b/conf.d/main index eae5365..d4ea173 100755 --- a/conf.d/main +++ b/conf.d/main @@ -15,11 +15,11 @@ chown -R root:root $WEBROOT chown -R www-data:www-data $WEBROOT/tmp # tweak configuration -CONF=$WEBROOT/config/app.php +CONF=$WEBROOT/config/app_local.php sed -i "\ - s#\\('salt' => \\)'.\\+'#\\1'$(mcookie)'#; \ - /Datasources/,/ \\],/{ \ + s#\\('salt' => \\)'.*'#\\1'$(mcookie)'#; \ + /Datasources/,/^ \\],/{ \ s#\\('username' => \\)'.*'#\\1'cakephp'#; \ s#\\('database' => \\)'.*'#\\1'cakephp'#; \ s#\\('password' => \\)'.*'#\\1'$DB_PASS'# \ @@ -27,6 +27,27 @@ sed -i "\ /EmailTransport/,/ \\]/ \ s#\\('className' => \\)'Mail'#\\1'Smtp'# \ " $CONF +sed -i "\ + /Datasources/ { a\ +\ 'debug_kit' => [\n\ + 'className' => 'Cake\\\\Database\\\\Connection',\n\ + 'driver' => 'Cake\\\\Database\\\\Driver\\\\Mysql',\n\ + 'persistent' => false,\n\ + 'host' => 'localhost',\n\ + 'port' => '3306',\n\ + 'database' => 'cakephp',\n\ + 'username' => 'cakephp',\n\ + 'password' => '$DB_PASS',\n\ + 'timezone' => 'UTC',\n\ + 'flags' => [],\n\ + 'log' => false,\n\ + ],\n\ + + };" $CONF +sed -i "/DebugKit/,/
/ { + /
/a\ + + };" /var/www/cakephp/templates/Pages/home.php chown www-data:www-data $CONF chmod 640 $CONF @@ -46,13 +67,3 @@ service mysql stop a2dissite 000-default a2ensite cakephp a2enmod rewrite - -# setup tkl-webcp -mv /var/www/js/* $WEBROOT/webroot/js/; rm -rf /var/www/js -mv /var/www/css/* $WEBROOT/webroot/css/; rm -rf /var/www/css -mv /var/www/images/* $WEBROOT/webroot/img/; rm -rf /var/www/images - -ln -s $WEBROOT/webroot/img $WEBROOT/webroot/images - -cp -TdR $SRC/cakephp.overlay $WEBROOT -rm -rf $SRC/cakephp.overlay diff --git a/overlay/usr/local/src/cakephp.overlay/src/Template/Layout/default.ctp b/overlay/usr/local/src/cakephp.overlay/src/Template/Layout/default.ctp deleted file mode 100644 index 53d74b5..0000000 --- a/overlay/usr/local/src/cakephp.overlay/src/Template/Layout/default.ctp +++ /dev/null @@ -1,54 +0,0 @@ - - - - - Html->charset(); ?> - - <?php echo $cakeDescription ?>: - <?php echo $this->fetch('title'); ?> - - Html->meta('icon'); - - echo $this->Html->css('base'); - echo $this->Html->css('ui.tabs'); - echo $this->Html->css('cake.notices'); - - echo $this->Html->script('jquery-1.2.6'); - echo $this->Html->script('ui.core'); - echo $this->Html->script('ui.tabs'); - - echo $this->fetch('meta'); - echo $this->fetch('css'); - echo $this->fetch('script'); - ?> - - - - - fetch('content'); ?> - - diff --git a/overlay/usr/local/src/cakephp.overlay/src/Template/Pages/home.ctp b/overlay/usr/local/src/cakephp.overlay/src/Template/Pages/home.ctp deleted file mode 100644 index 7d83179..0000000 --- a/overlay/usr/local/src/cakephp.overlay/src/Template/Pages/home.ctp +++ /dev/null @@ -1,180 +0,0 @@ - - -

TurnKey CakePHP

- -
- - - -
-
-

The page you're looking at is dynamically generated

-
- -

Routing configuration

-
/var/www/cakephp/config/routes.php
- -

View Layout

-
/var/www/cakephp/src/Template/Layout/default.ctp
- -

View Page

-
/var/www/cakephp/src/Template/Pages/home.ctp
- -

Webroot (css, js, images)

-
/var/www/cakephp/webroot/
- -
-

And the cherry: MySQL preconfigured to get you started

-
/var/www/cakephp/config/app.php
-
-
-
-
- - -

- - 1) Help me configure it - 2) I don't / can't use URL rewriting -

-

- =')): - echo ''; - echo __d('cake_dev', 'Your version of PHP is 5.4.16 or higher.'); - echo ''; - else: - echo ''; - echo __d('cake_dev', 'Your version of PHP is too low. You need PHP 5.4.16 or higher to use CakePHP.'); - echo ''; - endif; - ?> -

-

- '; - echo __d('cake_dev', 'Your tmp directory is writable.'); - echo ''; - else: - echo ''; - echo __d('cake_dev', 'Your tmp directory is NOT writable.'); - echo ''; - endif; - ?> -

-

- - The Engine is being used for core caching. To change the config edit /var/www/cakephp/config/app.php - - Your cache is NOT working. Please check the settings in /var/www/cakephp/config/app.php - -

-

- connect(); - } catch (Exception $connectionError) { - $connected = false; - $errorMsg = $connectionError->getMessage(); - if (method_exists($connectionError, 'getAttributes')): - $attributes = $connectionError->getAttributes(); - if (isset($errorMsg['message'])): - $errorMsg .= '
' . $attributes['message']; - endif; - endif; - } - ?> - - CakePHP is able to connect to the database. - - CakePHP is NOT able to connect to the database.

- -

- '; - echo __d('cake_dev', 'PCRE has not been compiled with Unicode support.'); - echo '
'; - echo __d('cake_dev', 'Recompile PCRE with Unicode support by adding --enable-unicode-properties when configuring'); - echo '

'; - } - ?> -
-
-
diff --git a/overlay/usr/local/src/cakephp.overlay/webroot/css/cake.notices.css b/overlay/usr/local/src/cakephp.overlay/webroot/css/cake.notices.css deleted file mode 100644 index 89546fe..0000000 --- a/overlay/usr/local/src/cakephp.overlay/webroot/css/cake.notices.css +++ /dev/null @@ -1,360 +0,0 @@ -@charset "utf-8"; -/** - * - * Generic CSS for CakePHP - * - * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) - * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) - * - * Licensed under The MIT License - * Redistributions of files must retain the above copyright notice. - * - * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org) - * @link http://cakephp.org CakePHP(tm) Project - * @package app.webroot.css - * @since CakePHP(tm) - * @license MIT License (http://www.opensource.org/licenses/mit-license.php) - */ - -/** Notices and Errors **/ -.message { - clear: both; - color: #fff; - font-size: 140%; - font-weight: bold; - margin: 0 0 1em 0; - padding: 5px; -} - -.success, -.message, -.cake-error, -.cake-debug, -.notice, -p.error, -.error-message { - background: #ffcc00; - background-repeat: repeat-x; - background-image: -moz-linear-gradient(top, #ffcc00, #E6B800); - background-image: -ms-linear-gradient(top, #ffcc00, #E6B800); - background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcc00), to(#E6B800)); - background-image: -webkit-linear-gradient(top, #ffcc00, #E6B800); - background-image: -o-linear-gradient(top, #ffcc00, #E6B800); - background-image: linear-gradient(top, #ffcc00, #E6B800); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - border: 1px solid rgba(0, 0, 0, 0.2); - margin-bottom: 18px; - padding: 7px 14px; - color: #404040; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); - -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25); -} -.success, -.message, -.cake-error, -p.error, -.error-message { - clear: both; - color: #fff; - background: #c43c35; - border: 1px solid rgba(0, 0, 0, 0.5); - background-repeat: repeat-x; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(top, #ee5f5b, #c43c35); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); -} -.success { - clear: both; - color: #fff; - border: 1px solid rgba(0, 0, 0, 0.5); - background: #3B8230; - background-repeat: repeat-x; - background-image: -webkit-gradient(linear, left top, left bottom, from(#76BF6B), to(#3B8230)); - background-image: -webkit-linear-gradient(top, #76BF6B, #3B8230); - background-image: -moz-linear-gradient(top, #76BF6B, #3B8230); - background-image: -ms-linear-gradient(top, #76BF6B, #3B8230); - background-image: -o-linear-gradient(top, #76BF6B, #3B8230); - background-image: linear-gradient(top, #76BF6B, #3B8230); - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3); -} -p.error { - font-family: Monaco, Consolas, Courier, monospace; - font-size: 120%; - padding: 0.8em; - margin: 1em 0; -} -p.error em { - font-weight: normal; - line-height: 140%; -} -.notice { - color: #000; - display: block; - font-size: 120%; - padding: 0.8em; - margin: 1em 0; -} -.success { - color: #fff; -} - -/** Actions **/ -.actions ul { - margin: 0; - padding: 0; -} -.actions li { - margin:0 0 0.5em 0; - list-style-type: none; - white-space: nowrap; - padding: 0; -} -.actions ul li a { - font-weight: normal; - display: block; - clear: both; -} - -/* Buttons and button links */ -input[type=submit], -.actions ul li a, -.actions a { - font-weight:normal; - padding: 4px 8px; - background: #dcdcdc; - background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc)); - background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc); - background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc); - background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc); - background-image: -o-linear-gradient(top, #fefefe, #dcdcdc); - background-image: linear-gradient(top, #fefefe, #dcdcdc); - color:#333; - border:1px solid #bbb; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - text-decoration: none; - text-shadow: #fff 0px 1px 0px; - min-width: 0; - -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2); - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0px 1px 1px rgba(0, 0, 0, 0.2); - -webkit-user-select: none; - user-select: none; -} -.actions ul li a:hover, -.actions a:hover { - background: #ededed; - border-color: #acacac; - text-decoration: none; -} -input[type=submit]:active, -.actions ul li a:active, -.actions a:active { - background: #eee; - background-image: -webkit-gradient(linear, left top, left bottom, from(#dfdfdf), to(#eee)); - background-image: -webkit-linear-gradient(top, #dfdfdf, #eee); - background-image: -moz-linear-gradient(top, #dfdfdf, #eee); - background-image: -ms-linear-gradient(top, #dfdfdf, #eee); - background-image: -o-linear-gradient(top, #dfdfdf, #eee); - background-image: linear-gradient(top, #dfdfdf, #eee); - text-shadow: #eee 0px 1px 0px; - -moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3); - -webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3); - box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.3); - border-color: #aaa; - text-decoration: none; -} - -/** Related **/ -.related { - clear: both; - display: block; -} - -/** Debugging **/ -pre { - color: #000; - background: #f0f0f0; - padding: 15px; - -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); - -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); - box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); -} -.cake-debug-output { - padding: 0; - position: relative; -} -.cake-debug-output > span { - position: absolute; - top: 5px; - right: 5px; - background: rgba(255, 255, 255, 0.3); - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; - padding: 5px 6px; - color: #000; - display: block; - float: left; - -moz-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5); - -webkit-box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5); - box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.5); - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); -} -.cake-debug, -.cake-error { - font-size: 16px; - line-height: 20px; - clear: both; -} -.cake-error > a { - text-shadow: none; -} -.cake-error { - white-space: normal; -} -.cake-stack-trace { - background: rgba(255, 255, 255, 0.7); - color: #333; - margin: 10px 0 5px 0; - padding: 10px 10px 0 10px; - font-size: 120%; - line-height: 140%; - overflow: auto; - position: relative; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; - border-radius: 4px; -} -.cake-stack-trace a { - text-shadow: none; - background: rgba(255, 255, 255, 0.7); - padding: 5px; - -moz-border-radius: 10px; - -webkit-border-radius: 10px; - border-radius: 10px; - margin: 0px 4px 10px 2px; - font-family: sans-serif; - font-size: 14px; - line-height: 14px; - display: inline-block; - text-decoration: none; - -moz-box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3); - -webkit-box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3); - box-shadow: inset 0px 1px 0 rgba(0, 0, 0, 0.3); -} -.cake-code-dump pre { - position: relative; - overflow: auto; -} -.cake-context { - margin-bottom: 10px; -} -.cake-stack-trace pre { - color: #000; - background-color: #F0F0F0; - margin: 0px 0 10px 0; - padding: 1em; - overflow: auto; - text-shadow: none; -} -.cake-stack-trace li { - padding: 10px 5px 0px; - margin: 0 0 4px 0; - font-family: monospace; - border: 1px solid #bbb; - -moz-border-radius: 4px; - -wekbkit-border-radius: 4px; - border-radius: 4px; - background: #dcdcdc; - background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#dcdcdc)); - background-image: -webkit-linear-gradient(top, #fefefe, #dcdcdc); - background-image: -moz-linear-gradient(top, #fefefe, #dcdcdc); - background-image: -ms-linear-gradient(top, #fefefe, #dcdcdc); - background-image: -o-linear-gradient(top, #fefefe, #dcdcdc); - background-image: linear-gradient(top, #fefefe, #dcdcdc); -} -/* excerpt */ -.cake-code-dump pre, -.cake-code-dump pre code { - clear: both; - font-size: 12px; - line-height: 15px; - margin: 4px 2px; - padding: 4px; - overflow: auto; -} -.cake-code-dump .code-highlight { - display: block; - background-color: rgba(255, 255, 0, 0.5); -} -.code-coverage-results div.code-line { - padding-left:5px; - display:block; - margin-left:10px; -} -.code-coverage-results div.uncovered span.content { - background:#ecc; -} -.code-coverage-results div.covered span.content { - background:#cec; -} -.code-coverage-results div.ignored span.content { - color:#aaa; -} -.code-coverage-results span.line-num { - color:#666; - display:block; - float:left; - width:20px; - text-align:right; - margin-right:5px; -} -.code-coverage-results span.line-num strong { - color:#666; -} -.code-coverage-results div.start { - border:1px solid #aaa; - border-width:1px 1px 0px 1px; - margin-top:30px; - padding-top:5px; -} -.code-coverage-results div.end { - border:1px solid #aaa; - border-width:0px 1px 1px 1px; - margin-bottom:30px; - padding-bottom:5px; -} -.code-coverage-results div.realstart { - margin-top:0px; -} -.code-coverage-results p.note { - color:#bbb; - padding:5px; - margin:5px 0 10px; - font-size:10px; -} -.code-coverage-results span.result-bad { - color: #a00; -} -.code-coverage-results span.result-ok { - color: #fa0; -} -.code-coverage-results span.result-good { - color: #0a0; -} - -/** Elements **/ -#url-rewriting-warning { - display:none; -} diff --git a/overlay/var/www/cakephp/templates/Pages/turnkey-shim.php b/overlay/var/www/cakephp/templates/Pages/turnkey-shim.php new file mode 100644 index 0000000..544a716 --- /dev/null +++ b/overlay/var/www/cakephp/templates/Pages/turnkey-shim.php @@ -0,0 +1,30 @@ +
+
+

Routing Configuration

+
 /var/www/cakephp/config/routes.php
+
+

View Layout

+
 /var/www/cakephp/template/layout/default.php
+
+

View Page

+
 /var/www/cakephp/template/Pages/home.php
+
+

Webroot (css, js, images)

+
 /var/www/cakephp/webroot/
+
+

And the cherry: MySQL preconfigured to get you started

+
 /var/www/cakephp/config/app_local.php
+
+

Also comes with the usual turnkey shipped tools:

+ Web Shell +
+ Webmin +
+ Adminer +
+
+

See also

+ TurnKey CakePHP release notes +
+
+
From 1ab150273c6405cf3d933c27fd8a2d9c6466a45d Mon Sep 17 00:00:00 2001 From: Stefan Davis Date: Wed, 11 Mar 2020 15:17:15 +1100 Subject: [PATCH 2/3] Fix salt regen & cakephp regen --- conf.d/main | 2 +- .../usr/lib/inithooks/firstboot.d/20regen-cakephp-secrets | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf.d/main b/conf.d/main index d4ea173..7e4bff8 100755 --- a/conf.d/main +++ b/conf.d/main @@ -18,7 +18,7 @@ chown -R www-data:www-data $WEBROOT/tmp CONF=$WEBROOT/config/app_local.php sed -i "\ - s#\\('salt' => \\)'.*'#\\1'$(mcookie)'#; \ + s#\\('salt' => \\).*#\\1'$(mcookie)'#; \ /Datasources/,/^ \\],/{ \ s#\\('username' => \\)'.*'#\\1'cakephp'#; \ s#\\('database' => \\)'.*'#\\1'cakephp'#; \ diff --git a/overlay/usr/lib/inithooks/firstboot.d/20regen-cakephp-secrets b/overlay/usr/lib/inithooks/firstboot.d/20regen-cakephp-secrets index bf389f0..1aabf30 100755 --- a/overlay/usr/lib/inithooks/firstboot.d/20regen-cakephp-secrets +++ b/overlay/usr/lib/inithooks/firstboot.d/20regen-cakephp-secrets @@ -3,12 +3,12 @@ . /etc/default/inithooks -CONF=/var/www/cakephp/config/app.php -sed -i "s#\\('salt' => \\)'.\\+'#\\1'$(mcookie)'#" $CONF +CONF=/var/www/cakephp/config/app_local.php +sed -i "s#\\('salt' => \\).*#\\1'$(mcookie)'#" $CONF PASSWORD=$(mcookie) sed -i "\ - /Datasources/,/ \\],/{ \ + /Datasources/,/^ \\],/{ \ s#\\('password' => \\)'.*'#\\1'$PASSWORD'# \ }; \ " $CONF From 1a88e4b9c2c7b1050d3b849d2e4915698e231a95 Mon Sep 17 00:00:00 2001 From: Jeremy Davis Date: Wed, 6 May 2020 16:35:23 +1000 Subject: [PATCH 3/3] Update changelog. --- changelog | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/changelog b/changelog index d4160c1..ea87284 100644 --- a/changelog +++ b/changelog @@ -1,14 +1,28 @@ turnkey-cakephp-16.0 (1) turnkey; urgency=low - * Latest upstream version of CakePHP (v4.0.4) + * Latest upstream version of CakePHP - v4.0.7. * Replace turnkey landing page with turnkey-shim injected into cakephp's landing page at build time. + * Explcitly disable TLS<1.2 (i.e. SSLv3, TLSv1, TLSv1.1). (v15.x + TurnKey releases supported TLS 1.2, but could fallback as low as TLSv1). + + * Update SSL/TLS cyphers to provide "Intermediate" browser/client support + (suitable for "General-purpose servers with a variety of clients, + recommended for almost all systems"). As provided by Mozilla via + https://ssl-config.mozilla.org/. + + * Updated all relevant Debian packages to Buster/10 versions; including + PHP 7.3. + + * Updated version of mysqltuner script - now installed as per upstream + recommendation. + * Note: Please refer to turnkey-core's changelog for changes common to all appliances. Here we only describe changes specific to this appliance. - -- Stefan Davis Wed, 11 Mar 2020 13:37:22 +1100 + -- Stefan Davis Wed, 06 May 2020 16:32:58 +1000 turnkey-cakephp-15.1 (1) turnkey; urgency=low