]> khamidou — GitHub mirrors - imapclient.git/log
imapclient.git
12 years agoAdd support for STARTTLS for Python 2.6+
SpotlightKid [Fri, 5 Sep 2014 15:30:52 +0000 (17:30 +0200)]
Add support for STARTTLS for Python 2.6+

11 years agobumped version to 1.0.0-alpha
Menno Smits [Mon, 12 Jan 2015 21:27:11 +0000 (10:27 +1300)]
bumped version to 1.0.0-alpha

11 years agomerged tags from stable
Menno Smits [Mon, 12 Jan 2015 21:26:35 +0000 (10:26 +1300)]
merged tags from stable

11 years agoAdded tag 0.12 for changeset 10c1e06ec8f2
Menno Smits [Mon, 12 Jan 2015 11:36:53 +0000 (00:36 +1300)]
Added tag 0.12 for changeset 10c1e06ec8f2

--HG--
branch : stable

11 years agoMerged 0.12 changes to stable 0.12
Menno Smits [Mon, 12 Jan 2015 11:36:32 +0000 (00:36 +1300)]
Merged 0.12 changes to stable

--HG--
branch : stable

11 years agoversion bump for 0.12
Menno Smits [Mon, 12 Jan 2015 11:35:51 +0000 (00:35 +1300)]
version bump for 0.12

11 years agoUpdated docs to reflect Python 3.4 support.
Menno Smits [Mon, 12 Jan 2015 11:31:33 +0000 (00:31 +1300)]
Updated docs to reflect Python 3.4 support.

11 years agoMoved BodyData to response_types module
Menno Smits [Mon, 12 Jan 2015 11:05:00 +0000 (00:05 +1300)]
Moved BodyData to response_types module

11 years agoNEWS update for livetest/interact OAUTH2 fix
Menno Smits [Mon, 12 Jan 2015 11:00:09 +0000 (00:00 +1300)]
NEWS update for livetest/interact OAUTH2 fix

11 years agoFixed livetest/interact OAUTH handling under Python 3
Menno Smits [Mon, 12 Jan 2015 10:59:37 +0000 (23:59 +1300)]
Fixed livetest/interact OAUTH handling under Python 3

Fixes #130.

11 years agoNEWS and THANKS updates for OAUTH2 work.
Menno Smits [Mon, 12 Jan 2015 10:39:06 +0000 (23:39 +1300)]
NEWS and THANKS updates for OAUTH2 work.

11 years agoCleaned up OAUTH2 auth string generation
Menno Smits [Mon, 12 Jan 2015 10:34:55 +0000 (23:34 +1300)]
Cleaned up OAUTH2 auth string generation

11 years agoMerged Phil Peterson's OAUTH2 changes
Menno Smits [Mon, 12 Jan 2015 09:59:16 +0000 (22:59 +1300)]
Merged Phil Peterson's OAUTH2 changes

11 years agoAdd an optional 'vendor' param to the XOAUTH2 payload, as Yahoo now requires
Phil Peterson [Fri, 9 Jan 2015 01:51:37 +0000 (17:51 -0800)]
Add an optional 'vendor' param to the XOAUTH2 payload, as Yahoo now requires

11 years agoMake a MODSEQ returned as parts of a SEARCH response available to the caller
Menno Smits [Fri, 2 Jan 2015 12:16:15 +0000 (01:16 +1300)]
Make a MODSEQ returned as parts of a SEARCH response available to the caller

11 years agoFix TypeError when SEARCH response includes non-integer data
Menno Smits [Fri, 2 Jan 2015 10:46:15 +0000 (23:46 +1300)]
Fix TypeError when SEARCH response includes non-integer data

This can happen when a MODSEQ search criteria is used. This fixes #132
but it would be even better if the MODSEQ value was returned.

11 years agoFix comment formatting
Menno Smits [Fri, 2 Jan 2015 10:41:54 +0000 (23:41 +1300)]
Fix comment formatting

11 years agoRemoved now-unused warnings import
Menno Smits [Fri, 2 Jan 2015 10:30:59 +0000 (23:30 +1300)]
Removed now-unused warnings import

11 years agoRemoved the deprecated get_folder_delimiter method
Menno Smits [Tue, 30 Dec 2014 12:40:44 +0000 (01:40 +1300)]
Removed the deprecated get_folder_delimiter method

Closes #67.

11 years agoUpdated docs to reflect unicode changes
Menno Smits [Tue, 30 Dec 2014 12:20:30 +0000 (01:20 +1300)]
Updated docs to reflect unicode changes

11 years agoUpdated NEWS regarding unicode fixes and __init__ kwarg change
Menno Smits [Tue, 30 Dec 2014 11:23:43 +0000 (00:23 +1300)]
Updated NEWS regarding unicode fixes and __init__ kwarg change

11 years agoMerged big unicode handling fix!
Menno Smits [Tue, 30 Dec 2014 09:46:58 +0000 (22:46 +1300)]
Merged big unicode handling fix!

11 years agoFinish docstring from imap_utf7.decode
Menno Smits [Tue, 30 Dec 2014 09:31:13 +0000 (22:31 +1300)]
Finish docstring from imap_utf7.decode

11 years agoClean up _quote slightly
Menno Smits [Tue, 30 Dec 2014 09:30:50 +0000 (22:30 +1300)]
Clean up _quote slightly

11 years agoAdded namespace test for when folder_encode is off
Menno Smits [Tue, 30 Dec 2014 09:24:56 +0000 (22:24 +1300)]
Added namespace test for when folder_encode is off

11 years agoParameterize the SASL mechanism for OAuth2 login so it works for Yahoo (OAUTH2) as...
Phil Peterson [Mon, 15 Dec 2014 17:27:02 +0000 (09:27 -0800)]
Parameterize the SASL mechanism for OAuth2 login so it works for Yahoo (OAUTH2) as well as Gmail (XOAUTH2)

11 years agoIgnore more stuff that gets installed as test deps
Menno Smits [Wed, 10 Dec 2014 12:21:02 +0000 (01:21 +1300)]
Ignore more stuff that gets installed as test deps

11 years agoInclude unittest2 in "tests_require" when running on Python 2.6 or earlier
Menno Smits [Wed, 10 Dec 2014 12:18:55 +0000 (01:18 +1300)]
Include unittest2 in "tests_require" when running on Python 2.6 or earlier

...removing the need to add the dependency in tox.ini.

11 years agoHack to fix unit test discovery on Python 2.6
Menno Smits [Wed, 10 Dec 2014 12:04:05 +0000 (01:04 +1300)]
Hack to fix unit test discovery on Python 2.6

11 years agoCorrected Gmail label unit tests
Menno Smits [Wed, 10 Dec 2014 11:42:21 +0000 (00:42 +1300)]
Corrected Gmail label unit tests

Now matches actual behaviour.

11 years agomessages_to_str renamed to join_message_ids
Menno Smits [Wed, 10 Dec 2014 11:22:06 +0000 (00:22 +1300)]
messages_to_str renamed to join_message_ids

11 years agoFixed getacl live test under Python 3
Menno Smits [Wed, 10 Dec 2014 11:12:03 +0000 (00:12 +1300)]
Fixed getacl live test under Python 3

11 years agoFixed BODYSTRUCTURE live test
Menno Smits [Wed, 10 Dec 2014 11:08:07 +0000 (00:08 +1300)]
Fixed BODYSTRUCTURE live test

The logic for recursing through the BODYSTRUCTURE response wasn't
quite right causing failures for Gmail and Fastmail under Python 3.

12 years agoFixed some Gmail livetest failures.
Menno Smits [Wed, 19 Nov 2014 11:40:07 +0000 (00:40 +1300)]
Fixed some Gmail livetest failures.

12 years agoRemoved from_bytes() and all calls to it
Menno Smits [Tue, 4 Nov 2014 10:47:05 +0000 (23:47 +1300)]
Removed from_bytes() and all calls to it

Also fixed up some documentation.

12 years agomerge
Menno Smits [Tue, 4 Nov 2014 10:33:16 +0000 (23:33 +1300)]
merge

12 years agoLive tests now passing for Python 2 and 3
Menno Smits [Tue, 4 Nov 2014 10:31:51 +0000 (23:31 +1300)]
Live tests now passing for Python 2 and 3

(at least against Dovecot)

12 years agoExpect a bytes response when interacting with flags
Menno Smits [Tue, 4 Nov 2014 10:30:15 +0000 (23:30 +1300)]
Expect a bytes response when interacting with flags

12 years agoExpect a bytes response when interacting with flags
Menno Smits [Tue, 4 Nov 2014 10:23:36 +0000 (23:23 +1300)]
Expect a bytes response when interacting with flags

12 years agoNormalise untagged responses before examining
Menno Smits [Tue, 4 Nov 2014 10:14:40 +0000 (23:14 +1300)]
Normalise untagged responses before examining

On Python 2 imaplib returns the keys as strings but under Python 3
they're unicode :(

12 years agoUse unicode for flag and criteria values
Menno Smits [Tue, 4 Nov 2014 09:48:36 +0000 (22:48 +1300)]
Use unicode for flag and criteria values

imaplib assumes these will be passed as unicode and does the wrong
thing with these if given as bytes (its checks for parens fails).

12 years agoGet folder livetests working on Python 3
Menno Smits [Thu, 16 Oct 2014 21:21:19 +0000 (22:21 +0100)]
Get folder livetests working on Python 3

12 years agomerged stable
Menno Smits [Thu, 4 Sep 2014 12:24:31 +0000 (00:24 +1200)]
merged stable

12 years agoAllow unit test running from setup.py to work on Python 3.4
Menno Smits [Thu, 4 Sep 2014 12:21:32 +0000 (00:21 +1200)]
Allow unit test running from setup.py to work on Python 3.4

--HG--
branch : stable

12 years agomerged stable
Menno Smits [Thu, 4 Sep 2014 11:46:13 +0000 (23:46 +1200)]
merged stable

12 years agoAdded Chris Arndt to THANKS
Menno Smits [Thu, 4 Sep 2014 10:57:49 +0000 (22:57 +1200)]
Added Chris Arndt to THANKS

12 years agominor tweak to kwarg passthrough tests
Menno Smits [Thu, 4 Sep 2014 10:54:27 +0000 (22:54 +1200)]
minor tweak to kwarg passthrough tests

12 years agoTweaked the documentation for passthrough keyword arguments
Menno Smits [Thu, 4 Sep 2014 10:47:13 +0000 (22:47 +1200)]
Tweaked the documentation for passthrough keyword arguments

12 years agoAdd tests and documentation updates for pull request #8
SpotlightKid [Wed, 3 Sep 2014 21:54:49 +0000 (23:54 +0200)]
Add tests and documentation updates for pull request #8

12 years agoPass additional kwargs from `IMAPClient` init method to `_create_IMAP4` method and...
SpotlightKid [Fri, 22 Aug 2014 16:34:25 +0000 (18:34 +0200)]
Pass additional kwargs from `IMAPClient` init method to `_create_IMAP4` method and from there to `imaplib.IMAP4` or imaplib.IMAP4_SSL` constructor to allow usage of SSL context and/or key and certificate file.

12 years agoversion bump to 0.12.0-alpha
Menno Smits [Wed, 13 Aug 2014 11:25:15 +0000 (23:25 +1200)]
version bump to 0.12.0-alpha

12 years agoresync with trunk
Menno Smits [Wed, 13 Aug 2014 11:12:18 +0000 (23:12 +1200)]
resync with trunk

12 years agoEasy livetest changes to get them working with recent unicode changes
Menno Smits [Wed, 13 Aug 2014 11:04:12 +0000 (23:04 +1200)]
Easy livetest changes to get them working with recent unicode changes

Things are looking mostly ok with Python 2. Python 3 needs some work.

12 years agoClose folders before cleanup in live tests
Menno Smits [Wed, 13 Aug 2014 11:02:16 +0000 (23:02 +1200)]
Close folders before cleanup in live tests

Fixes #131.

--HG--
branch : stable

12 years agounicode work: All unit tests pass again under all supported Python versions
Menno Smits [Sun, 3 Aug 2014 13:01:26 +0000 (01:01 +1200)]
unicode work: All unit tests pass again under all supported Python versions

Still plenty of clean up and testing to do (see XXX and TODO).

12 years agoResponse parser now works in terms of bytes
Menno Smits [Thu, 24 Jul 2014 10:42:32 +0000 (22:42 +1200)]
Response parser now works in terms of bytes

Higher level implementation and test around the IMAPClient class still
need updating.

12 years agoLexer now works and returns bytes instead of strings
Menno Smits [Wed, 9 Jul 2014 13:53:39 +0000 (23:53 +1000)]
Lexer now works and returns bytes instead of strings

This change works for all supported versions of Python. Next stop: the
response parser.

12 years agoUpgraded six module to 1.7.3
Menno Smits [Wed, 9 Jul 2014 13:43:17 +0000 (23:43 +1000)]
Upgraded six module to 1.7.3

12 years agoDoc fixes and cleaned up Lexer initialisation
Menno Smits [Mon, 30 Jun 2014 12:06:42 +0000 (00:06 +1200)]
Doc fixes and cleaned up Lexer initialisation

12 years agoFix lexer bug with handling of invalid escaping
Menno Smits [Mon, 30 Jun 2014 12:01:44 +0000 (00:01 +1200)]
Fix lexer bug with handling of invalid escaping

12 years agoAdd the missing tests for the lexer
Menno Smits [Mon, 30 Jun 2014 12:00:42 +0000 (00:00 +1200)]
Add the missing tests for the lexer

In preparation for upcoming work related to change the response
parser's unicode handling behaviour.

12 years agoAdded tag 0.11 for changeset 74d56cfb3241
Menno Smits [Fri, 9 May 2014 10:31:53 +0000 (22:31 +1200)]
Added tag 0.11 for changeset 74d56cfb3241

--HG--
branch : stable

12 years agoRemoved tag 0.11 0.11
Menno Smits [Fri, 9 May 2014 10:31:49 +0000 (22:31 +1200)]
Removed tag 0.11

--HG--
branch : stable

12 years agoDon't blow up when ENVELOPE responses have no date field
Menno Smits [Fri, 9 May 2014 10:31:20 +0000 (22:31 +1200)]
Don't blow up when ENVELOPE responses have no date field

--HG--
branch : stable

12 years agoAdded tag 0.11 for changeset 4c11ffc3c77b
Menno Smits [Fri, 9 May 2014 05:35:41 +0000 (17:35 +1200)]
Added tag 0.11 for changeset 4c11ffc3c77b

--HG--
branch : stable

12 years agoMerged from default
Menno Smits [Fri, 9 May 2014 05:34:47 +0000 (17:34 +1200)]
Merged from default

--HG--
branch : stable

12 years agoVersion bump for 0.11
Menno Smits [Fri, 9 May 2014 05:34:07 +0000 (17:34 +1200)]
Version bump for 0.11

12 years agoFinal documentation updates before 0.11
Menno Smits [Thu, 8 May 2014 11:49:57 +0000 (23:49 +1200)]
Final documentation updates before 0.11

12 years agoRemoved duplicate import
Menno Smits [Thu, 8 May 2014 11:49:45 +0000 (23:49 +1200)]
Removed duplicate import

12 years agoIgnore test dependency artifacts
Menno Smits [Thu, 8 May 2014 08:15:29 +0000 (20:15 +1200)]
Ignore test dependency artifacts

12 years agoCopyright date update for 2014
Menno Smits [Wed, 7 May 2014 12:24:28 +0000 (00:24 +1200)]
Copyright date update for 2014

12 years agoReordered NEWS for 0.11
Menno Smits [Wed, 7 May 2014 12:16:08 +0000 (00:16 +1200)]
Reordered NEWS for 0.11

12 years agoMerged from trunk
Menno Smits [Wed, 7 May 2014 12:08:51 +0000 (00:08 +1200)]
Merged from trunk

12 years agoCleaned up documentation and tests relating to ENVELOPE changes (#40)
Menno Smits [Wed, 7 May 2014 12:04:52 +0000 (00:04 +1200)]
Cleaned up documentation and tests relating to ENVELOPE changes (#40)

12 years agoNEW update for BODYSTRUCTURE fix
Menno Smits [Sat, 3 May 2014 23:52:07 +0000 (16:52 -0700)]
NEW update for BODYSTRUCTURE fix

12 years agoUpdated fetch livetest to match recent ENVELOPE processing changes
Menno Smits [Sat, 3 May 2014 23:46:14 +0000 (16:46 -0700)]
Updated fetch livetest to match recent ENVELOPE processing changes

12 years agoCorrectly handle nested BODYSTRUCTURE responses
Menno Smits [Wed, 23 Apr 2014 12:50:17 +0000 (00:50 +1200)]
Correctly handle nested BODYSTRUCTURE responses

Nested BodyData elements are now generated for each subpart. This
means that when multipart sections exist in other multipart sections,
a list of subparts is now (correctly) generated just like what was
already done for the outmost parts.

Thanks to Brandon Rhodes for reporting this bug.

12 years agoClose folders before deleting
Menno Smits [Wed, 23 Apr 2014 12:43:36 +0000 (00:43 +1200)]
Close folders before deleting

Recent Dovecot versions will disconnect clients if they delete the
currently selected folder.

13 years agoFinalised ENVELOPE data parsing tidy up and tests
Menno Smits [Sun, 17 Nov 2013 22:17:04 +0000 (22:17 +0000)]
Finalised ENVELOPE data parsing tidy up and tests

13 years agoExtracted out timestamp parsing to new module
Menno Smits [Sun, 17 Nov 2013 21:58:13 +0000 (21:58 +0000)]
Extracted out timestamp parsing to new module

13 years agoCreated an "External Projects" section
Menno Smits [Sat, 9 Nov 2013 23:25:36 +0000 (23:25 +0000)]
Created an "External Projects" section

13 years agoAdded Naveen Nathan to THANKS
Menno Smits [Sat, 9 Nov 2013 23:20:22 +0000 (23:20 +0000)]
Added Naveen Nathan to THANKS

13 years agotrying to add tests for ENVELOPE
Naveen Nathan [Fri, 25 Oct 2013 12:46:48 +0000 (23:46 +1100)]
trying to add tests for ENVELOPE

13 years agostub for testing resposne parser
Naveen Nathan [Fri, 25 Oct 2013 00:14:52 +0000 (11:14 +1100)]
stub for testing resposne parser

13 years agoexplicit import of Address, Envelope and fixed the tuple identifiers
Naveen Nathan [Fri, 25 Oct 2013 00:14:39 +0000 (11:14 +1100)]
explicit import of Address, Envelope and fixed the tuple identifiers

13 years agoadded string representation for Address()
Naveen Nathan [Thu, 24 Oct 2013 23:23:54 +0000 (10:23 +1100)]
added string representation for Address()

13 years agoupdated documentation for response types
Naveen Nathan [Thu, 24 Oct 2013 15:07:28 +0000 (02:07 +1100)]
updated documentation for response types

13 years agoTo remain backwards compatible, Envelope() structures hould return None for empty...
Naveen Nathan [Thu, 24 Oct 2013 15:05:50 +0000 (02:05 +1100)]
To remain backwards compatible, Envelope() structures hould return None for empty sequence of address.

13 years agoFetch request for ENVELOPE returns an Envelope(...) namedtuple.
Naveen Nathan [Thu, 24 Oct 2013 14:47:40 +0000 (01:47 +1100)]
Fetch request for ENVELOPE returns an Envelope(...) namedtuple.
Backwards compatibility remains with the previous parsed response.

13 years agoUpdated documentation for the IMAP response type structures.
Naveen Nathan [Thu, 24 Oct 2013 14:40:50 +0000 (01:40 +1100)]
Updated documentation for the IMAP response type structures.

13 years agoAdded Address(...) and Envelope(...) namedtuples to mimic Ruby Net::IMAP::{Address...
Naveen Nathan [Thu, 24 Oct 2013 14:02:23 +0000 (01:02 +1100)]
Added Address(...) and Envelope(...) namedtuples to mimic Ruby Net::IMAP::{Address,Envelope} struct types

13 years agoMention in xlist_folders docstring that XLIST is deprecated
equaeghe [Sun, 13 Oct 2013 15:36:21 +0000 (17:36 +0200)]
Mention in xlist_folders docstring that XLIST is deprecated

13 years agoMade XLIST test more robust
Menno Smits [Tue, 24 Sep 2013 22:20:14 +0000 (23:20 +0100)]
Made XLIST test more robust

Don't assume that the first item returned will be for the inbox.

13 years agoFixed Python 3 incompatibility in new gmail_search test
Menno Smits [Tue, 24 Sep 2013 22:16:07 +0000 (23:16 +0100)]
Fixed Python 3 incompatibility in new gmail_search test

13 years agoNEW, THANKS and version updates
Menno Smits [Tue, 24 Sep 2013 22:02:18 +0000 (23:02 +0100)]
NEW, THANKS and version updates

13 years agoAdded livetest for Gmail searching
Menno Smits [Sun, 22 Sep 2013 23:05:55 +0000 (00:05 +0100)]
Added livetest for Gmail searching

13 years agomerged from stable
Menno Smits [Sun, 22 Sep 2013 22:59:00 +0000 (23:59 +0100)]
merged from stable

13 years agoRefactored search() and gmail_search() to share a common implementation
Menno Smits [Sun, 22 Sep 2013 22:39:21 +0000 (23:39 +0100)]
Refactored search() and gmail_search() to share a common implementation

13 years agoRenamed gm_search to gmail_seach and added unit tests
Menno Smits [Sun, 22 Sep 2013 22:30:51 +0000 (23:30 +0100)]
Renamed gm_search to gmail_seach and added unit tests

13 years agoAdded missing unit tests for search()
Menno Smits [Sun, 22 Sep 2013 22:11:29 +0000 (23:11 +0100)]
Added missing unit tests for search()