James Hillyerd
2016142747
smtp: allow empty user & pass during AUTH LOGIN ( #225 )
2021-07-31 10:38:48 -07:00
James Hillyerd
4f9f961cac
smtp: fix formatting ( #224 )
2021-07-31 10:32:08 -07:00
James Hillyerd
985f2702f2
Fix command line length bug ( #221 )
...
* handler: Don't fail on 8 character command lines
Fixes #214
* handler: Test that STARTTLS is parsed correctly.
2021-07-11 12:00:28 -07:00
James Hillyerd
81edf40996
store_test: Fix t.Fatal non-test goroutine lint error
2021-05-06 09:58:30 -07:00
Timur Makarchuk
c096f018d6
Add support for AUTH, closes #62
...
* Add PLAIN and LOGIN auth support
2021-04-10 13:58:18 -07:00
Stuart Skelton
3c5960aba0
Avoid potential click jacking ( #190 )
2020-11-19 08:16:01 -08:00
James Hillyerd
5a0c4778cb
Set base path in index.html ( #172 )
...
- Create a new index-dev.html for webpack live server
- Update Go+index.html to set <base href>
- Fixes #171
2020-08-29 19:06:21 -07:00
James Hillyerd
289b38f016
Add configurable base path for reverse proxy use ( #169 )
...
* ui: Refactor routing functions into Router record
* ui: Store base URI in AppConfig
* ui: Use basePath in Router functions
* backend: Add Web.BasePath config option and update routes
* Tweaks to get SPA to bootstrap basePath configured
* ui: basePath support for apis/serve
* ui: basePath support for message monitor
* web: Redirect requests to / when basePath configured
* doc: add basepath to config.md
* Closes #107
2020-08-09 15:53:15 -07:00
James Hillyerd
316a732e7f
cmd, pkg: add line breaks to several go source files
2020-07-26 11:59:27 -07:00
Sascha Andres
046de42774
allow empty envelope ( #166 )
...
* feat: allow empty MAIL FROM
Closes #164
2020-07-25 10:23:31 -07:00
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