77 Commits

Author SHA1 Message Date
jake%bugzilla.org
c3994d7057 Bug 196433 - Bugzilla now uses /usr/bin/perl as the shebang line
r=justdave
a=justdave


git-svn-id: svn://10.0.0.236/trunk@140364 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 00:07:02 +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
be41769a94 Fix "variable declaration masks earler declaration" warning. No bug number.
git-svn-id: svn://10.0.0.236/trunk@137044 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 22:32:53 +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
70edadec69 Fix for bug 166481 ("Spellcheck is borked"). Part one of this fix fixes
the spelling errors so tinderbox doesn't barf, part two fixes
t/006spellcheck.t and adds some more new words to check for.

Part 1 patch by myself, r=timeless
Part 2 patch by MattyT. r=zach (myself)
a=justdave


git-svn-id: svn://10.0.0.236/trunk@136179 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-10 23:51:38 +00:00
bbaetz%student.usyd.edu.au
f60e59ef75 Bug 158499 - Templatise XML bug output
r=gerv, justdave
a=justdave


git-svn-id: svn://10.0.0.236/trunk@135318 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-15 09:24:08 +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
bbaetz%student.usyd.edu.au
4dd0d47760 Bug 171493 - make show_bug use Bug.pm and remove bug_form.pl
r=justdave, joel
a=justdave


git-svn-id: svn://10.0.0.236/trunk@134567 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 10:49:58 +00:00
jake%bugzilla.org
62306f0779 Bug 67077 - We now include the timezone (as configured in editparams.cgi) on every time we display.
r=justdave
a=justdave


git-svn-id: svn://10.0.0.236/trunk@134534 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-27 16:00:44 +00:00
zach%zachlipton.com
1effd6dc67 Fix for bug 179396 (add 007util.t in order to test Bugzilla::Util).
rx2=bbaetz, a=myk (on the condition that we check out the use of the
trilicense later)


git-svn-id: svn://10.0.0.236/trunk@133552 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-10 23:31:15 +00:00
gerv%gerv.net
3cd804451f Bug 168191 - Checksetup needs to force template recompilation. Patch by bbaetz; r=gerv. Should fix tindebox bustage.
git-svn-id: svn://10.0.0.236/trunk@132633 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-29 09:09:34 +00:00
justdave%syndicomm.com
e953792d34 require Perl 5.6
git-svn-id: svn://10.0.0.236/trunk@132453 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 06:46:22 +00:00
gerv%gerv.net
da63dbfa6e Bug 12282 - General summary reports. Patch by gerv; r=joel.
git-svn-id: svn://10.0.0.236/trunk@130413 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 07:11:45 +00:00
gerv%gerv.net
ee2413046e Bug 167978 - Fix Throw*Error l10n regressions and add a test to catch more. Patch by gerv; r=bbaetz.
git-svn-id: svn://10.0.0.236/trunk@129434 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 22:51:50 +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
zach%zachlipton.com
81521b0299 Add a test to check for speling errors. It only currently checks for two simple errors that used to be in checksetup.pl, more errors can and will be added in the future.
Bug 147151, no review needed for tests


git-svn-id: svn://10.0.0.236/trunk@126904 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 20:14:23 +00:00
bbaetz%student.usyd.edu.au
0aee0fe7f3 Bug 157074 - verify-new-product doubles comment linefeeds on Win32
r=myk, jouni


git-svn-id: svn://10.0.0.236/trunk@125497 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-19 14:04:15 +00:00
bbaetz%student.usyd.edu.au
3c350cfa09 Bug 150770 - Lost <nobr> arround query results
r=jouni, justdave


git-svn-id: svn://10.0.0.236/trunk@124385 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 03:30:23 +00:00
zach%zachlipton.com
f1c8349267 Fix for bug 143124, Fix warning messages about *::TESTOUT and clean up
test code. Patch makes the tests much better now.

r=zach x2


git-svn-id: svn://10.0.0.236/trunk@121127 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 23:49:32 +00:00
gerv%gerv.net
fc485f3bf1 Bug 140435 - Templatise GetCommandMenu. Patch by gerv; r=bbaetz, justdave.
git-svn-id: svn://10.0.0.236/trunk@120980 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 21:28:52 +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
gerv%gerv.net
f57c616c0a Bug 136180 - use uri/url_quote filters correctly. Patch by ddk; 2xr=gerv.
git-svn-id: svn://10.0.0.236/trunk@119723 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 18:27:43 +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
gerv%gerv.net
fab1e962a2 Bug 137589 - fix test 4 not to hang on the "use CGI" in the template.
git-svn-id: svn://10.0.0.236/trunk@119245 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 21:10:43 +00:00
zach%zachlipton.com
5314a8ca56 Fix for bug 135291: add version string to new templates and fix the string for non
xml templates.

r=bbaetz, r2=ddk


git-svn-id: svn://10.0.0.236/trunk@118086 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 07:01:17 +00:00
zach%zachlipton.com
0fb81cfa92 Fix for bug 98658: Let administrator know which customised templates have been updated by Bugzilla team.
Patch adds a version string to every template and a check in
t/004template.t to check for version strings in templates.
Note that two templates that were not included in the initial patch
now have version strings added.

r=justdave, r2=myk


git-svn-id: svn://10.0.0.236/trunk@118028 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-03 20:01:42 +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
1b0baad92a Update the test to use the same basic format as the handling code from globals.pl
git-svn-id: svn://10.0.0.236/trunk@114406 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 19:24:05 +00:00
justdave%syndicomm.com
c148fadef8 Fix for bug 108982: enable taint mode for all user-facing CGI files.
Patch by Brad Baetz <bbaetz@student.usyd.edu.au>
r= jake, justdave


git-svn-id: svn://10.0.0.236/trunk@112490 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-20 01:44:52 +00:00
dkl%redhat.com
8d6ec47425 Fix for bug 119060 - Use of Template.pm filters for url and html encoding. r=jake,dkl
git-svn-id: svn://10.0.0.236/trunk@112436 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 16:50:08 +00:00
zach%zachlipton.com
d10de70251 Additional fix for bug 112914: "Test should not cat $file" Previous
patch fixed the problem, but this patch stops once it finds strict so
it will not take as long to run.

Patch by ddkilzer@theracingworld.com. R=zach@zachlipton.com though review
is not required for tests.


git-svn-id: svn://10.0.0.236/trunk@111930 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 03:53:18 +00:00
jake%acutex.net
00a0bd35b2 Bug 112914 - This test was relying on the existance of the unix "cat" command instead of using perl's standard open() function. This caused a test failed when running the tinderbox script on win32.
git-svn-id: svn://10.0.0.236/trunk@111359 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 16:04:09 +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
zach%zachlipton.com
0d8c3fd7a1 Fix the double testing of .pm files.
No review needed for tests at this time.


git-svn-id: svn://10.0.0.236/trunk@108382 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 17:29:06 +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
be3ee559e5 A few enhancements to the template test:
* If there's a compilation error, report what it is
 * Don't try to compile a template if it doesn't exist
   - We already tested for that and issued an ERROR
 * Define the 'url' FILTER


git-svn-id: svn://10.0.0.236/trunk@106481 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 15:27:31 +00:00
jake%acutex.net
e8bbc7ef2a Check templates for tabs, also.
git-svn-id: svn://10.0.0.236/trunk@106358 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 13:21:38 +00:00
jake%acutex.net
f6426c6f03 Don't rely on the TEST_VERBOSE environment variable (no longer exported from runtests.sh) and instead print to the TESTOUT file handle pulled in from Test::More. This will allow the testing backend to check for verbosity rather than having to handle it in the .t files.
git-svn-id: svn://10.0.0.236/trunk@106182 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 18:41:53 +00:00
jake%acutex.net
5f73a3f4db Bug 106424 - We weren't going orange on warnings such as "used only once". This script now properly outputs the --WARNING and fails on such a condition.
git-svn-id: svn://10.0.0.236/trunk@106166 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 13:29:49 +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
justdave%syndicomm.com
faaffb8eec yet another meaningless whitespace change to test tinderbox with
git-svn-id: svn://10.0.0.236/trunk@105767 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 13:03:52 +00:00
justdave%syndicomm.com
ed3ed56299 another useless whitespace change to test tinderbox with
git-svn-id: svn://10.0.0.236/trunk@105758 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 06:19:52 +00:00
justdave%syndicomm.com
ad30940b5e whitespace change to test tinderbox again.
git-svn-id: svn://10.0.0.236/trunk@105754 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 05:33:23 +00:00
justdave%syndicomm.com
d8d8ecf9f8 whitespace change to do a test checkin to see how tinderbox reacts
git-svn-id: svn://10.0.0.236/trunk@105750 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 04:36:19 +00:00
jake%acutex.net
c61edb13da Tabs are not allowed in Bugzilla source... if we find one, issue a warning.
No review needed for tests at this time. NOT PART OF BUILD


git-svn-id: svn://10.0.0.236/trunk@105346 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 01:44:06 +00:00