Manos Pitsidianakis
64b62352d0
listing: add {unseen,selected,attachment,thread_snoozed} flag config values
3 years ago
Manos Pitsidianakis
b411daddaa
listing/conversations: remove entry padding box character
...
Remove padding each entry with '░' box character.
3 years ago
Manos Pitsidianakis
cf9457882a
melib/mbox: add MboxMetadata type and write support
4 years ago
Manos Pitsidianakis
a4ae4da8b1
Add export-mbox command
4 years ago
Manos Pitsidianakis
22a64e2d76
melib: Remove unnecessary "pub use" std exports
4 years ago
Manos Pitsidianakis
781a1d0e1b
melib/backends: add collection() method to MailBackend
...
Keep track of the Collection state in the backend side
4 years ago
Manos Pitsidianakis
622ded8021
compose: add attribution line for replies
4 years ago
Manos Pitsidianakis
6d63429ad3
Add scrolling context to StatusBar
...
- Whenever a scrolling context is entered/exited, send a ScrollUpdate event.
- StatusBar maintains a stack of scrolling contexts and displays the
last one, if it exists. Each context is associated with a ComponentId.
- To handle dangling contexts after their Components aren't visible
anymore, send a VisibilityChange event in situations where that scenario
is possible.
4 years ago
Manos Pitsidianakis
3dba6fdf60
melib/datetime: add posix locale arg in timestamp_to_string()
4 years ago
Manos Pitsidianakis
1c25ae12eb
Use default_cell in CellBuffer resize(), clear()
4 years ago
Manos Pitsidianakis
2d5f5e767c
listing/conversations: hash addr by addr_spec in from_address_list
...
While accumulating addresses for the 'From' list for each envelope
entry, hash the addresses by the address spec (i.e. the email address)
instead of the entire address. This prevents duplicates of the same
email address but with different display names.
4 years ago
Manos Pitsidianakis
ed826357a3
Don't unwrap try_recv() on async jobs channels
...
Job might have been canceled.
4 years ago
Manos Pitsidianakis
48e7a493a9
Add reload-config command
...
Closes #84 Add "reload configuration" command
4 years ago
Manos Pitsidianakis
e5b0ff4fe2
state: remove runtime_settings
4 years ago
Manos Pitsidianakis
7e1e57a2df
conf/themes: add mail.view.headers_names and mail.view.headers_area
...
Allow separate customization of header names and the rest of the header
area.
4 years ago
Manos Pitsidianakis
f8a47586e9
mail/listing: show mailbox loading state in status
4 years ago
Manos Pitsidianakis
7efbe6d692
listing: fix menu/sidebar not being redrawn on updates
4 years ago
Manos Pitsidianakis
0f86934e16
mail/status: display in-progress jobs first
4 years ago
Manos Pitsidianakis
66dea9148b
mail/view: don't update() if coordinates are unchanged
4 years ago
Manos Pitsidianakis
7b3fb86483
mail/view: reset self.theme_default on loading envelope
...
self.theme_default might have initial value from MailView::default()
which does not correspond to actual theme_default
4 years ago
Manos Pitsidianakis
d8c978ed2d
mail/view/thread: fix scrollbar incorrect rendering
4 years ago
Manos Pitsidianakis
d076ff573f
MailView, StatusBar: Fix area bound check
4 years ago
Manos Pitsidianakis
6dd3b0bb4f
Fix theme_default not being respected
4 years ago
Manos Pitsidianakis
8d9247e9a3
listing: show auto-hide scrollbar in sidebar menu
...
Setting to turn it off is listing.show_menu_scrollbar.
Concerns #85 Accounts sidebar doesn't scroll
4 years ago
Manos Pitsidianakis
b659749880
listing: scroll account sidebar menu
...
Closes #85 Accounts sidebar doesn't scroll
4 years ago
Manos Pitsidianakis
b053aaa145
listing: prevent invalid area in print_account()
4 years ago
Manos Pitsidianakis
883b3e3a4f
mail/view: show multipart/alternative files properly in attachment list
...
Show entire multipart/alternative alternatives in attachment list
instead of only the displayed one, in order for the user to be able to
switch alternatives at will.
4 years ago
Manos Pitsidianakis
98c1ece28d
Update xdg-util dependency to 0.4.0
4 years ago
Manos Pitsidianakis
54b2066f73
mail/view: set dirty after closing ContactSelector
4 years ago
Manos Pitsidianakis
879af75d88
utilities/dialogs: use align_area to create box
4 years ago
Andrew Jeffery
daee4e46de
Allow configuration of the sidebar divider
...
This adds the config option listing.sidebar_divider to set the character
used to show the divider (defaults to ' ') along with the corresponding
theme in mail.sidebar_divider which defaults to the default theme.
4 years ago
Manos Pitsidianakis
0a8a0c04c8
compose: treat inline message/rfc822 as attachments
4 years ago
Manos Pitsidianakis
b46cd09ca6
compose: pass body text when replying
...
Get rendered body text when creating a new reply Composer instead of
rendering the text in the Composer constructor.
Closes #86
4 years ago
Manos Pitsidianakis
bf56c88918
compose: respect auto_choose_multipart_alternative when rendering multipart/alternative attachments to text
4 years ago
Manos Pitsidianakis
73372ff1e7
compose: add show_comments arg to attachment_displays_to_text()
...
Toggle display of attachment comments (for example "this html attachment
was rendered with X filter...") when rendering text.
4 years ago
Manos Pitsidianakis
f69f623818
Fix some invalid area calculations
4 years ago
Manos Pitsidianakis
458209b448
view/thread: clear empty space in draw_list
4 years ago
Manos Pitsidianakis
b7c48a1ed0
view/thread: make list draw area consistent
4 years ago
Manos Pitsidianakis
31e4ed006d
listing: fix off by one error in PageDown movement
4 years ago
Manos Pitsidianakis
179ed52add
compose: grey embed area when embed is stopped
...
When stopping the embedded terminal with Ctrl-Z or SIGSTOP, show the
terminal area greyed out with a message box.
4 years ago
Manos Pitsidianakis
ebc290cc2a
compose: set format flowed if configured in pager
4 years ago
Manos Pitsidianakis
0aa5cf273f
mail/status: don't overwrite "In-progress jobs header"
4 years ago
Manos Pitsidianakis
1c62de57ae
Never return true on processing JobFinished
...
JobFinished events are not meant to be inhibited.
4 years ago
Manos Pitsidianakis
c0e3e78940
listing: dont overdraw menu over listing
4 years ago
Manos Pitsidianakis
aaee6d094c
Fix NO_COLOR cursor highlight in sidebar and progress spinner
4 years ago
Manos Pitsidianakis
60350eaa88
mail/status: add "general" shortcut section
4 years ago
Manos Pitsidianakis
aa73bd71c3
listing: fix mailbox tree rendering
...
Indentation value was being interpreted mirrored (raw binary value in
parenthesis):
0 testing_account (0)
1 ┣━Archives (0)
2 ┃ ┣━2014 (1)
3 ┃ ┃ ┗━10 (11)
4 ┃ ┗━2015 (1)
5 ┃ ┗━05 (10) <- invalid/mirrored
6 ┣━Drafts (0)
Should be:
0 testing_account (0)
1 ┣━Archives (0)
2 ┃ ┣━2014 (1)
3 ┃ ┃ ┗━10 (11)
4 ┃ ┗━2015 (1)
5 ┃ ┗━05 (10)
6 ┣━Drafts (0)
4 years ago
Manos Pitsidianakis
72084da185
Add store_sent_mail option for gmail
...
- store_sent_mail boolean
Store sent mail after successful submission.
This setting is meant to be disabled for non-standard behaviour in
gmail, which auto-saves sent mail on its own.
4 years ago
Manos Pitsidianakis
23777171f2
listing: clear_area in draw_menu
...
Completely clear area in draw_menu instead of resetting ch, fg, bg etc.
4 years ago
Manos Pitsidianakis
cbaf21764c
Remove status tab, move account status page to listing
4 years ago
Manos Pitsidianakis
da69eecafe
mail/status: make AccountStatus public
...
And fix areas passed to write_string_to_grid() to have the same y
coordinate in upper_left and bottom_right part.
4 years ago
Manos Pitsidianakis
6392904047
Replace PosixTimer with async timers
4 years ago
Manos Pitsidianakis
afa74ccfb5
compose: add From text entry autocomplete
4 years ago
Manos Pitsidianakis
594a2bd0dd
listing: add set operations to range select actions
...
Add symmetric difference (default), union, difference and intersection
modifiers for selecting ranges. That way you can quickly construct the
selection set you need.
4 years ago
Manos Pitsidianakis
05ef863a45
utilities: move PageMovement to components mod
4 years ago
Manos Pitsidianakis
9f39a7c5a1
statusbar: delete num buffer chars with Backspace
4 years ago
Manos Pitsidianakis
bb51d36579
composer: send NewJob event on submission
4 years ago
Manos Pitsidianakis
ddfec3e207
listing: fix menu draw artifact
4 years ago
Manos Pitsidianakis
a702a04043
melib/attachments: add SMIME signature variant
4 years ago
Manos Pitsidianakis
5acd7dfe1c
mail/view: prevent spurious redraw in special modes
4 years ago
Manos Pitsidianakis
3949cecb75
mail/composer: add scrollbars
4 years ago
Manos Pitsidianakis
4c1a9b2485
Fix minor warnings
4 years ago
Manos Pitsidianakis
03a1d5a985
listing: Update status on all update events
...
Envelope counter totals might remain stale in the bottom status bar.
4 years ago
Manos Pitsidianakis
e4cddbad25
mail/view: send NewJob event on new jobs
...
NewJob event wasn't sent so the message loading jobs were not accounted
in the busy spinner animation
4 years ago
Manos Pitsidianakis
0c68807814
Add export-mail command
4 years ago
Manos Pitsidianakis
310d02042f
Rename toggle_thread_snooze to "toggle thread_snooze"
...
For consistency with other toggle commands.
4 years ago
Manos Pitsidianakis
188e020bd1
Add opt-in mouse support
...
Sidebar width can be resized with mouse hold and drag.
4 years ago
Manos Pitsidianakis
6f31388b27
compose: add EditAttachments menu
4 years ago
Manos Pitsidianakis
5337a54d96
compose: move gpg mod to its own file
4 years ago
Manos Pitsidianakis
b343530f0c
widgets: add button type parameter to FormWidget
4 years ago
Manos Pitsidianakis
9ce62c735a
compose: add key selection state for gpg operations
...
Closes #81
4 years ago
Manos Pitsidianakis
39fab67523
compose: use melib::Bytes pretty print for attachment size
4 years ago
Manos Pitsidianakis
0ca7b0042e
utilities: ensure Form/Button widgets are not always non-dirty
4 years ago
Manos Pitsidianakis
406af1848f
compose: add `add-attachment-file-picker` command
4 years ago
Manos Pitsidianakis
a4b78532b7
Refactor job structs into JoinHandle
...
Put oneshot::channel<R> into JoinHandle<R>
4 years ago
Manos Pitsidianakis
0dd9e6a34b
compose: kill selectors on ComponentKill
4 years ago
Manos Pitsidianakis
eb1cb5cec6
compose: expand cursor reach to attachment area
4 years ago
Manos Pitsidianakis
bc74379b27
mailview: don't process_event if coordinates uninitialised
4 years ago
Manos Pitsidianakis
be45b0c02d
compose: add encrypt layer
4 years ago
Manos Pitsidianakis
3ec1ecb349
Add import mail action
4 years ago
Manos Pitsidianakis
a2f11c341d
compose: add async draft filter stack in sending mail
...
Add a stack of "filter" closures that edit a draft before sending it.
Add PGP signing filter. An encryption filter will be added in a future
commit.
4 years ago
Manos Pitsidianakis
08df7f39b2
Add toggle encrypt action in composer
...
Does nothing for now, will be used in a future commit.
4 years ago
Manos Pitsidianakis
74f31875b8
listing: fix menu gaining focus if not visible
4 years ago
Manos Pitsidianakis
23ca41e3e8
add libgpgme feature
4 years ago
Manos Pitsidianakis
b9c07bacef
melib: decode text inline message/rfc822 attachments
4 years ago
Manos Pitsidianakis
b0e50a29bd
melib/list_management: don't ignore "NO" in List-Post
4 years ago
Manos Pitsidianakis
fba69d1e5d
SearchBackend: add Auto variant as default
4 years ago
Manos Pitsidianakis
7dfa6c0639
view/thread: use reverse colors in cursor in case of NO_COLOR
4 years ago
Manos Pitsidianakis
fbf2b7dc7b
sidebar: add customizable mailbox tree
...
Concerns #72
4 years ago
Manos Pitsidianakis
83bee279e6
melib/email/compose: set attachment status
...
Set Content-Disposition: attachment to, well, attachments.
4 years ago
Manos Pitsidianakis
d862e7bf53
statustab: don't process scrolling events if account is open
4 years ago
Manos Pitsidianakis
e60eb23f4d
statustab: show active jobs
4 years ago
Manos Pitsidianakis
fadf20d7b1
NotificationType: add melib::ErrorKind
4 years ago
Manos Pitsidianakis
c9a06b9b5c
mail/view: unset self.dirty early on draw
4 years ago
Manos Pitsidianakis
51db5b6c2f
listing/conversations: redraw selection undo on Esc
4 years ago
Manos Pitsidianakis
14de776314
listing/plain: add row_attr! macro
4 years ago
Manos Pitsidianakis
20b02ffd4f
Lookup tag color/ignore settings in all three setting levels
...
There are three setting levels for tag settings:
- per mailbox override ^
- per account override |
- global setting |
depth
So lookup in each of them in this order for configuration, not just the
deepest level.
4 years ago
Manos Pitsidianakis
4829e13c47
melib/maildir: impl copy_messages for Maildir
4 years ago
Manos Pitsidianakis
a1585d4006
components/listing: draw rows select status at all times
4 years ago
Manos Pitsidianakis
ed27ed604c
listing: select multiple messages with a motion
...
- Press a number (movement multiplier)
- Press "select_entry" shortcut (default: v)
- Press a movement (arrow keys, PageUp/Down, Home/End)
- Resulting selection will be symmetric difference of previous selection
plus all the entries traversed with movement
4 years ago