From 743d83ef711da031350a8e443eefe4fa2531ea8c Mon Sep 17 00:00:00 2001 From: Noxwizard Date: Sun, 25 Oct 2020 13:29:52 -0500 Subject: [PATCH 1/3] [ticket/16625] Add mbstring to install docs PHPBB3-16625 --- phpBB/docs/INSTALL.html | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/docs/INSTALL.html b/phpBB/docs/INSTALL.html index d196403f62..581a26d2ad 100644 --- a/phpBB/docs/INSTALL.html +++ b/phpBB/docs/INSTALL.html @@ -151,6 +151,7 @@
  • The following PHP modules are required:
  • From c521f1d6a740f703e98e219cc4b7a824d770a6cd Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Wed, 4 Nov 2020 22:09:55 +0100 Subject: [PATCH 2/3] [prep-release-3.3.2] Update version numbers for 3.3.2 --- build/build.xml | 4 ++-- phpBB/includes/constants.php | 2 +- phpBB/install/phpbbcli.php | 2 +- phpBB/install/schemas/schema_data.sql | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/build.xml b/build/build.xml index 8a3e091576..e67dc7dba2 100644 --- a/build/build.xml +++ b/build/build.xml @@ -2,9 +2,9 @@ - + - + diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 3d1a94d7b2..48f70661a0 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -28,7 +28,7 @@ if (!defined('IN_PHPBB')) */ // phpBB Version -@define('PHPBB_VERSION', '3.3.2-RC1'); +@define('PHPBB_VERSION', '3.3.2'); // QA-related // define('PHPBB_QA', 1); diff --git a/phpBB/install/phpbbcli.php b/phpBB/install/phpbbcli.php index d7843b016f..f0f2178fc0 100755 --- a/phpBB/install/phpbbcli.php +++ b/phpBB/install/phpbbcli.php @@ -23,7 +23,7 @@ if (php_sapi_name() !== 'cli') define('IN_PHPBB', true); define('IN_INSTALL', true); define('PHPBB_ENVIRONMENT', 'production'); -define('PHPBB_VERSION', '3.3.2-RC1'); +define('PHPBB_VERSION', '3.3.2'); $phpbb_root_path = __DIR__ . '/../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); diff --git a/phpBB/install/schemas/schema_data.sql b/phpBB/install/schemas/schema_data.sql index 49697348f0..912d84d973 100644 --- a/phpBB/install/schemas/schema_data.sql +++ b/phpBB/install/schemas/schema_data.sql @@ -316,7 +316,7 @@ INSERT INTO phpbb_config (config_name, config_value) VALUES ('update_hashes_lock INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_icons_path', 'images/upload_icons'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('upload_path', 'files'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('use_system_cron', '0'); -INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.3.2-RC1'); +INSERT INTO phpbb_config (config_name, config_value) VALUES ('version', '3.3.2'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_expire_days', '90'); INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_gc', '14400'); From f98653d2c9a6e722baf620275b9c18521f2bad3c Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Wed, 4 Nov 2020 22:11:34 +0100 Subject: [PATCH 3/3] [prep-release-3.3.2] Add migration for 3.3.2 --- phpBB/phpbb/db/migration/data/v33x/v332.php | 37 +++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 phpBB/phpbb/db/migration/data/v33x/v332.php diff --git a/phpBB/phpbb/db/migration/data/v33x/v332.php b/phpBB/phpbb/db/migration/data/v33x/v332.php new file mode 100644 index 0000000000..0348b00791 --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v33x/v332.php @@ -0,0 +1,37 @@ + +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file. +* +*/ + +namespace phpbb\db\migration\data\v33x; + +class v332 extends \phpbb\db\migration\migration +{ + public function effectively_installed() + { + return version_compare($this->config['version'], '3.3.2', '>='); + } + + static public function depends_on() + { + return [ + '\phpbb\db\migration\data\v33x\v332rc1', + '\phpbb\db\migration\data\v32x\v3211', + ]; + } + + public function update_data() + { + return [ + ['config.update', ['version', '3.3.2']], + ]; + } +}