Improved fork of Bugzilla 3.6.4 with many new features - http://wiki.4intra.net/Bugzilla4Intranet
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Vitaliy Filippov 655d27d543 Fix link quote regexp which could infinite loop in rare cases 3 years ago
Bugzilla Fix link quote regexp which could infinite loop in rare cases 3 years ago
contrib Remove useless "data" files from git 5 years ago
docs Continue docs 8 years ago
extensions Remove zero required version 7 years ago
images add missing picture 8 years ago
js Add bugLinkHook to allow customisation of clone links 4 years ago
lib Bug 40933 - remove garbage 13 years ago
qa Remove products.defaultmilestone and allow to configure default milestone using the generic field UI 9 years ago
skins Make report-table styles prettier 5 years ago
t Remove current user modification hack for Bugzilla::Search 7 years ago
template Add bugLinkHook to allow customisation of clone links 4 years ago
Bugzilla.pm Support logging DB queries 8 years ago
CHANGELOG Release v2016-09-01 7 years ago
HTTPServerSimple-NYTProf.sh Bug 40933 14 years ago
HTTPServerSimple.pl Pass smtp_debug parameter to SMTP transport, remove sysread hack (breaks Email::Sender::Transport::SMTP) 6 years ago
README Add missing dependencies to README, remove Bugzilla::CGI::DESTROY 8 years ago
admin.cgi Code style for the rest of *.cgi 9 years ago
attachment.cgi Pass work_time to create attachment form 7 years ago
buglist.cgi Calculate totals over numeric columns 5 years ago
bugzilla.dtd Fix input_params 9 years ago
chart.cgi Fix and try to avoid "list Package->.." bug 9 years ago
check_access.cgi check_access.cgi: remove CGI usage 9 years ago
checksetup.pl Do not touch permissions of code files, remove index.html creation support 9 years ago
checksetup.sh Bug 70605 12 years ago
colchange.cgi Add separate parameters for "Period Worktime" column, remove usage of global variables 8 years ago
collectstats.pl Remove CGI interfacing from Bugzilla::Search 9 years ago
config.cgi Fix config.cgi list() call 7 years ago
createaccount.cgi createaccount.cgi: code style, remove CGI usage 9 years ago
describecomponents.cgi do not use varhash in describecomponents 9 years ago
describekeywords.cgi Code style for the rest of *.cgi 9 years ago
duplicates.cgi Change sql_interval to sql_date_math, like in upstream 9 years ago
editcheckers.cgi Allow multiple values for the same except_field in checkers 7 years ago
editclassifications.cgi Use edit template for creating classifications, use literal actions to remove taint 8 years ago
editcomponents.cgi editcomponents.cgi: remove CGI usage, code style 9 years ago
editemailin.cgi Allow to use field names in email_in.pl, do not use CGI tie, use Bugzilla->input_params, fix some warnings 9 years ago
editfields.cgi Do not remove visibility values the user cannot see in editvalues 7 years ago
editflagtypes.cgi Fix flag type editing error 8 years ago
editgroups.cgi Bug 232765 - Refresh field cache after editing product permissions or user groups 5 years ago
editmilestones.cgi Add specific UI for enabling/disabling empty versions and milestones 8 years ago
editparams.cgi Fix editparams.cgi 8 years ago
editproducts.cgi Check if the product is "open" explicitly in editproducts.cgi until we have a single "save" method 4 years ago
editsettings.cgi editsettings.cgi: code style, remove CGI usage, redirect after saving 9 years ago
editusers.cgi Bug 232765 - Refresh field cache after editing product permissions or user groups 5 years ago
editusersingroup.cgi Bug 232765 - Refresh field cache after editing product permissions or user groups 5 years ago
editvalues.cgi Do not remove visibility values the user cannot see in editvalues 7 years ago
editversions.cgi Add sortkey for versions 8 years ago
editvisibility.cgi Use editvisibility.cgi to enable/disable dependent values, not dependent fields 9 years ago
editwhines.cgi Move report generation logic to Bugzilla::Report, support reports in whines 7 years ago
editworkflow.cgi editworkflow.cgi: remove CGI usage 9 years ago
email_in.cgi HTTP incoming email handler 5 years ago
email_in.pl HTTP incoming email handler 5 years ago
enter_bug.cgi Fix selecting component in url 8 years ago
fieldvaluecontrol.cgi Remove user_id_to_login procedural API; set default values for non-select fields on bug form 9 years ago
fill-day-worktime.cgi Add missing use 8 years ago
importxls.cgi Fix input_params upload handling, fix importxls.cgi for PgSQL/SQLite 9 years ago
importxml.pl Remove useXXX parameters and use $field->enabled instead; 9 years ago
index.cgi index.cgi: code style, remove CGI usage 9 years ago
informer.cgi informer.cgi: remove CGI usage 9 years ago
install-module.pl Bug 40933 - Merge with 3.6.1, Bug 64562 - Display "Next bug in your list..." 13 years ago
jobqueue.pl Bug 40933 14 years ago
jsonrpc.cgi Code style for the rest of *.cgi 9 years ago
long_list.cgi long_list.cgi: code style, remove CGI usage 9 years ago
migrate.pl Bug 40933 - НЕ ДО КОНЦА оттестированная объединённая версия Bugzilla 3.6 - НИКУДА НЕ РАЗВОРАЧИВАТЬ! :) 13 years ago
mod_perl.pl No redefine warnings during reload 9 years ago
mod_perl_win32.pl Bug 40933 More WINdows fukinshit 14 years ago
page.cgi page.cgi: code style, remove CGI usage 9 years ago
post_bug.cgi Put cloned bug title into bug from which it was cloned 9 years ago
process_bug.cgi Remove "attachment already obsolete" error, fix longdesclength argument check 7 years ago
query.cgi Fix :: -> 7 years ago
quips.cgi quips.cgi: code style, simplify show, add admin_table style 9 years ago
recollect.pl Bug 65840 13 years ago
relogin.cgi relogin.cgi: remove CGI usage 9 years ago
report.cgi Oops 5 years ago
reports.cgi reports.cgi: remove CGI usage 9 years ago
request.cgi request.cgi: remove CGI usage 9 years ago
robots.txt Bug 40933 14 years ago
rss-comments.cgi Allow to filter rss-comments.cgi by fields 5 years ago
runtests.pl Bug 40933 14 years ago
sanitycheck.cgi Change sql_interval to sql_date_math, like in upstream 9 years ago
sanitycheck.pl Remove the rest of cgi->param() and cgi->cookie() calls 9 years ago
scrum.cgi Allow to use field names in email_in.pl, do not use CGI tie, use Bugzilla->input_params, fix some warnings 9 years ago
search_plugin.cgi Code style for the rest of *.cgi 9 years ago
show_activity.cgi show_activity.cgi: code style 9 years ago
show_bug.cgi Support multiple "look for bug in" URLs 7 years ago
showattachment.cgi showattachment.cgi: remove CGI usage, code style 9 years ago
showdependencygraph.cgi Fix dependency graphs for bugs with < or > in titles 8 years ago
showdependencytree.cgi showdependencytree.cgi: remove CGI usage 9 years ago
sidebar.cgi sidebar.cgi: code style, remove CGI usage 9 years ago
summarize_time.cgi Fix split by month in summarize_time 6 years ago
testagent.cgi Do not disclose information, communicate using file 9 years ago
testserver.pl Do not disclose information, communicate using file 9 years ago
token.cgi Do not export anything from Bugzilla::User 9 years ago
unsubscribe.cgi unsubscribe.cgi: remove CGI usage 9 years ago
userprefs.cgi Fix possible duplicate key error when adding a bookmark to saved searches 7 years ago
votes.cgi votes.cgi: remove CGI usage 9 years ago
whine.pl Move report generation logic to Bugzilla::Report, support reports in whines 7 years ago
whineatnews.pl Mostly remove bug_status hardcode, fix some more SQL queries for new schema 9 years ago
xml.cgi Allow to use field names in email_in.pl, do not use CGI tie, use Bugzilla->input_params, fix some warnings 9 years ago
xmlrpc.cgi Code style for the rest of *.cgi 9 years ago

README

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 http://wiki.4intra.net/Bugzilla4Intranet (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 <vitalif@mail.ru>

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 ./checksetup.pl. 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 checksetup.pl once more; if all goes well, it should set up the
Bugzilla database for you.
+
--
checksetup.pl 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 - HTTPServerSimple.pl;
placing it behind a fast frontend server like nginx (http://nginx.org) 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 ./HTTPServerSimple.pl --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 ./HTTPServerSimple.pl --port 0.0.0.0:8157 --user www-data --group www-data

For more advanced configuration see the end of HTTPServerSimple.pl 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 ./HTTPServerSimple.pl /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/mod_perl.pl

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: http://github.com/vitalif/bugzilla-4intranet/issues

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

Documentation for Bugzilla4Intranet is based on the original Bugzilla 3.6.4
documentation, translated to asciidoc (http://www.methods.co.nz/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:
http://www.bugzilla.org/docs/.