Changesets: MantisBT
|
master 0a6d57f4 2002-12-22 20:51 Details Diff |
- Added some extra threshold configs to config_defaults_inc.php. The aim is to get away from using hard coded access levels. This would provide better flexibility to Mantis installations that change the standard access levels. This is the main aim for this commit. There is still some hard coded references to access level (specially ADMINISTRATOR). - Added Mantis header for a couple of files that didn't have a header. - Added calls for access_denied() to replace old handling of such cases. - Changed the copyright for Mantis Team to be 2002 - 2003 for all touched files. Thinking about it now, it should have been in a separate commit! git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1676 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - manage_custom_field_edit_page.php | Diff File | ||
| mod - summary_graph_imp_priority.php | Diff File | ||
| mod - summary_graph_imp_category.php | Diff File | ||
| mod - manage_custom_field_update.php | Diff File | ||
| mod - show_source_page.php | Diff File | ||
| mod - manage_proj_cat_delete.php | Diff File | ||
| mod - news_delete.php | Diff File | ||
| mod - bug_file_add.php | Diff File | ||
| mod - manage_proj_attribute_copy.php | Diff File | ||
| mod - bug_report_advanced_page.php | Diff File | ||
| mod - manage_proj_ver_add.php | Diff File | ||
| mod - bug_report_page.php | Diff File | ||
| mod - news_menu_page.php | Diff File | ||
| mod - manage_proj_ver_edit_page.php | Diff File | ||
| mod - account_prof_menu_page.php | Diff File | ||
| mod - summary_page.php | Diff File | ||
| mod - manage_proj_menu_page.php | Diff File | ||
| mod - manage_proj_edit_page.php | Diff File | ||
| mod - summary_graph_imp_resolution.php | Diff File | ||
| mod - manage_proj_attribute_delete.php | Diff File | ||
| mod - manage_proj_attribute_edit_page.php | Diff File | ||
| mod - print_all_bug_options_inc.php | Diff File | ||
| mod - manage_custom_field_create.php | Diff File | ||
| mod - bugnote_add.php | Diff File | ||
| mod - bugnote_update.php | Diff File | ||
| mod - manage_proj_attribute_del_page.php | Diff File | ||
| mod - manage_proj_attribute_add.php | Diff File | ||
| mod - manage_proj_cat_add.php | Diff File | ||
| mod - news_edit_page.php | Diff File | ||
| mod - manage_proj_custom_field_add_existing.php | Diff File | ||
| mod - manage_proj_attribute_update.php | Diff File | ||
| mod - bug_report.php | Diff File | ||
| mod - manage_custom_field_delete.php | Diff File | ||
| mod - summary_jpgraph_page.php | Diff File | ||
| mod - config_defaults_inc.php | Diff File | ||
| mod - manage_proj_cat_update.php | Diff File | ||
| mod - manage_proj_custom_field_remove.php | Diff File | ||
| mod - manage_proj_ver_update.php | Diff File | ||
| mod - bug_vote_add.php | Diff File | ||
| mod - manage_proj_cat_copy.php | Diff File | ||
| mod - view_all_inc.php | Diff File | ||
| mod - manage_custom_field_page.php | Diff File | ||
| mod - summary_graph_imp_status.php | Diff File | ||
| mod - news_update.php | Diff File | ||
| mod - summary_graph_imp_severity.php | Diff File | ||
| mod - manage_user_proj_add.php | Diff File | ||
| mod - proj_doc_page.php | Diff File | ||
| mod - manage_proj_cat_edit_page.php | Diff File | ||
| mod - manage_proj_ver_delete.php | Diff File | ||
| mod - account_prof_add.php | Diff File | ||
| mod - news_add.php | Diff File | ||
| mod - manage_user_proj_delete.php | Diff File | ||
| mod - manage_proj_update.php | Diff File | ||
|
master f182eefc 2002-12-22 16:47 Details Diff |
Moved the add-to-monitor code from email_api.php to bug_reminder.php as per Julian's request. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1675 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - bug_reminder.php | Diff File | ||
| mod - core/email_api.php | Diff File | ||
|
master 0c3cbbbc 2002-12-22 00:08 Details Diff |
New config option (reminder_recipents_monitor_bug): To automatically add recipients of bug reminders to the monitor list of the defect. This is done if the access level is greater than or equal to monitor threshold and the recipient is not the handler or the reporter. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1674 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - config_defaults_inc.php | Diff File | ||
| mod - core/email_api.php | Diff File | ||
| mod - doc/ChangeLog | Diff File | ||
|
master f434456c 2002-12-21 20:55 Julian Fitzell Details Diff |
* bug_report.php make f_file an optional parameter... if file uploading is turned on, the bug reporting pages won't display the file upload field git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1673 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - bug_report.php | Diff File | ||
|
master 8388f58c 2002-12-21 08:33 Details Diff |
Changing the width of columns for the row with the links to be consistent with the advanced page. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1672 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - bug_view_page.php | Diff File | ||
|
master 5ea3d0bc 2002-12-21 05:07 Julian Fitzell Details Diff |
* bug_view_advanced_page.php add a link to send a reminder * bug_view_page.php add a link to send a reminder * config_defaults_inc.php (g_store_reminders): new config option controlling whether to add a bugnote when a reminder is sent (bug_reminder_threshold): new config option controlling access to reminders features * core/email_api.php (email_send): add debug_email functionality (basic) when not use phpMailer (email_bug_reminder): new function to email a bug reminder * core/print_api.php (print_project_user_option_list): new function to print options for users who have access to a project * core/project_api.php (project_get_user_access_level): removed and renamed to... (project_get_local_user_access_level): renamed function (project_get_all_user_rows): removed and renamed to... (project_get_local_user_rows): renamed function (project_get_all_user_rows): new function to return a list of user info for every user who has access to a project (project_copy_users): fix to use renamed functions * core/user_api.php update to use renamed project_api functions * lang/strings_english.txt new strings for bug reminder feature This mostly adds the bug reminder feature based on a patch provided by Yves Durasnel <huile@olyves.com>. I rewrote project_get_all_user_rows() and added the debug_email functionality in core_email since I needed it to test. I should have applied it as a separate commit but it was too much of a pain. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1671 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - bug_view_advanced_page.php | Diff File | ||
| mod - core/project_api.php | Diff File | ||
| mod - config_defaults_inc.php | Diff File | ||
| add - bug_reminder_page.php | Diff File | ||
| add - bug_reminder.php | Diff File | ||
| mod - lang/strings_english.txt | Diff File | ||
| mod - doc/ChangeLog | Diff File | ||
| mod - core/print_api.php | Diff File | ||
| mod - core/email_api.php | Diff File | ||
| mod - bug_view_page.php | Diff File | ||
| mod - core/user_api.php | Diff File | ||
|
master 22171cfb 2002-12-17 17:30 Julian Fitzell Details Diff |
Remove the partial implementation of "publishing bugs" that victor committed on Aug 23, 2002. We may add this feature again in the future but it needs more thought first. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1670 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - core/helper_api.php | Diff File | ||
| mod - doc/ChangeLog | Diff File | ||
| mod - config_defaults_inc.php | Diff File | ||
| mod - bug_view_advanced_page.php | Diff File | ||
|
master b1f7e2b3 2002-12-17 06:39 Julian Fitzell Details Diff |
Cleanup file upload handling some more. I added some new config options to allow you to set thresholds for project file uploading and bug file uploading. I added a config option to control whether reporters can always add files to their own bugs. I added two new file_api functions that can be called to check whether a user can upload a file. It takes into account access thresholds, whether file uploading is enabled, etc. These functions should be used everywhere in the code... if they're inadequate we can improve them. * bug_file_add.php use new file_api functions for file upload access check * bug_file_upload_inc.php check if we can upload (using new file_api functions) and return if not (don't error, that's not very useful) * bug_report.php use new file_api functions for file upload access check * bug_report_advanced_page.php use new file_api functions for file upload access check * bug_report_page.php use new file_api functions for file upload access check * bug_view_advanced_page.php use new file_api functions and seperate checks for viewing attachments from checks for uploading new ones * bug_view_page.php use new file_api functions and seperate checks for viewing attachments from checks for uploading new ones * config_defaults_inc.php (g_upload_project_file_threshold): new option controlling the access level needed to upload project files (g_upload_bug_file_threshold): new option controlling the access level needed to upload files attached to a bug (g_allow_reporter_upload): new option that allows reporters to upload files to their reported bugs even if their access level is lower than that specified by the above option * proj_doc_add.php use new file_api functions for file upload access check * proj_doc_add_page.php use new file_api functions for file upload access check * core/file_api.php (file_allow_project_upload): new function that determines whether a user can upload a file to thegiven project (file_allow_bug_upload): new function that determines whether a user can upload a file to the given bug (or to a new bug in the current project) * core/html_api.php (print_doc_menu): use new file_api functions to determined whether to display the "Add File" link * doc/ChangeLog add comments about new config options git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1669 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - doc/ChangeLog | Diff File | ||
|
master 60c81700 2002-12-17 06:35 Julian Fitzell Details Diff |
Cleanup file upload handling some more. I added some new config options to allow you to set thresholds for project file uploading and bug file uploading. I added a config option to control whether reporters can always add files to their own bugs. I added two new file_api functions that can be called to check whether a user can upload a file. It takes into account access thresholds, whether file uploading is enabled, etc. These functions should be used everywhere in the code... if they're inadequate we can improve them. * bug_file_add.php: use new file_api functions for file upload access check * bug_file_upload_inc.php: check if we can upload (using new file_api functions) and return if not (don't error, that's not very useful) * bug_report.php: use new file_api functions for file upload access check * bug_report_advanced_page.php: use new file_api functions for file upload access check * bug_report_page.php: use new file_api functions for file upload access check * bug_view_advanced_page.php: use new file_api functions and seperate checks for viewing attachments from checks for uploading new ones * bug_view_page.php: use new file_api functions and seperate checks for viewing attachments from checks for uploading new ones * config_defaults_inc.php (g_upload_project_file_threshold): new option controlling the access level needed to upload project files (g_upload_bug_file_threshold): new option controlling the access level needed to upload files attached to a bug (g_allow_reporter_upload): new option that allows reporters to upload files to their reported bugs even if their access level is lower than that specified by the above option * proj_doc_add.php: use new file_api functions for file upload access check * proj_doc_add_page.php: use new file_api functions for file upload access check * core/file_api.php (file_allow_project_upload): new function that determines whether a user can upload a file to thegiven project (file_allow_bug_upload): new function that determines whether a user can upload a file to the given bug (or to a new bug in the current project) * core/html_api.php (print_doc_menu): use new file_api functions to determined whether to display the "Add File" link * doc/ChangeLog: add comments about new config options git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1668 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - bug_file_add.php | Diff File | ||
| mod - bug_report.php | Diff File | ||
| mod - bug_file_upload_inc.php | Diff File | ||
| mod - bug_view_page.php | Diff File | ||
| mod - core/html_api.php | Diff File | ||
| mod - bug_view_advanced_page.php | Diff File | ||
| mod - proj_doc_add.php | Diff File | ||
| mod - config_defaults_inc.php | Diff File | ||
| mod - bug_report_advanced_page.php | Diff File | ||
| mod - bug_report_page.php | Diff File | ||
| mod - core/file_api.php | Diff File | ||
| mod - proj_doc_add_page.php | Diff File | ||
|
master b032398a 2002-12-17 06:06 Julian Fitzell Details Diff |
* core/bug_api.php (bug_is_user_reporter): new function to check if the user is the bug's reporter (bug_is_user_handler): new function to check if the user is the bug's handler git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1667 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - core/bug_api.php | Diff File | ||
|
master d6f1b855 2002-12-17 06:04 Julian Fitzell Details Diff |
* core/config_api.php (config_obsolete): + support an array as the second param + cleanup the output a bit + add a comment about using WARNINGs in the future + don't exit, there might be more than one obsolete variable that can be fixed at the same time git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1666 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - core/config_api.php | Diff File | ||
|
master 7a7fb4dc 2002-12-17 06:00 Julian Fitzell Details Diff |
just add a comment so we know which version these obsolete entries are from git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1665 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - core/obsolete.php | Diff File | ||
|
master 7ff35416 2002-12-17 03:33 Julian Fitzell Details Diff |
cleanup and categorize changes for this version... remove a few obsolete ones... update naming, etc. There are probably tons more problems... feel free to continue cleaning this up git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1664 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - doc/ChangeLog | Diff File | ||
|
master ad17cd08 2002-12-17 03:32 Julian Fitzell Details Diff |
add entries for all the $g_*_color variables that we got rid of ages ago git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1663 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - core/obsolete.php | Diff File | ||
|
master 249d88f4 2002-12-17 03:08 Julian Fitzell Details Diff |
rename $g_summary_product_colon_category to $g_summary_category_include_project The name was confusing because it referred to 'product' instead of 'project' and the 'colon' portion seemed odd. I added an entry to obsolete.php in case anyone is already using this (the original option is only in CVS code, not in any release) git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1662 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - core/summary_api.php | Diff File | ||
| mod - config_defaults_inc.php | Diff File | ||
| mod - core/obsolete.php | Diff File | ||
|
master a3592da4 2002-12-17 02:59 Julian Fitzell Details Diff |
* config_defaults_inc.php: remove obsolte comment about g_compress_html since we now require 4.0.4 anyway git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1661 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - config_defaults_inc.php | Diff File | ||
|
master 979af82b 2002-12-17 01:53 Julian Fitzell Details Diff |
* config_defaults_inc.php (g_show_project_menu_bar): new config option added with default of OFF * core/html_api.php (print_page_top2): added a call to print_project_menu_bar() when the show_project_menu_bar config option is turned ON (print_project_menu_bar): new function to print out a menu bar listing all the projects * doc/Changelog - added note about new show_project_menu_bar config option Original patch by Christian Mayer <Christian.Mayer@hexal.de> though I moved stuff around a bunch git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1660 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - core/html_api.php | Diff File | ||
| mod - doc/ChangeLog | Diff File | ||
| mod - config_defaults_inc.php | Diff File | ||
|
master 29742160 2002-12-10 16:02 Julian Fitzell Details Diff |
* html_api.php (print_manage_menu): enclose the custom field menu item in an if check until we're done developing git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1659 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - core/html_api.php | Diff File | ||
|
master 7516220c 2002-12-10 08:49 Details Diff |
Fixed a problem in string_process_bug_link() when replace #<bug number> while constructing an e-mail message (i.e $p_anchor = false). It used to use /e with non-php code. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1658 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - core/string_api.php | Diff File | ||
|
master 09c2d64b 2002-12-10 08:06 Details Diff |
Added the file-upload-enabled-checks to advanced bug view as well. This script also contained some suspicious code (if (!is_blank($f_check)) $t_show_attachments = true?), which I removed. Anyone have an idea why this was? git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1657 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - bug_view_page.php | Diff File | ||
| mod - bug_view_advanced_page.php | Diff File | ||
|
master de92dc64 2002-12-10 07:52 Details Diff |
Changed bug_view_page.php nto to include bug_file_upload_inc.php when file uploads were disabled - both because they can't do that anyway and because this triggered an error git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1656 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - bug_view_page.php | Diff File | ||
|
master f4f2c583 2002-12-10 07:27 Details Diff |
Implemented 0002773 when e-mail is sent by phpmailer. Description "Add an option to allow the admin to debug the e-mail feature by specifying a test e-mail account that should receive all e-mail messages. When this e-mail is supplied, the e-mail should only be sent to this account, while the original To, CC, and BCC should be included as part of the message body." What is implemented "This feature is now supported when phpmailer is used. Following are the details: - If e-mail notifications is OFF, no e-mails will be sent at all, even if the debugging feature is ON. - $g_debug_email can be set to OFF or an e-mail address. The default value is OFF. If it is not OFF, then the debug feature is activated, where all messages are only sent to the specified address, while including the original to, cc, bcc in the message body. " git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1655 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - doc/ChangeLog | Diff File | ||
| mod - core/email_api.php | Diff File | ||
| mod - config_defaults_inc.php | Diff File | ||
|
master c2f9d2d1 2002-12-08 06:04 Details Diff |
In a hurry, I forgot to update bug_report_advanced_page.php (removed colons + support for multi-lingual support). git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1654 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - bug_report_advanced_page.php | Diff File | ||
|
master 0aefaf05 2002-12-08 05:54 Details Diff |
- Added lang_exists() to check if a string exists without generating errors. - Added lang_get_defaulted() to get a string if found, otherwise return a default. - Used lang_get_defaulted() to attempt getting the string corresponding to the custom field name (that is why I used to call it caption), if not found, the same string is returned (in case the user does not care for multi-lingual support). The translation strings for the custom fields should be defined in custom_strings_inc.php. - Removed colons from bug report page, since this was the only one with colons. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1653 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
| mod - bug_update_page.php | Diff File | ||
| mod - bug_update_advanced_page.php | Diff File | ||
| mod - core/lang_api.php | Diff File | ||
| mod - bug_view_advanced_page.php | Diff File | ||
| mod - bug_view_page.php | Diff File | ||
| mod - bug_report_page.php | Diff File | ||
|
master 47ebbbce 2002-12-08 03:33 Details Diff |
- Generating an error if "New Custom Field" is called with empty name or a string that only has (|'s and spaces). - Changed access right required to add new custom fields to ADMINISTRATOR rather than MANAGER. - Adjusting new lines for manage_custom_field_page.php - Added more fields to the list of custom fields + changes the location of the add custom field form. - Changed the captions of the fields to make it start with upper-case like the rest of the forms. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1652 <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 - manage_custom_field_create.php | Diff File | ||
| mod - manage_custom_field_page.php | Diff File | ||