Commit graph

70 commits

Author SHA1 Message Date
Sven Slootweg b41d658f16 Fetch correct hash from attachment table 2012-05-28 08:18:14 +02:00
Sven Slootweg 1ac7dc9b33 Properly handle extension-less files 2012-05-28 08:11:51 +02:00
Sven Slootweg 654fa8bffb Render all pages and copy attachments 2012-05-28 08:11:15 +02:00
Sven Slootweg 8630e37ac7 Make table rows clickable 2012-05-28 08:06:03 +02:00
Sven Slootweg 42bfee81af Allow download of original .eml files if original path is specified 2012-05-28 08:01:01 +02:00
Sven Slootweg 9f435059ca Enforce some styles in the page template 2012-05-28 07:51:03 +02:00
Sven Slootweg 927707735f Add hyperlinks to actual e-mail messages on index pages 2012-05-28 07:48:32 +02:00
Sven Slootweg 32b8e20143 Sort by unix timestamp instead of textual date/time representation 2012-05-28 07:42:34 +02:00
Sven Slootweg d2c8270a4f Get rid of unnecessary variable usage 2012-05-28 07:01:44 +02:00
Sven Slootweg ffd56ebb70 Display only the first 8 characters of SHA1 hashes on index pages 2012-05-28 05:54:16 +02:00
Sven Slootweg b6fdc654e1 Let's give the attachment column a somewhat shorter name 2012-05-28 05:52:14 +02:00
Sven Slootweg ccb21d450e Change some column widths 2012-05-28 05:42:57 +02:00
Sven Slootweg 7245b223c0 Make font size in index table smaller 2012-05-28 05:37:26 +02:00
Sven Slootweg a0df63d143 Option for amount of entries per page 2012-05-28 05:37:11 +02:00
Sven Slootweg 11f2568abf Fix description for descendingly sorted date index 2012-05-28 05:20:44 +02:00
Sven Slootweg 34052aa57e Render date index pages 2012-05-28 05:20:19 +02:00
Sven Slootweg ce3234f064 Render first page 2012-05-28 04:27:22 +02:00
Sven Slootweg 8783c9c05b Chunk loops 2012-05-28 04:18:44 +02:00
Sven Slootweg f08556978a Chunking 2012-05-28 04:16:34 +02:00
Sven Slootweg 3f63b4a729 Actually load index template 2012-05-28 03:18:55 +02:00
Sven Slootweg 09e48e1404 Add basic index template 2012-05-28 03:03:18 +02:00
Sven Slootweg a0cc727a25 Skip a part if neither ascii nor windows-1252 decoding fallbacks succeed 2012-05-28 02:40:31 +02:00
Sven Slootweg 1bc6105085 Commit database changes every 100 e-mails 2012-05-28 02:36:54 +02:00
Sven Slootweg 37c1fc0bdb Small fixes 2012-05-27 16:19:30 +02:00
Sven Slootweg 36a398549e List saving and sorting 2012-05-27 15:28:24 +02:00
Sven Slootweg 8eb58adf55 Changed margin to something more sensible 2012-05-27 15:00:40 +02:00
Sven Slootweg 42bcaae8d7 Display a list of attachments 2012-05-27 15:00:00 +02:00
Sven Slootweg 31cd9e70c1 Prioritize some other page styles with \!important 2012-05-27 14:38:44 +02:00
Sven Slootweg c3eeed5b3d Tell table columns to be 33% wide 2012-05-27 14:31:02 +02:00
Sven Slootweg e26ce4835e Include proper date and time in generated pages, rather than a UNIX timestamp 2012-05-27 14:28:05 +02:00
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