Commit Graph

31 Commits (733de5a5fbd0115ea02393f6caab99d728e189eb)

Author SHA1 Message Date
Manos Pitsidianakis 733de5a5fb
Fix some clippy suggestions 3 years ago
Manos Pitsidianakis a702a04043
melib/attachments: add SMIME signature variant 4 years ago
Manos Pitsidianakis 23ca41e3e8
add libgpgme feature 4 years ago
Manos Pitsidianakis b9c07bacef
melib: decode text inline message/rfc822 attachments 4 years ago
Manos Pitsidianakis e407b1e224
melib: add README.md and email module doco 4 years ago
Manos Pitsidianakis 64a2af3777
melib/email: smarter attachment detection
Look for Content-Disposition: attachment to detect attachments
4 years ago
Manos Pitsidianakis 366e557e1c
melib/email: don't do case sensitive eq for mime parameters 4 years ago
Manos Pitsidianakis be57b65dae
melib/email: add flags arg to Mail::new 4 years ago
Manos Pitsidianakis c6c0da7fcb
melib: cleanup commit
Cleanup melib module exports, add some document tests, change some
documentation.
4 years ago
Manos Pitsidianakis 8c6c9806b5
Fix some clippy lints 4 years ago
Manos Pitsidianakis c0f8bc1aed
melib/email/attachments: add Content-Disposition 4 years ago
Manos Pitsidianakis 6ec249dd7f
melib: update nom dependency from 3.2.0 to 5.1.1
That was hecking exhausting
4 years ago
Manos Pitsidianakis ad2a51891b
melib: print attachment name in Display for text/* 4 years ago
Manos Pitsidianakis 33c1bf6558
Add consume newlines flag to phrase() 4 years ago
Manos Pitsidianakis 92826f982f
melib/attachments: add MultipartType::Related kind 4 years ago
Manos Pitsidianakis ce646abc7a
ui: add send confirmation dialog in compose tab
Confirm before sending mail
5 years ago
Manos Pitsidianakis 953c3aa9d0
melib: Add parameters field in ContentType::Text
Intending to add the option to set the parameter format=flowed in the
next commits
5 years ago
Manos Pitsidianakis dce1c39b48
ui: add mailcap support 5 years ago
Manos Pitsidianakis 06d99c7f92
ui: Add save attachment command
use as `save-attachment ATTACHMENT_INDEX PATH`
5 years ago
Manos Pitsidianakis 1a02491f04
ui/compose: add modification detection
Detect if modifications were done to the draft in the compose tab so
that we can ask for confirmation if user wants to quit an unsaved draft.
5 years ago
Manos Pitsidianakis e35a93336a
Add GPG signing and sig verifying 5 years ago
Manos Pitsidianakis f27b815aa7
Add verification of GPG signed messages 5 years ago
Manos Pitsidianakis 9305e543cf
melib: add a `body` field to Attachment
Attachment needs to know the range of bytes where the body part of the
attachment is located. The Attachment.raw field contains the entire
attachment, headers and body. The new Attachment.body fields contains a
`StrBuilder` which contains the offset and length of the body part inside
`raw`.
5 years ago
Manos Pitsidianakis ecb3fd7f3d
Add dyn keyword to Trait objects
And fix some unused var warnings as well
5 years ago
Manos Pitsidianakis 0812242f60
Add IMAP backend
TODOs: new message events (untagged responses)
5 years ago
Manos Pitsidianakis d73069bc80
melib: add Other and OctetStream content types 5 years ago
Manos Pitsidianakis c17bb24f0d
melib: refactor attachments and attachment_types interfaces 5 years ago
Manos Pitsidianakis 24831b3c13
Fix warnings, lints, and 2018 errors 5 years ago
Manos Pitsidianakis 8a07087393
add testing crate with emailparse bin 5 years ago
Manos Pitsidianakis d0039740b0
melib: add has_attachments property to Envelope
Check subattachments in has_attachments check.

Instead of getting a flattened attachment view of multipart/mixed (eg
[multipart/mixed, text/plain, text/plain]) get only the subattachments
(eg [text/plain, text/plain]). Don't count text-only multipart/mixed as attachments
5 years ago
Manos Pitsidianakis c6674a294d
melib: unwrap mailbox module 5 years ago