]>
khamidou — GitHub mirrors - imapclient.git/log
Menno Smits [Tue, 14 Jul 2015 06:05:43 +0000 (18:05 +1200)]
Use backports.ssl for all TLS/SSL connections
All unit tests and live tests passing.
Menno Smits [Tue, 14 Jul 2015 05:09:40 +0000 (17:09 +1200)]
Missed copyright header
Menno Smits [Tue, 14 Jul 2015 04:32:29 +0000 (16:32 +1200)]
Docstring update given backports.ssl change
Menno Smits [Tue, 14 Jul 2015 04:22:57 +0000 (16:22 +1200)]
Use backports.ssl instead of using pyOpenSSL directly
This allows a bunch of code that was lifted from backports.ssl and
Python 3.4 to be removed from IMAPClient. This change also gives users
a familiar SSLContext API (i.e. the stdlib one) instead of the
unfriendly pyOpenSSL SSLContext.
The service_identity dependency has also been removed as backports.ssl
does certificate hostname verification.
Menno Smits [Tue, 14 Jul 2015 00:55:06 +0000 (12:55 +1200)]
Realign unicode/bytes expectations in some unit tests
Menno Smits [Tue, 14 Jul 2015 00:47:01 +0000 (12:47 +1200)]
Clear cached capabilities after successful STARTTLS
Menno Smits [Mon, 13 Jul 2015 23:24:28 +0000 (11:24 +1200)]
Added starttls unit tests and cleaned up starttls
- use _checkok() to check command response
- set _starttls_done, not _tls_established
- return data[0], don't check untagged responses
Also standardised error raised by _check_resp() across all Python
versions.
Menno Smits [Mon, 13 Jul 2015 22:29:45 +0000 (10:29 +1200)]
Added missing copyright header
Menno Smits [Tue, 7 Jul 2015 05:53:46 +0000 (17:53 +1200)]
Resynced to trunk
Menno Smits [Tue, 7 Jul 2015 05:46:39 +0000 (17:46 +1200)]
merged from repo
Menno Smits [Tue, 7 Jul 2015 05:42:20 +0000 (17:42 +1200)]
Rearrange STARTTLS support to be a little more sane
The tls module is now just for TLS related helpers.
All unit tests now (finally!) passing under all supported Python
versions.
Menno Smits [Tue, 7 Jul 2015 05:33:01 +0000 (17:33 +1200)]
fixed imports for test_version.py
Menno Smits [Tue, 7 Jul 2015 05:32:36 +0000 (17:32 +1200)]
unicode_literals import into version.py
Menno Smits [Tue, 7 Jul 2015 04:39:49 +0000 (16:39 +1200)]
Removed py32 from tox.ini
Menno Smits [Tue, 7 Jul 2015 04:13:52 +0000 (16:13 +1200)]
Fixed version info read in setup.py so it works in Python 3 too
Menno Smits [Tue, 7 Jul 2015 03:45:15 +0000 (15:45 +1200)]
Added copyright notice to version.py
Menno Smits [Tue, 7 Jul 2015 03:44:26 +0000 (15:44 +1200)]
Include sphinx as a setup dependency & be specific about required dependency versions.
Menno Smits [Tue, 7 Jul 2015 03:39:52 +0000 (15:39 +1200)]
Upgraded ez_setup.py to 18.0.1
Menno Smits [Tue, 7 Jul 2015 03:39:19 +0000 (15:39 +1200)]
Ignore the .eggs cache directory
Menno Smits [Tue, 7 Jul 2015 03:38:52 +0000 (15:38 +1200)]
Run tox tests straight out of the source checkout
To work around: https://bitbucket.org/pypa/setuptools/issue/141
Menno Smits [Tue, 7 Jul 2015 03:36:23 +0000 (15:36 +1200)]
Added a source distribution build script
To work around: https://bitbucket.org/pypa/setuptools/issue/141
Menno Smits [Mon, 6 Jul 2015 22:44:59 +0000 (10:44 +1200)]
merged stable to default
Menno Smits [Mon, 6 Jul 2015 22:44:40 +0000 (10:44 +1200)]
mention Python 3.4 support in setup.py
--HG--
branch : stable
Menno Smits [Tue, 30 Jun 2015 09:59:57 +0000 (21:59 +1200)]
Merged stable into default
--HG--
branch : stable
Menno Smits [Tue, 30 Jun 2015 09:56:24 +0000 (21:56 +1200)]
Merged stable into default
Menno Smits [Tue, 30 Jun 2015 09:51:56 +0000 (09:51 +0000)]
README.rst edited online with Bitbucket
Menno Smits [Tue, 30 Jun 2015 09:25:49 +0000 (21:25 +1200)]
Added tag 0.13 for changeset
c076ec55a74f
--HG--
branch : stable
Menno Smits [Tue, 30 Jun 2015 09:25:18 +0000 (21:25 +1200)]
CONDSTORE live test is now more reliable
... especially on Gmail. Don't assume that adding a message will
increment the MODSEQ by just 1.
Fixes #129.
--HG--
branch : stable
Menno Smits [Tue, 30 Jun 2015 03:14:50 +0000 (15:14 +1200)]
Merged default into stable
--HG--
branch : stable
Menno Smits [Tue, 30 Jun 2015 03:13:49 +0000 (15:13 +1200)]
bump version 0.13-final
Menno Smits [Tue, 30 Jun 2015 02:41:48 +0000 (14:41 +1200)]
mention doc updates for 0.13
Menno Smits [Tue, 30 Jun 2015 02:40:59 +0000 (14:40 +1200)]
Added some guidance on writing unit tests to HACKING.rst
Fixes #149.
Menno Smits [Tue, 30 Jun 2015 02:34:52 +0000 (14:34 +1200)]
Cleaned up HACKING.rst
Menno Smits [Tue, 30 Jun 2015 01:27:43 +0000 (13:27 +1200)]
Cleaned up list_folders docs
Fixes #146.
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.
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.
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.
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
Menno Smits [Mon, 29 Jun 2015 22:57:22 +0000 (10:57 +1200)]
Mention date parsing fixes in NEWS
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.
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.
Menno Smits [Tue, 2 Jun 2015 12:37:47 +0000 (00:37 +1200)]
Doc tweaks
Menno Smits [Tue, 2 Jun 2015 12:36:58 +0000 (00:36 +1200)]
There's going to be a 0.13 release
Menno Smits [Tue, 2 Jun 2015 12:35:03 +0000 (00:35 +1200)]
Fixed a syntax error in the id_() docstring and extended slightly
Menno Smits [Tue, 2 Jun 2015 12:29:59 +0000 (00:29 +1200)]
Thank yous for ID support
Menno Smits [Tue, 2 Jun 2015 12:27:33 +0000 (00:27 +1200)]
Fix ID tests to work under Python 3
Eben Freeman [Tue, 2 Jun 2015 12:24:07 +0000 (00:24 +1200)]
Add support for the ID command (RFC2971)
Menno Smits [Tue, 2 Jun 2015 12:10:18 +0000 (00:10 +1200)]
ignore the .eggs directory
A Frederick Christensen [Wed, 13 May 2015 18:29:19 +0000 (14:29 -0400)]
Fix setup.py to run in python3
Menno Smits [Tue, 7 Apr 2015 15:16:50 +0000 (00:16 +0900)]
doc updates for NIL handling fixes
Menno Smits [Tue, 7 Apr 2015 15:16:29 +0000 (00:16 +0900)]
Extended and cleaned up ENVELOPE tests
Thomas Steinacher [Mon, 6 Apr 2015 14:40:44 +0000 (16:40 +0200)]
Regression: Fix search when None is returned
Thomas Steinacher [Mon, 6 Apr 2015 12:03:49 +0000 (14:03 +0200)]
Fix exception with NIL address in envelope
Menno Smits [Thu, 5 Mar 2015 02:06:08 +0000 (15:06 +1300)]
Updated information about the home page and blog.
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
Menno Smits [Sat, 28 Feb 2015 10:35:37 +0000 (23:35 +1300)]
Mention the IMAP protocol wiki in the docs
Menno Smits [Thu, 29 Jan 2015 12:14:29 +0000 (01:14 +1300)]
reformat urls
Menno Smits [Thu, 29 Jan 2015 03:44:32 +0000 (16:44 +1300)]
Nilas updates
Menno Smits [Fri, 23 Jan 2015 10:35:55 +0000 (23:35 +1300)]
moved the internal _SSLConnection class further down the file
Menno Smits [Fri, 23 Jan 2015 10:33:57 +0000 (23:33 +1300)]
renamed ssl_default_context to get_default_context
Menno Smits [Fri, 23 Jan 2015 10:32:18 +0000 (23:32 +1300)]
renamed imapclient.imaptls to imapclient.tls
Menno Smits [Fri, 23 Jan 2015 10:31:42 +0000 (23:31 +1300)]
ignore all kinds of egg installations
Menno Smits [Fri, 23 Jan 2015 10:27:49 +0000 (23:27 +1300)]
Stop passing list command names as unicode
List commands now work with pyOpenSSL.
Menno Smits [Fri, 23 Jan 2015 09:23:33 +0000 (22:23 +1300)]
simplify reading of version module
Menno Smits [Fri, 23 Jan 2015 09:20:46 +0000 (22:20 +1300)]
Install deps at setup time too (so that docs can build)
Menno Smits [Fri, 23 Jan 2015 09:17:29 +0000 (22:17 +1300)]
Put version back to 1.0.0-alpha
This change was lost when merging SpotlightKid's SSL changes.
Menno Smits [Mon, 12 Jan 2015 21:27:11 +0000 (10:27 +1300)]
bumped version to 1.0.0-alpha
Menno Smits [Mon, 12 Jan 2015 21:26:35 +0000 (10:26 +1300)]
merged tags from stable
Menno Smits [Mon, 12 Jan 2015 11:36:53 +0000 (00:36 +1300)]
Added tag 0.12 for changeset
10c1e06ec8f2
--HG--
branch : stable
Menno Smits [Mon, 12 Jan 2015 11:36:32 +0000 (00:36 +1300)]
Merged 0.12 changes to stable
--HG--
branch : stable
Menno Smits [Mon, 12 Jan 2015 11:35:51 +0000 (00:35 +1300)]
version bump for 0.12
Menno Smits [Mon, 12 Jan 2015 11:31:33 +0000 (00:31 +1300)]
Updated docs to reflect Python 3.4 support.
Menno Smits [Mon, 12 Jan 2015 11:05:00 +0000 (00:05 +1300)]
Moved BodyData to response_types module
Menno Smits [Mon, 12 Jan 2015 11:00:09 +0000 (00:00 +1300)]
NEWS update for livetest/interact OAUTH2 fix
Menno Smits [Mon, 12 Jan 2015 10:59:37 +0000 (23:59 +1300)]
Fixed livetest/interact OAUTH handling under Python 3
Fixes #130.
Menno Smits [Mon, 12 Jan 2015 10:39:06 +0000 (23:39 +1300)]
NEWS and THANKS updates for OAUTH2 work.
Menno Smits [Mon, 12 Jan 2015 10:34:55 +0000 (23:34 +1300)]
Cleaned up OAUTH2 auth string generation
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.