From 7faf66c492c038dcbd3dd09d8064ff0b15bb0ee6 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 12 Aug 2014 10:56:20 +0200 Subject: [ticket/12974] Update nightly build version to 3.2.0-a1-dev PHPBB3-12974 --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 0eac2e9417..126cf44842 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.1.0-RC4-dev'); +define('PHPBB_VERSION', '3.2.0-a1-dev'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From 83f45bdac01ceff58d7dfcc3011f65adad7069c9 Mon Sep 17 00:00:00 2001 From: n-aleha Date: Thu, 15 May 2014 09:52:54 +0300 Subject: [ticket/12505] Remove outdated media extensions Update constants and data schema for new installations. Mark outdated media constants as deprecated. PHPBB3-12505 --- phpBB/includes/constants.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 126cf44842..16e249d4a5 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -171,11 +171,11 @@ define('CONFIRM_REPORT', 4); // Categories - Attachments define('ATTACHMENT_CATEGORY_NONE', 0); define('ATTACHMENT_CATEGORY_IMAGE', 1); // Inline Images -define('ATTACHMENT_CATEGORY_WM', 2); // Windows Media Files - Streaming -define('ATTACHMENT_CATEGORY_RM', 3); // Real Media Files - Streaming +define('ATTACHMENT_CATEGORY_WM', 2); // Windows Media Files - Streaming - @deprecated 3.1 +define('ATTACHMENT_CATEGORY_RM', 3); // Real Media Files - Streaming - @deprecated 3.1 define('ATTACHMENT_CATEGORY_THUMB', 4); // Not used within the database, only while displaying posts define('ATTACHMENT_CATEGORY_FLASH', 5); // Flash/SWF files -define('ATTACHMENT_CATEGORY_QUICKTIME', 6); // Quicktime/Mov files +define('ATTACHMENT_CATEGORY_QUICKTIME', 6); // Quicktime/Mov files - @deprecated 3.1 // BBCode UID length define('BBCODE_UID_LEN', 8); -- cgit v1.2.1 From 5cc6370cea882a10c576c4478748b2758150b76b Mon Sep 17 00:00:00 2001 From: n-aleha Date: Sun, 5 Apr 2015 23:51:04 +0300 Subject: [ticket/12505] Set deprecations for constants to 3.2 PHPBB3-12505 --- phpBB/includes/constants.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 16e249d4a5..bd73201290 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -171,11 +171,11 @@ define('CONFIRM_REPORT', 4); // Categories - Attachments define('ATTACHMENT_CATEGORY_NONE', 0); define('ATTACHMENT_CATEGORY_IMAGE', 1); // Inline Images -define('ATTACHMENT_CATEGORY_WM', 2); // Windows Media Files - Streaming - @deprecated 3.1 -define('ATTACHMENT_CATEGORY_RM', 3); // Real Media Files - Streaming - @deprecated 3.1 +define('ATTACHMENT_CATEGORY_WM', 2); // Windows Media Files - Streaming - @deprecated 3.2 +define('ATTACHMENT_CATEGORY_RM', 3); // Real Media Files - Streaming - @deprecated 3.2 define('ATTACHMENT_CATEGORY_THUMB', 4); // Not used within the database, only while displaying posts define('ATTACHMENT_CATEGORY_FLASH', 5); // Flash/SWF files -define('ATTACHMENT_CATEGORY_QUICKTIME', 6); // Quicktime/Mov files - @deprecated 3.1 +define('ATTACHMENT_CATEGORY_QUICKTIME', 6); // Quicktime/Mov files - @deprecated 3.2 // BBCode UID length define('BBCODE_UID_LEN', 8); -- cgit v1.2.1 From 33db26d0cf3161edb7c840c499c94f5b8f14a4e9 Mon Sep 17 00:00:00 2001 From: Mate Bartus Date: Wed, 28 Oct 2015 01:12:52 +0100 Subject: [ticket/14044] global $table_prefix in constants.php PHPBB3-14044 --- phpBB/includes/constants.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index bd73201290..f6d62fcdf4 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -221,6 +221,9 @@ define('CAPTCHA_MAX_CHARS', 7); // Additional constants define('VOTE_CONVERTED', 127); +// BC global FTW +global $table_prefix; + // Table names define('ACL_GROUPS_TABLE', $table_prefix . 'acl_groups'); define('ACL_OPTIONS_TABLE', $table_prefix . 'acl_options'); -- cgit v1.2.1 From f8236cc907ea13a7100571ffa0cd83d877b78ccc Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Wed, 14 Oct 2015 17:10:09 +0200 Subject: [prep-release-3.2.0-a1] Update version to 3.2.0-a1 --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index f6d62fcdf4..551cf1f432 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.2.0-a1-dev'); +define('PHPBB_VERSION', '3.2.0-a1'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From 8a3288e3aa9bdbdd6f2648c841d82edc41147cfd Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 23 Nov 2015 23:20:04 +0100 Subject: [master] Update version to 3.2.0-a2-dev --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 551cf1f432..680d5a2b4e 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.2.0-a1'); +define('PHPBB_VERSION', '3.2.0-a2-dev'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From 2d3e340f1910d93a6d7aa672f26f8dbeb4f74a6d Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 8 Dec 2015 22:14:25 +0100 Subject: [ticket/14349] Suppress output due to duplicate definition in installer PHPBB3-14349 --- phpBB/includes/constants.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 680d5a2b4e..6a0b7d4ccd 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.2.0-a2-dev'); +@define('PHPBB_VERSION', '3.2.0-a2-dev'); // QA-related // define('PHPBB_QA', 1); @@ -235,7 +235,7 @@ define('BANLIST_TABLE', $table_prefix . 'banlist'); define('BBCODES_TABLE', $table_prefix . 'bbcodes'); define('BOOKMARKS_TABLE', $table_prefix . 'bookmarks'); define('BOTS_TABLE', $table_prefix . 'bots'); -define('CONFIG_TABLE', $table_prefix . 'config'); +@define('CONFIG_TABLE', $table_prefix . 'config'); define('CONFIG_TEXT_TABLE', $table_prefix . 'config_text'); define('CONFIRM_TABLE', $table_prefix . 'confirm'); define('DISALLOW_TABLE', $table_prefix . 'disallow'); -- cgit v1.2.1 From 6b09dbe16ce0d5ebad7692cda91a299b81ce9d88 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 14 Dec 2015 22:22:13 +0100 Subject: [prep-release-3.2.0-a2] Update version to 3.2.0-a2 --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 6a0b7d4ccd..b21fdf6b17 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.2.0-a2-dev'); +@define('PHPBB_VERSION', '3.2.0-a2'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From 554b90b59f7c5eb74882b4b73dcbe985dd343f06 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sat, 19 Dec 2015 17:33:53 +0100 Subject: [release-3.2.0-a2] Update version to 3.2.0-a3 --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index b21fdf6b17..8056abef00 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.2.0-a2'); +@define('PHPBB_VERSION', '3.2.0-a3-dev'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From f80ec7e7864d686a4ac392a4c9d100960ddb83c7 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Wed, 3 Feb 2016 21:41:22 +0100 Subject: [prep-release-3.2.0-b1] Update version to 3.2.0-b1 --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 8056abef00..288b5de48d 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.2.0-a3-dev'); +@define('PHPBB_VERSION', '3.2.0-b1'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From dab282e664012a7292f310d52c99c952fc85a7ca Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Fri, 5 Feb 2016 17:12:39 +0100 Subject: [release-3.2.0-b1] Update version to 3.2.0-b2-dev --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 288b5de48d..f2b56cc84b 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.2.0-b1'); +@define('PHPBB_VERSION', '3.2.0-b2-dev'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From 9d7b6260bd1ef0a0a07af7ec5cd2c1955f31a74c Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 7 Mar 2016 17:33:13 +0100 Subject: [release-3.2.0-b2] Update versions to 3.2.0-3-dev --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index f2b56cc84b..3a186fd892 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.2.0-b2-dev'); +@define('PHPBB_VERSION', '3.2.0-b3-dev'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From 46c79bbe901d31e93d321a8de46696d3ac277cd5 Mon Sep 17 00:00:00 2001 From: Jakub Senko Date: Fri, 18 Mar 2016 10:56:14 +0100 Subject: [ticket/9435] Convert bbcode magic numbers to constants PHPBB3-9435 --- phpBB/includes/constants.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 3a186fd892..5c192d9676 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -183,6 +183,21 @@ define('BBCODE_UID_LEN', 8); // Number of core BBCodes define('NUM_CORE_BBCODES', 12); +// BBCode IDs +define('BBCODE_QUOTE_ID', 0); +define('BBCODE_B_ID', 1); +define('BBCODE_I_ID', 2); +define('BBCODE_URL_ID', 3); +define('BBCODE_IMG_ID', 4); +define('BBCODE_SIZE_ID', 5); +define('BBCODE_COLOR_ID', 6); +define('BBCODE_U_ID', 7); +define('BBCODE_CODE_ID', 8); +define('BBCODE_LIST_ID', 9); +define('BBCODE_EMAIL_ID', 10); +define('BBCODE_FLASH_ID', 11); +define('BBCODE_ATTACH_ID', 12); + // BBCode hard limit define('BBCODE_LIMIT', 1511); -- cgit v1.2.1 From 0f7d08c1214bc31936228488895e33f53446277e Mon Sep 17 00:00:00 2001 From: Jakub Senko Date: Fri, 18 Mar 2016 10:58:43 +0100 Subject: [ticket/9435] Add NUM_PREDEFINED_BBCODES constant PHPBB3-9435 --- phpBB/includes/constants.php | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 5c192d9676..28a2e0b166 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -182,6 +182,7 @@ define('BBCODE_UID_LEN', 8); // Number of core BBCodes define('NUM_CORE_BBCODES', 12); +define('NUM_PREDEFINED_BBCODES', 22); // BBCode IDs define('BBCODE_QUOTE_ID', 0); -- cgit v1.2.1 From 15a00131938fd0d1ae151f562f4fc75569db06cc Mon Sep 17 00:00:00 2001 From: Jakub Senko Date: Sat, 19 Mar 2016 17:17:03 +0100 Subject: [ticket/9435] Switch "ID" and BBcode name in constants keys PHPBB3-9435 --- phpBB/includes/constants.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 28a2e0b166..b3792dd8b9 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -185,19 +185,19 @@ define('NUM_CORE_BBCODES', 12); define('NUM_PREDEFINED_BBCODES', 22); // BBCode IDs -define('BBCODE_QUOTE_ID', 0); -define('BBCODE_B_ID', 1); -define('BBCODE_I_ID', 2); -define('BBCODE_URL_ID', 3); -define('BBCODE_IMG_ID', 4); -define('BBCODE_SIZE_ID', 5); -define('BBCODE_COLOR_ID', 6); -define('BBCODE_U_ID', 7); -define('BBCODE_CODE_ID', 8); -define('BBCODE_LIST_ID', 9); -define('BBCODE_EMAIL_ID', 10); -define('BBCODE_FLASH_ID', 11); -define('BBCODE_ATTACH_ID', 12); +define('BBCODE_ID_QUOTE', 0); +define('BBCODE_ID_B', 1); +define('BBCODE_ID_I', 2); +define('BBCODE_ID_URL', 3); +define('BBCODE_ID_IMG', 4); +define('BBCODE_ID_SIZE', 5); +define('BBCODE_ID_COLOR', 6); +define('BBCODE_ID_U', 7); +define('BBCODE_ID_CODE', 8); +define('BBCODE_ID_LIST', 9); +define('BBCODE_ID_EMAIL', 10); +define('BBCODE_ID_FLASH', 11); +define('BBCODE_ID_ATTACH', 12); // BBCode hard limit define('BBCODE_LIMIT', 1511); -- cgit v1.2.1 From 2eb8a97f4739c12d3b0b3026bd1a013f2c54a076 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Fri, 29 Apr 2016 20:21:25 +0200 Subject: [prep-release-3.2.0-RC1] Update version to 3.2.0-RC1 --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index b3792dd8b9..154e4a1e43 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.2.0-b3-dev'); +@define('PHPBB_VERSION', '3.2.0-RC1'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From 37cf178c0c9ed787fd9db8bb33086b72950b8eee Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Mon, 27 Jun 2016 21:58:31 +0200 Subject: [Release 3.2.0-RC1] Update version to 3.2.0-RC2-dev --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 154e4a1e43..38017255b4 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.2.0-RC1'); +@define('PHPBB_VERSION', '3.2.0-RC2-dev'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From 185bda094b9e85505526463747a30bc5bb529666 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Tue, 6 Dec 2016 15:32:48 +0100 Subject: [prep-release-3.2.0-RC2] Update version numbers to 3.2.0-RC2 --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 38017255b4..b281d8cdb5 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.2.0-RC2-dev'); +@define('PHPBB_VERSION', '3.2.0-RC2'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From cff3dbf00e4a83d59398a278e78e1052abf4e08a Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 10 Dec 2016 00:32:41 +0100 Subject: [3.2.x] Update version numbers to 3.2.0-RC3-dev --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index b281d8cdb5..a6a5bf41cb 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.2.0-RC2'); +@define('PHPBB_VERSION', '3.2.0-RC3-dev'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From da8ec61ab2dba1c8bb770932a6983cddbbb1251c Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 7 Jan 2017 11:48:15 +0100 Subject: [prep-release-3.2.0] Update version numbers and add 3.2.0 migration --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index a6a5bf41cb..523f7adc53 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.2.0-RC3-dev'); +@define('PHPBB_VERSION', '3.2.0'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1 From 385feb0a5d21676786884aab0956976505efdf2a Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 7 Jan 2017 17:19:35 +0100 Subject: [3.2.x] Update development version to 3.2.1-dev --- phpBB/includes/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 523f7adc53..440064140c 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.2.0'); +@define('PHPBB_VERSION', '3.2.1-dev'); // QA-related // define('PHPBB_QA', 1); -- cgit v1.2.1