Commit Graph

754 Commits

Author SHA1 Message Date
Daniel Burrows
1844cefd17 Remove a redundant (and mostly harmless) output of the error string from the Curses UI.
It looks like I accidentally recorded the wrong version of Curses.py --
originally this code was there, but I moved it over to UIBase so it would
cover the TTY UI also.
2006-12-01 12:27:12 +01:00
Daniel Burrows
dc8f3c944d Add a try: block to catch exceptions that occur before the main loop and to call ui.mainException().
I'm not sure if this is the "right" way to handle exceptions, but it does
correctly print the error message AFTER shutting down curses for me.
2006-12-01 11:59:22 +01:00
Daniel Burrows
c7894a01f0 Instead of blowing up when the account name is missing, display a useful error message that gives the correct account names. 2006-12-01 11:54:25 +01:00
Daniel Burrows
0ee7dfd435 Add parameters to terminate() that specify an (optional) error message to display on termination. 2006-12-01 11:54:12 +01:00
John Goerzen
0483beb3b8 TAG RELEASE_${PACKAGE}_${VERSION} 2006-11-30 23:17:16 +01:00
John Goerzen
49eb9c5a66 TAG DEBIAN_offlineimap_4.0.15 2006-11-30 12:29:06 +01:00
John Goerzen
2fa36e9356 No longer build manual.ps 2006-11-30 12:28:57 +01:00
John Goerzen
2977f53244 Fix lack of revstr in version.py 2006-11-30 12:23:18 +01:00
John Goerzen
fa0b7fee04 Regen docs. Fixes #1. 2006-11-30 10:55:38 +01:00
John Goerzen
3c7d3a94d6 Updated debian changelog 2006-11-30 10:53:34 +01:00
John Goerzen
f2515a0b02 Updated copyright and version info for 4.0.15 2006-11-30 10:51:14 +01:00
John Goerzen
3f87854493 Change python2.3 to python 2006-11-30 10:50:48 +01:00
John Goerzen
9eb102019b Added debian/pyversions 2006-11-30 10:48:27 +01:00
John Goerzen
fc4e31e0db Updated homepage, refs #1 2006-11-30 10:46:51 +01:00
John Goerzen
e825687026 Removed old ChangeLog files 2006-11-30 04:28:19 +01:00
John Goerzen
365aff78d2 No longer generate/distribute PostScript manual 2006-11-30 04:26:14 +01:00
John Goerzen
d598eeabeb Added TODO file 2006-10-27 19:25:11 +01:00
John Goerzen
f75a89d954 Updated copyright and version info 2006-10-19 02:04:28 +01:00
John Goerzen
381f71b180 Tiny bit of make cleaning 2006-10-18 01:18:27 +01:00
John Goerzen
a6db99a21e Add remote{host,user,pass}eval config options (need documentation yet)
From Ben Kibbey

hello,

Attached is a patch to enable evaluation of account credentials with the
remotehosteval, remoteusereval and remotepasseval configuration options.
I needed this because rather than change all my other programs
configuration settings when I change, say a password, I store them in a
file. So I call a function in pythonfile which parses the credential
file and returns the wanted info. Not really very well tested, but not
complex either. Offlineimap is great, thanks.
2006-10-17 20:55:03 +01:00
John Goerzen
d04e899368 Re-documented restoreatime in offlineimap.conf 2006-09-06 02:35:43 +01:00
John Goerzen
89e530ff6e New restoreatime patch from Ben Kibbey
From: Ben Kibbey
Subject: Re: Removed restoratime from OfflineIMAP

On Wed, May 03, 2006 at 10:08:35PM -0500, John Goerzen wrote:
> Hi Ben,
> 
> Thanks for your restoreatime patch.
> 
> However, I have received this bug report:
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=365933
> 
> After looking at the problem, here's what's going on.
> 
> The person is using IMAP as the local repository as well.
> 
> You really need to move the atime save and restore code from accounts.py
> into the repository/Maildir.py.  Then, for any new call you add to the
> Maildir repository (that will be called from outside Maildir.py), you
> need to add a corresponding default function to repository/Base.py, and
> also make sure that on folders (such as IMAP) where atime restoration
> makes no sense, no error is generated.
> 
> Let me know if that doesn't make sense to you.  If you get it fixed, I'd
> be happy to re-apply it to a future version of OfflineIMAP.
> 
> -- John Goerzen
> 

Attached is a new diff that should work though not really tested
(v4.0.14). In repository/Base.py restore_atime() will call
self.restore_folder_atimes() only if the folder type is Maildir. Let me
know if it has any more problems.
2006-09-06 02:33:07 +01:00
John Goerzen
8f9f59dd4d Merge changelog 2006-10-13 07:19:32 +01:00
John Goerzen
20496f241b Updated changelog 2006-05-31 06:06:37 +01:00
John Goerzen
e51a22b083 Fixed off-by-one comment in offlineimap.conf 2006-05-31 06:05:15 +01:00
John Goerzen
9ad972a567 Resolve changelog conflict 2006-08-26 00:54:46 +01:00
John Goerzen
d445cef8c4 Update changelog 2006-08-22 02:18:07 +01:00
John Goerzen
9d7df0e21a Fix up date parsing to use message date if no rtime is available 2006-08-22 02:13:39 +01:00
John Goerzen
03488ba81b Sync INTERNALDATE <-> mtime
The attached patch adds syncing the INTERNALDATE of IMAP folders with
the mtime of messages in maildir folders.
I want this to happen, because I'm running a dovecot over the maildirs
synced by offlineimap, and that uses the mtime as the INTERNALDATE.
When using mutt to view messages I generally sort based on the received
date, which for IMAP folders is the INTERNALDATE.

Since this is the first real coding I've done in Python the patch may
need to be cleaned up some, but it's working pretty well for me.  I've
added new messages to each side, and the received date has been
preserved going both ways.
2006-08-22 02:09:36 +01:00
John Goerzen
e4db4200a2 Noted off-by-one fix 2006-08-12 05:18:07 +01:00
John Goerzen
132ec6550d Update changelog for 4.0.14 2006-08-12 05:17:10 +01:00
John Goerzen
39a18fef60 Update FSF address 2006-08-12 05:15:55 +01:00
John Goerzen
94264c0fb3 TAG DEBIAN_offlineimap_4.0.13-0.1 2006-08-12 05:06:24 +01:00
John Goerzen
53490772c7 Apply NMU 4.0.13-0.1 2006-08-12 05:05:39 +01:00
Adam Spiers
075f8d6e14 force prefix to /usr since SUSE's distutils seems to default to /usr/local 2006-05-16 19:13:18 +01:00
Adam Spiers
5fc0e1ae42 helpful comments 2006-05-16 04:40:23 +01:00
Adam Spiers
2b9d6f9fdc update spec file 2006-05-16 04:32:20 +01:00
Adam Spiers
b39845c488 stop UID FETCH 0 errors 2006-05-16 04:31:44 +01:00
Adam Spiers
2e52bcdafe failure to obtain uid indicated by savemessage_searchforheader return value <= 0, not ValueError 2006-05-16 04:30:48 +01:00
Adam Spiers
720511f3f1 add missing ) 2006-05-16 04:27:57 +01:00
Adam Spiers
f2d4c668d5 return 0 rather than raise exception to indicate that message was saved with unknown UID 2006-05-16 03:34:46 +01:00
Adam Spiers
f11a49f263 make savemessage_searchforheader more robust 2006-05-15 03:51:12 +01:00
Adam Spiers
ab8c9c8d40 use install --root for buildroot not --prefix 2006-05-15 03:15:23 +01:00
Adam Spiers
8642a73caa add .spec file and Makefile rule for building an rpm 2006-05-15 02:59:52 +01:00
John Goerzen
8064ee26bd Prepping 4.0.13 2006-05-04 18:37:20 +01:00
John Goerzen
5a6b2a1ebd Revert restoreatime patch 2006-05-04 09:05:46 +01:00
John Goerzen
91d7ecfc68 TAG DEBIAN_offlineimap_4.0.12 2006-05-01 20:56:11 +01:00
John Goerzen
1672ad9186 Update docs 2006-05-01 20:47:59 +01:00
John Goerzen
c0d031e760 Remove parens for SEARCH command
Patch from Adam Spiers

Reported that parens were causing trouble for Groupwise IMAP server
2006-05-01 20:40:55 +01:00
John Goerzen
7c86482b72 Noted new patch in changelog 2006-03-02 00:15:45 +01:00