Manos Pitsidianakis
3dba6fdf60
melib/datetime: add posix locale arg in timestamp_to_string()
4 years ago
Manos Pitsidianakis
a7c0bca8ce
Fix test errors and warnings
4 years ago
Manos Pitsidianakis
2544f54107
melib/compose: prevent bare newlines in finalised drafts
4 years ago
Manos Pitsidianakis
afe7eed9ef
melib/compose: don't base64 encode unless it's not ascii
4 years ago
Manos Pitsidianakis
afee1e2be5
melib/compose: fix wrong Content-Type on PGP signatures and message/rfc822
4 years ago
Manos Pitsidianakis
e407b1e224
melib: add README.md and email module doco
4 years ago
Manos Pitsidianakis
83bee279e6
melib/email/compose: set attachment status
...
Set Content-Disposition: attachment to, well, attachments.
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
14663e46b9
Remove some old TODO comments
4 years ago
Manos Pitsidianakis
8d50e83a33
melib/email: add case-insensitive Header struct
...
- HeaderName is either 32 or less inlined bytes or heap-allocated vec for more than that.
- Equality and hashing is case-insensitive
- A HeaderMap is a hashmap from HeaderName to Strings that can be
indexed with &str, case insensitive. Insertion order is also preserved
4 years ago
Manos Pitsidianakis
9928ee78e7
Add Reply{ToAuthor,ToAll} actions
...
- previous Reply action now lets you select recipients by default
- ReplyToAuthor selects the Envelope author as recipient
- ReplyToAll selects all addresses
4 years ago
Manos Pitsidianakis
9afbdd4887
Add insert_user_agent option in composing
...
Add option for automatically inserting a 'User-Agent' header in new
drafts.
4 years ago
Manos Pitsidianakis
a7e177586a
Fix clippy lints
4 years ago
Manos Pitsidianakis
b3876113aa
BackendOp: return future in as_bytes()
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
eb701695f7
Remove fnv crate
4 years ago
Manos Pitsidianakis
5842a63e37
melib: ignore Draft body if empty for multipart mail
5 years ago
Manos Pitsidianakis
6a096dd405
Add missing copyright preambles
5 years ago
Manos Pitsidianakis
c0ac643f05
melib: add datetime module
...
Datetime module adds POSIX time functions interface
5 years ago
Manos Pitsidianakis
81c70b0136
melib: small test cosmetic fixes
5 years ago
Manos Pitsidianakis
d048d8566d
ui: add format=flowed if text/plain att is the only one
5 years ago
Manos Pitsidianakis
3dfb2f4f2c
melib: fix out-of-bounds parser bug
5 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
04e1137b36
melib: add "On ${date} ${author} wrote" heading in replies
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
47d60f480a
Add path shell expansion to logging and attachments
5 years ago
Manos Pitsidianakis
e35a93336a
Add GPG signing and sig verifying
5 years ago
Manos Pitsidianakis
68c40a2920
melib: return Result with error when an IO operation fails
...
Don't unwrap anything because this might be temporary, for example a
short IMAP disconnection.
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
2492bc91b2
melib: add attachment_from_file()
5 years ago
Manos Pitsidianakis
c87ed5012d
melib: add attachment support in email/compose.rs
5 years ago
Manos Pitsidianakis
572944e917
melib: add version from Cargo manifest to User-Agent field
5 years ago
Manos Pitsidianakis
f33594fba8
melib: reply to In-Reply-To address if available
5 years ago
Manos Pitsidianakis
ba1d0c42e0
melib: add struct and parser for mailto: links
5 years ago
Manos Pitsidianakis
c6674a294d
melib: unwrap mailbox module
5 years ago