- All mailbox actions working: index, list, show, html, source and delete
- Cleaned up extra files from Revel
- Took a guess at install process for README.md
This closes#4
Added a decodeSection function to mime.go that uses go-qprintable to
parse quoted-printable emails or MIME parts, fixes#7
Added a very basic TextToHtml converter to provide nicer rending of text
message bodies.
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
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.
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.
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.