Changesets: MantisBT

master 27f5b4f1

2012-09-19 05:30

dregad


Details Diff
Force validation of upload path if file_upload_method != DATABASE

Prior to this, the upload path would not be checked if it was empty
(ie. defaulting to $g_absolute_path_default_upload_folder),
which could cause issues if that directory was missing or read-only.

Checking this early allows catching any errors before users perform
actual operations on file attachments.

Fixes 0014723
Affected Issues
0014723
mod - core/project_api.php Diff File

master-1.2.x 7f3b0e7c

2012-09-19 05:13

dregad


Details Diff
Cloning issues with attachments fails after upload folder changed

With attachments stored on disk, if the project's upload directory
changes and the files are moved to the new location, it is no longer
possible to clone issues.

The file_copy_attachments() function was modified to use the same logic
as elsewhere in MantisBT, i.e. rely on file_normalize_attachment_path()
to determine the attachment's path.

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

master 27aa2b80

2012-09-19 05:13

dregad


Details Diff
Cloning issues with attachments fails after upload folder changed

With attachments stored on disk, if the project's upload directory
changes and the files are moved to the new location, it is no longer
possible to clone issues.

The file_copy_attachments() function was modified to use the same logic
as elsewhere in MantisBT, i.e. rely on file_normalize_attachment_path()
to determine the attachment's path.

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

master-1.2.x f9d0459f

2012-09-18 02:17

dregad


Details Diff
XmlImportExport: removed obsolete comment

Since 1.1 is no longer supported, I guess we won't ever backport this...
mod - plugins/XmlImportExport/ImportXml/Issue.php Diff File

master 33c9c019

2012-09-18 02:17

dregad


Details Diff
XmlImportExport: removed obsolete comment

Since 1.1 is no longer supported, I guess we won't ever backport this...
mod - plugins/XmlImportExport/ImportXml/Issue.php Diff File

master-1.2.x f156fb1e

2012-09-18 02:15

dregad


Details Diff
XmlImportExport: Allow import of inherited categories

Fixes 0011114
Affected Issues
0011114
mod - plugins/XmlImportExport/ImportXml/Issue.php Diff File

master b7acce28

2012-09-18 02:15

dregad


Details Diff
XmlImportExport: Allow import of inherited categories

Fixes 0011114
Affected Issues
0011114
mod - plugins/XmlImportExport/ImportXml/Issue.php Diff File

master-1.2.x cb825352

2012-09-18 01:51

dregad


Details Diff
XmlImportExport: Fix import error "Column 'profile_id' cannot be null"

In bug_api.php BugData class, the profile_id member variable defaults to
null but the DB bug table does not allow null values, causing the error.

Defaulting the variable to 0 resolves the problem.

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

master 2c916ddd

2012-09-18 01:51

dregad


Details Diff
XmlImportExport: phpdoc udpate
mod - plugins/XmlImportExport/ImportXml/Interface.php Diff File

master-1.2.x 5df3d933

2012-09-18 01:51

dregad


Details Diff
XmlImportExport: phpdoc udpate
mod - plugins/XmlImportExport/ImportXml/Interface.php Diff File

master-1.2.x 9ec6fdaf

2012-09-18 00:24

dregad


Details Diff
XmlImportExport: Reference correct class name

The parameter of update_map() was defined as being of Class "Mapper",
but the actual class name is "ImportXml_Mapper"

Fixes 0012187
Affected Issues
0012187
mod - plugins/XmlImportExport/ImportXml/Interface.php Diff File
mod - plugins/XmlImportExport/ImportXml/Issue.php Diff File

master c0af31bd

2012-09-18 00:24

dregad


Details Diff
XmlImportExport: Reference correct class name

The parameter of update_map() was defined as being of Class "Mapper",
but the actual class name is "ImportXml_Mapper"

Fixes 0012187

Conflicts:

plugins/XmlImportExport/ImportXml/Issue.php
Affected Issues
0012187
mod - plugins/XmlImportExport/ImportXml/Interface.php Diff File
mod - plugins/XmlImportExport/ImportXml/Issue.php Diff File

master-1.2.x fd1c8dd9

2012-09-15 15:30

siebrand


Details Diff
Localisation updates from http://translatewiki.net.
mod - lang/strings_korean.txt Diff File
mod - lang/strings_norwegian_bokmal.txt Diff File
mod - lang/strings_portuguese_brazil.txt Diff File
mod - lang/strings_portuguese_standard.txt Diff File
mod - lang/strings_ripoarisch.txt Diff File
mod - plugins/MantisGraph/lang/strings_japanese.txt Diff File

master-1.2.x 5b491868

2012-09-14 22:32

rombert


Details Diff
Fix 0006809: 0005598: Using an 'Or' filter logic Affected Issues
0006809
mod - config_filter_defaults_inc.php Diff File
mod - core/constant_inc.php Diff File
mod - core/filter_api.php Diff File
mod - lang/strings_english.txt Diff File
mod - view_all_set.php Diff File

master-1.2.x b3d05226

2012-09-14 21:10

rombert


Details Diff
Allow selecting any user with privileges when filtering by bug note
reporter

Fix based on patch attached by frodgers at
http://www.mantisbt.org/bugs/view.php?id=9725 .

Fixes 0009725: Filter on "Note By" by a reporter
Affected Issues
0009725
mod - core/filter_api.php Diff File
mod - core/print_api.php Diff File

master 9b39286b

2012-09-14 21:10

rombert


Details Diff
Allow selecting any user with privileges when filtering by bug note
reporter

Fix based on patch attached by frodgers at
http://www.mantisbt.org/bugs/view.php?id=9725 .

Fixes 0009725: Filter on "Note By" by a reporter
Affected Issues
0009725
mod - core/filter_api.php Diff File
mod - core/print_api.php Diff File

master 42c982dc

2012-09-12 23:59

dregad


Details Diff
Last updated date not bumped when group-changing custom field

When updating a custom field via selection in view_all_bug_page.php and
subsequent submit on bug_actiongroup_page.php, the custom field and
history are properly updated, but the issue's last updated date was not
bumped.

Fixes 0014706
Affected Issues
0014706
mod - bug_actiongroup.php Diff File

master-1.2.x 1a2f2ab2

2012-09-12 23:59

dregad


Details Diff
Last updated date not bumped when group-changing custom field

When updating a custom field via selection in view_all_bug_page.php and
subsequent submit on bug_actiongroup_page.php, the custom field and
history are properly updated, but the issue's last updated date was not
bumped.

Fixes 0014706
Affected Issues
0014706
mod - bug_actiongroup.php Diff File

master a0e4b9bc

2012-09-12 22:20

dregad


Details Diff
Documentation: revised admin guide Custom Functions section

Includes a couple comments corrections in custom_function_api.php.
mod - core/custom_function_api.php Diff File
mod - docbook/Admin_Guide/en-US/Customizing.xml Diff File

master-1.2.x 9cb272a3

2012-09-12 22:20

dregad


Details Diff
Documentation: revised admin guide Custom Functions section

Includes a couple comments corrections in custom_function_api.php.
mod - core/custom_function_api.php Diff File
mod - docbook/administration_guide/en/customizing_mantis.sgml Diff File

master 2d815440

2012-09-12 04:48

dregad


Details Diff
Don't send email notices for a bug to which users have no access

Prior to this, users without viewer access to a bug could potentially
receive email notifications for it. This could happen in case of
permissions changes, or if an issue is moved to another project with
different access rights.

Added an access level check to exclude users who don't have at least
VIEWER privilege to the bug.

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

master-1.2.x 2cc83ca9

2012-09-12 04:48

dregad


Details Diff
Don't send email notices for a bug to which users have no access

Prior to this, users without viewer access to a bug could potentially
receive email notifications for it. This could happen in case of
permissions changes, or if an issue is moved to another project with
different access rights.

Added an access level check to exclude users who don't have at least
VIEWER privilege to the bug.

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

master-1.2.x b1a1bbae

2012-09-10 01:56

dregad


Details Diff
User with access to single project defaults to it, not all projects

Since 1.2, if a user has access to only one project, the project
selection box at top right isn't shown. This was causing issues as new
users accounts have 'All projects' as their default:

- user can't report issues (no link for all projects)
- categories displayed are prefixed with [project]

Until this commit, users had to define their (single) project as default
using preferences to work around the problem; this is no longer needed.

Function html_login_info() now sets the current project as appropriate
if user has only access to a single one, and also defines that as the
default.

The account preferences page has also been modified to only include 'All
projects' in the selection list when user has more than one project
available.

Fixes 0009826, 0014268
Affected Issues
0009826, 0014268, 0016337
mod - account_prefs_inc.php Diff File
mod - core/html_api.php Diff File

master cfa022bc

2012-09-10 01:56

dregad


Details Diff
User with access to single project defaults to it, not all projects

Since 1.2, if a user has access to only one project, the project
selection box at top right isn't shown. This was causing issues as new
users accounts have 'All projects' as their default:

- user can't report issues (no link for all projects)
- categories displayed are prefixed with [project]

Until this commit, users had to define their (single) project as default
using preferences to work around the problem; this is no longer needed.

Function html_login_info() now sets the current project as appropriate
if user has only access to a single one, and also defines that as the
default.

The account preferences page has also been modified to only include 'All
projects' in the selection list when user has more than one project
available.

Fixes 0009826, 0014268
Affected Issues
0009826, 0014268, 0016337
mod - account_prefs_inc.php Diff File
mod - core/html_api.php Diff File

master-1.2.x e536cbcd

2012-09-09 23:20

dregad


Details Diff
Missing project override in project edit page

This is causing the config_get() calls to return the option for the
default project instead of the one being edited, which is potentially
incorrect.

Fixes 0014701
Affected Issues
0014701
mod - manage_proj_edit_page.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 344 345 346 347 348 349 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 730 731 732  Next  Last