1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00
Commit Graph

976 Commits

Author SHA1 Message Date
James Hillyerd
24dcd62951 Basic HTML email rendering
Messages with a MIME text/html MIME part will now be displayed with an
`HTML` button above them that will open another window and render the
HTML when clicked.

There is no sanitization performed, and inline attachment display is
not support.

This closes #2
2012-10-17 21:47:48 -07:00
James Hillyerd
0efb28ef38 Basic MIME parsing is now integrated, this closes #1 2012-10-17 21:10:02 -07:00
James Hillyerd
e76fad1523 More MIME dev, new unit test libs
MIME parsing code is now in an acceptable state to integrate into
web UI.  It should be able to display text and/or HTML (sans
attachments).

Added "testify" unit testing library, providing assertions and mocks.
2012-10-17 20:25:27 -07:00
James Hillyerd
bc7526abef More MIME parsing progress!
After parsing MIME into a tree of nodes, we can now issue
BreadthFirstSearch commands against it to locate the text and HTML
portions of the email.
2012-10-15 22:56:45 -07:00
James Hillyerd
a2070dd60a Parse MIME parts into a node tree 2012-10-15 21:04:58 -07:00
James Hillyerd
46b123606b Started work on MIME parser
I'm hoping to mostly rely on the official mime and mime/multipart
packages, but Inbucket is still going to have to decided what to
do with the various parts it reads.
2012-10-14 23:11:39 -07:00
James Hillyerd
da8e0bc508 Many small refinements to front/backend UI
Changes:
 - Added a friendlyTime helper for nicer timestamps
 - Added validation to most action methods
 - Added error flash to several template files
 - Now making use to c.RenderError() to handle action errors
 - Removed message list slideUp() effect, takes too long
 - Fixed a problem with my vim indentation configuration, so CSS and
   HTML should be indented more consistently.
2012-10-14 16:02:14 -07:00
James Hillyerd
264d1d0165 Fix some IE rendering/caching issues 2012-10-14 13:09:25 -07:00
James Hillyerd
6834d71c9b Update README with installation steps 2012-10-13 16:12:48 -07:00
James Hillyerd
eb363aa670 Add a view source button to see raw text of message 2012-10-13 14:37:11 -07:00
James Hillyerd
a0ab84abb5 Message list is now loaded by AJAX and can be refreshed.
Added a message delete button.
2012-10-13 14:11:12 -07:00
James Hillyerd
301c3efa63 Implement SIZE ESMTP extension 2012-10-12 18:19:43 -07:00
James Hillyerd
ca66280f74 Successfully accepted an ESMTP message from Mac Mail! 2012-10-12 14:05:55 -07:00
James Hillyerd
f5b7aca712 Add some text to readme and the MIT license. 2012-10-11 15:23:51 -07:00
James Hillyerd
1481c5c9d8 Basic AJAX GUI is now functional 2012-10-11 11:49:23 -07:00
James Hillyerd
31395891a4 Warning: carnage. Hacking in a CSS template. 2012-10-10 22:46:59 -07:00
James Hillyerd
555332c98e Add a way to enter a username to view. Cleanup route formatting. 2012-10-10 21:04:28 -07:00
James Hillyerd
3fe4c937cd Add a controller to view list mailbox contents, view individual
messages.
2012-10-10 13:46:03 -07:00
James Hillyerd
4bcb7391c8 Refactor datastore: DataStore -> Mailbox -> Message (was MailObject) 2012-10-10 09:54:41 -07:00
James Hillyerd
6e8e0a300c Server now writes raw smtp data to datastore. Does not yet create gob files. 2012-10-07 22:05:07 -07:00
James Hillyerd
9fa93acf0e Modify smtpd to integrate with Revel.
Add plugin to app.go to start smtpd
2012-10-07 19:12:58 -07:00
James Hillyerd
cbba067673 gofmt on smtpd 2012-10-07 17:04:39 -07:00
James Hillyerd
cb388e94b2 Init smtpd checkin
SMTP daemon, not wired into rest of inbucket
2012-10-07 17:00:06 -07:00
James Hillyerd
ff3a4264cf utils
A couple email address related utils
2012-10-06 20:35:33 -07:00
James Hillyerd
be97a4528f revel skeleton 2012-10-06 20:27:00 -07:00
jhillyerd
7eacfb8fec Initial commit 2012-10-06 16:09:56 -07:00