Commit Graph

671 Commits

Author SHA1 Message Date
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
Patrick Ulbrich
f649f4b48b Update README.md 2018-02-16 16:11:54 +01:00
Patrick Ulbrich
59cddfa686 Prevent dbusplugin from crashing on mails with timestamps > MAX_INT32 2017-10-01 16:06:44 +02:00
Patrick Ulbrich
82258cf1ca Change copyright date 2017-05-14 16:33:37 +02: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
Patrick Ulbrich
5fe573c5f8 Add freeroot to AUTHORS 2017-04-02 15:57:28 +02:00
Patrick Ulbrich
4484000e8a Merge pull request #148 from freeroot/master
fix #147
2017-04-02 15:53:23 +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
Timo Kankare
3b960339e5 Accidentally added packing property removed. 2016-11-04 19:15:49 +02:00
Timo Kankare
a2dce4aa17 Modified account dialog to use config dictionary instead of account members.
Fixed chooser widget usage.
2016-10-20 22:47:28 +03:00
Timo Kankare
274c3fb70c Defined mailbox type to be '' (empty string) for new account. 2016-10-20 22:44:39 +03:00
Timo Kankare
c46ee7501c A straightforward and tedious implementation to account dialog for configuring mbox and
maildir mailbox types.
New UI widgets for file and directory pahts added to account_dialog.ui.
2016-10-19 17:35:01 +03:00
Timo Kankare
133e0932c2 Added set_config method to Account class, so that existing account can be reconfigured. 2016-10-18 22:56:49 +03:00
Patrick Ulbrich
e60bd9af95 Optimize IMAPMailboxBackend.request_folders 2016-10-16 15:38:13 +02:00
Patrick Ulbrich
5b889c0345 Merge pull request #140 from tikank/mutf8
IMAP specific mutf7 encoding and decoding moved
2016-10-16 15:30:26 +02:00
Timo Kankare
98d12c2af0 Test to check that encode_mutf7 requires unicode parameter. 2016-10-12 22:42:14 +03:00
Patrick Ulbrich
68b611e161 Add (optional) priority argument to HookRegistry.register_hook_func
In preparation for #139
2016-10-12 20:21:56 +02:00
Patrick Ulbrich
b7c2146aac Remove headline from README 2016-10-11 22:19:31 +02:00
Timo Kankare
601b6b0ea7 Writing folder names to config file using UTF-8.
json.dumps is allowed to produce unicode and then the string is encoded to UTF-8, so
that ConfigParser can write it to file.
2016-10-11 22:21:54 +03: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
7517d93dfc Sample test cases to figure out how mutf7 encodes and decodes strings. 2016-10-11 17:30:59 +03:00
Patrick Ulbrich
ca003e5292 Merge pull request #138 from tikank/maildir
Mbox and maildir review fixes and maildir folder handling change
2016-10-09 18:59:49 +02:00
Timo Kankare
c2c0709435 Simplified maildir folder handling to support only root folder and subfolders directly
below mailidir directory. Maildir subfolders should now be expressed as
'folder.subfolder.subfolderssubfolder'.
2016-10-04 22:35:34 +03:00
Timo Kankare
e3a71039dd Review fixes. Instance fields marked as private. reopen argument removed from
open method. Closed maildir after use.
2016-10-04 22:18:11 +03:00
Patrick Ulbrich
647ddfecf4 Merge pull request #137 from tikank/maildir
Maildir backend implementation
2016-10-03 16:04:31 +02:00
Timo Kankare
94047bc3f6 Added test case to ensure that unicode folder names work. 2016-10-02 22:22:26 +03:00
Timo Kankare
459e57a4b0 Fixed json folder test case. 2016-10-02 18:11:02 +03:00
Timo Kankare
cc995bea6b Specified maildir configuration paramters.
"Fixed" unicode error in folder handling. Maildir requires folder names to be str, but 
when folders are configured in json format they are read as a unicode.
2016-10-02 18:10:38 +03:00
Timo Kankare
0700575997 Implementation for listing messages from the subfolders of maildir. 2016-10-02 14:43:53 +03:00
Timo Kankare
1bb85ec714 Local backend tests refactored. Tests are now arraged to classes and sample mailboxes
are created in fixtures.
2016-10-02 09:59:20 +03:00
Timo Kankare
e133cf59fd Preliminary maildir implementation. Folder support is still incomplete 2016-09-30 23:01:30 +03:00
Patrick Ulbrich
aec5bdedef Merge pull request #134 from tikank/mbox
Configuration file changes and first version of mbox mailbox
2016-09-29 22:31:52 +02:00
Patrick Ulbrich
65ca5e3c62 Add install instructions for openSUSE to README.md 2016-09-28 18:56:25 +02:00
Patrick Ulbrich
2b6a8e6318 Add backends package to setup.py 2016-09-23 19:13:56 +02:00
Timo Kankare
8395792c7c Changed mbox list_request to raise an exceptions, since folders are not supported. 2016-09-22 22:15:50 +03:00
Timo Kankare
cdbd3f0a94 Integrated mbox mailbox to the set of backends. 2016-09-20 22:54:31 +03:00
Timo Kankare
84abf559e9 mbox backend implementation. 2016-09-20 22:26:27 +03:00
Timo Kankare
fcef81c6c8 Moved backend creation to Account class. 2016-09-20 22:25:21 +03:00
Timo Kankare
068f6339b4 Using backend specific parameter definitions to store backend settings. 2016-09-20 22:06:48 +03:00
Timo Kankare
eba3c1b933 Defined mailbox backend specific parameters and helper function use them.
Using parameter specifications to read backend parameters.
Unit tests.
2016-09-18 22:39:05 +03:00
Patrick Ulbrich
8481a94d9d Move banner to the top of README 2016-09-18 17:51:31 +02:00
Patrick Ulbrich
e78ca6365c Add troubleshooting section to README.md 2016-09-18 15:30:15 +02:00
Timo Kankare
2a27920e67 Updated backends collection after rebasing branch. 2016-09-17 22:12:14 +03:00
Timo Kankare
ad5c1dce17 Basic test cases for backends. 2016-09-17 22:12:14 +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
da4ef5b577 Update .gitignore 2016-09-17 20:27:27 +02:00