3085 Commits

Author SHA1 Message Date
mcafee%netscape.com
bf8a257f80 Adding scrapebuilds.pl check
git-svn-id: svn://10.0.0.236/trunk@107774 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 21:37:02 +00:00
mcafee%netscape.com
34578d29a0 Adding scrape_builds
git-svn-id: svn://10.0.0.236/trunk@107773 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 21:35:25 +00:00
mcafee%netscape.com
b285a9e360 Adding scrapebuilds toggle ui
git-svn-id: svn://10.0.0.236/trunk@107772 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 21:32:41 +00:00
mcafee%netscape.com
ff7f60b684 Adding scrapebuilds.pl
git-svn-id: svn://10.0.0.236/trunk@107771 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 21:31:19 +00:00
ian%hixie.ch
8429169df5 Removing unnecessary spammy debug output (this code works now... honest\!)
git-svn-id: svn://10.0.0.236/trunk@107770 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 21:22:32 +00:00
ian%hixie.ch
3d2d5f544f Decode %XX-encoded strings.
git-svn-id: svn://10.0.0.236/trunk@107769 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 21:19:59 +00:00
ian%hixie.ch
f6dff658e9 Added some more comments that might help people get this working on Apache.
git-svn-id: svn://10.0.0.236/trunk@107762 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 20:23:42 +00:00
ian%hixie.ch
0b383c1d78 Factored out the connect/disconnect code, added settings for the host and the from address and made them be handled by a setup.configure handler, wrapped the call to Net::SMTP->new() in a warning-free block.
git-svn-id: svn://10.0.0.236/trunk@107761 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 20:21:11 +00:00
ian%hixie.ch
3443dd9f0e Adding support for generic saving and retrieving of settings.
git-svn-id: svn://10.0.0.236/trunk@107760 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 20:13:21 +00:00
ian%hixie.ch
7b02c6d19e Adding a comment on the use of assert()
git-svn-id: svn://10.0.0.236/trunk@107759 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 20:09:22 +00:00
ian%hixie.ch
de07b8d410 Refactored the Database::DBI code. Added support for default values in the setup code. Added support to create the database and the user (although some of this may need refactoring into separate MySQL submodules).
git-svn-id: svn://10.0.0.236/trunk@107756 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 17:23:41 +00:00
ian%hixie.ch
a674a12422 Changing the order of loaded modules to make sure they are set up in the right order.
git-svn-id: svn://10.0.0.236/trunk@107755 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 17:16:50 +00:00
ian%hixie.ch
64d32bc1a9 Added a missing 'return' statement so that the user.fields setup routine doesn't appear to have failed when it hasn't (without a return statement, the value of the last statement is the return value).
git-svn-id: svn://10.0.0.236/trunk@107754 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 17:15:13 +00:00
ian%hixie.ch
ab6ec76c4d Changed the DESTROY method to make sure it calls its parent.
git-svn-id: svn://10.0.0.236/trunk@107753 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 17:13:27 +00:00
ian%hixie.ch
18252bc48b Added support for printing the default value for requests.
git-svn-id: svn://10.0.0.236/trunk@107752 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 17:12:18 +00:00
ian%hixie.ch
9ff7bb94ea Added the ability to find the length of an array (array.length to go with array.0, array.1, etc). Added assertions to handle the case of invalid order or sort attributes on <set>. Added two new sort types ('default' and 'reverse default').
git-svn-id: svn://10.0.0.236/trunk@107751 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 17:10:22 +00:00
ian%hixie.ch
e819a06972 Added two assertions to make sure the handle is defined before using it, and added a check that the handle is defined before releasing it. Also changed the DESTROY method to call its parent.
git-svn-id: svn://10.0.0.236/trunk@107750 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 17:07:18 +00:00
ian%hixie.ch
ca0cb58027 Removing excess trailing spaces on one line, and moving a warn from level 5 ('important events') to level 8 ('frequent important events').
git-svn-id: svn://10.0.0.236/trunk@107749 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 17:03:40 +00:00
ian%hixie.ch
7474ccc4a0 Fixed DESTROY method to make sure it calls its parent.
git-svn-id: svn://10.0.0.236/trunk@107748 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 17:00:28 +00:00
ian%hixie.ch
ba894a2d01 Removing the @arguments array from a dump statement, because if any of the elements in the array are undef then a runtime warning is printed (undef elements is not always a bug).
git-svn-id: svn://10.0.0.236/trunk@107747 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 16:58:38 +00:00
ian%hixie.ch
ad6449583d Added a level 5 dump indicating the completion of the PLIF program.
git-svn-id: svn://10.0.0.236/trunk@107746 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 16:56:49 +00:00
ian%hixie.ch
33359b80b5 Fixed DESTROY method to make sure it called it's parent.
git-svn-id: svn://10.0.0.236/trunk@107744 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 16:52:08 +00:00
ian%hixie.ch
7e3afcf26f Change default DEBUG level from 9 to 4, which is what it should be in production releases. Added comments explaining debug levels 6 (reserved for personal use) and 8. Added level 10 debug info to the DESTROY method (makes it easier to track down bugs during shutdown).
git-svn-id: svn://10.0.0.236/trunk@107743 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 16:50:47 +00:00
ian%hixie.ch
1da5e9e25e Made it so the setupEnding event is sent out after the setup failure message is printed but before the setup success message is printed (reduces the number of error messages if you cancel during setup). Changed the semantics of the output.progress string's data.component data. It is now a dotted hierarchical string giving progressively more detail about what is being set up. e.g., 'database', 'database.default.settings', 'database.default.settings.connection.port'. If outputters are interpreting data.component then any trailing unknown levels of detail should be ignored. This allows the setup routines to potentially give much more useful output. Fixed the default stdout output string for setup (it has <text variable=""> instead of value="").
git-svn-id: svn://10.0.0.236/trunk@107740 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 16:39:29 +00:00
timeless%mac.com
01aa33c91c Bugzilla Bug 109138 platform detection not working on macintosh
r=bbaetz,dkl


git-svn-id: svn://10.0.0.236/trunk@107728 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 05:32:43 +00:00
myk%mozilla.org
94f803c2c3 Fix for bug 109048: fixes error when creating attachments without logging in.
Patch by Myk Melez <myk@mozilla.org>.
r=bbaetz,gerv


git-svn-id: svn://10.0.0.236/trunk@107716 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 01:11:09 +00:00
ian%hixie.ch
0e1edf614f Also send default values to output.
git-svn-id: svn://10.0.0.236/trunk@107679 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 17:27:07 +00:00
ian%hixie.ch
738e081f7c Implement default values for arguments. getArgument() and createArgument() now take two parameters like setArgument(). Changed the CommandLine module's createArgument() method so that if the user hits enter at the prompt, the default value is used. Added some comments to clarify what is going on with the 'batch' argument. Changed setArgument() and createArgument() in the Arguments module and createArgument() in the CommandLine module to be more efficient (less array copying).
git-svn-id: svn://10.0.0.236/trunk@107678 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 17:09:11 +00:00
ian%hixie.ch
5741b48cad Adding comments to clearly indicate that no dump()s, warn()s or error()s should have a level lower than 5 unless they are not expected to occur during normal operation. Also changing the default level at which the user is notified of problems from 3 to 1.
git-svn-id: svn://10.0.0.236/trunk@107676 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 16:47:25 +00:00
ian%hixie.ch
822aa05814 Added two new hooks into the setup code: a start notification and an end notification. Added the ability to disable the string datasource (causes it to only use the default strings and not the database). Made the string datasource automatically disable itself during configuration, using the two hooks added to the setup code. This removes the warning messages that are output during a clean setup ('could not get string from database', etc).
git-svn-id: svn://10.0.0.236/trunk@107675 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 16:42:42 +00:00
ian%hixie.ch
9cc94f02cd Improved error handling for the case where the database configuration doesn't exist and therefore every output attempt raises database errors. Fatal database errors are now fatal, missing database configurations is not. This would be a lot cleaner if Perl exceptions were objects... Also improved some of the error messages.
git-svn-id: svn://10.0.0.236/trunk@107673 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 16:10:21 +00:00
ian%hixie.ch
f74c5a2421 Added a little more level 9 verbose debugging feedback to help track down where output is going wrong.
git-svn-id: svn://10.0.0.236/trunk@107651 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 05:07:42 +00:00
ian%hixie.ch
97db51b03d Stop complaining about the configuration file missing -- if it is not there then just assume there is nothing to worry about. This makes the output of the initial run with the 'setup' argument a lot quieter.
git-svn-id: svn://10.0.0.236/trunk@107649 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 05:06:27 +00:00
ian%hixie.ch
04036664cd Make the STDOUT generic outputter flush everything it outputs -- this fixes a bug whereby sometimes prompts wouldn't appear until after the user had replied to them.
git-svn-id: svn://10.0.0.236/trunk@107648 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 05:03:57 +00:00
justdave%syndicomm.com
e78b6416c2 Fix for bug 99519: timestamps were not being set correctly in the activity table in some situations, and the delta_ts on the
bug itself was not always being updated if dependencies or CCs changed.
Patch by Dave Miller <justdave@syndicomm.com>
r= bbaetz, jake


git-svn-id: svn://10.0.0.236/trunk@107644 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 03:38:12 +00:00
myk%mozilla.org
3b483d8209 Fix for bug 104652: Duplicate bugs in the dependency tree now get marked with the message "This bug appears elsewhere in this tree." so users know why the bug does not appear to have dependencies.
Patch by Gerv <gerv@mozilla.org>.
r=jake@acutex.net,myk@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@107640 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 02:43:55 +00:00
myk%mozilla.org
f128dfb46b Fix for bug 108822: Prevent any user from changing their own groupset.
Patch by Jake <jake@acutex.net>.
r=bbaetz,myk


git-svn-id: svn://10.0.0.236/trunk@107633 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 00:54:15 +00:00
myk%mozilla.org
37c1fa29af Fix for bug 108821: Prevent users with any blessgroupset privileges from blessing any group set.
Patch by Jake <jake@acutex.net> and Bradley <bbaetz@cs.mcgill.ca>.
r=jake,myk for Bradley's portion, r=bbaetz,myk for Jake's portion.


git-svn-id: svn://10.0.0.236/trunk@107632 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 00:52:13 +00:00
myk%mozilla.org
f0967cda10 Fix for bug 108812: Prevent users from running queries containing arbitrary SQL.
Patch by Jake <jake@acutex.net>
r=bbaetz,myk


git-svn-id: svn://10.0.0.236/trunk@107631 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 00:49:18 +00:00
bbaetz%cs.mcgill.ca
8904a09db5 Require (temporarily) mysql >= 3.23.5 for the ~ operator, needed for the
fix to bug 107718. This should be removed when the group stuff lands (bug
60822).

r=justdave x 2


git-svn-id: svn://10.0.0.236/trunk@107624 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 22:42:32 +00:00
bbaetz%cs.mcgill.ca
9caaabcc10 Bug 101166 - users seeing a bug via _accessible bits should see that its
the group

r=justdave,jake


git-svn-id: svn://10.0.0.236/trunk@107605 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 16:11:33 +00:00
jake%acutex.net
7a6b9817cc Bug 108547 - Make the JavaScript use proper DOM
Patch by Christopher Aillon <caillon@returnzero.com>
r= timeless@bemail.org, kiko@async.com.br


git-svn-id: svn://10.0.0.236/trunk@107604 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 14:58:56 +00:00
ian%hixie.ch
78c02b74a7 Disambiguate the names of the two methods 'hash' and 'sort'. They are now called 'genericHash' and 'genericSort' so as not to clash with the perl builtins 'CORE::hash' and 'CORE::sort'.
git-svn-id: svn://10.0.0.236/trunk@107539 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 02:49:21 +00:00
ian%hixie.ch
2923002831 Changing the shebang to point to a more likely location of the perl interpreter.
git-svn-id: svn://10.0.0.236/trunk@107538 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 02:46:38 +00:00
ian%hixie.ch
76d8c32a10 Initial checkin of the first PLIF test application.
git-svn-id: svn://10.0.0.236/trunk@107532 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 01:42:05 +00:00
jake%acutex.net
b4c2275ed0 Refixing bug 71840 - The name should be the 'name' should be the same as what the 'href' points it too...
r= justdave@syndicomm.com


git-svn-id: svn://10.0.0.236/trunk@107468 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 18:06:02 +00:00
justdave%syndicomm.com
2d28f97361 SECURITY FIX see bug 108385: Due to trusting of passed form fields that shouldn't have been trusted, it was possible to add a comment to a bug pretending to be someone else if you edited the HTML by hand before submitting. The bug form did not include the field in question, but due to legacy processing code, the field was still trusted if it was present.
Patch by Dave Miller <justdave@syndicomm.com>
r= jake x2


git-svn-id: svn://10.0.0.236/trunk@107350 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 20:47:17 +00:00
justdave%syndicomm.com
2218691609 SECURITY FIX see bug 108516: Due to trusting of passed form fields that shouldn't have been trusted, it was possible to file a
bug pretending to be someone else if you edited the HTML by hand before submitting.
Patch by Dave Miller <justdave@syndicomm.com>
r= bbaetz, jake


git-svn-id: svn://10.0.0.236/trunk@107349 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 20:43:35 +00:00
mcafee%netscape.com
2ebd539bdc scrape comment
git-svn-id: svn://10.0.0.236/trunk@107326 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 08:50:55 +00:00
timeless%mac.com
b2399744c5 Bugzilla Bug 107672 Browser OS/Platform discrimination alg sucks
r=bbaetz, jake
Windows XP references are #'d because of bug 92763


git-svn-id: svn://10.0.0.236/trunk@107311 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 04:44:34 +00:00