Patrick Ulbrich
b77338d30e
Fix imaplib2 and unicode issues in pop3 and imap backends
2019-10-26 19:13:43 +02:00
Patrick Ulbrich
8464a5261a
Remove uneccessary stuff from copyright headers
2019-10-22 19:13:15 +02:00
James Powell
e95c5100a7
try CRAM-MD5 auth if advertised by capabilities, then default to PLAIN
2019-04-04 19:54:18 +01:00
Timo Kankare
d76367d933
Added query method to Account and backend classes to ask if account supports
...
notifications. Currently only IMAP supports notifications, but only if idle parameter
is true.
2017-08-19 16:55:41 +03:00
Patrick Ulbrich
e60bd9af95
Optimize IMAPMailboxBackend.request_folders
2016-10-16 15:38:13 +02:00
Timo Kankare
08e356ac68
IMAP specific folder mutf7 encoding and decoding moved from account dialog to
...
IMAP mailbox backend.
2016-10-11 17:42:50 +03:00
Timo Kankare
d89ef65573
Added type field to configuration. Moved backend creation to backends package.
2016-09-17 22:10:20 +03:00
Patrick Ulbrich
e9878e7dfb
Add _ensure_open() guard, comment fix, minor refactoring
2016-09-17 14:19:24 +02:00
Patrick Ulbrich
e1e9529b8f
Refactor _select()
2016-09-17 13:32:36 +02:00
Patrick Ulbrich
e9b0f9f3fb
Create a new connection in request_folders() (existing one may be used by IMAP IDLE)
2016-09-17 13:19:01 +02:00
Patrick Ulbrich
36bbff2079
Properly close connection if it has been reset by remote peer
2016-09-17 12:54:47 +02:00
Patrick Ulbrich
43cac375f3
Don't allow to re-open accounts (hack, not needed anymore)
2016-09-17 12:23:45 +02:00
Patrick Ulbrich
f03db4b735
Set internal connections to None after closing
2016-09-16 22:00:25 +02:00
Patrick Ulbrich
2a4efe4557
Don't return the internal connection
2016-09-16 21:53:58 +02:00
Patrick Ulbrich
67e9aa7790
Comment fixes
2016-09-16 21:51:49 +02:00
Timo Kankare
ff9702ea83
Renamed IMAP and POP3 backends as MailboxBackends.
2016-09-16 20:38:48 +03:00
Timo Kankare
b6fa581708
Reupdated authors in imap.py and pop3.py files, because those files contains mostly
...
moved code from other files.
2016-09-16 20:31:48 +03:00
Timo Kankare
20ce0828cb
Interface definition for mailbox backends.
2016-09-16 18:34:31 +03:00
Timo Kankare
0f058a83c7
Updated authors in modified files.
2016-09-16 17:52:40 +03:00
Timo Kankare
279cbd5efa
Some cleanup. Renaming. Docstrings. Unused code removed.
2016-09-08 23:06:23 +03:00
Timo Kankare
3bdb85952d
IMAP code moved from idlers.py to backends/imap.py.
...
Folder is always selected when new connection is opened, not only for idle accounts.
Callback is set using Account.notify_next_change method.
Connection abort checking in callback is moved to IMAP backend.
2016-09-07 22:46:50 +03:00
Timo Kankare
f9dde27aff
Extracted list_message code to account and backends.
2016-09-05 22:35:34 +03:00
Timo Kankare
c96d8fc8b7
Extracted close to account and backends.
2016-09-05 22:10:44 +03:00
Timo Kankare
b6cbf7b9de
Moved IMAP and POP3 related code to backends from account module.
...
Added backend creation to account dialog so that the folder request can be done.
2016-09-04 22:54:39 +03:00
Timo Kankare
211105d979
Added backends package and skeletons for IMAP and POP3 backends.
...
Backend is initialized to the Account in AccountManager.
2016-09-04 16:32:03 +03:00