about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* Move findPlaintext / findFirstNonMultipart to utilsReto Brunner2020-05-172-31/+32
| | | | They are used by more than one command and as such need to be in a common file.
* msg/reply: fix encoding issues for quoted reply.Reto Brunner2020-05-172-11/+32
|
* FetchBodyPart doesn't need the parent body structureReto Brunner2020-05-179-29/+24
|
* imap: Remove FetchMessageBodyPart.{Encoding,Charset}Reto Brunner2020-05-163-123/+111
| | | | Fixes https://todo.sr.ht/~sircmpwn/aerc2/352 exactly as suggested by emersion.
* Change MarkedMessages to return uidsReto Brunner2020-05-115-14/+30
| | | | | | | | | 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.
* commands/helper: remove duplicated methodReto Brunner2020-05-116-14/+6
|
* msg/read: don't copy waitgroupReto Brunner2020-05-111-3/+3
|
* maildir: remove read handling from FetchMessageBodyPartReto Brunner2020-05-111-21/+0
|
* notmuch: remove read handling from FetchMessageBodyPartReto Brunner2020-05-111-13/+0
|
* Show 'Message sent' only for ten seconds instead of permanentlyelumbella2020-05-111-4/+4
|
* creak/pty got force pushed: fix versionReto Brunner2020-05-082-5/+3
|
* Use stdout as controlling terminalGuillaume J. Charmes2020-05-063-2/+5
| | | | | | | 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>
* Revert "Dont detach process under vterm"Drew DeVault2020-05-063-4/+2
| | | | This reverts commit d07cf6c667a0d497c67196fca9967db71c1e02f6.
* Dont detach process under vtermGuillaume J. Charmes2020-05-063-2/+4
| | | | Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>
* templates: add version funcReto Brunner2020-05-063-0/+19
| | | | Fixes #316
* docs: extract template function to their own sectionReto Brunner2020-05-061-28/+39
| | | | The functions were located in the data section, which was suboptimal.
* lib/messageview: mark messages as readReto Brunner2020-05-061-0/+1
| | | | | | | | | 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.
* msg/reply: Deduplicate TO: and CC:Reto Brunner2020-05-061-0/+12
| | | | If a recipient is already in TO:, there's no need to also put them in CC:
* Guess date from received if not presentelumbella2020-05-061-1/+41
|
* Allow maildir subdirectoriesGrégoire Delattre2020-05-051-11/+27
|
* libui: don't require beeper for main contentDrew DeVault2020-05-051-2/+4
|
* Fix array out of bounds errorburrowing-owl2020-05-051-1/+1
|
* store.FetchFull: Change callback type to expose entire messageBen Fiedler2020-05-015-11/+17
| | | | | This is a prerequisite for allowing the FetchFull message to return both the message content and the message headers.
* Implement :header commandRay Ganardi2020-05-012-0/+78
| | | | | | Usage: *header* [-f] <field> [value] Add a new email header. If the header already exists, -f must be specified to replace the given value.
* Changing aerc.conf delimiter parsing to use only =, and not : as wellBen Cohen2020-04-291-2/+6
|
* Remove unecessary <Enter> from aerc.conf.inErazem Kokot2020-04-281-1/+1
| | | | | | 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.
* add template structure to aerc-templates(7)Reto Brunner2020-04-261-2/+19
|
* aerc-config: remove bold modifier within textReto Brunner2020-04-261-1/+1
| | | | | Partial bold ("highlighted") text looks very strange and it doesn't really add anything, might as well remove it.
* remove mention of header addition via the editor from tutorialReto Brunner2020-04-241-3/+1
|
* Fix headers in built-in templatesDrew DeVault2020-04-242-0/+2
|
* gofmt fixesDrew DeVault2020-04-2414-20/+20
|
* imap/fetch.go: report error when fetching headers failsBen Fiedler2020-04-241-3/+4
| | | | | Correct me if I'm wrong, but shouldn't this raise an error when it fails?
* Add recall commandJeffas2020-04-247-5/+154
| | | | | | This command allows recalling the selected postponed email to edit in the composer. The command only allows recalling from the postpone directory.
* Add postpone commandJeffas2020-04-2411-27/+166
| | | | | | | 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.
* Add :choose commandRay Ganardi2020-04-243-0/+84
| | | | | | | Usage: *choose* -o <key> <text> <command> [-o <key> <text> <command>]... Prompts the user to choose from various options.
* Remove ability to specify headers in the editorReto Brunner2020-04-243-152/+48
| | | | | | | | | | 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
* templates/quoted_reply: fix incorrect timezone identifierReto Brunner2020-04-241-1/+1
|
* Ensure documented defaults match given defaultsBen Fiedler2020-04-231-3/+3
|
* Use aerc.PushError where appropriateBen Fiedler2020-04-2313-52/+20
| | | | Forgot an unused import, to save you the hassle here is v2.
* Bump ProtonMail/crypto to fix build on OpenBSDAnirudh Oppiliappan2020-04-202-3/+3
| | | | Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
* fix binding for delete messageRay Ganardi2020-04-201-1/+1
| | | | | I guess confirm command was removed sometime ago, but the config template was not updated.
* fix: Close unused MessageView when swapping viewRay Ganardi2020-04-202-1/+7
| | | | | | | Closes https://todo.sr.ht/~sircmpwn/aerc2/379 The old `MessageView` was not closed when replacing the tab content, which causes a memory leak.
* Make the http handler of the unsubscribe command asyncNicolai Dagestad2020-04-161-1/+2
|
* Readme: add config location of MacOSReto Brunner2020-04-121-1/+2
|
* msg/archive: complete the possible optionsReto Brunner2020-04-112-1/+17
|
* README: include demo and update required go versionReto Brunner2020-04-071-1/+3
|
* go mod tidy, updated go.sumReto Brunner2020-04-061-0/+13
|
* Try to open attachments with correct extensionGalen Abell2020-04-061-1/+13
| | | | | | The temporary file created when opening an attachment is currently saved without an extension, which prevents matching on file ending with xdg-open.
* fix function keys in terminal widgetJonathan Halmen2020-03-261-1/+1
| | | | off-by-one error
* Requires Go 1.13Simon Ser2020-03-201-1/+1
| | | | We use errors.Is, which has been introduced in Go 1.13.