summaryrefslogtreecommitdiff
path: root/alot
Commit message (Collapse)AuthorAge
* commands/globals: fix bindings help for py3kDylan Baker2018-03-01
|
* fix base64, 8bit, and quoted-printable properly.Dylan Baker2018-03-01
|
* Revert "If there are errors in the decoding the content replace"Dylan Baker2018-03-01
| | | | This reverts commit c7ec811b45d3c6c964cffbfc585f02d54d373ef3.
* possibly fix opening emails encoded as non-ascii/non-unicodeDylan Baker2018-03-01
|
* If there are errors in the decoding the content replaceDylan Baker2018-03-01
| | | | | I've run into a couple of emails now with badly formatted utf-8, so let's use `errors='replace'`.
* fix messages with content transfer encoding in py3kDylan Baker2018-03-01
| | | | | | | | the change to raw payload makes sense to me, we need to tell it to decode using the content-transfer-encoding, and then transform tat back into a str. the need to join with '' instead of ' ' doesn't.
* fix sending encrypted messages in py3kDylan Baker2018-03-01
|
* fix sending signed messages with py3kDylan Baker2018-03-01
|
* fix completions for py3kDylan Baker2018-03-01
|
* fix tagging and untagging.Dylan Baker2018-03-01
|
* fix a bunch of utils tests for py3kDylan Baker2018-03-01
| | | | | There are a few that are still broken because of bytes to unicode conversion, and this may not all be correct, but most of the tests pass
* helper: py3k fixesDylan Baker2018-03-01
|
* alot/command/envelope: py3k fixesDylan Baker2018-03-01
|
* alot/command/globals: fix py3kDylan Baker2018-03-01
|
* alot/commands/thread: Fix py3k issuesDylan Baker2018-03-01
|
* alot/db/message: fix for py3kDylan Baker2018-03-01
|
* settings/manager: fix managerDylan Baker2018-03-01
|
* crypto: use bytes instead of strDylan Baker2018-03-01
| | | | | | | | The crypto code shouldn't use unicode strings, it should use byte strings. The problem with using unicode strings (and doing the conversion internally), is that the crypto code doesn't know what the encoding should be. We can guess but it's better to just do bytes in bytes out, and let the calling code deal with encoding and decoding.
* Fix cryptoDylan Baker2018-03-01
| | | | | | This makes me a little nervous. I wonder if we're better off leaving the bits that gpg works with as bytes while gpg is working with them and do the string transformation later.
* helper: add a helper to guess the encoding a of a blob and decode itDylan Baker2018-03-01
|
* fix account.pyDylan Baker2018-03-01
|
* fix rebasing errorsDylan Baker2018-03-01
|
* fix another unicode -> str instanceDylan Baker2018-03-01
|
* py3k: Replace 'e.message' with 'str(e)' when handling exceptionsDylan Baker2018-03-01
|
* py3k: use a concrete list when modifying dict.Dylan Baker2018-03-01
|
* py3k: convert email.Utils to email.utilsDylan Baker2018-03-01
|
* hack alot.db.utils.decode_header until it works.Dylan Baker2018-03-01
|
* py3k: only pass str instances to shlexDylan Baker2018-03-01
|
* replace xrange with rangeDylan Baker2018-03-01
| | | | In python 3 xrange is range, to get a list one must wrap range in list.
* repalces uses of dict.iter* with non-iter versionsDylan Baker2018-03-01
| | | | | | | in python3 dict.{keys,items,values} return views, which are similar to iterators without some of the caveats about modifying the underlying object. The iter* and view* methods have been removed, instead one warps dict.x in iter or list to get those types.
* py3k: dict.keys() doesn't return a list anymoreDylan Baker2018-03-01
|
* py3k: don't covert to bytes for shlexDylan Baker2018-03-01
| | | | shlex expectes unicode in python3
* py3k: remove basestring and unicode.Dylan Baker2018-03-01
| | | | This probably isn't completely right, but it's a start.
* py3k: use urllib.parse instead of urlparseDylan Baker2018-03-01
| | | | This module moved.
* py3k: use StringIO from io module instead of cStringIODylan Baker2018-03-01
| | | | | cStringIO doesn't exist in python 3.x, instead one simply uses io.StringIO and python provided a C accelerated version if possible.
* Merge pull request #1196 from dcbaker/fix-ambigious-keyPatrick Totzke2018-02-22
|\ | | | | fix ambiguous keys harder
| * fix ambiguous keys harderDylan Baker2018-02-08
| | | | | | | | always pass keyword arguments as thus, to prevent problems like this.
* | bump version stringPatrick Totzke2018-02-22
| |
* | Move screen stop/start logic into context manager.Thomas Nixon2018-02-19
| | | | | | | | | | | | | | As well as reducing duplication and adding screen size detection to :pipeto and :pyshell, this ensures that the screen is always restarted, resulting in cleaner error handling if an error occurs while the screen is stopped.
* | Fix #1191, lockup after running external command.Thomas Nixon2018-02-19
| | | | | | | | | | | | | | | | This is caused by urwid/urwid#285; stopping and starting the whole mainloop rather than just the screen works around this, but that's only available in newer urwid versions. This also affected the :pipeto and :pyshell commands.
* | Merge pull request #1199 from three-comrades/fix_templatesDylan Baker2018-02-15
|\ \ | | | | | | Fix templates with non-ascii characters.
| * | Fix non-ascii templates.Julian Mehne2018-02-15
| | |
* | | Add --tags argument to compose commandJohannes Löthberg2018-02-12
| | | | | | | | | | | | Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* | | Merge pull request #1193 from three-comrades/fix_lang_cPatrick Totzke2018-02-10
|\ \ \ | |_|/ |/| | Fix `LANG=C alot` with custom bindings.
| * | Fix `LANG=C alot` with custom bindings.Julian Mehne2018-02-01
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reproduction steps: - Set a custom binding in your config file. E.g.: [bindings] S = toggletags spam - start alot with LANG=C: LANG=C alot - variant A: type ö - variant B: type :search ö Problem: the urwid encoding is set to 'narrow', such that all key events are passed down as `str`, not `unicode`. At the same time, ConfigObj reads the custom binding as a unicode string. The interaction of both leads to crashes. Related to #673
* | Merge pull request #1172 from Dica-Developer/patch-4Dylan Baker2018-02-08
|\ \ | |/ |/| Fix for issue 1164 - Cannot select key for encryption by number keys
| * * apply CR commentsMartin Schaaf2017-12-12
| |
| * * apply code review commentsMartin Schaaf2017-12-12
| |
| * Fix issue 1164 of not able to select a key for encryption on ambigious keyid ↵Martin Schaaf2017-11-01
| | | | | | | | | | | | | | | | | | | | error * avoid endless loop if the selected key leads to an ambiguous key error again * do not add the resulting key to the loop again instead add it directly * use a list of keys as selection return values * add fpr to visual key selection list to be able to select the expected key * remove reversed call that should not be necessary
| * * Extend choice to diffefrentiate between a list of choicesMartin Schaaf2017-11-01
| | | | | | | | and a list of return objects for choices.