Changesets: MantisBT

master-1.2.x c416dd82

2009-07-06 15:44

Paul Richards

Committer: dhx


Details Diff
Fix: downloading of large files hitting memory limit

I have a patch in progress to support multi-part files and then move this logic to file api.

In addition, this still can generate out of memory issues despite doing smaller chunks.
mod - file_download.php Diff File

master 262a0864

2009-07-06 14:31

Paul Richards


Details Diff
Alter the way we handle compression within mantis:

This only applies zlib is enabled

if zlib.output_compression is not enabled in php.ini we use ob_gzhandler, else we use output_compression

Note: we behave differently if php is >=5.2.10 as we can use zlib.output_compression with ini_set: Note php manual:
"Note: You cannot use both ob_gzhandler() and zlib.output_compression. Also note that using zlib.output_compression is preferred over ob_gzhandler(). "

COMPRESSION_DISABLED can be defined as a constant to disable compression on a specific page if required, before including core.php.
mod - core/compress_api.php Diff File
mod - core.php Diff File

master-1.2.x dcf98109

2009-07-06 14:31

Paul Richards

Committer: dhx


Details Diff
Alter the way we handle compression within mantis:

This only applies zlib is enabled

if zlib.output_compression is not enabled in php.ini we use ob_gzhandler, else we use output_compression

Note: we behave differently if php is >=5.2.10 as we can use zlib.output_compression with ini_set: Note php manual:
"Note: You cannot use both ob_gzhandler() and zlib.output_compression. Also note that using zlib.output_compression is preferred over ob_gzhandler(). "

COMPRESSION_DISABLED can be defined as a constant to disable compression on a specific page if required, before including core.php.
mod - core.php Diff File
mod - core/compress_api.php Diff File

master b00cd9b2

2009-07-06 11:43

dhx


Details Diff
Remove PHP code from within HTML output

Commit 7165bda4982c1494e5765fc3afe3780bb8b53f56 has a slight error where
some PHP code was outside PHP tags.
mod - account_page.php Diff File

master-1.2.x 3c573964

2009-07-06 11:43

dhx


Details Diff
Remove PHP code from within HTML output

Commit 7165bda4982c1494e5765fc3afe3780bb8b53f56 has a slight error where
some PHP code was outside PHP tags.
mod - account_page.php Diff File

master e00319f2

2009-07-06 11:27

dhx


Details Diff
Merge branch '10627-csrf' Affected Issues
0010627

master-1.2.x 3a7f454b

2009-07-06 11:14

dhx


Details Diff
Add CSRF protection for bug_relationship_delete
mod - bug_relationship_delete.php Diff File
mod - core/relationship_api.php Diff File

master-1.2.x f9912ae0

2009-07-06 11:02

dhx


Details Diff
Add CSRF protection for manage_user_prune
mod - manage_user_prune.php Diff File

master-1.2.x ca79ad27

2009-07-06 11:00

dhx


Details Diff
Add CSRF protection for manage_user_proj_delete
mod - manage_user_proj_delete.php Diff File

master-1.2.x 4c60b432

2009-07-06 10:57

dhx


Details Diff
Add CSRF protection for manage_plugin_upgrade
mod - manage_plugin_upgrade.php Diff File
mod - manage_plugin_page.php Diff File

master-1.2.x e336d859

2009-07-06 10:53

dhx


Details Diff
Add CSRF protection for manage_plugin_uninstall
mod - manage_plugin_uninstall.php Diff File
mod - manage_plugin_page.php Diff File

master-1.2.x bc5d9263

2009-07-06 10:51

dhx


Details Diff
Add CSRF protection for manage_plugin_install
mod - manage_plugin_install.php Diff File
mod - manage_plugin_page.php Diff File

master-1.2.x a25ad89a

2009-07-06 10:49

dhx


Details Diff
Add CSRF protection for bugnote_set_view_state
mod - bugnote_set_view_state.php Diff File

master-1.2.x 49867281

2009-07-06 10:43

dhx


Details Diff
Add CSRF protection for bugnote_delete
mod - bugnote_delete.php Diff File

master-1.2.x 59498710

2009-07-06 10:38

dhx


Details Diff
Add CSRF protection for bug_file_delete
mod - bug_file_delete.php Diff File
mod - core/print_api.php Diff File

master-1.2.x 88b4537d

2009-07-06 10:19

dhx


Details Diff
Add CSRF protection for bug_assign_reporter
mod - bug_assign_reporter.php Diff File

master-1.2.x 2e3c614a

2009-07-06 10:16

dhx


Details Diff
Add CSRF protection for adm_config_delete
mod - adm_config_delete.php Diff File

master-1.2.x a45d0ef5

2009-07-06 10:12

dhx


Details Diff
Add CSRF protection to print_button function

As an additional note for this patch, we should ideally be sending
parameters to this function via $p_args_to_post where those parameters
are being used to change the state of Mantis. At the moment a form
security token is created for every call of print_button whereas we
really only need to do it when !empty($p_args_to_post). This requires a
bit of extra work outside the scope of this patch, and almost all uses of
print_button are to modify Mantis in some way, hence this partial fix.
mod - manage_proj_edit_page.php Diff File
mod - manage_proj_page.php Diff File
mod - core/print_api.php Diff File

master-1.2.x 948f0b89

2009-07-06 09:12

dhx


Details Diff
CSRF protection not needed in filter_api
mod - core/filter_api.php Diff File

master-1.2.x 151ff562

2009-07-06 09:09

dhx


Details Diff
CSRF protection not needed for action confirmation step
mod - core/helper_api.php Diff File

master-1.2.x 2e5da604

2009-07-06 09:04

dhx


Details Diff
CSRF protection not needed for bug_change_status_page
mod - core/html_api.php Diff File

master-1.2.x 23c2f765

2009-07-06 09:03

dhx


Details Diff
CSRF protection not needed for set_project
mod - core/html_api.php Diff File

master-1.2.x bc480a19

2009-07-06 09:01

dhx


Details Diff
CSRF protection not needed for login/reauthentication
mod - core/authentication_api.php Diff File
mod - login_page.php Diff File

master-1.2.x 20d9284c

2009-07-06 08:03

dhx


Details Diff
CSRF protection not needed for set_project
mod - login_select_proj_page.php Diff File

master-1.2.x 875e2320

2009-07-06 07:58

dhx


Details Diff
Cleanup form token usage on manage_proj_edit_page
mod - manage_proj_edit_page.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 491 492 493 494 495 496 ... 560 ... 630 ... 700 ... 729 730 731  Next  Last