Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | MANIFEST.in: distribute NEWS | Nikolaus Schulz | 2010-08-09 | 1 | -0/+1 |
| | |||||
* | Add new file NEWS, gathering noteworthy changes from the changelog | Nikolaus Schulz | 2010-08-09 | 1 | -0/+39 |
| | |||||
* | Remove release notes | Nikolaus Schulz | 2010-08-09 | 1 | -44/+0 |
| | | | | This file is not really suitable to put into a revision control system. | ||||
* | Regenerate manpage from sgml source | Nikolaus Schulz | 2010-08-09 | 1 | -1/+15 |
| | |||||
* | Manpage, TODO, CHANGELOG: document and record wildcard expansion in IMAP ↵ | Nikolaus Schulz | 2010-08-09 | 3 | -3/+21 |
| | | | | mailbox names | ||||
* | Expand wildcards in IMAP mailbox names | Nikolaus Schulz | 2010-08-09 | 1 | -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 items | Nikolaus Schulz | 2010-08-08 | 1 | -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 source | Nikolaus Schulz | 2010-07-31 | 1 | -12/+42 |
| | |||||
* | Manpage: various updates | Nikolaus Schulz | 2010-07-31 | 1 | -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 filename | Nikolaus Schulz | 2010-07-31 | 3 | -19/+64 |
| | |||||
* | test suite: fix buggy test of --suffix and --prefix option parsing | Nikolaus Schulz | 2010-07-31 | 1 | -2/+2 |
| | |||||
* | test suite: replace some plain assertions with TestCase.assertEqual() | Nikolaus Schulz | 2010-07-31 | 1 | -4/+4 |
| | |||||
* | Rename variables in make_archive_name() | Nikolaus Schulz | 2010-07-31 | 1 | -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 Schulz | 2010-07-31 | 3 | -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 affix | Nikolaus Schulz | 2010-07-31 | 2 | -12/+41 |
| | | | | Also add more archive name affix testing to the test suite. | ||||
* | New option --archive-prefix, alias -p | Nikolaus Schulz | 2010-07-31 | 4 | -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 messages | Nikolaus Schulz | 2010-07-30 | 3 | -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 love | Nikolaus Schulz | 2010-07-30 | 1 | -14/+24 |
| | | | | Add references to bug numbers and be more verbose. | ||||
* | test suite: test unlocking an mbox after dotlocking failed with EACCES | Nikolaus Schulz | 2010-07-30 | 1 | -0/+1 |
| | |||||
* | Fix crash when unlocking an mbox after dotlocking failed with EACCES | Nikolaus Schulz | 2010-07-30 | 1 | -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 generic | Nikolaus Schulz | 2010-07-30 | 1 | -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 source | Nikolaus Schulz | 2010-07-30 | 1 | -8/+2 |
| | |||||
* | Updated the manpage date | Nikolaus Schulz | 2010-07-30 | 1 | -1/+1 |
| | |||||
* | Document in the manpage that archivemail locks the archive mbox | Nikolaus Schulz | 2010-07-30 | 1 | -0/+1 |
| | |||||
* | Remove the notes about setuid support from the manpage | Nikolaus Schulz | 2010-07-29 | 1 | -13/+0 |
| | | | | This feature has been removed. | ||||
* | Replace distutils MANIFEST with MANIFEST.in template | Nikolaus Schulz | 2010-07-29 | 2 | -12/+9 |
| | | | | | Recent distutils versions always generate a new MANIFEST, overwriting our custom one. See Python bug #8688. | ||||
* | Rename archivemail.py to archivemail | Nikolaus Schulz | 2010-07-29 | 5 | -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 slow | Nikolaus Schulz | 2010-07-29 | 1 | -1/+0 |
| | | | | With the recent optimizations of the test suite, it has become quite fast. | ||||
* | Drop .py extension from the unittest script | Nikolaus Schulz | 2010-07-29 | 5 | -4/+4 |
| | |||||
* | Bump version to 0.8.0 | Nikolaus Schulz | 2010-07-29 | 3 | -3/+3 |
| | |||||
* | Updated changelog, which was very outdated | Nikolaus Schulz | 2010-07-29 | 1 | -17/+41 |
| | |||||
* | Updated copyright year | Nikolaus Schulz | 2010-07-29 | 2 | -3/+3 |
| | |||||
* | Updated TODO, dropping a lot of obsolete items | Nikolaus Schulz | 2010-07-29 | 2 | -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 cases | Nikolaus Schulz | 2010-07-29 | 1 | -18/+187 |
| | | | | Maildir testing should now be roughly on par with mbox testing. | ||||
* | test suite: remove unused remove() methods from maildir classes | Nikolaus Schulz | 2010-07-29 | 1 | -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 code | Nikolaus Schulz | 2010-07-29 | 1 | -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 cases | Nikolaus Schulz | 2010-07-29 | 1 | -3/+387 |
| | |||||
* | test suite: remove obsolete $Id$ subversion keyword | Nikolaus Schulz | 2010-07-29 | 1 | -1/+0 |
| | |||||
* | test suite: cleanup of the mbox testing code | Nikolaus Schulz | 2010-07-29 | 1 | -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. | ||||
* | test suite: remove obsolete test that we preserve mbox file modes | Nikolaus Schulz | 2010-07-29 | 1 | -38/+0 |
| | | | | | This test case is obsolete since we no longer replace the mbox file with a new copy but rewrite it. | ||||
* | Fix TempMbox.saveas() to unregister the right file from _stale | Nikolaus Schulz | 2010-07-28 | 1 | -1/+1 |
| | |||||
* | Python language fix: replace C-style boolean values "1" and "0" with True/False | Nikolaus Schulz | 2010-07-19 | 2 | -100/+100 |
| | |||||
* | Remove unused variable | Nikolaus Schulz | 2010-07-19 | 1 | -1/+0 |
| | |||||
* | Python language fix: remove parentheses around asserted expressions | Nikolaus Schulz | 2010-07-19 | 2 | -95/+95 |
| | | | | assert is not a function. | ||||
* | Add a note about the race window when resetting an mbox file timestamp | Nikolaus Schulz | 2010-07-19 | 1 | -1/+1 |
| | |||||
* | TODO: new items: make IMAP test suite with no network I/O; drop .py extension | Nikolaus Schulz | 2010-07-19 | 1 | -1/+5 |
| | |||||
* | Warn if the temporary directory is not empty on cleanup | Nikolaus Schulz | 2010-07-19 | 1 | -2/+7 |
| | |||||
* | When creating a dotlock, register it slightly earlier for cleanup | Nikolaus Schulz | 2010-07-19 | 1 | -1/+1 |
| | | | | | This closes a very unlikely window where we could create a dotlock file, but then encounter an error and fail to clean up the dotlock. | ||||
* | In verbose mode, say that we're about to dotlock an mbox before trying to do so | Nikolaus Schulz | 2010-07-19 | 1 | -1/+2 |
| | |||||
* | Minor docstring/whitespace fixes | Nikolaus Schulz | 2010-07-19 | 1 | -3/+4 |
| |