Commit Graph

47 Commits

Author SHA1 Message Date
Nikolaus Schulz 8d01846e3f Manpage, TODO, CHANGELOG: document and record wildcard expansion in IMAP mailbox names 2010-08-09 11:43:10 +02:00
Nikolaus Schulz 910b507a2d TODO: drop more obsolete items
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
2010-08-08 18:53:11 +02:00
Nikolaus Schulz a102b5baf9 Rename archivemail.py to archivemail
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.
2010-07-29 21:35:58 +02:00
Nikolaus Schulz febd030e14 Drop .py extension from the unittest script 2010-07-29 21:02:12 +02:00
Nikolaus Schulz af3bb16a4c Updated TODO, dropping a lot of obsolete items
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
2010-07-29 19:49:42 +02:00
Nikolaus Schulz dcf849afeb TODO: new items: make IMAP test suite with no network I/O; drop .py extension 2010-07-19 01:40:25 +02:00
Nikolaus Schulz d706409c59 Switch mbox locking from flock(2) to posix lockf(2)
flock() locks aren't portable; lockf() locks are.
2010-07-19 01:13:25 +02:00
Nikolaus Schulz 415e055a6e TODO: dropped items about --all, which is now implemented. 2008-04-08 23:15:45 +00:00
Nikolaus Schulz afa61f8597 TODO: added items:
* perhaps integrate --debug-imap into -vv switch
* graceful IMAP connection termination upon error
2008-02-14 22:31:11 +00:00
Nikolaus Schulz 1fcd5b7292 TODO: added issues:
- no locking with archives
- no validation of existing archives
- discomfort with current mbox class design and usage
2008-01-19 00:12:35 +00:00
Nikolaus Schulz ce02aba226 Updated TODO list. Added:
* rework locking
 * IMAP SEARCH BEFORE matching dates only, no time
 * document mbox format issues
2007-11-15 04:15:25 +00:00
Nikolaus Schulz 8596d68092 TODO: update for the upcoming release. Added new item:
* fix possible wrong names for IMAP mailbox archives
2007-11-07 19:59:18 +00:00
Nikolaus Schulz d57987be04 TODO: new items:
* implement --all (?)
* implement --include-draft (?)
* consider to use target directories for temporary files, this might spare us
  one copy if they reside on other filesystems than /tmp
* fallback if an IMAP server doesn't implement SEARCH (?)
2007-11-06 23:54:50 +00:00
Nikolaus Schulz 3e0288e21b TODO: removed obsolete items:
- documentation of IMAP server side search peculiarities
    - Debian bug #255944, which has been recorded as unreproducible, and fixed
      in rev. 186.
2007-11-02 21:26:12 +00:00
Nikolaus Schulz 1d89f59b53 TODO: drop paragraph about reworking the IMAP URL parser (done). 2007-11-01 12:01:44 +00:00
Nikolaus Schulz b07a4cfbf3 TODO: new items:
* IMAP unittests
    * bug triage
    * Porting to email.message and the new mailbox modules in python 2.5.
2007-10-23 23:29:05 +00:00
Nikolaus Schulz c67a75c2f7 TODO: updated with some old items which weren't yet committed to svn. 2007-09-18 00:30:10 +00:00
Nikolaus Schulz cb48d392fa TODO update. Added: IMAP url clutter/password leakage, unfriendly locking
practice.  Removed: only prompt for IMAP password when running in terminal.
2006-11-02 05:43:33 +00:00
Nikolaus Schulz 7a2e1b7c69 Added a few items to the TODO list that won't be resolved with the next release. 2006-10-31 04:50:05 +00:00
Nikolaus Schulz daed56f0c5 TODO: added that currently all items are from the original author and still have
to be checked. :-)
2006-10-29 04:09:11 +00:00
Paul Rodger 64d87da307 Use the archive cut-off date rather than the current time with the
--suffix option.
2002-11-21 22:57:13 +00:00
Paul Rodger 60f119d64a Don't assume that root's grpid is '0' -- on solaris it can be different. 2002-11-07 22:54:03 +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 485b7f882a Opps - forgot to commit the new version number changes (0.5.1) 2002-09-19 00:10:06 +00:00
Paul Rodger 3939c48518 Fixed a bug where mailbox locking would fail under Solaris, also fixed
a bug where archiving maildir mailboxes without a 'Received Date' or
'From' header would fail.
Removed another assert() statement that would crash on the unix epoch.
2002-09-15 06:14:57 +00:00
Paul Rodger 5264ab35cd Fixed a bug where we would throw an exception if a message was dated
exactly on the unix epoch. Also fixed a bug where trailing slashes
were being passed to the archive file name.
2002-08-18 12:17:56 +00:00
Paul Rodger 604e11428f Updated version numbers. 2002-05-20 06:15:54 +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 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 dcff0c0c85 Added a --size option to only archive messages over a certain byte size. 2002-04-29 12:20:45 +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 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 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 d7bd2d407c Got ready for release of v0.3.1 2002-04-12 14:59:13 +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 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
Paul Rodger d212ae060e Added headings & heaps more todo points. 2002-04-02 13:49:29 +00:00
Paul Rodger 9cbc21d0b4 Added MH mailbox support, but we need a testing framework. 2002-04-02 13:39:11 +00:00
Paul Rodger 1b7ab09f24 Added maildir support, cache message-Ids, and lots of other stuff. 2002-03-31 01:31:11 +00:00
Paul Rodger 902a81b4bc Initial revision 2002-03-26 03:53:09 +00:00