]>
khamidou — GitHub mirrors - imapclient.git/log
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 [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
Menno Smits [Fri, 7 Jun 2013 00:02:51 +0000 (01:02 +0100)]
Added tag 0.10.1 for changeset
b1f516b3b415
--HG--
branch : stable
Menno Smits [Thu, 6 Jun 2013 23:57:00 +0000 (00:57 +0100)]
Added tag 0.10.1 for changeset
5f7069fdf972
--HG--
branch : stable
Menno Smits [Thu, 6 Jun 2013 23:56:53 +0000 (00:56 +0100)]
Version bump and NEWS update for 0.10.1
--HG--
branch : stable
Menno Smits [Thu, 6 Jun 2013 23:56:06 +0000 (00:56 +0100)]
Fixed stupid long-standing bug with the way flags and Gmail labels were extracted from STORE responses.
--HG--
branch : stable
Menno Smits [Thu, 6 Jun 2013 21:42:06 +0000 (22:42 +0100)]
Fixed more places where binary input is not normalised correctly and refactored normalisation functions
--HG--
branch : stable
Menno Smits [Thu, 6 Jun 2013 21:14:06 +0000 (22:14 +0100)]
Fixed normalise_search_criteria when critera is passed as non-unicode data
And added missing unit tests
--HG--
branch : stable
Menno Smits [Wed, 5 Jun 2013 22:38:09 +0000 (23:38 +0100)]
Added tag 0.10 for changeset
26f97967b6b3
--HG--
branch : stable
Menno Smits [Wed, 5 Jun 2013 22:37:54 +0000 (23:37 +0100)]
merge
Menno Smits [Wed, 5 Jun 2013 22:37:43 +0000 (23:37 +0100)]
Manifest fixes
--HG--
branch : stable
Menno Smits [Wed, 5 Jun 2013 22:29:51 +0000 (23:29 +0100)]
Added tag 0.10 for changeset
b101fe48d578
--HG--
branch : stable
Menno Smits [Wed, 5 Jun 2013 22:29:31 +0000 (23:29 +0100)]
Merged 0.10 work into stable
--HG--
branch : stable
Menno Smits [Wed, 5 Jun 2013 21:59:17 +0000 (22:59 +0100)]
Version bump to 0.10.0 (final)
Menno Smits [Wed, 5 Jun 2013 20:35:24 +0000 (21:35 +0100)]
Fixed typo in sphinx docs into
Menno Smits [Wed, 5 Jun 2013 20:31:20 +0000 (21:31 +0100)]
Mention IMAP servers that are regularly tested against
Menno Smits [Wed, 5 Jun 2013 20:27:01 +0000 (21:27 +0100)]
Stop shipping Mock with IMAPClient
It is now listed as an external test dependency in setup.py.
Menno Smits [Wed, 5 Jun 2013 20:10:18 +0000 (21:10 +0100)]
Documentation cleanups
Menno Smits [Tue, 4 Jun 2013 23:09:04 +0000 (00:09 +0100)]
Documentation updates for 0.10
Menno Smits [Tue, 4 Jun 2013 23:08:33 +0000 (00:08 +0100)]
Thank Erik Quaeghebeur
Menno Smits [Tue, 4 Jun 2013 22:46:43 +0000 (23:46 +0100)]
Document tox
Menno Smits [Tue, 4 Jun 2013 22:21:31 +0000 (23:21 +0100)]
Work around strange Fastmail.fm errors when cleaning up test folders
Seeing frequent "Mailbox already exists" errors on folder deletion.
Menno Smits [Mon, 3 Jun 2013 23:20:31 +0000 (00:20 +0100)]
Fixed bone-headed port handling error with interact functionality
When --ssl was passed without --port, port 143 was used, instead of
993!
Menno Smits [Thu, 30 May 2013 22:59:54 +0000 (23:59 +0100)]
HIGHESTMODSEQ is now more directly accessible
Menno Smits [Thu, 30 May 2013 22:25:49 +0000 (23:25 +0100)]
Handle HIGHESTMODSEQ in SELECT response correctly
And added much needed unit tests for select_folder
Menno Smits [Thu, 30 May 2013 22:01:16 +0000 (23:01 +0100)]
Use bytes for mocked test data in order to match actual data more closely
Menno Smits [Thu, 30 May 2013 21:47:29 +0000 (22:47 +0100)]
Run some folder tests without folder_encode enabled
Menno Smits [Wed, 29 May 2013 22:30:42 +0000 (23:30 +0100)]
Don't log in again for each test
This helps with some servers which impose time-based login limits. It
may also speed up test runs a little.
Menno Smits [Wed, 29 May 2013 22:23:38 +0000 (23:23 +0100)]
Handle the same message appearing multiple times in a single FETCH response
This can occur when server sends unsolicited FETCH responses.
Menno Smits [Wed, 29 May 2013 21:13:27 +0000 (22:13 +0100)]
Minor from_bytes clean ups
Menno Smits [Wed, 29 May 2013 21:05:32 +0000 (22:05 +0100)]
better name for encode_quote method