Changesets: MantisBT

master-1.2.x 7ffceea8

2014-06-03 03:59

dregad


Details Diff
Allow update of existing project document

Prior to this, it was impossible to update a document's title or
description without uploading a new file, as MantisBT would trigger an
error.

Fixes 0017405
Affected Issues
0017405
mod - proj_doc_update.php Diff File

master 36e85011

2014-06-02 08:42

mantishub


Details Diff
Addressing misc timeline review comments.
mod - css/default.css Diff File
mod - my_view_page.php Diff File

master dba6143f

2014-06-02 08:38

mantishub


Details Diff
Fix handling for disabled avatars.
mod - core/timeline_api.php Diff File
mod - css/default.css Diff File

master da26a55a

2014-06-02 08:19

mantishub


Details Diff
Add missing lang_get() to timeline_inc.php
mod - core/timeline_inc.php Diff File

master b36ac41d

2014-06-02 02:38

dregad


Details Diff
Fix absolute URLs issue with 'User Documentation' link

This resolves the issue with absolute URLs specified in $g_manual_url
becoming relative on project documentation pages.

Following discussions in the pull request [1], the solution implements
additional logic in the print_doc_menu() function that checks whether
the provided URL is absolute or relative (based on presence of an URL
scheme):
- if relative, makes sure the local path exists
- if yes, build absolute URL using helper_mantis_url()
- if not, fall back to the online manual on
http://www.mantisbt.org/documentation.php
- if absolute, uses the URL as-is without check

Since this is currently the only use case for absolute URLs with
helper_mantis_url() and the documentation feature is deprecated, it made
more sense to have the logic in print_doc_menu() rather than creating a
new API function.

Fixes 0016995

[1] https://github.com/mantisbt/mantisbt/pull/144
Affected Issues
0016995
mod - config_defaults_inc.php Diff File
mod - core/html_api.php Diff File

master 506088e1

2014-06-02 00:41

Damien Regad


Details Diff
Various plugin-related fixes and enhancements

- Check that a plugin is loaded when accessing its pages to prevent
errors
- Improved error messages
- Simplified handling of MantisCore pseudo-plugin
- Remove direct access to $g_plugin_cache global variable
- Improved plugin file validation regex
- No re-registration of previously registered plugins
- Fixed data type issues in plugin API
- Various code cleanup and whitespace fixes

Fixes 0017359, 0017366, 0017368
Affected Issues
0017359, 0017366, 0017368
mod - core/constant_inc.php Diff File
mod - core/plugin_api.php Diff File
mod - core/print_api.php Diff File
mod - lang/strings_english.txt Diff File
mod - manage_plugin_page.php Diff File
mod - plugin.php Diff File
mod - plugin_file.php Diff File

master cfe0935f

2014-06-01 22:20

mantishub


Details Diff
Added user date_created index for user creation events.
mod - admin/schema.php Diff File

master b71827e2

2014-06-01 22:20

mantishub


Details Diff
Add bug_history date modified index.
mod - admin/schema.php Diff File

master d3b9efd8

2014-06-01 22:10

mantishub


Details Diff
Remove todo from timeline_inc.php.
mod - core/timeline_inc.php Diff File

master e4af7c3e

2014-06-01 22:09

mantishub


Details Diff
Move timeline api to core/timeline_api.php.
add - core/timeline_api.php Diff File
mod - core/timeline_inc.php Diff File

master c3fcaba4

2014-06-01 22:05

mantishub


Details Diff
Move strings to lang files and use lang_get().
mod - core/timeline_inc.php Diff File
mod - lang/strings_english.txt Diff File

master 53b2fd9b

2014-06-01 22:00

mantishub


Details Diff
Move Timeline styles to default.css.
mod - css/default.css Diff File
mod - my_view_page.php Diff File

timeline 1f7b13f0

2014-06-01 18:05

mantishub


Details Diff
Timeline feature preview
add - core/timeline_inc.php Diff File
mod - my_view_page.php Diff File

master d508493a

2014-06-01 13:04

Paul Richards


Details Diff
Fix 0016570: Page content is forgotten when user clicks [Back] button

By default we disable $g_allow_browser_cache in all circumstances.

The config value is commented out in config_defaults.inc.php. In fact, thraxisp
added the config option in 2005 in the commented out state.

It would appear the DHX re-ordered this call when implemented require_api
- see:

https://github.com/mantisbt/mantisbt/commit/2d5455cce290531359a55d353010258c6f3f6f34

The above code is only in 1.3 and not in the 1.2 series, so the above fix should
be safe to apply.

We probably need to consider whether we actually want to remove this configuration option

After all, it's a configuration option we've probably never had anyone use in 5 years
so I expect that the value of it is rather....
Affected Issues
0016570
mod - bug_change_status_page.php Diff File
mod - bug_report_page.php Diff File
mod - bug_update_page.php Diff File

mantishub-1.3.x-20150418_1638 4863b1f2

2014-05-31 20:15

Victor Boctor


Details Diff
Added support for impersonation through url with token.
mod - core/authentication_api.php Diff File
mod - login.php Diff File
mod - login_page.php Diff File

master cabacdc2

2014-05-31 14:59

Paul Richards


Details Diff
Fix: adm_config_report.php filtering does not check config option is valid

I've left this throwing ERROR_GENERIC as the only time this should be able
to be hit is if we have invalid input to start with.
Affected Issues
0017889
mod - adm_config_report.php Diff File

master b6925dbd

2014-05-31 13:13

Paul Richards


Details Diff
Fix: email address threshold check

Currently, we check for access to view the users' email address
against the threshold for the current project.

This check should occur against the threshold for the project that
the bug being viewed is located in instead.
mod - core/print_api.php Diff File

master 05f10374

2014-05-31 12:51

Paul Richards


Details Diff
add missing ;
mod - view_filters_page.php Diff File

master aa4b1df3

2014-05-31 12:49

Paul Richards


Details Diff
typo fix
mod - core/summary_api.php Diff File

master 4fbd340f

2014-05-31 05:57

Paul Richards

Committer: dregad


Details Diff
Fix invalid enumeration string value display

Prior to this, an invalid enumeration string value (e.g. @32@) was
displayed if the corresponding localized value did not exist.

This allows fallback to English language for individual enum elements.

Fixes 0016975, https://github.com/mantisbt/mantisbt/pull/198

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0016975
mod - core/classes/MantisEnum.class.php Diff File
mod - tests/Mantis/EnumTest.php Diff File

master-1.2.x 580d45e9

2014-05-31 04:40

Paul Richards

Committer: dregad


Details Diff
Fix 0017977: handling of due dates

Commit 215968fa8ff33e327f0600765a5caa24de392cbc (backported from master
fc02c46eea9d9e7cc472a7fc1801ea65d467db76 to fix issue 0017640) added
stripping of null bytes in GPC API, but did not correctly handle null
values.

This is a backport of commit f725b46954a514880792dd4be8228287756fac3d
from master branch, to address this issue.

Signed-off-by: Damien Regad <dregad@mantisbt.org>
Affected Issues
0017640, 0017977
mod - core/gpc_api.php Diff File

master f725b469

2014-05-31 04:40

Paul Richards


Details Diff
Fix handling of due dates

This was broken due to commit fc02c46eea9d9e7cc472a7fc1801ea65d467db76.

This commit added stripping of null bytes, but did not correctly handle null values
Affected Issues
0017640, 0017977
mod - core/gpc_api.php Diff File

master 14a09593

2014-05-30 15:11

Damien Regad


Details Diff
Document MantisCore inclusion in plugin_register_installed()
mod - core/plugin_api.php Diff File

master 62811370

2014-05-30 15:08

Damien Regad


Details Diff
Remove leftover commented out line
mod - core/plugin_api.php Diff File

master 4f61786b

2014-05-30 15:04

Damien Regad


Details Diff
Improve plugin path regex to avoid arbitrary includes

The path and filename components are not allowed to start with a '.',
which prevents uses like ../../../etc/password
mod - plugin_file.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 295 296 297 298 299 300 301 ... 350 ... 420 ... 490 ... 560 ... 630 ... 700 ... 746 747 748  Next  Last