Commit Diff
Diff:
f3481d062eb9757f517e16c8fef8430a19c3a5bb
5b2f1d8d1cc75a37dda51b06aa2e9c28bdb14b22
Commit:
5b2f1d8d1cc75a37dda51b06aa2e9c28bdb14b22
Tree:
3baf1889fef1127ef6f93ce7d5af530137ecf35e
Author:
Omar Polo <op@omarpolo.com>
Date:
Tue Sep 13 19:30:17 2022 UTC
Message:
retire filter-export; set everything to filter-ignore
commit - f3481d062eb9757f517e16c8fef8430a19c3a5bb
commit + 5b2f1d8d1cc75a37dda51b06aa2e9c28bdb14b22
blob - fe9442ca1d9f5c416c01d5d19af1c29232d02ee2
blob + cf91ebd21cbbd620b0c8a8d3fa8b95c264c1c684
--- .mblaze/filter
+++ .mblaze/filter
@@ -1,11 +1,5 @@
-#: Use ./filter-ignore to silently ignore an attachment and
-#: ./filter-export to export it. text/* is already handled
-#: by mshow(1).
-application/pgp-signature: ./filter-ignore
-application: ./filter-export
+#: text/* is already handled by mshow(1).
+application: ./filter-ignore
audio: ./filter-ignore
-image/gif: ./filter-export
-image/jpeg: ./filter-export
-image/png: ./filter-export
image: ./filter-ignore
video: ./filter-ignore
blob - 6c57c9cf546795683b9ec42f77babf6fb44fe78b (mode 755)
blob + /dev/null
--- filter-export
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-path="$(cd $OUTDIR && mktemp parts/$MESSAGE_ID.XXXXXXXXXX)"
-
-# save the input
-cat > "$OUTDIR/$path"
-chmod a+r "$OUTDIR/$path"
-
-echo "<li><a href='/$path'>$(file -b "$OUTDIR/$path")</a></li>" >> $PARTS_PATH
-exit 0
Omar Polo