summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Much updating to reflect current state of MM2.1 cvs snapshot.bwarsaw2001-06-251-45/+4
|
* Updated my personal url.bwarsaw2001-06-181-2/+2
|
* Add a Q&A about striping MIME attachments.bwarsaw2001-06-111-0/+10
|
* Add a question & answer about specializing outgoing messages per user.bwarsaw2001-06-111-0/+14
|
* This file has been renamed to admlogin.htmlbwarsaw2001-06-081-31/+0
|
* This file has been renamed to admlogin.html.bwarsaw2001-06-080-0/+0
|
* intermediatebwarsaw2001-06-081-0/+31
|
* This file had been renamed to admlogin.htmlbwarsaw2001-06-081-27/+0
|
* intermediatebwarsaw2001-06-081-0/+27
|
* admlogin.txt has been renamed to admlogin.htmlbwarsaw2001-06-082-71/+0
|
* intermediatebwarsaw2001-06-081-0/+34
|
* This file had been renamed from admlogin.txt to admlogin.htmlbwarsaw2001-06-080-0/+0
|
* intermediatebwarsaw2001-06-081-0/+37
|
* listinfo_overview(): Applied David Champion's SF patch 401452 tobwarsaw2001-06-071-4/+9
| | | | alternatively highlight the list rows.
* admin_overview(): Applied David Champion's SF patch 401452 tobwarsaw2001-06-071-3/+9
| | | | alternatively highlight the list rows.
* Patch 402452 also applied.bwarsaw2001-06-071-1/+1
|
* Added WEB_HIGHLIGHT_COLOR; adapted from David Champion's SF patchbwarsaw2001-06-071-0/+2
| | | | 401452.
* SF patch #401372 is also applied.bwarsaw2001-06-071-1/+2
|
* WEB_BGCOLOR => WEB_BG_COLORbwarsaw2001-06-071-14/+15
| | | | | | | | WEB_HEADERCOLOR => WEB_HEADER_COLOR Added WEB_SUBHEADER_COLOR, WEB_ERROR_COLOR, WEB_LINK_COLOR, WEB_ALINK_COLOR, WEB_VLINK_COLOR (the latter three after David Champion's SF patch #401372).
* Template for archive articles, ripped out of HyperArch.pybwarsaw2001-06-070-0/+0
|
* intermediatebwarsaw2001-06-071-0/+48
|
* Globally, WEB_HEADERCOLOR => WEB_HEADER_COLORbwarsaw2001-06-073-5/+5
|
* main(): Better, more consistent error pages, after a suggestion bybwarsaw2001-06-071-12/+25
| | | | | | | | | David Champion (SF patch #401372). add_error_message(): Default tag is now 'Error: ' which was the more commonly used tag. Globally, WEB_HEADERCOLOR => WEB_HEADER_COLOR
* Globally, WEB_HEADERCOLOR => WEB_HEADER_COLORbwarsaw2001-06-071-9/+9
| | | | add_error_message(): Use WEB_ERROR_COLOR instead of hardcoded #ff0000
* Module global article_template removed. Instead, this html is movedbwarsaw2001-06-071-56/+4
| | | | | | into templates/en/article.html and as_html() is modified to use the standard maketext() call to retrieve the template and interpolate in a dictionary of values.
* De-string-module-ification, and other import sanitizing.bwarsaw2001-06-071-13/+25
| | | | | | | Document(): WEB_BGCOLOR => WEB_BG_COLOR. Also, if WEB_VLINK_COLOR, WEB_ALINK_COLOR, or WEB_LINK_COLOR are defined in mm_cfg.py (as not false), use them in the document's BODY tag. This is an adaptation of David Champion's SF patch #401372.
* start_runner(): Put the invocation of qrclass().run() inside the try:bwarsaw2001-06-071-1/+1
| | | | | so that KeyboardInterrupts that percolate through are caught and ignored.
* Add missing import of the 'errno' module.twouters2001-06-061-0/+1
|
* A few more updates to get this script working. Specifically,bwarsaw2001-06-041-20/+27
| | | | | | | | | | | | | | main(): Only lock the list during the NumRequestsPending() call. We don't actually change the state of the list data, but the ListAdmin interface requires the list to be locked even to read (yes, this is bogus). Also, fix the _() marked string to use the required auto-interpolation. pending_requests(): Mark some additional strings for i18n. Also, pending subscription requests include the language in the unpacked data (fix the tuple unpacking).
* main(): Fix typo (missing ')') found by Ousmane Wilane.twouters2001-06-041-1/+1
|
* sighup_handler(): Be sure to propagate the SIGHUP to all the qrunnerbwarsaw2001-06-021-8/+12
| | | | | | | children, so they re-open their log files too. Move the `kids' dictionary (with keys being the pids of the children), to module global `KIDS' so sighup_handler() can have access to it.
* Untabification.bwarsaw2001-06-021-26/+27
|
* Documented qrunner's SIGHUP behavior.bwarsaw2001-06-021-0/+2
|
* close(): When the file object is closed, set __fp to None so it getsbwarsaw2001-06-021-1/+2
| | | | re-opened at the next attempted write.
* sighup_handler(): New global function, installed as a signal handlerbwarsaw2001-06-021-1/+15
| | | | | | | | | for SIGHUP to force all the log files to close and be re-opened on the next write. master(): Catch OSError, EINTR that can happen if a signal (e.g. SIGHUP) is caught during the wait() system call. It's enough to just restart the os.wait().
* options_page(): Missed an i18n marking. Found by Ousmane Wilane.bwarsaw2001-06-021-1/+1
|
* Added links to Fil's alternative approach (both English and French).bwarsaw2001-06-011-0/+9
|
* Make sure the action url ends in a slash. Also some other cleanups.bwarsaw2001-06-011-18/+21
|
* Updates for the new authentication scheme. Note that there are otherbwarsaw2001-06-011-46/+40
| | | | | | | | | | | | | | | cleanups we could do to this file, but there are other priorities at the moment. Cleaned up the imports. Removed login_attemped and _list unused module globals. i18n setup. main(): Set the i18n language, first to the server default, then to the list preferred, once we have a valid list, and to the user's preferred language once we know that. Updates for new string methods. Removed a call to IsListInitialized() and use return instead of sys.exit(0). Better cgidata style. Use new WebAuthenticate() mechanisms to authenticate the user.
* CheckCookie(): If the authcontext is AuthUser and the `user' argumentbwarsaw2001-06-011-1/+27
| | | | | | | | | | | | | is false, then scan the cookie keys for user names. This is used in private archive authentication (which doesn't have a user context in the url), so that if a user has already authenticated to edit their options, they get into the private archives with no login necessary. Note that this does /not/ open a hole for user option pages because those have a user context in the url which is passed to CheckCookie and must match explicitly. __checkone(): Does one authcontext/user authentication.
* GetBaseArchiveURL(): Make sure private archive url ends in a slash.bwarsaw2001-06-011-1/+1
|
* RestrictedListMessage(): Fixed a typo (missing open paren), andbwarsaw2001-06-011-4/+5
| | | | converted to multiline strings for ease of translation.
* Authenticate(): When sha hex digesting the response, save the resultsbwarsaw2001-05-311-2/+4
| | | | | in a temporary variable and check that variable against the secret (this is so that subsequent checks have the raw password).
* main(): Convert to the new world order for web authentication,bwarsaw2001-05-311-13/+18
| | | | | | | | allowing the list-admin, list-moderator, or site-moderator access to the admindb. Also, don't hard code the background color. handle_no_list(): Clean this up by using Utils.ScriptURL() to give us the url to the admin overview page.
* process(): Check for administrivia as the first hold test. Thisbwarsaw2001-05-311-5/+5
| | | | change is a candidate for 2.0.6.
* A considerable rewrite to support many new features, and to obviatebwarsaw2001-05-311-34/+506
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the need for the handle_opts.py script. Specifically, main(): - Do all form processing in this script, and point the form's action back at this script. This is so we don't need handle_opts anymore. - Protect access to this form behind a login screen which also contains a password mail-back button, and a quick unsubscribe (with confirmation) button. - Use the new world order for web authentication, allowing AuthUser, AuthListAdmin, and AuthSiteAdmin to access a user's options page. - Add a "logout" button to the option page, and remove any need to enter passwords once we're at the options page. - Add support for a change-of-address, including the ability to change the membership address globally for all lists the user is a member of (requires confirmation from the new address). - Add support for global change of password. - Add support for global setting of enable/disable flag, and of password reminder flag. - Use IsMember() to test for address membership. Also, we don't need to pass the document background color as an argument anymore. Other colors are no longer hardcoded, but taken from mm_cfg.
* Updated catalog template, and Spanish language catalogs.bwarsaw2001-05-313-1132/+1566
|
* Add support for the list moderator role, and change of addressbwarsaw2001-05-311-5/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | requests. Specifically, InitVars(): Add the moderator attribute, which is a list of email addresses a la the owner attribute. GetConfigInfo(): Added some details to the `owner' attribute describing the different list-related roles. Also added the `moderator' attribute and copied the description of roles to its details too. ChangeMemberAddress(): Added support for change-of-address. This method simply pends the request and sends the confirmation email to the new address (the old one is already verified by way of the web authentication). ApprovedChangeMemberAddress(): Effects the actual change-of-address by adding the member, copying over the user options and the language settings, and then removing the old address. Acknowledgements are always sent. Handle the global change-of-address by searching for all the matching lists (must match both host_name and have the old address of the user as a member), and recursively calling ApprovedChangeMemberAddress() on those lists -- with the global flag turned off of course! ProcessConfirmation(): Add support for CHANGE_OF_ADDRESS, which simply unpacks the data and calls ApprovedChangeMemberAddress(). ApprovedAddMember(): Fixed a bug in the order of arguments in the call to ApprovedAddMembers() - plural. DeleteMember(): Fixed a bug in the i18n-marked subject text, related to auto-interpolation. SetPreferredLanguage(): Assert that the language we're setting to is in the list of available languages (helped catch the ApprovedAddMember() bug above). Also, only add DEFAULT_SERVER_LANGUAGE if it isn't already an item in the list.
* admlogin.txt => admlogin.htmlbwarsaw2001-05-312-45/+0
| | | | handle_opts.html is removed as obsolete.
* Moved here from admlogin.txt, and readability improved. It wasn'tbwarsaw2001-05-311-0/+39
| | | | | worth retaining the CVS history to ask the SF maintainers to do the move.