summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-17Move findPlaintext / findFirstNonMultipart to utilsReto Brunner
They are used by more than one command and as such need to be in a common file.
2020-05-17msg/reply: fix encoding issues for quoted reply.Reto Brunner
2020-05-17FetchBodyPart doesn't need the parent body structureReto Brunner
2020-05-16imap: Remove FetchMessageBodyPart.{Encoding,Charset}Reto Brunner
Fixes https://todo.sr.ht/~sircmpwn/aerc2/352 exactly as suggested by emersion.
2020-05-11Change MarkedMessages to return uidsReto Brunner
Especially if one tries to interact with all marked messages there could be the case that not all headers are fetched yet, hence the messageInfo is still nil. This segfaults a lot of commands which in principle only need the uid to complete. If we switch to uids, this issue can be alleviated for those commands.
2020-05-11commands/helper: remove duplicated methodReto Brunner
2020-05-11msg/read: don't copy waitgroupReto Brunner
2020-05-11maildir: remove read handling from FetchMessageBodyPartReto Brunner
2020-05-11notmuch: remove read handling from FetchMessageBodyPartReto Brunner
2020-05-11Show 'Message sent' only for ten seconds instead of permanentlyelumbella
2020-05-08creak/pty got force pushed: fix versionReto Brunner
2020-05-06Use stdout as controlling terminalGuillaume J. Charmes
Soves an issue with go1.15 not letting ctty be a parent. See https://github.com/creack/pty/pull/97 for more details. Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>
2020-05-06Revert "Dont detach process under vterm"Drew DeVault
This reverts commit d07cf6c667a0d497c67196fca9967db71c1e02f6.
2020-05-06Dont detach process under vtermGuillaume J. Charmes
Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>
2020-05-06templates: add version funcReto Brunner
Fixes #316
2020-05-06docs: extract template function to their own sectionReto Brunner
The functions were located in the data section, which was suboptimal.
2020-05-06lib/messageview: mark messages as readReto Brunner
Currently at least the notmuch and maildir worker only set messages as read if a body part is fetched. The gpg abstraction however fetches the full message. We can simply set the readstate when we create the messageview, avoiding the issue. Once this is merged, we can cleanup both workers.
2020-05-06msg/reply: Deduplicate TO: and CC:Reto Brunner
If a recipient is already in TO:, there's no need to also put them in CC:
2020-05-06Guess date from received if not presentelumbella
2020-05-05Allow maildir subdirectoriesGrégoire Delattre
2020-05-05libui: don't require beeper for main contentDrew DeVault
2020-05-05Fix array out of bounds errorburrowing-owl
2020-05-01store.FetchFull: Change callback type to expose entire messageBen Fiedler
This is a prerequisite for allowing the FetchFull message to return both the message content and the message headers.
2020-05-01Implement :header commandRay Ganardi
Usage: *header* [-f] <field> [value] Add a new email header. If the header already exists, -f must be specified to replace the given value.
2020-04-29Changing aerc.conf delimiter parsing to use only =, and not : as wellBen Cohen
2020-04-28Remove unecessary <Enter> from aerc.conf.inErazem Kokot
The new-email config example has "<Enter>" at the end unecessarily, since this makes the "<Enter>" text show up in a notification instead of functioning as a Return keypress.
2020-04-26add template structure to aerc-templates(7)Reto Brunner
2020-04-26aerc-config: remove bold modifier within textReto Brunner
Partial bold ("highlighted") text looks very strange and it doesn't really add anything, might as well remove it.
2020-04-24remove mention of header addition via the editor from tutorialReto Brunner
2020-04-24Fix headers in built-in templatesDrew DeVault
2020-04-24gofmt fixesDrew DeVault
2020-04-24imap/fetch.go: report error when fetching headers failsBen Fiedler
Correct me if I'm wrong, but shouldn't this raise an error when it fails?
2020-04-24Add recall commandJeffas
This command allows recalling the selected postponed email to edit in the composer. The command only allows recalling from the postpone directory.
2020-04-24Add postpone commandJeffas
This command uses the Postpone folder from the account config to save messages to. Messages are saved as though they were sent so have a valid 'to' recipient address and should be able to be read back in for later editing.
2020-04-24Add :choose commandRay Ganardi
Usage: *choose* -o <key> <text> <command> [-o <key> <text> <command>]... Prompts the user to choose from various options.
2020-04-24Remove ability to specify headers in the editorReto Brunner
Due to headers being essentially free text, we constantly run into issues with parts of the body being interpreted as headers. Remove the ability to overwrite headers to avoid that, while keeping the ability to specify headers in the template files. Fixes #383
2020-04-24templates/quoted_reply: fix incorrect timezone identifierReto Brunner
2020-04-23Ensure documented defaults match given defaultsBen Fiedler
2020-04-23Use aerc.PushError where appropriateBen Fiedler
Forgot an unused import, to save you the hassle here is v2.
2020-04-20Bump ProtonMail/crypto to fix build on OpenBSDAnirudh Oppiliappan
Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
2020-04-20fix binding for delete messageRay Ganardi
I guess confirm command was removed sometime ago, but the config template was not updated.
2020-04-20fix: Close unused MessageView when swapping viewRay Ganardi
Closes https://todo.sr.ht/~sircmpwn/aerc2/379 The old `MessageView` was not closed when replacing the tab content, which causes a memory leak.
2020-04-16Make the http handler of the unsubscribe command asyncNicolai Dagestad
2020-04-12Readme: add config location of MacOSReto Brunner
2020-04-11msg/archive: complete the possible optionsReto Brunner
2020-04-07README: include demo and update required go versionReto Brunner
2020-04-06go mod tidy, updated go.sumReto Brunner
2020-04-06Try to open attachments with correct extensionGalen Abell
The temporary file created when opening an attachment is currently saved without an extension, which prevents matching on file ending with xdg-open.
2020-03-26fix function keys in terminal widgetJonathan Halmen
off-by-one error
2020-03-20Requires Go 1.13Simon Ser
We use errors.Is, which has been introduced in Go 1.13.