James Hillyerd
3a1c757d04
smtp: Handle late EHLO, fixes #141
2019-08-17 15:46:28 -07:00
James Hillyerd
a73ffeabd3
rest: Update attachments to 3.0 URL scheme, closes #138
2019-08-17 12:07:20 -07:00
Matt John
c78656b400
Add ability to name mailboxes after domain of email ( #140 )
...
* Add ability to name mailboxes after domain of email
* Update argument documentation for 'domain' filtering
* Update address policy to verify domain against RFC and return error on invalid domain
2019-08-10 14:13:21 -07:00
James Hillyerd
e4c48a0705
go code: rename to github.com/inbucket/inbucket
2019-02-24 09:43:10 -08:00
James Hillyerd
07e75495e8
build: Update goreleaser for Elm UI
2019-01-06 13:57:20 -08:00
James Hillyerd
dbdc60a0fb
message, webui: Fix QP address rendering, closes #117
2019-01-01 10:04:37 -08:00
James Hillyerd
c0a878db47
config: Remove mailbox prompt, no longer used
2019-01-01 09:36:39 -08:00
James Hillyerd
c57260349b
web + ui: Pass init cookie from server to client
2018-12-31 15:10:05 -08:00
James Hillyerd
362ece171a
webui: Add MIME errors to mailbox message
2018-12-28 10:28:36 -08:00
James Hillyerd
caec5e7c17
ui: Add request context for error flash
...
- webui: Update mailbox, attachment paths
2018-12-15 20:16:20 -08:00
James Hillyerd
77ea66e0e6
web: Remove unused helpers
2018-12-15 09:51:37 -08:00
James Hillyerd
89886843bd
web: Remove template related code
2018-12-15 09:20:57 -08:00
James Hillyerd
4894244d5c
webui: Remove sessions & securecookie
2018-12-15 08:35:00 -08:00
James Hillyerd
d627da2038
webui: Remove unused routes/handlers
2018-12-15 08:35:00 -08:00
James Hillyerd
fc5cc4d864
ui: Display server uptime, scan completion time
2018-12-10 21:47:34 -08:00
James Hillyerd
9b3049562d
ui: Display server configuration on status page
2018-12-09 16:23:15 -08:00
James Hillyerd
cf265dbe2c
rest: Add posix-millis field for easier date parsing
2018-11-17 20:57:52 -08:00
James Hillyerd
e70900dd1a
web: Implement SPA compatible routing
2018-11-17 14:38:04 -08:00
James Hillyerd
2bbcef072a
ui: Add greeting.html to Home
2018-11-12 20:38:00 -08:00
James Hillyerd
523c04a522
Logging improvements, handler extraction.
...
- rest: improve error logging.
- web: extract handlers/middleware into their own file.
- web: log all requests, not just ones hitting our handlers.
- test: improve integration test logging format.
2018-11-12 20:38:00 -08:00
James Hillyerd
7a5459ce08
test: Fix integation test server startup
2018-11-12 20:38:00 -08:00
James Hillyerd
dd14fb9989
ui: Much elm work, such wow
...
- ui: Fix favicon
- webui: Changes to support serving Elm UI
- Static files now served from `/` mount point.
- Old UI handlers moved to `/serve` mount point, some will still be
needed by the Elm UI; safe HTML and attachments for example.
- Update dev-start.sh for new UI, with tip on how to build it.
- ui: Detect browser host:port for websocket URL,
- webui: Remove unused mailbox handlers, rename routes
- Many routes not needed by Elm UI.
- `/serve/mailbox/*` becomes `/serve/m/*`.
- webui: Impl custom JSON message API for web UI,
- ui: Refactor Mailbox view functions,
- ui: Add body tabs for safe HTML and plain text,
- webui: Format plain text for new UI,
- ui: List attachments with view & download links,
2018-11-12 20:34:51 -08:00
James Hillyerd
60db73b813
test: Correctly shutdown integration test server
2018-11-03 18:53:24 -07:00
James Hillyerd
469132fe2f
rest: Add godoc example test for client.
...
- Update README and CHANGELOG
2018-10-31 19:45:15 -07:00
James Hillyerd
690b19a22c
rest: Rewrite client tests using httptest server.
2018-10-31 18:44:32 -07:00
James Hillyerd
30e3892cb0
webui, rest: Render UTF-8 addresses correctly, fixes #117
2018-10-22 18:29:03 -07:00
James Hillyerd
fcb4bc20e0
test: Add basic integration test suite, closes #119
2018-10-22 16:25:27 -07:00
James Hillyerd
8a3d2ff6a2
storage: Add test for id='latest', implment in mem store.
2018-10-22 15:43:17 -07:00
James Hillyerd
82e6a9fe5d
rest: Use a subrouter for /api/ paths
2018-10-22 10:48:08 -07:00
James Hillyerd
1a7e47b60a
rest: Make tests easier to read, less logic.
2018-10-22 09:37:15 -07:00
James Hillyerd
0640f9fa08
file: Use os.Readdirnames to eliminate Lstat calls for #122
...
- This a speed/syscall optimization, not memory.
2018-10-21 09:25:32 -07:00
James Hillyerd
f68f07d896
file: pool index readers to reduce allocs for #122
2018-10-20 20:39:14 -07:00
James Hillyerd
98745b3bb9
web: Optionally mount /debug/pprof for #120
...
- web: eliminate use of http.DefaultServeMux
2018-10-20 16:16:09 -07:00
James Hillyerd
0d7c94c531
smtp: add missing log message param
2018-10-20 11:13:39 -07:00
kingforaday
00dad88bde
Fixing an erroneous connection close introduced in #98 . ( #101 )
2018-05-20 09:51:40 -07:00
James Hillyerd
fdcb29a52b
smtp: rename readByteLine to readDataBlock for #98 .
...
Update change log.
2018-05-06 12:09:55 -07:00
kingforaday
894db04d70
Opportunistic TLS Support ( #98 )
...
* STARTTLS Support, disabled by default.
* Added documentation
2018-05-06 11:56:38 -07:00
James Hillyerd
bcede38453
webui: Friendly URL support for #73
2018-04-07 18:17:39 -07:00
James Hillyerd
7a783efd5d
config: Document MailboxNaming for #33
2018-04-07 16:20:00 -07:00
James Hillyerd
c6bb7d1d4d
Fix some null pointers during message retrieval
2018-04-07 14:40:54 -07:00
James Hillyerd
12f98868ba
smtp/policy: Store messages with full naming for #33
...
- Added some tests to make sure stores do not enforce their own naming.
- Improve recipient structured logging.
2018-04-07 13:06:56 -07:00
James Hillyerd
bf152adbef
Use enum for MailboxNaming for #33
2018-04-04 21:55:52 -07:00
James Hillyerd
ff2121fbb9
policy: Add support for MailboxNaming to ExtractMailbox for #33
2018-04-04 20:22:40 -07:00
James Hillyerd
939ff19991
policy: Tie mailbox extraction to Addressing for #33
2018-04-02 20:15:50 -07:00
James Hillyerd
c2e1d58b90
policy: Accept Root config instead of SMTP for #33
2018-04-02 19:43:05 -07:00
James Hillyerd
8c66a24513
config: lowercase log levels for #90
2018-04-01 20:50:18 -07:00
James Hillyerd
064549f576
policy: Implement store domain policy for #51
...
- Update docs, change log, status.html
2018-04-01 19:59:04 -07:00
James Hillyerd
a7d2b00a9c
policy: Implement recipient domain policy for #51
...
- INBUCKET_SMTP_DEFAULTACCEPT
- INBUCKET_SMTP_ACCEPTDOMAINS
- INBUCKET_SMTP_REJECTDOMAINS
2018-04-01 18:05:21 -07:00
James Hillyerd
c695a2690d
ui: Mark messages as seen after 1.5s for #58
...
Embolden subject font for unseen messages.
2018-04-01 15:16:48 -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