about summary refs log tree commit diff stats
path: root/go.mod
Commit message (Collapse)AuthorAgeFilesLines
* update tcell to v2 and enable TrueColor supporty0ast2020-12-181-4/+1
| | | | | | | | | Also update to the tcell v2 PaletteColor api, which should keep the chosen theme of the user intact. Note, that if $TRUECOLOR is defined and a truecolor given, aerc will now stop clipping the value to one of the theme colors. Generally this is desired behaviour though.
* notmuch: remove gc close hooksReto Brunner2020-12-021-0/+2
| | | | | | | 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.
* compose: use a proper header instead of a string mapReto Brunner2020-11-141-2/+1
| | | | | | | | | | | | | 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.
* update go-imap-sortthready0ast2020-10-181-1/+1
| | | | | | 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.
* update go-imapy0ast2020-10-151-1/+1
| | | | | | 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.
* imap: add sort supportReto Brunner2020-10-111-1/+2
|
* Update go-imap to latest commitReto Brunner2020-09-151-1/+2
| | | | | | | | | | | | | | | | | | | | * 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
* update go-messageReto Brunner2020-08-311-1/+1
|
* Revert "Upgrade tcell version to 1.4.0 to support truecolor"Drew DeVault2020-08-281-1/+4
| | | | This reverts commit 2ada00de1e682c43327d8cecf090b58528020ffc.
* Upgrade tcell version to 1.4.0 to support truecolory0ast2020-08-281-4/+1
|
* Update go-message, fixes various bugsReto Brunner2020-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Changelog: d262af7 (tag: v0.12.0) textproto: check header characters 5b97b1b Remove hz-gb-2312 encoding as it can crash 0e60ea0 writer: add Mime-Version header when missing c512562 textproto: add Header.Raw and HeaderFields.Raw 4af4c77 textproto: Add HeaderFields.Len f828d02 Add test converting an Entity to quoted-printable 8c6ac6b Add CreateInlineWriter to get a writer that allows alternatives, but no attachments. fee642d (tag: v0.11.2) Fix incorrect line folding of RFC2047-encoded strings 9c4415e textproto: add limits for header field length and total amount of fields 46fe03d mail: add Message-Id test with IPv6 address 6c32091 textproto: add MultipartReader tests 9ce1b6f textproto: remove unused skipSpace function a41879c mail: add tests for Header.{MessageID,MsgIDList} 82eb31c mail: add Header.MessageID and Header.MsgIDList 7e482a2 mail: add headerParser 40e7be6 textproto: minor doc improvements f119d5f readme: remove stability badge e48b6c5 mail: minor comments and docs improvements 8ade7dd textproto: add error on invalid header key
* creak/pty got force pushed: fix versionReto Brunner2020-05-081-1/+1
|
* Use stdout as controlling terminalGuillaume J. Charmes2020-05-061-1/+1
| | | | | | | 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-061-1/+1
| | | | This reverts commit d07cf6c667a0d497c67196fca9967db71c1e02f6.
* Dont detach process under vtermGuillaume J. Charmes2020-05-061-1/+1
| | | | Signed-off-by: Guillaume J. Charmes <git+guillaume@charmes.net>
* Bump ProtonMail/crypto to fix build on OpenBSDAnirudh Oppiliappan2020-04-201-1/+1
| | | | Signed-off-by: Anirudh Oppiliappan <x@icyphox.sh>
* Requires Go 1.13Simon Ser2020-03-201-1/+1
| | | | We use errors.Is, which has been introduced in Go 1.13.
* Initial support for PGP decryption & signaturesDrew DeVault2020-03-031-1/+5
|
* Update dependenciesSimon Ser2020-03-031-19/+22
| | | | This brings in some bug fixes.
* Mark sent messages as "seen" in maildirGalen Abell2020-03-031-1/+1
| | | | | | | - Add maildir flags to complement a messages imap flags - Set the "seen" flag on sent messages when using the maildir backend - Cleanup AppendMessage interface to use models.Flag for both IMAP and maildir
* Contextual UI ConfigurationSrivathsan Murali2020-01-241-0/+1
| | | | | | | | | + Adds parsing of contextual ui sections to aerc config. + Add GetUiConfig method for AercConfig that is used to get the specialized UI config. + Add UiConfig method to AccountView to get specialized UI Config. + Modifies Aerc codebase to use specialized UIConfig instead. + Adds documentation for Contextual UI Configuration
* Switch back to upstream pty libraryBen Fiedler2020-01-161-1/+1
| | | | | The relevant change was merged upstream, and thus allows us to clean up unneeded forks.
* Update go-maildir to latestBen Burwell2019-12-191-1/+1
| | | | | | This fixes an upstream issue where improperly named maildir files could cause a panic. Now, we simply show an error and don't display the message if the backing file is not named according to the maildir spec.
* Add support for AUTH LOGIN submissionLuke Drummond2019-11-011-1/+1
| | | | | | | | | | | `go-sasl` upstream added support [1] for the obsolete [2] AUTH LOGIN method which enables aerc to send email via servers which remain common in the wild. Fixes ~sircmpwn/aerc2#263 [1] https://github.com/emersion/go-sasl/commit/61afe53d [2] https://datatracker.ietf.org/doc/draft-murchison-sasl-login/
* notmuch: sync maildir flagsReto Brunner2019-09-161-1/+1
| | | | Syncs back special notmuch tag like unread to the underlying maildir store
* upgrade go-messageReto Brunner2019-08-201-3/+1
| | | | Fixes date parsing bug in the maildir / notmuch workers.
* bump go-message, fixes address list parsing failureReto Brunner2019-08-161-3/+3
|
* add github.com/zenhack/go.notmuchReto Brunner2019-08-081-0/+1
|
* Update tcellDrew DeVault2019-08-071-1/+1
|
* Update tcellDrew DeVault2019-07-271-2/+2
|
* Update dependenciesSimon Ser2019-07-271-14/+17
| | | | | | A bug corrupting long In-Reply-To headers has been fixed upstream in go-message: https://github.com/emersion/go-message/issues/44
* Use latest go-maildirBen Burwell2019-07-191-1/+1
|
* maildir: Watch for new messagesBen Burwell2019-07-171-0/+1
| | | | | | | | When a directory is opened, start watching its "new" subdirectory for incoming messages using the fsnotify library. When creation events are detected, run the Unseen routine to move the message from new to cur and add new UIDs to the store, updating the UI's list of directory contents as we go.
* Handle the invalid "utf8" encodingBen Burwell2019-07-121-1/+1
| | | | | See commit 0bfc369eb68a1d34ea0ee983f218e97a14099959 in the go-message package.
* Add maildir backend workerBen Burwell2019-07-121-0/+1
| | | | | | | | | | | | | Add the initial implementation of a backend for Maildir accounts. Much of the functionality required is implemented in the go-message and go-maildir libraries, so we use them as much as possible. The maildir worker hooks into a new maildir:// URL scheme in the accounts.conf file which points to a container of several maildir directories. From there, the OpenDirectory, FetchDirectoryContents, etc messages work on subdirectories. This is implemented as a Container struct which handles mapping between the symbolic email folder names and UIDs to the concrete directories and file names.
* Support imaps with oauthbearer authentication (Gmail)Frode Aannevik2019-07-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | imaps+oauthbearer://user:token@host?token_endpoint=... - the config Source password is used as access token if no token_endpoint parameter is set - the config Source password is used as refresh token if token_endpoint parameter is set, and used to exchange with an access token The implementation has only been tested with Gmail. source = imaps+oauthbearer://{username}:{refersh_token}@imap.gmail.com:993? \ client_id=XX&\ client_secret=XX&\ token_endpoint=https%3A%2F%2Faccounts.google.com%2Fo%2Foauth2%2Ftoken client credentials created with https://console.developers.google.com/apis/credentials refresh token created with https://github.com/google/gmail-oauth2-tools/blob/master/python/oauth2.py rel: https://todo.sr.ht/~sircmpwn/aerc2/42
* 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
* Update tcellDrew DeVault2019-06-151-1/+1
|
* Update reply to use getopt posix optind formatClayton Craft2019-06-091-1/+1
| | | | | This changes the handling of optind for the 'reply' command to match recent changes to getopt.
* Update dependenciesSimon Ser2019-06-041-7/+10
| | | | | | This should get rid of this error message: tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config
* Update tcell forkDrew DeVault2019-06-021-1/+1
|
* Use forked version of tcellDrew DeVault2019-06-011-3/+3
|
* Update terminal color handling per vterm changesDrew DeVault2019-05-261-1/+1
|
* Update to the latest go-libvtermDrew DeVault2019-05-261-1/+1
|
* Update go-libvtermDrew DeVault2019-05-261-1/+1
|
* Fix special characters in address.PersonalNameDrew DeVault2019-05-251-0/+1
|
* Update go-imap and go-imap-idleSimon Ser2019-05-191-5/+5
| | | | | | This fixes a race condition in go-imap-idle. See [1]. [1]: https://github.com/emersion/go-imap-idle/commit/2704abd7050ed7f2143753554ee23affdf847bd9
* s/aerc2/aerc/gDrew DeVault2019-05-171-1/+1
|
* Implement :reply -q and :reply -aDrew DeVault2019-05-161-0/+1
|
* Implement (basic form) of :replyDrew DeVault2019-05-161-0/+1
|