summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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 test: template not decoded properly.Julian Mehne2018-02-15
| |
* | Merge pull request #1197 from kyrias/compose-tagsLucas Hoffmann2018-02-15
|\ \ | | | | | | Add --tags argument to compose command
| * | 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.
* | | | Merge pull request #1179 from three-comrades/themes_dirPatrick Totzke2018-01-28
|\ \ \ \ | | | | | | | | | | Bug fixes regarding XDG_* variable expansion + adds general env expansion
| * | | | 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
| | | | |
| * | | | Set changed values in mock.patch.dict call itself.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 #1188 from lucc/fix-test-outputLucas Hoffmann2018-01-09
|\ \ \ \ | | | | | | | | | | Fix test output
| * | | | Use any() instead of a for loop with a break statementLucas Hoffmann2018-01-09
| | | | |
| * | | | Move code out of with blockLucas Hoffmann2018-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | The code doesn't need the context manager to be active, hence it can run outside of the with block.
| * | | | Use message of test assert function instead of print()Lucas Hoffmann2018-01-08
|/ / / / | | | | | | | | | | | | | | | | This makes it possible to silence the test output with normal unittest settings (e.g. command line parameters).
* | | | 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
| | | |
| * | | Fix typos in tests.Julian Mehne2018-01-07
| | | |
| * | | 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
* | | Merge pull request #1180 from three-comrades/tag_completePatrick Totzke2017-12-02
|\ \ \ | | | | | | | | Tag completion: escape RE characters in search pattern.
| * | | 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 #1178 from GuillaumeSeren/upgrade-doc-dependies-gpgme-1.9.0Patrick Totzke2017-12-02
|\ \ \ | |/ / |/| | Upgrade dependencies to GPGME >= 1.9.0
| * | Upgrade doc dependencies to GPGME >= 1.9.0Guillaume Seren2017-12-01
| | | | | | | | | | | | | | | | | | | | | This version of GPGME is needed to support the ':sign' and ':encrypt' commands, due to the migration of gpgme instead of pygpgme (#1086). https://github.com/pazz/alot/issues/1175