Preliminary support for Bugzilla 3.6.x

git-svn-id: svn://10.0.0.236/trunk@260648 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2010-07-06 15:09:21 +00:00
parent 00d84e46ec
commit d0bc259040
443 changed files with 5348 additions and 5351 deletions

View File

@ -1 +1 @@
637
638

View File

@ -1,7 +1,8 @@
#!/usr/bin/perl -w
package Bugzilla::Extension::Testopia;
use strict;
use constant NAME => 'Testopia';
sub REQUIRED_MODULES {
my @modules = (
use constant REQUIRED_MODULES => [
{
package => 'JSON',
module => 'JSON',
@ -17,38 +18,33 @@ sub REQUIRED_MODULES {
module => 'GD::Graph3d',
version => '0.63'
},
);
return \@modules;
};
];
sub OPTIONAL_MODULES {
my @modules = (
use constant OPTIONAL_MODULES => [
{
package => 'Text-CSV',
module => 'Text::CSV',
version => '1.06',
feature => 'CSV Importing of test cases'
feature => ['CSV Importing of test cases']
},
{
package => 'XML Schema Validator',
module => 'XML::Validator::Schema',
version => '1.10',
feature => 'XML Importing of test cases and plans'
feature => ['XML Importing of test cases and plans']
},
{
package => 'XML Schema Parser',
module => 'XML::SAX::ParserFactory',
version => 0,
feature => 'XML Importing of test cases and plans'
feature => ['XML Importing of test cases and plans']
},
{
package => 'XML Twig',
module => 'XML::Twig',
version => 0,
feature => 'XML Importing of test cases and plans'
feature => ['XML Importing of test cases and plans']
}
);
return \@modules;
};
];
__PACKAGE__->NAME;

File diff suppressed because it is too large Load Diff

View File

@ -32,10 +32,10 @@ something like this:
$> cd /path/to/bugzilla
$> tar xzvf testopia-<version>.tar.gz
Next you need to patch the Bugzilla files. Find the patch file in the extensions/testopia directory matching your version of Bugzilla.
Next you need to patch the Bugzilla files. Find the patch file in the extensions/Testopia directory matching your version of Bugzilla.
For example, if you are running Bugzilla 3.4.3 you will apply the patch-3.4.3 patch file.
$> patch -p0 -i extensions/testopia/patch-3.4.3
$> patch -p0 -i extensions/Testopia/patch-3.4.3
Finally, you need to run checksetup.pl

View File

@ -151,7 +151,7 @@ $soapresult = $proxy->call('Testopia.testopia_version');
#$soapresult = $proxy->call('Build.check_build', 'Linux', 2);
#$soapresult = $proxy->call('Build.check_build', 'Linux', 'Bugzilla');
#$soapresult = $proxy->call('Build.check_build', 'Linux', Testopia::Product->new(2));
#$soapresult = $proxy->call('Build.check_build', 'Linux', Bugzilla::Extension::Testopia::Product->new(2));
#$soapresult = $proxy->call('Build.create', {name=>'Build '. time(), product_id=>2, isactive=>0, description=> 'API Test Build - IGNORE'});
#$soapresult = $proxy->call('Build.get', 1140);
#$soapresult = $proxy->call('Build.update', 1140, { description=>'This is a description', milestone=>'3.0', isactive=>0});
@ -161,7 +161,7 @@ $soapresult = $proxy->call('Testopia.testopia_version');
###########################
#$soapresult = $proxy->call('Environment.check_environment', 'Linux', 2);
#$soapresult = $proxy->call('Environment.check_environment', 'Linux', 'Bugzilla');
#$soapresult = $proxy->call('Environment.check_environment', 'Linux', Testopia::Product->new(2));
#$soapresult = $proxy->call('Environment.check_environment', 'Linux', Bugzilla::Extension::Testopia::Product->new(2));
#$soapresult = $proxy->call('Environment.create', {product_id=>2, name=>'Environment '.time() , isactive=>1});
#$soapresult = $proxy->call('Environment.get', 1018);
#$soapresult = $proxy->call('Environment.list', {environment_id=>330});

View File

@ -1,7 +1,7 @@
<?php
// by Edd Dumbill (C) 1999-2002
// <edd@usefulinc.com>
// $Id: .xmlrpc.inc.php,v 1.1 2009-08-27 16:19:23 ghendricks%novell.com Exp $
// $Id: .xmlrpc.inc.php,v 1.1 2010-07-06 15:08:43 mkanat%bugzilla.org Exp $
// Copyright (c) 1999,2000,2002 Edd Dumbill.
// All rights reserved.

View File

@ -29,6 +29,18 @@
border:none;
}
#footer .testopia_links {
padding-left: 1ex;
}
#footer #links-saved {
padding-left: 1em;
}
#footer #tr-links-saved {
padding: 1em;
}
/* old default.css */
textarea {
/* background-color: #fff; */
@ -234,15 +246,15 @@ dt {
}
.plan_archived {
background: url(../../testopia/img/archived.png);
background: url(../../Testopia/img/archived.png);
background-repeat: no-repeat;
width: 120px;
height: 32px;
}
.x-progress-bar-red{height:18px;float:left;width:0;background:#9CBFEE url( ../../testopia/img/red_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
.x-progress-bar-green{height:18px;float:left;width:0;background:#9CBFEE url( ../../testopia/img/green_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
.x-progress-bar-orange{height:18px;float:left;width:0;background:#9CBFEE url( ../../testopia/img/orange_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
.x-progress-bar-red{height:18px;float:left;width:0;background:#9CBFEE url( ../../Testopia/img/red_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
.x-progress-bar-green{height:18px;float:left;width:0;background:#9CBFEE url( ../../Testopia/img/green_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
.x-progress-bar-orange{height:18px;float:left;width:0;background:#9CBFEE url( ../../Testopia/img/orange_bar.gif ) repeat-x left center;border-top:1px solid #D1E4FD;border-bottom:1px solid #7FA9E4;}
.x-progress-text-main{font-size:11px;font-weight:bold;color:#fff;padding:3px 5px;overflow:hidden;position:absolute;left:0;text-align:center;}
.x-progress-text-back-main{color:#000;line-height:16px;font-weight:bold;}

View File

Before

Width:  |  Height:  |  Size: 123 B

After

Width:  |  Height:  |  Size: 123 B

View File

Before

Width:  |  Height:  |  Size: 538 B

After

Width:  |  Height:  |  Size: 538 B

View File

Before

Width:  |  Height:  |  Size: 353 B

After

Width:  |  Height:  |  Size: 353 B

View File

Before

Width:  |  Height:  |  Size: 350 B

After

Width:  |  Height:  |  Size: 350 B

View File

Before

Width:  |  Height:  |  Size: 561 B

After

Width:  |  Height:  |  Size: 561 B

View File

Before

Width:  |  Height:  |  Size: 376 B

After

Width:  |  Height:  |  Size: 376 B

Some files were not shown because too many files have changed in this diff Show More