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
1742bf9a34
Merge branch 'release/1.1.0-rc2'
2016-03-06 16:47:45 -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
c2779ff054
Merge branch 'release/1.1.0-rc1'
2016-03-03 21:41:09 -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
James Hillyerd
f36e21a65c
REST APIv1 now uses lowercase JSON property names
...
- Updated rest-apiv1.sh to pretty print JSON with jq if available
- Fixed some missing checks on JSON testutils
2016-02-25 19:21:47 -08:00
James Hillyerd
5da5d3e509
Move mocks and utility functions out of apiv1 tests
2016-02-25 18:38:01 -08:00
James Hillyerd
7b8161042c
Redesign REST API tests
...
- Unmarshall JSON into maps instead of structs, this allows for better
detection of incorrect output
- JSON tests are now case sensitive
2016-02-25 18:28:22 -08:00
James Hillyerd
b9535c126c
Implement REST API v1
...
- Add rest package with REST-only controller, tests
- Remove individual shell scripts in favor of rest-apivh1.sh
2016-02-25 14:42:10 -08:00
James Hillyerd
8e084b5697
Refactor web package into two packages: httpd and webui
2016-02-24 22:38:14 -08:00
James Hillyerd
0b32af5495
Homogenize HTTP logging and error handling
...
- Prefix many web package log messages with HTTP
- Return 404 in cases where it makes sense
- Improve error messages where possible
- Improve comments
- Closes #18
2016-02-24 20:51:43 -08:00
James Hillyerd
f996fa2ae7
Docker best practices
...
- Install and remove OS and Go build deps in a single layer
- Use COPY instead of ADD
- WORKDIR now resolves ENV variables, use one
- Use VOLUMES for configuration and datastore
- Added launcher script start-inbucket.sh
- Made docker-run.sh more powerful
2016-02-23 22:09:39 -08:00
James Hillyerd
9fafbf73d0
Dockerfile now builds from golang:1.6-alpine
2016-02-22 21:10:48 -08:00
James Hillyerd
a2606a14f6
Update default greeting.html files
2016-02-22 20:11:39 -08:00