MantisBT: master 9fdced85

Author Committer Branch Timestamp Parent
vboctor master 2004-05-17 07:39 master 8d781f18
Affected Issues  0003473: g_bug_resolved_status_threshold variable ignored
 0003567: Reminders can be added for a readonly bug
Changeset

Enh 0003152: Adding notes and documents to resolved bugs.
Enh 0003505: Add a Bugnote to a resolved bug.
Enh 0003811: Allow private flag to be unset on resolved bugs.
Fix 0003473: g_bug_resolved_status_threshold variable ignored.
Fix 0003567: Reminders can be added for a readonly bug.

M config_defaults_inc.php

  • New Config: bug_readonly_status_threshold (default RESOLVED). Status threshold after which the issue is considered readonly.
  • New Config: update_readonly_bug_threshold (default MANAGER). Status threshold after which the user is allowed to edit readonly issues.

M core/email_api.php

  • (email_format_bug_message): Use configurable resolved status.

M core/bug_api.php

  • (bug_is_readonly): Modified to return true if issue is readonly, and user doesn't have access level to edit readonly issues.
  • (bug_resolve): Modified to use bug_readonly_status_threshold rather than set status to hard-coded status RESOLVED.

M bugnote_add.php
M bug_reminder_page.php
M bug_reminder.php
M bug_update_advanced_page.php
M bug_update_page.php

  • Check the readonly flag.

M view_all_inc.php

  • Check the readonly flag and only display the edit pen for non-readonly issues, or if the user has threshold to edit readonly issues.

M bugnote_add_inc.php
M bugnote_edit_page.php
M bugnote_set_view_state.php
M bugnote_update.php

  • Check the readonly flag rather than the resolved status.

M bug_view_advanced_page.php
M bug_view_page.php

  • Check the readonly flag for the file upload.

M core/constant_inc.php

  • Constant for new error message for attempting to edit readonly issues.

M core/html_api.php

  • Use bug_is_readonly().
  • Don't display Resolve button if issue is already resolved.

M lang/strings_english.txt

  • New error message for attempting to edit a readonly issue.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2537 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9

mod - lang/strings_english.txt Diff File
mod - core/constant_inc.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - bugnote_edit_page.php Diff File
mod - bug_reminder_page.php Diff File
mod - core/email_api.php Diff File
mod - bug_view_page.php Diff File
mod - bug_reminder.php Diff File
mod - bug_view_advanced_page.php Diff File
mod - config_defaults_inc.php Diff File
mod - bugnote_add.php Diff File
mod - core/bug_api.php Diff File
mod - view_all_inc.php Diff File
mod - bugnote_update.php Diff File
mod - bugnote_set_view_state.php Diff File
mod - bug_update_page.php Diff File
mod - core/html_api.php Diff File
mod - doc/ChangeLog Diff File
mod - bugnote_add_inc.php Diff File