crabmail

Static HTML email archive viewer in Rust
git clone git://git.alexwennerberg.com/crabmail
Log | Files | Refs | README | LICENSE

commit 635cb2080dfb7d29fbc5407e1a45974bb2913ba9
parent d0a4f9137509fb3c98a35e36f403b5bf23aa5f46
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Tue, 29 Mar 2022 20:57:13 -0700

notese

Diffstat:
MTODO | 4++--
Msrc/models.rs | 1+
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/TODO b/TODO @@ -1,11 +1,11 @@ TODO ==== atom get item href working on list -URL encode spaces in links for gemini export -dont export empty fields +very git-send-email works later ---- +dont export empty fields remove intermediate struct between message -> html. waste of time Create optional user indexes that link to all their posts Duplicate ID verification: warn on duplicate ID, use first received-date. This is to prevent someone overwriting old emails secretly diff --git a/src/models.rs b/src/models.rs @@ -132,6 +132,7 @@ impl MailAddress { // TODO rename impl StrMessage { pub fn pathescape_msg_id(&self) -> PathBuf { + // use at your own risk on windows. idk how safe filepaths look there. PathBuf::from(self.id.replace("/", ";")) } // wonky