summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-12-15Use extensions for querying the mime type of attachmentsReto Brunner
This gets rid of the issue that lots of things are detected as zip files, even though they are a more specialized format (say office files)
2020-12-13fix aerc-stylesets(7) typosReto Brunner
2020-12-02notmuch: trim excluded tagsKalyan Sriram
Trims whitespace in list of excluded notmuch tags. This allows a comma separated list with spaces to be correctly processed.
2020-12-02notmuch: remove gc close hooksReto Brunner
We frequently had issues with notmuch segfaulting and my guess is that this was due to the garbage collection magic used in the module. This changes to a fork that ripped the functionality out.
2020-11-28fix mailto parsingReto Brunner
2020-11-21Refactor send commandReto Brunner
2020-11-14reply: add References headerReto Brunner
2020-11-14imap: strip <> from message-idsReto Brunner
2020-11-14lib/parse: use go-message msgid parsing if it succeedsReto Brunner
2020-11-14allow the loading of existing headersReto Brunner
2020-11-14format: remove parse methods, use the one from go-messageReto Brunner
2020-11-14compose: use a proper header instead of a string mapReto Brunner
Prior to this commit, the composer was based on a map[string]string. While this approach was very versatile, it lead to a constant encoding / decoding of addresses and other headers. This commit switches to a different model, where the composer is based on a header. Commands which want to interact with it can simply set some defaults they would like to have. Users can overwrite them however they like. In order to get access to the functions generating / getting the msgid go-message was upgraded.
2020-11-14models: add RFC822 headers to OriginalMailReto Brunner
2020-11-14rename header to heditorsReto Brunner
2020-11-14templates: Remove ParseTemplate as it's unusedReto Brunner
2020-11-14remove models.Address in favor of go-message AddressReto Brunner
We made a new type out of go-message/mail.Address without any real reason. This suddenly made it necessary to convert from one to the other without actually having any benefit whatsoever. This commit gets rid of the additional type
2020-11-14version bump: 0.5.2Reto Brunner
2020-11-13makefile: add debug targetReto Brunner
2020-11-13Check account's from value is not emptyAndrew Jeffery
This leads to a nasty 'mail: no address' message for each email if left empty so the user really should enter it.
2020-11-11templates: better error messageReto Brunner
2020-11-10update the makefile versionReto Brunner
2020-11-08Document pin-tab and unpin-tab commandsDaniel Sockwell
The `pin-tab` and `unpin-tab` global commands were added in 3156d48 but were not previously documented. This documents them in aerc.1. I added them with the other tab commands, which appeared to be grouped as a logical unit.
2020-11-01Apply relevant msglist styles in orderChris Vittal
Allow styles to be layered over a base style. The list of styles to apply is layered over the base style in order, such that if the layer does not differ from the base it is not used. The order that these styles are applied in is, from first to last: msglist_default msglist_unread msglist_read (exclusive with unread, so technically the same level) msglist_flagged msglist_deleted msglist_marked So, msglist_marked style dominates. This fixes an issue where the msglist_deleted style was not being applied.
2020-10-18update go-imap-sortthready0ast
Fixes a problem with "Missing Sort Criteria" because go-imap-sortthread wasn't sending the sort request in an RFC compliant way. This has been fixed in the latest commit.
2020-10-15update go-imapy0ast
This fixes the problem that when the header contains "undisclosed-recipients:;", which got parsed by go-imap as "<undisclosed-recipients@>, <@>". If we do reply all, aerc adds these malformed emails to the To: field.
2020-10-14refactor ParseMessageFormat to use a ctx objectReto Brunner
2020-10-11imap: add sort supportReto Brunner
2020-10-08notmuch: clarify comment char of query-mapsReto Brunner
2020-09-27notmuch: rename method to SetFlagReto Brunner
2020-09-27Makefile: remove aerc-stylesets upon uninstallJD
2020-09-24notmuch: close tag objectReto Brunner
2020-09-22propagate error from sendmaily0ast
2020-09-21reply: don't override the answered flag if we didn't sendReto Brunner
Aerc just sent the true / false update regardless, meaning if someone already replied to a mail, then drafted yet another mail to the same parent the flag would vanish. This commit fixes this behaviour.
2020-09-17doc: fix typo in aerc man pageJosh Holland
2020-09-15Update go-imap to latest commitReto Brunner
* return empty reader instead of nil when BODY is found but server returns nil * utf7: fix package doc comment * imap: lower some fields + content disposition keys * remove "should not be called directly" comments and replaced them with links to the GitHub wiki pages * backendutil: Improve Match function * Write NIL for empty ENVELOPE fields * readme: add NAMESPACE extension * server: error when selecting should unselect * Support NIL hierarchy delimiter * backendutil: Implement message size and lines counting * readme: update CI badge to only show status for commits * Fix empty envelope address fields * server: Return proper BAD response for cancelled SASL negotiation * Replace empty string result in ErrStatusResp.Error * Move ErrStatusResp to the root package * Add MailboxInfoUpdate * Fix BodyStructure fields documented as encoded
2020-09-14doc: add oauth to aerc-smtpSeán C McCord
Signed-off-by: Seán C McCord <ulexus@gmail.com>
2020-09-10Remove unused Simulator interfaceReto Brunner
2020-09-10fix comment in ParseAddressListReto Brunner
Go pre 1.15 parsed an empty string as an error, 1.15 did not but this was unintentional as per https://github.com/golang/go/issues/40803 Fix the comment accordingly
2020-09-08dirlist: fix empty row if dir is addedReto Brunner
There is a window where a new dir entry isn't yet in the dirlist.dir. dirlist.ensureScroll however expected to always find a valid index. Add a check so that we don't try to scroll to a -1 index.
2020-09-07Make mimetype check consistent across casesy0ast
2020-09-01correctly apply msglist_read colory0ast
2020-08-31handle message unknown charset errorJeff Martin
This change handles message parse errors by printing the error when the user tries to view the message. Specifically only handling unknown charset errors in this patch, but there are many types of invalid messages that can be handled in this way. aerc currently leaves certain messages in the msglist in the pending (spinner) state, and I'm unable to view or modify the message. aerc also only prints parse errors with message when they are initially loaded. This UX is a little better, because you can still see the header info about the message, and if you try to view it, you will see the specific error.
2020-08-31update go-messageReto Brunner
2020-08-31Fix color scheme for deleted emailsJames Pond
The color scheme for deleted emails should now match the old design, making it easier to see when a message is deleted. Signed-off-by: James Pond <james@cipher.host>
2020-08-29correct tcell.Style for underlinesqwishy
2020-08-28docs: link to styleset(7)Reto Brunner
2020-08-28Revert "Upgrade tcell version to 1.4.0 to support truecolor"Drew DeVault
This reverts commit 2ada00de1e682c43327d8cecf090b58528020ffc.
2020-08-28Upgrade tcell version to 1.4.0 to support truecolory0ast
2020-08-27reply: use set instead of linear searchReto Brunner
2020-08-24ParseAddressList: return empty list if "" is providedReto Brunner
Go 1.15 handles "" in the address parser as a non error case, returning an empty list. Prior versions returned an error, which is not what we want. Reported-by: anianz <a.ziegler@cioplenu.de> Tested-by: anianz <a.ziegler@cioplenu.de>