Commit Graph

1226 Commits (f80348e1945bd832223d725934a3407b898e889e)

Author SHA1 Message Date
Manos Pitsidianakis f80348e194
Add tagging support 2020-07-31 16:50:14 +03:00
Manos Pitsidianakis ee5745d1e1
Parametrize letter size in svg generation 2020-07-31 16:49:49 +03:00
Manos Pitsidianakis 55ad3cefc8
Add noscript notice 2020-07-25 16:22:32 +03:00
Manos Pitsidianakis 04d74a3e85
wasm: add support for reload events 2020-07-25 16:00:56 +03:00
Manos Pitsidianakis a49190cd5d
Fixup with first wasm commit 2020-07-25 15:36:39 +03:00
Manos Pitsidianakis 1dc2400be3
Fix css focused tab 2020-07-25 15:36:39 +03:00
Manos Pitsidianakis e7e51261cc
Fix windows resetting position on first drag 2020-07-25 15:36:39 +03:00
Manos Pitsidianakis 21f5724e24
Add folder with Python mailing list messages 2020-07-25 15:36:39 +03:00
Manos Pitsidianakis 20fd6ca818
Add window icons from SerenityOs 2020-07-25 15:36:38 +03:00
Manos Pitsidianakis 708a22303a
Make window order zIndex change on click on windows 2020-07-25 15:36:38 +03:00
Manos Pitsidianakis 72c98b67ec
Fix window hiding on window maximize 2020-07-25 15:36:38 +03:00
Manos Pitsidianakis ce78c20537
Make windows flex-growable 2020-07-25 15:36:38 +03:00
Manos Pitsidianakis 9e35a7a360
Add manpage browser window 2020-07-25 15:36:38 +03:00
Manos Pitsidianakis a3ff0e01d9
Add help message about on-screen keyboard 2020-07-25 15:36:38 +03:00
Manos Pitsidianakis 2dd1ed21a9
Track shift/ctrl/meta etc key state in on-screen keyboard 2020-07-25 15:36:38 +03:00
Manos Pitsidianakis c70077ad21
Add CSS keyboard window 2020-07-25 15:36:37 +03:00
Manos Pitsidianakis 9a65a01c5f
Add 98.css and interact.js dependencies 2020-07-25 15:36:37 +03:00
Manos Pitsidianakis d4f8d59ecb
Add wasm build 2020-07-25 15:36:37 +03:00
Manos Pitsidianakis f9efaea0ec
ConversationsListing: fix invalid update_line colors 2020-07-25 15:17:35 +03:00
Manos Pitsidianakis 99fbac3806
Remove unused variables/functions 2020-07-23 13:39:58 +03:00
Manos Pitsidianakis 0ee3a0bf79
imap: clear mesage totals when fetching entire mailbox
Totals might have been set after a STATUS response, meaning we know the
totals without knowing exactly what message UIDs are there. Clear the
totals, and start inserting UIDs instead.
2020-07-23 13:23:24 +03:00
Manos Pitsidianakis 6121f77853
imap: support LIST-STATUS 2020-07-23 13:23:24 +03:00
Manos Pitsidianakis 350c8033b1
imap: use ImapLineIterator in imap_mailboxes() 2020-07-23 13:23:23 +03:00
Manos Pitsidianakis e49c293b01
imap: impl DoubleEndedIterator for ImapLineIterator 2020-07-23 13:23:23 +03:00
Manos Pitsidianakis b9343dfb32
imap: update supported capabilities 2020-07-23 13:23:23 +03:00
Manos Pitsidianakis 1bd89b3c96
themes: add mail.sidebar_account_name key 2020-07-23 13:23:23 +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 0882dbbad0
melib/Collection: put all fields behind a mutex 2020-07-23 13:23:23 +03:00
Manos Pitsidianakis 1112ef4717
melib/Collection: remove unused fields 2020-07-23 13:23:23 +03:00
Manos Pitsidianakis fadb3634e0
melib: take MailboxHash instead of &Mailbox in fetch*() 2020-07-23 13:23:23 +03:00
Manos Pitsidianakis 9103d05617
melib: s/get/fetch in MailBackend methods 2020-07-18 12:34:13 +03:00
Manos Pitsidianakis 0a7f283582
imap: prevent deadlock in watch::examine_updates
uid_store.mailboxes was locked before calling examine_updates, which
calls examine_mailbox() which also attempts to lock uid_store.mailboxes
2020-07-17 22:45:25 +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 c6c2865a54
melib/thread/iterators: remove recursion in favor of loops 2020-07-17 13:33:40 +03:00
Manos Pitsidianakis b4dadf20b6
ThreadListing: don't print previous link on root envelopes
If a thread root is missing (i.e. we never received that message or it
was deleted) threads rendered like this:

 ├─>Re: original subject
 ├─>Re: original subject
 └─>Re: original subject

This causes visual ambiguity if the parentless thread follows another:

 Another thread
 └─>Re: Another thread
 ├─>Re: original subject
 ├─>Re: original subject
 └─>Re: original subject

This commit removes the "previous link" from every first message in a group:

 ┬─>Re: original subject
 ├─>Re: original subject
 └─>Re: original subject
2020-07-17 13:33:40 +03:00
Manos Pitsidianakis 08d8c05a67
CompactListing: update self.rows{,_drawn} on row update
self.rows{,_drawn} were left unupdated, and stale envelope hashes could
result in panics
2020-07-17 00:04:59 +03:00
Manos Pitsidianakis 1bac926bdc
CompactListing: add row_attr macro
Add macro to calculate theme attribute for given thread row
2020-07-17 00:04:26 +03:00
Manos Pitsidianakis 5e1fa2d8d7
CompactListing: add select command
Select envelopes based on query
2020-07-17 00:03:35 +03:00
Manos Pitsidianakis 0d3fe288c5
sqlite3: make reindex operation async 2020-07-17 00:02:14 +03:00
Manos Pitsidianakis 32f196143e
melib: add supports_search() method to MailBackend 2020-07-17 00:02:02 +03:00
Manos Pitsidianakis 5ef62a39b8
conf: Rename cache_type to search_backend 2020-07-16 23:57:00 +03:00
Manos Pitsidianakis 017a45d5cd
conf/accounts: add JobRequest::Generic 2020-07-16 22:54:50 +03:00
Manos Pitsidianakis eb62463e7d
jobs: add spawn_blocking() method 2020-07-16 22:53:16 +03:00
Manos Pitsidianakis 1f9cdb8be5
conf/accounts: update mailbox status on payload delivery 2020-07-16 18:00:53 +03:00
Manos Pitsidianakis d3391e96c0
mbox: send envelope payload in chunks 2020-07-16 17:59:27 +03:00
Manos Pitsidianakis 15b15854bf
update documentation
Endless gratitude to WanderingBeekeper for editing the text.
2020-07-15 20:20:37 +03:00
Manos Pitsidianakis 587eaf7215
ThreadListing: add columns 2020-07-15 19:02:52 +03:00
Manos Pitsidianakis 349d2990c2
docs: add `send_mail` documentation 2020-07-15 15:37:00 +03:00
Manos Pitsidianakis 77dc1d74bf
Add smtp client support for sending mail in UI
`mailer_command` was removed, and a new setting `send_mail` was added.

Its possible values are a string, consisting of a shell command to
execute, or settings to configure an smtp server connection. The
configuration I used for testing this is:

  [composing]
  send_mail = { hostname = "smtp.mail.tld", port = 587, auth = { type = "auto", username = "yoshi", password = { type = "command_eval", value = "gpg2 --no-tty -q -d ~/.passwords/msmtp/yoshi.gpg" } }, security = { type = "STARTTLS" } }

For local smtp server:
  [composing]
  send_mail = { hostname = "localhost", port = 25, auth = { type = "none" }, security = { type = "none" } }
2020-07-15 15:24:01 +03:00
Manos Pitsidianakis ddafde7b37
jobs: save handle for each Job
If we save the JoinHandle for each task, we can cancel it in future
commits if we have to timeout network requests.
2020-07-15 15:22:33 +03:00