summaryrefslogtreecommitdiff
path: root/cgi (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement rudimentary admin-configuration long-description help. Iklm1998-04-081-7/+35
| | | | | | | | | | | | now have to refine it, but it's simple and it works. It uses the anchor href "target" option to display the help in a named alternate window. I presume that in browsers that do not support this feature they will simply go to another page, where the user can hit 'back' when they're ready. Also, right-aligned the short descriptions on the left column of the table, so they snug up to the value column.
* Whoops - had wrong label on the sys.stderr logger...mailman1998-04-081-1/+1
|
* Some mild layout changes.klm1998-04-081-8/+14
|
* Call to SendTextToUser() requires "add_headers" instead of "add_to_headers"mailman1998-04-081-7/+3
| | | | | Removed residual UserOptions stuff (which has been moved to its own script).
* Whoops - had wrong label on the sys.stderr logger...mailman1998-04-081-1/+1
|
* Set document backgrounds (of error docs as well as primary) to white.mailman1998-04-081-5/+5
|
* Whoops - had wrong label on the sys.stderr logger...mailman1998-04-082-6/+7
|
* Set document backgrounds (of error docs as well as primary) to white.mailman1998-04-081-2/+2
|
* Use new htmlformat.Document.Format() capability to set a bgcolor onklm1998-04-071-1/+1
| | | | the admin pages.
* Significant refinement so:klm1998-04-071-218/+274
| | | | | | | | | | | | | | | - New options list format (string section headers, description elaboration) are properly handled. (No help links implemented yet - soon.) - Major options sections - eg, general, digest, nondigest, privacy, etc - have been separated into different sub-pages, making it a lot quicker to load each page, and a lot less overwhelming than all collected together. - Refined the layout quite a bit - much less clunky now, though there's lots more that could be done. - With the further elaborations, the entire module needed a substantial cleanup, to abstract some routines, organize them a bit more - extraction and abstraction.
* Use new add_to_headers field on SendTextToUser...klm1998-04-071-1/+2
|
* Correct the category used in the stderr logger.klm1998-04-071-1/+1
|
* Use new .DeleteMember() arg to indicate whence this deletion came.mailman1998-04-021-1/+1
|
* Reorganize form so most important thing (unsubscription) is at top,klm1998-04-021-3/+5
| | | | | password handling stuff is consolidated, and buttons say useful things.
* Abstract out error_page and error_page_doc, as in roster script - inmailman1998-03-311-2/+13
| | | | | preparation to moving them somewhere like mm_utils, where we can change the error-notice format centrally...
* The double-use of the 'subscribe' cgi script for subscription andklm1998-03-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | edit-options had a hidden problem - entering info in the edit-options "info" field with a carriage return (in netscape, at least) resulted in doing the default subscribe submit, which would get rejected due to lack of email and password. For now i've just elaborated the check for edit-options to look additionally (besides checking for the right submit button having been hit) for the presence of a value in the edit-options info field *and* the absence of any value in the subscribe email field. This is enough. The proper thing would be to separate the functions into two separate scripts (as i did for the subscriber roster, this morning), but that will take adding another wrapper, etc - maybe when john gets a chance to clean up the wrapper situation... (That's not a prod, john - really!-) By the way! With the recent changes, it's now possible for you guys to see who actually are the members of the mailman-cvs list (a private list), via the web. There really are only three of us - john, barry, and me. In case you were curious... Ken
* Replaced by more self-contained 'roster' script.klm1998-03-301-100/+0
|
* Separate subscriber-list roster form from subscription form.klm1998-03-301-1/+2
|
* *** empty log message ***klm1998-03-301-0/+105
|
* Adding nofail=0 to StampedLogger init, so bugs aren't completelyklm1998-03-301-1/+1
| | | | silent.
* Adding nofail=0 to StampedLogger init, so bugs aren't completelyklm1998-03-303-3/+4
| | | | silent!
* Utilizing mm_utils.StampedLogger() on stderr for debugging, instead ofklm1998-03-301-2/+8
| | | | redirecting sys.stderr to sys.stdout.
* Utilizing mm_utils.StampedLogger() on stderr for debugging, instead ofklm1998-03-301-2/+10
| | | | | | explicit (prone-to-failure) file. (Note that this file is being deprecated, nonetheless.)
* Utilizing mm_utils.StampedLogger() on stderr for debugging, instead ofklm1998-03-302-8/+18
| | | | explicit (prone-to-failure) file.
* Refined some messages.mailman1998-03-301-4/+4
|
* Produce subscriber roster, using list roster.html template. Enforcesklm1998-03-301-0/+100
| | | | | authentication from listinfo page according to list privacy (list.private_roster) setting.
* Added handling for subscription-list presentation request.klm1998-03-301-20/+45
| | | | | | | | | | | | call_script() - Encapsulation of hack to so i could use it for the mmroster script as well as for the options script. Using StampedLogger (to logs/error) for stderr, for debugging. Changed error notices to have a header "Error" and a body describing the problem. Added modest module doc string.
* Check user against .members *and* .digest_members!klm1998-03-301-13/+27
| | | | | | | | | Using StampedLogger (to logs/error) for stderr, for debugging. Changed error notices to have a header "Error" and a body describing the problem. Refined module doc string, wrapped some long lines, etc.
* Check user against .members *and* .digest_members!klm1998-03-301-10/+22
| | | | | | | | | Using StampedLogger (to logs/error) for stderr, for debugging. Changed error notices to have a header "Error" and a body describing the problem. Added a (modest) module doc string, wrapped some long lines, etc.
* Revised subscription list presentation so it is on a separate page.klm1998-03-301-7/+23
| | | | | | | | Also, changed text on submit buttons to distinguish what is being submitted, ie subscribe vs visit subscibers list vs edit options. Utilizing mm_utils.StampedLogger() on stderr so tracebacks are logged to logs/error, for debugging. (Better than sliced bread.)
* Add digest specifier to subscribe command text when subscriberklm1998-03-291-2/+7
| | | | | | | selected digest from the web page. (This goes along with untangling in maillist.py that fixed problem where digest subscriptions were accepted from web, despite WebSubscribeRequiresConfirmation being set. Should have mentioned this in that checkin , but oh well.)
* Added an errors-to line to subscription instructions message - butmailman1998-03-261-11/+14
| | | | | | | still, error notice gets sent to -request addr and (mal)treated as a request. Refined subscriptions instructions msg, among others.
* Detect when being visited with nonexistent member and bail immediatelymailman1998-03-261-0/+9
| | | | | | | with a suitable error message. (Before this the options page would be created, and if the lack of a password entry could be circumvented a bogus user could be created for any list. Access to the list admin or site admin password would suffice.)
* Detect when user account has no password - notify user, via web pagemailman1998-03-261-17/+21
| | | | | | | | | response, that list administrator is being informed of something awry. Detect when user not a member of list and bail out immediately. Qualify except clause on .SetUserDigest() to catch the specific Already*digestedErrors.
* Added 'discard' option to 'approve' and 'reject' (and moved 'approve'mailman1998-03-241-1/+2
| | | | ahead of 'reject').
* Remove debugging writes to a gratuitous file (preexistence of whichmailman1998-03-202-14/+1
| | | | could block operation).
* Tracking the name change of "Fancy" to "MIME", make the default sensemailman1998-03-181-5/+5
| | | | | | mime. (John warned that people prefer plaintext, but now we can toggle the default as a list-wide admin option, so it'll be easy to set whichever way we want without editing code!)
* Cosmetic changes - a horizontal rule here, a long line there...mailman1998-03-181-2/+1
|
* Elaborated the confirmation notice a bit.mailman1998-03-181-3/+6
|
* Globalized doc and list_name for all the routines that need them.mailman1998-03-171-35/+56
| | | | | | | | | | | | | Eventually we need to structure this better so they're explicitly passed around, but without going through too many levels that don't care... Added a note below the Subscribe Members describing how to unsubscribe them. (This is material for the mythical list administrators guide.) Moved the password change box to beside the submit-changes box. Put the misc links up top into a list.
* Tracking change of EnableMime user option to DisableMime, as part ofmailman1998-03-131-3/+3
| | | | making mime mode the default for digests.
* Added replacements for new .Format{Mime,Plain}DigestsButton methods.mailman1998-03-131-0/+2
|
* Respect obscured addresses for user identity, as well as unobscuredklm1998-03-081-4/+15
| | | | | | | | | | | | | | | | | | | | ones (as long as mm_utils.UnobscureEmail() works like an identity function on not-obscured email addrs). Also, set replacement <mm-presentable-user> to the obscured address if address obscuring is on. (Used by options.html.) NOTE that the maillist administrator's address is never obscured. Maillist administrators will have to either present the maillist-owner address as their admin addr, or otherwise protect themselves if they wish. Remove redirection of stderr to file - the script would fail if the file already existed and was unwritable. (It may make sense to have a logging mechanism like LogMsg, but working like a file object, for this purpose...) Add a module docstring.
* Print error message headers in red, like in admin script.klm1998-03-081-6/+10
|
* Hint about setting for PATH_INFO for debugging in module docstring.klm1998-03-081-1/+16
| | | | | Validate bounce_matching_headers setting, issuing diagnostic if found wanting.
* Remove gratuitous use of arbitrary file for logging problems -klm1998-03-081-2/+0
| | | | | | would bomb the program if the file preexisted and was not writable. Perhaps spewing to stderr broaches security somehow, dunno, but the compromise was not a compromise...
* Fix misplaced paren.klm1998-03-081-1/+1
|
* Normalize the list name to lower case. (Email doesn't care, butmailman1998-03-058-13/+13
| | | | the web - URLs - does.)
* Restructured substantially so we can catch all errors and provide anmailman1998-03-041-183/+184
| | | | | | | | | | | | | | | apology to the user, including a traceback and a request to send it to the site webmaster. Catch particular (new) list-load exceptions, instead of using bare except clauses. (This way we're not grouping all errors, including coding errors, as list initialization errors!) main(): Package main stuff in a routine which gets called when invoked as a script. FormatOptionsSection(): package repeated inline code from FormatConfiguration into a routine.
* Move non-digested options above digested ones.mailman1998-03-041-14/+14
| | | | | | | Do not put the "if-so" section if there is only the toggle, no other options. (This problem was exposed since i moved the non-digested header and footer to nearer the other description info. This should be rectified better, eventually.)