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
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
62f3d12253
ui/view: move reply and edit to view.rs
...
reply and edit actions where only in view/thread.rs, so simple envelope
views had no way to reply. view.rs is used standalone or within
view/thread.rs so it is the appropriate place for the actions.
5 years ago
Manos Pitsidianakis
f8a2ce0bed
ui: small bounds checking fix in view.rs
5 years ago
Manos Pitsidianakis
f8a1a6caa5
melib: replace find_thread_group with find_root_hash
...
thread_group property of ThreadNode doesn't yet reflect the actual root
ThreadNode (the root of the thread, that is). So find the root manually
instead.
5 years ago
Manos Pitsidianakis
1168804cf8
ui: add reflow property to Pager
...
For displaying format=flowed formatted text/plain attachments properly.
5 years ago
Manos Pitsidianakis
e1dec05881
ui/embed: don't increase cursor with multibyte chars
...
When waiting for a multibyte unicode codepoint to fill up, don't
increase cursor at all.
5 years ago
Manos Pitsidianakis
bd4cf860fa
ui: persist row highlighting in CompactListing
5 years ago
Manos Pitsidianakis
f3a3668f3f
ui: correct redrawing when entering Execute command
5 years ago
Manos Pitsidianakis
0d03116e8a
ui: correct row highlighting in CompactListing
5 years ago
Manos Pitsidianakis
321be8555f
Cleanup startup error exit paths
...
Make startup methods return Results so that the main binary can exit
cleanly instead of using std::process::exit from arbitrary positions,
which exits the process immediately and doesn't run destructors.
5 years ago
Manos Pitsidianakis
aeb9d046a2
ui/ThreadListing: fix uninitialized array entry crash
...
If ThreadListing is uninitialized, self.locations is empty and
coordinates() would panic.
5 years ago
Manos Pitsidianakis
7463248da8
melib: change BackendOp::set_flag() signature
5 years ago
Manos Pitsidianakis
ede512200b
conf: move FolderConf to melib
...
This will be needed to add notmuch-specific configuration settings in
the FolderConf struct in the next commit
5 years ago
Manos Pitsidianakis
56cda63c83
Fix some warnings
5 years ago
Manos Pitsidianakis
c2da09de99
ui/sqlite3: insert account if non-existent
5 years ago
Manos Pitsidianakis
94152f7336
ui: add multiplier shortcuts to cursor movements
...
Prepend a cursor movement (Up/Down/PageUp/PageDown) with a multiplier
(e.g 23+Down, that is '2' then '3' then 'Down') to increase the
movement's length.
5 years ago
Manos Pitsidianakis
134178a74a
ui/sqlite3: add remove/update for RefreshEvent
...
Remove and/or update envelopes in sqlite3 db when the appropriate events
happen.
5 years ago
Manos Pitsidianakis
c6a4fcb959
ui: fix Account watching bug
...
Account::is_online(&mut self) should be called from ui/src/state.rs
only, since it launches the watcher threads when an account goes from
offline to online. If it's called from elsewhere the watcher threads
might not get launched ever.
5 years ago
Manos Pitsidianakis
c9c4e1ea60
ui/sqlite3: add has:attachment query
5 years ago
Manos Pitsidianakis
35e34d1c09
ui: add "is:" alias for "flags:" query
5 years ago
Manos Pitsidianakis
6ce88667c0
ui/sqlite3: add flag query support
5 years ago
Manos Pitsidianakis
dce1c39b48
ui: add mailcap support
5 years ago
Manos Pitsidianakis
9cd00cf53a
sqlite3: add accounts and folders table
5 years ago
Manos Pitsidianakis
1d6ef92a4f
ui: make StatusPanel grid growable
5 years ago
Manos Pitsidianakis
776dc107c2
Fix Pager::print_string() with empty string
5 years ago
Manos Pitsidianakis
97e20b22a8
ui: update PlainListing
...
Remake PlainListing after CompactListing to add columns, filtering,
selection.
5 years ago
Manos Pitsidianakis
0cbc44fd0e
ui: exit contact add dialog with Esc in mail view
5 years ago
Manos Pitsidianakis
06d99c7f92
ui: Add save attachment command
...
use as `save-attachment ATTACHMENT_INDEX PATH`
5 years ago
Manos Pitsidianakis
1bd343988e
ui: add horizontal scrolling in pager
...
It only took what, 3 years?
5 years ago
Manos Pitsidianakis
e600b0252f
text_processing: add line_break method
...
In preparation for format=flowed support, add a line_break method in the
text_processing Trait, now renamed from Graphemes to TextProcessing.
5 years ago
Manos Pitsidianakis
098982015b
ui/conversations: show all participating addresses in entry
...
Show all unique From: values of addresses in thread entries in
Conversations
5 years ago
Manos Pitsidianakis
74672f0807
ui: Add CacheType option in configuration
...
CacheType's value dictates which cache backend to use: none, or sqlite3
5 years ago
Manos Pitsidianakis
229e879c26
ui/imap: select user given folder before search
...
IMAP search() didn't select a folder before searching, thus searching
the mailbox the previous user of self.connection had selected.
5 years ago
Manos Pitsidianakis
99697a8fd5
ui: Add search for IMAP
...
Add basic search utilising the default SEARCH capability.
5 years ago
Manos Pitsidianakis
27edd96493
Cache and Sqlite3 cleanups
5 years ago
Manos Pitsidianakis
e396b2f72b
ui: add query translation to SQL SELECTs
5 years ago
Manos Pitsidianakis
7936aef476
Fix infinite watch threads spawning
...
Watch threads were launched every time the account's online status was
checked, added a check to only do it when it was previously offline.
5 years ago
Manos Pitsidianakis
749d453f00
ui: add query parsers
5 years ago
Manos Pitsidianakis
8488ce21bf
ui: move is_online() check to Context
...
Context needs to know when an account gets online in order to get the
mailbox hashes and launch the watcher threads for this account. Instead
of assuming all accounts are online when launching meli, move the
initialisation logic to an is_online() method on Context to do it on
demand.
The is_online() method is then called by ui::components::mail::Listing
everytime it's drawn to check for status changes.
5 years ago
Manos Pitsidianakis
61fa6d3d4b
ui: show supported IMAP CAPABILITIES list in Status
...
In status page for IMAP accounts, show a list of CAPABILITIES and
whether meli supports them
5 years ago