aboutsummaryrefslogtreecommitdiff
path: root/config/config.go
AgeCommit message (Collapse)Author
2019-10-29Start adding thread supportKevin Kuehler
* Add threading-enabled config option * Add DirectoryThreaded and FetchDirectoryThreaded types to control path * Add generic thread type for all backends to use Signed-off-by: Kevin Kuehler <keur@xcf.berkeley.edu>
2019-09-20Config for deleting message from message viewerSrivathsan Murali
As suggested in #268, this adds a behaviour setting for deleting message from message viewer.
2019-09-20Add sorting functionalityJeffas
There is a command and config option. The criteria are a list of the sort criterion and each can be individually reversed. This only includes support for sorting in the maildir backend currently. The other backends are not supported in this patch.
2019-09-12Add signaturesJeffas
This adds the ability for per-account signatures in the accounts.conf config file. The signature is added to emails in the editor at the bottom of the email. This includes when forwarding, replying to, and composing emails. There are two config options: signature-file and signature-cmd. The former allows a signature to be read from a file and the latter allows an arbitrary command to be executed to return the signature. The config options have been documented in aerc-config
2019-09-11Add display of unread messages in dirlistJeffas
Add an onUpdateDirs handler. This is used to invalidate the dirlist and redraw with the correct number of recent/unread/total messages is shown. A config option and formatting options are provided.
2019-08-30Allow custom spinner via config filePaul Spooren
Allows to set `ui.spinner=` to a string which is then split by `ui.spinner-delimiter=` (Default: comma) instead of having a hard coded animation. This implementation doesn't use INIs capabilities to split strings as it trims whitespaces breaking the default animation. Signed-off-by: Paul Spooren <mail@aparcar.org>
2019-08-12Pass os stdin to credential commandJonas Mueller
This is neccessary for `gpg-agent` to display a prompt and get the key to unlock a given password. See https://todo.sr.ht/~sircmpwn/aerc2/250.
2019-07-29Ring bell when new messages arrive0.2.0Ben Burwell
Add a "new-message-bell" option to the UI section of aerc.conf. A new hook into the message store allows the msglist widget to detect new messages being added to the displayed list. When new messages are delivered, and the new-message-bell option is enabled (as it is by default), the terminal will beep.
2019-07-29Print errors from config load issues.Reto Brunner
Currently we /dev/null stdout, if it is a tty. The checkConfigPerms function, as well as the error print were incorrectly writing to stdout and therefore weren't visible to most users.
2019-07-26Support configurable header layout in compose widgetDaniel Bridges
2019-07-26Add new-email triggerJeffas
This patch sets up the trigger config section of aerc.conf. Each trigger has its own function which is called from the place where it is triggered. Currently only the new-email trigger is implemented. The triggers make use of format strings. For instance, in the new-email trigger this allows the user to select the trigger command and also the information extracted from the command and placed into their command. To actually execute the trigger commands the keypresses are simulated. Further triggers can be implemented in the future. Formatting of the command is moved to a new package.
2019-07-17Add :cp alias for :copyDrew DeVault
2019-07-17Add option to always show mimetype in viewerJeffas
A user may want to be able to see what mimetype they are viewing, so that they can determine what program it may be opened in or for some other reason. The config option is under the [viewer] section and is called 'always-show-mime'. It defaults to false to preserve the current behaviour.
2019-07-17Display user specified headers in viewer if presentDaniel Bridges
2019-07-17Add MouseEnabled config settingJeffas
This patch adds the ability to control whether aerc captures mouseevents or not. By default it will be set to not capture events.
2019-07-1571: Allow user to change config options at runtimePedro L. Ramos
There is a LoadConf and a LoadConfFromFile. LoadConfFromFile reads the iniFile into memory and and calls LoadConf, which executes the old parsing commands from LoadConf (old func). The remaining of the LoadConfFromFile is the same as the old OldConf.
2019-07-11Don't bind $noinheritEyal Sawady
Fixes #112 Signed-off-by: Eyal Sawady <eyalsawady@gmail.com>
2019-06-25add DefaultSavePath configReto Brunner
2019-06-14Set empty message in dirlist if no folder exist.Reto Brunner
2019-06-09Add archive commandRobert Günzler
Adds an archive command that moves the current message into the folder specified in the account config entry. Supports three layouts at this point: - flat: puts all messages next to each other - year: creates a folder per year - month: same as above, plus folders per month This also adds a "-p" argument to "cp" and "mv" that works like "--parents" on mkdir(1). We use this to auto-create the directories for the archive layout.
2019-06-07Message list: implement index-format optionYash Srivastav
2019-06-07implements ability to view headers in message viewYash Srivastav
2019-06-05config: sort account foldersChris Kinniburgh
directory list depends on these being sorted
2019-05-22Install default configs to XDG config if not foundDrew DeVault
2019-05-22Show account wizard if no accounts configuredDrew DeVault
2019-05-21New account wizard, part oneDrew DeVault
2019-05-21Use kebab-case for cred-cmdsDrew DeVault
2019-05-18Implement loading passwords from external commandsGalen Abell
* Resolves #80
2019-05-17Implement ui.empty-message config optionDrew DeVault
Also removes some options that aren't going to be supported any time soon.
2019-05-16Abort if accounts.conf is world readableReto Brunner
Fixes #32
2019-05-16Revert "Abort if accounts.conf is world readable"Drew DeVault
This reverts commit a755608ef9d5893b68dc4c774bbda06503481552.
2019-05-16Revert "s/aerc.conf/address.conf/ in permission check"Drew DeVault
This reverts commit 66ba099ca0bfa83cd050050d92663ec45da20141.
2019-05-16s/aerc.conf/address.conf/ in permission checkCole Helbling
Small typo in a recent commit: should abort if accounts.conf is world readable, not aerc.conf.
2019-05-16Abort if accounts.conf is world readableReto Brunner
Fixes #32
2019-05-15Copy sent emails to the Sent folderDrew DeVault
Or rather, to a user-specified folder
2019-05-14Add $EDITOR, internal config for composeDrew DeVault
2019-05-14Add distinct keybindings for each compose viewDrew DeVault
2019-05-13Populate "From" header from config for new emailsDrew DeVault
2019-05-12Add outgoing account configurationDrew DeVault
2019-03-31Use shell to execute filters, fix non-determinismDrew DeVault
2019-03-31Improve plaintext.pyDrew DeVault
2019-03-31Implement header-regex-match filtersDrew DeVault
2019-03-31Add basic filter implementationDrew DeVault
2019-03-30Handle no configured accounts gracefullyJulian P Samaroo
Instead of throwing a runtime error, when no accounts are configured in accounts.conf, we provide an informative error message.
2019-03-21Add context-specific keybindingsDrew DeVault
2019-03-15Implement default in accounts.confDrew DeVault
2019-03-15Remove extra debug log statementDrew DeVault
2019-03-15Implement sidebar-width config optionDrew DeVault
2019-03-15Implement key bindings subsystemDrew DeVault
Which is not yet rigged up
2018-01-10Misc idiomatic fixesemersion