Changesets: MantisBT

master b55fc0dc

2013-03-14 02:47

dregad


Details Diff
Config report: retrieval of saved project filter does not work

When retrieving a saved filter from the cookie in adm_config_report.php
the saved project id is not reflected in the filter's selection list:
'All Projects' is always selected instead of the actual project. This
value should only be picked as default when the project id does not
exist.

This is due to a missing negation in the check for project's existence.

Fixes 0015691
Affected Issues
0015691
mod - adm_config_report.php Diff File

master-1.2.x 840b55f0

2013-03-14 02:47

dregad


Details Diff
Config report: retrieval of saved project filter does not work

When retrieving a saved filter from the cookie in adm_config_report.php
the saved project id is not reflected in the filter's selection list:
'All Projects' is always selected instead of the actual project. This
value should only be picked as default when the project id does not
exist.

This is due to a missing negation in the check for project's existence.

Fixes 0015691
Affected Issues
0015691
mod - adm_config_report.php Diff File

master-1.2.x dab98da0

2013-03-13 06:54

HeikoSL


Details Diff
add hook EVENT_DISPLAY_EMAIL_BUILD_SUBJECT for email subject
mod - core/email_api.php Diff File
mod - core/events_inc.php Diff File

master-1.2.x 7159a929

2013-03-13 05:44

HeikoSL


Details Diff
email_bug_info_to_one_user() is not using email_build_subject() function
mod - core/email_api.php Diff File

master 2d9f1d60

2013-03-12 01:26

dregad


Details Diff
Fix 0015592: application error 0 in adm_config_report.php

This was due to a missing type cast in call to check_selected(). The
for loop was replaced by a call to print_option_list_from_array(), to
avoid code duplication.
Affected Issues
0015592
mod - adm_config_report.php Diff File

master-1.2.x 8afbd34f

2013-03-11 00:52

siebrand


Details Diff
Localisation updates from http://translatewiki.net.
mod - lang/strings_danish.txt Diff File
mod - lang/strings_turkish.txt Diff File

master 57f57409

2013-03-08 11:01

dregad


Details Diff
Make it possible to edit config options in adm_config_report.php

Use CONFIG_TYPE_xxx constants instead of magic strings to define the
type of config value to process.

Added code for FLOAT type which was previously handled through COMPLEX.

Improve handling of INT (and FLOAT) by calling constant_replace(),
allowing user to specify a defined constant instead of a numeric value.

The 'Username', 'Project Name' and 'Configuration Option' fields in the
'Set Configuration Option' form are preset to the corresponding value
from the filter or defaulting to ALL_USERS, ALL_PROJECTS and blank
respectively if the filter is not defined or set to '[any]'. This allows
easier definition of related config, e.g. for a given project or user.

Port of 1.2.x commits
- 8890b218892d56947e6ffe300d0186b1450d0481
- 8b426cfc6c6ea7149beeafb352fa390dbf8c4624
- 5858a659efe12743b4360da11e9320c7f6ac6e82

Fixes 0007586, 0015416
Affected Issues
0007586, 0015416
mod - adm_config_report.php Diff File
mod - adm_config_set.php Diff File
mod - core/constant_inc.php Diff File
mod - core/print_api.php Diff File

master-1.2.x a05639b0

2013-03-08 07:00

dregad


Details Diff
Documentation: added php_mbstring as recommended extension

Fixes 0015575
Affected Issues
0015575
mod - docbook/administration_guide/en/installation.sgml Diff File

master b8f39bcd

2013-03-08 07:00

dregad


Details Diff
Documentation: added php_mbstring as recommended extension

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

master-1.2.x 6da8b234

2013-03-08 01:37

dregad


Details Diff
Full rewrite the Move Attachments admin page

The old move_db2disk.php program was completely outdated and did not
work properly.

This commit introduces completely new page, with dissociated page to
select which attachments to move, and action page to actually move the
files from DB to disk

Fixes 0015496
Affected Issues
0015496
add - admin/move_attachments.php Diff File
add - admin/move_attachments_page.php Diff File
rm - admin/move_db2disk.php Diff
mod - admin/system_utils.php Diff File
mod - core/file_api.php Diff File
mod - core/project_api.php Diff File

master 8b29d42b

2013-03-08 01:37

dregad


Details Diff
Full rewrite the Move Attachments admin page

The old move_db2disk.php program was completely outdated and did not
work properly.

This commit introduces completely new page, with dissociated page to
select which attachments to move, and action page to actually move the
files from DB to disk

Fixes 0015496

Conflicts on cherry-pick from master-1.2.x:
admin/move_db2disk.php
admin/system_utils.php
Affected Issues
0015496
add - admin/move_attachments.php Diff File
add - admin/move_attachments_page.php Diff File
rm - admin/move_db2disk.php Diff
mod - admin/system_utils.php Diff File
mod - core/file_api.php Diff File
mod - core/project_api.php Diff File

master 540ae471

2013-03-07 16:02

rombert


Details Diff
filter_api: ensure that the free_text where clauses are always ANDed

Fixes 0015573: One query can be issued via current Mantis interface to
take down site
Affected Issues
0015573
mod - core/filter_api.php Diff File

master-1.2.x 543ba012

2013-03-07 16:02

rombert


Details Diff
filter_api: ensure that the free_text where clauses are always ANDed

Fixes 0015573: One query can be issued via current Mantis interface to
take down site
Affected Issues
0015573
mod - core/filter_api.php Diff File

master-1.2.x 589af332

2013-03-06 00:57

dregad


Details Diff
PHPdoc updates
mod - core/file_api.php Diff File

master 8259623f

2013-03-06 00:57

dregad


Details Diff
PHPdoc updates
mod - core/file_api.php Diff File

master-1.2.x f6b8f7e9

2013-03-06 00:50

dregad


Details Diff
Revise and improve diskfile_is_name_unique()

Prior to this, the API would only check for a file's uniqueness by
looking up the bug_file table, and did not actually checking the file
system for an existing file.

This causes 2 potential issues:

- we could have a duplicate in the file system and therefore unwittingly
overwrite it with a new file
- it was not possible to use the function for for project docs

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

master 65c4ce7b

2013-03-06 00:50

dregad


Details Diff
Revise and improve diskfile_is_name_unique()

Prior to this, the API would only check for a file's uniqueness by
looking up the bug_file table, and did not actually checking the file
system for an existing file.

This causes 2 potential issues:

- we could have a duplicate in the file system and therefore unwittingly
overwrite it with a new file
- it was not possible to use the function for for project docs

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

master-1.2.x 67bbf86b

2013-03-05 23:19

dregad


Details Diff
Modify file_is_name_unique() API to work for project files also

Previously this function would only work for bug attachments, and
another API function project_file_is_name_unique() would take care of
projects. The latter was removed as it was not used, and this one
amended in case it's ever required to check for uniqueness of a project
file.

It also makes sense to regroup file-related functions in file_api.php.

Issue 0015572
Affected Issues
0015572
mod - core/file_api.php Diff File

master 360ffc0f

2013-03-05 23:19

dregad


Details Diff
Modify file_is_name_unique() API to work for project files also

Previously this function would only work for bug attachments, and
another API function project_file_is_name_unique() would take care of
projects. The latter was removed as it was not used, and this one
amended in case it's ever required to check for uniqueness of a project
file.

It also makes sense to regroup file-related functions in file_api.php.

Issue 0015572
Affected Issues
0015572
mod - core/file_api.php Diff File

master-1.2.x 35849d1a

2013-03-05 23:13

dregad


Details Diff
Removed unused API function project_file_is_name_unique()
mod - core/project_api.php Diff File

master 6dbc3526

2013-03-05 23:13

dregad


Details Diff
Removed unused API function project_file_is_name_unique()
mod - core/project_api.php Diff File

master-1.2.x 2864cc21

2013-03-05 05:54

dregad


Details Diff
Print pages: don't show custom fields user has no access to

Prior to this, if a custom field's 'read' access level were higher than
the user's access, the print pages would display the field's label (but
not the data). This behavior is not consistent with how this situation
is handled in the View Issue page, where the field is not shown at all.

For consistency, we now skip the of the custom field users have no read
access to in the print pages, so that nothing is displayed.

Fixes 0015528
Affected Issues
0015528
mod - print_all_bug_page_word.php Diff File
mod - print_bug_page.php Diff File

master 0c36ea73

2013-03-05 05:54

dregad


Details Diff
Print pages: don't show custom fields user has no access to

Prior to this, if a custom field's 'read' access level were higher than
the user's access, the print pages would display the field's label (but
not the data). This behavior is not consistent with how this situation
is handled in the View Issue page, where the field is not shown at all.

For consistency, we now skip the of the custom field users have no read
access to in the print pages, so that nothing is displayed.

Fixes 0015528
Affected Issues
0015528
mod - print_all_bug_page_word.php Diff File
mod - print_bug_page.php Diff File

master-1.2.x 31829a31

2013-03-04 06:46

siebrand


Details Diff
Localisation updates from http://translatewiki.net.
mod - lang/strings_breton.txt Diff File
mod - lang/strings_chinese_traditional.txt Diff File
mod - lang/strings_interlingua.txt Diff File
mod - lang/strings_slovene.txt Diff File
mod - lang/strings_spanish.txt Diff File
mod - lang/strings_ukrainian.txt Diff File

master 910546df

2013-03-02 03:30

dregad


Details Diff
Fix 0015558: url_get() fallback to next method in case of error Affected Issues
0015558
mod - core/url_api.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 345 346 347 348 349 350 351 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last