aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* add DefaultSavePath configReto Brunner2019-06-251-0/+10
|
* account-wizard: look up imap and smtp server by SRV records (#100)Daniel Lublin2019-06-251-1/+42
|
* worker/imap: rig up search directory handlerDrew DeVault2019-06-241-0/+2
|
* worker/imap: implement searchDrew DeVault2019-06-242-0/+26
|
* aerc-config: [viewer] should be [compose]Issam Maghni2019-06-231-1/+1
|
* Fix Cc & Bcc handling in repliesDrew DeVault2019-06-213-7/+14
|
* Fix reply bindings in [view]Drew DeVault2019-06-191-4/+4
|
* Makefile: fix -ldflags -X invocationReto Brunner2019-06-191-3/+3
| | | | | | | | Aerc uses the go linker to add some variables like main.Prefix / main.ShareDir etc. however the go linker only considers the last -ldflags invocation it seems. This commit fixes the makefile to use only a single -ldflags invocation, which again sets the vars as expected.
* account-wizard: automatically replace imap.* with smtp.*Noah Loomans2019-06-181-1/+6
| | | | | | | | | Many email providers use the imap sub-domain for imap and the smtp sub-domain for smtp. FastMail is an example of this[1]. This is a small quality-of-life improvement which automatically replaces imap.* with smtp.* when going from the imap screen to the smtp screen in the wizard [1]: https://www.fastmail.com/help/technical/servernamesandports.html
* Insert nil check before handling prev/next messageMartin Hafskjold Thoresen2019-06-181-2/+8
| | | | | If these are called before the store is setup, `acct.Store()` returns `nil`, and we SEGFAULT in `MessageStore.nextPrev`.
* Add aerc -v to print the installed versionDrew DeVault2019-06-183-1/+28
|
* commands/msgview: add open commandRéouven Assouly2019-06-172-0/+65
|
* Make part encoding checks case insensitiveRéouven Assouly2019-06-162-6/+7
| | | | | | commands/msgview/save and commands/msgview/pipe now use case insensitive comparisons to determine if the part is encoded as base64 or quoted-printable.
* Ensure that flags are set properlyAditya Mahajan2019-06-161-2/+4
| | | | | | | | | | The current implementation has three classes of flags: - readFlag - delFlag - flaggedFlag The logic to check for them should be in parallel if branches rather than in sequential if-else ladder.
* Update tcellDrew DeVault2019-06-152-1/+3
|
* Document collecting log outputLyle Hanson2019-06-142-0/+12
| | | | | | | | | | Redirecting stdout writes log output to that file, but this wasn't easily discoverable. v2 removes changes to aerc-tutorial; I was also on the fence about that, and agree that it isn't on-topic for the tutorial. Addresses https://todo.sr.ht/~sircmpwn/aerc2/180
* imap: block until directory list is fully receivedDrew DeVault2019-06-141-0/+1
| | | | This fixes issues with INBOX mysteriously not being present at times
* Set empty message in dirlist if no folder exist.Reto Brunner2019-06-145-18/+40
|
* imap: respect the folder config optionReto Brunner2019-06-144-13/+48
|
* Add uninstall target to MakefileLyle Hanson2019-06-141-1/+20
| | | | | | Also removes leftover directories if there isn't anything else in them. https://todo.sr.ht/~sircmpwn/aerc2/179
* Support directories in path to :saveClayton Craft2019-06-142-5/+56
| | | | | | | | | | | | This adds new functionality to :save in the message view for specifying directories in the path. A new flag, -p, is also added to :save for automatically creating any directories in the path that do not exist. If the path ends in a / (e.g. "Downloads/mail/") or if the path is an existing directory, the part's file name is the filename from the mail header for the part. Otherwise, it uses the last element in the path as the filename (e.g. 'blah.jpg' is the filename if the path is 'Downloads/mail/blah.jpg')
* Make awk filters more portableDrew DeVault2019-06-133-4/+2
|
* Fix automatic scrolling when messages arrive/leaveDrew DeVault2019-06-111-2/+2
|
* Add :next/:prev binds for [viewer]Drew DeVault2019-06-111-4/+8
|
* commands/msgview: Add next/prev commandsKevin Kuehler2019-06-112-2/+40
| | | | Signed-off-by: Kevin Kuehler <kkuehler@brave.com>
* lib/ui/tab: Add Replace methodKevin Kuehler2019-06-112-0/+20
| | | | | | Also expose a light wrapper method in aerc.go for tab replacement Signed-off-by: Kevin Kuehler <kkuehler@brave.com>
* Move select functionality from msglist to msgstoreKevin Kuehler2019-06-115-46/+67
| | | | | | Remove msglist Next and Prev commands Signed-off-by: Kevin Kuehler <kkuehler@brave.com>
* commands/msg/archive: Work with msgviwerKevin Kuehler2019-06-111-3/+4
| | | | | | | | Inside the generic msg command we cannot use aerc.SelectedAccount() because the method naively assumes the current tab is an AccountView. Use the ProvidesMessage interface instead. Signed-off-by: Kevin Kuehler <kkuehler@brave.com>
* Implement :mkdir commandDrew DeVault2019-06-092-0/+42
|
* Fix :new-account getoptsDrew DeVault2019-06-091-1/+1
|
* Fix :copy arg handlingDrew DeVault2019-06-091-3/+3
|
* Fix :move command's arg parsingDrew DeVault2019-06-091-3/+3
|
* Override $ex in compose viewYash Srivastav2019-06-091-0/+1
|
* Update reply to use getopt posix optind formatClayton Craft2019-06-093-3/+5
| | | | | This changes the handling of optind for the 'reply' command to match recent changes to getopt.
* aerc(1): add :read and :unread command to docsDrew DeVault2019-06-091-20/+31
|
* Add :read and :unread commandsDrew DeVault2019-06-095-0/+78
|
* Update our message flags when server updates themDrew DeVault2019-06-093-5/+35
|
* commands/msg/copy: remove unnecessary codeDrew DeVault2019-06-091-4/+0
|
* Select user's preferred mimetype in MessageViewerClayton Craft2019-06-091-2/+13
| | | | | | | | | | | This implements selecting the most preferred mimetype under the 'View->Alternatives' configuration setting when viewing a message. Mimetypes in the alternatives array are weighted by their position, where the lower the index in the array the higher the priority, so this is taken into account during selection. If no message part matches a mimetype in the alternatives array, then it selects the first mimetype in the message.
* Add archive commandRobert Günzler2019-06-0912-8/+168
| | | | | | | | | | | | | | | 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.
* Mark sent emails as readYash Srivastav2019-06-081-1/+2
|
* msglist: use distinct style for unread emailsYash Srivastav2019-06-082-5/+20
|
* Fetch headers w/peek to leave emails unreadYash Srivastav2019-06-081-0/+1
|
* Fix hldiff regex for short statsDrew DeVault2019-06-072-1/+3
|
* Use #!/usr/bin/env -S awk -f for awk scriptsDrew DeVault2019-06-072-2/+2
|
* Truncate long subject linesDrew DeVault2019-06-071-1/+5
|
* Message list: implement index-format optionYash Srivastav2019-06-078-55/+294
|
* plaintext filter: Match against start of lineDrew DeVault2019-06-071-1/+1
|
* Update filter names in MakefileDrew DeVault2019-06-071-2/+2
|
* Update docs per filters rewriteDrew DeVault2019-06-073-19/+7
|