]> khamidou — GitHub mirrors - imapclient.git/log
imapclient.git
11 years agoCleaned up list_folders docs
Menno Smits [Tue, 30 Jun 2015 01:27:43 +0000 (13:27 +1200)]
Cleaned up list_folders docs

Fixes #146.

11 years agoMake it clear that gmail_search only works with Gmail
Menno Smits [Tue, 30 Jun 2015 01:10:24 +0000 (13:10 +1200)]
Make it clear that gmail_search only works with Gmail

Fixes #151.

11 years agoMoved datetime_to_imap to datetime_util.datetime_to_INTERNALDATE
Menno Smits [Mon, 29 Jun 2015 23:41:00 +0000 (11:41 +1200)]
Moved datetime_to_imap to datetime_util.datetime_to_INTERNALDATE

This fixes #126.

11 years agoUse parse_to_datetime for INTERNALDATE parsing
Menno Smits [Mon, 29 Jun 2015 23:27:02 +0000 (11:27 +1200)]
Use parse_to_datetime for INTERNALDATE parsing

The previous INTERNALDATE parsing code was horrible. The INTERNALDATE
test cases have been simplified because parse_to_datetime is already
tested elsewhere.

This is part of the fix for issue #126.

11 years agoRenamed _normalise to _munge to avoid overlap with the other meaning of "normalise...
Menno Smits [Mon, 29 Jun 2015 23:04:14 +0000 (11:04 +1200)]
Renamed _normalise to _munge to avoid overlap with the other meaning of "normalise" here

11 years agoMention date parsing fixes in NEWS
Menno Smits [Mon, 29 Jun 2015 22:57:22 +0000 (10:57 +1200)]
Mention date parsing fixes in NEWS

11 years agoSupport dot as the time separator in timestamp strings
Menno Smits [Mon, 29 Jun 2015 22:52:02 +0000 (10:52 +1200)]
Support dot as the time separator in timestamp strings

This is unconventional but has been seen in the wild. Fixes #154.

11 years agoDon't traceback when unparseable dates are seen in ENVELOPE
Menno Smits [Mon, 29 Jun 2015 22:14:55 +0000 (10:14 +1200)]
Don't traceback when unparseable dates are seen in ENVELOPE

Part of the fix for issue #154.

11 years agoDoc tweaks
Menno Smits [Tue, 2 Jun 2015 12:37:47 +0000 (00:37 +1200)]
Doc tweaks

11 years agoThere's going to be a 0.13 release
Menno Smits [Tue, 2 Jun 2015 12:36:58 +0000 (00:36 +1200)]
There's going to be a 0.13 release

11 years agoFixed a syntax error in the id_() docstring and extended slightly
Menno Smits [Tue, 2 Jun 2015 12:35:03 +0000 (00:35 +1200)]
Fixed a syntax error in the id_() docstring and extended slightly

11 years agoThank yous for ID support
Menno Smits [Tue, 2 Jun 2015 12:29:59 +0000 (00:29 +1200)]
Thank yous for ID support

11 years agoFix ID tests to work under Python 3
Menno Smits [Tue, 2 Jun 2015 12:27:33 +0000 (00:27 +1200)]
Fix ID tests to work under Python 3

11 years agoAdd support for the ID command (RFC2971)
Eben Freeman [Tue, 2 Jun 2015 12:24:07 +0000 (00:24 +1200)]
Add support for the ID command (RFC2971)

11 years agoignore the .eggs directory
Menno Smits [Tue, 2 Jun 2015 12:10:18 +0000 (00:10 +1200)]
ignore the .eggs directory

11 years agodoc updates for NIL handling fixes
Menno Smits [Tue, 7 Apr 2015 15:16:50 +0000 (00:16 +0900)]
doc updates for NIL handling fixes

11 years agoExtended and cleaned up ENVELOPE tests
Menno Smits [Tue, 7 Apr 2015 15:16:29 +0000 (00:16 +0900)]
Extended and cleaned up ENVELOPE tests

11 years agoRegression: Fix search when None is returned
Thomas Steinacher [Mon, 6 Apr 2015 14:40:44 +0000 (16:40 +0200)]
Regression: Fix search when None is returned

11 years agoFix exception with NIL address in envelope
Thomas Steinacher [Mon, 6 Apr 2015 12:03:49 +0000 (14:03 +0200)]
Fix exception with NIL address in envelope

11 years agoUpdated information about the home page and blog.
Menno Smits [Thu, 5 Mar 2015 02:06:08 +0000 (15:06 +1300)]
Updated information about the home page and blog.

11 years agoUpdated README given that imapclient.freshfoo.com is going to be hosted at bitbucket
Menno Smits [Sat, 28 Feb 2015 10:53:16 +0000 (23:53 +1300)]
Updated README given that imapclient.freshfoo.com is going to be hosted at bitbucket

11 years agoMention the IMAP protocol wiki in the docs
Menno Smits [Sat, 28 Feb 2015 10:35:37 +0000 (23:35 +1300)]
Mention the IMAP protocol wiki in the docs

11 years agoreformat urls
Menno Smits [Thu, 29 Jan 2015 12:14:29 +0000 (01:14 +1300)]
reformat urls

11 years agoNilas updates
Menno Smits [Thu, 29 Jan 2015 03:44:32 +0000 (16:44 +1300)]
Nilas updates

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.