Prep the 1.2.4 release with: 1.2.4
authorRobert Sesek <rsesek@bluestatic.org>
Fri, 27 Nov 2009 03:14:32 +0000 (22:14 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Fri, 27 Nov 2009 03:14:32 +0000 (22:14 -0500)
* Changelog
* version.php bump
* Adding the upgrade script

docs/changes.txt
includes/version.php
install/global.php
install/templates/1.2.3 - 1.2.4.diff [new file with mode: 0644]
install/upgrade19.php [new file with mode: 0644]

index c29b21566c398a15894d3cb8dc53968ba6cd4d6e..69599444a640158cabda29151f167d84894b1d88 100644 (file)
@@ -1,3 +1,7 @@
+1.2.4
+===============================
+- Fixed: #185: Quotes are unsanitized in search queries
+
 1.2.3
 ===============================
 - Fixed: #121: Custom select field that is mandatory doesn't accept the first option as a valid entry
index e8818eca21f0fd4e1b47ae98fb540a3e0549d92a..bd2cfdaf3980e9e13acde32c8bcaf8b5c0a012e1 100644 (file)
@@ -21,7 +21,7 @@
 
 if (!defined('BUGDAR_VERSION'))
 {
-       define('BUGDAR_VERSION', '1.2.3');
+       define('BUGDAR_VERSION', '1.2.4');
 }
 
 /*=====================================================================*
index 8b196a7ef6e628ed856ddb85cbc751aabf6a63f8..796aaf09e88ca21f9fc72f549ed168e365d45005 100644 (file)
@@ -101,7 +101,8 @@ $bugsys->versions = array(
        '1.2.0'                                         => 16,
        '1.2.1'                                         => 17,
        '1.2.2'                                         => 18,
-       '1.2.3'                                         => -1
+       '1.2.3'                                         => 19,
+       '1.2.4'                                         => -1,
 );
 
 // ###################################################################
diff --git a/install/templates/1.2.3 - 1.2.4.diff b/install/templates/1.2.3 - 1.2.4.diff
new file mode 100644 (file)
index 0000000..23ee880
--- /dev/null
@@ -0,0 +1 @@
+## none ##
\ No newline at end of file
diff --git a/install/upgrade19.php b/install/upgrade19.php
new file mode 100644 (file)
index 0000000..165b1af
--- /dev/null
@@ -0,0 +1,67 @@
+<?php
+/*=====================================================================*\
+|| ###################################################################
+|| # Bugdar
+|| # Copyright (c)2009 Blue Static
+|| #
+|| # 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; version 2 of the License.
+|| #
+|| # 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
+|| ###################################################################
+\*=====================================================================*/
+
+define('STOP_MARK', 1);
+define('ACTIVE_SITE', 'upgrade19.php');
+
+require_once('./global.php');
+require_once('./includes/functions_datastore.php');
+
+page_start();
+
+// ###################################################################
+
+if ($bugsys->in['mark'] == 0)
+{
+?>
+<h1>Welcome to Bugdar</h1>
+
+<p>This upgrade will take from Bugdar 1.2.3 to Bugdar 1.2.4.</p>
+
+<p>To begin the process, please click the button below.</p>
+<?php
+}
+
+// ###################################################################
+
+if ($bugsys->in['mark'] == 1)
+{
+?>
+<h1>Version Number Change</h1>
+
+<p>This step finishes the upgrade by inreasing your version number.</p>
+
+<?php
+       
+       $db->query("UPDATE " . TABLE_PREFIX . "setting SET value = '1.2.4' WHERE varname = 'trackerversion'");
+       
+       build_settings();
+       
+?>
+
+... done.
+
+<?php
+}
+
+// ###################################################################
+
+page_end();