Commit Graph

609 Commits

Author SHA1 Message Date
Robert Günzler acfe7d7625 Add archive command
Adds an archive command that moves the current message into the folder
specified in the account config entry.

Supports three layouts at this point:

- flat: puts all messages next to each other
- year: creates a folder per year
- month: same as above, plus folders per month

This also adds a "-p" argument to "cp" and "mv" that works like
"--parents" on mkdir(1). We use this to auto-create the directories
for the archive layout.
2019-06-09 11:33:50 -04:00
Yash Srivastav 35f57321f8 Mark sent emails as read 2019-06-08 12:44:01 -04:00
Yash Srivastav 5f651b32e5 msglist: use distinct style for unread emails 2019-06-08 10:59:51 -04:00
Yash Srivastav 06e1b45a78 Fetch headers w/peek to leave emails unread 2019-06-08 10:58:51 -04:00
Drew DeVault 6b7da37235 Fix hldiff regex for short stats 2019-06-07 19:08:17 -04:00
Drew DeVault a6787fa5d1 Use #!/usr/bin/env -S awk -f for awk scripts 2019-06-07 16:33:18 -04:00
Drew DeVault da62f63aad Truncate long subject lines 2019-06-07 16:22:04 -04:00
Yash Srivastav fca7321639 Message list: implement index-format option 2019-06-07 16:22:01 -04:00
Drew DeVault 6d491569c0 plaintext filter: Match against start of line 2019-06-07 13:25:14 -04:00
Drew DeVault 74d4c0219d Update filter names in Makefile 2019-06-07 12:05:05 -04:00
Drew DeVault df1209b60e Update docs per filters rewrite 2019-06-07 11:56:48 -04:00
Drew DeVault 6e61f58d86 Rewrite Python filters in awk 2019-06-07 11:54:01 -04:00
Drew DeVault 0647ea6483 Move ANSI stripping from filters to Go 2019-06-07 11:14:50 -04:00
Drew DeVault e0cadd61a2 Add image/* filter, commented out by default 2019-06-07 10:23:12 -04:00
Drew DeVault 37f0114ffa Disable HTML filter by default 2019-06-07 10:22:58 -04:00
Drew DeVault 668f7f9e5d Remove unnecessary branch 2019-06-07 10:19:29 -04:00
Drew DeVault 32a9da3143 Ignore encoding errors in filters
Fixes #161
2019-06-07 10:18:46 -04:00
Drew DeVault a974027efe Execute the editor with the shell
Fixes #164
2019-06-07 10:15:35 -04:00
Drew DeVault 150a271b36 Add binding to toggle headers 2019-06-07 10:08:09 -04:00
Yash Srivastav b83e7c9fa6 implements ability to view headers in message view 2019-06-07 09:20:24 -04:00
Lucas F. Souza 2279ac3ab3 Skip rendering dirlist if sidebar width is 0 2019-06-07 09:20:06 -04:00
Drew DeVault 92dc31bad0 Use SetAddressList for From header 2019-06-05 13:58:07 -04:00
Chris Kinniburgh 6c6bb4c893 config: sort account folders
directory list depends on these being sorted
2019-06-05 13:48:24 -04:00
JanUlrich 0771eaf24c Introduce :new-account -t
Adding the [-t] temporary flag to the new-account command
- when using -t a newly created account will not be stored into the
accounts.conf

Issue #134
2019-06-05 09:32:43 -04:00
ngenisis 7446a17830 Mention aerc-tutorial(7) in aerc(1) 2019-06-05 09:32:26 -04:00
Tadeo Kondrak 023a2622f9 Allow no arguments to :cd
I often use the bare `cd` command to get back to my home directory.
2019-06-05 09:32:23 -04:00
Jonas Kalderstam eabdcff863 Added config file to Make clean
Config file will be incorrect if make is run with different values for
PREFIX otherwise.
2019-06-04 14:29:47 -04:00
Simon Ser 0c2ede593f Update dependencies
This should get rid of this error message:

    tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config
2019-06-04 14:29:09 -04:00
Drew DeVault 19646823c9 Clarify socksify dependency 2019-06-04 09:42:10 -04:00
Drew DeVault ba41b98e3d Update README.md with better dependency list 2019-06-04 08:13:50 -04:00
Stephen Gregoratto 4df8e7f04d add missing column in table 2019-06-03 23:08:31 -04:00
Francis Dinh 58a0f438df Update aerc-tutorial(7) to reflect changes to reply bindings
As of commit 11a569f6, the functions of rr/Rr and rq/Rq are switched,
but this wasn't reflected in the manpage until now.
2019-06-03 20:55:51 -04:00
rage 311 cbbdb232e8 Fix Makefile for non-GNU find
derp
2019-06-03 18:11:00 -04:00
Drew DeVault 207ecc39cd Fix #116 2019-06-03 07:56:08 -04:00
Drew DeVault 0ec970bce8 Add delete to the default binds.conf 2019-06-02 15:43:32 -04:00
Drew DeVault d1ea181135 hldiff.py: don't highlight -/+ in filenames 2019-06-02 15:22:48 -04:00
Reto Brunner 92b10fcef5 Add Tabs history
Fixes #77: When closing a tab, bring you back to the one you last had focused
2019-06-02 14:22:04 -04:00
Drew DeVault 3a5b4c229e Wait for listing to complete before sending Done 2019-06-02 13:29:40 -04:00
Drew DeVault e85ef71935 Don't send Done until finished fetching messages 2019-06-02 13:26:43 -04:00
Drew DeVault a81467dda9 Remove worker callbacks when Done is received 2019-06-02 13:20:02 -04:00
Drew DeVault 7d1770754f Add date to message viewer 2019-06-02 10:23:53 -04:00
Kevin Kuehler 753adb9069 widget: Add ProvidesMessage interface
Consists of 3 functions
* Store: Access to MessageStore type
* SelectedAccount: Access to Account widget that the target widget
belongs to
* SelectedMessage: Current message (selected in msglist or the one we
are viewing)

Signed-off-by: Kevin Kuehler <keur@ocf.berkeley.edu>
2019-06-02 10:16:29 -04:00
Drew DeVault 2be985fecb Update tcell fork 2019-06-02 10:08:06 -04:00
Kevin Kuehler 5090a4c802 Only add message to store if store exists
Prevents the program from panicing when changing folders too quickly.
onMessage can race store creation for an AccountView.

Signed-off-by: Kevin Kuehler <keur@ocf.berkeley.edu>
2019-06-02 09:43:55 -04:00
Drew DeVault 6e745cb9f3 Enumerate Cc and Bcc lists in composer 2019-06-02 09:40:47 -04:00
Drew DeVault 1894a7e91b Fix infinite recursion in reply.go:findPlaintext 2019-06-02 09:36:21 -04:00
Drew DeVault 7f434850b5 Simplify layout of message viewer grid
This sub-grid was an artifact of an older design
2019-06-02 09:33:41 -04:00
Drew DeVault cf50b98768 Fetch plaintext part when replying 2019-06-01 19:47:09 -04:00
Drew DeVault 56b84d3da5 Use forked version of tcell 2019-06-01 11:28:29 -04:00
Kevin Kuehler 3445b80d7a widgets/terminal: Don't segfault on resize
vterm.Write and vterm.SetSize race when the window resizes, which
causing the underlying library to segfault.

Signed-off-by: Kevin Kuehler <keur@ocf.berkeley.edu>
2019-06-01 11:09:14 -04:00