Changesets: MantisBT

master a7cafe7d

2003-01-21 02:33

Julian Fitzell


Details Diff
* core/filter_api.php:
(filter_get_bug_rows): only select bugs from projects that are enabled, no matter how the filter is set

Thanks to Didier Bretin (did) on IRC for reporting this bug

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

2003-01-21 01:10

int2str


Details Diff
* config_defaults_inc.php: Changed color name and fixed typo

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

2003-01-20 07:12

Julian Fitzell


Details Diff
* doc/configuration.html: add info about LDAP config options

Patch from Robert Foster <rfoster@mountainvisions.com.au> with a minor tweak to the description of $g_ldap_organization by me. (yeah fine, I still haven't gone to bed... but now I am)

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

master e3d544b7

2003-01-20 07:01

Julian Fitzell


Details Diff
ugh... fix line endings. I really need to make my editor do linux line endings by default (I work in windows on files on a samba share)

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1748 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - admin/index.php Diff File
mod - admin/upgrades/0_13_inc.php Diff File
mod - admin/upgrades/0_17_inc.php Diff File
mod - admin/upgrades/0_15_inc.php Diff File
mod - admin/upgrades/0_16_inc.php Diff File
mod - admin/upgrades/0_14_inc.php Diff File

master 7fa70b51

2003-01-19 18:56

vboctor


Details Diff
The aim of this commit is to:
- Auto-generate names for user accounts that no longer exists. This will still
maintain the identity of the accounts, rather than having no differentiation
between these accounts.
- Adding the handling for mailto links when enabled in the cases where it was
missed (history events, view all bugs page).

* config_defaults_inc.php:
- Added new configuration option: prefix_for_deleted_users which sets
the prefix to be used for accounts that no longer exists. For example, if
prefix is 'user' and user 32 no longer exists, then the generated name is "user32".

* doc/Changelog:
- Updated the change log.

* history_inc.php:
(history_get_events_array):
- Returning the user id, not just the user name.
- Returning the auto-generated user name if the user no longer exists.

M view_all_inc.php
- Use print_user() to print the user name. This is in order to support the
email link when enabled.

M core/history_api.php
- Using print_user() to print the user name. This is in order to support the
email link.
- Before the user name and (account no longer exists) were not displayed if the
user account was deleted.
M core/user_api.php
(user_get_name): Support auto-generation of names as per the configuration.
M core/print_api.php
(print_user): Changed to re-use the user_get_name() rather than handling user
accounts that no longer exists.
(print_user_with_subject): Changed to re-use the user_get_name() rather than
handling user accounts that no longer exists.

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

master 8e1139b7

2003-01-18 20:35

Julian Fitzell


Details Diff
* core/timer_api.php
(print_times): remove unnecessary initialization of unused variable. We
should really rename these variables to use $t_ all round but this will
do for now.

Thanks to Michale Kunze <mrspock@datenschleuder.org> for catching it

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

master b259e013

2003-01-18 03:43

int2str


Details Diff
* config_defaults_inc.php: Changed default threshold from DEVELOPER to NOBODY

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

2003-01-17 21:14

Julian Fitzell


Details Diff
Just adding $Id$ CVS headers to all the files up to the point I've cleaned

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1744 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - manage_custom_field_create.php Diff File
mod - manage_custom_field_page.php Diff File
mod - login_cookie_test.php Diff File
mod - core.php Diff File
mod - login_anon.php Diff File
mod - manage_custom_field_edit_page.php Diff File
mod - history_inc.php Diff File
mod - documentation_page.php Diff File
mod - login_page.php Diff File
mod - manage_custom_field_delete.php Diff File
mod - config_defaults_inc.php Diff File
mod - login_select_proj_page.php Diff File
mod - manage_custom_field_update.php Diff File
mod - jump_to_bug.php Diff File
mod - login.php Diff File
mod - main_page.php Diff File
mod - logout_page.php Diff File
mod - config_inc.php.sample Diff File
mod - constant_inc.php Diff File
mod - csv_export.php Diff File
mod - index.php Diff File
mod - file_download.php Diff File

master 2968521d

2003-01-17 21:09

Julian Fitzell


Details Diff
* bug_actiongroup_page.php: replace a print_meta_redirect() + exit() with a
call to print_header_redirect()

* signup_page.php: remove an unnecessary exit() call after printing a
redirect header

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

master 81ad05d4

2003-01-16 05:36

Julian Fitzell


Details Diff
Cleanup of manage_custom_field_*.php

Some modifications elsewhere but only those files have been thoroughly done.

* config_defaults_inc.php:
(g_custom_field_link_threshold): new option to provide a threshold for users
who can link and unlink custom fields but not delte, create, or modify them
(g_custom_field_edit_after_create): new option to control whether a user is
directed to edit a custom field after creating it

* manage_custom_field_create.php:
+ remove multiple field creation functionality
+ trigger errors properly and immediately
+ check whether to redirect to the edit page or the main custom field page

* manage_custom_field_delete.php:
+ add f_return parameter and redirect there when done
+ don't prevent a user from deleting a used custom field, just make them
confirm it
+ always confirm deletion of a field

* manage_custom_field_edit_page.php:
+ add f_return parameter
+ use check_checked()

* manage_custom_field_page.php:
+ add a column to list the number of projects in which the field is being used

* manage_custom_field_update.php:
+ add f_return parameter and redirect there when done

* manage_proj_custom_field_add_existing.php:
* manage_proj_custom_field_remove.php:
+ add an additional check to make the user is higher than
custom_field_link_threshold

* manage_proj_edit_page.php:
+ check custom_field_link_threshold before showing the custom field section
+ check manage_custom_fields before displaying the edit link

* core/custom_field_api.php:
(custom_field_create): add a check to make sure the field name isn't blank

* core/helper_api.php:
(helper_ensure_confirmed): add a comment about needing to fix formatting

* lang/strings_english.txt:
+ add new strings for custom field stuff

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1742 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - manage_proj_custom_field_remove.php Diff File
mod - manage_custom_field_page.php Diff File
mod - manage_proj_custom_field_add_existing.php Diff File
mod - manage_custom_field_delete.php Diff File
mod - core/custom_field_api.php Diff File
mod - doc/ChangeLog Diff File
mod - manage_custom_field_update.php Diff File
mod - manage_custom_field_edit_page.php Diff File
mod - manage_proj_edit_page.php Diff File
mod - lang/strings_english.txt Diff File
mod - config_defaults_inc.php Diff File
mod - core/helper_api.php Diff File
mod - manage_custom_field_create.php Diff File

master 2a11261b

2003-01-14 08:51

Julian Fitzell


Details Diff
Oops, forgot to check in a change to config_defaults_inc.php

* config_defaults_inc.php
(g_mantis_upgrade_table): new config option to set the name of the upgrade table

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

2003-01-14 08:47

Julian Fitzell


Details Diff
Finally, the new database upgrade stuff. I would recommend those of you who aren't developers refrain from using it until a few of the developers have tested it to see if I've missed anything huge. That way if we have to adjust the upgrade ids for any reason you won't be in a mixed state.

I would recommend testing this on a copy of your database.

But, I have tested installing 0.14, 0.15, 0.16, and 0.17 databases and all of them now update cleanly all the way and actually end up looking the same (which they didn't before). These were all empty databases though, so I'm looking forward to some people running tests on copies of their actual databases with data.

The one problem I know of that still exists is that the dates seem to get updated during this process. I haven't looked into why that happens yet, but there were workarounds for it in the old upgrade files. We'll either need to solve it or add our own workarounds in.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1740 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
rm - admin/admin_upgrade_0_18_0.php Diff
add - admin/upgrades/0_15_inc.php Diff File
add - admin/admin.css Diff File
add - admin/upgrades/0_16_inc.php Diff File
rm - admin/admin_inc.php Diff
add - admin/index.php Diff File
add - admin/upgrade.php Diff File
rm - admin/admin_upgrade.php Diff
add - admin/upgrade_inc.php Diff File
rm - admin/admin_upgrade_0_15_0.php Diff
add - admin/upgrade_warning.php Diff File
add - admin/upgrades/0_17_inc.php Diff File
add - admin/upgrades/0_13_inc.php Diff File
rm - admin/admin_upgrade_inc.php Diff
add - admin/upgrade_advanced.php Diff File
rm - admin/admin_upgrade_0_14_0.php Diff
add - admin/upgrades/0_14_inc.php Diff File
rm - admin/admin_upgrade_0_16_0.php Diff
rm - admin/admin_upgrade_0_17_0.php Diff

master de01732e

2003-01-14 00:30

int2str


Details Diff
* main_page.php: Cleaned up the header hiding for anonymous users
as per J.Fitzells suggestions.

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

master 2f0a1c35

2003-01-13 16:23

int2str


Details Diff
Removed top bug summary links for anonymous users.

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

master 0e163787

2003-01-13 02:52

Julian Fitzell


Details Diff
* signup_page.php
use print_page_bot_1a() to make sure we don't print out the bottom menu on the signup page (or rather try to... it throws an error)

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

master 04e59729

2003-01-12 03:18

Julian Fitzell


Details Diff
* core/string_api.php
(filter_html_tags): use === instead of == so that tags can actually get allowed (any string that doesn't start with a number is == 0 (OFF))

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

2003-01-12 02:40

Julian Fitzell


Details Diff
Remove 'Create Account' from the manage menu and put it on the manage_page in the header of the user list table

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1735 <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 - manage_page.php Diff File
mod - lang/strings_english.txt Diff File
mod - manage_user_create_page.php Diff File

master f29ad71a

2003-01-12 02:13

Julian Fitzell


Details Diff
Patch from Andre Eisenbach <andre@eisenbach.com> to improve our string processing functions.

This removes some config options and adds some new ones.

It also removes (finally) the obsolete functions that caused us so much db data escaping problems, string_prepare_*()

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

master 29d5184f

2003-01-12 01:23

Julian Fitzell


Details Diff
* core/custom_field_api.php
(custom_field_cache_row): new function to cache field definitions
(custom_field_clear_cache): new function to clear field definition caches
(custom_field_exists): reimplement using custom_field_cache_row()
(custom_field_has_read_access): remove warnings by actually getting the access_level_r variable
(custom_field_has_write_access): remove warnings by actually getting the access_level_rw variable
(custom_field_update): call custom_field_clear_cache()
(custom_field_destroy): call custom_field_clear_cache()
(custom_field_get_definition): reimplement as a call to custom_field_cache_row()
(custom_field_get_field): new function to get a single db field from a field definition

Add field definition caching to custom fields and finish implementation of custom_field_has_*_access
() functions so they don't give warnings anymore

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

2003-01-12 00:42

Julian Fitzell


Details Diff
* core/bug_api.php
(bug_exists): save a query in many cases by using bug_cache_row() to determine if the bug exists. This way the data is available already in the cache for the rest of the page.

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

2003-01-12 00:32

Julian Fitzell


Details Diff
fix up some spacing around parentheses

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

2003-01-11 23:54

Julian Fitzell


Details Diff
Fix occurences of short tags '<?'

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

master e1869525

2003-01-11 23:51

Julian Fitzell


Details Diff
* core/html_api.php
(print_menu_graph): use config_api to get options and use icon_path option instead of hard-coded 'images/'. I haven't tested this change because I don't have jpgraph but it was a simple change.

* print_all_bug_page.php
use icon_path config option instead of hard-coded 'images/' and create four icons by looping and echoing rather than by duplicating html with lots of inserted php tags

Thanks to Ondrej Jombik <nepto@pobox.sk> for catching the 'images/' problem

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

master 15466539

2003-01-11 17:30

Julian Fitzell


Details Diff
* doc/CREDITS
add Ondrej Jombik <nepto@pobox.sk> to contributors

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

master ca91d103

2003-01-11 17:29

Julian Fitzell


Details Diff
* documentation_page.php
Make this page display valid html. We strip out the style block and the bdoy contents from phpinfo() output and display them in the appropriate places

The catch and original patch were by Ondrej Jombik <nepto@pobox.sk> but I modified it to get the style block as well

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1727 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - documentation_page.php Diff File
 First  Prev  1 2 3 ... 80 ... 160 ... 240 ... 320 ... 400 ... 480 ... 560 ... 640 ... 698 699 700 701 702 703 704 ... 720 ... 762 763 764  Next  Last