summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* keep ThreadBuffer indentation non-negativePatrick Totzke2017-11-05
| | | | | | | | this makes sure that 'tbuffer._indent_width', which stores the requested indentation width, remains non-negative. As a consequence, multiple "decrease" operations on zero values can be reverted by a single "increase", as is intuitive.
* sanitize parameter for thread mode command 'indent'Patrick Totzke2017-11-05
| | | | | | this introduces a new argparse validation check that makes sure a parameter is '+', '-', or an integer, and uses this check for the 'indent' thread mode command.
* add default binding for dynamic indentation changePatrick Totzke2017-11-05
|
* new thread buffer command 'indent'Patrick Totzke2017-11-05
| | | | to dynamically change the message indentation
* configurable thread mode message indentation.Patrick Totzke2017-11-05
| | | | | This adjusts the message/reply indentation according to the new 'thread_indent_replies' config option.
* add config option for default threadmode indentationPatrick Totzke2017-11-05
|
* solarized_dark: fix colours in help bufferPatrick Totzke2017-09-27
|
* update solarized_dark colour themePatrick Totzke2017-09-27
|
* Merge pull request #1160 from meskio/fix-1140Patrick Totzke2017-09-26
|\ | | | | Fix #1140
| * tests/commands/utils: Add encrypt to self testsRuben Pollan2017-09-26
| |
| * docs: Add encrypt_to_self account configurationRuben Pollan2017-09-26
| |
| * commands/util: encrypt to selfRuben Pollan2017-09-26
| | | | | | | | | | | | | | | | Add account configuration variable 'encrypt_to_self' that if true when encrypting a message it will also be encrypted with the key defined for this account. Fixes #1140
| * commands/envelope: Acknowledge keyids param on encryptRuben Pollan2017-09-25
| |
| * defaults/alot.rc.spec: Add new option to control encrypting to selfDylan Baker2017-09-25
| |
| * defaults/alot.rc.spec: Remove message that is no longer trueDylan Baker2017-09-25
| |
| * crypto: Don't allow passing empty keysDylan Baker2017-09-25
| | | | | | | | | | This will result in wrong behavior, gpg will prompt for a password rather than using keys to encrypt.
| * tests/commands/utils: Add tests for alot/commands/utils.pyDylan Baker2017-09-25
|/
* Merge pull request #1159 from geier/get_bodyPatrick Totzke2017-09-25
|\ | | | | Call _get_body() only once.
| * Call _get_body() only once.Christian Geier2017-09-23
|/
* Merge pull request #1155 from dcbaker/submit/bug-template-notmuch-versionPatrick Totzke2017-09-12
|\ | | | | github: add notmuch version to issue template
| * github: add notmuch version to issue templateDylan Baker2017-09-11
|/
* Merge pull request #1151 from dcbaker/submit/fix-no-from-headerPatrick Totzke2017-09-08
|\ | | | | Submit/fix no from header
| * db/message: Try to use the 'Sender' header if the 'From' header is nullDylan Baker2017-09-06
| | | | | | | | This makes drafts display correctly.
| * db/message: Don't set sender to ''Dylan Baker2017-09-06
| | | | | | | | | | | | | | If the message doesn't have a sender, try to come up with one. If the message has the draft tag we known that the user is the sender, just use the default account as the from if we can't find one another way. If it doesn't have the draft tag just set the sending to 'Unknown'.
| * tests/db/message: Add some tests for the message moduleDylan Baker2017-09-06
| | | | | | | | | | These are just enough to look at the bug that will be fixed in the patches that follow.
| * account: Fix Address comparison to b'' and u''Dylan Baker2017-09-06
| | | | | | | | | | | | | | | | | | | | | | This uses a try/except because comparing an address to an empty string should be a fairly uncommon event and try/except will be faster than `if '@' not in other` in the case where '@' is in other. This stops alot from crashing if there is no 'From' header in the email. Outlook generates drafts without a 'From' header. Fixes #1050
| * tests/account: Add test for comparing to empty stringDylan Baker2017-09-06
|/
* Merge pull request #1149 from lucc/fix/spellingPatrick Totzke2017-09-03
|\ | | | | Fix some spelling mistakes
| * Merge branch 'master' into fix/spellingPatrick Totzke2017-09-02
| |\ | |/ |/|
* | Merge pull request #1148 from pazz/pep8-cleanupsPatrick Totzke2017-09-01
|\ \ | | | | | | pep8 fixes
| * | pep8 fixesPatrick Totzke2017-09-01
|/ / | | | | | | | | This mostly shortens lines down to <=79 chars and fixes some other small things I found using the pep8 tool.
* | finetune codeclimate configPatrick Totzke2017-08-30
| | | | | | | | | | | | | | | | this removes the duplication engine (which only ever complains about necessary duplications such as @registerCommand decorators or widget API usage). It also enables the pep8 engine.
* | Merge pull request #1147 from dcbaker/submit/faster-message-comparisonDylan Baker2017-08-30
|\ \ | | | | | | db/message: Use self._id instead of self.get_message_id()
| * | db/message: Use self._id instead of self.get_message_id()Dylan Baker2017-08-30
| | | | | | | | | | | | | | | The latter function returns self._id anyway, and this avoids a function call when sorting.
* | | Merge pull request #1108 from dcbaker/wip/fix-1107Patrick Totzke2017-08-30
|\ \ \ | | | | | | | | Handle servers that treat the user segment of an address as case insensitive
| * | | Use new Address classDylan Baker2017-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This just wries the new Address class into alot for use, and fixes up a few places where such fixups are needed. Fixes #1107
| * | | docs: Add Address classDylan Baker2017-08-28
| | | |
| * | | account: Add an Address classDylan Baker2017-08-28
| | | | | | | | | | | | | | | | | | | | This class will encapsulate the logic of comparing email addresses and the rules of handling when capitalization is allowed and when it's not.
| * | | tests/settings/manager: Add test for case insensitivityDylan Baker2017-08-28
| |/ / | | | | | | | | | This currently fails as there is not way to toggle case sensitivity
* | | Merge pull request #1136 from dcbaker/submit/more-db-utils-testsDylan Baker2017-08-30
|\ \ \ | |/ / |/| | more tests + cleanups
| * | tests/db/utils: Add tests for message_from_stringDylan Baker2017-08-28
| | |
| * | tests/db/utils: Add tests for extract_body functionDylan Baker2017-08-28
| | | | | | | | | | | | | | | | | | there are probably still some corners with mailcap handling (parameters like copiousoutput) that are untested, but this covers a large swath of the functionality.
| * | db/utils: Update docstring for extract_bodyDylan Baker2017-08-28
| | | | | | | | | | | | | | | add returns and rtype for sphinx and reflow the rest of the docstring a bit.
| * | db/utils: Don't mark signature valid if there is no key to verifyDylan Baker2017-08-23
| | |
| * | tests/db/utils: Add some more coverage to add_signature_headersDylan Baker2017-08-23
| | | | | | | | | | | | | | | There are a couple of pieces of this function that aren't covered, including a bug. yay bugs.
| * | crypto: Don't cover the raise if other exception caseDylan Baker2017-08-22
| | |
| * | crypto: Remove try/except that only applied to pygpgmeDylan Baker2017-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | list_keys won't raise an exception if there are not keys, it will return a generator that creates an empty list: >>> from alot import crypto >>> list(crypto.list_keys('doesntexist@example.com')) []
| | * Fix some spelling mistakesLucas Hoffmann2017-09-02
| |/ |/|
* | Merge pull request #1144 from pazz/hooks-docsPatrick Totzke2017-08-28
|\ \ | | | | | | fix example hook
| * | fix example hookPatrick Totzke2017-08-27
|/ / | | | | | | | | | | This fixes the example "goodbye"-hook in order to make it work again with v0.6 and newer branches: the initializes SettingsManager object is now accessible as 'alot.settings.const.settings'.