Revision: 5900
Author: r.wetzlmayr
Date: Sun Sep 21 07:22:08 2014 UTC
Log: This is Textpattern 4.5.7
https://code.google.com/p/textpattern/source/detail?r=5900
Added:
/development/4.5/textpattern/update/_to_4.5.7.php
/releases/4.5.7/source/textpattern/update/_to_4.5.7.php
Deleted:
/development/4.5/textpattern/update/_to_4.5.6.php
/releases/4.5.7/source/textpattern/update/_to_4.5.6.php
Modified:
/development/4.5/textpattern/update/_update.php
/releases/4.5.7/source/textpattern/index.php
/releases/4.5.7/source/textpattern/update/_update.php
=======================================
--- /dev/null
+++ /development/4.5/textpattern/update/_to_4.5.7.php Sun Sep 21 07:22:08
2014 UTC
@@ -0,0 +1,22 @@
+<?php
+
+ if (!defined('TXP_UPDATE'))
+ {
+ exit("Nothing here. You can't access this file directly.");
+ }
+
+ // Updates comment email length.
+ safe_alter('txp_discuss', "MODIFY email VARCHAR(254) NOT NULL
default ''");
+
+ // Store IPv6 properly in logs.
+ safe_alter('txp_log', "MODIFY ip VARCHAR(45) NOT NULL default ''");
+
+ // Save sections correctly in articles.
+ safe_alter('textpattern', "MODIFY Section VARCHAR(128) NOT NULL
default ''");
+
+ // Ensure all memory-mappable columns have defaults
+ safe_alter('txp_form', "MODIFY `name` VARCHAR(64) NOT NULL default ''");
+ safe_alter('txp_page', "MODIFY `name` VARCHAR(128) NOT NULL default ''");
+ safe_alter('txp_prefs', "MODIFY `prefs_id` INT(11) NOT NULL default '1'");
+ safe_alter('txp_prefs', "MODIFY `name` VARCHAR(255) NOT NULL default ''");
+ safe_alter('txp_section', "MODIFY `name` VARCHAR(128) NOT NULL
default ''");
=======================================
--- /dev/null
+++ /releases/4.5.7/source/textpattern/update/_to_4.5.7.php Sun Sep 21
07:22:08 2014 UTC
@@ -0,0 +1,22 @@
+<?php
+
+ if (!defined('TXP_UPDATE'))
+ {
+ exit("Nothing here. You can't access this file directly.");
+ }
+
+ // Updates comment email length.
+ safe_alter('txp_discuss', "MODIFY email VARCHAR(254) NOT NULL
default ''");
+
+ // Store IPv6 properly in logs.
+ safe_alter('txp_log', "MODIFY ip VARCHAR(45) NOT NULL default ''");
+
+ // Save sections correctly in articles.
+ safe_alter('textpattern', "MODIFY Section VARCHAR(128) NOT NULL
default ''");
+
+ // Ensure all memory-mappable columns have defaults
+ safe_alter('txp_form', "MODIFY `name` VARCHAR(64) NOT NULL default ''");
+ safe_alter('txp_page', "MODIFY `name` VARCHAR(128) NOT NULL default ''");
+ safe_alter('txp_prefs', "MODIFY `prefs_id` INT(11) NOT NULL default '1'");
+ safe_alter('txp_prefs', "MODIFY `name` VARCHAR(255) NOT NULL default ''");
+ safe_alter('txp_section', "MODIFY `name` VARCHAR(128) NOT NULL
default ''");
=======================================
--- /development/4.5/textpattern/update/_to_4.5.6.php Tue May 20 22:52:49
2014 UTC
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
- if (!defined('TXP_UPDATE'))
- {
- exit("Nothing here. You can't access this file directly.");
- }
-
- // Updates comment email length.
- safe_alter('txp_discuss', "MODIFY email VARCHAR(254) NOT NULL
default ''");
-
- // Store IPv6 properly in logs.
- safe_alter('txp_log', "MODIFY ip VARCHAR(45) NOT NULL default ''");
-
- // Save sections correctly in articles.
- safe_alter('textpattern', "MODIFY Section VARCHAR(128) NOT NULL
default ''");
-
- // Ensure all memory-mappable columns have defaults
- safe_alter('txp_form', "MODIFY `name` VARCHAR(64) NOT NULL default ''");
- safe_alter('txp_page', "MODIFY `name` VARCHAR(128) NOT NULL default ''");
- safe_alter('txp_prefs', "MODIFY `prefs_id` INT(11) NOT NULL default '1'");
- safe_alter('txp_prefs', "MODIFY `name` VARCHAR(255) NOT NULL default ''");
- safe_alter('txp_section', "MODIFY `name` VARCHAR(128) NOT NULL
default ''");
=======================================
--- /releases/4.5.7/source/textpattern/update/_to_4.5.6.php Tue May 20
22:52:49 2014 UTC
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-
- if (!defined('TXP_UPDATE'))
- {
- exit("Nothing here. You can't access this file directly.");
- }
-
- // Updates comment email length.
- safe_alter('txp_discuss', "MODIFY email VARCHAR(254) NOT NULL
default ''");
-
- // Store IPv6 properly in logs.
- safe_alter('txp_log', "MODIFY ip VARCHAR(45) NOT NULL default ''");
-
- // Save sections correctly in articles.
- safe_alter('textpattern', "MODIFY Section VARCHAR(128) NOT NULL
default ''");
-
- // Ensure all memory-mappable columns have defaults
- safe_alter('txp_form', "MODIFY `name` VARCHAR(64) NOT NULL default ''");
- safe_alter('txp_page', "MODIFY `name` VARCHAR(128) NOT NULL default ''");
- safe_alter('txp_prefs', "MODIFY `prefs_id` INT(11) NOT NULL default '1'");
- safe_alter('txp_prefs', "MODIFY `name` VARCHAR(255) NOT NULL default ''");
- safe_alter('txp_section', "MODIFY `name` VARCHAR(128) NOT NULL
default ''");
=======================================
--- /development/4.5/textpattern/update/_update.php Fri Dec 6 12:44:29
2013 UTC
+++ /development/4.5/textpattern/update/_update.php Sun Sep 21 07:22:08
2014 UTC
@@ -124,10 +124,10 @@
$dbversion = '4.5.5';
}
- if (version_compare($dbversion, '4.5.6', '<'))
+ if (version_compare($dbversion, '4.5.7', '<'))
{
- if ((include txpath.DS.'update'.DS.'_to_4.5.6.php') !== false)
-;# $dbversion = '4.5.6';
+ if ((include txpath.DS.'update'.DS.'_to_4.5.7.php') !== false)
+;# $dbversion = '4.5.7';
}
// Invite optional third parties to the update experience
=======================================
--- /releases/4.5.7/source/textpattern/index.php Mon Dec 9 14:23:09 2013
UTC
+++ /releases/4.5.7/source/textpattern/index.php Sun Sep 21 07:22:08 2014
UTC
@@ -56,8 +56,8 @@
define("txpinterface", "admin");
- $thisversion = '4.5-dev';
- $txp_using_svn = true; // set false for releases
+ $thisversion = '4.5.7';
+ $txp_using_svn = false; // set false for releases
ob_start(NULL, 2048);
if (!isset($txpcfg['table_prefix']) && !@include './config.php') {
=======================================
--- /releases/4.5.7/source/textpattern/update/_update.php Fri Dec 6
12:44:29 2013 UTC
+++ /releases/4.5.7/source/textpattern/update/_update.php Sun Sep 21
07:22:08 2014 UTC
@@ -124,10 +124,10 @@
$dbversion = '4.5.5';
}
- if (version_compare($dbversion, '4.5.6', '<'))
+ if (version_compare($dbversion, '4.5.7', '<'))
{
- if ((include txpath.DS.'update'.DS.'_to_4.5.6.php') !== false)
-;# $dbversion = '4.5.6';
+ if ((include txpath.DS.'update'.DS.'_to_4.5.7.php') !== false)
+ $dbversion = '4.5.7';
}
// Invite optional third parties to the update experience