Commit Graph

358 Commits

Author SHA1 Message Date
Patrick Ulbrich
3a9bd9f34b Use proper enums 2019-11-04 20:11:38 +01:00
Patrick Ulbrich
b647f891b2 Also try to enable TLS for pop3 accounts 2019-11-02 12:51:19 +01:00
Patrick Ulbrich
ac84ecf297 Remove execute flag from imaplib2.py 2019-11-02 11:56:41 +01:00
Patrick Ulbrich
6896d650df Make python version in header of imaplib2 explicit 2019-11-02 11:55:27 +01:00
Patrick Ulbrich
1ffe12ab06 Remove uneccessary stuff from header in __init__.py 2019-11-02 11:54:46 +01:00
Patrick Ulbrich
82f3e74963 Bump version to 2.0 (mailnag >= 2.0 requires python 3 2019-10-30 18:09:13 +01:00
Patrick Ulbrich
85855a35af Also fix assignments of that commit... 2019-10-28 19:31:15 +01:00
Patrick Ulbrich
4c18970e43 Fix lambda syntax of last commit 2019-10-28 19:27:10 +01:00
Patrick Ulbrich
210078447c Remove sort_mails() function 2019-10-28 19:24:50 +01:00
Patrick Ulbrich
965f91ad80 Fix wrong assignment of default subject 2019-10-28 19:14:45 +01:00
Patrick Ulbrich
6a9e0d7fb3 Remove bonkers _format_header_field() function 2019-10-27 18:01:59 +01:00
Patrick Ulbrich
63f21bf10c Replace MailCollector._convert() function by much shorter and more robust version by razer 2019-10-27 17:36:40 +01:00
Patrick Ulbrich
eae09fe9dc Add razer to about dialog as well 2019-10-26 19:30:47 +02:00
Patrick Ulbrich
b77338d30e Fix imaplib2 and unicode issues in pop3 and imap backends 2019-10-26 19:13:43 +02:00
Patrick Ulbrich
e7ad095937 Try to reconnect if an idle account can't be opened at the first try 2019-10-26 13:26:15 +02:00
Patrick Ulbrich
4ebdc13227 Replace imaplib2 with python3 version from https://github.com/imaplib2/imaplib2 2019-10-25 19:46:34 +02:00
Patrick Ulbrich
915dfb6a93 fix unicode/byte issue in __init__.py of backends 2019-10-25 19:25:40 +02:00
Patrick Ulbrich
a4de5c4971 fix unicode/byte issue in local.py 2019-10-25 19:24:11 +02:00
Patrick Ulbrich
32bd77fda2 fix unicode/byte issue in account dialog 2019-10-25 19:22:10 +02:00
Patrick Ulbrich
b39aa6d39b Fix iteration wrongly converted by 2to3 2019-10-25 19:20:23 +02:00
Patrick Ulbrich
48e589f678 Fix integer division in dbus plugin 2019-10-25 19:18:40 +02:00
Patrick Ulbrich
fb8d7a8d0d fix unicode/byte issues in mutf7.py 2019-10-25 19:16:47 +02:00
Patrick Ulbrich
054c36ddc6 Remove more uneccessary stuff from copyright headers 2019-10-22 19:18:31 +02:00
Patrick Ulbrich
8464a5261a Remove uneccessary stuff from copyright headers 2019-10-22 19:13:15 +02:00
Patrick Ulbrich
584c4d343f Fix packing of filechooser widget in userscript plugin 2019-10-22 19:01:30 +02:00
Patrick Ulbrich
224fdd7c55 Don't write config files in binary mode 2019-10-19 18:18:42 +02:00
Patrick Ulbrich
77022172af Fix problems related to unicode strings 2019-10-19 18:07:19 +02:00
Patrick Ulbrich
9e0d09e107 Fix reading of default sections in pyhon3 2019-10-19 18:06:41 +02:00
Patrick Ulbrich
c599706fb9 s/python2/python3/g 2019-10-19 17:28:32 +02:00
Patrick Ulbrich
d10831a995 Run '2to3 -W -n' on python files 2019-10-19 17:17:33 +02:00
Patrick Ulbrich
b6b9efdba1 Bump version 2019-05-04 14:46:38 +02:00
Patrick Ulbrich
d76ad51c81 Update authors (about dialog) 2019-04-28 15:43:48 +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
Patrick Ulbrich
840eae8d69 Add workaround to fire filechooserbutton-changed-signal on dialog creation 2019-03-10 18:02:49 +01:00
Patrick Ulbrich
78aee0c535 Merge branch 'headerbars2' 2019-03-10 17:25:11 +01:00
Patrick Ulbrich
ea5b0d2eca Port to GTKApplication, headerbars 2019-03-10 17:21:36 +01:00
Timo Kankare
74b2d7024d Fixed root folder name in Maildir folder list in accountdialog.py. Before the fix root folder name was empty, now text '[root folder]' is used. 2019-03-10 17:03:43 +02:00
Patrick Ulbrich
d576a6ba7a Merge pull request #165 from tikank/accountmembers
Refactorings related to Account class
2018-06-01 17:41:30 +02:00
Timo Kankare
74e987c94d Changed MailCollector._get_id() not to use server and user attributes of Account class, because not every account has those defined. Instead Account.get_id() is used. 2018-05-05 17:07:06 +03:00
Timo Kankare
5e332c9c9d Fixed Account get_id method to generate id from account name only.
Previous implementation used attributes from Account class which were not supported in all mailbox types, for example mbox and maildir do not have user or server attributes.
2018-05-05 16:58:21 +03:00
Timo Kankare
88fdde4f46 Replaced references to Account idle and imap members with supports_notifications query. 2018-04-30 15:47:46 +03:00
Patrick Ulbrich
59cddfa686 Prevent dbusplugin from crashing on mails with timestamps > MAX_INT32 2017-10-01 16:06:44 +02:00
Timo Kankare
a2939fd1c7 Replaced references to Account idle and imap members with supports_notifications
query.
2017-08-19 16:55:41 +03:00
Timo Kankare
00e91edf19 Removed reference to Accounts idle member. 2017-08-19 16:55:41 +03: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
4c439caba3 Rename custom accounts 2017-05-14 16:33:11 +02:00
Patrick Ulbrich
013fe3d230 Small fixes 2017-05-14 16:21:05 +02:00
Patrick Ulbrich
d91034da03 Merge pull request #141 from tikank/accountdialog
MBox and Maildir added to account dialog
2017-05-14 16:04:24 +02:00
freeroot
53eb810bcd fix #147 2016-12-26 19:54:24 +01:00
Timo Kankare
e49d4d9927 Closing backend in set_config if it is open. 2016-11-04 19:28:22 +02:00