]> khamidou — GitHub mirrors - imapclient.git/log
imapclient.git
14 years agoclarified documentation relating to message identifiers
Menno Smits [Wed, 11 Jan 2012 23:09:49 +0000 (23:09 +0000)]
clarified documentation relating to message identifiers

14 years agoNEWS update for 0.8.1
Menno Smits [Wed, 11 Jan 2012 22:52:40 +0000 (22:52 +0000)]
NEWS update for 0.8.1

14 years agobuild_sphinx not sphinx_build
Menno Smits [Wed, 11 Jan 2012 00:05:05 +0000 (00:05 +0000)]
build_sphinx not sphinx_build

14 years agoinclude .rst files in source dist
Menno Smits [Wed, 11 Jan 2012 00:03:45 +0000 (00:03 +0000)]
include .rst files in source dist

14 years agoRemoved trailing slash that completely broke Windows installations
Menno Smits [Wed, 11 Jan 2012 00:03:02 +0000 (00:03 +0000)]
Removed trailing slash that completely broke Windows installations

This was causing both setuptools and distribute to fail with
"AttributeError: NoneType has no attribute 'close'".

14 years agoupdated to 0.6.24 version of distribute_setup.py
Menno Smits [Tue, 10 Jan 2012 23:42:28 +0000 (23:42 +0000)]
updated to 0.6.24 version of distribute_setup.py

15 years agoAdded tag 0.8 for changeset 1af8db8839a3
Menno Smits [Wed, 9 Nov 2011 21:22:32 +0000 (21:22 +0000)]
Added tag 0.8 for changeset 1af8db8839a3

15 years agoversion bump for 0.8 0.8
Menno Smits [Wed, 9 Nov 2011 21:05:04 +0000 (21:05 +0000)]
version bump for 0.8

15 years agofixed test that was raising ParseError for the wrong reason
Menno Smits [Wed, 9 Nov 2011 21:03:09 +0000 (21:03 +0000)]
fixed test that was raising ParseError for the wrong reason

15 years agoclean up UID/SEQ distinction
Menno Smits [Wed, 9 Nov 2011 21:02:47 +0000 (21:02 +0000)]
clean up UID/SEQ distinction

15 years agofixed indentation
Menno Smits [Wed, 9 Nov 2011 20:51:14 +0000 (20:51 +0000)]
fixed indentation

15 years agofixed up test that broke with previous fetch change
Menno Smits [Wed, 9 Nov 2011 20:50:48 +0000 (20:50 +0000)]
fixed up test that broke with previous fetch change

15 years agoadded OAUTH params to sample livetest.ini
Menno Smits [Wed, 9 Nov 2011 20:46:52 +0000 (20:46 +0000)]
added OAUTH params to sample livetest.ini

15 years agoFix incorrect msg_id for UID fetch when use_uid is False (#99)
Menno Smits [Wed, 9 Nov 2011 20:40:19 +0000 (20:40 +0000)]
Fix incorrect msg_id for UID fetch when use_uid is False (#99)

Don't use the UID as the key for FETCH responses where use_uid is
False but UID is a fetch item. The UID was being used as the key
instead of the message sequence.

15 years agomoved re_status out of the way to stop sphinx from seeing it
Menno Smits [Tue, 8 Nov 2011 23:02:04 +0000 (23:02 +0000)]
moved re_status out of the way to stop sphinx from seeing it

15 years agoReturn expunge responses (#80)
Menno Smits [Tue, 8 Nov 2011 22:44:19 +0000 (22:44 +0000)]
Return expunge responses (#80)

15 years agodoc updates to cover interact and livetest changes
Menno Smits [Tue, 8 Nov 2011 22:13:56 +0000 (22:13 +0000)]
doc updates to cover interact and livetest changes

15 years ago.py extension doesn't make as much sense now that most people will use livetest from...
Menno Smits [Tue, 8 Nov 2011 22:13:29 +0000 (22:13 +0000)]
.py extension doesn't make as much sense now that most people will use livetest from the package

15 years agoSimple driver scripts for interact and livetest
Menno Smits [Tue, 8 Nov 2011 22:12:38 +0000 (22:12 +0000)]
Simple driver scripts for interact and livetest

15 years agoMoved livetest implementation to imapclient package (#82)
Menno Smits [Tue, 8 Nov 2011 21:17:18 +0000 (21:17 +0000)]
Moved livetest implementation to imapclient package (#82)

15 years agoMoved interact implementation to imapclient package (#82)
Menno Smits [Tue, 8 Nov 2011 21:11:17 +0000 (21:11 +0000)]
Moved interact implementation to imapclient package (#82)

15 years agointeract.py now works with both ipython 0.10 and 0.11 shell embedding
Menno Smits [Tue, 8 Nov 2011 21:01:53 +0000 (21:01 +0000)]
interact.py now works with both ipython 0.10 and 0.11 shell embedding

15 years agomention NOOP support in NEWS
Menno Smits [Tue, 8 Nov 2011 20:43:05 +0000 (20:43 +0000)]
mention NOOP support in NEWS

15 years agoNOOP support (#74)
Menno Smits [Tue, 8 Nov 2011 20:32:59 +0000 (20:32 +0000)]
NOOP support (#74)

Untagged response handling shared with IDLE.

15 years agoAdded rename_folder (#77)
Menno Smits [Sun, 18 Sep 2011 20:42:52 +0000 (21:42 +0100)]
Added rename_folder (#77)

15 years agoAdded imapclient.version.info (#81)
Menno Smits [Sun, 18 Sep 2011 20:22:00 +0000 (21:22 +0100)]
Added imapclient.version.info (#81)

15 years agoAdded normalise_times attribute (#96)
Menno Smits [Tue, 19 Jul 2011 12:29:30 +0000 (13:29 +0100)]
Added normalise_times attribute (#96)

Allows caller to select whether datetimes returned by fetch are native
or aware.

15 years agoAdded meta-documentation
Menno Smits [Mon, 6 Jun 2011 21:46:44 +0000 (22:46 +0100)]
Added meta-documentation

15 years agoMakefiles for documentation not required.
Menno Smits [Mon, 6 Jun 2011 21:44:27 +0000 (22:44 +0100)]
Makefiles for documentation not required.

Just use python setup.py build_sphinx instead.

15 years agoAdded aliases to ensure build_sphinx is called when a distribution is built
Menno Smits [Mon, 6 Jun 2011 21:43:54 +0000 (22:43 +0100)]
Added aliases to ensure build_sphinx is called when a distribution is built

15 years agoInclude the docs in the source distribution
Menno Smits [Mon, 6 Jun 2011 21:29:19 +0000 (22:29 +0100)]
Include the docs in the source distribution

15 years agoRearranged documentation source and build output to more sensible locations
Menno Smits [Mon, 6 Jun 2011 21:12:57 +0000 (22:12 +0100)]
Rearranged documentation source and build output to more sensible locations

15 years agomerged
Menno Smits [Mon, 6 Jun 2011 20:52:10 +0000 (21:52 +0100)]
merged

15 years agofixed doc typo
Menno Smits [Mon, 6 Jun 2011 20:51:16 +0000 (21:51 +0100)]
fixed doc typo

15 years agoindices not required - the docs are fairly small
Menno Smits [Mon, 6 Jun 2011 07:44:48 +0000 (08:44 +0100)]
indices not required - the docs are fairly small

15 years agouse sphinxdoc theme
Menno Smits [Sun, 5 Jun 2011 22:54:55 +0000 (23:54 +0100)]
use sphinxdoc theme

15 years agoUse just the release
Menno Smits [Sun, 5 Jun 2011 22:46:45 +0000 (23:46 +0100)]
Use just the release

15 years agosmall doc tweaks
Menno Smits [Sun, 5 Jun 2011 22:35:03 +0000 (23:35 +0100)]
small doc tweaks

15 years agoversion fiddling for readthedocs.org
Menno Smits [Sun, 5 Jun 2011 19:14:57 +0000 (20:14 +0100)]
version fiddling for readthedocs.org

15 years agobump version so that it is accurate in documentation
Menno Smits [Sun, 5 Jun 2011 18:56:50 +0000 (19:56 +0100)]
bump version so that it is accurate in documentation

15 years agoFinal doc cleanups
Menno Smits [Sun, 5 Jun 2011 17:32:05 +0000 (18:32 +0100)]
Final doc cleanups

15 years agoFixed up documentation for recently added functionality
Menno Smits [Sun, 5 Jun 2011 16:45:04 +0000 (17:45 +0100)]
Fixed up documentation for recently added functionality

15 years agoSynced sphinx branch with current trunk
Menno Smits [Sun, 5 Jun 2011 16:24:20 +0000 (17:24 +0100)]
Synced sphinx branch with current trunk

15 years agoRemaining gaps in IMAPClient class docs done.
Menno Smits [Sun, 5 Jun 2011 16:20:15 +0000 (17:20 +0100)]
Remaining gaps in IMAPClient class docs done.

This is sufficient for an initial release

15 years agoFilled in missing introductory sections
Menno Smits [Sun, 5 Jun 2011 15:56:50 +0000 (16:56 +0100)]
Filled in missing introductory sections

15 years agobeefed up example text and included example output
Menno Smits [Sun, 5 Jun 2011 15:17:30 +0000 (16:17 +0100)]
beefed up example text and included example output

15 years agoUpdated idle related unit tests to match current implementation
Menno Smits [Sun, 5 Jun 2011 14:58:26 +0000 (15:58 +0100)]
Updated idle related unit tests to match current implementation

These had been broken for a while now. All unit tests pass again.

15 years agoUpdated the bundled version of Mock to 0.7.2.
Menno Smits [Sun, 5 Jun 2011 14:40:28 +0000 (15:40 +0100)]
Updated the bundled version of Mock to 0.7.2.

15 years agoGenerate fresh Message-Id headers to work around Gmail's cleverness
Menno Smits [Sun, 5 Jun 2011 14:14:27 +0000 (15:14 +0100)]
Generate fresh Message-Id headers to work around Gmail's cleverness

When APPENDing to Gmail's IMAP, if the Message-Id of the uploaded
message has alrady been seen before, it assumes it's the same message
and ignores the content of the appended message. This breaks the tests
when the test message is changed.

A new Message-Id is now generated each time to work around this.

15 years agoAdded #91 to NEWS (whitespace between tuples bug)
Menno Smits [Sun, 5 Jun 2011 13:52:39 +0000 (14:52 +0100)]
Added #91 to NEWS (whitespace between tuples bug)

15 years agoRestructure BODY and BODYSTRUCTURE responses post-parsing to make tuple length predic...
Menno Smits [Fri, 3 Jun 2011 21:19:09 +0000 (22:19 +0100)]
Restructure BODY and BODYSTRUCTURE responses post-parsing to make tuple length predictable.

This avoids having to treat )( as special (which is wrong anyway).
This closes #91.

15 years agoHalfway through re-working how BODY/BODYSTRUCTURE is handled so the parser doesn...
Menno Smits [Fri, 3 Jun 2011 15:30:15 +0000 (16:30 +0100)]
Halfway through re-working how BODY/BODYSTRUCTURE is handled so the parser doesn't have to treat paren lists without whitespace between them specially.

The failing tests light the way.

15 years agoadded BODY and BODYSTRUCTURE fetch response parser tests and removed juxtaposed tuple...
Menno Smits [Fri, 3 Jun 2011 15:19:08 +0000 (16:19 +0100)]
added BODY and BODYSTRUCTURE fetch response parser tests and removed juxtaposed tuples tests (going to handle this differently)

15 years agoupdated livetest to trigger ENVELOPE response issue with Fastmail.fm
Menno Smits [Fri, 3 Jun 2011 15:13:35 +0000 (16:13 +0100)]
updated livetest to trigger ENVELOPE response issue with Fastmail.fm

15 years agoExpose debugging functionality (#90)
Menno Smits [Tue, 31 May 2011 12:32:19 +0000 (13:32 +0100)]
Expose debugging functionality (#90)

As part of this, moved IMAP4 creation to a separate method to make
unit testing cleaner and easier.

15 years agoupdated NEWS re interact.py INI file change
Menno Smits [Tue, 17 May 2011 20:40:46 +0000 (21:40 +0100)]
updated NEWS re interact.py INI file change

15 years agoAdded support for interact.py to read livetest.py config files (#66)
Menno Smits [Tue, 17 May 2011 20:39:43 +0000 (21:39 +0100)]
Added support for interact.py to read livetest.py config files (#66)

15 years agoChanged IDLE support to use select instead of polling
Menno Smits [Mon, 18 Apr 2011 22:34:14 +0000 (23:34 +0100)]
Changed IDLE support to use select instead of polling

Also made the idle live test a bit more robust when run against slower
servers.

15 years agoAdded unit tests for IDLE support
Menno Smits [Sun, 17 Apr 2011 10:57:53 +0000 (11:57 +0100)]
Added unit tests for IDLE support

15 years agoUpdated documentation and examples wrt IDLE support
Menno Smits [Sun, 17 Apr 2011 10:33:16 +0000 (11:33 +0100)]
Updated documentation and examples wrt IDLE support

15 years agoTest for IDLE responses returned by idle_done()
Menno Smits [Sun, 17 Apr 2011 10:01:51 +0000 (11:01 +0100)]
Test for IDLE responses returned by idle_done()

15 years agoNew approach to IDLE support
Menno Smits [Sun, 17 Apr 2011 09:55:21 +0000 (10:55 +0100)]
New approach to IDLE support

Instead of using callbacks open up the IDLE command to the caller by
splitting it into 3 methods. This approach is more flexible and
doesn't rely on imaplib2.

The new IDLE livetest works.

15 years agoAdded livetest for IDLE support and reworked how the IDLE callback function is called
Menno Smits [Sat, 16 Apr 2011 16:21:28 +0000 (17:21 +0100)]
Added livetest for IDLE support and reworked how the IDLE callback function is called

15 years agoAdded #85 to NEWS
Menno Smits [Fri, 15 Apr 2011 11:51:08 +0000 (12:51 +0100)]
Added #85 to NEWS

15 years agogetacl() was still using Lexer instead of TokenSource (fixes #85)
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.

15 years agoMentioned OAUTH in NEWS and Johannes in THANKS
Menno Smits [Wed, 6 Apr 2011 22:02:10 +0000 (23:02 +0100)]
Mentioned OAUTH in NEWS and Johannes in THANKS

15 years agoAdded OAUTH support to livetest.py
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.

15 years agomerged idle and oauth work into default branch
Menno Smits [Thu, 31 Mar 2011 11:43:43 +0000 (12:43 +0100)]
merged idle and oauth work into default branch

15 years agoMerge idle and oauth features.
Johannes Heckel [Wed, 23 Mar 2011 15:22:37 +0000 (15:22 +0000)]
Merge idle and oauth features.

--HG--
branch : idle+oauth

15 years agoImplemented oauth authentication using oauth2.
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

15 years agoAdded an idle function and changed script to use imaplib2 if available.
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

15 years agoFixed bug in livetest.py that caused configs with a port number to fail.
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.

15 years agodocument SEQ element and some cosmetic changes
Menno Smits [Thu, 3 Mar 2011 13:48:10 +0000 (13:48 +0000)]
document SEQ element and some cosmetic changes

15 years agofilled in many more documentatation gaps
Menno Smits [Mon, 28 Feb 2011 13:34:27 +0000 (13:34 +0000)]
filled in many more documentatation gaps

15 years agoresynced with trunk
Menno Smits [Sat, 19 Feb 2011 23:37:20 +0000 (23:37 +0000)]
resynced with trunk

15 years agomerged changes from another documentation working copy
Menno Smits [Sat, 19 Feb 2011 23:19:50 +0000 (23:19 +0000)]
merged changes from another documentation working copy

15 years agoMerged .zip change from trunk
Menno Smits [Sat, 5 Feb 2011 14:45:57 +0000 (14:45 +0000)]
Merged .zip change from trunk

15 years agochanged download URL to .zip version since gzip and tar isn't common on windows hosts
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

15 years agoAdded tag 0.7 for changeset ea3eff2a866a
Menno Smits [Sat, 5 Feb 2011 14:36:32 +0000 (14:36 +0000)]
Added tag 0.7 for changeset ea3eff2a866a

15 years agoUpdated copyright dates to 2011 and fixed a number of incorrect and missing file... 0.7
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.

15 years agobump version to 0.7
Menno Smits [Sat, 5 Feb 2011 14:02:58 +0000 (14:02 +0000)]
bump version to 0.7

15 years agoSupport for modifiers in the FETCH command (#62)
Menno Smits [Thu, 27 Jan 2011 13:55:11 +0000 (13:55 +0000)]
Support for modifiers in the FETCH command (#62)

15 years agoMerged from trunk
Menno Smits [Thu, 27 Jan 2011 13:21:41 +0000 (13:21 +0000)]
Merged from trunk

15 years agoTake advantage of unittest2 functionality in response parser tests
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.

15 years agoIf unittest in stdlib is unittest2 use it.
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.

15 years agoRemoved unit test running plumbing
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.

15 years agolivetest.py changes to support Fastmail.fm
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

15 years agoHandle [None] response in fetch response parser
Menno Smits [Fri, 14 Jan 2011 13:42:24 +0000 (13:42 +0000)]
Handle [None] response in fetch response parser

15 years agoget_folder_delimiter tidied up and deprecated
Menno Smits [Fri, 14 Jan 2011 13:07:38 +0000 (13:07 +0000)]
get_folder_delimiter tidied up and deprecated

15 years agoAdded NAMESPACE support (#63)
Menno Smits [Fri, 14 Jan 2011 12:54:59 +0000 (12:54 +0000)]
Added NAMESPACE support (#63)

15 years agoTidying up argv mangling
Menno Smits [Thu, 13 Jan 2011 14:40:02 +0000 (14:40 +0000)]
Tidying up argv mangling

15 years agolivetest.py updated to use INI files and unittest2.main()
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

15 years agoConverted livetest.py to use unittest2 (#4)
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).

15 years agoAdd support for fetch modifiers (#62)
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).

15 years agoVarious livetest.py changes to get BODYSTRUCTURE tests working with Gmail
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.

15 years agoConverted NEWS to Restructured Text
Menno Smits [Mon, 3 Jan 2011 16:40:07 +0000 (16:40 +0000)]
Converted NEWS to Restructured Text

15 years agoAdded NEWS for BODY and BODYSTRUCTURE parsing fixes
Menno Smits [Mon, 3 Jan 2011 16:22:11 +0000 (16:22 +0000)]
Added NEWS for BODY and BODYSTRUCTURE parsing fixes

16 years agoMerged BODY/BODYSTRUCTURE fixes (#58)
Menno Smits [Mon, 8 Nov 2010 14:32:45 +0000 (14:32 +0000)]
Merged BODY/BODYSTRUCTURE fixes (#58)

16 years agoAdded is_multipart attribute to returned BODY/BODYSTRUCTURE tuples
Menno Smits [Mon, 8 Nov 2010 14:30:42 +0000 (14:30 +0000)]
Added is_multipart attribute to returned BODY/BODYSTRUCTURE tuples

16 years agoWorking BODY and BODYSTRUCTURE live tests
Menno Smits [Mon, 8 Nov 2010 13:08:35 +0000 (13:08 +0000)]
Working BODY and BODYSTRUCTURE live tests