Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Mantis Bug Tracker (MantisBT)

Octocat-spinner-32 admin Merge branch 'variable-naming' of https://github.com/grangeway/mantisbt
Octocat-spinner-32 api Fixes #17185: Read-only access via soap api should be available to VI…
Octocat-spinner-32 core Fixes #17186: Remove in favor of MantisTouchRedirect plugin.
Octocat-spinner-32 css CSS: fix padding for main menu items
Octocat-spinner-32 doc Update CREDITS file
Octocat-spinner-32 docbook Fixes #17186: Remove in favor of MantisTouchRedirect plugin.
Octocat-spinner-32 images Added new logo image without "mantis bug tracker" text
Octocat-spinner-32 javascript Captcha: implement refresh functionality
Octocat-spinner-32 lang Remove reference to ERROR_TWITTER_NO_CURL_EXT from language files
Octocat-spinner-32 library Fix broken submodules
Octocat-spinner-32 packages * remove trailing whitespace, double newlines
Octocat-spinner-32 plugins Remove set_include_path() calls
Octocat-spinner-32 scripts Travis before script: use variable for port number
Octocat-spinner-32 tests SOAP tests: improved bootstrap file
Octocat-spinner-32 .gitignore Add web.config file to securimage
Octocat-spinner-32 .gitmodules Reintroduce submodule for securimage library
Octocat-spinner-32 .mailmap Added .mailmap file
Octocat-spinner-32 .travis.yml Travis: stop ignoring build failures for PostgreSQL
Octocat-spinner-32 account_delete.php PHPDoc Improvements (part 1)
Octocat-spinner-32 account_manage_columns_page.php Spelling Corrections
Octocat-spinner-32 account_page.php Do not reauthenticate user when verifying signup
Octocat-spinner-32 account_prefs_inc.php PHPDoc Improvements (part 1)
Octocat-spinner-32 account_prefs_page.php Remove DIRECTORY_SEPERATOR usage where possible
Octocat-spinner-32 account_prefs_reset.php PHPDoc Improvements (part 1)
Octocat-spinner-32 account_prefs_update.php PHPDoc Improvements (part 1)
Octocat-spinner-32 account_prof_edit_page.php Fix #16810: $s_os in custom_strings_inc.php partially ignored
Octocat-spinner-32 account_prof_menu_page.php Fix #16810: $s_os in custom_strings_inc.php partially ignored
Octocat-spinner-32 account_prof_update.php PHPDoc Improvements (part 1)
Octocat-spinner-32 account_sponsor_page.php Fix regression in account_sponsor_page.php introduced in commit
Octocat-spinner-32 account_sponsor_update.php PHPDoc Improvements (part 1)
Octocat-spinner-32 account_update.php Do not reauthenticate user when verifying signup
Octocat-spinner-32 adm_config_delete.php Backport Copyright statement format from mantis-2.x. This is to mirro…
Octocat-spinner-32 adm_config_report.php Merge branch 'variable-naming' of https://github.com/grangeway/mantisbt
Octocat-spinner-32 adm_config_set.php Fixes #16917: Manage Configuration: Complex Type fails when array is …
Octocat-spinner-32 adm_permissions_report.php Fix HTML/CSS for Permissions Report page
Octocat-spinner-32 billing_inc.php Port Remove helper_alternate_class function
Octocat-spinner-32 billing_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 browser_search_plugin.php Use faster call of strtolower over utf8_strtolower for exact match to…
Octocat-spinner-32 bug_actiongroup.php Fix group actions not sending notifications
Octocat-spinner-32 bug_actiongroup_add_note_inc.php Sync in another batch of db_prepare_int/numrows/phpdoc stuff
Octocat-spinner-32 bug_actiongroup_attach_tags_inc.php Fix HTML/CSS for Bug Group Actions
Octocat-spinner-32 bug_actiongroup_ext.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bug_actiongroup_ext_page.php Fix HTML/CSS for Bug Group Actions
Octocat-spinner-32 bug_actiongroup_page.php Fix #16976: bug_actiongroup_page.php leaks code
Octocat-spinner-32 bug_actiongroup_update_product_build_inc.php Fix HTML/CSS for Bug Group Actions
Octocat-spinner-32 bug_actiongroup_update_severity_inc.php Remove Unused Variables from Mantis Core
Octocat-spinner-32 bug_change_status_page.php Remove DIRECTORY_SEPERATOR usage where possible
Octocat-spinner-32 bug_file_add.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bug_file_delete.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bug_file_upload_inc.php New API functions to print maximum file size
Octocat-spinner-32 bug_monitor_add.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bug_monitor_delete.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bug_monitor_list_view_inc.php Don't try to output result of print_user()
Octocat-spinner-32 bug_relationship_add.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bug_relationship_delete.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bug_relationship_graph.php Remove legacy references to wingraphviz module that was removed sever…
Octocat-spinner-32 bug_relationship_graph_img.php Remove legacy references to wingraphviz module that was removed sever…
Octocat-spinner-32 bug_reminder.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 bug_reminder_page.php fix variable naming to follow mantis coding conventions [which names …
Octocat-spinner-32 bug_report.php Correct comparison operator
Octocat-spinner-32 bug_report_page.php New API functions to print maximum file size
Octocat-spinner-32 bug_revision_drop.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bug_revision_view_page.php Hyperlinked user names in issue revision view page.
Octocat-spinner-32 bug_set_sponsorship.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bug_sponsorship_list_view_inc.php remove duplicate bug_get_field call
Octocat-spinner-32 bug_stick.php Remove our last closing PHP tag at end of file (some remaining in libs)
Octocat-spinner-32 bug_update.php Replace email_* calls with raw email_generic calls. This is to try an…
Octocat-spinner-32 bug_update_page.php fix variable naming to follow mantis coding conventions [which names …
Octocat-spinner-32 bug_view_advanced_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bug_view_inc.php Fix invocation of prepare_version_string() with incorrect number of a…
Octocat-spinner-32 bug_view_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bugnote_add.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bugnote_add_inc.php Fix HTML/CSS for Bugnote Add
Octocat-spinner-32 bugnote_delete.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bugnote_edit_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bugnote_set_view_state.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bugnote_stats_inc.php fix variable naming to follow mantis coding conventions [which names …
Octocat-spinner-32 bugnote_update.php PHPDoc Improvements (part 1)
Octocat-spinner-32 bugnote_view_inc.php Fix layout for bug note avatar and move it to the left side
Octocat-spinner-32 changelog_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 config_defaults_inc.php Fixes #17186: Remove in favor of MantisTouchRedirect plugin.
Octocat-spinner-32 config_inc.php.sample Update copyright year to 2013
Octocat-spinner-32 core.php Fixes #17186: Remove in favor of MantisTouchRedirect plugin.
Octocat-spinner-32 csv_export.php Backport Copyright statement format from mantis-2.x. This is to mirro…
Octocat-spinner-32 excel_xml_export.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 file_download.php Merge branch 'variable-naming' of https://github.com/grangeway/mantisbt
Octocat-spinner-32 history_inc.php Fix HTML/CSS for Issue History list
Octocat-spinner-32 index.php PHPDoc Improvements (part 1)
Octocat-spinner-32 issues_rss.php PHPDoc Improvements (part 1)
Octocat-spinner-32 javascript_config.php Port from 2.x: Update Jquery library to 1.9.1, ui to 1.10, mobile to 1.2
Octocat-spinner-32 javascript_translations.php Port from 2.x: Update Jquery library to 1.9.1, ui to 1.10, mobile to 1.2
Octocat-spinner-32 jump_to_bug.php Backport Copyright statement format from mantis-2.x. This is to mirro…
Octocat-spinner-32 login.php Fixes #16477: Redirect user to change password if logged in with defa…
Octocat-spinner-32 login_anon.php PHPDoc Improvements (part 1)
Octocat-spinner-32 login_cookie_test.php PHPDoc Improvements (part 1)
Octocat-spinner-32 login_page.php 1) Always treat debug email address as a string (this makes phpdoc/cl…
Octocat-spinner-32 login_select_proj_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 logout_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 lost_pwd.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 lost_pwd_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 main_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 manage_columns_copy.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_columns_inc.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_config_columns_page.php Remove DIRECTORY_SEPERATOR usage where possible
Octocat-spinner-32 manage_config_columns_reset.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_config_columns_set.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_config_email_page.php Remove Unused Variables from Mantis Core
Octocat-spinner-32 manage_config_email_set.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_config_revert.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_config_work_threshold_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_config_work_threshold_set.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_config_workflow_graph_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_config_workflow_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_config_workflow_set.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_custom_field_create.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_custom_field_delete.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_custom_field_edit_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_custom_field_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_custom_field_proj_add.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_custom_field_update.php Sync in another batch of db_prepare_int/numrows/phpdoc stuff
Octocat-spinner-32 manage_overview_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_plugin_install.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_plugin_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_plugin_uninstall.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_plugin_update.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_plugin_upgrade.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_prof_menu_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_cat_add.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_cat_copy.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_cat_delete.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_cat_edit_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_cat_update.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_create.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_create_page.php Prompt user with message on create project page on first login
Octocat-spinner-32 manage_proj_custom_field_add_existing.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_custom_field_copy.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_custom_field_remove.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_custom_field_update.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_delete.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_edit_page.php Fix HTML on subprojects div in manage_proj_edit_page.php
Octocat-spinner-32 manage_proj_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_subproj_add.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_subproj_delete.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_update.php Revert "Add user to project when locking themselves out"
Octocat-spinner-32 manage_proj_update_children.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_user_add.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_user_copy.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_user_remove.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_ver_add.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_ver_copy.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_ver_delete.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_proj_ver_edit_page.php Fixes #16488: Editing of versions not possible.
Octocat-spinner-32 manage_proj_ver_update.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_tags_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_user_create.php limit_email_domains: Allow users to be locked to a choice of multiple…
Octocat-spinner-32 manage_user_create_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_user_delete.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_user_edit_page.php Remove DIRECTORY_SEPERATOR usage where possible
Octocat-spinner-32 manage_user_page.php Don't try to output return value of print_* functions
Octocat-spinner-32 manage_user_proj_add.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 manage_user_proj_delete.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 manage_user_prune.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 manage_user_reset.php Fixed the password reset confirmation page success message formatting.
Octocat-spinner-32 manage_user_update.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 mantis_offline.php.sample Mantis -> MantisBT in file headers, comments, and elsewhere.
Octocat-spinner-32 meta_inc.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 my_view_inc.php PHPDoc Improvements (part 1)
Octocat-spinner-32 my_view_page.php Always display 'Assigned to me" box in My View page
Octocat-spinner-32 news_add.php PHPDoc Improvements (part 1)
Octocat-spinner-32 news_edit_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 news_list_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 news_menu_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 news_rss.php PHPDoc Improvements (part 1)
Octocat-spinner-32 news_update.php PHPDoc Improvements (part 1)
Octocat-spinner-32 news_view_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 permalink_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 plugin.php Prevent plugin pages access when upgrade pending
Octocat-spinner-32 plugin_file.php PHPDoc Improvements (part 1)
Octocat-spinner-32 print_all_bug_options_inc.php Merge branch 'variable-naming' of https://github.com/grangeway/mantisbt
Octocat-spinner-32 print_all_bug_options_page.php Remove DIRECTORY_SEPERATOR usage where possible
Octocat-spinner-32 print_all_bug_options_reset.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 print_all_bug_options_update.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 print_all_bug_page.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 print_all_bug_page_word.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 print_bug_page.php Remove DIRECTORY_SEPERATOR usage where possible
Octocat-spinner-32 print_bugnote_inc.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 proj_doc_add.php PHPDoc Improvements (part 1)
Octocat-spinner-32 proj_doc_add_page.php New API functions to print maximum file size
Octocat-spinner-32 proj_doc_delete.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 proj_doc_edit_page.php Merge branch 'variable-naming' of https://github.com/grangeway/mantisbt
Octocat-spinner-32 proj_doc_page.php Merge branch 'variable-naming' of https://github.com/grangeway/mantisbt
Octocat-spinner-32 proj_doc_update.php Merge branch 'variable-naming' of https://github.com/grangeway/mantisbt
Octocat-spinner-32 project_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 query_delete.php PHPDoc Improvements (part 1)
Octocat-spinner-32 query_delete_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 query_store.php PHPDoc Improvements (part 1)
Octocat-spinner-32 query_store_page.php Fixed a syntax error in query store page which is used to save filters.
Octocat-spinner-32 query_view_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 readme.md Port
Octocat-spinner-32 return_dynamic_filters.php PHPDoc Improvements (part 1)
Octocat-spinner-32 roadmap_page.php PHPDoc Improvements (Part 3)
Octocat-spinner-32 search.php PHPDoc Improvements (part 1)
Octocat-spinner-32 set_project.php Move bug_update_advanced_page contents into bug_update_page [which wa…
Octocat-spinner-32 signup.php Fix HTML/CSS in signup.php
Octocat-spinner-32 signup_page.php Captcha: implement refresh functionality
Octocat-spinner-32 summary_page.php Code Guidelines: Fix naming of variable '$result' to $t_result
Octocat-spinner-32 tag_attach.php PHPDoc Improvements (part 1)
Octocat-spinner-32 tag_create.php PHPDoc Improvements (part 1)
Octocat-spinner-32 tag_delete.php PHPDoc Improvements (part 1)
Octocat-spinner-32 tag_detach.php PHPDoc Improvements (part 1)
Octocat-spinner-32 tag_update.php PHPDoc Improvements (part 1)
Octocat-spinner-32 tag_update_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 tag_view_page.php Centering buttons on tag_view_page.php
Octocat-spinner-32 verify.php Do not reauthenticate user when verifying signup
Octocat-spinner-32 view.php Remove DIRECTORY_SEPERATOR usage where possible
Octocat-spinner-32 view_all_bug_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 view_all_inc.php Fix whitespace
Octocat-spinner-32 view_all_set.php Whitespace
Octocat-spinner-32 view_filters_page.php Move 'Highlight changed' field in view_filters_page.php
Octocat-spinner-32 view_user_page.php PHPDoc Improvements (part 1)
Octocat-spinner-32 wiki.php PHPDoc Improvements (part 1)
Octocat-spinner-32 workflow_graph_img.php PHPDoc Improvements (part 1)
Octocat-spinner-32 xmlhttprequest.php PHPDoc Improvements (part 1)
readme.md

mantisbt - Mantis Bug Tracker (MantisBT)

For complete documentation, please read the administration guide included with this release in the doc/ directory. The guide is available in text, PDF, and HTML formats.

Requirements

  • MySQL 4.1.1+, PostgreSQL 8+, or other supported database
  • PHP 5.3.2+
  • a webserver (e.g. Apache or IIS)

Installation

  • Extract the tarball into a location readable by your web server
  • Point your browser to http://path/to/mantisbt/admin/check.php to ensure that your webserver is compatible with MantisBT and configured correctly
  • Point your browser to http://path/to/mantisbt/admin/install.php to begin the database installation process
  • Select the database type and enter the credentials to access the database
  • Click install/upgrade
  • Installation is complete -- you may need to copy the default configuration to mantisbt/config_inc.php if your web server does not have write access
  • Remove the admin/ directory from within the MantisBT installation path. The scripts within this directory should not be accessible on a live MantisBT site or on any installation that is accessible via the Internet.

UPGRADING

  • Backup your existing installation and database -- really!
  • Extract the tarball into a clean directory; do not extract into an existing installation, as some files have been moved or deleted between releases
  • Copy your configuration from the old installation to the new directory, including config_inc.php, custom_strings_inc.php, and custom_constants_inc.php if they exist
  • Point your browser to http://path/to/mantisbt/admin/check.php to ensure that your webserver is compatible with MantisBT and configured correctly
  • Point your browser to http://path/to/mantisbt/admin/install.php to upgrade the database schema
  • Click install/upgrade
  • Remove the admin/ directory from within the MantisBT installation path. The scripts within this directory should not be accessible on a live MantisBT site or on any installation that is accessible via the Internet.
  • Upgrading is complete

CONFIGURATION

This file contains information to help you customize MantisBT. A more detailed doc can be found at http://docs.mantisbt.org/

  • config_defaults_inc.php
    • this file contains the default values for all the site-wide variables.
  • config_inc.php

    • You should create this file to change config variable values. Your values from this file will be used instead of the defaults. This file will not be overwritten when you upgrade, but config_defaults_inc.php will. Look at config_inc.php.sample for an example.
  • core/*_api.php - these files contains all the API library functions.

  • global variables are prefixed by g_

  • parameters in functions are prefixed with p_ -- parameters shouldn't be modified within the function.
  • form variables are prefixed with f_
  • variables that have been cleaned for db insertiong are prefixed with c_
  • temporary variables are prefixed with t_.
  • template variables are prefixed with tpl_.
  • count variables have the word count in the variable name

More detail can be seen in the coding guidelines at: http://www.mantisbt.org/guidelines.php

  • The files are split into three basic categories, viewable pages, include files and pure scripts. Examining the viewable pages (suffix _page) should make the basic file format fairly easy to see. The file names themselves should make their purpose apparent. The approach used is to break the work into many small files rather than have a small number of really large files.

  • Most of the action scripts have a confirmation page to make sure the action completed successfully. The pages will automatically redirect you after a short amount of time. You can shorten of lengthen the time by editing $g_default_redirect_delay in config_inc.php.

  • Edit css_inc.php to make your own page formatting.

  • You can set $g_top_include_page and $g_bottom_include_page to alter what should be visible at the top and bottom of each page.

  • All files were edited with TAB SPACES set to 4.

As a general debugging tip you should be extremely generous in using echo, print and exit functions. This is the quickest way to see if a database query actually contains what you want, etc.

Something went wrong with that request. Please try again.