Commit graph

40 commits

Author SHA1 Message Date
Sven Slootweg 293775dd4b Tidy up generation code a bit 2012-05-27 14:18:20 +02:00
Sven Slootweg a1fe5e86d4 Properly display the version list 2012-05-27 14:11:30 +02:00
Sven Slootweg 5e642df6d3 Make <pre> blocks in text versions of e-mails wrap around 2012-05-27 14:02:33 +02:00
Sven Slootweg 2a637ab4be Use cgi.escape instead of homebrew HTML character escaping 2012-05-27 14:00:31 +02:00
Sven Slootweg 16bfe42299 Enforce correct background color even if e-mail body attempts to set a different color 2012-05-27 13:57:14 +02:00
Sven Slootweg d0d12a1ccb Ensure that table styles are only applied to the encapsulating table and not to tables in the e-mail body 2012-05-27 13:55:50 +02:00
Sven Slootweg d7f1a35ba5 Escape special characters in HTML 2012-05-27 13:52:24 +02:00
Sven Slootweg 15d8ab11ce Fix wrongly formatted template tag 2012-05-27 13:49:19 +02:00
Sven Slootweg 01a261dd5a Create messages/ directory as well 2012-05-27 13:48:39 +02:00
Sven Slootweg 926f48756e Put rendered messages in messages/ instead 2012-05-27 13:47:36 +02:00
Sven Slootweg a5e725dbea Copy style.css file after generation 2012-05-27 13:46:05 +02:00
Sven Slootweg 63ac4663ea Removed unnecessary brackets 2012-05-27 13:40:32 +02:00
Sven Slootweg b05043b7f9 Compacted SQLite query 2012-05-27 13:40:06 +02:00
Sven Slootweg ae61f98ab5 Actually parse and write HTML and plaintext files 2012-05-27 13:39:15 +02:00
Sven Slootweg f8f4a02cf9 Update template file 2012-05-27 13:16:02 +02:00
Sven Slootweg 92b67cec34 Render template 2012-05-27 13:12:15 +02:00
Sven Slootweg 2424989fa0 Restructuring 2012-05-27 12:37:00 +02:00
Sven Slootweg 9a61bf5456 First bits of renderer code 2012-05-27 12:15:04 +02:00
Sven Slootweg c53c8a4f16 Add basic message template 2012-05-27 12:10:56 +02:00
Sven Slootweg 7bbe1c05fa Make --render description a bit easier to read 2012-05-27 11:18:39 +02:00
Sven Slootweg 5227ac7ec6 Skip insertion when entry already exists unless forced 2012-05-27 11:17:49 +02:00
Sven Slootweg e33669c858 Add timestamp parsing 2012-05-27 10:58:48 +02:00
Sven Slootweg 1769c9232a Improved comments and formatting 2012-05-27 10:26:03 +02:00
Sven Slootweg cfb76e7c84 Move argument parsing to top of code 2012-05-27 10:24:24 +02:00
Sven Slootweg f4e3b856cb Clean up code a bit 2012-05-27 10:23:52 +02:00
Sven Slootweg bfc42dc783 Let the user specify an attachment directory 2012-05-27 10:22:26 +02:00
Sven Slootweg 1f03ef617a Allow specifying of a database file to use 2012-05-27 10:19:17 +02:00
Sven Slootweg be1eb56f91 Attachment handling 2012-05-27 10:14:04 +02:00
Sven Slootweg 52fa08e7ed Don't print list of submessages 2012-05-27 09:54:02 +02:00
Sven Slootweg 42e848fce9 Remove SQLite version number from output 2012-05-27 09:43:28 +02:00
Sven Slootweg 4272182f2e Parse message parts 2012-05-27 09:43:08 +02:00
Sven Slootweg 6af04e54e9 Insert decoded headers into database instead of raw headers 2012-05-27 07:31:37 +02:00
Sven Slootweg c3fc1730c1 Insert emails into database 2012-05-27 07:20:01 +02:00
Sven Slootweg 1aa988d9d6 Add hash field to database 2012-05-27 07:02:52 +02:00
Sven Slootweg a1dd612e82 Connect to database 2012-05-27 07:00:46 +02:00
Sven Slootweg ea33df3f89 Parse email files and generate hash 2012-05-27 06:46:08 +02:00
Sven Slootweg 4282d9fef1 Fix typo in module name 2012-05-27 05:30:36 +02:00
Sven Slootweg 3fc0e8df20 Show all files matching pattern 2012-05-27 05:30:26 +02:00
Sven Slootweg bfa3451af0 Add argparse configuration 2012-05-27 05:25:48 +02:00
Sven Slootweg 9666554fd9 Initial commit 2012-05-27 05:09:27 +02:00