aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* manpage: define proper "manual" and "source" stringsNikolaus Schulz2011-01-072-4/+5
|
* Port man page from SGML to XMLNikolaus Schulz2010-12-298-1206/+1582
|
* IMAP: don't collect statistics data when run with --quiet optionNikolaus Schulz2010-12-261-1/+1
| | | | This gives a significant operation speedup in quiet mode.
* Fix typo in the manpageNikolaus Schulz2010-12-261-1/+1
|
* setup.py: install manpage into share/man/man1 instead of man/man1Nikolaus Schulz2010-11-281-1/+1
| | | | | This change aims to comply with the FHS, which puts manpages into /usr/share/man, not /usr/man.
* Default options.debug_imap to 0 again, not FalseNikolaus Schulz2010-11-121-1/+1
| | | | | This was overdone when switching from integers to booleans. Here 0 and False are in fact probably equivalent, but it's still a bug.
* Update changelog and prepare 0.8.2 releaseNikolaus Schulz2010-10-164-4/+9
|
* IMAP: don't prepend NAMESPACE prefix to INBOX and its childrenNikolaus Schulz2010-10-161-4/+12
|
* Update changelog and prepare 0.8.1 releaseNikolaus Schulz2010-09-304-4/+9
|
* IMAP: correctly handle IMAP `literal' and unquoted `astring' in LIST replyNikolaus Schulz2010-09-262-6/+55
| | | | | | | | | | | | The LIST reply handling in imap_find_mailboxes() was buggy in several ways. It expected a non-NIL hierarchy delimiter, and it assumed that the mailbox name in a LIST reply is always quoted; but it can be an astring, a quoted string, or a literal (see RFC 3501 for the definitions of these tokens). These variants should now all be interpreted correctly. In addition, quoted mailbox names are now handled more strictly to the letter of the RFC; this only affects mailbox names containing a " or a backslash, though.
* Releasing 0.8.0: fix release date in the changelog, and update the project ↵Nikolaus Schulz2010-08-092-3/+3
| | | | web page
* MANIFEST.in: distribute NEWSNikolaus Schulz2010-08-091-0/+1
|
* Add new file NEWS, gathering noteworthy changes from the changelogNikolaus Schulz2010-08-091-0/+39
|
* Remove release notesNikolaus Schulz2010-08-091-44/+0
| | | | This file is not really suitable to put into a revision control system.
* Regenerate manpage from sgml sourceNikolaus Schulz2010-08-091-1/+15
|
* Manpage, TODO, CHANGELOG: document and record wildcard expansion in IMAP ↵Nikolaus Schulz2010-08-093-3/+21
| | | | mailbox names
* Expand wildcards in IMAP mailbox namesNikolaus Schulz2010-08-091-127/+133
| | | | | | | The only non-obvious code change required for this is due to the fact that computing the archive names has to move into the format-specific archiving functions, because they can no longer be derived from the mailbox name beforehand.
* TODO: drop more obsolete itemsNikolaus Schulz2010-08-081-20/+1
| | | | | | | | In particular: * we no longer use shutil.copy{,2} to write back a changed mbox * having temporary mbox files in the same directory as the originals doesn't make sense anymore since we no longer commit them with rename(2) * the --archive-name option is now implemented
* Regenerate manpage from sgml sourceNikolaus Schulz2010-07-311-12/+42
|
* Manpage: various updatesNikolaus Schulz2010-07-311-16/+50
| | | | | | | Document the --archive-name option, and explain the basic idea of deriving the archive filename from the mailbox earlier and more prominently. Also document how archivemail tries not to create hidden archive files, and remove some obsolete notes.
* New option --archive-name, alias -a, to hard-code the archive filenameNikolaus Schulz2010-07-313-19/+64
|
* test suite: fix buggy test of --suffix and --prefix option parsingNikolaus Schulz2010-07-311-2/+2
|
* test suite: replace some plain assertions with TestCase.assertEqual()Nikolaus Schulz2010-07-311-4/+4
|
* Rename variables in make_archive_name()Nikolaus Schulz2010-07-311-6/+6
| | | | | Archive name prefixes may contain path components, thus renaming some variables accordingly.
* Don't create hidden archives when archiving mailboxes with leading dots in ↵Nikolaus Schulz2010-07-313-0/+30
| | | | | | | | the name When archiving a mailbox with leading dots in the name and no archive name prefix specified, strip the dots off the archive name. This is targeting Maildir++ subfolders.
* Only use the default archive name suffix when the user specified no affixNikolaus Schulz2010-07-312-12/+41
| | | | Also add more archive name affix testing to the test suite.
* New option --archive-prefix, alias -pNikolaus Schulz2010-07-314-13/+70
| | | | | | | | | | | Technically, this works just like the --suffix option. This commit also updates the manpage accordingly. Currently, the prefix is not checked for slashes, so it could contain path components. (The same applies for the suffix, btw). Since the expanded string is prepended to the archive base name, this can be used to dynamically configure the archive directory, depending on the archive cutoff date. I'm not sure if this can be considered a reasonable feature, though.
* Detect and never archive IMAP server pseudo mbox messagesNikolaus Schulz2010-07-303-0/+31
| | | | | | | IMAP servers (Dovecot and UW-IMAP at least) may store mailbox meta data for mboxes in a pseudo message. Such messages are now detected and never archived. This commit includes a test case in the test suite.
* Give the changelog some more loveNikolaus Schulz2010-07-301-14/+24
| | | | Add references to bug numbers and be more verbose.
* test suite: test unlocking an mbox after dotlocking failed with EACCESNikolaus Schulz2010-07-301-0/+1
|
* Fix crash when unlocking an mbox after dotlocking failed with EACCESNikolaus Schulz2010-07-301-1/+4
| | | | | | If we don't have sufficient permissions to create a dotlock for an mbox file, record that, and don't try to remove the dotlock when unlocking the mbox later.
* index.html: reword pointer to the Suse Build Service to be more genericNikolaus Schulz2010-07-301-2/+2
| | | | | Better don't write "soon there will be... <foo>" and don't be specific about available versions. Writing it more generically means lesser maintenance. :)
* Regenerate manpage from the sgml sourceNikolaus Schulz2010-07-301-8/+2
|
* Updated the manpage dateNikolaus Schulz2010-07-301-1/+1
|
* Document in the manpage that archivemail locks the archive mboxNikolaus Schulz2010-07-301-0/+1
|
* Remove the notes about setuid support from the manpageNikolaus Schulz2010-07-291-13/+0
| | | | This feature has been removed.
* Replace distutils MANIFEST with MANIFEST.in templateNikolaus Schulz2010-07-292-12/+9
| | | | | Recent distutils versions always generate a new MANIFEST, overwriting our custom one. See Python bug #8688.
* Rename archivemail.py to archivemailNikolaus Schulz2010-07-295-17/+8
| | | | | | | | | On Unix, most scripts don't come with a file extension, it's not needed, and we distribute the script as "archivemail" anyway. And most importantly, I like it better without the extension. :) With a little trick we can still load the script as a module from the test suite.
* README: drop warning that the test suite is slowNikolaus Schulz2010-07-291-1/+0
| | | | With the recent optimizations of the test suite, it has become quite fast.
* Drop .py extension from the unittest scriptNikolaus Schulz2010-07-295-4/+4
|
* Bump version to 0.8.0Nikolaus Schulz2010-07-293-3/+3
|
* Updated changelog, which was very outdatedNikolaus Schulz2010-07-291-17/+41
|
* Updated copyright yearNikolaus Schulz2010-07-292-3/+3
|
* Updated TODO, dropping a lot of obsolete itemsNikolaus Schulz2010-07-292-23/+0
| | | | | | | | | | | Notable items that are now resolved or implemented: * archives are now locked * the mbox classes have been refactored to a cleaner design * we moved from flock locking to fcntl * the setuid() feature is long gone * symlink attacks for tempfiles are not possible (that is really an ancient TODO item from the original author) * the test suite now has a lot of maildir test cases
* test suite: add more maildir test casesNikolaus Schulz2010-07-291-18/+187
| | | | Maildir testing should now be roughly on par with mbox testing.
* test suite: remove unused remove() methods from maildir classesNikolaus Schulz2010-07-291-17/+0
| | | | | For cleanup of temporary files, we lean on shutil.rmtree anyway, so don't bother wasting more code on this.
* test suite: remove incomplete MH testing codeNikolaus Schulz2010-07-291-32/+1
| | | | | | | | | | I just discovered that archivemails MH support is broken with respect to message flags, and in my opinion it doesn't make much sense to test known-broken functionality. In fact there may well be zero archivemail users with MH mailboxes; MH is basically an obsolete format, and any archivemail user with MH mailboxes would probably have complained about lost message flags.
* test suite: first shot at implementing maildir test casesNikolaus Schulz2010-07-291-3/+387
|
* test suite: remove obsolete $Id$ subversion keywordNikolaus Schulz2010-07-291-1/+0
|
* test suite: cleanup of the mbox testing codeNikolaus Schulz2010-07-291-52/+56
| | | | | | This code is complex, too complex actually. Rename some methods and variables, rework some code and and add some explaining comments in order to make it it least a bit easier to understand.