]> khamidou — GitHub mirrors - imapclient.git/log
imapclient.git
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 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()

13 years agoReorganised tests in preparation for addition of search tests
Menno Smits [Sun, 22 Sep 2013 21:41:43 +0000 (22:41 +0100)]
Reorganised tests in preparation for addition of search tests

13 years agoNEW and THANKS updates for square brackets in SELECT response issue
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

13 years agoAdd gm_search() method which leverages Gmail's search syntax using X-GM-RAW
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.

13 years agoHandle square brackets in flags returned in SELECT response
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

13 years agoAdded tag 0.10.2 for changeset 64006446109d
Menno Smits [Mon, 8 Jul 2013 21:57:54 +0000 (22:57 +0100)]
Added tag 0.10.2 for changeset 64006446109d

--HG--
branch : stable

13 years agoversion bump for 0.10.2 0.10.2
Menno Smits [Mon, 8 Jul 2013 21:57:46 +0000 (22:57 +0100)]
version bump for 0.10.2

--HG--
branch : stable

13 years agoAdded tag 0.10.2 for changeset 24bb7a2b8662
Menno Smits [Mon, 8 Jul 2013 21:57:22 +0000 (22:57 +0100)]
Added tag 0.10.2 for changeset 24bb7a2b8662

--HG--
branch : stable

13 years agomerged from default
Menno Smits [Mon, 8 Jul 2013 21:54:38 +0000 (22:54 +0100)]
merged from default

--HG--
branch : stable

13 years agoSwitched back to setuptools
Menno Smits [Mon, 8 Jul 2013 21:53:54 +0000 (22:53 +0100)]
Switched back to setuptools

13 years agomerged from stable
Menno Smits [Fri, 7 Jun 2013 00:08:07 +0000 (01:08 +0100)]
merged from stable

13 years agoAdded tag 0.10.1 for changeset 549882973378
Menno Smits [Fri, 7 Jun 2013 00:03:22 +0000 (01:03 +0100)]
Added tag 0.10.1 for changeset 549882973378

--HG--
branch : stable

13 years agounit test updates for Gmail labels 0.10.1
Menno Smits [Fri, 7 Jun 2013 00:03:13 +0000 (01:03 +0100)]
unit test updates for Gmail labels

--HG--
branch : stable

13 years agoAdded tag 0.10.1 for changeset b1f516b3b415
Menno Smits [Fri, 7 Jun 2013 00:02:51 +0000 (01:02 +0100)]
Added tag 0.10.1 for changeset b1f516b3b415

--HG--
branch : stable

13 years agoAdded tag 0.10.1 for changeset 5f7069fdf972
Menno Smits [Thu, 6 Jun 2013 23:57:00 +0000 (00:57 +0100)]
Added tag 0.10.1 for changeset 5f7069fdf972

--HG--
branch : stable

13 years agoVersion bump and NEWS update for 0.10.1
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

13 years agoFixed stupid long-standing bug with the way flags and Gmail labels were extracted...
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

13 years agoFixed more places where binary input is not normalised correctly and refactored norma...
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

13 years agoFixed normalise_search_criteria when critera is passed as non-unicode data
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

13 years agoAdded tag 0.10 for changeset 26f97967b6b3
Menno Smits [Wed, 5 Jun 2013 22:38:09 +0000 (23:38 +0100)]
Added tag 0.10 for changeset 26f97967b6b3

--HG--
branch : stable

13 years agomerge
Menno Smits [Wed, 5 Jun 2013 22:37:54 +0000 (23:37 +0100)]
merge

13 years agoManifest fixes 0.10
Menno Smits [Wed, 5 Jun 2013 22:37:43 +0000 (23:37 +0100)]
Manifest fixes

--HG--
branch : stable

13 years agoAdded tag 0.10 for changeset b101fe48d578
Menno Smits [Wed, 5 Jun 2013 22:29:51 +0000 (23:29 +0100)]
Added tag 0.10 for changeset b101fe48d578

--HG--
branch : stable

13 years agoMerged 0.10 work into stable
Menno Smits [Wed, 5 Jun 2013 22:29:31 +0000 (23:29 +0100)]
Merged 0.10 work into stable

--HG--
branch : stable

13 years agoVersion bump to 0.10.0 (final)
Menno Smits [Wed, 5 Jun 2013 21:59:17 +0000 (22:59 +0100)]
Version bump to 0.10.0 (final)

13 years agoFixed typo in sphinx docs into
Menno Smits [Wed, 5 Jun 2013 20:35:24 +0000 (21:35 +0100)]
Fixed typo in sphinx docs into

13 years agoMention IMAP servers that are regularly tested against
Menno Smits [Wed, 5 Jun 2013 20:31:20 +0000 (21:31 +0100)]
Mention IMAP servers that are regularly tested against

13 years agoStop shipping Mock with IMAPClient
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.

13 years agoDocumentation cleanups
Menno Smits [Wed, 5 Jun 2013 20:10:18 +0000 (21:10 +0100)]
Documentation cleanups

13 years agoDocumentation updates for 0.10
Menno Smits [Tue, 4 Jun 2013 23:09:04 +0000 (00:09 +0100)]
Documentation updates for 0.10

13 years agoThank Erik Quaeghebeur
Menno Smits [Tue, 4 Jun 2013 23:08:33 +0000 (00:08 +0100)]
Thank Erik Quaeghebeur

13 years agoDocument tox
Menno Smits [Tue, 4 Jun 2013 22:46:43 +0000 (23:46 +0100)]
Document tox

13 years agoWork around strange Fastmail.fm errors when cleaning up test folders
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.

13 years agoFixed bone-headed port handling error with interact functionality
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!

13 years agoHIGHESTMODSEQ is now more directly accessible
Menno Smits [Thu, 30 May 2013 22:59:54 +0000 (23:59 +0100)]
HIGHESTMODSEQ is now more directly accessible

13 years agoHandle HIGHESTMODSEQ in SELECT response correctly
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

13 years agoUse bytes for mocked test data in order to match actual data more closely
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

13 years agoRun some folder tests without folder_encode enabled
Menno Smits [Thu, 30 May 2013 21:47:29 +0000 (22:47 +0100)]
Run some folder tests without folder_encode enabled

13 years agoDon't log in again for each test
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.

13 years agoHandle the same message appearing multiple times in a single FETCH response
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.

13 years agoMinor from_bytes clean ups
Menno Smits [Wed, 29 May 2013 21:13:27 +0000 (22:13 +0100)]
Minor from_bytes clean ups

13 years agobetter name for encode_quote method
Menno Smits [Wed, 29 May 2013 21:05:32 +0000 (22:05 +0100)]
better name for encode_quote method

13 years agoTidied up examples
Menno Smits [Wed, 29 May 2013 20:50:53 +0000 (21:50 +0100)]
Tidied up examples

13 years agoUse Sphinx :rfc: role where appropriate
Menno Smits [Wed, 29 May 2013 20:46:09 +0000 (21:46 +0100)]
Use Sphinx :rfc: role where appropriate

This also avoids a warning when the docs are built about multiple
references to the same RFC.

13 years agoMake it clearer where Python 3 support starts
Menno Smits [Wed, 17 Apr 2013 23:11:24 +0000 (00:11 +0100)]
Make it clearer where Python 3 support starts

13 years agoMerged Python 3 support into the main repo
Menno Smits [Wed, 17 Apr 2013 23:07:43 +0000 (00:07 +0100)]
Merged Python 3 support into the main repo

Bumped version to 0.10-alpha

13 years agoDocumentation updates relating to Python 3
Menno Smits [Wed, 17 Apr 2013 23:03:11 +0000 (00:03 +0100)]
Documentation updates relating to Python 3

13 years agoLog out secondary connnections without caring about errors
Menno Smits [Wed, 17 Apr 2013 22:48:29 +0000 (23:48 +0100)]
Log out secondary connnections without caring about errors

For some reason this is required by Fastmail.fm

13 years agoAvoid using same test folder name twice in a row in test_folders
Menno Smits [Wed, 17 Apr 2013 22:22:57 +0000 (23:22 +0100)]
Avoid using same test folder name twice in a row in test_folders

This is an attempt to avoid "Mailbox already exists" errors at folder
deletion time with Fastmail.fm.

13 years agomade mocked _simple_command return value match reality
Menno Smits [Sun, 14 Apr 2013 22:04:40 +0000 (23:04 +0100)]
made mocked _simple_command return value match reality

13 years agoFixed py3 import issue in imapclient.interact
Menno Smits [Sun, 14 Apr 2013 22:04:04 +0000 (23:04 +0100)]
Fixed py3 import issue in imapclient.interact

13 years agoRemoved unnecessary folder_encode argument to from_bytes
Menno Smits [Sun, 14 Apr 2013 21:39:41 +0000 (22:39 +0100)]
Removed unnecessary folder_encode argument to from_bytes

Also moved from_bytes from the imap_utf7 module to the main imapclient
since it no longer has anything to do with modified UTF-7 and is only
called from the imapclient module.

13 years agoIntroduced many more tests that test binary (bytes) arguments and fixed a few problem...
Menno Smits [Thu, 11 Apr 2013 22:44:08 +0000 (23:44 +0100)]
Introduced many more tests that test binary (bytes) arguments and fixed a few problems that were found.

13 years agoUpdated HACKING file name
Menno Smits [Wed, 10 Apr 2013 11:11:33 +0000 (12:11 +0100)]
Updated HACKING file name

13 years agomerge
Menno Smits [Wed, 10 Apr 2013 11:03:02 +0000 (12:03 +0100)]
merge

13 years agouse .rst extension for Restructured Text documentation files
Menno Smits [Wed, 10 Apr 2013 11:01:16 +0000 (12:01 +0100)]
use .rst extension for Restructured Text documentation files

13 years agoRestructured Text fixes
Menno Smits [Wed, 10 Apr 2013 11:00:23 +0000 (12:00 +0100)]
Restructured Text fixes

13 years agoremoved unicode literals so that live tests work under Python 3.2
Menno Smits [Sat, 6 Apr 2013 22:17:07 +0000 (23:17 +0100)]
removed unicode literals so that live tests work under Python 3.2

13 years agoMerged from Mathieu's python3 repo
Menno Smits [Sat, 6 Apr 2013 21:46:49 +0000 (22:46 +0100)]
Merged from Mathieu's python3 repo

13 years agocomment fix
Menno Smits [Sat, 6 Apr 2013 21:43:38 +0000 (22:43 +0100)]
comment fix

13 years agotox.ini for py26, py27, py32, py33
Mathieu Agopian [Fri, 5 Apr 2013 11:02:28 +0000 (13:02 +0200)]
tox.ini for py26, py27, py32, py33