Skip to content
Mantis Bug Tracker (MantisBT)
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin Add "Check Installation" to Admin menu Jan 6, 2019
api Use VERSION_xxx constants for $p_released param Apr 18, 2019
config .htaccess files Apache 2.4 compatibility update Jan 15, 2017
core Update release to `2.22.0-dev` Apr 21, 2019
css Adjust height of scrollable project list Apr 13, 2019
doc Update release to 2.21.0 Apr 21, 2019
docbook Update release to 2.21.0 Apr 21, 2019
fonts Fix font issues when using IE Jun 26, 2018
images
js Projects list js Apr 13, 2019
lang Localisation updates from https://translatewiki.net. Apr 18, 2019
library Upgrade List.js to version 1.5.0 Mar 3, 2019
plugins Localisation updates from https://translatewiki.net. Apr 8, 2019
scripts Revert "Travis: disable xdebug for PHP 7.3 builds" Feb 9, 2019
tests Fix testGetIssuesForUserMonitoredNoTargetUser Mar 5, 2018
vendor Protect vendors folder Apr 20, 2019
.gitignore Ignore `.vscode` folder Dec 2, 2017
.imgbotconfig Configure ImgBot Dec 5, 2018
.mailmap Fix .mailmap for Carlos May 13, 2017
.travis.yml Add PHP 7.3 to Travis CI Nov 2, 2018
account_delete.php Use config_get_global for logout_redirect_page Nov 13, 2017
account_manage_columns_page.php MantisBT Modern UI. Jul 7, 2014
account_page.php Do not output empty classes Mar 18, 2018
account_prefs_inc.php Optimize call to config_get() Jan 14, 2018
account_prefs_page.php MantisBT Modern UI. Jul 7, 2014
account_prefs_reset.php
account_prefs_update.php Refactor user_pref_api Mar 3, 2019
account_prof_edit_page.php Add HTML5 'required' attribute to form fields Sep 9, 2017
account_prof_menu_page.php Add HTML5 'required' attribute to form fields Sep 9, 2017
account_prof_update.php . Jul 10, 2014
account_sponsor_page.php Distinct classes for status color fore/background Mar 29, 2019
account_sponsor_update.php Remove extra spaces (batch #1) Aug 26, 2014
account_update.php
adm_config_delete.php
adm_config_report.php Make sure deleted users appear in the dropdown list Feb 24, 2019
adm_config_set.php Typo fixes in comments and documentation Aug 15, 2017
adm_permissions_report.php
api_token_create.php Remove API tokens threshold from Auth Flags Apr 16, 2017
api_token_revoke.php
api_tokens_page.php Remove API tokens threshold from Auth Flags Apr 16, 2017
billing_export_to_csv.php Remove `show_realname` usage from billing pages Feb 7, 2018
billing_export_to_excel.php Remove `show_realname` usage from billing pages Feb 7, 2018
billing_inc.php Use always string_display_line to prepare single line strings Oct 5, 2018
billing_page.php Remove redundant php tags Jan 3, 2018
browser_search_plugin.php Create view_all_set.php constants Jan 9, 2019
bug_actiongroup.php Uniformize display of failed group updates Aug 9, 2018
bug_actiongroup_add_note_inc.php Create event EVENT_BUG_ACTIONGROUP_FORM Oct 23, 2017
bug_actiongroup_attach_tags_inc.php Style bulk action pages 'Severity', 'Add Note', 'Attach tags' Apr 9, 2015
bug_actiongroup_ext.php Uniformize display of failed group updates Aug 9, 2018
bug_actiongroup_ext_page.php Replace utf8_strtolower by mb_strtolower Mar 4, 2018
bug_actiongroup_page.php Evaluate versions for multiple projects Feb 24, 2019
bug_actiongroup_update_product_build_inc.php
bug_actiongroup_update_severity_inc.php Style bulk action pages 'Severity', 'Add Note', 'Attach tags' Apr 9, 2015
bug_change_status_page.php
bug_file_delete.php
bug_monitor_add.php Update command data expected schema Jan 10, 2018
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 Ignore source/empty ids when adding multiple relationships Mar 2, 2019
bug_relationship_delete.php Implement `IssueRelationshipDeleteCommand` Jan 28, 2018
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 New API function user_get_username() Sep 9, 2017
bug_report.php
bug_report_page.php
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 no 'alt' attribute in <i> context Mar 29, 2018
bug_stick.php Remove our last closing PHP tag at end of file (some remaining in libs) Oct 19, 2013
bug_update.php Don’t auto-set status when explicitly set by user May 2, 2018
bug_update_page.php Use color square instead of background color Mar 29, 2019
bug_view_advanced_page.php
bug_view_inc.php Distinct classes for status color fore/background Mar 29, 2019
bug_view_page.php Code standard / PHPdoc fixes. May 30, 2014
bugnote_add.php Implement `IssueFileAddCommand` Jan 17, 2018
bugnote_add_inc.php Redesign dropzone file previews Feb 24, 2019
bugnote_delete.php
bugnote_edit_page.php Removed 'center' class from bugnote edit page textarea Mar 20, 2017
bugnote_set_view_state.php Remove duplicate function call in bugnote_set_view_state.php Sep 28, 2014
bugnote_stats_inc.php Change time tracking to print username using API Feb 7, 2018
bugnote_update.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
bugnote_view_inc.php Replace utf8_substr by mb_substr Mar 4, 2018
changelog_page.php Use VERSION_xxx constants for $p_released param Apr 18, 2019
composer.json Update PHPMailer to 6.0.6 Nov 20, 2018
composer.lock Bump slim/slim from 3.12.0 to 3.12.1 (#1507) Apr 20, 2019
config_defaults_inc.php Obsolete my_view_boxes_fixed_position Apr 11, 2019
core.php Misc. typos May 31, 2018
csv_export.php Refactor filter query, export csv, excel Mar 5, 2018
excel_xml_export.php
file_download.php Refactor `finfo` usage Jan 10, 2018
history_inc.php Use always string_display_line to prepare single line strings Oct 5, 2018
index.php Use config_get_global for default_home_page Nov 13, 2017
issues_rss.php Use new function filter_get() Mar 4, 2018
javascript_config.php Allow caching of generated js/css files Oct 8, 2017
javascript_translations.php
jump_to_bug.php
login.php Use config_get_global for default_home_page Nov 13, 2017
login_anon.php . Jul 10, 2014
login_cookie_test.php Support authentication plugins Apr 16, 2017
login_page.php Remove admin check for Application Errors on Login page Feb 10, 2018
login_password_page.php Enable password managers to detect usernames Nov 1, 2018
login_select_proj_page.php Fix tabs and cleanup extra spaces Aug 29, 2014
logout_page.php
lost_pwd.php
lost_pwd_page.php Style logo in login related pages Sep 26, 2017
main_page.php Create view_all_set.php constants Jan 9, 2019
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
manage_config_columns_reset.php MantisBT Modern UI. Jul 7, 2014
manage_config_columns_set.php
manage_config_email_page.php
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
manage_config_work_threshold_set.php Add view_summary_threshold to workflow config page Feb 14, 2019
manage_config_workflow_graph_page.php Use always string_display_line to prepare single line strings Oct 5, 2018
manage_config_workflow_page.php Use always string_display_line to prepare single line strings Oct 5, 2018
manage_config_workflow_set.php Merge remote-tracking branch 'origin/master-1.3.x' Sep 11, 2016
manage_custom_field_create.php
manage_custom_field_delete.php Fix numerous HTML validation issues Jun 18, 2016
manage_custom_field_edit_page.php
manage_custom_field_page.php Use always string_display_line to prepare single line strings Oct 5, 2018
manage_custom_field_proj_add.php Code Standards/PHP Doc improvements Jun 30, 2014
manage_custom_field_update.php Show a warning when changing field type Sep 9, 2017
manage_filter_delete.php Quote filter name in manage filter delete Feb 5, 2017
manage_filter_edit_page.php Rearrange filter dialog widget Jan 9, 2019
manage_filter_edit_update.php
manage_filter_page.php Use always string_display_line to prepare single line strings Oct 5, 2018
manage_overview_page.php Use config_get_global for plugin_path Nov 13, 2017
manage_plugin_install.php Fix Mantis Code Standards: use "if(" over "if (" Jun 8, 2014
manage_plugin_page.php Fix Manage Plugins UI for protected plugins Nov 20, 2017
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
manage_proj_cat_copy.php Code Standards/PHP Doc improvements Jun 30, 2014
manage_proj_cat_delete.php
manage_proj_cat_edit_page.php
manage_proj_cat_update.php Replace utf8_strtolower by mb_strtolower Mar 4, 2018
manage_proj_create.php
manage_proj_create_page.php
manage_proj_custom_field_add_existing.php MantisBT Modern UI. Jul 7, 2014
manage_proj_custom_field_copy.php
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
manage_proj_page.php Use always string_display_line to prepare single line strings Oct 5, 2018
manage_proj_subproj_add.php Add subproject CRUD commands and REST API Feb 24, 2019
manage_proj_subproj_delete.php Add subproject CRUD commands and REST API Feb 24, 2019
manage_proj_update.php
manage_proj_update_children.php Add subproject CRUD commands and REST API Feb 24, 2019
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
manage_proj_user_update.php Enhance tables with sortable columns using list.js Mar 3, 2019
manage_proj_ver_add.php Create project version via REST API May 15, 2018
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 Revert "Convert php date format string to moment.js format string" Apr 16, 2017
manage_proj_ver_update.php Remove extra spaces (batch #3) Aug 27, 2014
manage_tags_page.php
manage_user_create.php Fix password checking when creating users Nov 2, 2018
manage_user_create_page.php Use config_get_global for login_method Nov 13, 2017
manage_user_delete.php Implement `UserDeleteCommand` Jan 20, 2018
manage_user_edit_page.php
manage_user_impersonate.php Use config_get_global for default_home_page Nov 13, 2017
manage_user_page.php Change "new account" button into a link Dec 29, 2018
manage_user_proj_add.php Code Standards/PHP Doc improvements Jun 30, 2014
manage_user_proj_delete.php
manage_user_prune.php Don’t prune protected accounts Aug 27, 2016
manage_user_reset.php Support authentication plugins Apr 16, 2017
manage_user_update.php Don’t enforce realname to be unique Feb 7, 2018
mantis_offline.php.sample Mantis -> MantisBT in file headers, comments, and elsewhere. Feb 14, 2009
my_view_inc.php Distinct classes for status color fore/background Mar 29, 2019
my_view_page.php
news_add.php Add spacer before Add News confirmation message Sep 10, 2016
news_edit_page.php Add HTML5 'required' attribute to form fields Sep 9, 2017
news_list_page.php
news_menu_page.php Add HTML5 'required' attribute to form fields Sep 9, 2017
news_rss.php Replace utf8_substr by mb_substr Mar 4, 2018
news_update.php Implementing PR revision comments Sep 21, 2016
news_view_page.php Refactor: rename print_button() Nov 26, 2016
permalink_page.php Add form security token to permalink_page.php May 20, 2017
plugin.php
plugin_file.php Use config_get_global for plugin_path Nov 13, 2017
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
print_all_bug_options_update.php
print_all_bug_page.php
print_all_bug_page_word.php
proj_doc_add.php Remove extra spaces (batch #3) Aug 27, 2014
proj_doc_add_page.php Fix dropzone max file size setting Feb 24, 2019
proj_doc_delete.php
proj_doc_edit_page.php Fix dropzone max file size setting Feb 24, 2019
proj_doc_page.php Use always string_display_line to prepare single line strings Oct 5, 2018
proj_doc_update.php Fix dropzone max file size setting Feb 24, 2019
project_page.php
query_store.php Correct access checks when storing filters May 23, 2018
query_store_page.php
readme.md README: update requirements for 2.x Dec 5, 2016
return_dynamic_filters.php Ensure temporary filter is tracked through view_all_page Mar 4, 2018
roadmap_page.php Create view_all_set.php constants Jan 9, 2019
search.php
set_project.php PR fixes Jan 9, 2019
signup.php Replace utf8_strtolower by mb_strtolower Mar 4, 2018
signup_page.php Style logo in login related pages Sep 26, 2017
summary_page.php Filtered summary links Feb 14, 2019
tag_attach.php Implement `TagAttachCommand` Jan 27, 2018
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 DELETE tag REST API shouldn’t have a payload Jan 27, 2018
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
verify.php Style logo in login related pages Sep 26, 2017
view.php Code Standards/PHP Doc improvements Jun 30, 2014
view_all_bug_page.php Use config_get_global for bug_list_cookie Nov 13, 2017
view_all_inc.php
view_all_set.php Fix filter links for summary Feb 14, 2019
view_filters_page.php Rearrange filter dialog widget Jan 9, 2019
view_user_page.php Hide User Info table footer when not needed Dec 14, 2018
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

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.

You can’t perform that action at this time.