James Hillyerd
a73ffeabd3
rest: Update attachments to 3.0 URL scheme, closes #138
2019-08-17 12:07:20 -07:00
James Hillyerd
e4c48a0705
go code: rename to github.com/inbucket/inbucket
2019-02-24 09:43:10 -08:00
James Hillyerd
cf265dbe2c
rest: Add posix-millis field for easier date parsing
2018-11-17 20:57:52 -08:00
James Hillyerd
30e3892cb0
webui, rest: Render UTF-8 addresses correctly, fixes #117
2018-10-22 18:29:03 -07:00
James Hillyerd
c6bb7d1d4d
Fix some null pointers during message retrieval
2018-04-07 14:40:54 -07:00
James Hillyerd
dc02092cf6
rest: Implement MarkSeen for #58
...
- message: Add MarkSeen to Manager, StoreManager.
- rest: Add PATCH for /mailbox/name/id.
- rest: Add MailboxMarkSeenV1 handler.
- rest: Add Seen to model.
- rest: Update handlers to set Seen.
- rest: Add doJSONBody func.
2018-04-01 13:30:43 -07:00
James Hillyerd
e2ba10c8ca
Replace pkg/log with zerolog for normal logging #90
2018-03-27 20:26:06 -07:00
James Hillyerd
e7a86bd8f8
Hide envelope, use Part.Content for #85
2018-03-20 17:55:43 -07:00
James Hillyerd
a22412f65e
manager: Add MailboxForAddress(), calls policy pkg #84
2018-03-17 15:17:44 -07:00
James Hillyerd
d132efd6fa
policy: Create new policy package for #84
2018-03-17 09:48:53 -07:00
James Hillyerd
219862797e
web: remove DataStore from Context and controllers for #81
2018-03-12 20:49:06 -07:00
James Hillyerd
10bc07a18e
message: Implement service layer, stubs for #81
...
I've made some effort to wire the manager into the controllers, but
tests are currently failing.
2018-03-12 20:21:59 -07:00
James Hillyerd
3bc66d2788
storage: Store addresses as mail.Address for #69
2018-03-11 16:57:53 -07:00
James Hillyerd
487e491d6f
storage: Message refactoring for #69
...
- Message interface renamed to StoreMessage
- Message.Delete becomes Store.RemoveMessage
- Added deleted message tracking to Store stub for #80
2018-03-11 15:01:40 -07:00
James Hillyerd
9c18f1fb30
Large refactor for #69
...
- makefile: Don't refresh deps automatically, causes double build
- storage: Move GetMessage, GetMessages (Mailbox), PurgeMessages to the
Store API for #69
- storage: Remove Mailbox.Name method for #69
- test: Create new test package for #79
- test: Implement StoreStub, migrate some tests off MockDataStore for
task #80
- rest & webui: update controllers to use new Store methods
2018-03-10 19:34:51 -08:00
James Hillyerd
a58dfc5e4f
storage: finish renaming storage packages for #79 #69
...
- storage: rename DataStore to Store
- file: rename types to appease linter
2018-03-10 14:00:21 -08:00
James Hillyerd
f8c30a678a
Reorganize packages, closes #79
...
- All packages go into either cmd or pkg directories
- Most packages renamed
- Server packages moved into pkg/server
- sanitize moved into webui, as that's the only place it's used
- filestore moved into pkg/storage/file
- Makefile updated, and PKG variable use fixed
2018-03-10 12:04:13 -08:00