summaryrefslogtreecommitdiff
path: root/alot
Commit message (Collapse)AuthorAge
* 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.
| * * Extend ChoiceWidget to differentiate between a list of choicesMartin Schaaf2017-11-01
| | | | | | | | and a list of return objects for choices.
* | Merge pull request #1187 from pazz/faq5Patrick Totzke2018-01-28
|\ \ | | | | | | mention unrendered HTML parts directly in message body text.
| * | mention unredered HTML parts in message body textPatrick Totzke2018-01-16
| | |
| * | ignore multipart subparts when extracting contentPatrick Totzke2018-01-02
| | | | | | | | | | | | | | | these are internal nodes in the mail tree and do not contain displayable content.
| * | mark inline part as attachment if no mailcap entry is foundPatrick Totzke2018-01-02
| | |
* | | Merge pull request #1190 from three-comrades/write_historyPatrick Totzke2018-01-28
|\ \ \ | | | | | | | | [WIP] Fix writing/loading history, if a command contains non-ascii character(s)
| * | | Fix writing/loading history, if a command contains a non-ascii character.Julian Mehne2018-01-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: - alot -l log -d debug - :search ö<enter> - quit alot - in log file: stacktrace with UnicodeEncodeError, when writing the histfile.
* | | | Remove blank lines and fix docstrings.Julian Mehne2018-01-24
| | | |
* | | | Put expand_environment_and_home inside _expand_config_values.Julian Mehne2018-01-23
| | | |
* | | | Expand environment variables when reading the config file.Julian Mehne2018-01-23
| | | |
* | | | Rename get_env to get_xdg_env and clarify docstring.Julian Mehne2018-01-23
| | | |
* | | | Store settings in alot.rc.spec.Julian Mehne2018-01-21
| | | | | | | | | | | | | | | | | | | | - allows users to use $XDG_CONFIG_HOME, as well - stores information in single places.
* | | | Document the default values of template_dir and themes_dir.Julian Mehne2018-01-21
| | | |
* | | | Improve logging messages.Julian Mehne2018-01-21
| | | |
* | | | Fix empty XDG_* environment variables.Julian Mehne2018-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use fallback, if an enviroment variable is unset *or* empty. Bug: - XDG_CONFIG_HOME='' alot Problem: Does not find the configuration file (among others), because os.environ.get('XDG_CONFIG_HOME', '~/.config') returns '', instead of '~/.config'.
* | | | De-duplicate code with helper function.Julian Mehne2018-01-21
| | | |
* | | | Move processing of setting to the right place.Julian Mehne2018-01-21
| | | |
* | | | Fix `:compose --template=foo` if default template_dir is used.Julian Mehne2018-01-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following bug: To reproduce:: - Don't define `template_dir` in the user configuration file, such that the default value is used. - Run: :compose --template=foobar Problem: Displays error: `no template directory: $XDG_CONFIG_HOME/alot/templates`
* | | | Merge pull request #1181 from three-comrades/compose_errPatrick Totzke2018-01-08
|\ \ \ \ | |/ / / |/| | | Give better feedback on invalid user input.
| * | | Log unknown settings in configuration and theme files.Julian Mehne2018-01-08
| | | |
| * | | Report error if configuration file cannot be reloaded.Julian Mehne2018-01-07
| | | |
| * | | Clean up theme finder logic.Julian Mehne2018-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Replace directory check with file check - we only check for a single file, no need to check for existende of the directory separately. Also, this way we can distinguish between file validation error and file not found. - Be consistent: we stop iterating, if we find a file and it can be parsed. If we can't parse it, stop iterating as well, don't keep looking for the file.
| * | | Print stderr of failed sendmail cmd in prompt.Julian Mehne2017-12-06
| | | |
| * | | Give more context if reading of config file fails.Julian Mehne2017-12-06
| | | |
| * | | Inform user why :compose got cancelled.Julian Mehne2017-12-02
| | | |
* | | | Merge pull request #1186 from pazz/fix-1074Patrick Totzke2018-01-02
|\ \ \ \ | |/ / / |/| | | catch exception about malformed query strings
| * | | catch exception about malformed query stringsPatrick Totzke2018-01-02
| |/ / | | | | | | | | | | | | | | | | | | | | | .. when getting thread message count to build search buffers. We already had a try/except block for this. This commit just moves the one offending line into that block. Fixes #1074
* / / Allow regex special characters in tagstrings.Julian Mehne2017-12-02
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes the following crashes: 1. tag completion with regex special chars :search tag:[<tab> 2. Changing tag representation of an (existing) tag with regex special chars: [tags] [[my**tag]] normal = '','', 'white','light red', 'white','#d66' 3. Contact completion with regex special chars and no external command: To:**foo<tab>
* | Merge pull request #1173 from pazz/feature-thread-indentPatrick Totzke2017-11-08
|\ \ | | | | | | thread mode message indentation
| * | add test for argparse validatorPatrick Totzke2017-11-08
| | |
| * | 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.