2723 Commits

Author SHA1 Message Date
gerv%gerv.net
8891347238 Fix license headers and make attachment changed page look like bug changed page. Bug 99518 and 98110. r-myk, no second review.
git-svn-id: svn://10.0.0.236/trunk@107963 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-13 17:24:24 +00:00
jake%acutex.net
9b3a845780 Fix for bug 86300 - If a bug didn't exist and GetBugLink() tried to create a tooltip for it, you'd get uninitialized variables warnings in your error log. This path also introduces a cache so if the same bug # is mentioned more than once during the same running of the script, it only has to query the database once.
r= mattyt, gerv


git-svn-id: svn://10.0.0.236/trunk@107921 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-12 13:43:59 +00:00
bbaetz%cs.mcgill.ca
58006fb10f Oops. Bug 109690 again, r=justdave, gerv
git-svn-id: svn://10.0.0.236/trunk@107916 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-12 05:47:24 +00:00
bbaetz%cs.mcgill.ca
c2a13c0ac1 Bug 109690: Check $bug before using it.
r=justdave,gerv


git-svn-id: svn://10.0.0.236/trunk@107915 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-12 05:39:14 +00:00
ian%hixie.ch
2f70d2e668 Some very primitive default HTML output files for login.accessDenied and login.detailsSent.
git-svn-id: svn://10.0.0.236/trunk@107893 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 15:37:48 +00:00
ian%hixie.ch
b7cb0633c4 We should be able to access strings with uppercase letters -- oops. Changing regexp to include 'A-Z' as well as 'a-z'. Also adding a dump statement in the failure case to help when analysing the log looking for a bug.
git-svn-id: svn://10.0.0.236/trunk@107892 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 15:33:59 +00:00
ian%hixie.ch
cac8ba4310 Missed a return statement in the setupInstall method. This was causing setup to fail every time, because the function returned a defined value. Also took the opportunity to add a call to setupProgress.
git-svn-id: svn://10.0.0.236/trunk@107891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 11:54:06 +00:00
ian%hixie.ch
87506d5097 Missed a return statement in the setupInstall method. This was causing setup to fail every time, because the function returned a defined value.
git-svn-id: svn://10.0.0.236/trunk@107890 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 11:48:14 +00:00
ian%hixie.ch
3176c0d2a4 Should have been checking for a defined value, not a true value -- there is nothing to stop a failure from being '0', for instance. (The important thing is to be consistent with the SelectingServiceList code, really, and it uses defined().)
git-svn-id: svn://10.0.0.236/trunk@107889 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 11:47:02 +00:00
ian%hixie.ch
ba16dd127e Implement a module to give the main application the ability to add rights and do other configuration related stuff.
git-svn-id: svn://10.0.0.236/trunk@107887 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 09:36:02 +00:00
mcafee%netscape.com
90735d6f61 Switching to arg form of system call to avoid security hole (76109)
git-svn-id: svn://10.0.0.236/trunk@107886 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 09:08:56 +00:00
mcafee%netscape.com
943edc668f typo! fixes bug
git-svn-id: svn://10.0.0.236/trunk@107884 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 08:30:21 +00:00
ian%hixie.ch
e1e5a2a6f1 Mute the Net::AIM warnings and add some null-checking code to the close() method.
git-svn-id: svn://10.0.0.236/trunk@107881 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 08:08:26 +00:00
ian%hixie.ch
7dc7a687d2 First stab at primitive AIM output support as an alternative to e-mail.
git-svn-id: svn://10.0.0.236/trunk@107872 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 04:18:09 +00:00
ian%hixie.ch
79a6f20984 Fix typo (PLIFF->PLIF)
git-svn-id: svn://10.0.0.236/trunk@107860 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 00:58:48 +00:00
ian%hixie.ch
52581f47aa Fix the DESTROY method to actually call the close() method like it was supposed to.
git-svn-id: svn://10.0.0.236/trunk@107858 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 00:14:07 +00:00
ian%hixie.ch
3a9a356b60 Change the order of the settings so as to match the order in which they are requested. This causes the error message to mention the setting that the user aborted on, instead of some random later setting.
git-svn-id: svn://10.0.0.236/trunk@107852 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 22:06:54 +00:00
ian%hixie.ch
30f7d9e23f Change createArgument so that we drop the default on the floor -- the default should only be used when explicitly requested (e.g. by the user in interactive mode), not in all cases. CommandLine.pm was in fact already assume that this was the case.
git-svn-id: svn://10.0.0.236/trunk@107851 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 22:04:34 +00:00
ian%hixie.ch
38d0af9333 Switching to batch mode involves changing the 'batch' argument, not the one being requested... ahem.
git-svn-id: svn://10.0.0.236/trunk@107849 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 21:59:13 +00:00
ian%hixie.ch
e7f0b0e6e4 Bracket shuffling to fix a warning in Perl 5.0.x.
git-svn-id: svn://10.0.0.236/trunk@107848 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 21:57:07 +00:00
ian%hixie.ch
d793a48053 Handle the case where the user hits Ctrl+D during input, and the case where the user piped a file into us and the file was too short.
git-svn-id: svn://10.0.0.236/trunk@107847 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 21:53:49 +00:00
ian%hixie.ch
c56420bdaf Correct an error in the default handler of the namespaced XML walker: we have to shift out the first argument otherwise weird things will naturally happen.
git-svn-id: svn://10.0.0.236/trunk@107846 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 21:44:28 +00:00
ian%hixie.ch
7d3015eda3 The User object was not saving anything if its userID started off as undef (i.e., new user) and the code never changed any properties (which is normal for a new user). Changed the code to automatically assume it is dirty if it starts with an undefined userID. Changed writeProperties to use the return value from the data source to save any changes to userID, so that when it is defined (by inserting a new record, probably) then we can remember it. Finally, changed propertySet so that when userID is changed from an undefined value to a defined value, the change is propagated to the fields and the groups are marked dirty, which will force them to be written out too.
git-svn-id: svn://10.0.0.236/trunk@107843 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 21:00:37 +00:00
ian%hixie.ch
85565622cc Fix the output template to support multiple authentication protocols now that the code is not lying about that.
git-svn-id: svn://10.0.0.236/trunk@107842 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 20:55:39 +00:00
ian%hixie.ch
6c7a644159 Changed a comment in UserField.pm to be more accurate: it is actually safe to change the userID on the fly from an undefined value to a defined value because the code only uses it at two points: creation, if it was defined (used by the caller) and destruction (at which point it is passed to the data source to save any changes).
git-svn-id: svn://10.0.0.236/trunk@107841 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 20:53:37 +00:00
ian%hixie.ch
1c45721015 s/smtp/email/go -- have to be consistent with the rest of the code\!
git-svn-id: svn://10.0.0.236/trunk@107840 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 20:46:29 +00:00
ian%hixie.ch
6738fc00b6 Return the user ID even when the user exists, so that there is no need for callers to check the return value.
git-svn-id: svn://10.0.0.236/trunk@107839 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 20:43:44 +00:00
ian%hixie.ch
b4a63e1b65 Fixing ill-formedness error.
git-svn-id: svn://10.0.0.236/trunk@107838 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 20:34:00 +00:00
mcafee%netscape.com
02e56d096c fixing perl error
git-svn-id: svn://10.0.0.236/trunk@107837 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 20:21:38 +00:00
mcafee%netscape.com
ec2a2ad12c Switching to proper log-header variable
git-svn-id: svn://10.0.0.236/trunk@107836 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 19:26:42 +00:00
ian%hixie.ch
4b6476a5c9 implemented getFieldNamesByCategory() in the user data source, and used it to fill in the list of contact methods for the loginFailed output handler.
git-svn-id: svn://10.0.0.236/trunk@107830 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 10:55:33 +00:00
ian%hixie.ch
be63bbfcfc Made the phrase 'or to have your password sent to you,' appear regardless of the value of data.tried
git-svn-id: svn://10.0.0.236/trunk@107829 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 10:51:10 +00:00
ian%hixie.ch
5c49903375 Fix a typo on the To: line which was resulting in a blank To: field, made the Subject: line be dynamically generated, and made the text actually be useful.
git-svn-id: svn://10.0.0.236/trunk@107822 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 06:26:28 +00:00
mcafee%netscape.com
b418eb136e proper checking for scrape_builds data
git-svn-id: svn://10.0.0.236/trunk@107821 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 06:01:35 +00:00
ian%hixie.ch
77fb90f83b Oops, syntax error.
git-svn-id: svn://10.0.0.236/trunk@107820 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 05:21:17 +00:00
ian%hixie.ch
ab2a33bd20 Use the actual From: address (now that the outputter tells us what it is...).
git-svn-id: svn://10.0.0.236/trunk@107819 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 05:12:06 +00:00
ian%hixie.ch
7ba9f2d1c5 Added another set of data to the data hash: the outputter hash. This will be useful for strings that have to embed things like the e-mail address of the application itself. Added hash methods to the Email and Stdout generic outputter modules to support this change. Renamed 'from' to 'address' in the Email outputter to make it easier to reuse the code (hehe). Also, in the same module, changed some of the comments, changed a double quote string literal to a single quote string literal, and added the word 'configure' where it was missing in one of the dump statements.
git-svn-id: svn://10.0.0.236/trunk@107818 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 05:00:14 +00:00
ian%hixie.ch
76152f2135 Implement some primitive error handling for sending mail.
git-svn-id: svn://10.0.0.236/trunk@107776 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 21:59:21 +00:00
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