aboutsummaryrefslogtreecommitdiffstats
path: root/commands
Commit message (Collapse)AuthorAgeFilesLines
* Add IMAP folder tab completionGregory Mullen2019-07-043-2/+27
| | | | | Credit for this fix goes to Reto; I guess if we're not gonna be mutt we should probabaly do things correctly.
* Crash on delete in empty folder (#213)Zach Sisco2019-07-041-0/+3
|
* Add unsubscribe commandBen Burwell2019-07-042-0/+144
| | | | | | | | | | | | | | | | 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-041-3/+2
|
* Implement basic tab completion supportGregory Mullen2019-06-2942-126/+524
| | | | | Tab completion currently only works on commands. Contextual completion will be added in the future.
* Implement :search, :next-result, :prev-resultDrew DeVault2019-06-262-0/+95
|
* msgview/save: Use defaultSavePath if no path is providedReto Brunner2019-06-251-6/+16
|
* Fix Cc & Bcc handling in repliesDrew DeVault2019-06-211-0/+3
|
* 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`.
* commands/msgview: add open commandRéouven Assouly2019-06-171-0/+61
|
* 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.
* Support directories in path to :saveClayton Craft2019-06-141-4/+53
| | | | | | | | | | | | 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')
* commands/msgview: Add next/prev commandsKevin Kuehler2019-06-112-2/+40
| | | | Signed-off-by: Kevin Kuehler <kkuehler@brave.com>
* Move select functionality from msglist to msgstoreKevin Kuehler2019-06-113-3/+6
| | | | | | 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-091-0/+39
|
* 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
|
* Update reply to use getopt posix optind formatClayton Craft2019-06-091-2/+2
| | | | | This changes the handling of optind for the 'reply' command to match recent changes to getopt.
* Add :read and :unread commandsDrew DeVault2019-06-091-0/+38
|
* commands/msg/copy: remove unnecessary codeDrew DeVault2019-06-091-4/+0
|
* Add archive commandRobert Günzler2019-06-093-6/+102
| | | | | | | | | | | | | | | 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
|
* Message list: implement index-format optionYash Srivastav2019-06-071-22/+3
|
* implements ability to view headers in message viewYash Srivastav2019-06-071-0/+25
|
* Introduce :new-account -tJanUlrich2019-06-051-2/+10
| | | | | | | | 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
* Allow no arguments to :cdTadeo Kondrak2019-06-051-3/+5
| | | | I often use the bare `cd` command to get back to my home directory.
* widget: Add ProvidesMessage interfaceKevin Kuehler2019-06-026-17/+49
| | | | | | | | | | | 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>
* Fix infinite recursion in reply.go:findPlaintextDrew DeVault2019-06-021-1/+1
|
* Fetch plaintext part when replyingDrew DeVault2019-06-011-6/+34
|
* Add :save and :pipe commands to viewerGalen Abell2019-05-274-37/+163
| | | | | | | | | * :save takes a path and saves the current message part to that location * :pipe is the same as pipe on the account page, but uses the current message part rather than the whole email (ie :pipe gzip -d) * Refactored account:pipe and extracted common pipe code to commands.util.QuickTerm * Added helper command aerc.PushError
* Implement :edit in compose screenDrew DeVault2019-05-261-0/+21
|
* Implement :forwardDrew DeVault2019-05-251-31/+81
|
* Fix special characters in address.PersonalNameDrew DeVault2019-05-252-27/+35
|
* Implement :helpDrew DeVault2019-05-221-0/+21
|
* Write new accounts to config and open tabDrew DeVault2019-05-221-1/+1
|
* New account wizard, part oneDrew DeVault2019-05-211-0/+20
|
* Pass ServerName to tls.Config for SMTPDrew DeVault2019-05-201-2/+12
|
* Implement :next-part, :prev-partDrew DeVault2019-05-201-0/+43
|
* Flesh out multipart switcherDrew DeVault2019-05-201-2/+2
|
* asdfDrew DeVault2019-05-201-6/+2
|
* pipe.go: let tab widget handle ellipsisDrew DeVault2019-05-201-2/+1
|
* Missed a spotDrew DeVault2019-05-191-0/+1
|
* Rename :delete-message et al to :delete et alDrew DeVault2019-05-194-2/+6
|
* Advance cursor after :delete and :moveDrew DeVault2019-05-192-0/+2
| | | | So that you can repeat the action on the next message if appropriate
* Implement :pwd commandAmin Bandali2019-05-191-0/+25
|
* Fix scdoc & gofmt issuesDrew DeVault2019-05-185-17/+11
|
* s/aerc2/aerc/gDrew DeVault2019-05-1725-29/+29
|
* Remove debug loggingDrew DeVault2019-05-171-1/+0
|