Changesets: MantisBT

master-1.2.x b8d4b503

2012-05-24 05:21

dregad


Details Diff
Fix PostgreSQL errors with boolean fields

PostgreSQL triggers an error when comparing a boolean field with an
integer value. This happens frequently in MantisBT as AdoDB stores
boolean fields as integers for most RDBMS.

This could prevent for example manage_user_page.php from loading.

To fix the problem, db_prepare_bool() has been modified to return 'true'
or 'false' as appropriate when the DB is PostgreSQL, through use of
AdoDB qstr() function. Behavior for other RDMBS is unchanged.

The where clause condition in manage_user_page.php has been modified to
use db_prepare_bool() instead of hardcoding 'enabled = 1'.

Following code cleanup was also performed:
- Uses of db_prepare_bool() in filter_api.php and mc_api.php that
would have caused incorrect behavior with the modified function have
been removed
- Removed non-existant 2nd parameter in call to db_prepare_bool() in
filter_api.php
- Fix whitespace in mc_api.php

Fixes 0014288
Affected Issues
0014288, 0014385
mod - api/soap/mc_api.php Diff File
mod - core/database_api.php Diff File
mod - core/filter_api.php Diff File
mod - manage_user_page.php Diff File

master-1.2.x 75b29315

2012-05-22 06:20

dregad


Details Diff
Added publican build dir to .gitignore

This is to avoid accidental commit of publican build files when
switching back to 1.2.x branch after building the documentation in the
master branch.
mod - .gitignore Diff File

master 70b553c6

2012-05-22 04:05

dregad


Details Diff
Documentation: Admin Guide / revised Backups section

Fixes 0014285
Affected Issues
0014285
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File

master-1.2.x c1721086

2012-05-22 04:05

dregad


Details Diff
Documentation: Admin Guide / revised Backups section

Fixes 0014285
Affected Issues
0014285
mod - docbook/adminguide/en/installation.sgml Diff File

master 6025fdc3

2012-05-22 03:31

dregad


Details Diff
Documentation: Admin Guide / revised requirements section

System requirement information was spread out in several sections. This
commit consolidates this into a single section, integrated into the
Installation chapter.

Fixes 0014285
Affected Issues
0014285
mod - docbook/Admin_Guide/en-US/About.xml Diff File
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File

master-1.2.x 6df24507

2012-05-22 03:31

dregad


Details Diff
Documentation: Admin Guide / revised requirements section

System requirement information was spread out in several sections. This
commit consolidates this into a single section, integrated into the
Installation chapter.

Fixes 0014285
Affected Issues
0014285
mod - docbook/adminguide/en/about.sgml Diff File
mod - docbook/adminguide/en/installation.sgml Diff File

master d598542e

2012-05-21 04:22

dregad


Details Diff
Documentation: revised Admin Guide / Workflow
mod - docbook/Admin_Guide/en-US/Workflow.xml Diff File

master 79c7bd5f

2012-05-21 04:22

dregad


Details Diff
Documentation: revised Admin Guide / Custom Status

Fixed layout of 'programlisting' sections, introducing newlines to make
code more clear and readable. Improved definition of translations for
custom statuses.

Fixes 0014279
Affected Issues
0014279
mod - docbook/Admin_Guide/en-US/Customizing.xml Diff File

master-1.2.x c712de9e

2012-05-21 04:22

dregad


Details Diff
Documentation: revised Admin Guide / Workflow
mod - docbook/adminguide/en/workflow.sgml Diff File

master-1.2.x 444db8d7

2012-05-21 04:22

dregad


Details Diff
Documentation: revised Admin Guide / Custom Status

Fixed layout of 'programlisting' sections, introducing newlines to make
code more clear and readable. Improved definition of translations for
custom statuses.

Fixes 0014279
Affected Issues
0014279
mod - docbook/adminguide/en/customizing_mantis.sgml Diff File

master-1.2.x d1165180

2012-05-20 00:10

siebrand


Details Diff
Localisation updates from http://translatewiki.net.
mod - lang/strings_german.txt Diff File
mod - lang/strings_serbian.txt Diff File
mod - lang/strings_serbian_latin.txt Diff File

master ce6d92de

2012-05-18 07:19

dregad


Details Diff
Remove unnecessary use of array_reverse() to display bug revisions

Prior to this commit, in bug_revision_view_page.php the array returned
by functions bug_revision_list() and bug_revision_like() was
sytematically reversed by calling array_reverse().

Since these 2 functions are not used anywhere else, it is more efficient
to modify the SQL so that the functions sort the list as it should be
right from the start, thus avoiding the calls to array_reverse().

Note that the ORDER BY clause has been changed from 'timestamp' to 'id',
this guarantees correct display order in case the timestamps are equal
since by definition the id is a sequential number increased with each
revision as it is recorded.

Fixes 0014273
Affected Issues
0014273
mod - bug_revision_view_page.php Diff File
mod - core/bug_revision_api.php Diff File

master-1.2.x c08e6531

2012-05-18 07:19

dregad


Details Diff
Remove unnecessary use of array_reverse() to display bug revisions

Prior to this commit, in bug_revision_view_page.php the array returned
by functions bug_revision_list() and bug_revision_like() was
sytematically reversed by calling array_reverse().

Since these 2 functions are not used anywhere else, it is more efficient
to modify the SQL so that the functions sort the list as it should be
right from the start, thus avoiding the calls to array_reverse().

Note that the ORDER BY clause has been changed from 'timestamp' to 'id',
this guarantees correct display order in case the timestamps are equal
since by definition the id is a sequential number increased with each
revision as it is recorded.

Fixes 0014273
Affected Issues
0014273
mod - bug_revision_view_page.php Diff File
mod - core/bug_revision_api.php Diff File

master d12e5e9b

2012-05-18 05:51

dregad


Details Diff
Record reporter+submitted date in extended info first revision history

When updating any of the "extended info" fields (Description, Steps To
Reproduce, Additional Information), the history of modifications is
saved in the mantis_bug_revision_table. When the first change is made
since issue creation, an additional, "initial" revision record is
created to keep track of the original value.

Prior to this, the record was saved with incorrect author and timestamp
information: current user and date of modification, instead of the bug's
reporter and date of submission.

Fixes 0014272
Affected Issues
0014272
mod - core/bug_api.php Diff File

master-1.2.x 8092900c

2012-05-18 05:51

dregad


Details Diff
Record reporter+submitted date in extended info first revision history

When updating any of the "extended info" fields (Description, Steps To
Reproduce, Additional Information), the history of modifications is
saved in the mantis_bug_revision_table. When the first change is made
since issue creation, an additional, "initial" revision record is
created to keep track of the original value.

Prior to this, the record was saved with incorrect author and timestamp
information: current user and date of modification, instead of the bug's
reporter and date of submission.

Fixes 0014272
Affected Issues
0014272
mod - core/bug_api.php Diff File

master-2.0.x 9e13b3b0

2012-05-13 04:04

Paul Richards


Details Diff
Use zeta components mailer over phpmailer
mod - config_defaults_inc.php Diff File
mod - core/config_api.php Diff File
mod - core/email_api.php Diff File
mod - core/obsolete.php Diff File
mod - lang/strings_arabic.txt Diff File
mod - lang/strings_arabicegyptianspoken.txt Diff File
mod - lang/strings_catalan.txt Diff File
mod - lang/strings_english.txt Diff File
mod - library/README.libs Diff File
rm - library/phpmailer/ChangeLog.txt Diff
rm - library/phpmailer/LICENSE Diff
rm - library/phpmailer/README Diff
rm - library/phpmailer/class.phpmailer.php Diff
rm - library/phpmailer/class.pop3.php Diff
rm - library/phpmailer/class.smtp.php Diff
rm - library/phpmailer/index.html Diff
rm - library/phpmailer/language/phpmailer.lang-ar.php Diff
rm - library/phpmailer/language/phpmailer.lang-br.php Diff
rm - library/phpmailer/language/phpmailer.lang-ca.php Diff
rm - library/phpmailer/language/phpmailer.lang-ch.php Diff
rm - library/phpmailer/language/phpmailer.lang-cz.php Diff
rm - library/phpmailer/language/phpmailer.lang-de.php Diff
rm - library/phpmailer/language/phpmailer.lang-dk.php Diff
rm - library/phpmailer/language/phpmailer.lang-es.php Diff
rm - library/phpmailer/language/phpmailer.lang-et.php Diff
rm - library/phpmailer/language/phpmailer.lang-fi.php Diff
rm - library/phpmailer/language/phpmailer.lang-fo.php Diff
rm - library/phpmailer/language/phpmailer.lang-fr.php Diff
rm - library/phpmailer/language/phpmailer.lang-hu.php Diff
rm - library/phpmailer/language/phpmailer.lang-it.php Diff
rm - library/phpmailer/language/phpmailer.lang-ja.php Diff
rm - library/phpmailer/language/phpmailer.lang-nl.php Diff
rm - library/phpmailer/language/phpmailer.lang-no.php Diff
rm - library/phpmailer/language/phpmailer.lang-pl.php Diff
rm - library/phpmailer/language/phpmailer.lang-ro.php Diff
rm - library/phpmailer/language/phpmailer.lang-ru.php Diff
rm - library/phpmailer/language/phpmailer.lang-se.php Diff
rm - library/phpmailer/language/phpmailer.lang-tr.php Diff
rm - library/phpmailer/language/phpmailer.lang-zh.php Diff
rm - library/phpmailer/language/phpmailer.lang-zh_cn.php Diff
rm - library/phpmailer/readme_mantis.txt Diff

master-2.0.x ad01c412

2012-05-12 13:15

Paul Richards


Details Diff
use bugobject
mod - core/email_api.php Diff File

master 23f1bffc

2012-05-12 07:38

Paul Richards


Details Diff
php 5.4 fixes the slow performance on windows so update crypto api and add a check accordingly
mod - admin/check/check_php_inc.php Diff File
mod - core/crypto_api.php Diff File

master-1.2.x dfe379c3

2012-05-12 07:35

siebrand


Details Diff
Localisation updates from http://translatewiki.net.
mod - lang/strings_chinese_simplified.txt Diff File
mod - lang/strings_dutch.txt Diff File
mod - lang/strings_french.txt Diff File
mod - lang/strings_galician.txt Diff File
mod - lang/strings_german.txt Diff File
mod - lang/strings_hebrew.txt Diff File
mod - lang/strings_interlingua.txt Diff File
mod - lang/strings_italian.txt Diff File
mod - lang/strings_japanese.txt Diff File
mod - lang/strings_macedonian.txt Diff File
mod - lang/strings_polish.txt Diff File
mod - lang/strings_russian.txt Diff File
mod - lang/strings_spanish.txt Diff File

master-2.0.x 3032589c

2012-05-12 04:38

Paul Richards


Details Diff
php 5.4 fixes the slow performance on windows so update crypto api and add a check accordingly
mod - admin/check/check_php_inc.php Diff File
mod - core/crypto_api.php Diff File

master-2.0.x 4bf09fcd

2012-05-11 16:53

Paul Richards


Details Diff
fix variable name
mod - core/http_api.php Diff File

master-2.0.x 86eed75d

2012-05-11 16:34

Paul Richards


Details Diff
Simplify configuration of last visited feature
mod - config_defaults_inc.php Diff File
mod - core/last_visited_api.php Diff File
mod - core/obsolete.php Diff File
mod - core/print_api.php Diff File

master-2.0.x 173b8427

2012-05-11 08:57

Paul Richards


Details Diff
typo
mod - core/authentication_api.php Diff File

master-2.0.x 123d98ed

2012-05-11 08:01

Paul Richards


Details Diff
remove custom_field_edit_after_create - kinda pointless config variable for the number of times it'll get used
mod - config_defaults_inc.php Diff File
mod - core/obsolete.php Diff File
mod - manage/custom_field_create.php Diff File
mod - manage/user_edit_page.php Diff File

master c7e395f8

2012-05-11 05:01

Damien Regad


Details Diff
Fix 0013304: Error handler causes XML Parsing Errors

The standard error handler was generating invalid HTML, due to not
outputting previously issued page headers.

To fix this issue, we retrieve the output buffer's contents, and retain
all html up to the </head> tag (not included).

A few layout changes were applied as well, to make better use of
screen real estate so that the error page is easier to read, especially
when $g_show_detailed_errors is ON.
mod - core/error_api.php Diff File
mod - css/default.css Diff File
 First  Prev  1 2 3 ... 80 ... 160 ... 240 ... 320 ... 388 389 390 391 392 393 394 ... 400 ... 480 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last