aebd530aaf
threadutil imports without try except
...
Python 2 is not supported now. The import is the same in try and except.
2020-08-29 09:03:39 +02:00
ead8b157af
CustonConfig imports withou try except
...
Python 2 is not supported now. The import is the same in try and except.
2020-08-29 09:02:16 +02:00
1618505d3b
Machine imports withou try except
...
Python 2 is not supported now. The import is the same in try and except.
2020-08-29 09:00:30 +02:00
46c677151a
UIBase imports without try except
...
Python 2 is not supported now. The import is the same in try and except.
2020-08-29 08:58:53 +02:00
3e8c4e3d19
OLItest lintian clean
...
Added some spaces. Now is lintian clean.
2020-08-29 08:56:05 +02:00
0312bafdb7
OLItest uses only python3
...
Python2 is not supported now. I am removing these imports.
2020-08-29 08:54:40 +02:00
f576181ae1
offlineimap.py using env python3
2020-08-29 08:30:38 +02:00
05f402cd1c
Removed unused imports
...
These imports are not used in this file.
2020-08-29 08:13:25 +02:00
914486e0d9
Changed environment to python3 in offlineimap
...
Just it.
2020-08-29 08:11:56 +02:00
fb43b31e7c
Included external libraries
...
I included these libraries here, to avoid problems sharing with other
users.
I will remove them later.
2020-08-28 23:15:13 +02:00
3711954908
Folder name is already utf8
...
We don't need decode it.
2020-08-28 20:31:00 +02:00
36bfbdf7d6
Get the month number
...
This patch gets the month number using datetime library.
I removed the function Mon2num. The list is not used now, it is removed
too.
I need change the regex in the compile to get the fields. Now is str,
not binary, so I remored the 'b'.
2020-08-28 20:05:52 +02:00
e61e77cf40
Convert bytes to string in IMAP folder
...
Convert the IMAP reply to string.
2020-08-28 17:25:06 +02:00
1379c32c5a
IMAP do not use single quotes on fetch
...
The IMAP command is:
C: A654 FETCH 2:4 (FLAGS BODY[HEADER.FIELDS (DATE FROM)])
not
C: A654 FETCH '2:4' (FLAGS BODY[HEADER.FIELDS (DATE FROM)])
The single quotes must be removed.
2020-08-28 17:18:29 +02:00
bb5b1f2dcf
Encode folder name before md5
...
Avoid the error:
Unicode-objects must be encoded before hashing
2020-08-28 16:51:11 +02:00
22dfbd7a54
Split the IMAP folders
...
This patch modifies two files. First, we need split using '', not '""'.
Else we don't split anything.
OTOH, we need convert the bytes to string, then we can parse the folder
names.
2020-08-28 16:35:00 +02:00
c9a4b1fefa
Add quotes in empty LIST calls
...
I need add this to get the imap LIST folders.
2020-08-28 16:03:15 +02:00
6fa099ff74
bundled_imaplib2 encode removed cr
...
This patch removes the cr in the encoding call. It avoids a crash.
2020-08-28 13:37:09 +02:00
6378c722b0
Do not use binary in the plain auth
...
Changed from binary to string in plain auth.
2020-08-28 13:06:31 +02:00
e84e932df4
Changed wrong comparison equal
2020-08-28 12:49:03 +02:00
5e356b0bf5
Removed codecs
...
I removed these calls to codecs because I got the error:
ValueError: can't have text and binary mode at once
2020-08-28 12:38:15 +02:00
476c485a52
Using standard imaplib2.py
...
This is the standard imaplib2 file.
2020-08-28 11:48:16 +02:00
75ce6e71f3
Comparison error
2020-08-28 03:33:49 +02:00
6ec6111896
2to3 main
2020-08-28 03:32:43 +02:00
d5564828ea
contrib/store-pw-with-gpg/gpg-pw.py
2020-08-28 03:24:12 +02:00
0f5e21f388
2to3 contrib/tested-by.py
2020-08-28 03:23:06 +02:00
8fbff955f1
2to3 contrib/release.py
2020-08-28 03:21:42 +02:00
fb37b35535
2to3 contrib/internet-urllib3.py
2020-08-28 03:20:12 +02:00
cbc7ac6385
2to3 contrib/helpers
2020-08-28 03:18:28 +02:00
0c58628c3b
Remvoed Debug variable
...
I removed this variable.
The default level now is 3, not 5.
2020-08-28 02:59:37 +02:00
62209db06e
Popen uses default buffer size
...
From the ipamlib2.
2020-08-28 02:28:35 +02:00
938bf647f1
Moving to imaplib2 python3 start
...
This patch only changes non-important parts, like imports,
comments, and more.
2020-08-27 22:53:16 +02:00
a6c5e96eb5
Force bundled_imaplib2
...
I am forcing to use the bundled. I will modify this library
to make it similar to imaplib2 for python3
2020-08-27 22:18:19 +02:00
ba4ecea9e4
v7.3.0
...
Tested-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-08-19 19:17:53 +02:00
805a1c156c
update readme to give an hint about Linux distros
...
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-08-17 13:21:00 +02:00
9c6a1760b4
imaplib2 v2.101
...
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-06-18 23:50:29 +02:00
beaaf77a1a
Do not use TIMEOUT_MAX for Condition.wait()
...
On some architectures, using threading.TIMEOUT_MAX for the timeout
parameter can overflow causing Condition.wait() to return immediately.
Instead of relying on TIMEOUT_MAX, remove it and wait forever.
Signed-off-by: Ilias Tsitsimpis <iliastsi@debian.org >
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-06-18 23:16:04 +02:00
0a831b3cab
Use SSLContext if available so we send SNI
...
Fixes https://github.com/imaplib2/imaplib2/issues/5
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-06-18 23:13:35 +02:00
741b33b455
imaplib2 v2.100
...
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-06-18 23:10:21 +02:00
8d5b22bd09
Don't expect trailing space on command completion
...
While trying to see why I couldn't get my emails from an Exchange server
I found this:
[imap]: 41:31.42 someserver.com handler _put_response(IOMC1 OK)
[imap]: 41:31.42 someserver.com handler unexpected response: 'IOMC1 OK'
And shortly after that the connection was closed. IOMC1 is just the
unique tag for the session.
The pattern looks for the tag, a number, a word like "OK" or something,
*then a space*, then optionally some data.
If the data aren't there it shouldn't be expecting a space.
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-06-18 23:04:26 +02:00
8406ba3bb4
travis: remove python3.6
...
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-06-10 17:36:20 +02:00
c97fe498e6
README: add required dependency to rfc6555
...
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-06-10 14:37:25 +02:00
0d5496ba0a
implement Happy Eyeballs
...
This allows OfflineIMAP to not stall on malfunctional IPv6 connections,
and fall-back to a functional IPv4 connection, if faster, as described
in RFC6555.
Signed-off-by: Olivier Mehani <shtrom@ssji.net >
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-06-10 14:36:53 +02:00
06ed00a211
v7.2.4
...
Tested-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-06-08 11:32:57 +02:00
801893cc73
make portalocker really optional
...
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-04-27 14:56:17 +02:00
93bc8d11ac
add portalocker to README and requirements
...
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-04-27 14:37:44 +02:00
2806f40071
use portable locker to support cygwin in Windows
...
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-04-27 14:37:44 +02:00
8a7946e338
Update FSF postal address.
...
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-04-06 23:30:47 +02:00
64c763c7f5
PULL_REQUEST_TEMPLATE: add space between brackets to enable the edition in the gui
...
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-02-27 08:48:59 +01:00
0d865c2e36
repository/IMAP: update copyright header date
...
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net >
2019-02-27 08:48:59 +01:00