Version bump to 1.1.8
authorDan
Sun, 27 Dec 2009 02:27:35 -0500
changeset 1195 449fdd113eb0
parent 1194 70169f572190
child 1196 704ba4b9819b
Version bump to 1.1.8
.hgignore
includes/common.php
install/includes/common.php
install/schemas/upgrade/1.1.7-1.1.8-mysql.sql
install/schemas/upgrade/1.1.7-1.1.8-postgresql.sql
install/upgrade.php
language/english/install.json
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore	Sun Dec 27 02:27:35 2009 -0500
@@ -0,0 +1,5 @@
+\.marks$
+\.php~$
+\.js~$
+\.tpl~$
+\.css~$
--- a/includes/common.php	Sun Dec 27 02:25:29 2009 -0500
+++ b/includes/common.php	Sun Dec 27 02:27:35 2009 -0500
@@ -43,7 +43,7 @@
 // be the expected output of enano_version(), which will always be in the
 // format of 1.0.2, 1.0.2a1, 1.0.2b1, 1.0.2RC1
 // You'll want to change this for custom distributions.
-$version = '1.1.7';
+$version = '1.1.8';
 
 /**
  * Returns a floating-point number with the current UNIX timestamp in microseconds. Defined very early because we gotta call it
--- a/install/includes/common.php	Sun Dec 27 02:25:29 2009 -0500
+++ b/install/includes/common.php	Sun Dec 27 02:27:35 2009 -0500
@@ -15,7 +15,7 @@
 
 // Our version number. This needs to be changed for any custom releases.
 $installer_version = array(
-  'version' => '1.1.7',
+  'version' => '1.1.8',
   'type' => 'beta'
   // If type is set to "rc", "beta", or "alpha", optionally another version number can be issued with the key 'sub':
   // 'sub' => '3' will produce Enano 1.1.1a3 / Enano 1.1.1 alpha 3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/install/schemas/upgrade/1.1.7-1.1.8-mysql.sql	Sun Dec 27 02:27:35 2009 -0500
@@ -0,0 +1,1 @@
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/install/schemas/upgrade/1.1.7-1.1.8-postgresql.sql	Sun Dec 27 02:27:35 2009 -0500
@@ -0,0 +1,1 @@
+
--- a/install/upgrade.php	Sun Dec 27 02:25:29 2009 -0500
+++ b/install/upgrade.php	Sun Dec 27 02:27:35 2009 -0500
@@ -18,12 +18,12 @@
 // The list of versions in THIS AND PREVIOUS branches, in chronological order.
 $enano_versions = array();
 $enano_versions['1.0'] = array('1.0', '1.0.1', '1.0.2b1', '1.0.2', '1.0.3', '1.0.4', '1.0.5', '1.0.6', '1.0.6pl1');
-$enano_versions['1.1'] = array('1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5', '1.1.6', '1.1.7');
+$enano_versions['1.1'] = array('1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5', '1.1.6', '1.1.7', '1.1.8');
 
 // If true, this will do a full langimport instead of only adding new strings.
 // Will probably be left on, but some change probably needs to be made to mark
 // strings as customized in the DB.
-$do_langimport = true;
+$do_langimport = false;
 
 // Turn on every imaginable API hack to make common load on older databases
 define('IN_ENANO_UPGRADE', 1);
@@ -42,6 +42,13 @@
 require_once('includes/common.php');
 @ini_set('display_errors', 'on');
 
+// do langimport if below 1.1.7
+$versions_flipped = array_flip($enano_versions['1.1']);
+if ( !isset($versions_flipped[ enano_version() ]) || $versions_flipped[ enano_version() ] < $versions_flipped['1.1.7'] )
+{
+  $do_langimport = true;
+}
+
 if ( in_array(enano_version(), array('1.1.1', '1.1.2', '1.1.3', '1.1.4', '1.1.5')) || substr(enano_version(), 0, 3) == '1.0' )
   define('ENANO_UPGRADE_USE_AES_PASSWORDS', 1);
 
@@ -153,6 +160,9 @@
     echo $lang->get('upgrade_login_msg_auth_needed_body_level1');
   }
   ?></p>
+  <p>
+  <?php echo $lang->get('upgrade_login_msg_local_auth'); ?>
+  </p>
   <table border="0" cellspacing="0" cellpadding="5" style="margin: 0 auto;">
   <tr>
     <td><?php echo $lang->get('user_login_field_username'); ?>:</td>
--- a/language/english/install.json	Sun Dec 27 02:25:29 2009 -0500
+++ b/language/english/install.json	Sun Dec 27 02:27:35 2009 -0500
@@ -429,6 +429,7 @@
       login_msg_auth_needed_title: 'Authentication needed',
       login_msg_auth_needed_body_level1: 'To continue, you need to log in. Please enter an administrator username and password below.',
       login_msg_auth_needed_body_level2: 'To confirm the upgrade, you need to re-enter your login information. Please enter your username and password below.',
+      login_msg_local_auth: '<b>Note:</b> The upgrade tool doesn\'t recognize any authentication plugins. Even if you use authentication plugins in Enano, you need to enter a local administrator username and password to use this upgrade tool.',
       login_btn_login: 'Log in',
       login_err_failed: 'The following error occurred during the login process: %error_code%.',