Repo containing scripts to be used with dovel, and git hooks that powers our web interface.
Author: blmayer (bleemayer@gmail.com)
Date: Tue Oct 3 01:18:16 2023 -0300
Parent: d3b8c69
Adjusted dovel hook
commit c6670c7fad4450ca0eb194b084002314b9e83d61
Author: blmayer <bleemayer@gmail.com>
Date: Tue Oct 3 01:18:16 2023 -0300
Adjusted dovel hook
diff --git a/post-receive-scripts b/post-receive-scripts
index 135f62f..184c3c4 100755
--- a/post-receive-scripts
+++ b/post-receive-scripts
@@ -16,6 +16,7 @@ done
# copy dovel hook
cp "$TMP/receive-dovel.email" "$HOME/.config/dovel/hooks/"
+cp "$TMP/aux.sh" "$HOME/config/dovel/hooks/"
# for this repo copy scripts
mv hooks/post-receive hooks/post-receive-all
commit c6670c7fad4450ca0eb194b084002314b9e83d61
Author: blmayer <bleemayer@gmail.com>
Date: Tue Oct 3 01:18:16 2023 -0300
Adjusted dovel hook
diff --git a/receive-dovel.email b/receive-dovel.email
index 1f21c3e..9f73076 100755
--- a/receive-dovel.email
+++ b/receive-dovel.email
@@ -1,5 +1,7 @@
#!/bin/sh
+. aux
+
inbox() {
cat <<- EOF
$(pagehead "$repo")
@@ -66,7 +68,7 @@ emails() {
</details>
<pre>
EOF
- cat -
+ escapehtml
printf "</pre>\n<br>\n"
} < "$f"
done