summaryrefslogtreecommitdiff
path: root/cron/checkdbs
Commit message (Collapse)AuthorAgeFilesLines
* Move all cron scripts to the new Mailman.bin package layout and complete thebwarsaw2006-05-131-203/+0
| | | | | conversion to optparse style option parsing. Remove mailpasswds as password reminders will go away for MM2.2.
* back porting from 2.1.6tkikuchi2005-08-281-10/+39
|
* FSF office has moved. chdcking in for MAIN branch.tkikuchi2005-08-271-1/+1
|
* pending_requests(): Be sure reason is translated. Closes SF bugbwarsaw2003-04-191-0/+1
| | | | #716702.
* usage(): Added -h / --help text.bwarsaw2003-03-111-7/+44
| | | | | | pending_requests(): The list of pending texts could contain a mixture of Unicode, ASCII 8-bit strings, and non-ASCII 8-bit strings. We must convert all these to Unicode before joining them.
* Move the import of Charset to after the import of paths, so we pick upbwarsaw2002-10-281-4/+4
| | | | Mailman's copy of the email package instead of Python's.
* Whitespace normalizationbwarsaw2002-10-281-6/+6
|
* pending_requests(): Include the Subject header in the pending summary.bwarsaw2002-10-281-2/+4
|
* pending_requests(): The requests.pck database may have Unicode stringsbwarsaw2002-10-251-1/+19
| | | | | | | | | | | | | in them, say if an encoded name appeared in a From header. But maketext() may return byte strings with non-ascii characters in them, and concatenating these two types of strings is a no no. The local fix (implemented here) is to make sure that pending_requests() returns a byte string with no characters that are illegal in the list's preferred language's charset. The longer term fix probably ought to be that we use Unicode everywhere and that maketext() returns a Unicode.
* main(): Get rid of the phantom "moderator requests" messages. Fix bybwarsaw2002-07-131-1/+1
| | | | Fil.
* main(): While we're at it, cruise through thebwarsaw2002-05-281-18/+30
| | | | | hold_and_cmd_autoresponses dictionary to see if any entries can be evicted (we only hold such data for a single day).
* main(): GetAdminEmail() is gone so replace this with more appropriatebwarsaw2002-03-271-2/+3
| | | | addresses.
* pending_requests(): We don't need to compare the length of the infobwarsaw2002-03-261-14/+4
| | | | | package to know how to unpack the request record. bin/update should now canonicalize them.
* pending_requests(): Slightly better formatting when there's abwarsaw2002-03-151-2/+3
| | | | fullname.
* main(): Pass the list's preferred language to the UserNotificationbwarsaw2002-02-281-3/+4
| | | | constructor so that the message gets the proper charset settings.
* pending_requests(): Subscription ID records unpack to a 6 tuple now,bwarsaw2001-11-091-2/+9
| | | | | which includes the fullname, but also watch out for older records which don't include the fullname.
* Ben Gertzfield's patch to hardcode the path to the python executablebwarsaw2001-09-071-1/+1
| | | | | | | | | | | | | into the script's #! line -- based on --with-python settings, without losing CVS revision history. #! /usr/bin/env python becomes #! @PYTHON@ which gets substituted for in configure.
* Reorder the imports so mm_cfg is always the first module importedbwarsaw2001-07-271-0/+3
| | | | | | | | | | | | | | | after paths. Because these scripts are run from cron with "python -S" they must import mm_cfg before attempting to import mimelib; mm_cfg hacks sys.path to include site-packages which -S inhibits. For those scripts that already import mm_cfg, add a comment describing the import order dependencies. For those that didn't, add a comment about why it's being imported. Also, gate_news: Removed the _ContinueLoop docstring so translators have one less non-translatable docstring to worry about. Closes Thomas's SF patch #443803.
* 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
|
* de-string-module-ificationbwarsaw2001-05-311-9/+11
| | | | | main(): Use the new world order for sending a message (i.e. not through HandlerAPI). Also, do the mlist.Save() in the try: block.
* main(): Call maketext() with the list's preferred language.bwarsaw2000-12-261-1/+1
|
* main(): GetAbsoluteScriptURL() => GetScriptURL(..., absolute=1)bwarsaw2000-08-011-1/+1
|
* pending_requests(): Backwards compatibility code to handle the tuplebwarsaw2000-05-081-1/+6
| | | | | representing the record for held messages. In pre-2.0b3 it was a 5-tuple, but it is now a 6-tuple.
* pending_requests(): missing parens made the RHS of the % not a tuple.bwarsaw2000-04-121-1/+1
| | | | Odd this has never been caught before!
* Update the copyright lines to include the years 1999 & 2000.bwarsaw2000-03-211-1/+1
|
* convert to the new message delivery mechanismbwarsaw1999-12-141-7/+11
|
* Convert to the new admin request API.bwarsaw1999-11-121-43/+48
|
* On some RedHat Linuxes, there appears to be a problem with some cronsbwarsaw1999-01-131-0/+4
| | | | | | | | | | | | | | | | | | | | | | messing up their SIGCHLD handling. This would manifest as an IOError getting raised in the cmdproc.close() call of DeliverToList() in Deliverer.py. Thanks go Harald Meland for describing the real problem and giving the real fix. Thanks go to Greg Stein for testing this patch and verifying that it works. Deliverer.DeliverToList(): Undo previously checked in patch, which simply wrapped a try/except around the cmdproc.close() call and ignored errno=10 IOErrors. This was treating the symptoms, not the cause. All files in cron/: Added Harald's work around of the Linux bug by including these lines in every file: # Work around known problems with some RedHat cron daemons import signal signal.signal(signal.SIGCHLD, signal.SIG_DFL) It helps RedHat and doesn't appear to hurt on e.g. Solaris.
* Add "Precedence: bulk" header to password reminders, so they don'tklm1998-08-141-1/+2
| | | | | trigger 'vacation' style programs. (Sorta amusingly, this just prevents the admin from getting their own vacation notice...)
* With recent maketext() (wrap()) fixes, we can just append the list ofklm1998-07-231-3/+6
| | | | | | | | pending items to the message after formatting, rather than the more complicated literal inclusion of a format string that was being used. Added a '-v' option to the script, to get verbose operation for debugging.
* Moved the notice text to a new template, for use with 'maketext'.klm1998-07-171-13/+9
| | | | | | | | | Note that, in order to avoid wrapping the pending requests list, it is inserted in a separate pass after the maketext. Also, using a changed name for the RequestsPending() call, NumRequestsPending() - i'll be checking in ListAdmin.py with the new name momentarily.
* Another file where the from line was oddly missing the "import" part ofviega1998-07-071-2/+2
| | | | things.
* Packagizedbwarsaw1998-06-191-3/+5
|
* Add Unlock() calls where appropriate, and add lock = 0 to MailListviega1998-06-131-2/+1
| | | | constructor actuals when the list doesn't need to be locked.
* Updated calls to GetScriptURL to the appropriate new form. One or twoviega1998-06-031-1/+1
| | | | | minor changes here and there to support relative paths (changing absolute paths that didn't use GetScriptURL to begin with).
* 1. Use the standard Python invocation #! line to get the interpreterbwarsaw1998-05-261-6/+3
| | | | | | | | | | | from $PATH 2. Do no direct sys.path munging in this file. Import the `paths' module, which is created during the configure process, and which performs all necessary path munging (and exports some useful variables too). 3. Remove RCS crud
* Fixed a typo in the zipcode.viega1998-05-261-2/+2
|
* Added copyright notices to all source files where I am legally entitled to ↵viega1998-05-251-1/+16
| | | | | | | do so. Added a copy of the GNU GPL. Added information about mailman-users in README, and reworded some text in there (made the credits less verbose... perhaps they should move to a credits file?)
* Preparing to package a distribution - add a module docstring andmailman1998-04-091-4/+4
| | | | __version__ info.
* Fixed request unpack to get the nw, right length.mailman1998-03-241-4/+5
|
* Describe the requests that are pending in the notification message.mailman1998-03-181-16/+46
| | | | Track transition of list_names to mm_utils, including import of mm_utils.
* Use new routine maillist.list_names(), instead of doing it by hand.mailman1998-02-251-6/+2
|
* Initial revisionmailman1998-02-251-0/+34