Changesets: MantisBT

master 33a8395e

2009-08-07 09:50

dhx


Details Diff
Fix 0010650: email_on_new preference has no effect

The notification preferences weren't working correctly due to a range of
bugs and poor architecture within email_api.

This fix cleans up a bit of the mess and in the process, ensures that
email_on_new and other user customisable statuses once again are taken
into consideration.
Affected Issues
0010650
mod - core/email_api.php Diff File

master-1.2.x fd39c78b

2009-08-07 03:08

dhx


Details Diff
Fix 0010687: Force use of account_delete when deleting own account

The case of deleting ones own account is quite different to deleting the
account of another user. Therefore if an administrator wants to delete
their own account, account_delete.php should be used instead. It
correctly handles logging out and redirection of the administrator who
has just deleted their own account.

This fix will force account_delete.php to be used in a way that is
transparent to an administrator who is deleting their account.

For the purpose of this commit message, "administrator" is any user who
has an access level equal to or beyond manage_user_threshold.
Affected Issues
0010687
mod - account_delete.php Diff File
mod - manage_user_delete.php Diff File

master f27b0e9c

2009-08-07 03:08

dhx


Details Diff
Fix 0010687: Force use of account_delete when deleting own account

The case of deleting ones own account is quite different to deleting the
account of another user. Therefore if an administrator wants to delete
their own account, account_delete.php should be used instead. It
correctly handles logging out and redirection of the administrator who
has just deleted their own account.

This fix will force account_delete.php to be used in a way that is
transparent to an administrator who is deleting their account.

For the purpose of this commit message, "administrator" is any user who
has an access level equal to or beyond manage_user_threshold.
Affected Issues
0010687
mod - account_delete.php Diff File
mod - manage_user_delete.php Diff File

master-1.2.x 1d837ae7

2009-08-07 02:24

dhx


Details Diff
Fix 0010687: call auth_logout before user_delete

auth_logout() does stuff that requires a valid user ID. When a user
attempts to delete their own account, we should first ensure that
they're logged out as per normal. Then we can delete their account as a
last step before redirecting them elsehwere.

The html headers/footers and redirect message have also been adjusted
for ease of use, and to ensure that the user doesn't miss the notice
about their account being deleted successfully.
Affected Issues
0010687
mod - account_delete.php Diff File

master dce1691b

2009-08-07 02:24

dhx


Details Diff
Fix 0010687: call auth_logout before user_delete

auth_logout() does stuff that requires a valid user ID. When a user
attempts to delete their own account, we should first ensure that
they're logged out as per normal. Then we can delete their account as a
last step before redirecting them elsehwere.

The html headers/footers and redirect message have also been adjusted
for ease of use, and to ensure that the user doesn't miss the notice
about their account being deleted successfully.
Affected Issues
0010687
mod - account_delete.php Diff File

master-1.2.x 17ae3fc0

2009-08-07 01:17

dhx


Details Diff
Fix 0010687: don't allow deletion of the last admin account

The last administrator account should be protected from deletion or
demotion. It is still possible to delete the last administrator account
from the database via way of a raw SQL query if an installation
absolutely must not contain any admin accounts.
Affected Issues
0010687
mod - manage_user_delete.php Diff File
mod - account_delete.php Diff File
mod - lang/strings_english.txt Diff File

master fe113064

2009-08-07 01:17

dhx


Details Diff
Fix 0010687: don't allow deletion of the last admin account

The last administrator account should be protected from deletion or
demotion. It is still possible to delete the last administrator account
from the database via way of a raw SQL query if an installation
absolutely must not contain any admin accounts.
Affected Issues
0010687
mod - manage_user_delete.php Diff File
mod - lang/strings_english.txt Diff File
mod - account_delete.php Diff File

master baa88a50

2009-08-07 00:29

dhx


Details Diff
Fix 0010393: SQL query error with hide inactive users filter

On manage_user_page there exists a "hide inactive users" filter that was
broken due to an invalid SQL query.

Thanks to prabhurangan for reporting this issue and tcharron for a
solution to the problem.
Affected Issues
0010393
mod - manage_user_page.php Diff File

master-1.2.x 34d3633a

2009-08-07 00:29

dhx


Details Diff
Fix 0010393: SQL query error with hide inactive users filter

On manage_user_page there exists a "hide inactive users" filter that was
broken due to an invalid SQL query.

Thanks to prabhurangan for reporting this issue and tcharron for a
solution to the problem.
Affected Issues
0010393
mod - manage_user_page.php Diff File

master-1.2.x 1a38ff7d

2009-08-06 16:20

jreese


Details Diff
Properly handle blank disallowed file extensions
mod - core/file_api.php Diff File

master 9d98c10b

2009-08-06 12:20

jreese

Committer: Paul Richards


Details Diff
Properly handle blank disallowed file extensions
mod - core/file_api.php Diff File

master bba71f0a

2009-07-30 15:17

Paul Richards


Details Diff
Fix 0010780: language of emails could be wrong in specific situations Affected Issues
0010780
mod - core/user_pref_api.php Diff File

master-1.2.x d09f09b8

2009-07-30 15:17

Paul Richards

Committer: dhx


Details Diff
Fix 0010780: language of emails could be wrong in specific situations

Signed-off-by: David Hicks <hickseydr@optusnet.com.au>
Affected Issues
0010780
mod - core/user_pref_api.php Diff File

master be8238e4

2009-07-28 10:06

giallu


Details Diff
Fix bug 10760: Filtering on Priority doesn't work Affected Issues
0010760
mod - core/filter_api.php Diff File

master-1.2.x e4c9e22c

2009-07-28 10:06

giallu


Details Diff
Fix bug 10760: Filtering on Priority doesn't work Affected Issues
0010760
mod - core/filter_api.php Diff File

master 66e037f9

2009-07-25 19:33

Paul Richards


Details Diff
Fix: 0010490: Some queries don't work due to the use of "AS" in table alias
mod - roadmap_page.php Diff File
mod - core/category_api.php Diff File
mod - core/custom_field_api.php Diff File
mod - changelog_page.php Diff File
mod - core/summary_api.php Diff File

master be66020d

2009-07-25 19:10

unknown


Details Diff
Add install function to allow a schema update to do nothing (apart from increment database version)
mod - admin/install_functions.php Diff File

master-1.2.x 96988ad6

2009-07-23 22:21

Glenn Henshaw


Details Diff
fixed bug 0010761: jpgraph code must be copied into mantis tree

If the jpgraph_path global is set, this path is added to the
include path. This allows the jpgraph components to be accessed.
Affected Issues
0010761
mod - plugins/MantisGraph/core/graph_api.php Diff File

master f8180e48

2009-07-23 22:21

Glenn Henshaw


Details Diff
fixed bug 0010761: jpgraph code must be copied into mantis tree

If the jpgraph_path global is set, this path is added to the
include path. This allows the jpgraph components to be accessed.
Affected Issues
0010761
mod - plugins/MantisGraph/core/graph_api.php Diff File

master b23a65c7

2009-07-23 21:04

dhx


Details Diff
Fix 0010758: MantisGraph width GET parameter has incorrect syntax

When moving to the new MantisGraph plugin, the URLs changed slightly so
that parameters which were first are now second (the plugin page is
first). Therefore the second paramter should be appended with an
ampersand instead of question mark.

Thanks to floh for assistance in fixing this bug.
Affected Issues
0010758
mod - plugins/MantisGraph/pages/bug_graph_page.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_status.php Diff File
mod - plugins/MantisGraph/pages/summary_jpgraph_page.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_severity.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_resolution.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_priority.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_category.php Diff File

master-1.2.x 05487d5c

2009-07-23 21:04

dhx


Details Diff
Fix 0010758: MantisGraph width GET parameter has incorrect syntax

When moving to the new MantisGraph plugin, the URLs changed slightly so
that parameters which were first are now second (the plugin page is
first). Therefore the second paramter should be appended with an
ampersand instead of question mark.

Thanks to floh for assistance in fixing this bug.
Affected Issues
0010758
mod - plugins/MantisGraph/pages/bug_graph_page.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_status.php Diff File
mod - plugins/MantisGraph/pages/summary_jpgraph_page.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_severity.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_resolution.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_priority.php Diff File
mod - plugins/MantisGraph/pages/summary_graph_imp_category.php Diff File

master a456a8d1

2009-07-21 18:41

Paul Richards


Details Diff
Fix: 0010747: User summary enhancement for billing page
mod - billing_inc.php Diff File

master-1.2.x cdfb58e7

2009-07-21 18:41

Paul Richards

Committer: dhx


Details Diff
Fix: 0010747: User summary enhancement for billing page
mod - billing_inc.php Diff File

master-1.2.x e1afe107

2009-07-21 10:37

dhx


Details Diff
Fix 0010746: view issue range incorrect on first view

When an anonymous user or someone else without a saved filter state
views the bug list for the first time, current_user_get_bug_filter()
will fail. This led to the bug view range not working (as it didn't know
how many bugs are being shown per page).

In such cases where a per-user filter is not yet known, we should use
the default filter. Note that this check may be better placed in
current_user_get_bug_filter() if it is deemed safe to do so (it changes
the output of the function).
Affected Issues
0010746
mod - view_all_inc.php Diff File

master 0a8e8ae2

2009-07-21 10:37

dhx


Details Diff
Fix 0010746: view issue range incorrect on first view

When an anonymous user or someone else without a saved filter state
views the bug list for the first time, current_user_get_bug_filter()
will fail. This led to the bug view range not working (as it didn't know
how many bugs are being shown per page).

In such cases where a per-user filter is not yet known, we should use
the default filter. Note that this check may be better placed in
current_user_get_bug_filter() if it is deemed safe to do so (it changes
the output of the function).
Affected Issues
0010746
mod - view_all_inc.php Diff File
 First  Prev  1 2 3 ... 80 ... 160 ... 240 ... 320 ... 400 ... 480 ... 518 519 520 521 522 523 524 ... 560 ... 640 ... 720 ... 762 763 764  Next  Last