Commit Graph

12 Commits

Author SHA1 Message Date
Clément DOUIN 85f3ce8976 add mailbox handler tests (#225)
* make imap.fetch_mboxes return a Mboxes struct

* add mbox handler tests
2021-10-14 12:52:30 +02:00
Clément DOUIN 8af14734c3 improve mailbox structure (#223)
* split entities, remove manual serialization, add comments

* add mbox arg subbcmds test

* finalize mbox arg tests

* fix typos in comments

* add missing tests for entities

* rename fetch mbox imap fn
2021-10-13 20:48:42 +02:00
Clément DOUIN b7d068c729 improve folder struct + msg management (#217)
* make imap list and search return msg instead of fetch

* move imap logouts to main fn

* improve list command

* improve search command

* improve flags command

* improve template reply

* improve tpl forward command

* refactor tpl and msg reply/forward

* refactor copy, move and write commands

* refactor attachment command

* fix attachment part of copy and move commands

* fix send, save, read and mbox

* put back notify and watch commands

* fix msg encoding

* refactor edit choices, clean dead code

* fix attachment for write, reply and forward commands

* refactor config mod struct

* refactor project folder struct

* fix vim plugin (#215)
2021-10-10 22:58:57 +02:00
Clément DOUIN c7940f72ff review mailboxes command 2021-09-19 16:42:45 +02:00
Clément DOUIN 65664d5405 review flag command, remove lib + dead code 2021-09-19 14:24:00 +02:00
Clément DOUIN 2e27972716 review copy command 2021-09-19 11:18:17 +02:00
Clément DOUIN 474fae06ee move attachment, body and header to dedicated folders 2021-09-19 10:14:25 +02:00
Clément DOUIN e065d8d905 fix new tpl sig 2021-09-18 21:45:26 +02:00
Clément DOUIN 8e2a703e2b improve arg comments, rename arg Match to Command 2021-09-18 15:15:36 +02:00
Clément DOUIN bc5f9045ce improve imap and mbox arg/handler 2021-09-16 16:43:41 +02:00
Clément DOUIN 248240f52d improve entities and services from and try_from 2021-09-16 15:29:20 +02:00
Clément DOUIN 0ed1147f3d move domain stuff to domain/, improve completion 2021-09-16 01:35:31 +02:00