summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* document hook: reply_subjectThomas Weißschuh2012-06-16
|
* introduce hook: reply_subjectThomas Weißschuh2012-06-16
|
* fix issue #475Patrick Totzke2012-06-16
|
* Merge branch '0.3.1-feature-editor-env-466'Patrick Totzke2012-06-16
|\
| * fix shellescape --spawn return codesPatrick Totzke2012-06-16
| | | | | | | | | | we used subprocess.call, which in an error case just returns the int-return value and does not raise OSError if shell==True.
| * spawn in new xterm only if X is runningPatrick Totzke2012-06-16
| |
| * doc: document hook touch_external_cmdlistPatrick Totzke2012-06-16
| |
| * add new hook 'touch_external_cmdlist'Patrick Totzke2012-06-16
| | | | | | | | | | | | | | that gets a command as list of str together with spawn, thread and shell flags and returns a triple of cmdlist shell and thread flags to be used. This allows for crazy stuff like spawning into gnu screen tabs etc. cf issue #466.
| * make EditCommand use spawn/thread parms directlyPatrick Totzke2012-06-16
| | | | | | | | | | This makes the command use its spawn and thread parameters and fall back to the values given in the config
* | fix BooleanActionPatrick Totzke2012-06-16
| | | | | | | | | | | | apparently the __call__ method got lost on the way. Moreover the choices list must match the target type, so is useless here
* | doc: fix rtfd.org build: missing coding commentPatrick Totzke2012-06-16
|/ | | | helper.py usrs utf8 chars and sphinx autodoc complained
* doc: new utils modulePatrick Totzke2012-06-14
|
* cleanup docstring for BooleanActionPatrick Totzke2012-06-14
|
* removed unused __main__ testPatrick Totzke2012-06-14
| | | | | bin/alot directly imports init.main, init.py is not intended to be called directly from the shell.
* add copyright statements to all source filesPatrick Totzke2012-06-14
| | | | cf issue #472
* Merge branch '0.3.1-feature-boolean-arguments'Patrick Totzke2012-06-13
|\
| * doc: do not list all possible choices for booleanPatrick Totzke2012-06-12
| | | | | | | | | | .. command parameters. BooleanAction type argparse parameters allow y/n, true/false etc.. don't list all possibilities in the docs
| * use metavar 'BOOL' for BooleanAction parametersPatrick Totzke2012-06-11
| |
| * use BooleanAction where appropriatePatrick Totzke2012-06-11
| |
| * completion for BooleanAction parameterPatrick Totzke2012-06-11
| | | | | | | | this makes the ArgparseCompleter use BooleanActions choices
| * add new utils module to dstribution listPatrick Totzke2012-06-11
| |
| * add BooleanAction for argparsePatrick Totzke2012-06-11
| | | | | | | | | | This action allows to set a boolean flag via --foo=BAR, where BAR is y/n,true/false etc.
| * make --spawn option default to NonePatrick Totzke2012-06-10
| | | | | | | | | | | | | | .. for commands that end in ExternalCommand. ExternalCommand's spawn parameter is actually interpreted as "force-spawn-bit" at the moment. cf issue #460
| * use cmdlist properly for shellescapePatrick Totzke2012-06-05
| | | | | | | | | | | | If ExternalCommand gets a 'shell' parameter set to True, it passes this on to subprocess.Popen. This makes Popen only use the first entry in the commandlist. This patch ensures that the 'shellescape's commandstring argument ends up in this first entry.
| * fix: shellescape to work with ExternalCommand APIPatrick Totzke2012-06-03
| | | | | | | | | | this makes ExternalCommand also accept command strings as well as lists in order to make the shellescape command work properly
| * add helper split_commandstringPatrick Totzke2012-06-03
| | | | | | | | | | | | | | | | that splits a command string into a list of strings to pass on to subprocess.Popen and the like. This helper is now used throughout the application instead of calling shlex.split directly as this is a potential source for errors because shlex is not yet able to properly deal with unicode bytestrings.
| * make ExternalCommand work on command listsPatrick Totzke2012-06-03
| | | | | | | | | | | | | | | | | | | | instead of command strings. subprocess.Popen takes a string list that determines the subcommand to call. This makes ExternalCommand directly accept string lists to pass on to Popen. This change obsoletes the 'path' parameter, as callers can now simply construct the command list accordingly. OpenAttachmentCommand and EditCommand are updated to match this API change.
| * shell parameter for ExternalCommandPatrick Totzke2012-06-02
| | | | | | | | | | | | | | this introduces the 'shell' parameter, that gets passed on to subprocess.Popen and results in the commandstring being interpreted by the shell. This commits also makes shellescape force-set this parameter to true
| * stdin parameter for ExternalCommandPatrick Totzke2012-06-02
| | | | | | | | | | file-like object or string that will be piped into external processes stdin if not None
| * interpret missing %s in mailcap handler correctlyPatrick Totzke2012-06-02
| | | | | | | | | | | | | | | | | | | | in case the mailcap-specified command string does not contain '%s' to indicate the path to the tempfile containing the data, the command should expect the input via sdtin. This makes the necessary change to commands.thread.OpenAttachmentCommand. Note that this relies on a not yet implemented parameter 'stdin' of ExternalCommand! cf issue #458
* | Merge branch '0.3.1-feature-quotehook-465'Patrick Totzke2012-06-13
|\ \
| * | regenerate config with setting "quote_prefix"Thomas Weißschuh2012-06-09
| | |
| * | document hook text_quoteThomas Weißschuh2012-06-09
| | |
| * | remove superfluous whitespaceThomas Weißschuh2012-06-09
| | |
| * | introduce setting quote_prefixThomas Weißschuh2012-06-08
| | |
| * | use hook text_quote for quoting a messag bodyThomas Weißschuh2012-06-08
| | |
* | | Merge pull request #470 from t-8ch/quote_prefix_defaultPatrick Totzke2012-06-12
|\ \ \ | |/ / |/| | use address as fallback in reply/forward_prefix
| * | use address as fallback in reply/forward_prefixThomas Weißschuh2012-06-12
|/ /
* | doc: minor docstring corrections for dbPatrick Totzke2012-06-05
| |
* | Merge branch '0.3.1-fix-non-rfc-compliant-headers-428'Patrick Totzke2012-06-02
|\ \ | |/ |/|
| * decode From-header read from the indexPatrick Totzke2012-05-31
| | | | | | | | | | | | | | | | this makes Message objects decode the value of the From-header before storing it as msg._from. This ensures that superflous double-quotes around realnames do not prevent interpretation of escape sequences. cf. issue #428
| * fix: be more relaxed wrt non-rfc-compliant headersPatrick Totzke2012-05-31
|/ | | | | this makes db.utils.decode_header remove superflous double quotes around header values before decoding them
* Merge branch '0.3.1-fix-magic-mimetypes-459'Patrick Totzke2012-05-30
|\
| * fix: sanity check libmagics return valuesPatrick Totzke2012-05-30
|/ | | | | | | | .. when guessing mimetypes. It turns out that it does not always return proper 'type/subtype' strings. This makes helper.guess_mime_type default to 'application/octett' in those cases. cf. issue #459
* docs: minor fixesPatrick Totzke2012-05-29
| | | | this fixes a few broken links and duplicate module defs in the sphinx docs
* doc: added gpgme Mock classesPatrick Totzke2012-05-29
| | | | for api doc generation on rtfd.org
* Merge branch '0.3.1-fix-empty-envelope-451'Patrick Totzke2012-05-25
|\
| * fix: msg.accumulate_body doesn't return unicodePatrick Totzke2012-05-25
|/ | | | | | .. which triggers an assertion exception when using this as initial bodystring in an envelope. issue #451
* Merge branch '0.3.1-docs'Patrick Totzke2012-05-23
|\
| * docs: correct warning wrt. default sendmail cmdPatrick Totzke2012-05-23
| | | | | | | | the default has been changed to 'sendmail -t' in f494f25