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

19 Commits

Author SHA1 Message Date
James Hillyerd
ef48b9c2dd Extend ParseMailboxName()
- Checks for invalid characters, returns useful error if it finds them
- Extended unit tests for ParseMailboxName
- Closes #6
2013-11-06 15:36:46 -08:00
James Hillyerd
ea6bb44969 Parse mailbox name before using/displaying it
Fixes #14
2013-10-27 14:52:24 -07:00
James Hillyerd
47cba08c33 Add a Link button to messages
Allows users to copy the URL for a specific message and send it to
another person.
2013-10-25 13:29:26 -07:00
James Hillyerd
41c10051fa Modify output of REST get message, add SMTP headers 2013-10-17 15:11:13 -07:00
James Hillyerd
3ddeb13a82 Add a REST response for MailboxShow 2013-10-16 17:09:54 -07:00
James Hillyerd
91c44304c3 Add size to mailbox listing JSON 2013-10-15 16:19:47 -07:00
James Hillyerd
1e85699ccf Add REST call for purging an entire mailbox 2013-10-14 15:35:09 -07:00
James Hillyerd
7b91a667a1 Reorganize URI routes to be more RESTful 2013-10-11 17:16:23 -07:00
James Hillyerd
d8ac1d78b0 Change format of json msg header 2013-10-11 16:40:06 -07:00
James Hillyerd
a12147930c Can now list mailbox contents via REST 2013-10-11 14:42:00 -07:00
James Hillyerd
c9392c7eb1 Wired character-set decoding into From and Subject
- Removed extra message object from ReadBody() return type
 - We now use enmime's GetHeader() when building the GOB, this will get
   us alternate character set decoding for the From and Subject headers.
 - Added a swaks test with a utf-8 subject line
2013-10-01 14:01:08 -07:00
James Hillyerd
2e78e4e6f7 Logging and unit test changes
Logging methods were renamed so they don't trigger go-vet warnings for
error() and Error() formatting.

Unit tests were updated to use new github.com/stretchr repo (was renamed
from stretchrcom)

Missing methods were added to Message mock object.
2013-09-13 14:06:57 -07:00
James Hillyerd
1da98a9f7e Attachment display & downloading! 2012-11-05 21:35:34 -08:00
James Hillyerd
12b8a079ac Add a script to generate a few test emails 2012-11-04 21:09:18 -08:00
James Hillyerd
81bb394755 More metrics, better logging 2012-10-24 12:40:17 -07:00
James Hillyerd
7215c041dc Package reorganization part 2
End goal is to simplify build
2012-10-22 15:48:55 -07:00
James Hillyerd
4e5c0ce4d8 Reorganize packages pt 1
End goal: simplify build process
2012-10-22 15:20:33 -07:00
James Hillyerd
2c7419c661 Gorilla is fully operational
- 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
2012-10-21 13:42:34 -07:00
James Hillyerd
71bb52a64a Added partial templates
mailbox/list now renders
2012-10-21 12:42:54 -07:00