Changesets: MantisBT

master-1.2.x 6d970741

2012-08-10 04:02

Damien Regad


Details Diff
SOAP API: align mci_file_add() with core file_add()

Most importantly, use bind variables (db_query_bound) and remove
deprecated db_prepare_* function calls.

A few other, minor changes were made to ensure mci_file_add() is as
similar as possible as the core file_add(), and the two functions behave
in a consistent way.
mod - api/soap/mc_file_api.php Diff File

master cc33ef81

2012-08-10 04:02

Damien Regad


Details Diff
SOAP API: align mci_file_add() with core file_add()

Most importantly, use bind variables (db_query_bound) and remove
deprecated db_prepare_* function calls.

A few other, minor changes were made to ensure mci_file_add() is as
similar as possible as the core file_add(), and the two functions behave
in a consistent way.
mod - api/soap/mc_file_api.php Diff File

master-2.0.x 8712d62a

2012-08-10 01:21

Paul Richards


Details Diff
trim summary/build string within bugdata class
mod - bug_actiongroup_update_product_build_inc.php Diff File
mod - bug_report.php Diff File
mod - core/classes/MantisBug.class.php Diff File

master-2.0.x e400bf50

2012-08-10 00:49

Paul Richards


Details Diff
move logic to calculate short_path/path out of config defaults and into core.php
mod - config_defaults_inc.php Diff File
mod - core.php Diff File

master-2.0.x 997004b0

2012-08-10 00:35

Paul Richards


Details Diff
email api should use config_get to retrieve $g_path and not the global directly
mod - core/email_api.php Diff File

master-2.0.x 72f8fab5

2012-08-10 00:17

Paul Richards


Details Diff
1) throw exception in both case
2) remove non-required trim
mod - bugnote_add.php Diff File
mod - core/bugnote_api.php Diff File

master-2.0.x 29d33ce4

2012-08-09 23:40

Paul Richards


Details Diff
remove non-required trim statement
mod - core/summary_api.php Diff File

master-2.0.x a47ded26

2012-08-09 23:39

Paul Richards


Details Diff
the project id passed to version_get_id should be for the current bug in the loop as we may pass in ALL_PROJECTS
mod - account_sponsor_page.php Diff File

master-2.0.x 57c49fcf

2012-08-09 22:56

Paul Richards


Details Diff
helper_get_current_project handles the check for project_override internally
mod - bugnote_view_inc.php Diff File

master 06166e53

2012-08-09 22:54

dregad


Details Diff
Documentation: RDBMS support note
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File

master-1.2.x 2fe465b2

2012-08-09 22:54

dregad


Details Diff
Documentation: RDBMS support note
mod - docbook/administration_guide/en/installation.sgml Diff File

master-2.0.x e4e6cc65

2012-08-09 22:36

Paul Richards


Details Diff
remove unused variable
mod - bug_update_page.php Diff File

master-2.0.x 563c882a

2012-08-09 22:26

Paul Richards


Details Diff
fix undefined array error
mod - core/gpc_api.php Diff File

master-2.0.x 925cac33

2012-08-09 22:26

Paul Richards


Details Diff
oops
mod - account_manage_columns_page.php Diff File

master 5a1b0586

2012-08-09 22:06

dregad


Details Diff
Fix 0014574: MSSQL server 2005 as minimum version Affected Issues
0014574
mod - admin/install.php Diff File
mod - docbook/Admin_Guide/en-US/Installation.xml Diff File

master-1.2.x e05334c8

2012-08-09 22:06

dregad


Details Diff
Fix 0014574: MSSQL server 2005 as minimum version Affected Issues
0014574
mod - admin/install.php Diff File
mod - docbook/administration_guide/en/installation.sgml Diff File

master-1.2.x a3432fd9

2012-08-09 08:52

Damien Regad


Details Diff
Move error checking code to beginning of file_add() function
mod - core/file_api.php Diff File

master 45971e9c

2012-08-09 08:52

Damien Regad


Details Diff
Move error checking code to beginning of file_add() function
mod - core/file_api.php Diff File

master 4c4e658d

2012-08-09 08:49

rombert


Details Diff
api soap: correct usage of bugnote_set_view_state

Fixes 0014573: Updating an issue's view state always sets it to private

Conflicts:
tests/soap/IssueNoteTest.php
Affected Issues
0014573
mod - api/soap/mc_issue_api.php Diff File
mod - tests/soap/IssueNoteTest.php Diff File

master-1.2.x 938ce311

2012-08-09 08:47

rombert


Details Diff
api soap: correct usage of bugnote_set_view_state

Fixes 0014573: Updating an issue's view state always sets it to private
Affected Issues
0014573
mod - api/soap/mc_issue_api.php Diff File
mod - tests/soap/IssueNoteTest.php Diff File

master-1.2.x 3008c7f7

2012-08-09 08:36

Damien Regad


Details Diff
Fix encoding of BLOB columns

The db_prepare_binary_string() function was designed for use with
db_query(), and therefore used to surround the binary string to
encode with single quotes.

Use of db_query_bound() with the function's return value would result in
a corrupted attachment because the quotes would be treated as integral
part of the binary data.

MySQL does not require any special encoding (except regular string
processing which is already done by db_query_bound()).

For PostgreSQL, instead of calling pg_escape_bytea() directly, we now
use ADOdb connection's BlobEncode() method.

MSSQL encoding was left as is was (no test platform available).

Based on documentation, Oracle (oci8) should not require any encoding
either, but was not tested either.

Fixes 0012955
Affected Issues
0012955
mod - core/database_api.php Diff File

master c67920ce

2012-08-09 08:36

Damien Regad


Details Diff
Fix encoding of BLOB columns

The db_prepare_binary_string() function was designed for use with
db_query(), and therefore used to surround the binary string to
encode with single quotes.

Use of db_query_bound() with the function's return value would result in
a corrupted attachment because the quotes would be treated as integral
part of the binary data.

MySQL does not require any special encoding (except regular string
processing which is already done by db_query_bound()).

For PostgreSQL, instead of calling pg_escape_bytea() directly, we now
use ADOdb connection's BlobEncode() method.

MSSQL encoding was left as is was (no test platform available).

Based on documentation, Oracle (oci8) should not require any encoding
either, but was not tested either.

Fixes 0012955
mod - core/database_api.php Diff File

master-1.2.x 4f4e69bd

2012-08-09 04:52

Damien Regad


Details Diff
Use bind variables in file_add() function

Use of db_query() in file_add() is causing issues on Oracle due to the
size of literal SQL statements being limited to 2000 chars: error
ORA-01704 occurs when attaching files with DB storage. To avoid the
problem, bind variables must be used.

We now call db_query_bound() instead of db_query(), and file_add() has
been refactored to remove usage of deprecated db_prepare_* functions.

Fixes 0014563
Affected Issues
0014563
mod - core/file_api.php Diff File

master 1a183fe1

2012-08-09 04:52

Damien Regad


Details Diff
Use bind variables in file_add() function

Use of db_query() in file_add() is causing issues on Oracle due to the
size of literal SQL statements being limited to 2000 chars: error
ORA-01704 occurs when attaching files with DB storage. To avoid the
problem, bind variables must be used.

We now call db_query_bound() instead of db_query(), and file_add() has
been refactored to remove usage of deprecated db_prepare_* functions.

Fixes 0014563
Affected Issues
0014563
mod - core/file_api.php Diff File

master-1.2.x e400ed4c

2012-08-09 03:03

siebrand


Details Diff
Localisation updates from http://translatewiki.net.
mod - lang/strings_galician.txt Diff File
mod - lang/strings_korean.txt Diff File
mod - lang/strings_latvian.txt Diff File
mod - lang/strings_serbian.txt Diff File
mod - lang/strings_slovak.txt Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 347 348 349 350 351 352 353 ... 420 ... 490 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last