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

472 Commits

Author SHA1 Message Date
James Hillyerd
a291944a7d travis: install rpm v2.0.0-rc1 2018-04-07 20:22:38 -07:00
James Hillyerd
7afc49d88f travis: specify go 1.10.1 2018-04-07 20:07:49 -07:00
James Hillyerd
61ac42379e Merge branch 'release/2.0.0-rc1' 2018-04-07 19:36:13 -07:00
James Hillyerd
1ed8723bd7 2.0.0-rc1 changelog update 2018-04-07 19:33:43 -07:00
James Hillyerd
bcede38453 webui: Friendly URL support for #73 2018-04-07 18:17:39 -07:00
James Hillyerd
7e71b4a42c Move swaks-tests into etc for #79 2018-04-07 17:22:44 -07:00
James Hillyerd
e8f57fb4ed Update changelog for mailbox naming 2018-04-07 17:17:37 -07:00
James Hillyerd
d846f04186 docker: Switch to multistage build, closes #66 2018-04-07 17:00:37 -07:00
James Hillyerd
7a783efd5d config: Document MailboxNaming for #33 2018-04-07 16:20:00 -07:00
James Hillyerd
a40c92d221 Merge branch 'feature/fullemail-33' for #33 2018-04-07 14:49:33 -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
d1dbcf6e63 Merge branch 'feature/whitelist-51', closes #51 2018-04-01 20:02:56 -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
0b3c18eba9 Merge branch 'feature/read-58' for #58 2018-04-01 15:32:36 -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
James Hillyerd
cc5cd7f9c3 storage: Add Seen flag, tests for #58 2018-04-01 13:30:43 -07:00
James Hillyerd
e3be5362dc dev-start.sh: update TRACE to DEBUG 2018-04-01 13:30:01 -07:00
James Hillyerd
3fe4140733 pop3, smtp: embed Server struct into Session for #91 2018-03-31 17:09:30 -07:00
James Hillyerd
7b073562eb pop3: Use config.POP3 directly in server #91 2018-03-31 17:01:02 -07:00
James Hillyerd
2c813081eb smtp: Use config.SMTP directly in Server #91 2018-03-31 16:49:52 -07:00
James Hillyerd
acd48773da Merge branch 'feature/zerolog' into develop, closes #90 2018-03-31 16:17:04 -07:00
James Hillyerd
87bab63aa2 docker: Default to JSON log output for #90 2018-03-31 16:12:05 -07:00
James Hillyerd
47b526824b travis: Move to Go 1.10.x 2018-03-31 15:36:39 -07:00
James Hillyerd
5a28e9f9e7 config: Use log level name DEBUG instead of TRACE
Add log level parsing into openLog() for #90
2018-03-31 15:30:36 -07:00
James Hillyerd
deceb29377 inbucket: respect -logfile flag again for #90
Removed log file rotation, too racy, not needed in the world of docker
and systemd.
2018-03-31 15:16:22 -07:00
James Hillyerd
e076f80416 smtp: Use zerolog hooks for warns/errors expvars #90 2018-03-31 14:06:58 -07:00
James Hillyerd
92f2da5025 server: -netdebug flag now controls tracing for #90
Network trace is sent to stdout, no longer part of normal debug
logging.
2018-03-31 13:37:42 -07:00
James Hillyerd
cbdb96a421 log: package deleted for #90 2018-03-31 12:25:54 -07:00
James Hillyerd
6601d156be metric: new pkg refactored from log for #90 2018-03-31 12:16:54 -07:00
James Hillyerd
779b1e63af smtp, pop3: Use zerolog for session logging #90 2018-03-27 21:52:28 -07:00
James Hillyerd
6f25a1320e pop3, smtp: rename Session method receivers to s 2018-03-27 20:51:13 -07:00
James Hillyerd
e2ba10c8ca Replace pkg/log with zerolog for normal logging #90 2018-03-27 20:26:06 -07:00
James Hillyerd
64ecd810b4 Merge branch 'feature/distro-pkgs' into develop, closes #89 2018-03-25 20:19:59 -07:00
James Hillyerd
393a5b8d4e redhat: Use goreleaser to generate .rpm package for #89 2018-03-25 20:13:19 -07:00
James Hillyerd
0055b84916 debian: Use goreleaser to generate .deb package for #89 2018-03-25 19:34:51 -07:00
James Hillyerd
7ab9ea92ad Merge branch 'feature/envconfig' into develop 2018-03-25 17:05:52 -07:00
James Hillyerd
06989c8218 Update goreleaser config for #86
- Remove inbucket.bat, with new env defaults Windows does not need a
  script to launch.
2018-03-25 16:52:29 -07:00
James Hillyerd
23dc357202 etc: Add dev-start.sh script for #86 2018-03-25 16:16:06 -07:00
James Hillyerd
2d09e94f87 log: Fix another deadlock. 2018-03-25 16:08:34 -07:00
James Hillyerd
86c8ccf9ea docker: Update for environment config for #86
- Change to default ports (less surprising)
- Drop `/con/` volume naming, never caught on
2018-03-25 15:39:04 -07:00
James Hillyerd
ce2339ee9c conf: Delete obsolete config files for #86 2018-03-25 14:30:34 -07:00
James Hillyerd
69a0d355f9 doc: Add doc/config.md to document config for #86
- Increase default max message size to 10MB.
2018-03-25 14:12:18 -07:00