Changesets: MantisBT

master-2.0.x 4eee3827

2013-09-16 01:14

dregad


Details Diff
Added .travis.yml file

Copied from master-1.2.x branch to prevent build failures, as 2.0 is
currently not setup for builds.
add - .travis.yml Diff File

master 0582c17c

2013-09-16 01:08

dregad


Details Diff
Travis: only build for master and master-1.2.x

[skip ci]
mod - .travis.yml Diff File

master-1.2.x a1a150cd

2013-09-16 01:08

dregad


Details Diff
Travis: only build for master and master-1.2.x

[skip ci]
mod - .travis.yml Diff File

master-2.0.x a27636ff

2013-09-14 17:09

Paul Richards


Details Diff
Remove references to duplicate_id where appropriate.

This field was mainly deprecated in a previous release.

However, from looking back, I can't see us actually doing a schema update when changing this functionality so attempt to tidy up now from history entries:

New Schema Updates:

Schema 204: Function - check duplicate ids. This looks for any bugs where duplicate id is >0. If it's found, we look for a relationship indicating the duplicate. If found, remove duplicate_id from bug. If not found, check bug history table for th missing relationship link.
Note: If after this, the number of bugs with a duplicate_id is greater then 0, return a schema failure for now. We need to decide what to actually do here if a bug has a duplicate_id set, and there's no record of it in relationship or history tables.

Schema 205: Try to convert the old duplicate_id history field to relationship-duplicate fields. Look to see if bug_relationship exists, and if so, delete the duplicate id. After that, look for add/remove bugs.
Note: same logic here - if any else has gone on, abort the update so we can think about the data set :/

Schema 206: Remove obsolete duplicate_id field.

Note:
a) The above should only be a possible issue for old data sets [pre-dating 1.0.0] i.e. >12 year old instances
b) Part of the reason for trying to tidy this up is that bug_copy for one was still setting the the duplicate_id field even though we dont use it - therefore there is potential data in the field.
mod - admin/schema.php Diff File
mod - core/bug_api.php Diff File
mod - core/classes/MantisBug.class.php Diff File
mod - core/columns_api.php Diff File
mod - core/history_api.php Diff File
mod - core/install_helper_functions_api.php Diff File
mod - print_all_bug_options_inc.php Diff File

master d5da1d24

2013-09-14 00:38

dregad


Details Diff
Use correct threshold for display of Change status list+button

Fix for issue 0015258 introduced a check for 'update_bug_threshold' to
prevent unauthorized users from changing issue status.

This was not the correct config setting to use, the right one is
'update_bug_status_threshold'.

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

master-1.2.x e074efde

2013-09-14 00:38

dregad


Details Diff
Use correct threshold for display of Change status list+button

Fix for issue 0015258 introduced a check for 'update_bug_threshold' to
prevent unauthorized users from changing issue status.

This was not the correct config setting to use, the right one is
'update_bug_status_threshold'.

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

master-1.2.x 68937db4

2013-09-11 14:20

dregad


Details Diff
Fix assignment to wrong variable

This caused the page to always display an empty list of tags. Follow up
fix on commit 0d9c5e799ce58a8632678979e395025a0ebeb0ec.

Fixes 0016340
Affected Issues
0016340
mod - manage_tags_page.php Diff File

master-2.0.x 4718fca3

2013-09-10 13:16

Paul Richards


Details Diff
Pass bug object for duplicate bug into bug_update.php
mod - bug_update.php Diff File

master-1.2.x a7219911

2013-09-09 10:52

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_occitan.txt Diff File

master-2.0.x 80fa06a0

2013-09-08 15:20

Paul Richards


Details Diff
fix indentation
mod - bug_revision_view_page.php Diff File

master ddba1d9f

2013-09-08 09:12

dregad


Details Diff
Install: pgsql bool check now handles nullable columns

Issue 0016392
Affected Issues
0016392
mod - admin/install.php Diff File
mod - core/install_helper_functions_api.php Diff File

master e2e0a9d4

2013-09-08 08:47

dregad


Details Diff
Install: special processing for pgsql boolean columns

The upgrade of ADOdb library to version 4.96 with Mantis release
1.1.0 introduced a change in the way type 'L' columns are created
(SMALLINT before, BOOLEAN after).

This requires special handling to fix the database schema, because the
normal schema upgrade steps do not cover it (since from the MantisBT
installer's perspective the column type has not changed).

Fixes 0016392
Affected Issues
0016392
mod - admin/install.php Diff File
mod - core/install_helper_functions_api.php Diff File

master-2.0.x c28a4039

2013-09-08 08:15

Paul Richards


Details Diff
Mark view_state as integer field
mod - core/classes/MantisBug.class.php Diff File

master-2.0.x 19889bd7

2013-09-08 08:15

Paul Richards


Details Diff
add integer cast
mod - core/print_api.php Diff File

master-2.0.x 5c3f00ca

2013-09-08 08:02

Paul Richards


Details Diff
update access_ensure_bug_level to take a bug object
mod - account_sponsor_update.php Diff File
mod - bug_file_add.php Diff File
mod - bug_file_delete.php Diff File
mod - bug_monitor_add.php Diff File
mod - bug_monitor_delete.php Diff File
mod - bug_relationship_add.php Diff File
mod - bug_relationship_delete.php Diff File
mod - bug_relationship_graph.php Diff File
mod - bug_relationship_graph_img.php Diff File
mod - bug_reminder.php Diff File
mod - bug_reminder_page.php Diff File
mod - bug_report_page.php Diff File
mod - bug_revision_drop.php Diff File
mod - bug_set_sponsorship.php Diff File
mod - bug_stick.php Diff File
mod - bug_update.php Diff File
mod - bug_update_page.php Diff File
mod - bug_view_inc.php Diff File
mod - bugnote_add.php Diff File
mod - core/access_api.php Diff File
mod - core/relationship_api.php Diff File
mod - core/tag_api.php Diff File
mod - print_bug_page.php Diff File
mod - tag_attach.php Diff File

master-2.0.x 699b3ecb

2013-09-08 07:05

Paul Richards


Details Diff
bug_handler takes MantisBug object
mod - bug_reminder.php Diff File
mod - core/bug_api.php Diff File

master-2.0.x dd57d5e2

2013-09-08 07:03

Paul Richards


Details Diff
bug_is_user_reporter taking a bug object
mod - bug_reminder.php Diff File
mod - changelog_page.php Diff File
mod - core/access_api.php Diff File
mod - core/bug_api.php Diff File
mod - core/file_api.php Diff File
mod - roadmap_page.php Diff File

master-2.0.x 509d58aa

2013-09-08 06:20

Paul Richards


Details Diff
Pass bug object to access_has_buglevel
mod - bug_actiongroup.php Diff File
mod - bug_actiongroup_add_note_inc.php Diff File
mod - bug_actiongroup_attach_tags_inc.php Diff File
mod - bug_actiongroup_update_product_build_inc.php Diff File
mod - bug_actiongroup_update_severity_inc.php Diff File
mod - bug_change_status_page.php Diff File
mod - bug_monitor_list_view_inc.php Diff File
mod - bug_relationship_add.php Diff File
mod - bug_relationship_delete.php Diff File
mod - bug_reminder.php Diff File
mod - bug_revision_view_page.php Diff File
mod - bug_sponsorship_list_view_inc.php Diff File
mod - bug_update.php Diff File
mod - bug_update_page.php Diff File
mod - bug_view_inc.php Diff File
mod - bugnote_add_inc.php Diff File
mod - bugnote_edit_page.php Diff File
mod - bugnote_view_inc.php Diff File
mod - core/access_api.php Diff File
mod - core/bug_api.php Diff File
mod - core/bugnote_api.php Diff File
mod - core/columns_api.php Diff File
mod - core/email_api.php Diff File
mod - core/file_api.php Diff File
mod - core/history_api.php Diff File
mod - core/html_api.php Diff File
mod - core/relationship_api.php Diff File
mod - core/relationship_graph_api.php Diff File
mod - core/string_api.php Diff File
mod - core/summary_api.php Diff File
mod - core/tag_api.php Diff File
mod - history_inc.php Diff File
mod - my_view_inc.php Diff File
mod - print_all_bug_page_word.php Diff File
mod - print_bug_page.php Diff File
mod - print_bugnote_inc.php Diff File

master-2.0.x bcd80997

2013-09-08 04:48

Paul Richards


Details Diff
Rename $tpl_ to $t_ to match our own coding guidelines
mod - bug_change_status_page.php Diff File
mod - bug_relationship_graph.php Diff File
mod - bug_reminder_page.php Diff File
mod - bug_report_page.php Diff File
mod - bug_update_page.php Diff File
mod - bug_view_inc.php Diff File
mod - bugnote_stats_inc.php Diff File
mod - print_bug_page.php Diff File
mod - view.php Diff File

master-2.0.x 2c08b31d

2013-09-08 04:45

Paul Richards


Details Diff
Pass BugOject to exception instead of ID
mod - bug_relationship_add.php Diff File
mod - bug_relationship_delete.php Diff File
mod - bug_reminder.php Diff File
mod - bug_reminder_page.php Diff File
mod - bug_report_page.php Diff File
mod - bug_update.php Diff File
mod - bug_update_page.php Diff File
mod - bugnote_add.php Diff File
mod - bugnote_edit_page.php Diff File
mod - bugnote_set_view_state.php Diff File
mod - bugnote_update.php Diff File
mod - core/classes/Exception/Issue/IssueReadOnly.class.php Diff File

master-2.0.x a5d6f7c0

2013-09-08 04:41

Paul Richards


Details Diff
remove duplicate function call
mod - bugnote_set_view_state.php Diff File

master-2.0.x 33bf8edb

2013-09-08 04:34

Paul Richards


Details Diff
Update bug_is_readonly to take a bug object
mod - bug_actiongroup_add_note_inc.php Diff File
mod - bug_actiongroup_update_product_build_inc.php Diff File
mod - bug_actiongroup_update_severity_inc.php Diff File
mod - bug_relationship_add.php Diff File
mod - bug_relationship_delete.php Diff File
mod - bug_reminder.php Diff File
mod - bug_reminder_page.php Diff File
mod - bug_report_page.php Diff File
mod - bug_sponsorship_list_view_inc.php Diff File
mod - bug_update.php Diff File
mod - bug_update_page.php Diff File
mod - bug_view_inc.php Diff File
mod - bugnote_add.php Diff File
mod - bugnote_add_inc.php Diff File
mod - bugnote_edit_page.php Diff File
mod - bugnote_set_view_state.php Diff File
mod - bugnote_update.php Diff File
mod - bugnote_view_inc.php Diff File
mod - core/bug_api.php Diff File
mod - core/columns_api.php Diff File
mod - core/file_api.php Diff File
mod - core/html_api.php Diff File
mod - core/relationship_api.php Diff File
mod - my_view_inc.php Diff File

master-2.0.x cf8893a9

2013-09-08 04:19

Paul Richards


Details Diff
Add typehint
mod - core/bug_api.php Diff File

master-2.0.x c31aeb23

2013-09-08 04:18

Paul Richards


Details Diff
bug_is_overdue / bug_is_resolved accept MantisBug object as input
mod - bug_update_page.php Diff File
mod - bug_view_inc.php Diff File
mod - core/bug_api.php Diff File
mod - core/columns_api.php Diff File
mod - core/custom_function_api.php Diff File
mod - print_all_bug_page_word.php Diff File
mod - roadmap_page.php Diff File

master-2.0.x fbd44809

2013-09-08 04:06

Paul Richards


Details Diff
Int case
mod - core/print_api.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 328 329 330 331 332 333 334 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last