[fusionregistry-commitlog] SF.net SVN: fusionregistry: [18] branches/stable_3_0_x
Brought to you by:
copland007
|
From: SVN c. <fus...@li...> - 2007-06-19 03:42:45
|
Revision: 18
http://fusionregistry.svn.sourceforge.net/fusionregistry/?rev=18&view=rev
Author: copland007
Date: 2007-06-18 20:42:46 -0700 (Mon, 18 Jun 2007)
Log Message:
-----------
Update version number to 3.0.4
Modified Paths:
--------------
branches/stable_3_0_x/fusionregistry_component.xml
branches/stable_3_0_x/ipb_skin-fusionregistry.xml.gz
branches/stable_3_0_x/upload/sources/components_acp/fusionscripts/fusionregistry/ad_registry_loader.php
branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/install/index.php
branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/install/sql/inserts.sql.php
branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/lib/core.php
branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/upgrade/version_history.php
Added Paths:
-----------
branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/upgrade/upgrade_30004/
branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/upgrade/upgrade_30004/version_upgrade.php
Modified: branches/stable_3_0_x/fusionregistry_component.xml
===================================================================
--- branches/stable_3_0_x/fusionregistry_component.xml 2007-06-19 03:34:29 UTC (rev 17)
+++ branches/stable_3_0_x/fusionregistry_component.xml 2007-06-19 03:42:46 UTC (rev 18)
@@ -6,7 +6,7 @@
<com_title>Fusion Registry</com_title>
<com_author>Fusion Scripts</com_author>
<com_url>http://www.fusionscripts.com</com_url>
- <com_version>3.0.3</com_version>
+ <com_version>3.0.4</com_version>
<com_date_added>1181093473</com_date_added>
<com_menu_data><![CDATA[a:7:{i:1;a:5:{s:9:"menu_text";s:13:"Configuration";s:8:"menu_url";s:11:"menu=config";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:6:"config";s:13:"menu_permlang";s:29:"Allow ACCESS to configuration";}i:11;a:5:{s:9:"menu_text";s:13:"Custom Fields";s:8:"menu_url";s:18:"menu=custom_fields";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:13:"custom_fields";s:13:"menu_permlang";s:29:"Allow ACCESS to custom fields";}i:111;a:5:{s:9:"menu_text";s:13:"Rating Fields";s:8:"menu_url";s:18:"menu=rating_fields";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:13:"rating_fields";s:13:"menu_permlang";s:29:"Allow ACCESS to rating fields";}i:1111;a:5:{s:9:"menu_text";s:18:"Makes & Models";s:8:"menu_url";s:17:"menu=makes_models";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:12:"makes_models";s:13:"menu_permlang";s:34:"Allow ACCESS to makes & models";}i:11111;a:5:{s:9:"menu_text";s:23:"Modification Categories";s:8:"menu_url";s:15:"menu=categories";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:10:"categories";s:13:"menu_permlang";s:39:"Allow ACCESS to modification categories";}i:111111;a:5:{s:9:"menu_text";s:11:"Permissions";s:8:"menu_url";s:16:"menu=permissions";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:11:"permissions";s:13:"menu_permlang";s:27:"Allow ACCESS to permissions";}i:1111111;a:5:{s:9:"menu_text";s:5:"Tools";s:8:"menu_url";s:10:"menu=tools";s:13:"menu_redirect";i:0;s:12:"menu_permbit";s:5:"tools";s:13:"menu_permlang";s:21:"Allow ACCESS to tools";}}]]></com_menu_data>
<com_enabled>1</com_enabled>
Modified: branches/stable_3_0_x/ipb_skin-fusionregistry.xml.gz
===================================================================
(Binary files differ)
Modified: branches/stable_3_0_x/upload/sources/components_acp/fusionscripts/fusionregistry/ad_registry_loader.php
===================================================================
--- branches/stable_3_0_x/upload/sources/components_acp/fusionscripts/fusionregistry/ad_registry_loader.php 2007-06-19 03:34:29 UTC (rev 17)
+++ branches/stable_3_0_x/upload/sources/components_acp/fusionscripts/fusionregistry/ad_registry_loader.php 2007-06-19 03:42:46 UTC (rev 18)
@@ -53,8 +53,8 @@
/**#@+ @var string */
var $base_url;
- var $r_version_short = 'v3.0.3';
- var $r_version_long = '30003';
+ var $r_version_short = 'v3.0.4';
+ var $r_version_long = '30004';
/**#@-*/
/** @var object */
Modified: branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/install/index.php
===================================================================
--- branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/install/index.php 2007-06-19 03:34:29 UTC (rev 17)
+++ branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/install/index.php 2007-06-19 03:42:46 UTC (rev 18)
@@ -42,8 +42,8 @@
define( 'INS_ROOT_PATH', '../../../../../' );
define( 'INS_KERNEL_PATH', INS_ROOT_PATH.'ips_kernel/' );
-define( 'FR_VERSION_SHORT', 'v3.0.3' );
-define( 'FR_VERSION_LONG', '30003' );
+define( 'FR_VERSION_SHORT', 'v3.0.4' );
+define( 'FR_VERSION_LONG', '30004' );
require './template.php';
Modified: branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/install/sql/inserts.sql.php
===================================================================
--- branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/install/sql/inserts.sql.php 2007-06-19 03:34:29 UTC (rev 17)
+++ branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/install/sql/inserts.sql.php 2007-06-19 03:42:46 UTC (rev 18)
@@ -2,5 +2,5 @@
INSERT INTO `ibf_registry_config` VALUES ('convert_path', '/usr/bin/convert');
INSERT INTO `ibf_registry_config` VALUES ('convert_options', '-antialias +profile "*"');
INSERT INTO `ibf_registry_config` VALUES ('date_format', 'm-j-y H:i');
-INSERT INTO `ibf_registry_config` VALUES ('version_long', '30003');
-INSERT INTO `ibf_registry_config` VALUES ('version_short', 'v3.0.3');
\ No newline at end of file
+INSERT INTO `ibf_registry_config` VALUES ('version_long', '30004');
+INSERT INTO `ibf_registry_config` VALUES ('version_short', 'v3.0.4');
\ No newline at end of file
Modified: branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/lib/core.php
===================================================================
--- branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/lib/core.php 2007-06-19 03:34:29 UTC (rev 17)
+++ branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/lib/core.php 2007-06-19 03:42:46 UTC (rev 18)
@@ -59,8 +59,8 @@
var $class = "";
/** @var string */
- var $r_version_short = 'v3.0.3';
- var $r_version_long = '30003';
+ var $r_version_short = 'v3.0.4';
+ var $r_version_long = '30004';
var $r_session = "";
/**#@-*/
Added: branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/upgrade/upgrade_30004/version_upgrade.php
===================================================================
--- branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/upgrade/upgrade_30004/version_upgrade.php (rev 0)
+++ branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/upgrade/upgrade_30004/version_upgrade.php 2007-06-19 03:42:46 UTC (rev 18)
@@ -0,0 +1,144 @@
+<?php
+/*-------------------------------------------------------------------------\
+|
+| ========================================================
+| Fusion Registry GPL
+| Copyright (C) 2007 Fusion Scripts
+|
+| This program is free software; you can redistribute it and/or
+| modify it under the terms of the GNU General Public License
+| as published by the Free Software Foundation; either version 2
+| of the License, or (at your option) any later version.
+|
+| This program is distributed in the hope that it will be useful,
+| but WITHOUT ANY WARRANTY; without even the implied warranty of
+| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+| GNU General Public License for more details.
+|
+| You should have received a copy of the GNU General Public License
+| along with this program; if not, write to the Free Software
+| Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+| ========================================================
+|
+| Email: in...@fu...
+| Web-Site: http://www.fusionscripts.com/
+|
+| $Id$
+|
+\-------------------------------------------------------------------------*/
+
+/**
+ * Installation template class
+ *
+ * @package Fusion Registry
+ * @subpackage installer
+ * @version $Id$
+ */
+if ( ! defined( 'IN_IPB' ) )
+{
+ print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
+ exit();
+}
+
+class version_upgrade
+{
+ var $ipsclass;
+ var $instagrade;
+ var $this_version = '30004';
+ var $upgrade_from = '30003';
+ var $base_url = '';
+ var $mod_to_run = '';
+
+
+ /**
+ * Generate the upgrades to happen string
+ */
+ function version_process()
+ {
+ $this->base_url = "index.php?act=kit";
+
+ if ( is_array( $this->instagrade->modules_to_run ) and count( $this->instagrade->modules_to_run ) )
+ {
+ $tmp = array_shift( $this->instagrade->modules_to_run );
+
+ $this->mod_to_run = implode( ', ', $this->instagrade->modules_to_run );
+ }
+
+ if ( ! $this->mod_to_run )
+ {
+ $this->mod_to_run = 'None';
+ }
+ }
+
+
+ /**
+ * Oh how we love to upgrade!
+ */
+ function auto_run()
+ {
+ switch( $this->ipsclass->input['kitact'] )
+ {
+ case 'cleanup':
+ $this->do_cleanup();
+ break;
+
+ default:
+ $this->upgrade_kit_intro();
+ break;
+ }
+ }
+
+
+
+ /**
+ * Only thing we need to do is update the DB version
+ */
+ function do_cleanup()
+ {
+ $executed = 0;
+
+ // Update the database version strings
+ $vers = array( 'version_long' => $this->this_version,
+ 'version_short' => 'v3.0.4' );
+
+ foreach ( $vers as $name => $value )
+ {
+ $db_string = $this->ipsclass->DB->compile_db_update_string( array( 'config_name' => $name,
+ 'config_value' => $value
+ ) );
+
+ $this->ipsclass->DB->query( "UPDATE ".$this->ipsclass->vars['sql_tbl_prefix']."registry_config SET $db_string ".
+ "WHERE config_name='$name'" );
+
+ $executed++;
+ }
+
+
+ // All done
+ $this->instagrade->redirect( "index.php?act=done", "Cleanup complete, $executed queries run...." );
+ }
+
+
+ /**
+ * Print intro
+ */
+ function upgrade_kit_intro()
+ {
+ $this->ipsclass->template->print_header();
+
+ $this->ipsclass->template->contents .= <<<HTML
+This upgrade kit will upgrade you from <b>"{$this->instagrade->version_history[$this->upgrade_from]}"</b> to <b>"{$this->instagrade->version_history[$this->this_version]}"</b>
+<br />
+<br />
+<div align='center'><a href="{$this->base_url}&kitact=cleanup" class='button' style='color: #003366'>Continue >></a></div>
+<br />
+<br />
+<div align='center'>Upgrade kits still to run after this upgrade: {$this->mod_to_run}</div>
+HTML;
+
+ $this->ipsclass->template->output();
+ }
+
+}
+
+?>
\ No newline at end of file
Property changes on: branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/upgrade/upgrade_30004/version_upgrade.php
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Modified: branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/upgrade/version_history.php
===================================================================
--- branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/upgrade/version_history.php 2007-06-19 03:34:29 UTC (rev 17)
+++ branches/stable_3_0_x/upload/sources/components_public/fusionscripts/fusionregistry/upgrade/version_history.php 2007-06-19 03:42:46 UTC (rev 18)
@@ -7,6 +7,7 @@
'30001' => 'Fusion Registry v3.0.1 Final',
'30002' => 'Fusion Registry v3.0.2 Final',
'30003' => 'Fusion Registry v3.0.3',
+ '30004' => 'Fusion Registry v3.0.4',
);
?>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|