Improved fork of Bugzilla 3.6.4 with many new features -
Go to file
Vitaliy Filippov 655d27d543 Fix link quote regexp which could infinite loop in rare cases

2019-12-25 20:35:12 +03:00
Bugzilla Fix link quote regexp which could infinite loop in rare cases 2019-12-25 20:35:12 +03:00
contrib Remove useless "data" files from git 2018-05-29 20:08:22 +03:00
docs Continue docs 2015-01-26 14:37:44 +03:00
extensions Remove zero required version 2016-01-27 19:13:49 +03:00
images add missing picture 2015-01-14 16:54:34 +03:00
js Add bugLinkHook to allow customisation of clone links 2019-06-05 15:59:43 +03:00
lib Bug 40933 - remove garbage 2010-08-04 11:47:09 +00:00
qa Remove products.defaultmilestone and allow to configure default milestone using the generic field UI 2014-10-07 14:58:17 +04:00
skins Make report-table styles prettier 2018-05-30 16:25:53 +03:00
t Remove current user modification hack for Bugzilla::Search 2015-12-24 16:42:47 +03:00
template Add bugLinkHook to allow customisation of clone links 2019-06-05 15:59:43 +03:00 Support logging DB queries 2014-11-12 16:43:02 +03:00
CHANGELOG Release v2016-09-01 2016-09-01 20:59:42 +03:00 Bug 40933 2009-08-26 18:03:52 +00:00 Pass smtp_debug parameter to SMTP transport, remove sysread hack (breaks Email::Sender::Transport::SMTP) 2017-02-10 17:35:04 +03:00
README Add missing dependencies to README, remove Bugzilla::CGI::DESTROY 2015-06-18 16:39:07 +03:00
admin.cgi Code style for the rest of *.cgi 2014-10-10 16:57:07 +04:00
attachment.cgi Pass work_time to create attachment form 2016-07-27 15:14:55 +03:00
buglist.cgi Calculate totals over numeric columns 2018-05-29 19:55:06 +03:00
bugzilla.dtd Fix input_params 2014-10-07 14:58:16 +04:00
chart.cgi Fix and try to avoid "list Package->.." bug 2014-10-17 16:12:54 +04:00
check_access.cgi check_access.cgi: remove CGI usage 2014-10-07 18:38:13 +04:00 Do not touch permissions of code files, remove index.html creation support 2014-10-23 16:40:42 +04:00 Bug 70605 2011-08-23 22:17:45 +00:00
colchange.cgi Add separate parameters for "Period Worktime" column, remove usage of global variables 2015-03-04 13:34:40 +03:00 Remove CGI interfacing from Bugzilla::Search 2014-10-07 14:58:14 +04:00
config.cgi Fix config.cgi list() call 2016-01-26 13:43:23 +03:00
createaccount.cgi createaccount.cgi: code style, remove CGI usage 2014-10-08 14:25:19 +04:00
describecomponents.cgi do not use varhash in describecomponents 2014-10-07 15:00:54 +04:00
describekeywords.cgi Code style for the rest of *.cgi 2014-10-10 16:57:07 +04:00
duplicates.cgi Change sql_interval to sql_date_math, like in upstream 2014-10-24 18:20:25 +04:00
editcheckers.cgi Allow multiple values for the same except_field in checkers 2016-01-29 15:19:02 +03:00
editclassifications.cgi Use edit template for creating classifications, use literal actions to remove taint 2015-10-05 18:05:09 +03:00
editcomponents.cgi editcomponents.cgi: remove CGI usage, code style 2014-10-07 15:00:53 +04:00
editemailin.cgi Allow to use field names in, do not use CGI tie, use Bugzilla->input_params, fix some warnings 2014-10-07 14:58:16 +04:00
editfields.cgi Do not remove visibility values the user cannot see in editvalues 2016-03-09 17:26:07 +03:00
editflagtypes.cgi Fix flag type editing error 2015-09-14 14:10:39 +03:00
editgroups.cgi Bug 232765 - Refresh field cache after editing product permissions or user groups 2018-03-22 14:18:54 +03:00
editmilestones.cgi Add specific UI for enabling/disabling empty versions and milestones 2015-01-29 18:10:45 +03:00
editparams.cgi Fix editparams.cgi 2014-11-12 16:42:56 +03:00
editproducts.cgi Check if the product is "open" explicitly in editproducts.cgi until we have a single "save" method 2018-12-21 18:27:54 +03:00
editsettings.cgi editsettings.cgi: code style, remove CGI usage, redirect after saving 2014-10-07 15:00:55 +04:00
editusers.cgi Bug 232765 - Refresh field cache after editing product permissions or user groups 2018-03-22 14:18:54 +03:00
editusersingroup.cgi Bug 232765 - Refresh field cache after editing product permissions or user groups 2018-03-22 14:18:54 +03:00
editvalues.cgi Do not remove visibility values the user cannot see in editvalues 2016-03-09 17:26:07 +03:00
editversions.cgi Add sortkey for versions 2015-09-07 15:54:51 +03:00
editvisibility.cgi Use editvisibility.cgi to enable/disable dependent values, not dependent fields 2014-10-07 15:00:31 +04:00
editwhines.cgi Move report generation logic to Bugzilla::Report, support reports in whines 2016-08-03 00:32:35 +03:00
editworkflow.cgi editworkflow.cgi: remove CGI usage 2014-10-08 16:50:32 +04:00
email_in.cgi HTTP incoming email handler 2017-12-28 00:55:23 +03:00 HTTP incoming email handler 2017-12-28 00:55:23 +03:00
enter_bug.cgi Fix selecting component in url 2015-03-26 15:03:30 +03:00
fieldvaluecontrol.cgi Remove user_id_to_login procedural API; set default values for non-select fields on bug form 2014-10-07 15:00:54 +04:00
fill-day-worktime.cgi Add missing use 2015-01-14 10:38:28 +03:00
importxls.cgi Fix input_params upload handling, fix importxls.cgi for PgSQL/SQLite 2014-10-27 12:39:48 +03:00 Remove useXXX parameters and use $field->enabled instead; 2014-10-07 14:58:17 +04:00
index.cgi index.cgi: code style, remove CGI usage 2014-10-07 17:22:14 +04:00
informer.cgi informer.cgi: remove CGI usage 2014-10-08 16:10:01 +04:00 Bug 40933 - Merge with 3.6.1, Bug 64562 - Display "Next bug in your list..." 2010-06-25 16:04:36 +00:00 Bug 40933 2009-09-14 14:26:24 +00:00
jsonrpc.cgi Code style for the rest of *.cgi 2014-10-10 16:57:07 +04:00
long_list.cgi long_list.cgi: code style, remove CGI usage 2014-10-08 14:35:01 +04:00 Bug 40933 - НЕ ДО КОНЦА оттестированная объединённая версия Bugzilla 3.6 - НИКУДА НЕ РАЗВОРАЧИВАТЬ! :) 2010-05-14 20:02:34 +00:00 No redefine warnings during reload 2014-10-27 18:26:18 +03:00 Bug 40933 More WINdows fukinshit 2009-08-14 14:49:43 +00:00
page.cgi page.cgi: code style, remove CGI usage 2014-10-07 18:44:10 +04:00
post_bug.cgi Put cloned bug title into bug from which it was cloned 2014-10-31 17:54:05 +03:00
process_bug.cgi Remove "attachment already obsolete" error, fix longdesclength argument check 2016-01-27 18:15:04 +03:00
query.cgi Fix :: -> 2016-01-19 15:48:53 +03:00
quips.cgi quips.cgi: code style, simplify show, add admin_table style 2014-10-07 19:33:50 +04:00 Bug 65840 2010-06-25 13:52:20 +00:00
relogin.cgi relogin.cgi: remove CGI usage 2014-10-08 16:45:39 +04:00
report.cgi Oops 2018-05-30 19:36:37 +03:00
reports.cgi reports.cgi: remove CGI usage 2014-10-08 18:39:43 +04:00
request.cgi request.cgi: remove CGI usage 2014-10-09 18:19:49 +04:00
robots.txt Bug 40933 2008-12-15 12:53:33 +00:00
rss-comments.cgi Allow to filter rss-comments.cgi by fields 2018-07-11 13:09:28 +03:00 Bug 40933 2008-12-15 12:53:33 +00:00
sanitycheck.cgi Change sql_interval to sql_date_math, like in upstream 2014-10-24 18:20:25 +04:00 Remove the rest of cgi->param() and cgi->cookie() calls 2014-10-10 16:57:07 +04:00
scrum.cgi Allow to use field names in, do not use CGI tie, use Bugzilla->input_params, fix some warnings 2014-10-07 14:58:16 +04:00
search_plugin.cgi Code style for the rest of *.cgi 2014-10-10 16:57:07 +04:00
show_activity.cgi show_activity.cgi: code style 2014-10-07 15:00:54 +04:00
show_bug.cgi Support multiple "look for bug in" URLs 2016-02-29 00:40:22 +03:00
showattachment.cgi showattachment.cgi: remove CGI usage, code style 2014-10-08 16:41:03 +04:00
showdependencygraph.cgi Fix dependency graphs for bugs with < or > in titles 2015-02-03 14:27:22 +03:00
showdependencytree.cgi showdependencytree.cgi: remove CGI usage 2014-10-08 18:43:59 +04:00
sidebar.cgi sidebar.cgi: code style, remove CGI usage 2014-10-08 18:41:02 +04:00
summarize_time.cgi Fix split by month in summarize_time 2017-09-08 17:52:21 +03:00
testagent.cgi Do not disclose information, communicate using file 2014-11-02 02:04:07 +03:00 Do not disclose information, communicate using file 2014-11-02 02:04:07 +03:00
token.cgi Do not export anything from Bugzilla::User 2014-10-13 19:45:17 +04:00
unsubscribe.cgi unsubscribe.cgi: remove CGI usage 2014-10-07 18:39:31 +04:00
userprefs.cgi Fix possible duplicate key error when adding a bookmark to saved searches 2015-12-07 12:50:01 +03:00
votes.cgi votes.cgi: remove CGI usage 2014-10-09 22:43:10 +04:00 Move report generation logic to Bugzilla::Report, support reports in whines 2016-08-03 00:32:35 +03:00 Mostly remove bug_status hardcode, fix some more SQL queries for new schema 2014-05-16 18:52:39 +04:00
xml.cgi Allow to use field names in, do not use CGI tie, use Bugzilla->input_params, fix some warnings 2014-10-07 14:58:16 +04:00
xmlrpc.cgi Code style for the rest of *.cgi 2014-10-10 16:57:07 +04:00


What is Bugzilla?

Bugzilla is a free bug-tracking system that is developed by an active
community of volunteers in the Mozilla community. You can install and
use it without having to pay any license fee.

What is Bugzilla4Intranet?

Bugzilla4Intranet is a highly improved fork of Bugzilla version 3.6.4,
targeted at being a Fast and Customisable bug-tracker, and at cleaning
Bugzilla code, which contains a lot of hardcoded behaviour and just
ugly ideas or implementations.

Of course that's an ideal goal :-)

See also (russian)

Minimum requirements

Bugzilla4Intranet definitely works on GNU/Linux systems and should also work
on *BSD, other UNIX flavors and even Windows and Mac OS X.

Bugzilla is written in Perl, meaning that Perl and some Perl modules must be
installed on your system. Some of them contain C code which requires compilation.

You will also need a database server. Supported ones are MySQL and PostgreSQL;
there is also support for Oracle, though it is untested for long time and may be broken.

Bugzilla4Intranet Quick Start Guide
(or, how to get Bugzilla up and running in 10 steps) +
Vitaliy Filippov <>

This express installation guide is for "normal" Bugzilla installations,
which means a Linux or Unix system on which Perl, MySQL or PostgreSQL
and a Sendmail compatible MTA are available. For other configurations, please
see the "Installing Bugzilla" section of the Bugzilla Guide in the docs/ directory.

1. Decide from which URL and directory you will be serving the Bugzilla webpages.

2. Unpack the distribution into the chosen directory (there is no copying or installation involved).

3. Install Perl modules, better globally by running CPAN shell, which is
   'cpan' or 'perl -MCPAN -eshell' if you have no 'cpan' executable in PATH.
Minimal requirements are:

   sudo cpan Date::Parse DBI CGI DateTime Email::Address \
     Template JSON Email::MIME Test::Taint \
     XML::Twig Text::TabularDisplay Text::Wrap Email::Sender \
     Lingua::Translit Archive::Zip \
     DBD::mysql Image::Magick

For the full installation, you also need the following modules:

   sudo cpan GD Template::Plugin::GD GD::Graph GD::Graph3d \
     MIME::Parser Mail::RFC822::Address Email::Reply \
     Devel::StackTrace Email::MIME::Attachment::Stripper \
     SOAP::Lite XMLRPC::Lite JSON::RPC JSON::XS Text::CSV HTML::Strip \
     Text::CSV_XS Spreadsheet::ParseExcel Spreadsheet::XLSX \
     Lingua::Stem::Snowball Math::Random::Secure TheSchwartz \
     Daemon::Generic HTTP::Server::Simple Net::Server Sys::Sendfile

If you want to use PostgreSQL, you need DBD::pg instead of DBD::mysql.

Some of these contain C code and require a working compiler toolchain and appropriate
system libraries and their "development" packages ('-devel' or '-dev') for installation:
for example, DBD::mysql needs 'libmysqlclient-dev', GD needs 'libgd2-dev' and etc.
Install these with your Linux distro's package manager.

Your Linux distribution may have some of required perl modules available pre-built;
you may install them with package manager if they're sufficiently up to date.
For example, it's usually simpler to install Image::Magick with 'apt-get install perlmagick'
on Debian/Ubuntu systems.

4. Run ./ It will first check for installed Perl modules and a MTA,
   and then complain that localconfig needs to be edited.
NOTE: You can run checksetup as many times as necessary at any moment to check
that everything required has been installed, DB is set up and etc.
5. Create MySQL/PostgreSQL database and user with full access to it.

6. Edit the localconfig file, in particular the $webservergroup and $db_* variables
   which define database connection details, name, user and password.

7. Run once more; if all goes well, it should set up the
   Bugzilla database for you.
-- should ask you, this time, for the administrator's
email address and password. These will be used for the initial
Bugzilla administrator account.
8. Recommended way is to use standalone pure-perl HTTP server -;
   placing it behind a fast frontend server like nginx ( is probably
   more secure, but it's possible to use it even without any frontend. In this case
   the simplest way to start Bugzilla is to run
   sudo ./ --port [HOST:]PORT --user USER --group GROUP

Where HOST and PORT are the desired host and port which Bugzilla should listen on,
and USER and GROUP are the system user/group for running the web server process.

For example, to listen port 8157 on all network interfaces under Debian Linux:

   sudo ./ --port --user www-data --group www-data

For more advanced configuration see the end of file - there
are all the configuration options that you can override. You may specify these
options on the commandline like above, or put them in a configuration file and
use it with

   sudo ./ /path/to/config.file

To install a service, just put the above command into '/etc/rc.local' or copy
'contrib/init.d/bugzilla' script (for Debian) to '/etc/init.d'.
9. Another way is to use Apache and mod_perl. In this case create a virtual host
   with document root pointing to bugzilla installation directory and add the
   following into its configuration:

   PerlOptions +Parent
   PerlOptions +GlobalRequest
   PerlSwitches -T -I/path/to/bugzilla
   PerlModule Apache::XMLRPC::Lite
   PerlConfigRequire /path/to/bugzilla/

10. Visit the URL you chose for Bugzilla. Your browser should display the
    default Bugzilla home page. You should then log in as the
    administrator by following the "Log in" link and supplying the
    account information you provided in step 7.

11. Visit the "Parameters" page, as suggested by the page displayed to you.
    Set up the relevant parameters for your local setup.

12. That's it. If anything unexpected comes up:

    - read the error message carefully,
    - backtrack through the steps above,
    - check the installation guide,
    - if nothing helps, file a bug here:

Note that Bugzilla4Intranet differs from the original Bugzilla, so bug reports
should be filed at our GitHub page (at the above URL), not in the Mozilla bugtracker.


Documentation for Bugzilla4Intranet is based on the original Bugzilla 3.6.4
documentation, translated to asciidoc ( format.

It's still a work in progress - some parts are up-to-date for Bugzilla4Intranet and some are not.

See link:$$docs/en/html/Bugzilla-Guide.html$$[] and link:$$docs/en/asciidoc/Bugzilla-Guide.asciidoc$$[] (source).

You can also read the documentation for the *original* Bugzilla on its official site: