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

13 Commits

Author SHA1 Message Date
James Hillyerd
3f654e48be Fix retention tests on Windows 2016-02-28 13:42:17 -08:00
James Hillyerd
e6b7e335cb Follow meta-linter recommendations for all of Inbucket
- Rename BUILD_DATE to BUILDDATE in goxc
- Update travis config
- Follow linter recommendations for inbucket.go
- Follow linter recommendations for config package
- Follow linter recommendations for log package
- Follow linter recommendations for pop3d package
- Follow linter recommendations for smtpd package
- Follow linter recommendations for web package
- Fix Id -> ID in templates
- Add shebang to REST demo scripts
- Add or refine many comments
2016-02-22 00:16:45 -08:00
James Hillyerd
88ae99abb0 Reformat *.go with goimports command 2014-05-19 19:40:33 -07:00
James Hillyerd
46fa714cc7 Add configurable mailbox message cap
- Add new configuration option [datastore]mailbox.message.cap
- Modify filestore to enforce message cap if value > 0
- Filestore unit tests for message cap when enabled & disabled
- Change to DataStore.Mailbox.NewMessage() interface to allow error
  return
2013-11-12 10:42:39 -08:00
James Hillyerd
d80521b24d Use MockDataStore for handler_test.go 2013-11-06 17:18:56 -08:00
James Hillyerd
1e85699ccf Add REST call for purging an entire mailbox 2013-10-14 15:35:09 -07:00
James Hillyerd
62b4abf26e Fix broken MockMessage 2013-10-01 14:05:16 -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
afe0d779cb Replace internal MIME with go.enmime 2012-11-04 13:25:24 -08:00
James Hillyerd
a4ad7b13cc Wire in retention
- Update README
- Add retention metrics
- Start retention scanner if configured
2012-10-26 13:38:59 -07:00
James Hillyerd
57d3b198b2 Refactore FileDataStore into its own file 2012-10-25 22:33:50 -07:00
James Hillyerd
d8d0d1b4ff Basic retention scanner w/ unit tests
Not wired into anything yet!
2012-10-25 22:15:53 -07:00
James Hillyerd
b665612190 Start retention code/unit tests 2012-10-25 18:11:27 -07:00