summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* update theme spec, default theme and testsPatrick Totzke2018-07-24
| | | | | | | | | | This patchseries adds a new buffer type for displaying notmuch's saved querystrings. This commit adds the respective theming attributes used in the new buffer. They are just copies of the taglist buffer really. THIS BREAKS COMPATIBILITY WITH USER THEMES! The theme files need to be updated to also have these new attributes in order to conform with the updated spec.
* add new buffer type NamedQueriesBufferPatrick Totzke2018-07-24
| | | | that displays the named query strings stored in the notmuch database
* add text widget used in namedqueries buffersPatrick Totzke2018-07-24
|
* add select command for namedqueries bufferPatrick Totzke2018-07-24
|
* add global namedqueries commandPatrick Totzke2018-07-24
| | | | ... that opens a new namedqueries buffer
* expose namedquery command to CLIPatrick Totzke2018-07-24
|
* add getter for named queries to DB managerPatrick Totzke2018-07-24
|
* bump dependencyPatrick Totzke2018-07-24
| | | | the named-queries feature relies on notmuch >= v0.26
* update docsPatrick Totzke2018-07-24
|
* Merge pull request #1252 from pazz/update-envelope-keysDylan Baker2018-07-24
|\ | | | | fix: automatically update envelope gpg keys only if requested. see #1228
| * update gpg keys only if envelope asks for encryptionPatrick Totzke2018-06-21
| | | | | | | | | | | | | | This prevents the update of the gpg keys stored in an envelope, triggered by a header change, in case envelope.encrypt is set to false. Fixes the issue that I reported on #1228
| * rename function that updates gpg keys in envelopesPatrick Totzke2018-06-21
| |
* | Merge pull request #1273 from alexshpilkin/colour-modeDylan Baker2018-07-24
|\ \ | | | | | | Respect colour mode set in config file
| * | Respect colour mode set in config fileAlexander Shpilkin2018-07-22
| | | | | | | | | | | | | | | | | | Terminal colour mode can be set both in the config file and on the command line, but a default value for the command-line option overrode whatever was specified in the config file. Fix this.
* | | Merge pull request #1260 from pazz/py3-cleanupLucas Hoffmann2018-07-22
|\ \ \ | |/ / |/| | Remove pre py3 monkey patch
| * | Remove pre py3 monkey patchLucas Hoffmann2018-07-22
|/ /
* | Merge pull request #1271 from dcbaker/reversed-searchLucas Hoffmann2018-07-19
|\ \ | | | | | | widgets/globals: inverse search keys (up/down)
| * | widgets/globals: inverse search keys (up/down)Dylan Baker2018-07-18
|/ / | | | | | | | | | | This has really annoyed me for a while, the search is reversed from vim. In alot currently up is older searches, whiles down is newer. In vim it's reversed.
* | Merge pull request #1266 from mjg/message-from-bytesDylan Baker2018-07-17
|\ \ | | | | | | Message from bytes
| * | use email.message_from_bytesMichael J Gruber2018-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | .. instead of homebrew method `db.utils.message_from_bytes`. The right way to do this is to rely on the direct bytes->message conversion provided by pythons email module. cf #1253 Suggested-by: Patrick Totzke <patricktotzke@gmail.com>
| * | rename message_from_ functionsMichael J Gruber2018-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our message_from_functions decrypt PGP encryped parts in addition to creating a message object (from bytes or file handles) and recognizing the encoding in one way or the other. Rename them before refactoring to make their function clearer and to distinguish them from the email.message_from_ functions (which do not decrypt).
| * | Revert "require chardet"Michael J Gruber2018-07-11
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 0b5f8bf143e76be7ac989e8c8ec6e4a7dc08a78a. Chardet takes prohibitively long on large blobs (such as attachments). It will be replaced by functions from the email module in subsequent commits.
* | | Add simple test case for helper.parse_mailtoJohannes Löthberg2018-07-16
| | | | | | | | | | | | Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* | | alot/helper: parse_mailto: unquote is in urllib.parse in Python 3Johannes Löthberg2018-07-16
| | | | | | | | | | | | Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* | | ComposeCommand: open signature as binaryJohannes Löthberg2018-07-12
|/ / | | | | | | | | | | | | Otherwise it will be read as a regular python string and be interpreted as octet-stream. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* | typoPatrick Totzke2018-07-07
| |
* | simplify contributing infoPatrick Totzke2018-07-07
| |
* | travisPatrick Totzke2018-07-05
| |
* | travis configPatrick Totzke2018-07-05
| |
* | typo in templatePatrick Totzke2018-07-01
| |
* | add feature request issue templatePatrick Totzke2018-07-01
| |
* | change bug report templatePatrick Totzke2018-07-01
| |
* | Merge pull request #1222 from mjg/thread-retagpromptPatrick Totzke2018-06-23
|\ \ | | | | | | provide retagprompt command in thread mode
| * | provide retagprompt command in thread modeMichael J Gruber2018-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | retagprompt in search mode allows to retag a whole thread. The new thread mode version allows to do the same for each selected message. The common command infers its mode from the UI object that it is passed when applied. Therefore, the docstring (and everything else) is mode-agnostic. When this command command is registered for the wrong mode and applied it raises a KeyError (on purpose).
| * | refactor common retagpromptMichael J Gruber2018-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a new source file common.py for common commands and, as a first example, define RetagPromptCommand there and register it from search.py. This shows how to "decorate" a class that is defined somewhere else, and thus how to decorate it multiple times.
* | | tone down build notifications on IRCPatrick Totzke2018-06-23
| | |
* | | add missing importPatrick Totzke2018-06-22
|/ / | | | | | | | | .. that accidentally got dropped during c86623d9c7daaa2f9a832135a11870a0d91110a3 This fixes #1255
* | Merge pull request #1251 from pazz/lazy-settingsPatrick Totzke2018-06-21
|\ \ | |/ |/| lazy reading of config files in SettingsManager
| * update tests for SettingsManagerPatrick Totzke2018-06-21
| | | | | | | | | | | | | | - SettingsManagers is now instantiated without config paths and instead `read_[notmuch]config` is called separately - test_no_user_setting_* are removed, because we do not need to test what config path SettingsManager uses anymore (this is now explicit)
| * lazy reading of config files in SettingsManagerPatrick Totzke2018-06-21
|/ | | | | | | | | This prevents SettingsManager from reading the config files right when it is isntantiated and instead waits for the main module to call `read_[notmuch]config` with the right path. This should prevent problems with accidentally reading the default config paths despite being told otherwise (via commandline options)
* Merge pull request #1228 from dcbaker/auto-encrypt-newPatrick Totzke2018-06-19
|\ | | | | envelope: Update encryption keys when CC, To, or From is changed
| * envelope: Update encryption keys when CC, To, or From is changedDylan Baker2018-03-12
| | | | | | | | | | | | | | | | | | | | | | | | Currently the encryption keys will only be updated when they are toggled, which means that if you change a Cc or To then the keys encrypted to might be wrong, either too many keys will be encrypted to, or not enough, or just the wrong ones. This patches fixes this by calling set_encrypt whenever the 'To', 'Cc', or 'From' headers are changed by set or unset. Fixes #1227
* | Merge branch 'split-buffers'Patrick Totzke2018-06-19
|\ \
| * | remove deprecated future importsPatrick Totzke2018-06-19
| | | | | | | | | | | | see also #1250
| * | refactor buffersPatrick Totzke2018-06-19
|/ / | | | | | | | | This splits buffers.py, which contained all buffer classes, into several smaller files. issue #1226
* | Merge pull request #1250 from lucc/futurePatrick Totzke2018-06-19
|\ \ | | | | | | Remove old __future__ imports
| * \ Merge branch 'master' into futurePatrick Totzke2018-06-19
| |\ \ | |/ / |/| |
* | | Merge pull request #1247 from pazz/py3k-importsPatrick Totzke2018-06-19
|\ \ \ | | | | | | | | use importlib to load hooks code at startup
| * | | use importlib to load hooks code at startupPatrick Totzke2018-06-19
|/ / / | | | | | | | | | imp is deprecated in favor of importlib.
| * | Fix imports in colour pickerLucas Hoffmann2018-06-19
| | |