Manos Pitsidianakis
52a89ddf94
Add license comment to melib/src/structs.rs
2019-10-15 23:47:37 +03:00
Manos Pitsidianakis
ea3f47fa44
ui: clear all state in Listing::set_coordinates
...
If a listing lists search results, ie when "filtering" with a filter
term, it sets up its state in filtered_selection, filtered_order etc.
set_coordinates() should reset that state.
2019-10-07 16:47:05 +03:00
Manos Pitsidianakis
d32f0982a9
melib: StackVec fixups
...
Fix bound checks and add clear() method
2019-10-07 16:46:32 +03:00
Manos Pitsidianakis
fe4349692e
ui: break line when printing mailing list actions
...
Break line instead of hiding the mailing list actions from the user.
2019-10-06 11:33:18 +03:00
Manos Pitsidianakis
febea423d9
ui: Add RawBuffer component for raw ansi content
2019-10-06 11:32:47 +03:00
Manos Pitsidianakis
6f816d29c5
conf: add ascii_drawing option
...
If set to true, box drawing is done with ascii characters.
2019-10-06 11:32:35 +03:00
Manos Pitsidianakis
b25f10f92a
conf: add a light theme option
2019-10-06 11:31:53 +03:00
Matthias Beyer
a0602274f8
Run cargo fmt
2019-10-04 20:47:25 +03:00
Manos Pitsidianakis
2bdb41311e
Remove unused imports from testing/src/imap_conn.rs
2019-10-04 20:42:01 +03:00
Matthias Beyer
fa29aec83d
Fix: Add missing parameter
...
Reviewed-by: Manos Pitsidianakis <epilys@nessuent.xyz>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2019-10-04 20:34:19 +03:00
Manos Pitsidianakis
c2fd0bc794
conf: add missing IMAP options in meli.conf.5
2019-10-03 19:58:52 +03:00
Manos Pitsidianakis
9a3b9b1409
conf: move html_filter to PagerSettings
...
html_filter was in Account settings, but it makes more sense for it to
be in PagerSettings
2019-10-03 19:51:34 +03:00
Manos Pitsidianakis
ee9ffffa12
bin: C-L issues manual redraw
2019-10-03 19:11:28 +03:00
Manos Pitsidianakis
f14381056f
ui: small fix in view.rs
2019-10-03 19:11:02 +03:00
Manos Pitsidianakis
f485079404
ui: align buttons in Selector
...
Correct alignment of Ok, Cancel buttons
2019-10-03 14:38:58 +03:00
Manos Pitsidianakis
37a4b553bc
ui: ask user if they want to reply or reply to all in mailing lists
2019-10-03 12:22:01 +03:00
Manos Pitsidianakis
cd761b3166
ui: revamp option dialog
...
Selector component shows choices/options to the user. Ok and Cancel
buttons were added, along with a window border and window title.
2019-10-03 01:03:20 +03:00
Manos Pitsidianakis
fb8a4b020d
Add IMAP configuration in sample-config
2019-10-02 19:28:45 +03:00
Manos Pitsidianakis
51bb50abf3
Add support for aarch64 target
2019-09-29 15:44:15 +03:00
Manos Pitsidianakis
2b5472adc3
Add set_seen shortcut in CompactListing
2019-09-29 01:55:39 +03:00
Manos Pitsidianakis
c7bcb9e553
Reexport debug-tracing feature from main Cargo.toml
...
Main crate's feature didn't enable the same feature in the workspace
subcrates.
2019-09-28 23:11:48 +03:00
Manos Pitsidianakis
b7edec0274
Bump version to 0.3.2
2019-09-28 12:25:44 +03:00
Manos Pitsidianakis
47d60f480a
Add path shell expansion to logging and attachments
2019-09-28 12:19:22 +03:00
Manos Pitsidianakis
e35a93336a
Add GPG signing and sig verifying
2019-09-28 12:19:22 +03:00
Manos Pitsidianakis
963fdd1575
Add Cargo.lock
2019-09-28 10:42:51 +03:00
Manos Pitsidianakis
5a262f3ffc
maildir: check for moved mail before moving
...
When moving mail from new/ to cur/ in a Maildir folder, don't panic if
it fails; someone else must have moved it.
2019-09-27 22:38:10 +03:00
Manos Pitsidianakis
250129665b
Pass attachment names through decoding
...
Attachment names in Content-Type parameters can be encoded (eg
=?UTF-8...), so try decoding with phrase() first
2019-09-27 22:21:35 +03:00
Manos Pitsidianakis
19ec6e54fc
Dont show notification for seen or draft Envelopes
2019-09-27 13:40:02 +03:00
Manos Pitsidianakis
31543bf2f9
ui: update CompactListing based on ConversationsListing
2019-09-27 13:40:02 +03:00
Manos Pitsidianakis
b3e1d88898
compose: rename Overview to ThreadView
2019-09-27 13:40:02 +03:00
Manos Pitsidianakis
d8ada69897
compose: don't lose draft if Draft folder isn't available
...
Try saving in INBOX or another folder instead. On complete failure, save
in /tmp/
2019-09-27 13:40:02 +03:00
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.
2019-09-27 13:40:02 +03:00
Manos Pitsidianakis
d44a68ec69
ui: don't quit if editing a draft
...
Ask user to save draft or discard it.
2019-09-27 13:40:02 +03:00
Manos Pitsidianakis
713c4f73b9
conf: add editor_cmd setting
...
Set the editor to launch in configuration. If it's missing, check for
$EDITOR
2019-09-27 13:39:55 +03:00
Manos Pitsidianakis
9d69a06807
melib: add ShellExpandTrait
...
Add trait to expand "~" and environment variables in paths.
2019-09-26 18:27:13 +03:00
Manos Pitsidianakis
0ece51612f
update bincode to 1.2.0
2019-09-26 18:25:30 +03:00
Manos Pitsidianakis
fa121820f7
Bump version to 0.3.1
2019-09-26 14:11:24 +03:00
Manos Pitsidianakis
8c78f118e4
Add info about debug logs in README and Cargo.toml
2019-09-26 14:09:08 +03:00
Manos Pitsidianakis
ef338f353d
ui: add PGP settings in configuration
2019-09-26 14:09:01 +03:00
Manos Pitsidianakis
c44056a9ff
melib: fix bug in parser::parts
...
At a certain point when expecting a line terminator parts() checks for
'\n' but not '\r\n'. This resulted in all multipart attachments coming
from b"\r\n" sources like IMAP having only one part when parsed.
2019-09-26 13:11:54 +03:00
Manos Pitsidianakis
6d40a57a2e
ui: scroll in shortcuts panel
2019-09-26 13:11:53 +03:00
Manos Pitsidianakis
91ae539de1
Small fixes
2019-09-26 13:11:49 +03:00
Manos Pitsidianakis
f27b815aa7
Add verification of GPG signed messages
2019-09-26 13:11:08 +03:00
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`.
2019-09-26 13:10:06 +03:00
Manos Pitsidianakis
5a53020f3d
Add debug-tracing feature to all crates
...
The feature needs to be defined in all manifests in order to be enabled
in all crates.
2019-09-23 09:36:46 +03:00
Manos Pitsidianakis
26e4d50b40
Try to save sent messages elsewhere if Sent folder fails
...
If Sent folder wasn't correctly configured, the sent message would be
lost. With this change it tries these folders in this order:
1. Sent
2. Inbox
3. Any other normal folder
The check is done by looking at the special usage metadata on each
folder. If everything fails, the message is saved in a file in the
tmpfs.
2019-09-23 09:30:23 +03:00
Manos Pitsidianakis
ed248be031
Restore accidentally removed README
2019-09-22 22:51:34 +03:00
Manos Pitsidianakis
415fb2455b
ui: display status bar messages for 5 seconds
2019-09-22 13:35:50 +03:00
Manos Pitsidianakis
b07db29a19
ui: add timer tick every 300ms
...
Check for pending events in the main process by receiving a timer event
every 300ms. This way loaded folders or received emails will get
recognized even if the appropriate informing signals got lost.
2019-09-22 11:00:05 +03:00
Manos Pitsidianakis
d007ef7e00
testing: add server_port to IMAP shell app, imapconn
2019-09-22 10:13:48 +03:00