Commit Graph

316 Commits

Author SHA1 Message Date
Simon Chopin
e7c14f56b2 feature: compose: allow not storing the sent emails
I'm using lieer/gmi to send email, and it has the builtin assumption
that no new messages will be added to the maildir.

See https://github.com/gauteh/lieer/issues/54
2023-10-24 14:38:26 +02:00
Aleks Kissinger
96749fed02
Merge pull request #26 from The-Compiler/gruvbox
Add gruvbox themes
2023-10-24 11:25:39 +01:00
Herwig bogaert
da7e6c85f0
enable display of messages with tag in in search.exclude_tags
Messages with such tags, for example 'trash', appear in search results
when the tag is explicitly mentioned and must be displayable in the
panel.
2023-10-08 21:15:58 +02:00
Herwig bogaert
01ba6090de
fix error in saving non-ascii headers to file
When a new message was saved after sending, the address headers were not
encoded correctly. The complete header was encoded as one encoded word
without separating the tokens.

For example the header
To: émail <émail@example.net>, mail <mail@example.net>\n\n
was stored as
 =?utf-8?b?w6ltYWlsIDzDqW1haWxAZXhhbXBsZS5uZXQ+LCBtYWlsIDxtYWlsQGV4YW1wbGUubmV0Pg==?=\n\n
in stead of
To: =?utf-8?q?=C3=A9mail?= <=?utf-8?q?=C3=A9mail?=@example.net>, mail <mail@example.net>\n\n

This incorrect header ended up in the notmuch database and the message
was not found with address queries.

The solution also improves utf8 handling by storing all headers and body utf8
encoded (in stead of using 7bit encoding).
2023-10-04 23:39:29 +02:00
Aleks Kissinger
2f3fb2b39e dont cleanup email text if it will be lost 2023-09-07 09:57:05 +01:00
Florian Bruhin
72adfb0ebc Use more recognizeable fg_dim 2023-05-31 15:23:19 +02:00
Florian Bruhin
35ccef4b53 Add support for PgUp/PgDown
In search view, this is handled roughly like (Neo)Mutt does it.
2023-05-26 16:13:58 +02:00
Florian Bruhin
697bd71513 Add settings.message2html_filter 2023-05-26 15:15:28 +02:00
Florian Bruhin
e8ce90aaf3 Add gruvbox themes 2023-05-26 14:11:03 +02:00
Herwig bogaert
f948ba8dba automatically select smtp_account when replying 2023-05-23 13:42:07 +01:00
Aleks Kissinger
469e7c84f0
Merge pull request #21 from cinghiopinghio/notmuch_hooks
Efficiently add sent email to the database
2023-05-23 13:31:46 +01:00
Aleks Kissinger
24976f5488
Merge pull request #20 from cinghiopinghio/command_completion
Added tags completion to the commandbar
2023-05-23 13:29:37 +01:00
Aleks Kissinger
00bd2a8645
Merge pull request #19 from hbog/crypto
PGP/MIME support
2023-05-23 13:27:00 +01:00
Herwig bogaert
d86a574cc4
add control for PGP-signing on a per-message basis 2023-05-21 08:41:37 +02:00
CinghioPinghio
9205010114 Efficiently add sent email to the database
Sending emails do not require all the hooks to be called:
E.g. one may be calling `mbsync` on their `notmuch` hooks and hence be forced to wait quite some time on each sent email.
2023-05-18 09:10:49 +02:00
CinghioPinghio
acf3bb9adc Added tags completion to the commandbar
Tags are suggested when the prefixes ` +`, ` -` or ` tag:` are found in the inserted text.

We deactivate some keymappings to when the completion menu is shown.
When this happens TAB and ENTER select the highlighted suggestion, UP and DOWN change the selection, ESC hide the menu.
2023-05-17 16:25:07 +02:00
Herwig bogaert
c53f28d7ca
document PGP/MIME support in Readme. 2023-05-09 14:48:09 +02:00
Herwig bogaert
d5247df840
refactor and remove side effects on original message 2023-04-27 13:57:22 +02:00
Herwig bogaert
00b4f478d1
improve display of pgp-signature status in thread view panel 2023-04-26 22:48:52 +02:00
Herwig bogaert
a4477dd1e4
intial gpg-signing support 2023-04-26 15:34:28 +02:00
leromarinvit
23dad42577 Use QWebEngineUrlRequestInterceptor to block remote requests
QWebEnginePage.acceptNavigationRequest only intercepts navigating to a
different URL (i.e. clicking a link). Any other requests don't use this
method, so remote images, stylesheets, etc. would still be loaded.
Obviously this can enable tracking in malicious messages.

By also setting a QWebEngineUrlRequestInterceptor on the profile, all
requests are intercepted. Local protocols are allowed, and for
everything else, settings.html_block_remote_requests is used to decide
whether to block the request.
2023-04-14 23:05:50 +02:00
Aleks Kissinger
259055db89
Merge pull request #17 from matclab/init_queries
Add init_queries settings
2023-03-24 13:45:12 +00:00
matclab
6d76375c39 add init_queries settings 2023-03-24 13:59:45 +01:00
Aleks Kissinger
8fe88f35dd added theme 2022-09-11 19:00:11 +01:00
Aleks Kissinger
de345a1d7e switch to last viewed tab on close, rather than rightmost 2022-09-05 13:49:51 +01:00
Aleks Kissinger
3d30d34dbf dimmer 2022-09-02 13:16:25 +01:00
Aleks Kissinger
d18b448b43 improved catppucchin theme 2022-09-02 11:45:33 +01:00
Aleks Kissinger
63970484fb added catppuchin theme 2022-09-02 11:24:21 +01:00
Aleks Kissinger
818577b172 documented file_picker_command 2022-08-15 09:16:47 +01:00
Aleks Kissinger
f5272dbd0d allow custom file picker command (closes #4) 2022-08-15 09:10:38 +01:00
Aleks Kissinger
e6ec020eda more deps 2022-08-14 18:13:06 +01:00
Aleks Kissinger
e95ff42345 RTD deps 2022-08-14 18:12:12 +01:00
Aleks Kissinger
bddaac7259 updated readme to say qt6 2022-08-14 18:03:58 +01:00
Aleks Kissinger
8aeb6cb209 added docs for custom layout 2022-08-14 18:01:38 +01:00
Aleks Kissinger
e412b76e06 split layout code into its own method (for #13) 2022-08-14 17:40:13 +01:00
Aleks Kissinger
44b97752f1 fixed most type errors 2022-06-19 18:51:57 +01:00
Aleks Kissinger
b48ffcbbe9 fixed some more enums 2022-06-14 08:59:43 +01:00
Aleks Kissinger
2b70e86e8a pushed version 2022-06-12 12:50:07 +01:00
Aleks Kissinger
b9f10f2753 fixed enums 2022-06-12 12:32:12 +01:00
Aleks Kissinger
a8633e369b changed includes 2022-06-12 11:24:49 +01:00
Aleks Kissinger
b377e05ab5 fixed bug when attaching multiple files 2022-06-09 15:48:00 +01:00
Aleks Kissinger
d58f19e53b key bindings for accounts 2022-05-28 14:50:58 +01:00
Aleks Kissinger
afe5e2aafc documented support for multiple SMTP accounts (closes #10) 2022-05-28 14:48:01 +01:00
Aleks Kissinger
e46ddf6c29 support for multiple emails 2022-05-28 14:33:06 +01:00
Aleks Kissinger
471e3ac8b3 working on multi-account support 2022-05-28 13:57:33 +01:00
Aleks Kissinger
5ad4dd3ddc
Merge pull request #12 from cinghiopinghio/set_desktop_filename
Add DesktopFilename for app such that it get recognized by the window…
2022-05-28 13:00:51 +01:00
CinghioPinghio
93c3ae30e7 Add DesktopFilename for app such that it get recognized by the window manager 2022-05-19 10:42:38 +02:00
Aleks Kissinger
dce74a7125 better hilighting of flagged messages 2022-05-18 12:30:32 +01:00
Aleks Kissinger
14960c14dd ... 2022-05-01 15:41:29 +01:00
Aleks Kissinger
63cde8d326 ... 2022-05-01 15:40:57 +01:00