aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dirlist: sync dirstore in filterDirsByFoldersConfigReto Brunner2019-07-041-9/+7
| | | | | Also sets the public List() method to return the unfiltered list of directories directly from the store.
* Add IMAP folder tab completionGregory Mullen2019-07-044-3/+32
| | | | | Credit for this fix goes to Reto; I guess if we're not gonna be mutt we should probabaly do things correctly.
* Use go-message implementation of GenerateMessageIDBen Burwell2019-07-042-36/+1
| | | | | Now that this is available in the upstream, we no longer need to maintain a parallel implementation.
* Document message index format specifiersBen Burwell2019-07-042-2/+37
|
* Crash on delete in empty folder (#213)Zach Sisco2019-07-041-0/+3
|
* Add unsubscribe commandBen Burwell2019-07-043-0/+150
| | | | | | | | | | | | | | | | The unsubscribe command, available when in a message viewer context, enables users to easily unsubscribe from mailing lists. When the command is executed, aerc looks for a List-Unsubscribe header as defined in RFC 2369. If found, aerc will attempt to present the user with a suitable interface for completing the request. Currently, mailto and http(s) URLs are supported. In the case of a HTTP(S) URL, aerc will open the link in a browser. For mailto links, a new composer tab will be opened with a message filled out according to the URL. The message is not sent automatically in order to provide the user a chance to review it first. Closes #101
* Use "open" instead of "xdg-open" on Darwin systemsBen Burwell2019-07-044-4/+25
|
* Update binds.confDrew DeVault2019-07-041-2/+2
|
* Correct default filter order in aerc.conf.inDrew DeVault2019-07-021-1/+1
|
* Revert "Remove dirs field and references to it"Drew DeVault2019-07-021-11/+10
| | | | This reverts commit 0e55637aac92e748267559b7aa91a188a17c386f.
* Remove dirs field and references to itRobert Günzler2019-06-301-10/+11
| | | | | This fixes prev/next-folder that broke after 546dfcd76dd228e0605359e9985f0b6a5672e8fa
* panic: runtime error: index out of range in handleFetchMessages (#127)Zach Sisco2019-06-291-3/+1
|
* Add new lib/dirstore to source completions fromGregory Mullen2019-06-292-4/+27
|
* Implement basic tab completion supportGregory Mullen2019-06-2947-154/+598
| | | | | Tab completion currently only works on commands. Contextual completion will be added in the future.
* Move contrib -> filtersDrew DeVault2019-06-274-3/+3
|
* Reopening mailcontent file to fix #166Stefan Rakel2019-06-271-1/+7
| | | | | | Because editors like vim use backupfiles and rename them to the original name, the file handle used can point to the wrong file. Reopening the file should fix this.
* Set the required go version for this module, aercDaniel Lublin2019-06-271-0/+2
| | | | | | This is the way to declare which compiler version a module requires to build. I read up on https://golang.org/doc/go1.12#modules
* Fix jumping around in searchDrew DeVault2019-06-261-10/+5
|
* Implement :search, :next-result, :prev-resultDrew DeVault2019-06-265-1/+149
|
* msgview/save: Use defaultSavePath if no path is providedReto Brunner2019-06-253-6/+26
|
* 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
|