aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/providesmessage.go
Commit message (Collapse)AuthorAgeFilesLines
* widgets: rename package to appRobin Jarry2023-10-101-30/+0
| | | | | | | | | This is the central point of all aerc. Having it named widgets is confusing. Rename it to app. It will make a cleaner transition when making the app.Aerc object available globally in the next commit. Signed-off-by: Robin Jarry <robin@jarry.cc> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
* msgviewer: open http links from messagesKoni Marti2022-06-141-0/+1
| | | | | | | | | | | | | | | | | Parse http links from a message and display them as completions in the :open-link command. Add the following binds to the [view] section in your binds.conf: <C-l> = :open-link <space> Parsing can be disabled in aerc.conf by setting parse-http-links to false in the viewer section. Thanks to Moritz for the help with the regular expression. Signed-off-by: Koni Marti <koni.marti@gmail.com> Reviewed-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
* go.mod: change base git urlRobin Jarry2021-11-051-3/+3
| | | | | | | I'm not sure what are the implications but it seems required. Link: https://github.com/golang/go/issues/20883 Signed-off-by: Robin Jarry <robin@jarry.cc>
* Change MarkedMessages to return uidsReto Brunner2020-05-111-1/+1
| | | | | | | | | 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.
* Refactoring: remove store from PartInfoDrew DeVault2020-03-091-1/+0
|
* add ProvidesMessages interfaceReto Brunner2019-12-211-0/+8
|
* Fix crashes when operating on empty folder (#216)Daniel Bridges2019-07-101-1/+1
|
* Factor IMAP-specific structs out of UI modelsBen Burwell2019-07-081-4/+2
| | | | | | | Before, we were using several IMAP-specific concepts to represent information being displayed in the UI. Factor these structures out of the IMAP package to make it easier for other backends to provide the required information.
* Factor UI models out of the worker message packageBen Burwell2019-07-081-2/+2
| | | | | | | | Before, the information needed to display different parts of the UI was tightly coupled to the specific messages being sent back and forth to the backend worker. Separating out a models package allows us to be more specific about exactly what a backend is able to and required to provide for the UI.
* Make :pipe command more genericDrew DeVault2019-07-051-1/+11
|
* Add date to message viewerDrew DeVault2019-06-021-2/+2
|
* widget: Add ProvidesMessage interfaceKevin Kuehler2019-06-021-0/+14
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>