]>
khamidou — GitHub mirrors - imapclient.git/log
Menno Smits [Fri, 15 Apr 2011 11:51:08 +0000 (12:51 +0100)]
Added #85 to NEWS
Menno Smits [Fri, 15 Apr 2011 11:49:34 +0000 (12:49 +0100)]
getacl() was still using Lexer instead of TokenSource (fixes #85)
Also added getacl() unit test.
Menno Smits [Wed, 6 Apr 2011 22:02:10 +0000 (23:02 +0100)]
Mentioned OAUTH in NEWS and Johannes in THANKS
Menno Smits [Wed, 6 Apr 2011 21:52:56 +0000 (22:52 +0100)]
Added OAUTH support to livetest.py
Also cleaned up how host configurations are handled and passed around.
Menno Smits [Thu, 31 Mar 2011 11:43:43 +0000 (12:43 +0100)]
merged idle and oauth work into default branch
Johannes Heckel [Wed, 23 Mar 2011 15:22:37 +0000 (15:22 +0000)]
Merge idle and oauth features.
--HG--
branch : idle+oauth
Johannes Heckel [Wed, 23 Mar 2011 00:43:05 +0000 (00:43 +0000)]
Implemented oauth authentication using oauth2.
Also added an example to demonstrate the new oauth_login function's use.
--HG--
branch : oauth
Johannes Heckel [Wed, 23 Mar 2011 00:00:36 +0000 (00:00 +0000)]
Added an idle function and changed script to use imaplib2 if available.
Added example demonstrating use of idle function.
Switched the tag and keyword args when using imaplib2's _command_complete as
it expects (rqb, kw) rather than (kw, rqb).
imaplib2's untagged_responses seems to be in a list format rather than the
dictionary format imaplib uses. Now if imaplib2 is being used untagged_responses
is automatically converted to the dictionary format using a simple function.
Not sure if this is the ideal solution though.
--HG--
branch : idle
Johannes Heckel [Tue, 22 Mar 2011 17:36:41 +0000 (17:36 +0000)]
Fixed bug in livetest.py that caused configs with a port number to fail.
A trailing comma was causing a tuple to be returned instead of an integer when
the port number was parsed from the config file.
Menno Smits [Sat, 5 Feb 2011 14:45:12 +0000 (14:45 +0000)]
changed download URL to .zip version since gzip and tar isn't common on windows hosts
Menno Smits [Sat, 5 Feb 2011 14:29:46 +0000 (14:29 +0000)]
Updated copyright dates to 2011 and fixed a number of incorrect and missing file headers.
Menno Smits [Sat, 5 Feb 2011 14:02:58 +0000 (14:02 +0000)]
bump version to 0.7
Menno Smits [Thu, 27 Jan 2011 13:55:11 +0000 (13:55 +0000)]
Support for modifiers in the FETCH command (#62)
Menno Smits [Thu, 27 Jan 2011 13:21:41 +0000 (13:21 +0000)]
Merged from trunk
Menno Smits [Tue, 25 Jan 2011 17:48:43 +0000 (17:48 +0000)]
Take advantage of unittest2 functionality in response parser tests
Less of our own scaffolding required.
Menno Smits [Tue, 25 Jan 2011 17:34:11 +0000 (17:34 +0000)]
If unittest in stdlib is unittest2 use it.
Otherwise look for a separately installed unittest2 package.
Menno Smits [Tue, 25 Jan 2011 17:20:18 +0000 (17:20 +0000)]
Removed unit test running plumbing
People can just use the unit2 script or "python -m unittest". Updated
documentation to match.
Also fixed up the docs for livetest.py to better match current reality.
Menno Smits [Fri, 14 Jan 2011 17:50:34 +0000 (17:50 +0000)]
livetest.py changes to support Fastmail.fm
- use the account's namespace to avoid trying to create mailboxes in
the wrong place
- avoid folder names that FM doesn't support when testing with FM
- probe authentication first to avoid every test failing slowly when
login details are wrong
Menno Smits [Fri, 14 Jan 2011 13:42:24 +0000 (13:42 +0000)]
Handle [None] response in fetch response parser
Menno Smits [Fri, 14 Jan 2011 13:07:38 +0000 (13:07 +0000)]
get_folder_delimiter tidied up and deprecated
Menno Smits [Fri, 14 Jan 2011 12:54:59 +0000 (12:54 +0000)]
Added NAMESPACE support (#63)
Menno Smits [Thu, 13 Jan 2011 14:40:02 +0000 (14:40 +0000)]
Tidying up argv mangling
Menno Smits [Thu, 13 Jan 2011 12:45:48 +0000 (12:45 +0000)]
livetest.py updated to use INI files and unittest2.main()
- use INI files instead of command line args for IMAP server details
- cleaner passing of options to test classes
- use unittest2.main so we get lots of useful command line options
Menno Smits [Wed, 12 Jan 2011 16:48:00 +0000 (16:48 +0000)]
Converted livetest.py to use unittest2 (#4)
Working well but some tidying up still to be done (see TODOs).
Menno Smits [Mon, 3 Jan 2011 22:28:12 +0000 (22:28 +0000)]
Add support for fetch modifiers (#62)
Patch from Thomas Jost Schnouki (schnouki@schnouki.net).
Menno Smits [Mon, 3 Jan 2011 17:40:04 +0000 (17:40 +0000)]
Various livetest.py changes to get BODYSTRUCTURE tests working with Gmail
Gmail returns uppercase for some elements and doesn't appear to return
a charset when it's us-ascii.
Menno Smits [Mon, 3 Jan 2011 16:40:07 +0000 (16:40 +0000)]
Converted NEWS to Restructured Text
Menno Smits [Mon, 3 Jan 2011 16:22:11 +0000 (16:22 +0000)]
Added NEWS for BODY and BODYSTRUCTURE parsing fixes
Menno Smits [Mon, 8 Nov 2010 14:32:45 +0000 (14:32 +0000)]
Merged BODY/BODYSTRUCTURE fixes (#58)
Menno Smits [Mon, 8 Nov 2010 14:30:42 +0000 (14:30 +0000)]
Added is_multipart attribute to returned BODY/BODYSTRUCTURE tuples
Menno Smits [Mon, 8 Nov 2010 13:08:35 +0000 (13:08 +0000)]
Working BODY and BODYSTRUCTURE live tests
Menno Smits [Sun, 31 Oct 2010 17:23:32 +0000 (17:23 +0000)]
More tests and better error reporting for juxtaposed tuple handling
Menno Smits [Sun, 31 Oct 2010 16:48:19 +0000 (16:48 +0000)]
Cleaned up implementation of juxtaposed tuple handling
Menno Smits [Sun, 31 Oct 2010 16:11:35 +0000 (16:11 +0000)]
Handling of juxtaposed tuples implemented.
A little messy, needs cleaning up.
Menno Smits [Wed, 29 Sep 2010 22:04:22 +0000 (23:04 +0100)]
mention the mailing list in the README
Menno Smits [Thu, 16 Sep 2010 16:49:57 +0000 (17:49 +0100)]
experimenting with fix for BODYSTRUCTURE tuples issue (#58)
Menno Smits [Thu, 16 Sep 2010 16:49:16 +0000 (17:49 +0100)]
failing test for BODYSTRUCTURE tuples issue (#58)
Menno Smits [Wed, 15 Sep 2010 22:01:05 +0000 (23:01 +0100)]
Actually include the examples in the source and fix several MANIFEST.in issues
Menno Smits [Wed, 15 Sep 2010 21:33:22 +0000 (22:33 +0100)]
NEWS update and version bump for 0.6.2
Menno Smits [Wed, 15 Sep 2010 21:31:39 +0000 (22:31 +0100)]
no longer relevant
Menno Smits [Wed, 15 Sep 2010 21:25:31 +0000 (22:25 +0100)]
examples moved to imapclient/examples. Docs updated to match.
Menno Smits [Tue, 14 Sep 2010 17:31:06 +0000 (18:31 +0100)]
Ported to use distribute instead of setuptools
Menno Smits [Fri, 10 Sep 2010 19:31:06 +0000 (20:31 +0100)]
cleaned up example a little
Menno Smits [Fri, 10 Sep 2010 19:27:56 +0000 (20:27 +0100)]
Tokens shouldn't necessarily terminate after a "]"
This was breaking partial fetch response parsing.
Menno Smits [Fri, 10 Sep 2010 12:40:30 +0000 (13:40 +0100)]
More (passing) tests for square bracket handling
Menno Smits [Fri, 10 Sep 2010 12:32:44 +0000 (13:32 +0100)]
Significant clean up of response parsing code
It's quite a bit easier to follow now. Using a push-back iterator to
avoid duplicating code between the whitespace and word processing
loops.
Menno Smits [Wed, 8 Sep 2010 17:21:43 +0000 (18:21 +0100)]
Fixed handling of fetch parts that use square brackets and contain spaces (#55)
Fetches using message parts such as ['BODY[HEADER.FIELDS (From
Subject)]'] now return sane responses.
Also cleaned up a few oddities in the lexer code.
Menno Smits [Wed, 8 Sep 2010 12:46:49 +0000 (13:46 +0100)]
Failing test added for #55
Menno Smits [Wed, 8 Sep 2010 12:33:05 +0000 (13:33 +0100)]
check() doesn't return anything
Menno Smits [Thu, 2 Sep 2010 21:30:41 +0000 (22:30 +0100)]
NEWS update and version bump for 0.6.1
Menno Smits [Thu, 2 Sep 2010 21:26:38 +0000 (22:26 +0100)]
#49: Work around imaplib bug (Python Issue 5949)
Patch imaplib on import of IMAPClient if the running Python version is known to
have the problem.
Menno Smits [Thu, 2 Sep 2010 19:40:40 +0000 (20:40 +0100)]
Updated README to indicate true status of the project
Also tidied up formatting and updated minor points wrt to current
reality.
Menno Smits [Thu, 26 Aug 2010 16:45:08 +0000 (17:45 +0100)]
mark as production
Menno Smits [Tue, 13 Jul 2010 11:50:29 +0000 (12:50 +0100)]
Updated example to match current select_folder response
Menno Smits [Tue, 11 May 2010 12:49:51 +0000 (13:49 +0100)]
fixed typo in NEWS
Menno Smits [Tue, 11 May 2010 12:19:17 +0000 (13:19 +0100)]
fixed spelling error
Menno Smits [Tue, 11 May 2010 12:16:01 +0000 (13:16 +0100)]
Missed some copyright dates
Menno Smits [Tue, 11 May 2010 12:10:21 +0000 (13:10 +0100)]
version bump for 0.6
Menno Smits [Tue, 11 May 2010 12:06:31 +0000 (13:06 +0100)]
Update copyright year
Menno Smits [Tue, 11 May 2010 11:48:14 +0000 (12:48 +0100)]
NEWS updated for 0.6
Menno Smits [Tue, 11 May 2010 06:02:39 +0000 (07:02 +0100)]
started updating NEWS for 0.6
Menno Smits [Sat, 8 May 2010 08:59:08 +0000 (09:59 +0100)]
Speedups: avoid initialising constants in __init__, use frozenset instead of set
Menno Smits [Sat, 8 May 2010 08:46:22 +0000 (09:46 +0100)]
Lexer cleanup done. All tests passing.
Menno Smits [Fri, 7 May 2010 12:37:02 +0000 (13:37 +0100)]
refactored Lexer classes. Not quite working yet.
Menno Smits [Fri, 7 May 2010 11:37:40 +0000 (12:37 +0100)]
Merged new lexer code from Mark. All tests pass.
Mark Hammond [Thu, 6 May 2010 09:22:19 +0000 (19:22 +1000)]
implement a lexer which performs 7x faster for us
Menno Smits [Wed, 5 May 2010 13:05:39 +0000 (14:05 +0100)]
Always return folder names as unicode for consistency.
Otherwise sometimes the folder names are unicode and sometimes they
are strs. This is good practice for Python 3.
Menno Smits [Wed, 5 May 2010 12:27:39 +0000 (13:27 +0100)]
#21: High ascii bytes in folder names can break folder handling
Don't allow characters in str based folder names that can't be
converted to unicode without knowing the encoding. The idea is that
IMAPClient's user should convert to unicode themselves.
Menno Smits [Wed, 5 May 2010 11:44:51 +0000 (12:44 +0100)]
added some missing simple tests
Menno Smits [Sun, 2 May 2010 15:41:38 +0000 (16:41 +0100)]
Added a test for repeated UIDs (#44)
Courier IMAP sometimes repeats the UID on each line. This broke IMAPClient
0.5.2 but doesn't break 0.6. Added a test anyway to ensure this doesn't break
in the future.
Menno Smits [Thu, 29 Apr 2010 21:49:35 +0000 (22:49 +0100)]
#43: numeric folder names break list_folders
Further hacks to the lexer to allow the response parser to
distinguish between a string with digits in it and an actual
integer. This prevents folder names comprising of just
digits from being returned as integers instead of strings.
Menno Smits [Thu, 29 Apr 2010 21:10:51 +0000 (22:10 +0100)]
#42: Folder names with double quotes around them have the double quotes stripped
Work around an imaplib misfeature which prevents quoting when folder names
start and end with double quotes.
Menno Smits [Thu, 29 Apr 2010 13:01:30 +0000 (14:01 +0100)]
Correctly handle \" in quoted strings.
(As reported in comments of #28)
It turns out these were being handled twice causing them to be
incorrectly removed if a string started with a double quote.
Extended tests to cover more cases around escaped double quotes. Prior
to this the test weren't covering enough cases.
Menno Smits [Thu, 29 Apr 2010 12:14:52 +0000 (13:14 +0100)]
ignore the egg-info directory
Menno Smits [Fri, 23 Apr 2010 12:27:44 +0000 (13:27 +0100)]
#7: added new script for interactive sessions (interact.py)
Uses IPython if available.
Removed --interact from livetest.py
Menno Smits [Wed, 17 Mar 2010 02:10:37 +0000 (02:10 +0000)]
Added tests for partial fetches
Menno Smits [Wed, 17 Mar 2010 01:49:50 +0000 (01:49 +0000)]
Tiny cleanup of Gmail handling
Menno Smits [Wed, 17 Mar 2010 01:45:40 +0000 (01:45 +0000)]
Cleaned up XLIST tests and fixed a few thinkos.
Menno Smits [Wed, 17 Mar 2010 01:32:55 +0000 (01:32 +0000)]
Added fetch tests to livetest.py
These exercise various fields including ENVELOPE. Passes on Dovecot and Gmail.
Menno Smits [Mon, 8 Feb 2010 13:06:35 +0000 (13:06 +0000)]
Handle empty strings and None's in the folder list responses again
All tests passing.
Mark Hammond [Sun, 31 Jan 2010 11:34:44 +0000 (22:34 +1100)]
make livetest work with gmail
Mark Hammond [Sun, 31 Jan 2010 11:33:00 +0000 (22:33 +1100)]
update tests for new list return values
Mark Hammond [Sun, 31 Jan 2010 11:31:53 +0000 (22:31 +1100)]
better 'list' parsing; gmail xlist support; readonly select
Menno Smits [Wed, 27 Jan 2010 08:43:41 +0000 (08:43 +0000)]
Fix select test, there's no guarantee there will be a message in the inbox
Menno Smits [Wed, 27 Jan 2010 08:18:56 +0000 (08:18 +0000)]
Merged COPY command implementation (#36)
Menno Smits [Wed, 27 Jan 2010 08:14:09 +0000 (08:14 +0000)]
added COPY docstring
Menno Smits [Tue, 26 Jan 2010 11:52:38 +0000 (11:52 +0000)]
COPY tests implemented
Menno Smits [Mon, 25 Jan 2010 13:26:30 +0000 (13:26 +0000)]
select_folder() now returns the full parsed SELECT response (#24)
Menno Smits [Sun, 24 Jan 2010 22:42:40 +0000 (22:42 +0000)]
added response parsing changes to NEWS
Menno Smits [Sun, 24 Jan 2010 19:38:23 +0000 (19:38 +0000)]
Merged new_fetch_parsing branch
Menno Smits [Sun, 24 Jan 2010 19:31:34 +0000 (19:31 +0000)]
added some docstrings
Menno Smits [Sun, 24 Jan 2010 19:24:55 +0000 (19:24 +0000)]
removed devel bits
Menno Smits [Sun, 24 Jan 2010 19:23:48 +0000 (19:23 +0000)]
Plugged in new response parser
Old FetchParser class and supporting code removed.
livetest.py works fully with Dovecot.
Menno Smits [Sun, 24 Jan 2010 19:02:33 +0000 (19:02 +0000)]
port INTERNALDATE handling from old fetch parser - all tests PASS\!
Menno Smits [Sun, 24 Jan 2010 18:50:38 +0000 (18:50 +0000)]
re-enabled more literal tests
Menno Smits [Sun, 24 Jan 2010 18:40:30 +0000 (18:40 +0000)]
fixed tests that were passing for the wrong reason
Menno Smits [Sun, 24 Jan 2010 17:20:03 +0000 (17:20 +0000)]
bumped version for 0.5.2
Menno Smits [Sun, 24 Jan 2010 17:19:20 +0000 (17:19 +0000)]
Finished NEWS for 0.5.2
Menno Smits [Fri, 22 Jan 2010 13:10:46 +0000 (13:10 +0000)]
initial stab at a copy command, not tested
Menno Smits [Mon, 11 Jan 2010 19:15:54 +0000 (19:15 +0000)]
added Mark Hammond