50 Commits

Author SHA1 Message Date
bzrmirror%bugzilla.org
84c5be6eb5 Bug 996893: Perl 5.18 and newer throw tons of warnings about deprecated modules
r=dkl a=sgreen


git-svn-id: svn://10.0.0.236/trunk@265490 18797224-902f-48f8-a5cc-f745e15eee43
2014-08-13 11:01:07 +00:00
bzrmirror%bugzilla.org
1a2043e408 Bug 893589 - 004template.t fails when templates in extension directory
r=dkl, a=simon


git-svn-id: svn://10.0.0.236/trunk@265035 18797224-902f-48f8-a5cc-f745e15eee43
2013-09-26 02:33:06 +00:00
mkanat%bugzilla.org
42aa391ee8 Bug 817634: Tests in t/ should also check themselves where appropriate
r=glob a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264523 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-03 18:15:51 +00:00
mkanat%bugzilla.org
1764f0df90 Bug 787668: Use |use parent| instead of |use base|
r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264508 18797224-902f-48f8-a5cc-f745e15eee43
2012-12-01 01:31:00 +00:00
mkanat%bugzilla.org
1a457dc1a0 Bug 784072: Use Pod::Coverage to make sure that all subroutines are documented
r=wurblzap a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264504 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-30 19:00:44 +00:00
mkanat%bugzilla.org
f38954f358 Bug 615627: Make t/012throwables.t know about user errors defined in extensions
r=dkl, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264422 18797224-902f-48f8-a5cc-f745e15eee43
2012-11-13 06:45:42 +00:00
mkanat%bugzilla.org
3b5e8524aa Bug 680131: Replace the MPL 1.1 license by the MPL 2.0 one in all files, and add it to files which miss one
r=kiko r=mkanat r=mrbball a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263258 18797224-902f-48f8-a5cc-f745e15eee43
2012-01-11 22:48:45 +00:00
mkanat%bugzilla.org
0d470bed44 Bug 680729 - Testing suite (runtests.pl) incorrectly plans to do its existence check on referenced templates more than once.
r=dkl; a=mkanat


git-svn-id: svn://10.0.0.236/trunk@262780 18797224-902f-48f8-a5cc-f745e15eee43
2011-08-31 13:46:16 +00:00
mkanat%bugzilla.org
9c9761293d Bug 663835 - Extensions templates are not tested by the normal sanity test scripts
r/a=mkanat


git-svn-id: svn://10.0.0.236/trunk@262419 18797224-902f-48f8-a5cc-f745e15eee43
2011-06-23 18:46:31 +00:00
mkanat%bugzilla.org
d4b993f019 Bug 530252: Create a script that sets up the framework of an extension
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> (module owner) a=mkanat


git-svn-id: svn://10.0.0.236/trunk@259083 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-25 05:02:57 +00:00
mkanat%bugzilla.org
24cf7a5563 Bug 527505: Make 001compile.t use Bugzilla->feature to determine which modules to compile
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat


git-svn-id: svn://10.0.0.236/trunk@258958 18797224-902f-48f8-a5cc-f745e15eee43
2009-11-10 21:19:48 +00:00
lpsolit%gmail.com
a1eb570090 Bug 487342: 001compile.t fails if JSON::RPC is not installed - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@256849 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-08 08:53:14 +00:00
wurblzap%gmail.com
918d301165 Bug 380187 – Bugzilla should support RADIUS authentication.
Tinderbox bustage fix by Marc Schumann <wurblzap@gmail.com>;
r=LpSolit, a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@231408 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-03 13:41:43 +00:00
lpsolit%gmail.com
0ef3c298cc Bug 360838: ./runtests.pl 1 fails if Email::Reply is not installed - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
git-svn-id: svn://10.0.0.236/trunk@219536 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 23:15:36 +00:00
lpsolit%gmail.com
df3174a707 Bug 343566: Runtests test 004template.t fails on some systems with a complaint about RELATIVE - Patch by Frédéric Buclin <LpSolit@gmail.com> r=joel a=myk
git-svn-id: svn://10.0.0.236/trunk@201540 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-04 22:30:17 +00:00
lpsolit%gmail.com
c82f6b1afc Bug 285614: Rewrite importxml.pl to remove XML::Parser magic numbers - Patch by Greg Hendricks <ghendricks@novell.com> r=LpSolit a=myk
git-svn-id: svn://10.0.0.236/trunk@187278 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 23:53:10 +00:00
justdave%bugzilla.org
bf5928397d Bug 285700: bump minimum File::Spec version to 0.84 to deal with taint errors
r= LpSolit, a= justdave


git-svn-id: svn://10.0.0.236/trunk@177197 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-05 23:47:28 +00:00
jocuri%softhome.net
72d431c965 Patch for bug 258579: t/Support/Files.pm should use File::Find; patch by Marc Schumann <wurblzap@gmail.com>, r=vladd, a=justdave.
git-svn-id: svn://10.0.0.236/trunk@166320 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-06 17:03:00 +00:00
jocuri%softhome.net
1a65de5ff0 Patch for bug 257106: Make testing suite know about new directory levels in Bugzilla/Auth; patch by Marc Schumann <wurblzap@gmail.com>; r=vladd, a=myk.
git-svn-id: svn://10.0.0.236/trunk@161692 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-03 06:53:58 +00:00
bugreport%peshkin.net
ba7b83aa6f Bug 241900: Allow Bugzilla::Auth to have multiple login and validation styles
patch by erik
r=joel, kiko
a=myk


git-svn-id: svn://10.0.0.236/trunk@159556 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 22:41:22 +00:00
bugreport%peshkin.net
dd7434d263 Backing out bug 241900
git-svn-id: svn://10.0.0.236/trunk@159043 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-12 03:48:48 +00:00
bugreport%peshkin.net
864d1bce45 Bug 241900: Allow Bugzilla::Auth to have multiple login and validation styles
patch by erik
r=joel
a=justdave


git-svn-id: svn://10.0.0.236/trunk@159037 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-11 23:36:53 +00:00
jocuri%softhome.net
b185512513 Bug 216523: t/Support/Files.pm fails to include Bugzilla/Template/Plugin/Bugzilla.pm in the file list; patch by zach@zachlipton.com; r=jouni; a=justdave.
git-svn-id: svn://10.0.0.236/trunk@151221 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 22:52:37 +00:00
myk%mozilla.org
aa9a2cb9f7 Fix for bug 229658: Implements a mechanism for extensions to hook into standard Bugzilla templates so they can extend the Bugzilla UI without having to modify the standard templates themselves, making it easier to develop and use Bugzilla extensions.
r=bbaetz, gerv
a=myk


git-svn-id: svn://10.0.0.236/trunk@151180 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-11 17:12:19 +00:00
bbaetz%acm.org
2b0b42744f Bug 180642 - Move authentication code into a module
r=gerv, justdave
a=justdave


git-svn-id: svn://10.0.0.236/trunk@140041 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 04:47:35 +00:00
zach%zachlipton.com
e68aa2446b Partial fix for bug 192513 (processmail cleanup). Patch fixes test files
to disregard processmail since it no longer exists (it was special-cased
before).

r=dave, a=dave


git-svn-id: svn://10.0.0.236/trunk@137620 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-10 05:01:32 +00:00
gerv%gerv.net
3e27abdb68 Bug 126955 - Bugzilla should support translated/localized templates. Patch by burnus; r=gerv, a=justdave.
git-svn-id: svn://10.0.0.236/trunk@136912 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-23 23:34:10 +00:00
zach%zachlipton.com
e7a9b80e8d Fix for bug 180955: Remove dual-license from test files
Permission to do so granted by: justdave, joel, jake, ddk, gerv, bbaetz,
and myself (as gleamed from bonsai and the contributors lines and
indicated in the bug report). a=justdave.


git-svn-id: svn://10.0.0.236/trunk@135007 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-09 22:32:12 +00:00
jake%bugzilla.org
b7a53c11ec Updating my e-mail address as jake@acutex.net is no longer valid.
* NO CODE CHANGES *


git-svn-id: svn://10.0.0.236/trunk@128230 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 04:28:05 +00:00
bbaetz%student.usyd.edu.au
71381b40ed Bug 76923 - Don't |use diagnostics| (its really expensive at startup time)
r=joel x2


git-svn-id: svn://10.0.0.236/trunk@128080 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 06:17:26 +00:00
bugreport%peshkin.net
5d72e76ff4 Bug 163494 - runtests.sh needs a switch to include optional modules
Tests now detect optional modules and only exclude optional files
if optional module dependencies are not met.
Also major indent cleanup
r=timeless


git-svn-id: svn://10.0.0.236/trunk@128066 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-25 17:19:03 +00:00
bbaetz%student.usyd.edu.au
b19b95beef Bug 162438 - fix permissions/tests for Bugzilla/ directory
r=joel x2


git-svn-id: svn://10.0.0.236/trunk@127230 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 00:59:47 +00:00
bbaetz%student.usyd.edu.au
06efba3015 Bug 135543 - @Support::Templates::testitems does not list all templates
Patch by ddkilzer@theracingworld.com (David D. Kilzer), r=gerv, justdave


git-svn-id: svn://10.0.0.236/trunk@120934 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 09:45:32 +00:00
justdave%syndicomm.com
5e27b4391b Fix tinderbox bustage caused by the template location code change. The tests are now looking in the right place for the
templates.  4 templates in the new location now come up with syntax errors however.


git-svn-id: svn://10.0.0.236/trunk@119701 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 09:50:53 +00:00
bbaetz%student.usyd.edu.au
c61d5aa145 Bug 130254 - Template params don't have to exist, since they may be
subject to interpolation. Ignore names with $ in them as a workaround
r=myk x 2


git-svn-id: svn://10.0.0.236/trunk@116391 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 13:33:55 +00:00
jake%acutex.net
e0604e6a44 Get the file list of files to scan for templates from Support::Files instead of glob('*')
git-svn-id: svn://10.0.0.236/trunk@109381 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 21:49:47 +00:00
jake%acutex.net
ff3e46489b We don't really need to look for fragments that are pulled in by [% INCLUDE %] or [% PROCESS %]. While removing this code bit doesn't allow us to seperatly check that those fragments exist and compile, they'll be checked atomatically when the the template that wants them is run through the process() routine by the 004template.t test. This issue was raised because bug 98707 introduced a [% BLOCK %] element and the syntax for using that is the same as for including a template fragment.
git-svn-id: svn://10.0.0.236/trunk@108008 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 03:44:07 +00:00
zach%zachlipton.com
a96de0e001 Have the tests test .pm files as well, yes this creates bustage, this is
intentional!

No review needed for tests at this time.


git-svn-id: svn://10.0.0.236/trunk@106772 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 01:06:31 +00:00
jake%acutex.net
457d72aeff Bug 103664 - Tests should "use strict;" and not contain any tabs. We should also use the TEST_VERBOSE environment variable instead of VERBOSE.
Patch by David D. Kilzer <ddkilzer@theracingworld.com>
Additional edits by myself to add the emacs mode line.  Also, the change to runtests.sh was done by me.


git-svn-id: svn://10.0.0.236/trunk@105842 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 22:39:51 +00:00
jake%acutex.net
5a2be9a074 It's also possible to PROCESS another attachment fragment, not just INCLUDE.
No review needed for tests at this time. NOT PART OF BUILD.


git-svn-id: svn://10.0.0.236/trunk@104924 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 19:14:59 +00:00
jake%acutex.net
351aff7b88 Allow compile tests for files that run in taint mode
No review needed for tests at this time. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@104751 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 23:22:48 +00:00
jake%acutex.net
1ee80bca07 We also need to look for templates that are INCLUDEd in other templates.
No review needed for tests at this time. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@104747 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 21:37:22 +00:00
jake%acutex.net
80835a0679 Test that scans Bugzilla's code looking for used templates then checks to make sure that:
a) All the required templates exist
 b) They all have good syntax

No review needed for tests at this time. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@104740 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 18:59:36 +00:00
zach%zachlipton.com
b20d770736 Fixing issue where excluded files aren't excluded if they end in .pl or
.cgi.


git-svn-id: svn://10.0.0.236/trunk@104720 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 03:49:06 +00:00
zach%zachlipton.com
a045f6a3ce Don't test importxml.pl since you need XML::Parser which is not required,
creating a false fail.

No review needed for tests. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@104718 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 03:25:43 +00:00
zach%zachlipton.com
be39f40d3c Fix to make the tests generate the list of files to test instead of having to update the list manually whenever a file is added
or removed. The main logic is in t/Support/Files.pm, changes to the test files are needed to allow it to function properly.

NOT_PART_OF_BUILD. No review needed for tests at this time.


git-svn-id: svn://10.0.0.236/trunk@102988 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-16 18:35:18 +00:00
zach%zachlipton.com
ca5d6d78c2 Oops. Forgot to check this is.
git-svn-id: svn://10.0.0.236/trunk@102621 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-09 19:48:15 +00:00
zach%zachlipton.com
3254c8a684 Add a little 1; to the end of this.
git-svn-id: svn://10.0.0.236/trunk@102201 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-04 04:28:24 +00:00
zach%zachlipton.com
7c0be6c517 Remove processmail from the list. It was causing problems with taint.
git-svn-id: svn://10.0.0.236/trunk@102192 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-03 19:39:37 +00:00
zach%zachlipton.com
9dd9a3fee4 Addition of Files.pm which will be used shortly by 1.t (soon to be 1compile.t) which contains the list of files to test. This is important so that we can bring it into other tests which check files for content, etc...
No review required for tests as of now as per Dave.


git-svn-id: svn://10.0.0.236/trunk@102187 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-03 18:33:03 +00:00