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