Commit Graph

573 Commits

Author SHA1 Message Date
John Goerzen 92809a36db TAG RELEASE_offlineimap_5.99.0 2007-07-11 03:00:18 +01:00
John Goerzen 21722ac5ba TAG DEBIAN_offlineimap_5.99.0 2007-07-11 03:00:18 +01:00
John Goerzen 09d71143d7 Fix version.py importing 2007-07-10 12:57:03 +01:00
John Goerzen 84d1662482 Update changelog 2007-07-11 02:50:30 +01:00
John Goerzen 575539b628 Updating changelog 2007-07-10 11:02:08 +01:00
Florian Friesdorf 3e7899a9dc IMAP.py: fixed cannot concatenate 'str' and 'list' in assert
r[1] is a list. In case it contains more than one 'str' they are concatenated
using '. '. In processmessagesflags the join is tested, for savemessagesflags I
assume that it is also needed.
2007-07-07 04:51:02 +01:00
Florian Friesdorf ed005cbbdc UIBase config variable fix
Code is probably reached for the first time, thanks to the correct readonly
handling patch
2007-07-07 02:30:42 +01:00
John Goerzen 0afd78435e Update wording of manual 2007-07-07 04:02:04 +01:00
John Goerzen 56b63cc3b5 Documented pid file 2007-07-06 18:42:16 +01:00
John Goerzen acc597ff28 Write current PID to ~/.offlineimap/pid
fixes deb#217550
refs deb#410181
2007-07-07 01:50:43 +01:00
John Goerzen 253e0143a8 Updated changelog 2007-07-06 17:56:15 +01:00
John Goerzen fb50b87b12 Document MachineUI 2007-07-07 01:13:14 +01:00
John Goerzen a381ca3977 Re-scan list of remote folders on each sync
rather than just up-front.

fixes deb#396772
2007-07-06 17:46:29 +01:00
John Goerzen f0d48365cf Added timeouts 2007-07-06 17:37:58 +01:00
John Goerzen 4370da1dcf UNDO: Checkpointing 2007-07-05 14:49:54 +01:00
John Goerzen 7a287cef57 Checkpointing 2007-07-05 14:49:54 +01:00
John Goerzen 1d6589a3ce TAG Before UI reorg 2007-07-05 14:23:08 +01:00
John Goerzen 1af12e99a1 Tweaks to machine 2007-07-05 14:22:57 +01:00
John Goerzen c6f01fb3c8 Machine now runs 2007-07-05 14:21:33 +01:00
John Goerzen f9d01fb35e TAG Before UI rewrite 2007-07-05 13:33:57 +01:00
John Goerzen 8da3012857 Added Machine.py 2007-07-05 12:05:06 +01:00
John Goerzen 9bee28cb13 Implement connect 2007-07-05 05:04:14 +01:00
John Goerzen 8200864f25 Retabified 2007-07-04 22:00:14 +01:00
John Goerzen 4b10e30d81 Added comment 2007-07-04 19:34:02 +01:00
John Goerzen e761573ee2 TAG Working post-imaplib removal 2007-07-04 19:19:45 +01:00
John Goerzen 4867d81ca4 Correct readonly handling
Upstream imaplib now issues EXAMINE when readonly != None
offlineimap/imaplib.py's version always used SELECT
2007-07-04 19:19:06 +01:00
John Goerzen 691386b3d7 Compilation fixes 2007-07-04 19:17:27 +01:00
John Goerzen 196f35e972 Update version info 2007-07-04 19:17:14 +01:00
John Goerzen 8a104d041e Updated copyright files
Removed PSF license since we no longer distribute imaplib.py
2007-07-04 18:54:41 +01:00
John Goerzen abf9648fd8 Clean up imaplib imports 2007-07-04 18:53:48 +01:00
John Goerzen 1b9fa9ff9a Switch to imaplibutil Internaldate2Epoch 2007-07-04 18:51:57 +01:00
John Goerzen 91392b7578 Merging imaplibutil into code 2007-07-04 18:51:10 +01:00
John Goerzen d352e034cc Remove local imaplib.py 2007-07-04 18:38:02 +01:00
John Goerzen 96fd233355 Start of work pulling code out of imaplib.py 2007-07-04 18:36:33 +01:00
John Goerzen 1e90e0fd78 Remove the Tk interfaces
These were a constant source of trouble.  Tkinter likely has multiple
memory leaks that OfflineIMAP was tickling.  I never used these, so poof,
goodbye.
2007-07-04 17:57:09 +01:00
Asheesh Laroia 35e7250187 only-write-once-to-cur-or-new.patch
I have tested this and Dovecot no longer beats offlineimap
to the punch. (-:

I achieved that by keeping the renames in tmp/ until it finally does
one last rename in new/ or cur/.
2007-06-13 04:42:15 +01:00
John Goerzen 799c867a4d Removed "print af" statements from imaplib.py
they were introduced by patch "Check all resolved addresses [deb #413030]"
and were screwing up the curses display.

refs deb#413030
2007-03-28 21:38:37 +01:00
John Goerzen aca2a4458b UNDO: Added netrc support
thanks to bboissin plus offlineimap at gmail dot com
refs #14
2007-03-27 08:21:17 +01:00
John Goerzen 4f54887265 Improve filesystem flushing semantics
fsync the Maildir file, its final directory when writing a new message.

fsync the localstatus file and its final directory when writing the 
local status cache.

This should reduce duplication in the event of hardware trouble.

fixes #8

see thread at http://lists.complete.org/offlineimap@complete.org/2007/03/threads.html.gz
2007-03-28 21:23:18 +01:00
John Goerzen 4b564bd568 Added netrc support
thanks to bboissin plus offlineimap at gmail dot com
refs #14
2007-03-27 08:21:17 +01:00
John Goerzen e16596e110 doc target no longer depends on faq 2007-03-27 08:20:44 +01:00
David Favro 65a6b8aa81 Removed copyright notice; assigning copyright to John Goerzen 2007-03-16 03:45:28 +01:00
David Favro 82c215023c Removed copyright notice; assigning copyright to John Goerzen 2007-03-16 03:44:54 +01:00
David Favro b06845fc70 UID validity diagnostics improvement
* Reduced the number of parameters passed to ui.validityproblem() because they were all just method-calls to the folder object, which is already passed as the first parameter (reduction of unnecessary complexity).

* Improved the diagnostic message for an 'UID validity problem' by including the name of the repository in which the folder resides; previously it was not possible to determine from the diagnostic alone on which side the problem was.
2007-03-15 05:41:43 +01:00
David Favro 657b470d74 UID validity diagnostics improvement
* Reduced the number of parameters passed to ui.validityproblem() because they were all just method-calls to the folder object, which is already passed as the first parameter (reduction of unnecessary complexity).
2007-03-15 05:39:15 +01:00
John Goerzen 79a596be7b Don't leave preauthtunnel zombies with autorefresh
From: Peter Colberg

Hello,

using offlineimap with the preauthtunnel option to start a remote
IMAP daemon via ssh, a zombie process is left behind during the
autorefresh sleep period if not holding the connection open.

Above behaviour is a result of using os.popen2 to spawn the tunnel
process, which makes it impossible waiting for the child process
to terminate when shutting down the tunnel.

The patch included below fixes the issue by employing the Popen
class from the subprocess module, which seems to be the preferred
way to spawn processes and connect to their pipes in any case (at
least since python version 2.4.4, which fixes a memory leak in the
subprocess module).

Regards,
Peter

fixes deb#410730
2007-03-14 02:54:19 +01:00
John Goerzen 82d5d5e675 Check all resolved addresses [deb #413030]
From: Mark Brown <broonie@sirena.org.uk>
Currently offlineimap will attempt to connect to the first address
returned by addrinfo() for the remote system and will fail if that fails
even if another result would have worked.  This is particularly common
when the remote system supports both IPv4 and IPv6 - a laptop may in
some environments have no routable IPv6 connectivity so if the IPv6
address is returned first the connect will fail even though IPv4 would
have worked.

This is actually a bug in imaplib, a copy of which is included in
offlineimap.  This patch fixes the problem by looping over all the
results returned by getaddrinfo().  Unfortunately it mangles the error
reporting slightly since I couldn't work out how to raise an appropriate
exception, though given that that that was a Python backtrace there was
work to do there anyway.

Note that I have only tested the SSL case.
2007-03-08 02:59:32 +01:00
John Goerzen ca3a306ecc --help shows available UIs now
Thanks to Daniel Rall for the patch.
fixes #5
2007-01-11 10:15:06 +01:00
John Goerzen 71b82fb385 Removed todo directory from tree
Moving todo items to BTS

Refs #6.  Fixes #4.
2007-01-04 23:52:10 +01:00
John Goerzen fc26b0ceb5 Removed TODO file
Now tracking with tickets on software.complete.org

Fixes #4
2007-01-04 23:44:27 +01:00