Manos Pitsidianakis
4677f9c6bb
melib/imap: initialise uid_store folders in folders()
5 years ago
Manos Pitsidianakis
81b7195080
ui: add Ctrl-* Alt-* and F1..F12 parsers and tests
5 years ago
Manos Pitsidianakis
2199726b2c
Retidy shortcuts
5 years ago
Manos Pitsidianakis
afff63c781
ui: load vcards to addressbook with vcard_folder account setting
5 years ago
Manos Pitsidianakis
689327651f
melib/vcard: add parser for vcard files
5 years ago
Manos Pitsidianakis
9a516e0663
ui/text_editing: add Ctrl-{f,b,u} readline shortcuts
5 years ago
Manos Pitsidianakis
3dc0cb1963
imap: send 'finished' signal when watch thread dies
5 years ago
Manos Pitsidianakis
436945dabe
Doc: update meli.conf.5 on headers_sticky and pager_context
5 years ago
Manos Pitsidianakis
02aa666845
Doc: add glob for subscribed_folders field info
5 years ago
Manos Pitsidianakis
1df7a35f0f
ui: CellBuffer cleanups
...
- Remove unused Traits etc
- Make scrolling a method
5 years ago
Manos Pitsidianakis
e5f5febd6b
Log notification script failures
5 years ago
Manos Pitsidianakis
db197aaffe
ui/MailView: implement headers_sticky option
...
Kind of hacky, I don't like the way it is done but I'm willing to
compromise.
5 years ago
Manos Pitsidianakis
af365fa8d4
Set 600 perm mode to all created files
...
When creating a data file, set permissions to read/write for the user.
5 years ago
Manos Pitsidianakis
3e33335914
ui/MailView: unwrap Pager out of option
...
There's no need anymore for pager to be inside an Option.
5 years ago
Manos Pitsidianakis
874a252394
ui: add periodic account connectivity check
...
1. spawn thread to send ThreadPulses to the main event loop that "parks" until unparked from State
2. State unparks thread if there are accounts that are offline
3. thread sends ThreadPulse and parks again
4. State checks accounts again and so on.
5 years ago
Manos Pitsidianakis
12e4258ae4
conf: add * glob expansion to subscribed_folders field
...
You can now do:
subscribed_folders = [ "*", ]
5 years ago
Manos Pitsidianakis
b327bee3e4
text_processing: add GlobMatch trait
...
Move GlobMatch trait from ui::mailcap to text_processing in order to use
it for glob matching folder paths in subscribed_folders field of
account configuration. See next commit.
5 years ago
Manos Pitsidianakis
eecec551c1
Display watch thread errors to user
...
Show a proper notification with the error message to the user instead of
just logging it on debug-tracing.
5 years ago
Manos Pitsidianakis
b8e4a35963
melib/imap: add default capabilities to SUPPORTED_CAPABILITIES
5 years ago
Manos Pitsidianakis
41a678c6ef
melib: make MailBackend::folders return Result
...
Change folders() signature:
- fn folders(&self) -> FnvHashMap<FolderHash, Folder>;
+ fn folders(&self) -> Result<FnvHashMap<FolderHash, Folder>>;
Imap may not be online, therefore we need the ability to return an
error.
5 years ago
Manos Pitsidianakis
3d3ead02e9
bin: add --test-config flag
...
meli --test-config PATH tests a configuration file for syntax issues or missing options.
Caveat: right now undefined options/values do not return an error.
Backend specific options are also not validated.
5 years ago
Manos Pitsidianakis
1063bb73b5
shortcuts tidiness
...
- Unflatten shortcuts configuration table.
Shortcuts now have to be defined in levels:
[shortcuts.general]
...
[shortcuts.pager]
...
- Add shortcuts for thread view
- Sort alphabetically in help view
5 years ago
Manos Pitsidianakis
678889d706
ui/threadview: add show_thread shortcut
...
Press 't' by default to toggle thread visibility
5 years ago
Manos Pitsidianakis
f3c938d8c3
Prevent OOM abort when printing large strings
5 years ago
Manos Pitsidianakis
424b244bb7
fixup some TODO and FIXMEs
5 years ago
Manos Pitsidianakis
501f1a0e1e
pager: add minimum_width and split_lines_reflow
...
Add options to pager settings
5 years ago
Manos Pitsidianakis
95991d159b
update manpages
5 years ago
Manos Pitsidianakis
1d4fe66ed0
man: flatten nested list
...
Page setting looks weird in small widths with the nested listing.
5 years ago
Manos Pitsidianakis
05d9ca6e0d
small fixes
5 years ago
Manos Pitsidianakis
022e1f437d
ui/pager: reflow on resize
5 years ago
Manos Pitsidianakis
c62c04e1e7
text-processing: small line_break.rs fix
5 years ago
Manos Pitsidianakis
41d039992c
text-processing: add catch-all line splitting
...
By using Reflow::All, lines are split when overflowing the screen's
width, and start with a special symbol
5 years ago
Manos Pitsidianakis
3d52b1f1b7
ui: fix bracket mode end code typo
...
Thanks to Gert Hulselmans for noticing in 35c3017419
5 years ago
Manos Pitsidianakis
62bfe2a91f
ui: embed editor cleanups
5 years ago
Manos Pitsidianakis
ce646abc7a
ui: add send confirmation dialog in compose tab
...
Confirm before sending mail
5 years ago
Manos Pitsidianakis
458f8da332
ui: fix bounds check in StatusBar
5 years ago
Manos Pitsidianakis
0cea6368d9
ui/embed: fix scrolling area issues
5 years ago
Manos Pitsidianakis
f1588f6002
ui: shortcuts refactoring
5 years ago
Manos Pitsidianakis
8798d84e43
ui: update cached rows on row update in CompactListing
5 years ago
Manos Pitsidianakis
51628ac9d2
ui: move list_management mod to melib
...
list_management module includes some small functions to handle mailing
list metadata (List-* headers)
5 years ago
Manos Pitsidianakis
449a24d075
ui: ListActions changes
...
- Parse List-Post value like List-Unsubscribe: comma separated angle bracket limited list of <mailto:> or <url> values
- Check if List-Archive value is angle bracket delimited
5 years ago
Manos Pitsidianakis
590619de0e
ui/compose: remove thread view in reply composer
...
You don't need to have the thread in the composer anymore, since you can
just switch tabs to the actual thread.
5 years ago
Manos Pitsidianakis
31a86533c5
ui/pager: add Left/Right movements
...
Left/Right movements change the horizontal offset by (page width) / 3.
5 years ago
Manos Pitsidianakis
995e70e009
ui: change line_break meaning in write_string_to_grid
...
Change line_break parameter from bool flag (whether to break in the end
of a line or not) to an Option<usize>, where the value is the x_offset
of the left side of the area. Thus if line_break == Some(_) when a line
ends its value is set as x to continue in the next line properly.
5 years ago
Manos Pitsidianakis
fc2d9a684d
melib/imap: set has_attachments based on BODYSTRUCTURE
...
fetch BODYSTRUCTURE along with ENVELOPE from server and set
has_attachments based on the MIME structure of the envelope.
Notes: BODYSTRUCTURE returns the MIME structure of the envelope without
the data, so if it includes a multipart/mixed it *should* have
attachments.
ENVELOPE returns basic headers of the message like Sender, Subject, Date
etc.
5 years ago
Manos Pitsidianakis
b2cd4f4b7a
melib/imap: put imap folders in RwLock instead of Mutex
...
This should prevent lockups if the IMAP conn thread gets blocked
5 years ago
Manos Pitsidianakis
3c3ee92efb
Small Makefile prettification
5 years ago
Manos Pitsidianakis
a5e272c36e
Add tests/ dir and a test
...
Add a test for generating mail with melib's Draft struct.
5 years ago
Manos Pitsidianakis
094ce7ee69
Add format_flowed option for composing e-mail
...
When format_flowed=true, generated text/plain attachments include the
format=flowed MIME parameter.
format_flowed is set to true by default.
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