Commit Graph

291 Commits (14f1527e615d763a8885638228618f1f8347295a)

Author SHA1 Message Date
Matthias Beyer 1e729010c1
replace deprecated trim_right() with trim_end()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Message-Id: <20190714115231.7002-1-mail@beyermatthias.de>
5 years ago
Manos Pitsidianakis f13da6a26a
ui: Add pipe action for Pager 5 years ago
Manos Pitsidianakis 0925f2a439
ui: restore Page{Up,Dn} to Pager
When issuing PageUp and PageDn actions to an e-mail pager in
CompactListing, the input action was handled by listing and not the
pager which led to the keys get seemingly ignored.
5 years ago
Manos Pitsidianakis 46a0574713
ui: permanently mark selected rows in self.data_columns
`self.draw_list` detects `bg_color` by checking the first cell of the first column, so set it to make it permanent
5 years ago
Manos Pitsidianakis 93f3d6e230
remove std::dbg uses 5 years ago
Manos Pitsidianakis 70e5949590
ui: add autocomplete for commands in execute bar 5 years ago
Manos Pitsidianakis a028aa9a44
ui: change contact list header colors 5 years ago
Manos Pitsidianakis 74be47ec5a
ui: fix some lints 5 years ago
Manos Pitsidianakis a655a85b5f
ui: fix replies not being synced and inserted properly on RefreshEvents 5 years ago
Manos Pitsidianakis b5ba9c3a8c
ui: force redraw CompactListing after EnvelopeRename event 5 years ago
Manos Pitsidianakis ff2c030c0f
ui: process refresh events immediately 5 years ago
Manos Pitsidianakis 34054d46ea
ui: print and set environment variables 5 years ago
Manos Pitsidianakis 8fefdf80ad
ui: don't send StartupCheck or MailboxUpdate on Envelope change events 5 years ago
Manos Pitsidianakis 22dbc7dd9f
ui: don't print empty history or duplicates 5 years ago
Manos Pitsidianakis f4f3b87f84
ui: add selections to CompactListing
Select multiple entries by pressing 'v'. Set read/unread and delete
actions are then performed on the selected entries.
5 years ago
Manos Pitsidianakis 8c97336307
ui: add set as read/unread, delete actions
Implemented only in compact listing for now.
5 years ago
Manos Pitsidianakis e0e520b2c4
ui: add filter method in ListingTrait
Implemented in CompactListing only for now. Filter results are stored in
the filter* fields of the struct.
5 years ago
Manos Pitsidianakis bb292486f4
ui: expand Listing trait with draw_list and highlight_line
In the course of making the Listing trait a generic way for any kind of
listing (eg. NNTP, RSS, et all)
5 years ago
Manos Pitsidianakis 04fc510ea8
meli: insert new standalone nodes in insert_reply 5 years ago
Manos Pitsidianakis 06862c1484
ui: prevent some unnecessary redraws 5 years ago
Manos Pitsidianakis 9026fb866e
ui: Add ability to call mailing list actions from Envelope view 5 years ago
Manos Pitsidianakis 07700ca00f
ui: Add possible mailing list actions from List-* headers 5 years ago
Manos Pitsidianakis 24831b3c13
Fix warnings, lints, and 2018 errors 5 years ago
Manos Pitsidianakis 8ab8e1309b
add git mirror url for mime_apps and config-rs dependencies 5 years ago
Manos Pitsidianakis 9de93b98d5
Update sample-config, and generate it if missing on startup 5 years ago
Manos Pitsidianakis f1c72588c3
Add authors to Cargo.toml of each package 5 years ago
Manos Pitsidianakis e0df6ce22d
ui: draw to terminal with horizontal sweeping
sweep each line in the dirty areas and avoid redraws because of area
overlap
5 years ago
Manos Pitsidianakis cb83f9fe05
ui: add fluid columns in CompactListing 5 years ago
Manos Pitsidianakis d772d10d66
merge FirstName/LastName fields in Contacts
First names and Last names are an anglocentric concept and do not apply
cleanly to the rest of the world's cultures.
5 years ago
Manos Pitsidianakis b6c0236d24
ui: make EnvelopeRename event not folder specific
And pass EnvelopeRename events to subviews
5 years ago
Manos Pitsidianakis 85d1aaaa69
ui: add PageMovements and colors to ThreadView 5 years ago
Manos Pitsidianakis 6088705745
ui: add PageMovements in ThreadListing 5 years ago
Manos Pitsidianakis 831ec97d64
ui: add columns in PlainListing 5 years ago
Manos Pitsidianakis d3ce424361
ui: add update and expand_headers in MailView 5 years ago
Manos Pitsidianakis 3318123870
ui: add attachment emoji in compact listing 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
Manos Pitsidianakis 6f7b3f20de
move StackVec to melib
closes #120
5 years ago
Manos Pitsidianakis 42654410e3
ui: move Collection to Account
Each account had one mailbox per folder, which had one associated
collection. Now each Account has one Collection for all folders and each
Mailbox object holds only the hashes of each message.

Collection also gets Threads for each folder in order to mix messages
(ie from/to Sent folder).

Insert Sent emails in chronological order

if inserted unsorted, mails a, b with a happened-before b, might never
  get added.

Fix multiple insertions in ThreadTree upon insert_reply

insert_reply was creating multiple copies in threading
5 years ago
Manos Pitsidianakis d8651db93a
delete mailbox_view module 5 years ago
Manos Pitsidianakis f51ea93351
move grapheme stuff to melib 5 years ago
Manos Pitsidianakis 51c913d450
ui: add event queue for folders in Account 5 years ago
Manos Pitsidianakis 7de075df49
ui: add Home/End movements 5 years ago
Manos Pitsidianakis 06b96449c1
ui: add history and autocomplete in execute bar
closes #116 and #117
5 years ago
Manos Pitsidianakis 3c575c823d
ui: toggle thread snooze flag
snooze field translated to whether the user wants to be notified of new
email in the thread or not. This is toggled with an (temp) EX cmd: `toggle_thread_snooze`

closes #112
5 years ago
Manos Pitsidianakis 22d868f499
save Account to disk
closes #114
5 years ago
Manos Pitsidianakis 4582bcd5ae
fix warnings and lints 5 years ago
Manos Pitsidianakis de81fd1a68
ui: don't show notifications if folder is ignore
Also ignore Sent folder by default
5 years ago
Manos Pitsidianakis 3bc22abdff
ui: draw thread arrows correctly in other sortings
thread arrows in ThreadListing weren't drawn correctly when subsorting
was changed (eg date -> subject)

has_sibling was delegated to ThreadsIterator.
5 years ago
Manos Pitsidianakis 2dec7fa6b6
ui: set plain/threaded/compact keeps mailbox position
closes #109
5 years ago