Commit Graph

2677 Commits

Author SHA1 Message Date
ian%hixie.ch
305453a450 Some very primitive default HTML output files for login.accessDenied and login.detailsSent. 2001-11-11 15:37:48 +00:00
ian%hixie.ch
c1fbe83087 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. 2001-11-11 15:33:59 +00:00
ian%hixie.ch
a98c451be4 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. 2001-11-11 11:54:06 +00:00
ian%hixie.ch
c2b7af4e48 Missed a return statement in the setupInstall method. This was causing setup to fail every time, because the function returned a defined value. 2001-11-11 11:48:14 +00:00
ian%hixie.ch
333b70e6e1 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().) 2001-11-11 11:47:02 +00:00
ian%hixie.ch
538669aedd Implement a module to give the main application the ability to add rights and do other configuration related stuff. 2001-11-11 09:36:02 +00:00
mcafee%netscape.com
c36586eccb Switching to arg form of system call to avoid security hole (76109) 2001-11-11 09:08:56 +00:00
mcafee%netscape.com
be9eedb5d2 typo! fixes bug 2001-11-11 08:30:21 +00:00
ian%hixie.ch
ebf177c5db Mute the Net::AIM warnings and add some null-checking code to the close() method. 2001-11-11 08:08:26 +00:00
ian%hixie.ch
c9fdcfec0f First stab at primitive AIM output support as an alternative to e-mail. 2001-11-11 04:18:09 +00:00
ian%hixie.ch
fb9e84ff2d Fix typo (PLIFF->PLIF) 2001-11-11 00:58:48 +00:00
ian%hixie.ch
a538c2a0cd Fix the DESTROY method to actually call the close() method like it was supposed to. 2001-11-11 00:14:07 +00:00
ian%hixie.ch
085c309f7d 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. 2001-11-10 22:06:54 +00:00
ian%hixie.ch
65d308d967 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. 2001-11-10 22:04:34 +00:00
ian%hixie.ch
4c322128a7 Switching to batch mode involves changing the 'batch' argument, not the one being requested... ahem. 2001-11-10 21:59:13 +00:00
ian%hixie.ch
7c4f16563f Bracket shuffling to fix a warning in Perl 5.0.x. 2001-11-10 21:57:07 +00:00
ian%hixie.ch
2d3f1dc3de 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. 2001-11-10 21:53:49 +00:00
ian%hixie.ch
2f00ddd8dc 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. 2001-11-10 21:44:28 +00:00
ian%hixie.ch
b9400f341d 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. 2001-11-10 21:00:37 +00:00
ian%hixie.ch
5139796ce4 Fix the output template to support multiple authentication protocols now that the code is not lying about that. 2001-11-10 20:55:39 +00:00
ian%hixie.ch
503d696c7e 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). 2001-11-10 20:53:37 +00:00
ian%hixie.ch
ceb11d6d7f s/smtp/email/go -- have to be consistent with the rest of the code\! 2001-11-10 20:46:29 +00:00
ian%hixie.ch
760684e638 Return the user ID even when the user exists, so that there is no need for callers to check the return value. 2001-11-10 20:43:44 +00:00
ian%hixie.ch
755f8317fa Fixing ill-formedness error. 2001-11-10 20:34:00 +00:00
mcafee%netscape.com
11792d7e2d fixing perl error 2001-11-10 20:21:38 +00:00
mcafee%netscape.com
c0f007744b Switching to proper log-header variable 2001-11-10 19:26:42 +00:00
ian%hixie.ch
b5ef59ba98 implemented getFieldNamesByCategory() in the user data source, and used it to fill in the list of contact methods for the loginFailed output handler. 2001-11-10 10:55:33 +00:00
ian%hixie.ch
25760a3e0a Made the phrase 'or to have your password sent to you,' appear regardless of the value of data.tried 2001-11-10 10:51:10 +00:00
ian%hixie.ch
168f7364e4 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. 2001-11-10 06:26:28 +00:00
mcafee%netscape.com
75d4cd33b4 proper checking for scrape_builds data 2001-11-10 06:01:35 +00:00
ian%hixie.ch
653db8eef9 Oops, syntax error. 2001-11-10 05:21:17 +00:00
ian%hixie.ch
73e0c55c22 Use the actual From: address (now that the outputter tells us what it is...). 2001-11-10 05:12:06 +00:00
ian%hixie.ch
4a03227913 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. 2001-11-10 05:00:14 +00:00
ian%hixie.ch
d433d136be Implement some primitive error handling for sending mail. 2001-11-09 21:59:21 +00:00
mcafee%netscape.com
8e94200878 Adding scrapebuilds.pl check 2001-11-09 21:37:02 +00:00
mcafee%netscape.com
fbdc6f515c Adding scrape_builds 2001-11-09 21:35:25 +00:00
mcafee%netscape.com
a2023e4533 Adding scrapebuilds toggle ui 2001-11-09 21:32:41 +00:00
mcafee%netscape.com
5f50ff180f Adding scrapebuilds.pl 2001-11-09 21:31:19 +00:00
ian%hixie.ch
b6d1378fa1 Removing unnecessary spammy debug output (this code works now... honest\!) 2001-11-09 21:22:32 +00:00
ian%hixie.ch
91d903d8df Decode %XX-encoded strings. 2001-11-09 21:19:59 +00:00
ian%hixie.ch
e9904215c0 Added some more comments that might help people get this working on Apache. 2001-11-09 20:23:42 +00:00
ian%hixie.ch
197ee7192a 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. 2001-11-09 20:21:11 +00:00
ian%hixie.ch
4d542c9a80 Adding support for generic saving and retrieving of settings. 2001-11-09 20:13:21 +00:00
ian%hixie.ch
3ae1b10178 Adding a comment on the use of assert() 2001-11-09 20:09:22 +00:00
ian%hixie.ch
e2ceae0e2f 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). 2001-11-09 17:23:41 +00:00
ian%hixie.ch
7d4ba9fdd4 Changing the order of loaded modules to make sure they are set up in the right order. 2001-11-09 17:16:50 +00:00
ian%hixie.ch
27c0a625e9 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). 2001-11-09 17:15:13 +00:00
ian%hixie.ch
df6f9d0b23 Changed the DESTROY method to make sure it calls its parent. 2001-11-09 17:13:27 +00:00
ian%hixie.ch
d8ed08b9c5 Added support for printing the default value for requests. 2001-11-09 17:12:18 +00:00
ian%hixie.ch
2605f093c1 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'). 2001-11-09 17:10:22 +00:00