Manos Pitsidianakis
9d7e877510
listing/plain: move flags to subject column
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
ad2a10478e
listing/compact: move flags to subject column
...
Flags (attachment, unseen, etc) being their own column
overcomplicated code, so just prepend them to subject column.
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
64b62352d0
listing: add {unseen,selected,attachment,thread_snoozed} flag config values
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
b411daddaa
listing/conversations: remove entry padding box character
...
Remove padding each entry with '░' box character.
2021-07-18 10:26:19 +03:00
Manos Pitsidianakis
d16866e0f0
notifications: run update_xbiff even if notifications disabled
2021-01-15 16:41:40 +02:00
Manos Pitsidianakis
24b4c117e7
melib: don't use both {set,push}_references()
...
set_references() already calls push_references()
2021-01-15 16:41:40 +02:00
Manos Pitsidianakis
48d4343082
utilities/ProgressSpinner: add interval field and new spinners
2021-01-11 19:11:08 +02:00
Manos Pitsidianakis
2dfeb29b75
jobs/Timer: add set_interval()
2021-01-11 19:11:08 +02:00
Manos Pitsidianakis
cf9457882a
melib/mbox: add MboxMetadata type and write support
2021-01-11 19:11:08 +02:00
Manos Pitsidianakis
a4ae4da8b1
Add export-mbox command
2021-01-10 01:45:03 +02:00
Manos Pitsidianakis
22a64e2d76
melib: Remove unnecessary "pub use" std exports
2021-01-10 01:40:27 +02:00
Manos Pitsidianakis
781a1d0e1b
melib/backends: add collection() method to MailBackend
...
Keep track of the Collection state in the backend side
2021-01-10 01:31:27 +02:00
Manos Pitsidianakis
eb8d29813c
utilities/Tabbed: send VisibilityChange event on changing tab
2021-01-08 18:37:51 +02:00
Manos Pitsidianakis
08af46f5ef
melib/datetime: fix test compile failure
2021-01-08 18:37:51 +02:00
Manos Pitsidianakis
622ded8021
compose: add attribution line for replies
2021-01-08 15:01:38 +02:00
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.
2021-01-08 15:01:38 +02:00
Manos Pitsidianakis
eca10a5660
melib/backends: add mailbox management events to RefreshEventKind
...
Add mailbox management events from RFC 5423 Internet Message Store
Events
https://tools.ietf.org/html/rfc5423#page-8
2021-01-08 15:01:38 +02:00
Manos Pitsidianakis
3dba6fdf60
melib/datetime: add posix locale arg in timestamp_to_string()
2021-01-08 15:01:37 +02:00
Manos Pitsidianakis
1c25ae12eb
Use default_cell in CellBuffer resize(), clear()
2021-01-05 17:12:14 +02:00
Manos Pitsidianakis
ccc083cf88
Rewrite Cellbuffer Debug impl
2021-01-05 17:12:14 +02:00
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.
2020-12-25 06:10:28 +02:00
Manos Pitsidianakis
9124ad0ae7
conf/accounts: remove some unnecessary unwraps
2020-12-25 06:10:28 +02:00
Manos Pitsidianakis
ed826357a3
Don't unwrap try_recv() on async jobs channels
...
Job might have been canceled.
2020-12-25 06:10:28 +02:00
Manos Pitsidianakis
48e7a493a9
Add reload-config command
...
Closes #84 Add "reload configuration" command
2020-12-02 21:01:22 +02:00
Manos Pitsidianakis
e5b0ff4fe2
state: remove runtime_settings
2020-12-02 21:01:22 +02:00
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.
2020-12-02 17:10:42 +02:00
Manos Pitsidianakis
f8a47586e9
mail/listing: show mailbox loading state in status
2020-12-02 17:10:42 +02:00
Manos Pitsidianakis
7efbe6d692
listing: fix menu/sidebar not being redrawn on updates
2020-12-01 20:03:58 +02:00
Manos Pitsidianakis
0f86934e16
mail/status: display in-progress jobs first
2020-12-01 20:03:58 +02:00
Manos Pitsidianakis
c5a5c2666b
utilities/pager: show scrolling percentage and/or search results position
2020-12-01 20:03:58 +02:00
Manos Pitsidianakis
7db32ff1b3
terminal/cells: return success flag in CellBuffer::resize()
2020-12-01 01:04:27 +02:00
Manos Pitsidianakis
857d4d546f
utilities/pager: use LineBreakText for lazy line breaking
2020-12-01 01:04:27 +02:00
Manos Pitsidianakis
4914f29e20
themes: make conversations defaults grey
2020-11-30 02:20:09 +02:00
Manos Pitsidianakis
66dea9148b
mail/view: don't update() if coordinates are unchanged
2020-11-29 00:54:27 +02:00
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
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
d8c978ed2d
mail/view/thread: fix scrollbar incorrect rendering
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
d076ff573f
MailView, StatusBar: Fix area bound check
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
6cbb89a8e5
utilities/widgets: fix tiny scrollbar grievances
...
- set minimum width/height to 1
- set reverse terminal attribute on !use_color
- use < > ^ v arrows and # block char if ascii_drawing
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
aa89969dca
utilities: use align_area in shortcut help panel
...
Before this commit shortcut help panel used to span almost all of the screen.
Use align_area() to center shortcut help box to its minimally required
size.
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
6a67322570
utilities: add scrollbar on y overflow in shortcuts panel
2020-11-28 20:33:14 +02:00
Manos Pitsidianakis
de018294e4
conf/themes: make notifications bg default color instead of red
2020-11-28 16:33:30 +02:00
Manos Pitsidianakis
6dd3b0bb4f
Fix theme_default not being respected
2020-11-28 16:33:30 +02:00
Manos Pitsidianakis
714ccb5e16
Move Color to src/terminal/color.rs
2020-11-28 16:33:30 +02:00
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
2020-11-28 16:33:10 +02:00
Manos Pitsidianakis
b659749880
listing: scroll account sidebar menu
...
Closes #85 Accounts sidebar doesn't scroll
2020-11-28 16:32:16 +02:00
Manos Pitsidianakis
b053aaa145
listing: prevent invalid area in print_account()
2020-11-28 16:03:36 +02:00
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.
2020-11-28 15:59:25 +02:00
Manos Pitsidianakis
98c1ece28d
Update xdg-util dependency to 0.4.0
2020-11-28 15:59:25 +02:00
Manos Pitsidianakis
54b2066f73
mail/view: set dirty after closing ContactSelector
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
007e6320d5
utilities: respect theme_default in shortcut dialog
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
e01275cd93
utilities/dialogs: add cursot Unfocused state as default
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
879af75d88
utilities/dialogs: use align_area to create box
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
6a5bb2e057
Add align_area() and Alignment enum
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
311c1a8a95
utilities/dialogs: respect theme_default
2020-11-25 21:19:22 +02:00
Manos Pitsidianakis
ce5c7848e8
utilities: move dialogs to its own submodule
2020-11-25 21:19:22 +02:00
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.
2020-11-25 15:54:47 +02:00
Manos Pitsidianakis
0a8a0c04c8
compose: treat inline message/rfc822 as attachments
2020-11-24 14:28:28 +02:00
Manos Pitsidianakis
ede5851baf
utilities: reverse order of drawing fields in form
...
Reverse order of drawing since a field might have an auto complete
prompt below it, so rendering the field below instead of above next
would overwrite it.
2020-11-24 14:28:28 +02:00
Manos Pitsidianakis
79345b3e84
utilities/StatusBar: fix lack of bounds checking in hist_area
2020-11-24 14:28:28 +02:00
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
2020-11-24 10:36:31 +02:00
Manos Pitsidianakis
bf56c88918
compose: respect auto_choose_multipart_alternative when rendering multipart/alternative attachments to text
2020-11-24 10:36:31 +02:00
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.
2020-11-24 10:36:21 +02:00
Manos Pitsidianakis
d4f508642a
widgets: allow text overflow in text fields
...
Show text content of a text field that exceeds the visible width
properly.
2020-11-24 10:36:21 +02:00
Manos Pitsidianakis
f69f623818
Fix some invalid area calculations
2020-11-24 02:23:07 +02:00
Manos Pitsidianakis
458209b448
view/thread: clear empty space in draw_list
2020-11-24 02:18:41 +02:00
Manos Pitsidianakis
b7c48a1ed0
view/thread: make list draw area consistent
2020-11-24 02:18:41 +02:00
Manos Pitsidianakis
f25f93fccf
utilities: Fix incorrect calculations in ScrollBar
2020-11-24 02:18:31 +02:00
Manos Pitsidianakis
31e4ed006d
listing: fix off by one error in PageDown movement
2020-11-24 02:18:31 +02:00
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.
2020-11-24 02:18:21 +02:00
Manos Pitsidianakis
ebc290cc2a
compose: set format flowed if configured in pager
2020-11-24 02:18:21 +02:00
Manos Pitsidianakis
0aa5cf273f
mail/status: don't overwrite "In-progress jobs header"
2020-11-21 02:09:39 +02:00
Manos Pitsidianakis
023afbaae3
RateLimit: remove unupdated test
2020-11-16 00:45:18 +02:00
Manos Pitsidianakis
1c62de57ae
Never return true on processing JobFinished
...
JobFinished events are not meant to be inhibited.
2020-11-15 21:30:54 +02:00
Manos Pitsidianakis
76f8bdc558
Add configurable shortcut for 'quit'
...
Quit ('q' button) was hardcoded, switch to configurable shortcut setting
instead.
2020-11-15 21:30:54 +02:00
Manos Pitsidianakis
c0e3e78940
listing: dont overdraw menu over listing
2020-11-15 21:30:54 +02:00
Manos Pitsidianakis
aaee6d094c
Fix NO_COLOR cursor highlight in sidebar and progress spinner
2020-11-12 03:19:56 +02:00
Manos Pitsidianakis
60350eaa88
mail/status: add "general" shortcut section
2020-11-12 03:19:56 +02:00
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)
2020-11-11 17:14:34 +02:00
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.
2020-11-09 22:22:11 +02:00
Manos Pitsidianakis
23777171f2
listing: clear_area in draw_menu
...
Completely clear area in draw_menu instead of resetting ch, fg, bg etc.
2020-11-09 19:45:09 +02:00
Manos Pitsidianakis
cbaf21764c
Remove status tab, move account status page to listing
2020-11-09 19:35:47 +02:00
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.
2020-11-09 18:44:56 +02:00
Manos Pitsidianakis
a34f0aac5b
melib: fix bincode serialization
...
Previous commit changed bincode deserializes in maildir and sqlite3.rs
from bincode::deserialize_from to using bincode::config::DefaultOptions
and bincode::Options trait's method deserialize_from.
However, these two different deserializes use a different default
settings: https://github.com/servo/bincode/issues/348
Specifically, varint encoding for integers is the default for
DefaultOptions but not when using bincode::{de,}serialize_* functions.
That means that serialized structs were not able to be deserialized.
This commit makes all {de,}serializations use the DefaultOptions
interface rather than the top level functions.
2020-11-09 00:40:32 +02:00
Manos Pitsidianakis
6392904047
Replace PosixTimer with async timers
2020-10-29 13:18:36 +02:00
Manos Pitsidianakis
57e6cf3980
Limit dbus dependency to target_os = "linux"
2020-10-28 23:28:41 +02:00
Manos Pitsidianakis
afa74ccfb5
compose: add From text entry autocomplete
2020-10-24 14:36:39 +03:00
Manos Pitsidianakis
560771b32a
widgets: select AutoCompleteEntry on Enter
2020-10-24 14:32:02 +03:00
Manos Pitsidianakis
7b1ab389fa
Remove unused plugin interface
2020-10-21 17:58:30 +03:00
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.
2020-10-21 14:36:51 +03:00
Manos Pitsidianakis
05ef863a45
utilities: move PageMovement to components mod
2020-10-21 13:19:13 +03:00
Manos Pitsidianakis
4b91de3d59
state: remove overlay widgets on ComponentKill events
2020-10-20 23:19:13 +03:00
Manos Pitsidianakis
eb36034740
accounts: autoload Sent folders automatically
2020-10-20 23:18:27 +03:00
Manos Pitsidianakis
9f39a7c5a1
statusbar: delete num buffer chars with Backspace
2020-10-20 15:09:00 +03:00
Manos Pitsidianakis
126ed8a189
statusbar: don't overwrite num buffer when progress spinner is deactivated
2020-10-20 15:04:50 +03:00
Manos Pitsidianakis
7919e95ddd
terminal/embed: remove some allocations and unwraps
2020-10-18 15:02:18 +03:00
Manos Pitsidianakis
89940dd606
cli-docs: compress included text
2020-10-17 20:50:29 +03:00
Manos Pitsidianakis
b69bc219c3
README.md: Add screenshots and update text
2020-10-17 15:02:38 +03:00
Manos Pitsidianakis
bb51d36579
composer: send NewJob event on submission
2020-10-16 22:30:56 +03:00
Manos Pitsidianakis
a2456fa3f5
docs/meli.conf.5: small fixes & additions
2020-10-16 22:28:00 +03:00
Manos Pitsidianakis
3b97e66c10
docs/meli.conf.5: add progress_spinner_sequence doc
2020-10-16 15:47:00 +03:00
Manos Pitsidianakis
ddfec3e207
listing: fix menu draw artifact
2020-10-16 15:46:21 +03:00
Manos Pitsidianakis
a702a04043
melib/attachments: add SMIME signature variant
2020-10-16 12:47:16 +03:00
Manos Pitsidianakis
6264ee011f
terminal/embed: remove unwraps from kill() calls
...
If child process has exited, this will panic.
2020-10-16 12:41:21 +03:00
Manos Pitsidianakis
5acd7dfe1c
mail/view: prevent spurious redraw in special modes
2020-10-16 12:40:02 +03:00
Manos Pitsidianakis
8090d614e2
conf/pager: remove unused max_width option
2020-10-16 12:37:46 +03:00
Manos Pitsidianakis
3949cecb75
mail/composer: add scrollbars
2020-10-16 12:37:01 +03:00
Manos Pitsidianakis
1e7b40e6b3
utilities: move pager to its own module
2020-10-15 22:44:15 +03:00
Manos Pitsidianakis
d8d66641e2
utilities/widgets: only advance stage by timer in ProgressSpinner
2020-10-15 21:45:12 +03:00
Manos Pitsidianakis
393c5d0d53
state: cull redraws of floating notifications
...
Cull redraws by keeping track of whether the floating box has been
initialised and whether its area has been drawn over by other dirty areas.
2020-10-15 21:28:28 +03:00
Manos Pitsidianakis
4c1a9b2485
Fix minor warnings
2020-10-15 19:01:42 +03:00
Manos Pitsidianakis
03a1d5a985
listing: Update status on all update events
...
Envelope counter totals might remain stale in the bottom status bar.
2020-10-15 19:00:37 +03:00
Manos Pitsidianakis
279c288a22
Alter enter_command_mode shortcut to `:`
...
Just like vi.
2020-10-14 20:21:22 +03:00
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
2020-10-14 20:16:54 +03:00
Manos Pitsidianakis
67f50d95f4
Add quit command
2020-10-14 20:14:07 +03:00
Manos Pitsidianakis
0c68807814
Add export-mail command
2020-10-14 20:13:15 +03:00
Manos Pitsidianakis
4e72b6552a
conf: add setting for progress spinner
...
Choose between 30-something built in sequences (integers between 0-30)
or define your own list of strings for the progress spinner animation.
Default: 0
2020-10-14 20:07:39 +03:00
Manos Pitsidianakis
310d02042f
Rename toggle_thread_snooze to "toggle thread_snooze"
...
For consistency with other toggle commands.
2020-10-14 14:58:02 +03:00
Manos Pitsidianakis
188e020bd1
Add opt-in mouse support
...
Sidebar width can be resized with mouse hold and drag.
2020-10-14 14:58:02 +03:00
Manos Pitsidianakis
6f31388b27
compose: add EditAttachments menu
2020-10-13 17:17:57 +03:00
Manos Pitsidianakis
5337a54d96
compose: move gpg mod to its own file
2020-10-13 17:06:30 +03:00
Manos Pitsidianakis
b343530f0c
widgets: add button type parameter to FormWidget
2020-10-13 17:04:40 +03:00
Manos Pitsidianakis
cd68008e67
melib: Implement delete_messages for IMAP, Maildir
2020-10-13 13:57:04 +03:00
Manos Pitsidianakis
9ce62c735a
compose: add key selection state for gpg operations
...
Closes #81
2020-10-11 18:11:04 +03:00
Manos Pitsidianakis
39fab67523
compose: use melib::Bytes pretty print for attachment size
2020-10-11 16:53:05 +03:00
Manos Pitsidianakis
0ca7b0042e
utilities: ensure Form/Button widgets are not always non-dirty
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
406af1848f
compose: add `add-attachment-file-picker` command
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
a4b78532b7
Refactor job structs into JoinHandle
...
Put oneshot::channel<R> into JoinHandle<R>
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
0dd9e6a34b
compose: kill selectors on ComponentKill
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
eb1cb5cec6
compose: expand cursor reach to attachment area
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
e42c9281fd
Fix input events going to hidden components
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
bc74379b27
mailview: don't process_event if coordinates uninitialised
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
be45b0c02d
compose: add encrypt layer
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
3ec1ecb349
Add import mail action
2020-10-11 16:53:04 +03:00
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.
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
08df7f39b2
Add toggle encrypt action in composer
...
Does nothing for now, will be used in a future commit.
2020-10-11 16:53:04 +03:00
Manos Pitsidianakis
347b54e0f7
segment_tree: get_max() return 0 if tree empty
2020-10-05 21:10:00 +03:00
Manos Pitsidianakis
74f31875b8
listing: fix menu gaining focus if not visible
2020-10-05 21:10:00 +03:00
Manos Pitsidianakis
23ca41e3e8
add libgpgme feature
2020-10-05 21:10:00 +03:00
Manos Pitsidianakis
b9c07bacef
melib: decode text inline message/rfc822 attachments
2020-09-27 20:57:42 +03:00
Manos Pitsidianakis
b0e50a29bd
melib/list_management: don't ignore "NO" in List-Post
2020-09-25 13:45:48 +03:00
Manos Pitsidianakis
baa44109f2
melib/thread: "merge" duplicate messages in threads
2020-09-20 15:00:03 +03:00
Manos Pitsidianakis
a187cee1d3
plugins: place socket in XDG_RUNTIME_DIR, not CWD
...
Closes #78
2020-09-20 13:31:18 +03:00
Manos Pitsidianakis
fba69d1e5d
SearchBackend: add Auto variant as default
2020-09-18 21:38:50 +03:00
Manos Pitsidianakis
7dfa6c0639
view/thread: use reverse colors in cursor in case of NO_COLOR
2020-09-18 21:28:41 +03:00
Manos Pitsidianakis
82cd690005
sqlite3: only update when SearchBackend is sqlite3
2020-09-18 21:06:34 +03:00
Manos Pitsidianakis
8eb78ae01b
sidebar: compute mailbox tree only for subscribed mailboxes
2020-09-18 21:06:33 +03:00
Manos Pitsidianakis
05e4dbcd5a
melib: update smol to 1.0.0
2020-09-18 21:06:33 +03:00
Manos Pitsidianakis
fbf2b7dc7b
sidebar: add customizable mailbox tree
...
Concerns #72
2020-09-17 16:49:19 +03:00
Manos Pitsidianakis
83bee279e6
melib/email/compose: set attachment status
...
Set Content-Disposition: attachment to, well, attachments.
2020-09-16 19:57:06 +03:00
Manos Pitsidianakis
d862e7bf53
statustab: don't process scrolling events if account is open
2020-09-16 15:17:48 +03:00
Manos Pitsidianakis
005c879a12
accounts: remove job timeout
2020-09-16 15:17:48 +03:00
Manos Pitsidianakis
8a8c790f8c
accounts: fix blocking jobs not spawning on blocking workers
2020-09-16 15:17:48 +03:00
Manos Pitsidianakis
e60eb23f4d
statustab: show active jobs
2020-09-16 15:17:48 +03:00
Manos Pitsidianakis
07742ec053
utilities: ensure command suggestions are LIFO
2020-09-16 13:11:28 +03:00
Manos Pitsidianakis
f83df69d2f
utilities/widgets: ensure ProgressSpinner is cleaned up
2020-09-16 13:11:28 +03:00
Manos Pitsidianakis
17a4ccdcbc
melib/imap: perform reconnect on IDLE failure
2020-09-14 19:32:43 +03:00
Manos Pitsidianakis
315af9bc05
shortcut!: prevent panic if shortcut key $section is missing
2020-09-13 16:42:26 +03:00
Manos Pitsidianakis
fadf20d7b1
NotificationType: add melib::ErrorKind
2020-09-13 15:23:14 +03:00
Manos Pitsidianakis
46e3bb8074
conf/accounts: call is_online if Refresh job fails
2020-09-13 00:03:12 +03:00
Manos Pitsidianakis
3ef60f2688
jobs: add module doco
2020-09-12 23:43:10 +03:00
Manos Pitsidianakis
c9a06b9b5c
mail/view: unset self.dirty early on draw
2020-09-12 23:39:07 +03:00
Manos Pitsidianakis
51db5b6c2f
listing/conversations: redraw selection undo on Esc
2020-09-12 23:08:09 +03:00
Manos Pitsidianakis
14de776314
listing/plain: add row_attr! macro
2020-09-12 23:05:58 +03:00
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.
2020-09-12 23:02:06 +03:00
Manos Pitsidianakis
41664bbe91
Don't panic if no dbus notification server is available
2020-09-12 21:06:50 +03:00
Manos Pitsidianakis
4829e13c47
melib/maildir: impl copy_messages for Maildir
2020-09-11 17:02:27 +03:00
Manos Pitsidianakis
a1585d4006
components/listing: draw rows select status at all times
2020-09-11 17:02:27 +03:00
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
2020-09-11 17:02:27 +03:00
Manos Pitsidianakis
bda5bd963a
mail/view: cache message body/text in MailView state
2020-09-10 21:19:38 +03:00
Manos Pitsidianakis
1fe873887f
components/utilities: keep track of finished jobs
...
Keep track of finished jobs in case we get a job notification more than
once.
2020-09-10 21:19:38 +03:00
Manos Pitsidianakis
f05dd379ae
Send NewJob event on all job startups
2020-09-10 21:19:38 +03:00
Manos Pitsidianakis
65357625ea
conf: impl DotAddressable for NotificationsSettings
2020-09-10 21:19:38 +03:00
Manos Pitsidianakis
1ac3a7a903
Make dbus dependency optional
...
Put dbus dependency behing `dbus-notifications` feature.
2020-09-10 21:19:38 +03:00
Manos Pitsidianakis
be57b65dae
melib/email: add flags arg to Mail::new
2020-09-10 21:19:38 +03:00
Manos Pitsidianakis
d57dd9c98e
melib/email/address: return Option in get_display_name
2020-09-10 21:19:38 +03:00
Manos Pitsidianakis
c6c0da7fcb
melib: cleanup commit
...
Cleanup melib module exports, add some document tests, change some
documentation.
2020-09-10 21:19:38 +03:00
Manos Pitsidianakis
8f46c4ebe7
Small fixes
2020-08-27 17:29:27 +03:00
Manos Pitsidianakis
b94342c52b
themes/regexp: fix unwrap check on regexp match byte offsets
2020-08-27 17:27:45 +03:00
Manos Pitsidianakis
f02dde46da
melib/error:Add ErrorKind::Timeout
...
Timeout errors lead to automatic restart of connections without
bothering the user about the details, compared to actual network errors.
2020-08-26 20:01:39 +03:00
Manos Pitsidianakis
25b325dbda
Keep bytes copy in SaveMessage job in case of failure
2020-08-26 20:00:25 +03:00
Manos Pitsidianakis
ca0f37e1f3
Send AccountStatusChange event on receiving mailboxes
2020-08-26 19:59:27 +03:00
Manos Pitsidianakis
843616221e
Add logging level to Generic jobs
...
Not every job success should be shown to the user, for example updating
the sqlite3 database. So introduce a level to only show relevant
notifications.
2020-08-26 19:17:54 +03:00
Manos Pitsidianakis
c6f11fb592
melib: update notify to 4.0.15
2020-08-26 19:17:54 +03:00
Manos Pitsidianakis
14663e46b9
Remove some old TODO comments
2020-08-26 00:54:07 +03:00
Manos Pitsidianakis
4217839155
melib/email: remove Envelope::from_token
2020-08-26 00:54:07 +03:00
Manos Pitsidianakis
9e9be0b5f3
Remove block_on from mailbox creation/deletion
2020-08-26 00:54:07 +03:00
Manos Pitsidianakis
b545a0b905
Show error if watch job fails
2020-08-26 00:54:07 +03:00
Manos Pitsidianakis
fc25c7b165
Fix compiler warnings
2020-08-26 00:54:07 +03:00
Manos Pitsidianakis
629997397f
Allow toggle_help (default ?) remapping
2020-08-26 00:54:06 +03:00
Manos Pitsidianakis
53e924eb33
Add edit envelope action back as async
2020-08-26 00:54:06 +03:00
Manos Pitsidianakis
1ca0bd0d96
sqlite3: add schema versioning
...
To potentially be used with automatic migrations on version update
2020-08-26 00:54:06 +03:00
Manos Pitsidianakis
8d50e83a33
melib/email: add case-insensitive Header struct
...
- HeaderName is either 32 or less inlined bytes or heap-allocated vec for more than that.
- Equality and hashing is case-insensitive
- A HeaderMap is a hashmap from HeaderName to Strings that can be
indexed with &str, case insensitive. Insertion order is also preserved
2020-08-26 00:54:06 +03:00
Manos Pitsidianakis
94433cfc40
melib/backends: cleanup MailBackend trait definition
2020-08-26 00:54:06 +03:00
Manos Pitsidianakis
3eadaba34e
Replace old pseudo-async code with blocking rust async
2020-08-26 00:54:06 +03:00
Manos Pitsidianakis
a190805384
melib/backends: Add BackendEvent enum
2020-08-26 00:54:06 +03:00
Manos Pitsidianakis
9928ee78e7
Add Reply{ToAuthor,ToAll} actions
...
- previous Reply action now lets you select recipients by default
- ReplyToAuthor selects the Envelope author as recipient
- ReplyToAll selects all addresses
2020-08-26 00:54:05 +03:00
Manos Pitsidianakis
d95aae1987
terminal/keys: add `Space` identifier in Key Display impl
2020-08-26 00:54:05 +03:00
Manos Pitsidianakis
9afbdd4887
Add insert_user_agent option in composing
...
Add option for automatically inserting a 'User-Agent' header in new
drafts.
2020-08-26 00:54:05 +03:00
Manos Pitsidianakis
bb4754e38a
themes/shortcuts: preserve order of keys
2020-08-26 00:54:05 +03:00
Manos Pitsidianakis
8a6bf3b217
Preserve Account order from configuration file
...
Use IndexMap to preserve the order of accounts in the UI from the
account definitions.
2020-08-26 00:54:05 +03:00