Changesets: MantisBT

master 26fd7ec6

2003-02-23 09:18

vboctor


Details Diff
Fix 0002993: Read/Write access levels not checked in custom fields

M bug_report_advanced_page.php
- Remove the spacer after the custom fields if no custom fields were printed.
- Make sure that the current user's access level >= required write access level.

M bug_report_page.php
- Remove the spacer after the custom fields if no custom fields were printed.
- Make sure that the current user's access level >= required write access level.

M bug_update_advanced_page.php
- Remove the spacer after the custom fields if no custom fields were printed.
- Make sure that the current user's access level >= required write access level.

M bug_update_page.php
- Remove the spacer after the custom fields if no custom fields were printed.
- Make sure that the current user's access level >= required write access level.

M bug_view_advanced_page.php
- Remove the spacer after the custom fields if no custom fields were printed.
- Make sure that the current user's access level >= required read access level.

M bug_view_page.php
- Remove the spacer after the custom fields if no custom fields were printed.
- Make sure that the current user's access level >= required read access level.

M core/custom_field_api.php
- (custom_field_has_read_access): Default $p_user to null for current user.
- (custom_field_has_write_access_to_project): Check write access based on project id rather than bug id.
This is needed when adding a new bug.
- (custom_field_has_write_access): Changed to use custom_field_has_write_access_to_project(). Also defaulted
$p_user_id to null for current user.
- (custom_field_set_value): Changed to check write access rather than read access level before setting the
value of a custom field.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2002 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0002993
mod - bug_view_page.php Diff File
mod - bug_view_advanced_page.php Diff File
mod - bug_update_page.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - bug_report_page.php Diff File
mod - bug_report_advanced_page.php Diff File
mod - core/custom_field_api.php Diff File
mod - doc/ChangeLog Diff File

master 69e4dff0

2003-02-23 08:17

vboctor


Details Diff
Hide the section for linking custom fields if no custom fields are defined in the
system.

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

master 0708a431

2003-02-23 08:16

vboctor


Details Diff
Removed SQL and some obsolete comments from the header.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2000 <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 871c08b0

2003-02-23 07:44

vboctor


Details Diff
Fix 0002989: Allow managers to manage bugnotes.

M bugnote_view_inc.php
- Allowed users who have 'manage_project_threshold' to manage the notes
by being able to Edit, Delete, Make Private or Make Public. Before only
admins + reporter of the bugnote were able to do such behaviour.

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

master 669c4881

2003-02-23 06:53

vboctor


Details Diff
Fix 0002975: 'date modified' column of bug history in email is to tight.

M core/history_api.php
- Use normal date format instead of complete date format.

M doc/ChangeLog
- Updated change log.

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

master cf907b46

2003-02-22 23:45

vboctor


Details Diff
New config option (display_project_padding): controls the level of padding on project ids.
This is now used in constructing file names for documents attached to projects.

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

master bd8d1ec3

2003-02-22 23:26

vboctor


Details Diff
Enhancement: Added file type icons next to project documents and bug file attachments. Also provided a set of
standard icons. More or better icons are welcome!

M config_defaults_inc.php
- New config option (file_type_icons): provides mapping between file extensions and icons to be used for file
types.

M core/print_api.php
- (print_file_icon): Prints the icon corresponding to the specified filename.

M core/file_api.php
- (file_get_extension): Extracts the file extension given the filename.
- (file_list_attachments): Now prints file type icons next to attached files.

M proj_doc_page.php
- Now prints file type icons next to project documents.

M doc/ChangeLog
- Updated the change log.

A images/excel2icon.gif
A images/fileicon.gif
A images/gificon.gif
A images/htmlicon.gif
A images/jpgicon.gif
A images/mailicon.gif
A images/pdf2icon.gif
A images/pdficon.gif
A images/pngicon.gif
A images/ppticon.gif
A images/texticon.gif
A images/unknownicon.gif
A images/word2icon.gif
A images/zipicon.gif
- Added some more standard document file type icons.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1996 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - proj_doc_page.php Diff File
add - images/pdf2icon.gif Diff File
add - images/mailicon.gif Diff File
add - images/pngicon.gif Diff File
mod - core/file_api.php Diff File
mod - core/print_api.php Diff File
add - images/ppticon.gif Diff File
add - images/texticon.gif Diff File
add - images/unknownicon.gif Diff File
mod - doc/ChangeLog Diff File
add - images/htmlicon.gif Diff File
add - images/jpgicon.gif Diff File
add - images/zipicon.gif Diff File
add - images/gificon.gif Diff File
add - images/excel2icon.gif Diff File
add - images/pdficon.gif Diff File
add - images/word2icon.gif Diff File
mod - config_defaults_inc.php Diff File
add - images/fileicon.gif Diff File

master 4ab2683f

2003-02-22 18:01

Julian Fitzell


Details Diff
Add a changelog entry to note my changes to the notify_flags and default_notify_flags

Also add a nice big descriptive comment in the config file

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1995 <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/ChangeLog Diff File

master 6e6dd27e

2003-02-22 17:14

Julian Fitzell


Details Diff
Fix issue 0002991

* core/html_api.php
(html_footer): remove an extra "

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

master e1842bc0

2003-02-22 14:20

Julian Fitzell


Details Diff
clean up email links a bit

* core/print_api.php
(print_user): don't print a link when the user's email is empty
(get_email_link): process the strings before putting them in a url
(get_email_link_with_subject): process the strings before putting them in
a url

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

master 19f66867

2003-02-22 13:49

Julian Fitzell


Details Diff
* config_defaults_inc.php
(g_display_bug_padding): new config option to control the level of padding
on bug ids
(g_display_bugnote_padding): new config option to control the level of
padding on bugnote ids

* core/bug_api.php
(bug_format_id): use the new display_bug_padding config option

* core/bugnote_api.php
(bugnote_format_id): use the new display_bugnote_padding config option

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

master c9e686f6

2003-02-22 13:29

Julian Fitzell


Details Diff
* print_all_bug_options_inc.php
(edit_printing_prefs):
+ a global was being used for the table name without being imported into
the function. I replace it with a config_get() call.
+ changed the default for $p_user_id to null instead of 0
+ use auth_get_current_user_id()
+ use is_blank()
+ clean up parentheses spacing in several spaces
- generally clean up spacing and add a use of string_attribute()

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

master 50ab2466

2003-02-22 13:17

Julian Fitzell


Details Diff
* core/compress_api.php
(compress_is_enabled): add a comment saying why compressions is disabled
under IIS at the moment

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

master 9a2b1697

2003-02-22 08:29

vboctor


Details Diff
Fix 0002953: View all bugs page empty
- This problem only occurs under IIS and with compression ON, for now
we will automatically disable compression when running on an IIS server.

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

master f27faa8f

2003-02-22 07:22

Julian Fitzell


Details Diff
* manage_user_reset.php: small typo

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

master beaff281

2003-02-22 07:02

Julian Fitzell


Details Diff
This commit really helps improve the speed of any action that involves sending
email. It can be improved more and I've been inspired to clean up the email_api
a little more while I'm in here. Stay tuned for more in the next day or so but
it's 4am now so sleep is in order!

* config_defaults_inc.php
(g_email_receive_own): new config option to control whether users get emails
about their own actions

* core/email_api.php
(get_notify_flag): renamed to email_notify_flag()
(email_collect_recipients): new function to collect the list of users that
should receive emails but without executing several thousand queries and
a much cleaner rewrite
(build_bcc_list):
+ strip down most of it and call the above function
+ use config_get()
(email_build_bug_message):
+ use config_get()
+ call bug_get_extended_row() instead of executing a query
+ call project_get_field() instead of executing a query
(get_bug_summary): remove in favour of bug_get_field()

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1987 <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/ChangeLog Diff File
mod - core/email_api.php Diff File

master 794460a4

2003-02-22 06:53

Julian Fitzell


Details Diff
* core/html_api.php
(html_page_bottom1a): correct a user of $PHP_SELF which no longer exists
in newer versions of PHP

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1986 <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 487f6173

2003-02-22 06:52

Julian Fitzell


Details Diff
* core/project_api.php
(project_get_all_user_rows): add an optimization to avoid a query when the
minimum access level is given as NOBODY

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

master 39074208

2003-02-22 03:26

Julian Fitzell


Details Diff
* core/string_api.php
(string_strip_hrefs): fix the regular expression for hrefs because it was
only allowing a subset of characters in the description part inside the
anchor

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1984 <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 5f1895cb

2003-02-22 00:33

vboctor


Details Diff
Fix 0002980: Escaping fixes are not applied to the bug history table.
+ some other fixes to upgrades (see below).

M admin/upgrade_inc.php
- Some improvements for the "Print All" layout

M admin/upgrades/0_17_escaping_fixes_inc.php
- Added a fix for the double escaping of the history table.
- Added a fix to remove entries in the history there were
added due to escaping errors rather than actual changes.

M admin/upgrades/0_17_inc.php
- Added "id" field to the bug history table.

M doc/ChangeLog
- Updated change log.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1983 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0002980
mod - doc/ChangeLog Diff File
mod - admin/upgrades/0_17_inc.php Diff File
mod - admin/upgrade_inc.php Diff File
mod - admin/upgrades/0_17_escaping_fixes_inc.php Diff File

master 5b261624

2003-02-20 20:40

vboctor


Details Diff
M core/string_api.php
M doc/ChangeLog
- Fix 0002976: Incorrect handling of URLs. The problem was that when a url is at
the end of a line, the string insert hrefs function takes the url as
"http://www.hotmail.com<br". This was fixed by excluding the < from the valid
characters of the link.

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

master b56c8746

2003-02-20 20:26

vboctor


Details Diff
M news_add.php
M doc/ChangeLog
Fix 0002978: URLs not hyperlinked in news_add page.

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

master 9182a251

2003-02-20 19:32

vboctor


Details Diff
M bug_close_page.php
M bug_reminder_page.php
M bug_reopen_page.php
M bug_resolve_page.php
M bug_update_advanced_page.php
M bug_update_page.php
M bug_view_advanced_page.php
M bug_view_page.php
M config_defaults_inc.php
M print_bug_page.php
M view_all_bug_page.php
M core/obsolete.php
M doc/ChangeLog
- Removing file path configs that were not necessary and using direct paths instead.
- Reopen bug page was not including the bugnotes, it now does.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1980 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - bug_reopen_page.php Diff File
mod - bug_view_advanced_page.php Diff File
mod - config_defaults_inc.php Diff File
mod - core/obsolete.php Diff File
mod - bug_close_page.php Diff File
mod - bug_update_page.php Diff File
mod - view_all_bug_page.php Diff File
mod - bug_resolve_page.php Diff File
mod - bug_reminder_page.php Diff File
mod - doc/ChangeLog Diff File
mod - print_bug_page.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - bug_view_page.php Diff File

master 0cdbe65b

2003-02-20 14:44

int2str


Details Diff
* file_api.php:
Connect only once when deleting multiple files via FTP.

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

master a22a4b68

2003-02-20 13:46

int2str


Details Diff
* Fix 0002944: Project files are not deleted when project is deleted.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1978 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0002944
mod - doc/ChangeLog Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 628 629 630 631 632 633 634 ... 700 ... 702 703 704  Next  Last