Commit Graph

74 Commits

Author SHA1 Message Date
Paul Rodger 7c8b58dea3 Fixed a bug where archivemail would abort if it got a date header
with a completely blank value.
2002-05-07 12:14:29 +00:00
Paul Rodger e4adb7b222 Fixed a bug where the os.rename() calls could fail if we are moving files
between partitions.
2002-05-06 03:06:40 +00:00
Paul Rodger ca6933b50f Opps - forgot to put the size option in the manpage. 2002-04-29 12:42:43 +00:00
Paul Rodger dcff0c0c85 Added a --size option to only archive messages over a certain byte size. 2002-04-29 12:20:45 +00:00
Paul Rodger 244c88d4b9 Added a lot more tests to test_archivemail.py. 2002-04-28 04:04:49 +00:00
Paul Rodger bc41b68389 Fixed a bug where the long --suffix option was not working (although the
short option, '-s' was).

Added time-based format directives to the --suffix option, so that you
can do things like specify --suffix='%B%Y' to create archives named
after the current month and year.

Added some more tests to test_archivemail.py
2002-04-27 06:08:45 +00:00
Paul Rodger 9736dff04d Fixed bugs where archivemail would refuse to work on python version less than
2.2.
2002-04-26 03:04:02 +00:00
Paul Rodger f1f2b97b1b Added another test, got ready for 0.4.2 release. 2002-04-24 13:22:11 +00:00
Paul Rodger 14d58baee1 Added a lot more system tests.
Hopefully I haven't gone too overboard with 957 lines of testing code for
a 1100 line program :)
2002-04-24 07:44:59 +00:00
Paul Rodger a79e730127 Complain if the mailbox to be read does not look like a valid mbox-format
mailbox when it is a singular file.
2002-04-23 04:30:42 +00:00
Paul Rodger 2bfde528cd Added the ability to archive messages older than a given absolute date with
the new option '--date' and fixed a bug where archivemail would complain about
messages older than 1970.
2002-04-23 03:01:26 +00:00
Paul Rodger 623f3ba4be Getting ready for release of version 0.4.1 2002-04-21 01:14:54 +00:00
Paul Rodger 1bd93b6d08 Got ready for release of version 4.1 in a couple of days. 2002-04-19 07:12:49 +00:00
Paul Rodger ee9757de78 Added an option '--no-compress' if you don't want gzipped archives.
Added an option '--preserve-unread' to always preserved (don't archive)
unread messages.
2002-04-17 06:26:31 +00:00
Paul Rodger ba5426db3f Added a lot more documentation, fixed up usage messages and expanded a lot
on the man page.
2002-04-13 11:36:32 +00:00
Paul Rodger d7bd2d407c Got ready for release of v0.3.1 2002-04-12 14:59:13 +00:00
Paul Rodger 0203bed0c4 Added docbook documentation from which we can generate a manpage. 2002-04-12 14:46:09 +00:00
Paul Rodger 9e534977ef Stopped calling gzip externally and started using the 'gzip' module
directly. Removed bzip2 and compress support since they were complicating
things and you don't really need them much anyway.
2002-04-12 05:31:59 +00:00
Paul Rodger 07ab0ae773 Getting ready for v0.3 release. 2002-04-11 10:23:16 +00:00
Paul Rodger 35a9f14982 We now preserve the last-accessed and last-modified timestamps correctly.
Fixed a bug where lockfiles were being created that were not
world-readable.

Made archivemail work better when used as a python module so it can
integrate better with unittest.

Renamed unittest script 'test_archivemail' instead of 'archivemail_test'
and added about 20 more tests.
2002-04-08 13:39:03 +00:00
Paul Rodger 92e86986e5 Updated documentation and version number to reflect new version: 0.2.1 2002-04-04 11:19:29 +00:00
Paul Rodger 1ed695b748 Since we might not have a parse-able 'Date-Received' or 'Date' field,
use 5 different ways to guess the date of a message.
2002-04-04 02:41:37 +00:00
Paul Rodger 8bc23385dc Remembered some more stuff to do. 2002-04-03 11:15:17 +00:00
Paul Rodger 68b96c2120 Updated tasks to reflect release of version 0.2.0 2002-04-03 10:59:00 +00:00