Mantis Bug Tracker (MantisBT)
PHP CSS JavaScript XSLT Shell Makefile Other
Latest commit 52da83a Jan 15, 2017 @dregad dregad Merge branch 'master-2.0.x'
Permalink
Failed to load latest commit information.
admin Merge remote-tracking branch 'origin/master-1.3.x' Jan 15, 2017
api/soap Merge m13_filter_edit_3_merge into master_merge_filter (using imerge) Dec 10, 2016
config .htaccess files Apache 2.4 compatibility update Jan 15, 2017
core Merge branch 'master-2.0.x' Jan 15, 2017
css New MantisMarkdown class, extends Parsedown Jan 11, 2017
doc Merge remote-tracking branch 'origin/master-1.3.x' Jan 15, 2017
docbook Merge pull request PR 988 from cproensa/master_merge_filter Jan 14, 2017
fonts CDN improvement / libraries upgrade Jul 10, 2016
images optimize png images losslessly using zopflipng Jul 3, 2016
js Merge pull request PR 988 from cproensa/master_merge_filter Jan 14, 2017
lang Merge branch 'master-2.0.x' Jan 15, 2017
library Merge branch 'master-2.0.x' Jan 15, 2017
plugins Merge branch 'master-2.0.x' Jan 15, 2017
scripts .htaccess files Apache 2.4 compatibility update Jan 15, 2017
tests Markdown plugin Jan 11, 2017
.gitignore Merge remote-tracking branch 'origin/master-2.0.x' Jan 11, 2017
.gitmodules Include parsedown library as a submodule Jan 11, 2017
.mailmap Update .mailmap Dec 24, 2016
.travis.yml Travis: Remove master-2.0.x branch exception Jan 5, 2017
account_delete.php Refactor: rename print_button() Nov 26, 2016
account_manage_columns_page.php MantisBT Modern UI. Jul 7, 2014
account_page.php Use lang_get() instead of hardcoded string 'required' Jun 18, 2016
account_prefs_inc.php Merge remote-tracking branch 'origin/master-1.3.x' Nov 24, 2016
account_prefs_page.php MantisBT Modern UI. Jul 7, 2014
account_prefs_reset.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
account_prefs_update.php Merge remote-tracking branch 'origin/master-1.3.x' Nov 24, 2016
account_prof_edit_page.php More spot fixes for spaces and tabs. Aug 29, 2014
account_prof_menu_page.php Use lang_get() instead of hardcoded string 'required' Jun 18, 2016
account_prof_update.php . Jul 10, 2014
account_sponsor_page.php Replace all images to [FontAwesome icons](http://fontawesome.io/) (#2) May 31, 2016
account_sponsor_update.php Remove extra spaces (batch #1) Aug 26, 2014
account_update.php Merge remote-tracking branch 'origin/master-1.3.x' Nov 24, 2016
adm_config_delete.php Code Standards/PHP Doc improvements Jun 30, 2014
adm_config_report.php Merge master-1.3.x into master Jul 3, 2016
adm_config_set.php Improve handling of empty values in adm_config_set.php Jul 3, 2016
adm_permissions_report.php Merge branch 'master' of https://github.com/mantisbt/mantisbt into mo… Nov 12, 2014
api_token_create.php Refactor: rename print_button() Nov 26, 2016
api_token_revoke.php Refactor: rename print_button() Nov 26, 2016
api_tokens_page.php Add missing </div> Sep 29, 2016
billing_export_to_csv.php Add category field to time tracking exports Apr 8, 2016
billing_export_to_excel.php Add category field to time tracking exports Apr 8, 2016
billing_inc.php Merge m13_filter_edit_3_merge into master_merge_filter (using imerge) Dec 10, 2016
billing_page.php Merge branch 'master' of git://github.com/mantisbt/mantisbt into sync… Feb 11, 2016
browser_search_plugin.php Issue #21659 fix for PHP Parse error: syntax error, unexpected 'versi… Sep 3, 2016
bug_actiongroup.php Merge remote-tracking branch 'origin/master-1.3.x' Dec 12, 2016
bug_actiongroup_add_note_inc.php Merge branch 'master' of git://github.com/mantisbt/mantisbt into mode… May 14, 2016
bug_actiongroup_attach_tags_inc.php Style bulk action pages 'Severity', 'Add Note', 'Attach tags' Apr 9, 2015
bug_actiongroup_ext.php Refactor: rename print_button() Nov 26, 2016
bug_actiongroup_ext_page.php Style bulk action pages 'Severity', 'Add Note', 'Attach tags' Apr 9, 2015
bug_actiongroup_page.php Misc tweaks based on code review comments Dec 20, 2016
bug_actiongroup_update_product_build_inc.php Merge remote-tracking branch 'remotes/syncguru/master' into modern-ui-2 Oct 23, 2014
bug_actiongroup_update_severity_inc.php Style bulk action pages 'Severity', 'Add Note', 'Attach tags' Apr 9, 2015
bug_change_status_page.php Misc tweaks based on code review comments Dec 20, 2016
bug_file_add.php Merge branch 'master' of git://github.com/mantisbt/mantisbt into mode… Apr 19, 2015
bug_file_delete.php Code Standards/PHP Doc improvements Jun 30, 2014
bug_file_upload_inc.php Move dropzone form view helper to print_api Oct 25, 2016
bug_monitor_add.php Move bug existence check before user list validation Mar 7, 2016
bug_monitor_delete.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
bug_monitor_list_view_inc.php Replace print page with styling of view page Oct 8, 2016
bug_relationship_add.php Allow definition of view_bug_threshold Oct 18, 2014
bug_relationship_delete.php Allow definition of view_bug_threshold Oct 18, 2014
bug_relationship_graph.php Refactor: rename print_button() Nov 26, 2016
bug_relationship_graph_img.php Allow definition of view_bug_threshold Oct 18, 2014
bug_reminder.php Merge branch 'master' of git://github.com/mantisbt/mantisbt into mode… May 14, 2016
bug_reminder_page.php Merge branch 'master' of git://github.com/mantisbt/mantisbt into mode… May 14, 2016
bug_report.php Redirect to bug_report.php when "report stay" is checked Sep 29, 2016
bug_report_page.php Replace autocomplete with Ace theme bundled typeahead Jan 3, 2017
bug_revision_drop.php PHPDoc Improvements (part 1) Oct 12, 2013
bug_revision_view_page.php Merge remote-tracking branch 'origin/master-1.3.x' Aug 27, 2016
bug_set_sponsorship.php Code Standards/PHP Doc improvements Jun 30, 2014
bug_sponsorship_list_view_inc.php Replace all images to [FontAwesome icons](http://fontawesome.io/) (#2) May 31, 2016
bug_stick.php Remove our last closing PHP tag at end of file (some remaining in libs) Oct 19, 2013
bug_update.php move "auto_set_status_to_assigned" logic into bug_api Jul 23, 2016
bug_update_page.php Replace autocomplete with Ace theme bundled typeahead Jan 3, 2017
bug_view_advanced_page.php Code standard / PHPdoc fixes. May 30, 2014
bug_view_inc.php Merge remote-tracking branch 'origin/master-1.3.x' Nov 26, 2016
bug_view_page.php Code standard / PHPdoc fixes. May 30, 2014
bugnote_add.php Merge remote-tracking branch 'origin/master-1.3.x' Nov 24, 2016
bugnote_add_inc.php Move dropzone form view helper to print_api Oct 25, 2016
bugnote_delete.php move signal for EVENT_BUGNOTE_DELETED into core api Sep 28, 2014
bugnote_edit_page.php Refactor: rename print_button() Nov 26, 2016
bugnote_set_view_state.php Remove duplicate function call in bugnote_set_view_state.php Sep 28, 2014
bugnote_stats_inc.php Merge m13_filter_edit_3_merge into master_merge_filter (using imerge) Dec 10, 2016
bugnote_update.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
bugnote_view_inc.php Refactor: rename print_button() Nov 26, 2016
changelog_page.php Don’t show obsolete versions in Changelog (#983) Jan 4, 2017
config_defaults_inc.php Merge branch 'master-2.0.x' Jan 15, 2017
core.php Markdown plugin Jan 11, 2017
csv_export.php Change csv/excel export select to be queried in blocks Nov 26, 2016
excel_xml_export.php Change csv/excel export select to be queried in blocks Nov 26, 2016
file_download.php Do not print inline errors in non-HTML output Dec 17, 2015
history_inc.php Fix div collapse logic and use proper naming Dec 5, 2014
index.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
issues_rss.php Prevent inline error in RSS output Dec 12, 2016
javascript_config.php Obsolete jscalendar global config & use compatible date format Dec 20, 2016
javascript_translations.php Do not print inline errors in non-HTML output Dec 17, 2015
jump_to_bug.php Code Standards/PHP Doc improvements Jun 30, 2014
login.php Flow re-authenticate flag on login failures Nov 14, 2016
login_anon.php . Jul 10, 2014
login_cookie_test.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
login_page.php Remove empty black bar in login page Nov 14, 2016
login_select_proj_page.php Fix tabs and cleanup extra spaces Aug 29, 2014
logout_page.php Code standard / PHPdoc fixes. May 30, 2014
lost_pwd.php More replacements of custom layout by html_operation_xxx() Sep 21, 2016
lost_pwd_page.php Add placeholder text to lost password form Jul 10, 2016
main_page.php Refactor: rename print_button() Nov 26, 2016
manage_columns_copy.php Allow definition of view_bug_threshold Oct 18, 2014
manage_columns_inc.php Use lang_get() instead of hardcoded string 'required' Jun 18, 2016
manage_config_columns_page.php Fix duplicate submenu after merge Oct 24, 2014
manage_config_columns_reset.php MantisBT Modern UI. Jul 7, 2014
manage_config_columns_set.php Add page header to fix columns set page rendering Aug 14, 2016
manage_config_email_page.php Merge branch 'master' of git://github.com/mantisbt/mantisbt into mode… Jun 14, 2016
manage_config_email_set.php Merge branch 'master' of git://github.com/mantisbt/mantisbt into mode… Jun 14, 2016
manage_config_revert.php Merge branch 'master' of https://github.com/mantisbt/mantisbt into mo… Nov 12, 2014
manage_config_work_threshold_page.php Merge branch 'master' of https://github.com/mantisbt/mantisbt into mo… Nov 12, 2014
manage_config_work_threshold_set.php Merge branch 'master' of https://bitbucket.org/vboctor/mantishub into… Jul 24, 2014
manage_config_workflow_graph_page.php Merge branch 'master' of https://github.com/mantisbt/mantisbt into mo… Oct 24, 2014
manage_config_workflow_page.php Merge remote-tracking branch 'origin/master-1.3.x' Sep 11, 2016
manage_config_workflow_set.php Merge remote-tracking branch 'origin/master-1.3.x' Sep 11, 2016
manage_custom_field_create.php Merge branch 'master' of https://bitbucket.org/vboctor/mantishub into… Jul 24, 2014
manage_custom_field_delete.php Fix numerous HTML validation issues Jun 18, 2016
manage_custom_field_edit_page.php Use matching label for max custom field length Jul 10, 2016
manage_custom_field_page.php Merge branch 'master' of git://github.com/mantisbt/mantisbt into mode… Apr 3, 2016
manage_custom_field_proj_add.php Code Standards/PHP Doc improvements Jun 30, 2014
manage_custom_field_update.php MantisBT Modern UI. Jul 7, 2014
manage_filter_delete.php Fix styles for manage filter pages Jan 7, 2017
manage_filter_edit_page.php Move filter switch to bar menu Jan 14, 2017
manage_filter_edit_update.php Add form security token Jan 13, 2017
manage_filter_page.php Move filter edit option to button Jan 14, 2017
manage_overview_page.php Add spacer in manage overview page Oct 22, 2016
manage_plugin_install.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
manage_plugin_page.php Refactor: rename print_button() Nov 26, 2016
manage_plugin_uninstall.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
manage_plugin_update.php Shorten db_query_bound to db_query Sep 5, 2014
manage_plugin_upgrade.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
manage_prof_menu_page.php PHPDoc Improvements (Part 3) Oct 13, 2013
manage_proj_cat_add.php "Add and Edit Category" button Oct 16, 2014
manage_proj_cat_copy.php Code Standards/PHP Doc improvements Jun 30, 2014
manage_proj_cat_delete.php Merge branch 'master' of git://github.com/mantisbt/mantisbt into mode… Apr 3, 2016
manage_proj_cat_edit_page.php Fix numerous HTML validation issues Jun 18, 2016
manage_proj_cat_update.php Remove extra spaces (batch #3) Aug 27, 2014
manage_proj_create.php Remove extra spaces (batch #3) Aug 27, 2014
manage_proj_create_page.php Fix styling of alert message boxes Aug 17, 2016
manage_proj_custom_field_add_existing.php MantisBT Modern UI. Jul 7, 2014
manage_proj_custom_field_copy.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
manage_proj_custom_field_remove.php Fix numerous HTML validation issues Jun 18, 2016
manage_proj_custom_field_update.php MantisBT Modern UI. Jul 7, 2014
manage_proj_delete.php Fix numerous HTML validation issues Jun 18, 2016
manage_proj_edit_page.php Refactor: rename print_button() Nov 26, 2016
manage_proj_page.php Fix breaks after merge. One temp fix in columns_api.php. Oct 23, 2014
manage_proj_subproj_add.php Merge with master Jan 25, 2016
manage_proj_subproj_delete.php Merge with master Jan 25, 2016
manage_proj_update.php Revert "Add user to project when locking themselves out" Feb 4, 2014
manage_proj_update_children.php Provide config option to disable subprojects Dec 10, 2015
manage_proj_user_add.php PHPDoc Improvements (Part 3) Oct 13, 2013
manage_proj_user_copy.php Code Standards/PHP Doc improvements Jun 30, 2014
manage_proj_user_remove.php Fix numerous HTML validation issues Jun 18, 2016
manage_proj_ver_add.php Merge remote-tracking branch 'remotes/syncguru/master' into modern-ui-2 Oct 23, 2014
manage_proj_ver_copy.php Update existing versions when copying from project Sep 17, 2016
manage_proj_ver_delete.php Fix numerous HTML validation issues Jun 18, 2016
manage_proj_ver_edit_page.php Misc tweaks based on code review comments Dec 20, 2016
manage_proj_ver_update.php Remove extra spaces (batch #3) Aug 27, 2014
manage_tags_page.php Fix numerous HTML validation issues Jun 18, 2016
manage_user_create.php Implementing PR revision comments Sep 21, 2016
manage_user_create_page.php Merge branch 'master' of git://github.com/mantisbt/mantisbt into sync… Feb 1, 2016
manage_user_delete.php Fix numerous HTML validation issues Jun 18, 2016
manage_user_edit_page.php Merge remote-tracking branch 'origin/master-1.3.x' Oct 19, 2016
manage_user_impersonate.php Call function layout_page_begin with right number of parameters Aug 16, 2016
manage_user_page.php Align 'prune accounts' button in manage user page. Aug 13, 2016
manage_user_proj_add.php Code Standards/PHP Doc improvements Jun 30, 2014
manage_user_proj_delete.php Fix numerous HTML validation issues Jun 18, 2016
manage_user_prune.php Don’t prune protected accounts Aug 27, 2016
manage_user_reset.php Implementing PR revision comments Sep 21, 2016
manage_user_update.php Implementing PR revision comments Sep 21, 2016
mantis_offline.php.sample Mantis -> MantisBT in file headers, comments, and elsewhere. Feb 14, 2009
my_view_inc.php Merge m13_filter_edit_3_merge into master_merge_filter (using imerge) Dec 10, 2016
my_view_page.php Support turning off timeline from My View page. Fixes #19586 Dec 29, 2016
news_add.php Add spacer before Add News confirmation message Sep 10, 2016
news_edit_page.php Use lang_get() instead of hardcoded string 'required' Jun 18, 2016
news_list_page.php Merge remote-tracking branch 'remotes/syncguru/master' into modern-ui-2 Oct 23, 2014
news_menu_page.php Fix tabs and cleanup extra spaces Aug 29, 2014
news_rss.php Allow definition of view_bug_threshold Oct 18, 2014
news_update.php Implementing PR revision comments Sep 21, 2016
news_view_page.php Refactor: rename print_button() Nov 26, 2016
permalink_page.php Remove extra spaces (batch #3) Aug 27, 2014
plugin.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
plugin_file.php Improve plugin path regex to avoid arbitrary includes Jun 2, 2014
print_all_bug_options_inc.php Merge remote-tracking branch 'remotes/syncguru/master' into modern-ui-2 Oct 23, 2014
print_all_bug_options_page.php MantisBT Modern UI. Jul 7, 2014
print_all_bug_options_reset.php Refactor: rename print_button() Nov 26, 2016
print_all_bug_options_update.php Refactor: rename print_button() Nov 26, 2016
print_all_bug_page.php Merge m13_filter_edit_3_merge into master_merge_filter (using imerge) Dec 10, 2016
print_all_bug_page_word.php Merge origin/master-1.3.x into master (using imerge) Nov 12, 2016
proj_doc_add.php Remove extra spaces (batch #3) Aug 27, 2014
proj_doc_add_page.php Fix tabs and cleanup extra spaces Aug 29, 2014
proj_doc_delete.php Fix numerous HTML validation issues Jun 18, 2016
proj_doc_edit_page.php Merge remote-tracking branch 'remotes/syncguru/master' into modern-ui-2 Oct 23, 2014
proj_doc_page.php Fix numerous HTML validation issues Jun 18, 2016
proj_doc_update.php Merge remote-tracking branch 'remotes/syncguru/master' into modern-ui-2 Oct 23, 2014
project_page.php Refactor: rename print_button() Nov 26, 2016
query_store.php Dont reference source id for stored filters Jan 14, 2017
query_store_page.php Remove extra spaces (batch #3) Aug 27, 2014
readme.md README: update requirements for 2.x Dec 5, 2016
return_dynamic_filters.php Clean up search sequence for return dynamic filter Dec 10, 2016
roadmap_page.php Don't show version release date if not set Jul 29, 2016
search.php Rename old date filter constants Dec 10, 2016
set_project.php Merge branch 'master' of https://github.com/mantisbt/mantisbt into mo… Feb 24, 2015
signup.php Fix numerous HTML validation issues Jun 18, 2016
signup_page.php Merge branch 'master' of git://github.com/mantisbt/mantisbt into mode… Apr 9, 2015
summary_page.php Fix column headers and text alignment in Summary page Aug 16, 2016
tag_attach.php Replace reference to undefined classic UI function Jul 10, 2016
tag_create.php Code Standards/PHP Doc improvements Jun 30, 2014
tag_delete.php Implement bug tags association cache Nov 26, 2016
tag_detach.php PHPDoc Improvements (part 1) Oct 12, 2013
tag_update.php Implement bug tags association cache Nov 26, 2016
tag_update_page.php Merge remote-tracking branch 'origin/master-1.3.x' Nov 26, 2016
tag_view_page.php Merge remote-tracking branch 'origin/master-1.3.x' Nov 26, 2016
verify.php Fix account verify page Sep 25, 2016
view.php Code Standards/PHP Doc improvements Jun 30, 2014
view_all_bug_page.php Merge remote-tracking branch 'origin/master-1.3.x' Nov 27, 2016
view_all_inc.php Merge m13_filter_edit_3_merge into master_merge_filter (using imerge) Dec 10, 2016
view_all_set.php Reallocate logic for setting view_state Dec 10, 2016
view_filters_page.php Fix changing filter mode with a named filter id Jan 14, 2017
view_user_page.php Fix numerous HTML validation issues Jun 18, 2016
wiki.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
workflow_graph_img.php Code Standards/PHP Doc improvements Jun 30, 2014
xmlhttprequest.php . Jul 10, 2014

readme.md

Mantis Bug Tracker (MantisBT)

Build Status Gitter

Screenshots

Build Status

Build Status

Build Status

Documentation

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 5.5.35+, PostgreSQL 9.2+, or other supported database
  • PHP 5.5.9+
  • a webserver (e.g. Apache or IIS)

Please refer to section 2.2 in the administration guide for further details.

Installation

  • Extract the tarball into a location readable by your web server
  • Point your browser to http://path/to/mantisbt/admin/check/index.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/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, custom_relationships_inc.php, custom_functions_inc.php and custom_constants_inc.php if they exist
  • Point your browser to http://path/to/mantisbt/admin/check/index.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://www.mantisbt.org/docs/

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

    • You should use 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/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_.
  • 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.

  • 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.