summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* revert to hardcoded version stringsPatrick Totzke2012-02-01
| | | | | | | | | | | | | before, we tried to be smart and wrote an auto-generated version string via `git describe` to alot.VERSION at setup time that got read by alot.__init__ later on. This reverts to a hardcoded version string in alot.__version__. It makes tedious calls to `git update-index --assume-unchanged VERSION` unnecessary and makes life easier for packagers. closes issue #299
* cleanup Reply and ForwardCommand'sPatrick Totzke2012-01-31
|
* refactored From-header construction for reply/fwdPatrick Totzke2012-01-31
| | | | | | | | this introduces commands.thread.recipient_to_from, that contains code to determine a suitable From-header for replies and forwards. This helper is now used in ReplyCommand and ForwardCommand. issue #297
* Merge pull request #293 from tomprince/apply_command-always-run-post-hookPatrick Totzke2012-01-29
|\ | | | | Apply command always run post hook
| * Always run post command hook.Tom Prince2012-01-28
|/ | | | | | Before, the hook was only being run if the command returned a deferred. Now, it uses defer.maybeDeferred to handle things generically.
* Remove direct use of threading.Tom Prince2012-01-28
| | | | twisted includes tools for handling threaded code nicely. Use it.
* Merge pull request #291 from 0x64746b/cleanup_theming_methodsPatrick Totzke2012-01-28
|\ | | | | Cleanup theming methods
| * Rename `_get_themeing_option()`dtk2012-01-28
| | | | | | | | | | Remove superfluous 'e' to make it into `_get_theming_option()` to increase consistency with other code.
| * Remove duplicate `has_themeing()` methoddtk2012-01-28
|/ | | | | | | | Adjust calls to address remaining `has_theming()` method. Conflicts: alot/settings.py
* make default print bindings add tags header optionPatrick Totzke2012-01-26
| | | | | this changes the default bindings so that printing via `p` and `P` will use the newly introduced `add_tags` parameter
* PipeCommand reworkPatrick Totzke2012-01-26
| | | | | | | | | | This introduces parameters 'shell' and 'add_tags' to PipeCommand. The former allows one to let the shell interpret the command, the letter adds 'Tags' header to piped messages, whose value is msg.get_tags(). Moreover, PrintCommand will also have parameter add_tags, that is just relayed.
* Merge branch 'feature-reply-from' into testingPatrick Totzke2012-01-26
|\
| * smarter From-header construction for repliesPatrick Totzke2012-01-25
| | | | | | | | | | | | | | | | | | | | This makes ReplyCommand inspect all To/Cc/Delivered-To values of the original message and uses a contained address for the replies From-header if it is listed in one of my accounts. The order of preference is that of my accounts (order in config file), the used realname part is taken from the matching account. cf issue #247
| * introduce getter for an accounts addressesPatrick Totzke2012-01-25
| | | | | | | | that returns the default address and all aliases
* | simplify theme-string constructionPatrick Totzke2012-01-26
| | | | | | | | | | after the monochromatic theme string has been renamed to "1c-theme" and can now be easily accessed programmatically. cf issue #206
* | new option 'notify_sdtout' for thread.pipetoPatrick Totzke2012-01-25
| | | | | | | | | | | | | | this allows you to display the shell-commands stdout as notification popup closes #222
* | fix FAQ markupPatrick Totzke2012-01-25
| |
* | case insensitive header key filterPatrick Totzke2012-01-25
| | | | | | | | closes #286
* | update the FAQPatrick Totzke2012-01-24
|/
* new naming convention for pre/post command hooksPatrick Totzke2012-01-24
| | | | | | | | | | | | command names alone do not uniquely determine a command as we do have several differend Commands registered with the same name but for different modes. pre and post hooks are from now on named [pre|post]_[modestring]_[commandname]. This commit adjusts the lookup code for command hooks and corrects the user docs accordingly. closes #282
* fixed accidentally shifted docstringPatrick Totzke2012-01-24
|
* fix issue #283Patrick Totzke2012-01-24
| | | | | | missing property SearchOptions.optFlags was accessed in SubcommandOptions.as_argparse_opts. closes #283
* adjusted default abook_regexpPatrick Totzke2012-01-24
| | | | | as discussed in issue #284 closes #284
* add 'User-Agent' header upon msg constructionPatrick Totzke2012-01-24
| | | | | | | | | | The format of this string is either taken from the equally named envelope-header or the general config option 'user_agent' and defaults to 'alot/%(version)s'. The value of this header is this format string where keyword '%(version)s' is replaced by the version string of the running instance. closees #279
* fix: contact completion for contacts w/o namePatrick Totzke2012-01-23
| | | | | | If the a contact (a pair of strings name, address) has no name, then propose the address only instead of some strange `"" <address>`. Moreover, don't strip the namestring but use as is.
* nicer docstrings for buffers=modesPatrick Totzke2012-01-21
|
* usage docsPatrick Totzke2012-01-21
| | | | | | are now better structured and more importantly, the generated sections per command will show up in the index, which lets us access their urls easily for in-app documentation.
* include UI.exit to apidocsPatrick Totzke2012-01-21
|
* replace buffer.typename with class var 'modename'Patrick Totzke2012-01-21
| | | | | this allows for easier mode name extraction at class level for auto-generating the user docs
* cleanup MultipleSelectionCompleterPatrick Totzke2012-01-20
| | | | | this line really is unnecessary. closes #275
* Merge branch 'feature-options-completer' into testingPatrick Totzke2012-01-20
|\
| * updated NEWSPatrick Totzke2012-01-20
| |
| * completion for argparse optional parametersPatrick Totzke2012-01-20
|/ | | | | | | | This introduces an ArgparseOptionCompleter that completes option strings for a given argparse.Parser. These are used in CommandlineParsers initially. issue #162
* Merge pull request #276 from 0x64746b/highlight_rule_parsingPatrick Totzke2012-01-20
|\ | | | | Highlight rule parsing
| * Refactor parsing of highlighting rulesdtk2012-01-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | So far the highlighting rules were parsed every time a `ThreadlineWidget` was created. This commit decouples the parsing from the getter. The rules are parsed only once upon start up and later on only the parsed dict is returned. This enables deep syntax checking upon reading the config. Syntax errors raise exceptions that are handled at the top level. No fallback to default values is implemented. Closes #230.
* | pep8 and pyflakes cleanupsPatrick Totzke2012-01-19
| |
* | propagate compose option 'omit_signature'Patrick Totzke2012-01-19
| | | | | | | | to decorator (inapp prompt) and to optparsing for CLI invokation
* | new ComposeCommand parameter "omit_signature"Patrick Totzke2012-01-19
| | | | | | | | | | | | allows to omit appending/attaching signatures to the envelope. closes #265
* | globbing for `alot compose --attach`Patrick Totzke2012-01-19
| | | | | | | | | | | | | | | | | | Fixes a forgotten call to glob.glob() in ComposeCommand, where we determine which file to attach. use either `alot compose --attach=fo*` or `alot compose --attach 'fo*'` for globbing when composing. closes #273
* | prompt for recipient if no arg to 'alot compose'Patrick Totzke2012-01-19
|/ | | | closes #274
* typoPatrick Totzke2012-01-19
|
* smarter recipient detection for replyPatrick Totzke2012-01-17
| | | | | | | | | - respect reply-to header - do not copy the content of the Bcc header when group-replying: it will be empty anyway! - if value of reply-to and from differ add both to the recipient list issue #246
* smarter detection of attachment subpartsPatrick Totzke2012-01-16
| | | | | | | | | We consider email parts to be attachments if they are not part of the :rfc:`2015` syntax for encrypted/signed mails and either have Content-Disposition `attachment` or have Content-Disposition `inline` but specify a filename (as parameter to Content-Disposition). issue #243
* show address in message summary if author is unsetPatrick Totzke2012-01-16
| | | | closes #249
* do not show encrypted message parts as attachmentsPatrick Totzke2012-01-15
| | | | see also issue #243
* Merge branch 'testing'Patrick Totzke2012-01-14
|\ | | | | | | | | Conflicts: README.md
| * fix doc urls in READMEPatrick Totzke2012-01-14
| |
| * moved api docs, updated READMEPatrick Totzke2012-01-14
| |
| * api doc lovePatrick Totzke2012-01-14
| |
| * include autogenerated commands section in manualPatrick Totzke2012-01-13
| | | | | | | | | | | | | | to generate the commands, got to /docs/user/ and hit `make generate_commands`, which will overwrite the file /docs/user/source/usage/commands.rst which will be included in the next run of `make html`.