Commit Graph

20 Commits

Author SHA1 Message Date
ian%hixie.ch
12b85d652a Removed some excessive brackets that made it impossible to log in. 2001-12-31 06:48:48 +00:00
ian%hixie.ch
962c42b7cb Minor changes to whitespace so as to make the output prettier. 2001-12-31 06:10:38 +00:00
ian%hixie.ch
1a1174b51b Changed two inappropriate uses of comparisons between a possibly undefined value and an empty string into uses of the <with> element. This fixes the problem whereby output did not include the 200 OK status flag. 2001-12-31 06:09:56 +00:00
ian%hixie.ch
b451ec0af9 * Enabled Taint mode.
* Added the HTTP Logout module, integer user fields, and the user prefs module to the test app.
* Changed unknownCommand to noCommand. Unknown commands now cause errors.
* Changed the arbitrary default command to some other arbitrary default command and made the login command consistent with it.
* Filled in the stylesheet a little.
* Added an error page.
* Reworked the hello page.
* Moved some stuff into the common footer.
* Added a request login page.
* Did some other minor fixups.
* Added some incomplete userPrefs pages.
2001-12-30 02:33:44 +00:00
ian%hixie.ch
530363a93e Added some details on profiling to the README. 2001-12-30 02:29:49 +00:00
ian%hixie.ch
ee423a9430 * Created service- and serviceInstance- specific constructors so that a single module can have distinct constructors depending on how it is invoked. These constructors are called serviceInit() and serviceInstanceInit(), and both chain to the existing init() constructor (so no change are required by this).
* Changed FileStrings so that it doesn't have to be updated every time the file string format changes. The format is now one line per piece of metadata, then a blank line, then the string data. If additional metadata is added later then this will automatically support it.
* Renamed the dataSource.strings service to dataSource.strings.customised, and renamed its get() method to getCustomisedString().
* Changed the semantics of dataSource.strings.customised so that it no longer looks for a default string if it can't find a customised one (and thus removed getDefaultString).
* Abstracted the Generic output module even more. It now consists of output.generic (a service instance with its own constructor) and dataSource.strings (a pure service), the latter of which is a wrapper around dataSource.strings.customised and dataSource.strings.defaults.
* Updated Coses to work with the new dataSource.strings insterface.
* Removed the test app DataSource::ConsoleStrings and DataSource::HTTPStrings files, since they were redundant with the default output files.
* Removed all the default strings in the CosesEditor and Login components since they are pretty pointless.
* Factored out the call to dump() in the GenericOutputs module.
* Changed setString in the MySQL string data source so that it will now add a blank string (it used to delete the string if it was blank, but that meant that it was not possible to customise strings away).
* Added a piece of metadata to strings: their version number.
* Updated the customised string data source stubs to mention the version data now stored with all strings
* Added a getAllStringVersions method to the customised strings data source which returns all the string names and their version numbers.
* Made the customised strings data source check the version number of every string in its database during setupInstall to make sure that they are all up to date, version-wise. If any are out of date, the user is notified.
* Added support for the new version column to the MySQL version of the customised string data source.
* Updated the increasingly misnamed CosesEditor to support the versioned strings stuff.
* Factored out some code in the CosesEditor.
* Added version information to all default strings. All default strings are now at version 1.
* Fixed a typo in a FileStrings dump statement.
* Fixed the calls to setProgress in the MySQL user and strings data sources and in the user field factory to use the correct syntax (a parsable dotted string instead of unlocalisable plain English).
* Updated the Generic output module's documentation to match what now happens.
2001-11-22 15:46:42 +00:00
ian%hixie.ch
c1593016d6 Correct some XML errors in the default output strings. 2001-11-17 20:57:42 +00:00
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
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
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
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
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
755f8317fa Fixing ill-formedness error. 2001-11-10 20:34:00 +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
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
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
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
96ab2ee6f2 Changing the shebang to point to a more likely location of the perl interpreter. 2001-11-07 02:46:38 +00:00
ian%hixie.ch
9fc12babee Initial checkin of the first PLIF test application. 2001-11-07 01:42:05 +00:00