1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 01:57:02 +00:00
Commit Graph

9 Commits

Author SHA1 Message Date
James Hillyerd
08f16db7ac More index.gob work
Use a global lock for reading/writing any index file.  Possible
bottleneck, but good enough for now.

Don't create a mailbox directory until a message is being written to it.
2013-10-11 20:06:33 -07:00
James Hillyerd
9354b9692f First crack at single gob per mailbox, hardly works 2013-10-09 21:43:45 -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
01f6ad514b Started impl DELE 2013-09-12 15:55:45 -07:00
James Hillyerd
983b4f745a More basic POP3 implementation
Filestore/Datastore now supports a Size() method.
2013-09-10 17:56:04 -07:00
James Hillyerd
afe0d779cb Replace internal MIME with go.enmime 2012-11-04 13:25:24 -08:00
James Hillyerd
53bcb52e64 Implementing AllMailboxes 2012-10-25 22:54:17 -07:00
James Hillyerd
57d3b198b2 Refactore FileDataStore into its own file 2012-10-25 22:33:50 -07:00