James Hillyerd
25815767a7
Move smtpd/utils.go into dedicated stringutil pkg
2017-12-26 22:55:20 -08:00
James Hillyerd
3a4fd3f093
Refactor datastore into it's own package for #67
2017-12-26 14:54:49 -08:00
James Hillyerd
fa6b0a3227
Move REST JSON model into its own package for #43
2017-01-05 05:59:12 +00:00
James Hillyerd
c1e7de5e14
Remove old REST API, closes #28
2016-12-31 03:39:32 +00:00
WiszniewskiMateusz
2f5d80a521
Added data about message attachments to REST API ( #46 )
2016-12-29 10:13:27 -08:00
James Hillyerd
017a097588
Switch to storing To addresses as a slice
...
- Changes on-disk storage format
- Changes JSON API
- To and From values are now parsed/formatted by Go's mail.ParseAddress
function
- Fixed bug in list-entry-template, was not escaping HTML characters
- Updated tests
2016-09-21 22:12:20 -07:00
Tomasz Wojtuń
02eee0a608
corrected tests
2016-09-18 17:48:21 -07:00
Tomasz Wojtuń
124f830478
Added "To:" header
2016-09-18 17:48:21 -07:00
James Hillyerd
5daa40b081
go.enmime API now uses HTML instead of Html
2016-02-26 20:35:28 -08:00
James Hillyerd
f36e21a65c
REST APIv1 now uses lowercase JSON property names
...
- Updated rest-apiv1.sh to pretty print JSON with jq if available
- Fixed some missing checks on JSON testutils
2016-02-25 19:21:47 -08:00
James Hillyerd
b9535c126c
Implement REST API v1
...
- Add rest package with REST-only controller, tests
- Remove individual shell scripts in favor of rest-apivh1.sh
2016-02-25 14:42:10 -08:00