summaryrefslogtreecommitdiff
path: root/alot
Commit message (Collapse)AuthorAge
...
* | | dont log complete plaintext at info levelPatrick Totzke2012-07-22
| | | | | | | | | | | | but use debug level instead (use alot -d debug to see this)
* | | fix issue with non-multipart messagesPatrick Totzke2012-07-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | msg.get_boundary will return None in those cases, so we cannot concatenate this with str untested. Also, Generator.flatten(msg) causes msg to generate a boundary string. So we don't need to call msg.as_string separately in case we get the boundary after flattening cf issue #469
* | | Fix PGP/MIME attachmentsMichael Stapelberg2012-07-22
|/ / | | | | | | | | This actually is a workaround for a Python bug as mentioned in alot/crypto.py
* / insert new buffers relative to current bufferPatrick Totzke2012-06-26
|/ | | | | | | .. in UI's bufferlist. This results in a more natural bufferflow when going from a search to thread and back by closing the thread. cf issue #478
* Merge branch '0.3.1-fix-X11less-edit-460'Patrick Totzke2012-06-26
|\
| * fix default behaviour of --spawn on X11-less TERMSPatrick Totzke2012-06-23
| | | | | | | | | | | | | | | | | | | | this ensures that whenever X11 is not present and external commands like calling the editor are used in combination with the --spawn parameter, they are *not* called in a new xterm and forced to run in the same thread as alot. cf issue #460
* | Merge branch '0.3.1-feature-statusline-474'Patrick Totzke2012-06-26
|\ \
| * | fix implicit decoding issue with str.formatPatrick Totzke2012-06-24
| | | | | | | | | | | | cf issue #476
| * | doc: update and change default right statusbar entryPatrick Totzke2012-06-20
| | | | | | | | | | | | .. from "total: N" to "total messages: N"
| * | implement configurable statusbar featurePatrick Totzke2012-06-19
| | | | | | | | | | | | | | | | | | by looking up the format defined in the config and building the status bar strings accordingly in UI.build_statusbar
| * | add MODE_statusbar config optionsPatrick Totzke2012-06-19
| | | | | | | | | | | | | | | for configurable status bar on a per-mode basis. This also adds their docs
| * | add `get_info` method to buffersPatrick Totzke2012-06-19
| |/ | | | | | | .. to gather some meta info on the current buffer
* | use more apropriate log levels in UIPatrick Totzke2012-06-24
| | | | | | | | | | in particular, this makes exceptions in command applications always show in the log as they are moved from debug to error level.
* | Merge branch '0.3.1-fix-msg-count-463'Patrick Totzke2012-06-24
|\ \ | |/ |/|
| * fix update result count after tag operationsPatrick Totzke2012-06-14
| | | | | | | | .. in search buffer. cf issue #463
* | corrected typo startwith --> startswithPatrick Totzke2012-06-16
| | | | | | | | cf issue #473
* | add forward_subject and forward_subject_prefixThomas Weißschuh2012-06-16
| | | | | | | | | | this adds the hook "forward_subject" and the setting "forward_subject_prefix"
* | implement setting: reply_subject_prefixThomas 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
| | |
| * | 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
* | 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
|\
| * 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 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
|\ \
| * | introduce setting quote_prefixThomas Weißschuh2012-06-08
| | |
| * | use hook text_quote for quoting a messag bodyThomas Weißschuh2012-06-08
| | |
* | | use address as fallback in reply/forward_prefixThomas Weißschuh2012-06-12
|/ /
* | doc: minor docstring corrections for dbPatrick Totzke2012-06-05
| |
* | 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