dwarrine5 | 1 Aug 2008 07:41
Picon

SF.net SVN: mantisbt:[5475] trunk/mantisbt/core/filter_api.php

Revision: 5475
          http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5475&view=rev
Author:   dwarrine5
Date:     2008-08-01 05:41:38 +0000 (Fri, 01 Aug 2008)

Log Message:
-----------
Fix for bug #9104. Broken bug count in filter.

Modified Paths:
--------------
    trunk/mantisbt/core/filter_api.php

Modified: trunk/mantisbt/core/filter_api.php
===================================================================
--- trunk/mantisbt/core/filter_api.php	2008-07-31 21:25:41 UTC (rev 5474)
+++ trunk/mantisbt/core/filter_api.php	2008-08-01 05:41:38 UTC (rev 5475)
 <at>  <at>  -325,6 +325,60  <at>  <at> 
     }

 	/**
+     *   <at> param $p_count
+     *   <at> param $p_per_page
+     *   <at> return int
+     */
+    function filter_per_page( $p_filter, $p_count, $p_per_page ) {
+        $p_per_page = ( ( NULL == $p_per_page ) ? (int)$p_filter[ FILTER_PROPERTY_ISSUES_PER_PAGE ] :
$p_per_page );
+        $p_per_page = ( ( 0 == $p_per_page || -1 == $p_per_page ) ? $p_count : $p_per_page );
+
(Continue reading)

prichards | 1 Aug 2008 16:59
Picon

SF.net SVN: mantisbt:[5476] trunk/mantisbt

Revision: 5476
          http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5476&view=rev
Author:   prichards
Date:     2008-08-01 14:59:47 +0000 (Fri, 01 Aug 2008)

Log Message:
-----------
Fix: news on postgres, 
Fix: 0002951: Hide Edit or Delete News when not needed

Modified Paths:
--------------
    trunk/mantisbt/core/news_api.php
    trunk/mantisbt/core/print_api.php
    trunk/mantisbt/news_menu_page.php

Modified: trunk/mantisbt/core/news_api.php
===================================================================
--- trunk/mantisbt/core/news_api.php	2008-08-01 05:41:38 UTC (rev 5475)
+++ trunk/mantisbt/core/news_api.php	2008-08-01 14:59:47 UTC (rev 5476)
 <at>  <at>  -74,7 +74,7  <at>  <at> 
 		db_query_bound( $query, Array( $c_project_id, $c_poster_id, db_now(), db_now(),
 						$c_view_state, $c_announcement, $c_headline, $c_body) ); 

-		$t_news_id = db_insert_id();
+		$t_news_id = db_insert_id( $t_news_table );

 		twitter_news( $t_news_id );

Modified: trunk/mantisbt/core/print_api.php
(Continue reading)

prichards | 1 Aug 2008 19:22
Picon

SF.net SVN: mantisbt:[5477] trunk/mantisbt/core/database_api.php

Revision: 5477
          http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5477&view=rev
Author:   prichards
Date:     2008-08-01 17:22:20 +0000 (Fri, 01 Aug 2008)

Log Message:
-----------
Fix: 0006236: Escaping error in PostgreSQL

Note: this only works for unbound queries atm

Modified Paths:
--------------
    trunk/mantisbt/core/database_api.php

Modified: trunk/mantisbt/core/database_api.php
===================================================================
--- trunk/mantisbt/core/database_api.php	2008-08-01 14:59:47 UTC (rev 5476)
+++ trunk/mantisbt/core/database_api.php	2008-08-01 17:22:20 UTC (rev 5477)
 <at>  <at>  -637,6 +637,7  <at>  <at> 
 	 *  <at> todo Use/Behaviour of this function should be reviewed before 1.2.0 final
 	 */
 	function db_prepare_binary_string( $p_string ) {
+		global $g_db;
 		$t_db_type = config_get_global( 'db_type' );

 		switch( $t_db_type ) {
 <at>  <at>  -646,6 +647,12  <at>  <at> 
 				$content = unpack("H*hex", $p_string);
 				return '0x' . $content['hex'];
(Continue reading)

prichards | 1 Aug 2008 19:39
Picon

SF.net SVN: mantisbt:[5478] trunk/mantisbt

Revision: 5478
          http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5478&view=rev
Author:   prichards
Date:     2008-08-01 17:39:01 +0000 (Fri, 01 Aug 2008)

Log Message:
-----------
0003838: HTML Beautification

Modified Paths:
--------------
    trunk/mantisbt/core/html_api.php
    trunk/mantisbt/login_page.php

Modified: trunk/mantisbt/core/html_api.php
===================================================================
--- trunk/mantisbt/core/html_api.php	2008-08-01 17:22:20 UTC (rev 5477)
+++ trunk/mantisbt/core/html_api.php	2008-08-01 17:39:01 UTC (rev 5478)
 <at>  <at>  -113,7 +113,7  <at>  <at> 
 		html_rss_link();
 		$t_favicon_image = config_get( 'favicon_image' );
 		if ( !is_blank( $t_favicon_image ) ) {
-			echo '<link rel="shortcut icon" href="', helper_mantis_url( $t_favicon_image ), '"
type="image/x-icon" />';
+			echo "\t", '<link rel="shortcut icon" href="', helper_mantis_url( $t_favicon_image ), '"
type="image/x-icon" />', "\n";
 		}
 		html_title( $p_page_title );
 		html_head_javascript();
 <at>  <at>  -517,9 +517,9  <at>  <at> 
(Continue reading)

prichards | 1 Aug 2008 21:34
Picon

SF.net SVN: mantisbt:[5479] trunk/mantisbt/core/custom_field_api.php

Revision: 5479
          http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5479&view=rev
Author:   prichards
Date:     2008-08-01 19:34:00 +0000 (Fri, 01 Aug 2008)

Log Message:
-----------
pgsql fix (checked by daryn)

Modified Paths:
--------------
    trunk/mantisbt/core/custom_field_api.php

Modified: trunk/mantisbt/core/custom_field_api.php
===================================================================
--- trunk/mantisbt/core/custom_field_api.php	2008-08-01 17:39:01 UTC (rev 5478)
+++ trunk/mantisbt/core/custom_field_api.php	2008-08-01 19:34:00 UTC (rev 5479)
 <at>  <at>  -732,7 +732,7  <at>  <at> 
                 # select only the ids that the user has some access to 
                 #  e.g., all fields in public projects, or private projects where the user is listed
                 #    or private projects where the user is implicitly listed
-                $query = "SELECT cft.*
+                $query = "SELECT DISTINCT cft.*
                     FROM $t_custom_field_table as cft, $t_user_table ut, $t_project_table pt,
$t_custom_field_project_table cfpt
                         LEFT JOIN $t_project_user_list_table pult 
                             on cfpt.project_id = pult.project_id and pult.user_id = $t_user_id
 <at>  <at>  -740,7 +740,6  <at>  <at> 
                         ( pt.view_state = $t_pub OR 
                         ( pt.view_state = $t_priv and pult.user_id = $t_user_id ) OR 
(Continue reading)

prichards | 1 Aug 2008 22:44
Picon

SF.net SVN: mantisbt:[5480] trunk/mantisbt/core/compress_api.php

Revision: 5480
          http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5480&view=rev
Author:   prichards
Date:     2008-08-01 20:44:18 +0000 (Fri, 01 Aug 2008)

Log Message:
-----------
Compress api should not require a database connection.

Modified Paths:
--------------
    trunk/mantisbt/core/compress_api.php

Modified: trunk/mantisbt/core/compress_api.php
===================================================================
--- trunk/mantisbt/core/compress_api.php	2008-08-01 19:34:00 UTC (rev 5479)
+++ trunk/mantisbt/core/compress_api.php	2008-08-01 20:44:18 UTC (rev 5480)
 <at>  <at>  -43,8 +43,8  <at>  <at> 
 		# <at>  <at>  <at>  temporarily disable compression when using IIS because of
 		#   issue #2953
 		return ( $g_compression_started &&
-				ON == config_get( 'compress_html' ) &&
-				OFF == config_get( 'use_iis' )  &&
+				ON == config_get_global( 'compress_html' ) &&
+				OFF == config_get_global( 'use_iis' )  &&
 				( 'ob_gzhandler' != ini_get('output_handler') ) &&
 				extension_loaded( 'zlib' ) &&
 				!ini_get('zlib.output_compression') );

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
(Continue reading)

prichards | 2 Aug 2008 00:16
Picon

SF.net SVN: mantisbt:[5481] trunk/mantisbt

Revision: 5481
          http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5481&view=rev
Author:   prichards
Date:     2008-08-01 22:16:09 +0000 (Fri, 01 Aug 2008)

Log Message:
-----------
0008761: compress_handler called before defined

Modified Paths:
--------------
    trunk/mantisbt/core/compress_api.php
    trunk/mantisbt/core.php

Modified: trunk/mantisbt/core/compress_api.php
===================================================================
--- trunk/mantisbt/core/compress_api.php	2008-08-01 20:44:18 UTC (rev 5480)
+++ trunk/mantisbt/core/compress_api.php	2008-08-01 22:16:09 UTC (rev 5481)
 <at>  <at>  -39,12 +39,14  <at>  <at> 
 	# Check if compression should be enabled.
 	function compress_is_enabled() {
 		global $g_compression_started;
+		global $g_compress_html, $g_use_iis;

 		# <at>  <at>  <at>  temporarily disable compression when using IIS because of
 		#   issue #2953
+		# Dont use config_get here so only dependency is on consantinc.php in this module
 		return ( $g_compression_started &&
-				ON == config_get_global( 'compress_html' ) &&
-				OFF == config_get_global( 'use_iis' )  &&
(Continue reading)

prichards | 2 Aug 2008 23:21
Picon

SF.net SVN: mantisbt:[5482] trunk/mantisbt

Revision: 5482
          http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5482&view=rev
Author:   prichards
Date:     2008-08-02 21:20:57 +0000 (Sat, 02 Aug 2008)

Log Message:
-----------
Fix:  0009377: Installation: upgrade_list.php does not exist

Require authenticated administrator access for most of /admin (apart from check.php(todo),
install.php, upgrade_unattended.php

Update test_langs.php with script I use for language files (it's a bit of a hack, but does seem to show up
areas the ordinary test_langs.php misses)

Fix a possible bug in url handling routines, and attempt to update url handling routines to fix redirects
from /admin.

Modified Paths:
--------------
    trunk/mantisbt/admin/copy_field.php
    trunk/mantisbt/admin/db_stats.php
    trunk/mantisbt/admin/index.php
    trunk/mantisbt/admin/move_db2disk.php
    trunk/mantisbt/admin/system_utils.php
    trunk/mantisbt/admin/test_icons.php
    trunk/mantisbt/admin/test_langs.php
    trunk/mantisbt/admin/upgrade_warning.php
    trunk/mantisbt/config_defaults_inc.php
    trunk/mantisbt/core/string_api.php
(Continue reading)

prichards | 3 Aug 2008 00:46
Picon

SF.net SVN: mantisbt:[5483] trunk/mantisbt/admin/test_langs.php

Revision: 5483
          http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5483&view=rev
Author:   prichards
Date:     2008-08-02 22:46:27 +0000 (Sat, 02 Aug 2008)

Log Message:
-----------
update test_langs.php to show undefined constants

Modified Paths:
--------------
    trunk/mantisbt/admin/test_langs.php

Modified: trunk/mantisbt/admin/test_langs.php
===================================================================
--- trunk/mantisbt/admin/test_langs.php	2008-08-02 21:20:57 UTC (rev 5482)
+++ trunk/mantisbt/admin/test_langs.php	2008-08-02 22:46:27 UTC (rev 5483)
 <at>  <at>  -30,7 +30,7  <at>  <at> 
 	if ( function_exists( 'xdebug_disable' ) ) {
 		xdebug_disable();
 	}
-	
+
 	require_once( dirname( dirname( __FILE__ ) ) . DIRECTORY_SEPARATOR . 'core' . DIRECTORY_SEPARATOR .
'constant_inc.php' );

 	if (!defined('T_ML_COMMENT')) {
 <at>  <at>  -58,7 +58,7  <at>  <at> 
 			$t_lang_files[] = $t_lang;
 		}
(Continue reading)

prichards | 3 Aug 2008 00:53
Picon

SF.net SVN: mantisbt:[5484] trunk/mantisbt/lang/strings_french.txt

Revision: 5484
          http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5484&view=rev
Author:   prichards
Date:     2008-08-02 22:53:02 +0000 (Sat, 02 Aug 2008)

Log Message:
-----------
whitespace 

Modified Paths:
--------------
    trunk/mantisbt/lang/strings_french.txt

Modified: trunk/mantisbt/lang/strings_french.txt
===================================================================
--- trunk/mantisbt/lang/strings_french.txt	2008-08-02 22:46:27 UTC (rev 5483)
+++ trunk/mantisbt/lang/strings_french.txt	2008-08-02 22:53:02 UTC (rev 5484)
 <at>  <at>  -1,4 +1,4  <at>  <at> 
-<?php
+<?php
 # Mantis - a php based bugtracking system

 # Copyright (C) 2000 - 2002  Kenzaburo Ito - kenito <at> 300baud.org

This was sent by the SourceForge.net collaborative development platform, the world's largest Open
Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
(Continue reading)


Gmane