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

263 Commits

Author SHA1 Message Date
James Hillyerd
1906a147f0 Migrate from pkg go.enmime to enmime 2016-11-17 18:35:01 -08:00
James Hillyerd
145e71dc43 Merge branch 'feature/to-header' into develop
- Messages now store To information
2016-09-22 20:12:09 -07: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
James Hillyerd
01ea89e7e2 Multi-recipient swaks test
- Add a multi-recipient test to run-tests.sh
- Removal accidental output of jq binary location when pretty-printing REST JSON
- Add To: change to CHANGELOG.md
- Fix comment typo
2016-09-18 17:48:21 -07:00
Tomasz Wojtuń
8f14ba8359 corrected webui/rest_test.go 2016-09-18 17:48:21 -07:00
Tomasz Wojtuń
8d36aa9750 revert webui stuff 2016-09-18 17:48:21 -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
1856deae46 SMTP handler is now more forgiving of line endings, a la Postfix 2016-09-18 17:45:03 -07:00
James Hillyerd
a939605d4a Cache message in memory during receipt, closes #23 2016-09-18 16:35:13 -07:00
James Hillyerd
f84b36039e Merge branch 'release/1.1.0' into develop 2016-09-03 11:29:39 -07:00
James Hillyerd
6d2c2c8dad Prep for 1.1.0 1.1.0 2016-09-03 11:23:09 -07:00
James Hillyerd
ebde99949e Update travis build to current Go versions 2016-09-03 10:25:44 -07:00
James Hillyerd
0afaf5109e Merge pull request #36 from stepstone-tech/issue-35
Log error and continue when deleting oldest message fails - closes #35
2016-04-27 12:30:12 -07:00
Tomasz Wojtuń
7adf3741d3 #35 Log error and continue when deleting oldest message fails. 2016-04-27 17:54:17 +02:00
James Hillyerd
9821095977 Move homebrew to its own tap repository. 2016-03-21 20:08:31 -07:00
James Hillyerd
221a65cbe6 Merge branch 'feature/brew' into develop 2016-03-11 18:35:56 -08:00
James Hillyerd
c421e4e0eb First attempt at a homebrew formula 2016-03-11 18:31:53 -08:00
James Hillyerd
0068937d58 Add homebrew specific inbucket.conf 2016-03-08 23:11:03 -08:00
James Hillyerd
268f950e01 Merge branch 'release/1.1.0-rc2' into develop 2016-03-06 16:48:24 -08:00
James Hillyerd
470ef9b496 Prep for 1.1.0-rc2 1.1.0-rc2 2016-03-06 16:47:19 -08:00
James Hillyerd
f16debebbf Handle empty subject lines in bootstrap 2016-03-06 16:31:55 -08:00
James Hillyerd
ff460309e5 Merge branch 'feature/filter' into develop 2016-03-06 15:39:33 -08:00
James Hillyerd
d13ebe9149 Add message list search feature
- Search as you type (client side)
- Add makeDelay to reduce resize and search callback frequency
- Rename class listEntry to message-list-entry
- Move Refresh button into search button bar
2016-03-06 15:35:36 -08:00
James Hillyerd
6fd9f1f98c Load message list over JSON
- Add jquery-load-template to bower
- Add moment (date rendering) to bower
- Load message list JSON via /api/v1/mailbox
- Render message list using jquery template
- Fix resize related problems with message list height caused by
  2092949dbc
2016-03-06 13:15:13 -08:00
James Hillyerd
3481a89533 Display message cap on status page 2016-03-06 10:25:25 -08:00
James Hillyerd
e99baf766b RetentionJoin() could block if scanner never started 2016-03-05 19:19:57 -08:00
James Hillyerd
629bb65cec Host assets for responsive email test 2016-03-05 19:00:07 -08:00
James Hillyerd
42b3ba35cb Merge branch 'release/1.1.0-rc1' into develop 2016-03-03 21:41:27 -08:00
James Hillyerd
22eb793f61 Release 1.1.0-rc1 2016-03-03 21:40:25 -08:00
James Hillyerd
d566da0d86 README updates 2016-03-03 21:27:50 -08:00
James Hillyerd
c172ea4dd7 Add a CHANGELOG.md file 2016-03-03 21:13:13 -08:00
James Hillyerd
511e014a90 Support down-converting of HTML to plain text
- Display a warning when text was generated from HTML
- Add a semi complicated, responsive HTML email for future testing
- Closes #20
2016-03-03 19:44:48 -08:00
James Hillyerd
86861eb747 Switch travis to container based builds 2016-03-01 20:31:16 -08:00
James Hillyerd
2092949dbc Cache message list scroll status for smoother resizing 2016-03-01 13:09:36 -08:00
James Hillyerd
798b320769 Reorganize bootstrap mailbox.js 2016-03-01 12:45:27 -08:00
James Hillyerd
fd59aad4f0 Fix "Link" button on messages
- Add clipboard.js to bower
- Add pop-out section that populates with URL
- Add copy to clipboard button, hover confirmation
2016-03-01 12:10:26 -08:00
James Hillyerd
ee5f75631a Go tip travis builds take too long, use 1.6
- Add go vet as a before_script
2016-02-29 22:05:22 -08:00
James Hillyerd
8e66be63f5 Retention scanner respects global shutdown
- Clean up vars in retention.go
- Check globalShutdown in several parts of the retention scanner
- smtpd.Drain() now waits for scanner to shut down
- Closes #22
2016-02-29 21:56:29 -08:00
James Hillyerd
28adcf0437 Graceful shutdown on error for httpd, smtpd, pop3d 2016-02-29 20:21:49 -08:00
James Hillyerd
4b4121bb3a Use channels to communicate shutdown request
- httpd now uses shutdown channel
- smtpd now uses shutdown channel
- pop3d now uses shutdown channel
- timedExit now removes PID file
- tidy up some struct instantiations, var blocks
2016-02-28 23:48:09 -08:00
James Hillyerd
3a7be7d89c Reorganize logging
- Move the opening/closing of logs to the log package
- Use conditional compilation for redirecting stdout/err to logfile,
  Unix allows a superior method to Windows
- Panic output will now to go log file on Unix platforms
2016-02-28 19:45:27 -08:00
James Hillyerd
e4d12e60aa Add SIGINT to traps, triggers clean shutdown 2016-02-28 16:25:35 -08:00
James Hillyerd
982ad857e8 Take care of more TODO flagged code
- Improve TODO comments, mention related issues
- Export ErrNotWritable, move it to datastore.go
- Improve logging of corrupt mailbox GOB file
2016-02-28 16:14:37 -08:00
James Hillyerd
075aa0dd38 Remove PID file during shutdown 2016-02-28 14:41:15 -08:00
James Hillyerd
3f654e48be Fix retention tests on Windows 2016-02-28 13:42:17 -08:00
James Hillyerd
bbfdd4216f Session cookie key is now configurable
- Added [web] cookie.auth.key to configuration
- Inbucket generates a random key if none is configured
- Added [default] default.domain to be reference by SMTP and POP3
  configs
- Updated default/sample config files
2016-02-27 15:43:44 -08:00
James Hillyerd
5e15300d02 Bowerize more components
- Move jquery-color into bower
- Move jquery-sparklines into bower
- Make swaks-tests/run-tests.sh discover its directory
- Update _base.html public resource includes to /public
2016-02-26 21:57:15 -08:00
James Hillyerd
5daa40b081 go.enmime API now uses HTML instead of Html 2016-02-26 20:35:28 -08:00
James Hillyerd
3eb2b5ce19 Add "No-Store Domain" info to status page 2016-02-25 20:29:21 -08:00