Nikolaus Schulz
a6ff806d2a
Fixed unittest failure by updating --suffix testcase: archivemail used to expand
...
date directives in the suffix to the current date, but rev. 94 changed that to
the archive cut off date. Based on analysis by Peter Poeml. Thanks, Peter.
2006-10-01 02:32:19 +00:00
Paul Rodger
799f4affcd
Removed a test rule that says we can confidently archive messages
...
older than the unix epoch. (New versions of python return OverFlow
error instead)
2002-10-30 23:51:08 +00:00
Paul Rodger
518654df61
We now call mkdir() to create a temporary directory to store any generated
...
tempfiles. This should be a lot more secure.
2002-05-20 06:14:54 +00:00
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
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
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
1bd93b6d08
Got ready for release of version 4.1 in a couple of days.
2002-04-19 07:12:49 +00:00
Paul Rodger
fd61a98c46
Grouped together tests more into their respective classes.
2002-04-17 13:13:36 +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
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
d27832f818
We now have 37 tests, including chmod() tests to make sure permissions
...
on original mbox mailboxes have been preserved.
2002-04-11 03:48:13 +00:00
Paul Rodger
314cb64484
Added a couple more (possibly stupid) tests and added docstrings for
...
all existing tests so it looks nicer when run verbosely.
2002-04-09 13:00:06 +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