Changesets: MantisBT

master-1.3.x 9f5dfad8

2016-09-17 02:05

dregad


Details Diff
Update existing versions when copying from project

Until now, the "Copy Versions From/To" buttons in Manage Projects page
were only adding new versions.

The code has been amended to also update versions existing in the target
project.

Note that since the copy currently ignores obsolete versions, those
marked as such in the source project after an earlier copy operation
will *not* be updated in the target project.

Fixes 0010242
Affected Issues
0010242
mod - manage_proj_ver_copy.php Diff File

master-1.3.x 61192775

2016-09-17 01:55

dregad


Details Diff
Removed unused version_prepare_db() API function

Data preparation is performed in version_add and version_update.
mod - core/version_api.php Diff File

master-1.3.x 653f9a2c

2016-09-17 01:54

dregad


Details Diff
VersionData: add constructor

Allows object initialization based on a project_version table row in a
single step.
mod - core/version_api.php Diff File

master-1.3.x f471b5ef

2016-09-17 01:39

dregad


Details Diff
VersionData: new set_from_db_row() method

Allows simple initialization of the object's properties based on a
project_version table row.
mod - core/version_api.php Diff File

master-1.3.x 0eb4cdbf

2016-09-17 01:37

dregad


Details Diff
Align VersionData properties with project_version table
mod - core/version_api.php Diff File

13x 595136f0

2016-09-16 00:40

dregad


Details Diff
Optimize $p_inherit handling in version_get_all_rows()
mod - core/version_api.php Diff File

13x 9e60a12f

2016-09-15 23:49

dregad


Details Diff
PHPDoc consistency update in Version API

- Use identical definition for $p_inherit parameters everywhere
- Fix type for $p_released in version_get_all_rows() declaration
mod - core/version_api.php Diff File

master 253843ac

2016-09-12 09:58

atrol


Details Diff
Obsolete configuration option icon_path

After using FontAwesome for icons there is some dead code in Mantis.
After removing the dead code, there is no longer any access to setting
icon_path.

Fixes 0021689
Affected Issues
0021689
mod - config_defaults_inc.php Diff File
mod - core/columns_api.php Diff File
mod - core/icon_api.php Diff File
mod - core/obsolete.php Diff File
mod - core/relationship_api.php Diff File
mod - docbook/Admin_Guide/en-US/config/path.xml Diff File
mod - javascript_config.php Diff File
mod - my_view_inc.php Diff File
mod - plugins/MantisGraph/MantisGraph.php Diff File
mod - print_all_bug_page.php Diff File
mod - view_all_inc.php Diff File

master b451eab5

2016-09-11 12:57

atrol


Details Diff
Remove unused parameter from function layout_page_end
mod - core/layout_api.php Diff File
mod - lost_pwd.php Diff File

master a9a06e26

2016-09-11 12:29

atrol


Details Diff
Fix variable naming conventions
mod - core/html_api.php Diff File

master-1.3.x c97b7f4b

2016-09-11 09:05

atrol


Details Diff
Remove unused parameter from function html_page_bottom
mod - core/html_api.php Diff File

master-1.3.x 0fdf636a

2016-09-11 09:03

atrol


Details Diff
Remove unused parameter from function html_page_bottom1
mod - core/html_api.php Diff File

master-1.3.x eda6b6db

2016-09-11 08:37

atrol


Details Diff
Remove unused parameter from function html_page_bottom1a
mod - core/html_api.php Diff File
mod - login_page.php Diff File
mod - lost_pwd.php Diff File
mod - lost_pwd_page.php Diff File
mod - signup.php Diff File
mod - signup_page.php Diff File
mod - verify.php Diff File

master-1.3.x 8db14033

2016-09-11 08:01

dregad


Details Diff
Revise HelperTests for helper_array_transpose()

The tests are now performed in 2 distinct steps:

- Valid values, that should be successfully transposed
- Invalid values (e.g. single-dimension and non-square arrays),
expected to fail
mod - tests/Mantis/HelperTest.php Diff File

master-1.3.x 7e43fcb5

2016-09-11 08:01

dregad


Details Diff
Tests: restore error handler after Mantis core init

We need to disable MantisBT's error handler to allow PHPUnit to convert
errors to exceptions, so we can capture and test them.

Fixes 0021696
Affected Issues
0021696
mod - tests/TestConfig.php Diff File

master-1.3.x 8e3d9379

2016-09-11 07:06

atrol


Details Diff
PHPDoc fixes
mod - core/filter_api.php Diff File
mod - core/ldap_api.php Diff File

master 68bd874a

2016-09-11 00:46

dregad


Details Diff
Implementing PR revision comments

- Fix param type in PHPDoc
- Consistency in variables init sequence in switch statement
- Renamed html_operation_successful_buttons() function to
html_operation_confirmation()
- Restored wrongly deleted init of $t_access_level
- Action 2 leftover TODOs, use the new warning/failure functions
mod - bug_report.php Diff File
mod - core/html_api.php Diff File
mod - manage_user_create.php Diff File
mod - manage_user_reset.php Diff File
mod - manage_user_update.php Diff File
mod - news_update.php Diff File

master 8daee923

2016-09-10 23:31

dregad


Details Diff
Merge remote-tracking branch 'origin/master-1.3.x'

Conflicts:
- css/default.css - change discarded
- manage_config_workflow_page.php - merged
mod - bug_report_page.php Diff File
mod - core/csv_api.php Diff File
mod - core/email_api.php Diff File
mod - core/excel_api.php Diff File
mod - core/helper_api.php Diff File
mod - manage_config_workflow_page.php Diff File
mod - manage_config_workflow_set.php Diff File

master 49728830

2016-09-10 04:34

dregad


Details Diff
Only append default message when none provided

If the caller provided a custom message, then we display it as-is,
without appending the default one based on confirmation type.

This gives more flexibility to the caller when displaying confirmation
messages.

Issue 0021683
Affected Issues
0021683
mod - core/html_api.php Diff File

master 0c00cc9e

2016-09-10 04:24

dregad


Details Diff
More replacements of custom layout by html_operation_xxx()

Issue 0021683
Affected Issues
0021683
mod - core/access_api.php Diff File
mod - lost_pwd.php Diff File

master 750950da

2016-09-10 01:51

dregad


Details Diff
Use constants instead of hardcoding values

Define 3 new constants to replace string values:

- 'success' -> CONFIRMATION_TYPE_SUCCESS,
- 'warning' -> CONFIRMATION_TYPE_WARNING,
- 'failure' -> CONFIRMATION_TYPE_FAILURE.

Issue 0021683
Affected Issues
0021683
mod - core/constant_inc.php Diff File
mod - core/html_api.php Diff File

master 6d4a5fe2

2016-09-10 01:46

dregad


Details Diff
New functions for warning and failure confirmations

Modify html_operation_successful_buttons() to accept an optional type
parameter, allowing caller to specify the type of confirmation message
to display (success, warning, failure).

Add 2 new functions and corresponding language strings:
- html_operation_warning()
- html_operation_failure()

Fixes 0021683
Affected Issues
0021683
mod - core/html_api.php Diff File
mod - lang/strings_english.txt Diff File

master c1359323

2016-09-10 01:32

dregad


Details Diff
Remove spacing between the redirection buttons

To be consistent with the rest of the UI where the buttons are printed
right next to each other, remove the   and wrap them in a btn-group
div.

Issue 0021683
Affected Issues
0021683
mod - core/html_api.php Diff File

master 3f610629

2016-09-10 01:04

dregad


Details Diff
Use new API for pages with multiple redirection links

- bug_report.php
- news_update.php

Fixes 0021683
Affected Issues
0021683
mod - bug_report.php Diff File
mod - news_update.php Diff File

master d14b3089

2016-09-10 00:57

dregad


Details Diff
New html_operation_successful_buttons() function

The new API function expands the existing html_operation_successful(),
allowing display of multiple redirect buttons instead of a single
'Proceed' link.

Fixes 0021683
Affected Issues
0021683
mod - core/html_api.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 202 203 204 205 206 207 208 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 730 731 732  Next  Last