]>
khamidou — GitHub mirrors - imapclient.git/log
Menno Smits [Mon, 12 Jan 2015 09:59:16 +0000 (22:59 +1300)]
Merged Phil Peterson's OAUTH2 changes
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
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
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.
Menno Smits [Fri, 2 Jan 2015 10:41:54 +0000 (23:41 +1300)]
Fix comment formatting
Menno Smits [Fri, 2 Jan 2015 10:30:59 +0000 (23:30 +1300)]
Removed now-unused warnings import
Menno Smits [Tue, 30 Dec 2014 12:40:44 +0000 (01:40 +1300)]
Removed the deprecated get_folder_delimiter method
Closes #67.
Menno Smits [Tue, 30 Dec 2014 12:20:30 +0000 (01:20 +1300)]
Updated docs to reflect unicode changes
Menno Smits [Tue, 30 Dec 2014 11:23:43 +0000 (00:23 +1300)]
Updated NEWS regarding unicode fixes and __init__ kwarg change
Menno Smits [Tue, 30 Dec 2014 09:46:58 +0000 (22:46 +1300)]
Merged big unicode handling fix!
Menno Smits [Tue, 30 Dec 2014 09:31:13 +0000 (22:31 +1300)]
Finish docstring from imap_utf7.decode
Menno Smits [Tue, 30 Dec 2014 09:30:50 +0000 (22:30 +1300)]
Clean up _quote slightly
Menno Smits [Tue, 30 Dec 2014 09:24:56 +0000 (22:24 +1300)]
Added namespace test for when folder_encode is off
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)
Menno Smits [Wed, 10 Dec 2014 12:21:02 +0000 (01:21 +1300)]
Ignore more stuff that gets installed as test deps
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.
Menno Smits [Wed, 10 Dec 2014 12:04:05 +0000 (01:04 +1300)]
Hack to fix unit test discovery on Python 2.6
Menno Smits [Wed, 10 Dec 2014 11:42:21 +0000 (00:42 +1300)]
Corrected Gmail label unit tests
Now matches actual behaviour.
Menno Smits [Wed, 10 Dec 2014 11:22:06 +0000 (00:22 +1300)]
messages_to_str renamed to join_message_ids
Menno Smits [Wed, 10 Dec 2014 11:12:03 +0000 (00:12 +1300)]
Fixed getacl live test under Python 3
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.
Menno Smits [Wed, 19 Nov 2014 11:40:07 +0000 (00:40 +1300)]
Fixed some Gmail livetest failures.
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.
Menno Smits [Tue, 4 Nov 2014 10:33:16 +0000 (23:33 +1300)]
merge
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)
Menno Smits [Tue, 4 Nov 2014 10:30:15 +0000 (23:30 +1300)]
Expect 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
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 :(
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).
Menno Smits [Thu, 16 Oct 2014 21:21:19 +0000 (22:21 +0100)]
Get folder livetests working on Python 3
Menno Smits [Thu, 4 Sep 2014 12:24:31 +0000 (00:24 +1200)]
merged stable
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
Menno Smits [Thu, 4 Sep 2014 11:46:13 +0000 (23:46 +1200)]
merged stable
Menno Smits [Thu, 4 Sep 2014 10:57:49 +0000 (22:57 +1200)]
Added Chris Arndt to THANKS
Menno Smits [Thu, 4 Sep 2014 10:54:27 +0000 (22:54 +1200)]
minor tweak to kwarg passthrough tests
Menno Smits [Thu, 4 Sep 2014 10:47:13 +0000 (22:47 +1200)]
Tweaked the documentation for passthrough keyword arguments
SpotlightKid [Wed, 3 Sep 2014 21:54:49 +0000 (23:54 +0200)]
Add tests and documentation updates for pull request #8
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.
Menno Smits [Wed, 13 Aug 2014 11:25:15 +0000 (23:25 +1200)]
version bump to 0.12.0-alpha
Menno Smits [Wed, 13 Aug 2014 11:12:18 +0000 (23:12 +1200)]
resync with trunk
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.
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
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).
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.
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.
Menno Smits [Wed, 9 Jul 2014 13:43:17 +0000 (23:43 +1000)]
Upgraded six module to 1.7.3
Menno Smits [Mon, 30 Jun 2014 12:06:42 +0000 (00:06 +1200)]
Doc fixes and cleaned up Lexer initialisation
Menno Smits [Mon, 30 Jun 2014 12:01:44 +0000 (00:01 +1200)]
Fix lexer bug with handling of invalid escaping
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.
Menno Smits [Fri, 9 May 2014 10:31:53 +0000 (22:31 +1200)]
Added tag 0.11 for changeset
74d56cfb3241
--HG--
branch : stable
Menno Smits [Fri, 9 May 2014 10:31:49 +0000 (22:31 +1200)]
Removed tag 0.11
--HG--
branch : stable
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
Menno Smits [Fri, 9 May 2014 05:35:41 +0000 (17:35 +1200)]
Added tag 0.11 for changeset
4c11ffc3c77b
--HG--
branch : stable
Menno Smits [Fri, 9 May 2014 05:34:47 +0000 (17:34 +1200)]
Merged from default
--HG--
branch : stable
Menno Smits [Fri, 9 May 2014 05:34:07 +0000 (17:34 +1200)]
Version bump for 0.11
Menno Smits [Thu, 8 May 2014 11:49:57 +0000 (23:49 +1200)]
Final documentation updates before 0.11
Menno Smits [Thu, 8 May 2014 11:49:45 +0000 (23:49 +1200)]
Removed duplicate import
Menno Smits [Thu, 8 May 2014 08:15:29 +0000 (20:15 +1200)]
Ignore test dependency artifacts
Menno Smits [Wed, 7 May 2014 12:24:28 +0000 (00:24 +1200)]
Copyright date update for 2014
Menno Smits [Wed, 7 May 2014 12:16:08 +0000 (00:16 +1200)]
Reordered NEWS for 0.11
Menno Smits [Wed, 7 May 2014 12:08:51 +0000 (00:08 +1200)]
Merged from trunk
Menno Smits [Wed, 7 May 2014 12:04:52 +0000 (00:04 +1200)]
Cleaned up documentation and tests relating to ENVELOPE changes (#40)
Menno Smits [Sat, 3 May 2014 23:52:07 +0000 (16:52 -0700)]
NEW update for BODYSTRUCTURE fix
Menno Smits [Sat, 3 May 2014 23:46:14 +0000 (16:46 -0700)]
Updated fetch livetest to match recent ENVELOPE processing changes
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.
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.
Menno Smits [Sun, 17 Nov 2013 22:17:04 +0000 (22:17 +0000)]
Finalised ENVELOPE data parsing tidy up and tests
Menno Smits [Sun, 17 Nov 2013 21:58:13 +0000 (21:58 +0000)]
Extracted out timestamp parsing to new module
Menno Smits [Sat, 9 Nov 2013 23:25:36 +0000 (23:25 +0000)]
Created an "External Projects" section
Menno Smits [Sat, 9 Nov 2013 23:20:22 +0000 (23:20 +0000)]
Added Naveen Nathan to THANKS
Naveen Nathan [Fri, 25 Oct 2013 12:46:48 +0000 (23:46 +1100)]
trying to add tests for ENVELOPE
Naveen Nathan [Fri, 25 Oct 2013 00:14:52 +0000 (11:14 +1100)]
stub for testing resposne parser
Naveen Nathan [Fri, 25 Oct 2013 00:14:39 +0000 (11:14 +1100)]
explicit import of Address, Envelope and fixed the tuple identifiers
Naveen Nathan [Thu, 24 Oct 2013 23:23:54 +0000 (10:23 +1100)]
added string representation for Address()
Naveen Nathan [Thu, 24 Oct 2013 15:07:28 +0000 (02:07 +1100)]
updated documentation for response types
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.
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.
Naveen Nathan [Thu, 24 Oct 2013 14:40:50 +0000 (01:40 +1100)]
Updated documentation for the IMAP response type structures.
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
equaeghe [Sun, 13 Oct 2013 15:36:21 +0000 (17:36 +0200)]
Mention in xlist_folders docstring that XLIST is deprecated
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.
Menno Smits [Tue, 24 Sep 2013 22:16:07 +0000 (23:16 +0100)]
Fixed Python 3 incompatibility in new gmail_search test
Menno Smits [Tue, 24 Sep 2013 22:02:18 +0000 (23:02 +0100)]
NEW, THANKS and version updates
Menno Smits [Sun, 22 Sep 2013 23:05:55 +0000 (00:05 +0100)]
Added livetest for Gmail searching
Menno Smits [Sun, 22 Sep 2013 22:59:00 +0000 (23:59 +0100)]
merged from stable
Menno Smits [Sun, 22 Sep 2013 22:39:21 +0000 (23:39 +0100)]
Refactored search() and gmail_search() to share a common implementation
Menno Smits [Sun, 22 Sep 2013 22:30:51 +0000 (23:30 +0100)]
Renamed gm_search to gmail_seach and added unit tests
Menno Smits [Sun, 22 Sep 2013 22:11:29 +0000 (23:11 +0100)]
Added missing unit tests for search()
Menno Smits [Sun, 22 Sep 2013 21:41:43 +0000 (22:41 +0100)]
Reorganised tests in preparation for addition of search tests
Menno Smits [Sun, 22 Sep 2013 21:20:54 +0000 (22:20 +0100)]
NEW and THANKS updates for square brackets in SELECT response issue
--HG--
branch : stable
John Louis Del Rosario [Fri, 6 Sep 2013 09:37:57 +0000 (17:37 +0800)]
Add gm_search() method which leverages Gmail's search syntax using X-GM-RAW
attribute.
Menno Smits [Tue, 13 Aug 2013 23:26:36 +0000 (00:26 +0100)]
Handle square brackets in flags returned in SELECT response
Works around incorrect regex in imaplib as well as dealing with
potentially illegal characters being returned by some servers.
--HG--
branch : stable
Menno Smits [Mon, 8 Jul 2013 21:57:54 +0000 (22:57 +0100)]
Added tag 0.10.2 for changeset
64006446109d
--HG--
branch : stable
Menno Smits [Mon, 8 Jul 2013 21:57:46 +0000 (22:57 +0100)]
version bump for 0.10.2
--HG--
branch : stable
Menno Smits [Mon, 8 Jul 2013 21:57:22 +0000 (22:57 +0100)]
Added tag 0.10.2 for changeset
24bb7a2b8662
--HG--
branch : stable
Menno Smits [Mon, 8 Jul 2013 21:54:38 +0000 (22:54 +0100)]
merged from default
--HG--
branch : stable
Menno Smits [Mon, 8 Jul 2013 21:53:54 +0000 (22:53 +0100)]
Switched back to setuptools
Menno Smits [Fri, 7 Jun 2013 00:08:07 +0000 (01:08 +0100)]
merged from stable
Menno Smits [Fri, 7 Jun 2013 00:03:22 +0000 (01:03 +0100)]
Added tag 0.10.1 for changeset
549882973378
--HG--
branch : stable
Menno Smits [Fri, 7 Jun 2013 00:03:13 +0000 (01:03 +0100)]
unit test updates for Gmail labels
--HG--
branch : stable