Changesets: MantisBT

master c009440f

2003-02-26 01:44

int2str


Details Diff
* account_prefs_update.php:
Fixed problem where user wasn't able to change his own settings anymore.

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

master 8f3cf72e

2003-02-25 18:51

vboctor


Details Diff
Fix 0003005: custom_field_api.php does not work on PHP 4.0.6

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

master 6f9e569d

2003-02-25 16:51

int2str


Details Diff
* view_all_inc.php:
Moved "resolved" checkbox in front of "closed" checkbox.

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

master 43d28ca8

2003-02-25 16:37

int2str


Details Diff
* doc/Changelog:
Added "hide resolved" enhancement

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

master 43fe1ad7

2003-02-25 16:23

int2str


Details Diff
* main_page.php:
Added hide resolved filter to links on first page to reflect the
database query which is used to calculate the number of open bugs
submitted by or assigned to the current user.
This fixes bug 2960.

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

master 8fcf8015

2003-02-25 16:21

int2str


Details Diff
* lang/strings_german.txt:
Added new strings.

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

master cab7ee5e

2003-02-25 13:15

int2str


Details Diff
* core/filter_api.php:
Fixed spacing on if clauses.

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

master 795e50b3

2003-02-25 12:46

Julian Fitzell


Details Diff
Fix issue 0003002 - "User 'administrator' is not able to change other users settings"

* account_prefs_update.php
+ check if $f_user_id is unprotected instead of the current user
+ if f_user_id is not the current user, perform an additional access check

NOTE: I'm not sure we should be sharing this file between the account section and
manage section. Having to add that conditional access check is a little ugly and
who knows if the pages will always be the same. Most of the code should be in an
API function anyway.

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

master 55f24c1e

2003-02-25 10:50

int2str


Details Diff
* Removed relative table width to allow better spacing on small screens.

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

master ed86138c

2003-02-25 10:48

int2str


Details Diff
* Added 'hide resolved' filter to view_all_bug_page.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2024 <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 - lang/strings_english.txt Diff File
mod - view_all_set.php Diff File
mod - core/filter_api.php Diff File
mod - view_all_inc.php Diff File
mod - core/current_user_api.php Diff File

master d38f5c41

2003-02-25 09:42

vboctor


Details Diff
Fix 0000838: Show attached images as images instead of links.

M config_defaults_inc.php
- New config option (preview_attachments_inline_max_size): Configure the maximum size for an attachment to be
viewed inline. This feature can be disabled by setting this value to 0. Default is 0.

M core/file_api.php
- (file_list_attachments): Added support for attachment previewing.

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

master 5022052e

2003-02-25 09:02

vboctor


Details Diff
Fix 0002992: Unable to attach files to bugs
This bug also applied to attaching documents to projects. The bug only occurs on Windows server. The reason
is that Windows uses \ where unix uses /. Since \ needs escaping and / don't, the problem only occured under
Windows.

I did a bit of cleanup as well. However, more work can be done in this area, and more factoring of common
code between attaching files to bugs, and documents to projects can happen.

M core/file_api.php
- (file_list_attachments): Order by date_added, rather than no ordering.
- (file_add):
- use non-escaped filename in constructing the new filename.
- removed some unnecessary escaping, like escaping of temp filename which is never saved to the db.
- some of the fields were not escaped before being saved to the db.

M bug_file_add.php
- Added operational successful message before the proceed link.

M proj_doc_add.php
- Used gpc_get_file() instead of directly accessing $HTTP_POST_FILES.
- If document prefix is empty, do not add the dash following it.
- Added support for FTP storage.
- Escaping of variables.

M proj_doc_edit_page.php
- Added the file type icon to the edit form.
- Hyperlinked the icon / filename to the file.

M proj_doc_page.php
- Use normal date format rather than complete date format.
- Use manage_project_threshold to give access to editing documents (rather than MANAGER). This can have
separate config option in the future.
- Minor changes in the layout.

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

master ac1ecefa

2003-02-25 05:11

vboctor


Details Diff
M core/file_api.php
- Changed file_get_display_name() to handle doc-001-xyz.zip format.

M proj_doc_edit_page.php
- Use file_get_display_name() to display the original filename rather
than the file system file name.

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

master 49371dc4

2003-02-25 03:50

vboctor


Details Diff
M config_defaults_inc.php
- Added document_files_prefix configuration option. This is the prefix of the
file system names for files uploaded to projects.

M lang/strings_english.txt
- Removed $s_document_files_prefix since it is now a configuration option.

M proj_doc_add.php
- Changed to use the configuration option rather than the localised string. Otherwise
depending on the user who uploaded the file, the prefix will be different.

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

master 20741c9e

2003-02-24 09:27

puklos


Details Diff
Updated polish strings.

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

master e16145da

2003-02-24 08:09

jlatour


Details Diff
Fix: cookie not found error when opening login_page.php

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

master 31f8f7f3

2003-02-24 05:51

Julian Fitzell


Details Diff
Thanks to Slawek Puklo <puklos@sdf-eu.org> for pointing out that htmlentities() converts too many entities. Apparently it causes problems with characters above ASCII 127 and is overkill for our needs here anyway

* core/string_api.php
(string_display): use htmlspecialchars() instead of htmlentities()
(string_textarea): use htmlspecialchars() instead of htmlentities()
(string_attribute): use htmlspecialchars() instead of htmlentities()
(string_url): use rawurlencode() instead of htmlentities(urlencode())

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

2003-02-24 05:32

Julian Fitzell


Details Diff
remove all remaining instances where we use '000000' in the code and replace with the number 0

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2016 <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 - summary_graph_imp_priority.php Diff File
mod - summary_graph_imp_severity.php Diff File
mod - core/news_api.php Diff File
mod - print_all_bug_page_word.php Diff File
mod - admin/css/view_inc.php Diff File
mod - bug_report_advanced_page.php Diff File
mod - summary_graph_imp_resolution.php Diff File
mod - print_all_bug_page.php Diff File
mod - summary_graph_imp_category.php Diff File
mod - core/summary_api.php Diff File
mod - core/graph_api.php Diff File
mod - summary_page.php Diff File
mod - print_all_bug_page_excel.php Diff File
mod - core/print_api.php Diff File
mod - doc/installation.html Diff File
mod - summary_graph_imp_status.php Diff File

master a54fa922

2003-02-24 05:19

Julian Fitzell


Details Diff
remove all traces of g_view_all_cookie_val by using gpc_get_cookie()

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2015 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - print_all_bug_page_word.php Diff File
mod - print_all_bug_page.php Diff File
mod - print_all_bug_page_excel.php Diff File
mod - doc/configuration.html Diff File
mod - config_defaults_inc.php Diff File

master c3067e49

2003-02-24 05:15

Julian Fitzell


Details Diff
Remove all traces of g_manage_cookie_val by using gpc_get_cookie()

Also fix up manage_user_page so it actually uses the cookie again (it was using an isset() check instead of a straight boolean comparison of $f_save)

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2014 <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 - manage_user_page.php Diff File
mod - doc/configuration.html Diff File

master af0bac51

2003-02-24 05:11

Julian Fitzell


Details Diff
* core/lang_api.php
(lang_load_default): oops, not sure what I was thinking... string_cookie is
the user string cookie not the language

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

master 64aa9e57

2003-02-24 04:52

Julian Fitzell


Details Diff
Remove all traces of g_string_cookie_val.

I removed a check for that cookie being set from print_source_link() since I assume the only reason was to make sure it wasn't a spider and the access check will ensure that as well.

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

master 47722eae

2003-02-24 04:44

Julian Fitzell


Details Diff
Remove all references of g_project_cookie_val. In most cases this meant creating a $t_project_id and setting it with helper_get_current_project().

I don't have jpgraph installed so it would be nice if someone else could test this there. But there should be no change of functionality and the API files seem to parse fine.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2011 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - print_all_bug_page.php Diff File
mod - graphs/graph_by_category.php Diff File
mod - summary_graph_imp_resolution.php Diff File
mod - config_defaults_inc.php Diff File
mod - summary_graph_imp_severity.php Diff File
mod - graphs/graph_by_severity_status.php Diff File
mod - proj_doc_page.php Diff File
mod - graphs/graph_reported_by_me.php Diff File
mod - summary_graph_imp_priority.php Diff File
mod - graphs/graph_by_severity.php Diff File
mod - graphs/graph_by_cumulative.php Diff File
mod - summary_jpgraph_page.php Diff File
mod - proj_doc_add.php Diff File
mod - summary_graph_imp_category.php Diff File
mod - core/graph_api.php Diff File
mod - print_all_bug_page_word.php Diff File
mod - graphs/graph_by_daily_delta.php Diff File
mod - core/print_api.php Diff File
mod - summary_page.php Diff File
mod - doc/configuration.html Diff File
mod - graphs/graph_by_release_delta.php Diff File
mod - summary_graph_imp_status.php Diff File
mod - print_all_bug_page_excel.php Diff File
mod - core/summary_api.php Diff File
mod - graphs/graph_assigned_to_me.php Diff File

master ee907984

2003-02-24 03:55

Julian Fitzell


Details Diff
* bug_file_delete.php: fix a typo that prevented deleting files

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

master cc1e52aa

2003-02-24 03:45

Julian Fitzell


Details Diff
* bug_file_delete.php: fix a typo that prevented deleting files

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