Changesets: MantisBT

master-1.2.x 26c592a4

2012-12-08 18:47:55

siebrand

Details Diff
Localisation updates from http://translatewiki.net.
Attach Issues:
mod - lang/strings_korean.txt Diff File
mod - lang/strings_portuguese_standard.txt Diff File

master-1.2.x 5cfca00c

2012-12-06 16:13:44

dregad

Details Diff
Cache obsolete custom field names

If a custom field name changed, custom_field_get_id_from_name() keeps
asking the database for an id over and over again (e.g. for every
change of the field in the bug history) to decide if it should be
displayed.

Thanks to user nimmich for noticing the issue and providing a patch.

Fixes 0015265
Affected Issues
0015265
mod - core/custom_field_api.php Diff File

master d7316184

2012-12-06 16:13:44

dregad

Details Diff
Cache obsolete custom field names

If a custom field name changed, custom_field_get_id_from_name() keeps
asking the database for an id over and over again (e.g. for every
change of the field in the bug history) to decide if it should be
displayed.

Thanks to user nimmich for noticing the issue and providing a patch.

Fixes 0015265
Affected Issues
0015265
mod - core/custom_field_api.php Diff File

master-1.2.x 8c9038f7

2012-12-06 15:57:09

dregad

Details Diff
Fix custom_field_get_id_from_name() always returning false

Commit 6a7db3403d42cf58e8c5ebb50b60a7c090906c36 introduced an error in
the call to db_query_bound(), passing the param as a scalar value
instead of an array.

Thanks to user nimmich for noticing the issue and providing a patch.

Fixes 0015264
Affected Issues
0015264
mod - core/custom_field_api.php Diff File

master d0807051

2012-12-06 15:57:09

dregad

Details Diff
Fix custom_field_get_id_from_name() always returning false

Commit 6a7db3403d42cf58e8c5ebb50b60a7c090906c36 introduced an error in
the call to db_query_bound(), passing the param as a scalar value
instead of an array.

Thanks to user nimmich for noticing the issue and providing a patch.

Fixes 0015264
Affected Issues
0015264
mod - core/custom_field_api.php Diff File

master-1.2.x c8813734

2012-12-06 08:39:48

dregad

Details Diff
Prevent reporters from changing issue status to 'new'

Due to a missing access level check in html_button_bug_update(), in some
cases reporters had access to the 'Change Status To' button, which could
let them change an existing issue's status to 'new' (even if not their
own issue).

The code now checks that the user has at least 'update_bug_threshold'
permissions to display the button.

Fixes 0015258
Affected Issues
0015258
mod - core/html_api.php Diff File

master 53282ac6

2012-12-06 08:39:48

dregad

Details Diff
Prevent reporters from changing issue status to 'new'

Due to a missing access level check in html_button_bug_update(), in some
cases reporters had access to the 'Change Status To' button, which could
let them change an existing issue's status to 'new' (even if not their
own issue).

The code now checks that the user has at least 'update_bug_threshold'
permissions to display the button.

Fixes 0015258
Affected Issues
0015258
mod - core/html_api.php Diff File

master-1.2.x 179bfc01

2012-12-06 08:33:32

dregad

Details Diff
access_get_status_threshold() returns incorrect value for NEW

When the user's access level is below $g_update_bug_status_threshold and
the status to change to is NEW, the function returned the incorrect
access level, preventing user from accessing the target status when
updating bugs, even though the workflow permits it.

This commit fixes the problem by introducing special handling for NEW
status ('bug_submit_status'), in which case the function returns
'report_bug_threshold' otherwise it falls back to default
'update_bug_status_threshold'.

Fixes 0015260, affects issue 0015258
Affected Issues
0015258, 0015260
mod - core/access_api.php Diff File

master 53844e36

2012-12-06 08:33:32

dregad

Details Diff
access_get_status_threshold() returns incorrect value for NEW

When the user's access level is below $g_update_bug_status_threshold and
the status to change to is NEW, the function returned the incorrect
access level, preventing user from accessing the target status when
updating bugs, even though the workflow permits it.

This commit fixes the problem by introducing special handling for NEW
status ('bug_submit_status'), in which case the function returns
'report_bug_threshold' otherwise it falls back to default
'update_bug_status_threshold'.

Fixes 0015260, affects issue 0015258
Affected Issues
0015258, 0015260
mod - core/access_api.php Diff File

master-1.2.x 1dcb3a95

2012-12-04 15:09:04

dregad

Details Diff
Fix inconsistent use of numeric vs text month in date filter

The selection list now uses full-text months consistently across the
filter page

Fixes 0015257
Affected Issues
0015257
mod - core/date_api.php Diff File

master 0a78482c

2012-12-04 15:09:04

dregad

Details Diff
Fix inconsistent use of numeric vs text month in date filter

The selection list now uses full-text months consistently across the
filter page

Fixes 0015257
Affected Issues
0015257
mod - core/date_api.php Diff File

master-1.2.x e30887f9

2012-12-04 14:58:41

dregad

Details Diff
Enable filter date fields by default when $g_use_javascript = OFF

With javascript disabled, when ticking 'use date filters' checkbox in
view issues page, the associated selection fields to pick the date
criteria remain disabled, preventing date filtering.

The code now detects the state of $g_use_javascript and sets the
'disabled' state of the date selection fields accordingly.

Also removes 'Undefined variables' system notices.

Fixes 0015255
Affected Issues
0015255
mod - core/filter_api.php Diff File

master efbfd052

2012-12-04 14:58:41

dregad

Details Diff
Enable filter date fields by default when $g_use_javascript = OFF

With javascript disabled, when ticking 'use date filters' checkbox in
view issues page, the associated selection fields to pick the date
criteria remain disabled, preventing date filtering.

The code now detects the state of $g_use_javascript and sets the
'disabled' state of the date selection fields accordingly.

Also removes 'Undefined variables' system notices.

Fixes 0015255
Affected Issues
0015255
mod - core/filter_api.php Diff File

master-1.2.x deb45ecd

2012-12-01 19:42:42

siebrand

Details Diff
Localisation updates from http://translatewiki.net.
Attach Issues:
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_galician.txt Diff File
mod - lang/strings_greek.txt Diff File
mod - lang/strings_korean.txt Diff File
mod - lang/strings_portuguese_standard.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - lang/strings_swedish.txt Diff File
add - plugins/MantisCoreFormatting/lang/strings_ukrainian.txt Diff File

master-1.2.x 2ef9935a

2012-12-01 11:08:17

dregad

Details Diff
Remove unnecessary assignment

Commit 361089d2a2f8b85e178de315046916ea26836e92 omitted to remove the
old default value for $g_set_status_threshold.
Attach Issues:
mod - config_defaults_inc.php Diff File

master-1.2.x 0737f330

2012-11-29 10:15:21

dregad

Details Diff
Make email_send_all() send older queued messages first

To achieve this, a new optional parameter was added to function
email_queue_get_ids() to specify the desired sort order (defaults to
'DESC' to ensure no change in behavior).

email_send_all() now retrieves the list of emails to send in ascending
order.

Fixes 0015248
Affected Issues
0015248
mod - core/email_api.php Diff File
mod - core/email_queue_api.php Diff File

master 17858aee

2012-11-29 10:15:21

dregad

Details Diff
Make email_send_all() send older queued messages first

To achieve this, a new optional parameter was added to function
email_queue_get_ids() to specify the desired sort order (defaults to
'DESC' to ensure no change in behavior).

email_send_all() now retrieves the list of emails to send in ascending
order.

Fixes 0015248
Affected Issues
0015248
mod - core/email_api.php Diff File
mod - core/email_queue_api.php Diff File

master-1.2.x 3be57b7b

2012-11-29 10:15:02

dregad

Details Diff
Reworded PHPdoc email_send_all() function description
Attach Issues:
mod - core/email_api.php Diff File

master e7509154

2012-11-29 10:15:02

dregad

Details Diff
Reworded PHPdoc email_send_all() function description
Attach Issues:
mod - core/email_api.php Diff File

master-1.2.x efdb61ed

2012-11-29 09:31:34

dregad

Details Diff
Don't send notif mail when updating Protected account's Access Level

Prior to this, Mantis would effectively not update the protected user
account's 'Access Level' field, but would still send a notification to
the user informing them that the field was modified, causing confusion.

The confirmation message for protected account update was reworded.

Fixes 0015247
Affected Issues
0015247
mod - lang/strings_english.txt Diff File
mod - manage_user_update.php Diff File

master 37a2fee2

2012-11-29 09:31:34

dregad

Details Diff
Don't send notif mail when updating Protected account's Access Level

Prior to this, Mantis would effectively not update the protected user
account's 'Access Level' field, but would still send a notification to
the user informing them that the field was modified, causing confusion.

The confirmation message for protected account update was reworded.

Fixes 0015247
Affected Issues
0015247
mod - lang/strings_english.txt Diff File
mod - manage_user_update.php Diff File

master-1.2.x 1c847ef0

2012-11-26 08:15:26

siebrand

Details Diff
Localisation updates from http://translatewiki.net.
Attach Issues:
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_danish.txt Diff File
mod - lang/strings_russian.txt Diff File

master-1.2.x e7bb7016

2012-11-22 21:37:07

rombert

Details Diff
Fix 0015199: Update json api error format Affected Issues
0015199
mod - core/json_api.php Diff File

master dd679233

2012-11-22 21:37:07

rombert

Details Diff
Fix 0015199: Update json api error format Affected Issues
0015199
mod - core/json_api.php Diff File

master-1.2.x acd7562d

2012-11-21 19:58:11

rombert

Details Diff
soap api: fall back to the default_category_for_moves when deleting
categories

Fixes 0015222: mc_project_delete_category fails to delete category
Affected Issues
0015222
mod - api/soap/mc_project_api.php Diff File
 First  Prev  1 2 3 ... 60 ... 120 ... 180 ... 237 238 239 240 241 242 243 ... 300 ... 360 ... 420 ... 480 ... 540 ... 600 ... 631 632 633  Next  Last