Manos Pitsidianakis
16646976d7
compose: fix reply subject prefixes stripping original prefix
...
Unintelligent heuristic but should cover most cases?
Configurable subject response prefix #142
https://git.meli.delivery/meli/meli/issues/142
Closes #142
2022-10-09 18:31:01 +03:00
Manos Pitsidianakis
a7a50d3078
src/: Box<_> some large fields in biggest types
...
As reported by `cargo +nightly typesize`
2022-09-19 15:18:25 +03:00
Manos Pitsidianakis
388d4e35d6
listing/offline.rs: add in-progress messages while connecting in IMAP
2022-09-11 15:00:30 +03:00
Manos Pitsidianakis
eb5949dc9b
melib/error.rs: switch summary<->details identifiers
...
They are more intuitive like this.
2022-09-02 12:12:12 +03:00
Manos Pitsidianakis
9cb66ef818
Fix all clippy warnings in `meli` crate
2022-08-25 16:38:02 +03:00
Manos Pitsidianakis
505adca54d
Add forward mail option
...
Forward email with shortcut 'forward' (default ctrl+f)
This opens a composing tab letting you to select receiver etc.
"composing" config setting "forward_as_attachment" selects the
forwarding behavior:
- "ask" asks you ever time
- true always forwards by attaching the entire email as a single
attachment
- false always forwards by inlining the email, like most email clients
do.
Closes #120
2021-10-02 13:38:50 +03:00
Manos Pitsidianakis
e090c31f96
state: Move grid to Screen struct under terminal mod
2021-09-20 13:56:51 +03:00
Manos Pitsidianakis
13c5798c7b
conf/shortcuts.rs: add info_message_{next,previous}
2021-09-05 13:08:05 +03: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
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
7db32ff1b3
terminal/cells: return success flag in CellBuffer::resize()
2020-12-01 01:04:27 +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
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
6392904047
Replace PosixTimer with async timers
2020-10-29 13:18:36 +02:00
Manos Pitsidianakis
7b1ab389fa
Remove unused plugin interface
2020-10-21 17:58:30 +03:00
Manos Pitsidianakis
4b91de3d59
state: remove overlay widgets on ComponentKill events
2020-10-20 23:19:13 +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
67f50d95f4
Add quit command
2020-10-14 20:14:07 +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
a4b78532b7
Refactor job structs into JoinHandle
...
Put oneshot::channel<R> into JoinHandle<R>
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
23ca41e3e8
add libgpgme feature
2020-10-05 21:10:00 +03:00
Manos Pitsidianakis
fadf20d7b1
NotificationType: add melib::ErrorKind
2020-09-13 15:23:14 +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
9e9be0b5f3
Remove block_on from mailbox creation/deletion
2020-08-26 00:54:07 +03:00
Manos Pitsidianakis
fc25c7b165
Fix compiler warnings
2020-08-26 00:54:07 +03:00
Manos Pitsidianakis
53e924eb33
Add edit envelope action back as async
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
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
Manos Pitsidianakis
b5530860d2
conf/DotAddressable: impls for more types
2020-07-26 16:09:35 +03:00
Manos Pitsidianakis
7fd511e149
conf/shortcuts.rs: implement DotAddressable for Shortcuts
2020-07-26 15:38:11 +03:00
Manos Pitsidianakis
3f8aa560f0
melib/MailBackend: add MailBackendCapabilities struct
2020-07-25 17:53:04 +03:00
Manos Pitsidianakis
44ffbe54e2
input_thread: add atomic refcount to check if thread is dead
2020-07-23 13:23:23 +03:00
Manos Pitsidianakis
996abd323f
Add print setting action
...
Add experimental print setting action. The command is of the form:
print account_name listing.index_style
account_name is currently ignored.
The path, e.g. listing.index_style is split by "." and fed to
DotAddressable lookup trait method. The method checks the first segment
in the path if it matches any of the struct's fields, and then calls the
field's lookup method.
2020-07-17 13:33:40 +03:00
Manos Pitsidianakis
0d3fe288c5
sqlite3: make reindex operation async
2020-07-17 00:02:14 +03:00
Manos Pitsidianakis
3a16dc6522
Show account online error status when offline
2020-07-08 12:10:14 +03:00
Manos Pitsidianakis
89dedbedb7
imap: launch async watch when connection comes online
...
Closes #38 Make async watch/refresh work in imap
2020-07-06 15:27:08 +03:00
Manos Pitsidianakis
b5748c247a
MailBackend: remove connect() method
2020-07-06 15:27:08 +03:00
Manos Pitsidianakis
a7e177586a
Fix clippy lints
2020-07-06 15:27:08 +03:00
Manos Pitsidianakis
4721073bc3
Rename jobs1 to jobs
2020-07-06 15:26:39 +03:00
Manos Pitsidianakis
a38764f490
Add somewhat-working async IMAP backend
2020-07-06 15:12:05 +03:00
Manos Pitsidianakis
4f3a98f90a
Add job executor
2020-07-06 15:07:44 +03:00
Manos Pitsidianakis
e97cf98b3b
Add `view` subcommand
...
Add subcommand to view standalone e-mail files in meli's pager without
instantiating any accounts.
2020-06-10 18:07:56 +03:00
Manos Pitsidianakis
9f30cd6bbc
state.rs: send AccountStatusChange
2020-06-09 15:39:53 +03:00