Commit Graph

671 Commits

Author SHA1 Message Date
Patrick Ulbrich
ecb9f7b954 Update supported desktops in README.md 2016-09-17 20:23:01 +02:00
Patrick Ulbrich
f6907a96d4 Bump version 2016-09-17 14:23:40 +02:00
Patrick Ulbrich
1c832675ee Add Timo Kankare to AUTHORS 2016-09-17 14:23:28 +02: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
0d0b66c3c0 Fix exception message 2016-09-17 12:34:32 +02:00
Patrick Ulbrich
1fc58a2985 Throw NotImplementedException in POP3MailboxBackend.request_folders() 2016-09-17 12:27:39 +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
92b54e191b Remove obsolete code 2016-09-16 22:01:16 +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
Patrick Ulbrich
f20d447a32 Merge pull request #132 from tikank/backends
IMAP and POP3 specific code moved to backend classes.
2016-09-16 21:29:17 +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
169b5a72d3 Fixed correct exception in POP3Backend. Removed unused _conn variable from Account. 2016-09-12 16:31:46 +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
45677d081d Replaced protocol specific close with Account.close(). 2016-09-06 22:37:19 +03:00
Timo Kankare
1a0b2c9371 Removed duplicate code from mails.py. 2016-09-06 17:39:30 +03:00
Timo Kankare
94e3e6705e Removed unnecessary code from Account class, because both POP3 and IMAP is now
handled same way.
2016-09-06 17:35:24 +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
Patrick Ulbrich
c094032452 Add Oleg to AUTHORS 2016-08-27 19:35:48 +02:00
Patrick Ulbrich
20a54eb996 Merge pull request #130 from cheshire-mouse/nonascii
fix non-ascii folder names encoding in the configuration menu
2016-08-27 19:30:08 +02:00
Patrick Ulbrich
1a70fdf1bf Merge pull request #131 from cheshire-mouse/translation
russian translation
2016-08-27 19:29:51 +02:00
cheshire-mouse
1a18157a50 one more type 2016-08-17 18:44:17 +03:00
cheshire-mouse
e63b887459 fix typo 2016-08-17 18:19:48 +03:00
cheshire-mouse
3d88d92f60 russian translation 2016-08-17 18:13:11 +03:00
cheshire-mouse
81fa02b82d fix ascii range 2016-08-16 13:12:13 +03:00
cheshire-mouse
d257f70b67 check folder option format 2016-08-16 12:26:08 +03:00
cheshire-mouse
43856eacca use JSON format to save folders configuration 2016-08-16 10:55:43 +03:00
cheshire-mouse
44d250e321 fix non-ascii folder names encoding in the configuration menu 2016-08-16 10:53:58 +03:00
Patrick Ulbrich
58c194fa7b Update AUTHORS 2016-08-05 12:34:19 +02:00
Patrick Ulbrich
574e350da2 Fix regex folder matching. Fixes #128 2016-08-04 18:25:33 +02:00
Patrick Ulbrich
e113012e1d Remove debug output 2016-08-04 18:24:50 +02:00
Patrick Ulbrich
19ed4745e3 Add debug log output for raw folder format 2016-08-04 12:25:41 +02:00
Patrick Ulbrich
26295e0e60 Init logging in mailnag-config 2016-08-04 12:25:04 +02:00
Patrick Ulbrich
a0c8cab354 Move init_logging() to utils 2016-08-04 12:24:38 +02:00
Patrick Ulbrich
f446bc58ea Parse folders via regex. Fixes #127 2016-08-02 19:45:47 +02:00
Patrick Ulbrich
7321c117db Change PING_TEST_HOST to www.google.com 2016-07-18 17:59:06 +02:00
Patrick Ulbrich
18a174329f Update README 2016-07-02 12:37:44 +02:00
Patrick Ulbrich
5425863d36 Update AUTHORS 2016-07-02 12:37:24 +02:00
Patrick Ulbrich
25aefb1c9f Update NEWS v1.2.1 2016-05-28 16:27:38 +02:00