Victor Boctor | 1 Aug 2005 13:36
Picon

mantisbt/admin install.php,1.16,1.17

Update of /cvsroot/mantisbt/mantisbt/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5856/admin

Modified Files:
	install.php 
Log Message:
Fixed #6054: Bad call to print_test_result in admin/install.php.

Index: install.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/admin/install.php,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- install.php	30 Jul 2005 18:10:40 -0000	1.16
+++ install.php	1 Aug 2005 11:36:49 -0000	1.17
 <at>  <at>  -151,7 +151,7  <at>  <at> 
 				if ( version_compare ( phpversion() , '4.0.6', '>=' ) ) {
 					print_test_result( GOOD );
 				} else {
-					print_test_result( BAD, 'Upgrade the version of PHP to a more recent version' );
+					print_test_result( BAD, true, 'Upgrade the version of PHP to a more recent version' );
 				}
 			} else {
 			 	print_test_result( BAD );
 <at>  <at>  -467,7 +467,7  <at>  <at> 
 		if ( $f_log_queries ) {
 			echo '<tr><td bgcolor="#ffffff" col_span="2"> Database Creation Suppressed, SQL Queries follow <pre>';
 		}
-			
(Continue reading)

Glenn Henshaw | 1 Aug 2005 15:42
Picon

mantisbt manage_config_revert.php,1.1,1.2 manage_config_work_threshold_page.php,1.10,1.11 manage_config_workflow_page.php,1.14,1.15

Update of /cvsroot/mantisbt/mantisbt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4354

Modified Files:
	manage_config_revert.php manage_config_work_threshold_page.php 
	manage_config_workflow_page.php 
Log Message:
fix for 0005932: Manage eMail notification access rigths
  - fixed how the visibility of submit button is calculated
fix for 0006053: How to delete all the "Project Specific Settings" from 
    the "Workflow Thresholds" page ??
  - added delete button
  - fixed selection of values to delete to match access rights

Index: manage_config_revert.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/manage_config_revert.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- manage_config_revert.php	1 May 2005 16:21:46 -0000	1.1
+++ manage_config_revert.php	1 Aug 2005 13:42:55 -0000	1.2
 <at>  <at>  -19,6 +19,7  <at>  <at> 

 	$t_access = true;
 	$t_revert_vars = explode( ',', $f_revert );
+	array_walk( $t_revert_vars, 'trim' );
 	foreach ( $t_revert_vars as $t_revert ) {
 		$t_access &= access_has_project_level( config_get_access( $t_revert ), $f_project_id );
 	}
(Continue reading)

Glenn Henshaw | 1 Aug 2005 15:48
Picon

mantisbt/admin install.php,1.17,1.18 schema.php,1.6,1.7

Update of /cvsroot/mantisbt/mantisbt/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6249/admin

Modified Files:
	install.php schema.php 
Log Message:
fix for 0006021: Mantis installation issues under sql server
  - NOW() -> db_now()
  - quoted string displaying database version query

Index: install.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/admin/install.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- install.php	1 Aug 2005 11:36:49 -0000	1.17
+++ install.php	1 Aug 2005 13:48:26 -0000	1.18
 <at>  <at>  -497,7 +497,7  <at>  <at> 
 		}
 		if ( $f_log_queries ) {
 			# add a query to set the database version
-			echo 'INSERT INTO mantis_config_table ( value, type, access_reqd, config_id, project_id, user_id
) VALUES (' . $lastid . ', 1, 90, \'database_version\', 20, 0 );' . "\r\n";
+			echo 'INSERT INTO mantis_config_table ( value, type, access_reqd, config_id, project_id, user_id
) VALUES (\'' . $lastid . '\', 1, 90, \'database_version\', 20, 0 );' . "\r\n";
 			echo '</pre></br /><p style="color:red">Your database has not been created yet. Please create the
database, then install the tables and data using the information above before proceeding</td></tr>';
 		}

(Continue reading)

Glenn Henshaw | 1 Aug 2005 19:12
Picon

mantisbt/core user_pref_api.php,1.30,1.31

Update of /cvsroot/mantisbt/mantisbt/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1166/core

Modified Files:
	user_pref_api.php 
Log Message:
fix for 0005257: Strange Error-Message: APPLICATION WARNING \#403: 
    Database field 'status' not found
  - thanks to 'skorpi' for the clue

Index: user_pref_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/user_pref_api.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- user_pref_api.php	16 Jul 2005 13:23:35 -0000	1.30
+++ user_pref_api.php	1 Aug 2005 17:12:42 -0000	1.31
 <at>  <at>  -45,32 +45,32  <at>  <at> 
 	# Preference Structure Definition
 	#===================================
 	class UserPreferences {
-		var $default_profile;
-		var $default_project;
-		var $advanced_report;
-		var $advanced_view;
-		var $advanced_update;
-		var $refresh_delay;
-		var $redirect_delay;
-		var $bugnote_order;
(Continue reading)

Glenn Henshaw | 3 Aug 2005 16:20
Picon

mantisbt/admin schema.php,1.7,1.8

Update of /cvsroot/mantisbt/mantisbt/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv376/admin

Modified Files:
	schema.php 
Log Message:
create admin user as unprotected

Index: schema.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/admin/schema.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- schema.php	1 Aug 2005 13:48:26 -0000	1.7
+++ schema.php	3 Aug 2005 14:20:34 -0000	1.8
 <at>  <at>  -339,6 +339,6  <at>  <at> 

 $upgrade[] = Array('InsertData', Array( config_get('mantis_user_table'), 
     "(username, realname, email, password, date_created, last_visit, enabled, protected, access_level,
login_count, lost_password_request_count, failed_login_count, cookie_string) VALUES 
-        ('administrator', '', 'root <at> localhost', '63a9f0ea7bb98050796b649e85481845', " . db_now() . ", " .
db_now() . ", 1, 1, 90, 3, 0, 0, '" . 
+        ('administrator', '', 'root <at> localhost', '63a9f0ea7bb98050796b649e85481845', " . db_now() . ", " .
db_now() . ", 1, 0, 90, 3, 0, 0, '" . 
              md5( mt_rand( 0, mt_getrandmax() ) + mt_rand( 0, mt_getrandmax() ) ) . md5( time() ) . "')" ) );
-?>
\ No newline at end of file
+?>

(Continue reading)

Glenn Henshaw | 3 Aug 2005 17:23
Picon

mantisbt/admin install.php,1.20,1.21

Update of /cvsroot/mantisbt/mantisbt/admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7682/admin

Modified Files:
	install.php 
Log Message:
add user database access test to the post install checks.

Index: install.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/admin/install.php,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- install.php	2 Aug 2005 02:26:06 -0000	1.20
+++ install.php	3 Aug 2005 15:23:20 -0000	1.21
 <at>  <at>  -210,7 +210,7  <at>  <at> 
 			if ( $t_support ) {
 				print_test_result( GOOD );
 			} else {
-				print_test_result( BAD, true, 'database is not supported by PHP' );
+				print_test_result( BAD, true, 'database is not supported by PHP. Check that it has been compiled
into your server.' );
 			}
 	?>
 </tr>
 <at>  <at>  -650,6 +650,86  <at>  <at> 
 <!-- Checking register_globals are off -->
 <?php print_test( 'Checking for register_globals are off for mantis', ! ini_get_bool(
'register_globals' ), false, 'change php.ini to disable register_globals setting' ) ?>
(Continue reading)

Glenn Henshaw | 4 Aug 2005 02:10
Picon

mantisbt/core user_pref_api.php,1.31,1.32

Update of /cvsroot/mantisbt/mantisbt/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31524/core

Modified Files:
	user_pref_api.php 
Log Message:
fix for 0006077: Still uninitialized values in core/user_pref_api.php

Index: user_pref_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/user_pref_api.php,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- user_pref_api.php	1 Aug 2005 17:12:42 -0000	1.31
+++ user_pref_api.php	4 Aug 2005 00:10:35 -0000	1.32
 <at>  <at>  -71,8 +71,8  <at>  <at> 
 		var $email_on_bugnote_min_severity = NULL;
 		var $email_on_status_min_severity = NULL;
 		var $email_on_priority_min_severity = NULL;
-		var $email_bugnote_limit;
-		var $language;
+		var $email_bugnote_limit = NULL;
+		var $language = NULL;

 		function UserPreferences() {
 			$this->default_profile                   	= 0;

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
(Continue reading)

Glenn Henshaw | 4 Aug 2005 18:59
Picon

mantisbt bug_actiongroup_page.php,1.51,1.52

Update of /cvsroot/mantisbt/mantisbt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24546

Modified Files:
	bug_actiongroup_page.php 
Log Message:
fix for 0006078: Assigning bugs via group action not working properly
  - list should be based on 'handle_bug_threshold' (default)

Index: bug_actiongroup_page.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/bug_actiongroup_page.php,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- bug_actiongroup_page.php	16 Jun 2005 02:26:48 -0000	1.51
+++ bug_actiongroup_page.php	4 Aug 2005 16:59:39 -0000	1.52
 <at>  <at>  -207,10 +207,7  <at>  <at> 
 					print_project_option_list( null, false );
 					break;
 				case 'ASSIGN':
-					$t_new_status = ( ON == config_get( 'auto_set_status_to_assigned' ) ) ? config_get(
'bug_assigned_status' ) : NEW_;
-					$t_assign_threshold = access_get_status_threshold( $t_new_status, $t_project_id );
-					# threshold is correct if auto_set_status_to_assigned is set, false thresholds will be caught
when the bug is assigned
-					print_assign_to_option_list( 0, $t_project_id, $t_assign_threshold);
+					print_assign_to_option_list( 0, $t_project_id );
 					break;
 				case 'VIEW_STATUS':
(Continue reading)

Glenn Henshaw | 4 Aug 2005 21:54
Picon

mantisbt/core constant_inc.php,1.51,1.52

Update of /cvsroot/mantisbt/mantisbt/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31265/core

Modified Files:
	constant_inc.php 
Log Message:
0005786: Strange behaviour when applying filter
  - parse and upgrade saved filters if possible, ones older
     than the current version were being rejected

Index: constant_inc.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/constant_inc.php,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- constant_inc.php	3 Jul 2005 15:09:11 -0000	1.51
+++ constant_inc.php	4 Aug 2005 19:54:03 -0000	1.52
 <at>  <at>  -278,6 +278,7  <at>  <at> 

 	# ERROR_FILTER_NOT_FOUND
 	define( 'ERROR_FILTER_NOT_FOUND', 2000 );
+	define( 'ERROR_FILTER_TOO_OLD', 2001 );

 	# Status Legend Position
 	define( 'STATUS_LEGEND_POSITION_TOP',		1);

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
(Continue reading)

Glenn Henshaw | 4 Aug 2005 21:54
Picon

mantisbt/lang strings_english.txt,1.265,1.266

Update of /cvsroot/mantisbt/mantisbt/lang
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31265/lang

Modified Files:
	strings_english.txt 
Log Message:
0005786: Strange behaviour when applying filter
  - parse and upgrade saved filters if possible, ones older
     than the current version were being rejected

Index: strings_english.txt
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/lang/strings_english.txt,v
retrieving revision 1.265
retrieving revision 1.266
diff -u -d -r1.265 -r1.266
--- strings_english.txt	25 Jul 2005 11:55:36 -0000	1.265
+++ strings_english.txt	4 Aug 2005 19:54:02 -0000	1.266
 <at>  <at>  -208,6 +208,7  <at>  <at> 
 $MANTIS_ERROR[ERROR_GPC_NOT_NUMBER] = 'A number was expected for %s.';
 $MANTIS_ERROR[ERROR_BUG_NOT_FOUND]	 = 'Issue %d not found.';
 $MANTIS_ERROR[ERROR_FILTER_NOT_FOUND]	 = 'Filter %d not found.';
+$MANTIS_ERROR[ERROR_FILTER_TOO_OLD] = 'The filter you are trying to use is too old to be upgraded,
please re-create it';
 $MANTIS_ERROR[ERROR_EMAIL_INVALID]	 = 'Invalid email.';
 $MANTIS_ERROR[ERROR_USER_PROFILE_NOT_FOUND] = 'Profile not found.';
 $MANTIS_ERROR[ERROR_FILE_NOT_ALLOWED]	 = 'File type not allowed for uploads.';

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
(Continue reading)


Gmane