Changesets: MantisBT

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

vboctor


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

jlatour


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

jlatour


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

vboctor


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

vboctor


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

vboctor


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

vboctor


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

master 8e0c80b9

2002-12-06 13:48

Julian Fitzell


Details Diff
Have to run so I'm committing this work in progress

- Renamed several manage_proj_custom_field_* files to manage_custom_field_*
- Added a mange_custom_field_page.php
- Added a 'Manage Custom Fields' item to the manage menu
- Split custom_field_get_ids() into a new function custom_field_get_bound_ids() and updated references to it

My theory is that we can let managers go to the manage custom fields page but they'll only see a list of fields and their types, etc. Administrators will be able to actually modify them and add/delete them.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1651 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/custom_field_api.php Diff File
mod - print_all_bug_page_word.php Diff File
mod - print_bug_page.php Diff File
mod - bug_report.php Diff File
mod - bug_view_page.php Diff File
mod - core/html_api.php Diff File
add - manage_custom_field_page.php Diff File
mod - manage_proj_edit_page.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - core/email_api.php Diff File
mod - bug_update.php Diff File
mod - bug_update_page.php Diff File
mod - bug_view_advanced_page.php Diff File
mod - lang/strings_english.txt Diff File
mod - bug_report_page.php Diff File
mod - bug_report_advanced_page.php Diff File

master 25f479d9

2002-12-06 13:24

Julian Fitzell


Details Diff
remove colons for consistency

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1650 <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 - lang/strings_german.txt Diff File

master 39c05017

2002-12-06 13:01

Julian Fitzell


Details Diff
This commit moves the 'sequence' column from mantis_custom_field_table to mantis_custom_field_project_table. You'll need to either drop your custom field tables and add new ones, or manually remove the sequence column from the former and add it to the latter before the code will work again.

There is now currently no interface to modify the sequence for a binding. I figure we can do this when we rework the interface.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1649 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/custom_field_api.php Diff File
mod - manage_proj_custom_field_update.php Diff File
mod - manage_proj_custom_field_edit_page.php Diff File

master 10aca0bc

2002-12-06 10:01

vboctor


Details Diff
- Added support for custom fields in e-mail notifications.

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

master f2e06158

2002-12-06 04:12

vboctor


Details Diff
Some custom fields work:
- bug_delete() did not delete custom values associated with the bug.
- project_delete() did not delete the custom field associations.
- Removed colons after field name in View Bug (Advanced) Pages as it was not consistent
with the rest of the fields.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1647 <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/bug_api.php Diff File
mod - core/project_api.php Diff File
mod - bug_view_page.php Diff File

master ff5b7fab

2002-12-05 04:07

Julian Fitzell


Details Diff
I started playing with the custom field stuff tonight and these are the fixes I had to make to get it working. I also cleaned up the manage_* pages a little.

---

* manage_proj_custom_field_add_existing.php:
+ use gpc_* to get form fields
+ custom_field_bind() errors if there's a problem so there's no need to display our own error
* manage_proj_custom_field_add_new.php:
+ use gpc_* to get form fields
+ use is_blank() instead of ==''
+ add $t_ prefix to $duplicate
* manage_proj_custom_field_delete.php:
+ use gpc_* to get form fields
+ remove unneeded use of $t_affected_projects
+ we can't print $query since such a variable doesn't exist. Also custom_field_delete() errors itself.
* manage_proj_custom_field_edit_page.php:
+ use gpc_* to get form fields
+ correct spelling of sequence as 'seqence'
* manage_proj_custom_field_remove.php:
+ use gpc_* to get form fields
+ custom_field_remove() errors if there's a problem so there's no need to display our own error
* manage_proj_custom_field_update.php:
+ use gpc_get_bool() to get f_advanced
+ correct spelling of sequence as 'seqence'
+ custom_field_update() errors if there's a problem so there's no need to display our own error
* core/custom_field_api.php
(custom_field_ensure_name_unique): new function that call custom_field_is_name_unique() and errors if it returns false
(custom_field_create): make sure the name is unique before creating a new field
(custom_field_bind): move db_prepare_* calls to top of function for clarity
(custom_field_update): use db_prepare_bool() for the advanced field
* lang/strings_english.txt
(s_custom_field_seqence): correct spelling of sequence as 'seqence' (in variable name and contents)
(s_custom_field_type_enum_string): correct spelling of enumeration as 'enummeration'
* lang/strings_german.txt
(s_custom_field_seqence): rename to s_custom_field_sequence (spelling error)

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1646 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - manage_proj_custom_field_add_existing.php Diff File
mod - manage_proj_custom_field_update.php Diff File
mod - manage_proj_custom_field_edit_page.php Diff File
mod - lang/strings_english.txt Diff File
mod - core/custom_field_api.php Diff File
mod - lang/strings_german.txt Diff File
mod - manage_proj_custom_field_remove.php Diff File
mod - manage_proj_custom_field_delete.php Diff File
mod - manage_proj_custom_field_add_new.php Diff File

master 4b3fcb76

2002-12-05 02:23

Julian Fitzell


Details Diff
* custom_field_api.php
(mantis_custom_field_table): the key on project_id is not longer valid since there is no project_id column. Add a key on 'name' instead

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

master b093f6e7

2002-12-04 14:42

Julian Fitzell


Details Diff
* ldap_api.php
(ldap_connect_bind): correct mixup between DN and password

Patch by Robert Foster <rfoster@mountainvisions.com.au>

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

master 5981c530

2002-12-04 06:17

Julian Fitzell


Details Diff
add the copyright to mantis developers to this file

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

master e0065992

2002-12-04 05:31

Julian Fitzell


Details Diff
Added Yves Durasnel as a contributor

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

master 7299813c

2002-12-04 05:30

Julian Fitzell


Details Diff
* doc/README.LDAP: correct a few typos using $t_ instead of $g_
* doc/configuration.html: change g_ldap_organisation to g_ldap_organization
* config_defaults_inc.php
(g_ldap_bind_dn): add config variable
(g_ldap_bind_passwd): add config variable
(g_ldap_organisation): removed in favour of g_ldap_organization
(g_ldap_organization): replacing g_ldap_organisation for consistency
(g_ldap_port): add config variable
* core/ldap_api.php: change g_ldap_organisation to g_ldap_organization
* core/obsolete.php: add an entry to notify that g_ldap_organisation is obsolete and g_ldap_organization is now used

I hope this is right. I originally was fixing the problem that Robert's new config options weren't initialized in the default config file. Then I noticed the two typos in the README. Then I noticed that our config option spelled organisation with an 's' but the LDAP field name (and most of the example of organizationName I could find relating to LDAP on Google spelled it with a 'z'.

If anyone objects, I can revert this. I wouldn't normally rename a variable name because of an alternate spelling but this seems to be a case where we're not using what everyone else uses in this context.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1641 <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 - doc/configuration.html Diff File
mod - core/obsolete.php Diff File
mod - core/ldap_api.php Diff File
mod - doc/README.LDAP Diff File

master dc57aff4

2002-12-04 05:27

Julian Fitzell


Details Diff
* core/print_api.php
(print_project_user_option_list): renamed to print_project_access_levels_option_list()
(print_project_access_levels_option_list): new name for print_project_user_option_list()
* manage_user_page.php: change call from print_project_user_option_list() to print_project_access_levels_option_list()
* proj_user_menu_page.php: change call from print_project_user_option_list() to print_project_access_levels_option_list()

This is part of a patch from Yves Durasnel <yves@durasnel.com>.

This function was poorly named and he was adding a function that really wanted the name this function used to use.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1640 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - manage_user_page.php Diff File
mod - proj_user_menu_page.php Diff File
mod - core/print_api.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 643 644 645 646 647 648 649 ... 700 ... 703 704 705  Next  Last