summaryrefslogtreecommitdiff
path: root/filters/plaintext
AgeCommit message (Collapse)Author
2022-07-11filters: Add missing shebangsTom Schwindl
The hldiff and plaintext filter scripts are missing their shebangs. Add those to be correct and consistent. Additionally, remove the vim comment, it's unnecessary. Signed-off-by: Tom Schwindl <schwindl@posteo.de> Acked-by: Moritz Poldrack <moritz@poldrack.dev>
2022-02-20filters: restore plaintext awk scriptRobin Jarry
This script is referenced by some users configuration. Restore it to avoid breaking existing setups. Fixes: bca93cd91536 ("filters: add a more complete plaintext filter") Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-20filters: rename plaintext to colorizeRobin Jarry
This filter script is not compatible with the previous one. Rename it to avoid issues with existing configs. Fixes: bca93cd91536 ("filters: add a more complete plaintext filter") Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-19filters: add a more complete plaintext filterRobin Jarry
Colorize most plain text messages. Signed-off-by: Robin Jarry <robin@jarry.cc>
2022-02-19config: set a default filter for text/plainRobin Jarry
Avoid the following issue when running aerc with the default configuration: No filter configured for this mimetype ('text/plain') Use a very basic sed command to replace the default plaintext filter. Fixes: bb0f1801402e ("config: do not hardcode sharedir") Signed-off-by: Robin Jarry <robin@jarry.cc>
2019-08-20Strip carriage returns (^M) when filtering emailsDaniel Xu
Presumably some email servers will transform newlines into carriage return new lines to better support windows users. I can't prove this but that's the best explanation I have for my hosted email provider (fastmail). Without this patch, I was seeing annoying `^M`s at the end of every filtered line. Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
2019-06-27Move contrib -> filtersDrew DeVault