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
274c3fb70c
Defined mailbox type to be '' (empty string) for new account.
2016-10-20 22:44:39 +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
Timo Kankare
98d12c2af0
Test to check that encode_mutf7 requires unicode parameter.
2016-10-12 22:42:14 +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
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
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
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
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
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
Timo Kankare
ad5c1dce17
Basic test cases for backends.
2016-09-17 22:12:14 +03:00