Manos Pitsidianakis
5e2576161a
meli.conf.5: update toml standard link
4 years ago
Manos Pitsidianakis
def3997d6f
email/parser.rs: replace "FIXME" errors
4 years ago
Manos Pitsidianakis
91badc3960
imap: count message totals using HashSet
...
This way it's easy to know if a flag change in an envelope requires the
unseen total of a mailbox to change.
4 years ago
Manos Pitsidianakis
c4bc7be5d1
Tabbed: correctly pass events to other children
...
When passing an event to the focused tab and it is not handled, the
other children weren't then each called to see if they handle the
event. That led to refresh events etc not being processed by the mail
list tab if it wasn't focused.
4 years ago
Manos Pitsidianakis
4ae7a57d45
Add save-draft command
4 years ago
Manos Pitsidianakis
64e5d4af4f
imap/untagged.rs: properly queue refresh events
...
RefreshEvents where added in self.uid_store.refresh_events queue though
ImapConnection has a method add_refresh_event() that drains the queue if
possible
4 years ago
Manos Pitsidianakis
2a0ad92374
imap: don't send CRLF twice when sending LITERAL
...
This results in BAD IMAP errors, as a CRLF results in an empty command.
4 years ago
Manos Pitsidianakis
d7444a5b19
imap: recognize EXPUNGE events
4 years ago
Manos Pitsidianakis
bfbaf3d617
Utilize EnvelopeRemove events
...
EnvelopeRemove events were not ever used in the UI
4 years ago
Manos Pitsidianakis
efb06be09b
melib: return Result<_> from operation()
...
Envelope might have been deleted before main thread requests an
operation, which is a race condition.
4 years ago
Manos Pitsidianakis
d827ea1001
imap/connection.rs: debug print NO/BAD responses
4 years ago
Manos Pitsidianakis
fda947f8fb
imap.rs: fix two warnings
4 years ago
Manos Pitsidianakis
b946b61cf1
terminal/cells.rs: remove unused variables
4 years ago
Manos Pitsidianakis
6f6f795fd5
imap: use uidnext for fetching all messages in get()
4 years ago
Manos Pitsidianakis
c08ceae97c
imap: add status_response() parser
4 years ago
Manos Pitsidianakis
c7835ccc13
imap: add mailbox_token() parser
4 years ago
Manos Pitsidianakis
c2300e8ea0
imap: update is_online flag on successful read/write
4 years ago
Manos Pitsidianakis
eca1921a8a
collection: add update_flags() method
...
On NewFlags events, the threads in Collection were not being updated, so
if an envelope's seen status was toggled the thread's unseen count was
not updated, and thus not reflected in the UI even though the
envelope's new flags event was registered properly.
4 years ago
Manos Pitsidianakis
cac21a279b
melib: Remove dead dependencies
4 years ago
Manos Pitsidianakis
a6a30f3adb
conf/accounts.rs return Result on init()
4 years ago
Manos Pitsidianakis
688a798fa2
XDGNotifications: increase rate limiting
...
3 notifications evenly spread per second did not make any sense.
Increase it to 1000 and see if it's ok
4 years ago
Manos Pitsidianakis
6bdd9b07bb
bin: remove unwrap from timer thread
4 years ago
Manos Pitsidianakis
01e1f4111c
imap: make hostname optional in ENVELOPE address parser
4 years ago
Manos Pitsidianakis
79b2e20557
imap: add message to Badcharset, Permanentflags responses
4 years ago
Manos Pitsidianakis
3703ae762e
imap: show reason for error on invalid uid fetch response
4 years ago
Manos Pitsidianakis
7d359624fe
imap: early return on empty mailbox in get()
4 years ago
Manos Pitsidianakis
af4ad19169
imap: add chain_err_summary error descriptions
4 years ago
Manos Pitsidianakis
ca11c8e474
Remove useless debug prints
4 years ago
Manos Pitsidianakis
34ed9e2014
conf: set mailbox autoload default to false
4 years ago
Manos Pitsidianakis
083732ed33
README.md: add explanations for features
4 years ago
Manos Pitsidianakis
9fb86ab2f2
components: create layouts module in utilities
4 years ago
Manos Pitsidianakis
f8cef3290e
config_macros.rs: try rustfmt on generated module
4 years ago
Manos Pitsidianakis
0169025d50
build.rs: add proc-macro to generate Override structs for configuration
4 years ago
Manos Pitsidianakis
1db2c16f95
mbox: add support for multiple mbox mailboxes in config
...
Concerns #9
4 years ago
Manos Pitsidianakis
674073899d
mbox: Add different readers for mbox{o,rd,cl,cl2}
4 years ago
Manos Pitsidianakis
01d83d8088
email/parser: do not set has_colon newline
...
When parsing a field-name, and expecting a colon (:) if a newline is
first encountered do not set `has_colon` flag to true.
4 years ago
Manos Pitsidianakis
8bfdce6658
melib/error: do not discard old summary in set_summary
4 years ago
Manos Pitsidianakis
75f9256a50
email/parser: change Error type to include error location
...
Add ParsingError type that includes a string with the location and
possibly an explanation for the error.
4 years ago
Manos Pitsidianakis
02c881ac00
Add save-attachment option for entire message as eml
4 years ago
Manos Pitsidianakis
d7e4bd9379
conf: set default override value to None
4 years ago
Manos Pitsidianakis
cecd33eb5e
SVGScreenshotFilter: make svg smaller and fix grapheme cluster textLength inaccuracies
4 years ago
Manos Pitsidianakis
58ddfae9a7
execute.rs: fix missing space parsers
4 years ago
Manos Pitsidianakis
fe655e679c
Fix rustfmt suggestions
4 years ago
Manos Pitsidianakis
0618e62ab6
Add optional feature to save SVG screenshot
4 years ago
Manos Pitsidianakis
bc0189ffa1
Spawn workers on demand
4 years ago
Manos Pitsidianakis
40f66f3333
imap: modify connection timeouts
4 years ago
Manos Pitsidianakis
34d782f16f
imap: Remove panic from fetch_flags
4 years ago
Manos Pitsidianakis
c7fbc5cafb
imap: remove redundant passing of AccountHash
4 years ago
Manos Pitsidianakis
2d862e39f4
imap: off by one error in iteration
4 years ago
Manos Pitsidianakis
2d3f49d64d
imap: index by (MailboxHash, UID) instead of just UID
...
Mailboxes can share UIDs.
4 years ago