Commit Graph

86 Commits

Author SHA1 Message Date
1c049fc071 Send deletes across websocket and handle in poll as well so deletes update in realtime 2016-08-11 12:52:04 -04:00
017e704791 Add --show-from-server option to parse the server from the Recieved header and display in a column, off by default 2016-08-11 08:23:33 -04:00
0aa927ab50 Add --keep-num-emails to only keep that many emails and delete oldest 2016-08-10 16:35:05 -04:00
93dd5d1758 Add --delete-older-than to delete messages older than a time modifier every time a mail is recieved 2016-08-10 16:15:56 -04:00
d42f2bf11d Add --sqlite-db option to allow for persistant storage 2016-08-10 15:38:34 -04:00
fb91dd0902 Parse from/to from the mail headers if possible 2016-08-10 14:45:58 -04:00
Samuel Cochran
fdbe5c4535
Bump v0.6.5 2016-08-10 09:37:33 +10:00
Samuel Cochran
e8531da70d
Catch errors during websocket send
Tidy up the error handling code a little, and substitute out gem paths.
2016-08-10 09:37:33 +10:00
Samuel Cochran
2e27c830b1 Not-nil is enough 2016-04-23 15:49:55 +08:00
Samuel Cochran
c29336b78d Just use a method 2016-04-23 15:49:03 +08:00
Samuel Cochran
d932eff261 Use plain old JSON 2016-04-23 15:48:37 +08:00
Samuel Cochran
e2d89b65db Remove unused variable (threw warning) 2016-04-23 15:45:25 +08:00
Samuel Cochran
ba4ca7f8d6 Remove unused fractal endpoint 2016-04-23 15:45:06 +08:00
Samuel Cochran
bc86e995ef Merge pull request #221 from csiszarattila/master
Fix encoding errors for other than UTF-8 emails
2016-04-12 12:48:22 +10:00
Samuel Cochran
2411713bba Bump 0.6.4
Folks are having trouble with activesupport 5 beta. This release should
prevent mailcatcher attempting to use the beta gem.
2016-02-04 11:00:43 +11:00
Samuel Cochran
844c0a7d72 Bump 0.6.3 2016-01-18 14:04:04 +11:00
Grant McCarriagher
a6ef2147e0 Make the delete all messages variables not conflict with the delete single message variables. 2016-01-11 12:23:41 -05:00
Samuel Cochran
ca0166ded4 Bump version
Let's see if bumping eventmachine solves the memory leak issues.
2015-12-14 13:59:42 +11:00
Csiszár Attila
101c068ac2 Fix encoding errors for other than UTF-8 emails
Always sended "Content-Type: text/html;charset=utf-8" header therefore its not worked for other than utf-8 encoded emails, showed non-ascii characters as question marks.
2015-04-16 17:12:01 +02:00
Samuel Cochran
0179a924a0 Bump 0.6.1 2015-02-04 09:43:51 +11:00
Samuel Cochran
5e2e3d378b Bump 0.6.0 2015-01-29 21:51:59 +11:00
Samuel Cochran
23398d7042 Bump versions for prerelease eventmachine fix 2015-01-28 08:44:37 +11:00
Samuel Cochran
e703dbcf13 Merge pull request #184 from captbaritone/patch-1
Ensure messages are shown in the order they were recieved
2015-01-17 17:18:02 +11:00
Samuel Cochran
aa9b8c925a Set content types
Fixes #161
2015-01-17 16:54:07 +11:00
Samuel Cochran
021022c20f No need for namespaces 2015-01-17 15:08:26 +11:00
Samuel Cochran
6ec409bfcb Remove haml 2015-01-17 15:03:00 +11:00
Jordan Eldredge
de8a4735a7 Ensure messages are shown in the order they were recieved
If two messages were received within the same second, they may be sorted by the order they were received. Using `id` as a tie breaker should give a more consistent result.

I noticed this issue when writing tests for my Codeception testing framework Mailcatcher module: https://github.com/captbaritone/codeception-mailcatcher-module/issues/13 

**Note:** I have not tested this change, but I think it should be correct.
2014-12-31 08:34:58 -08:00
Samuel Cochran
ed72712daa Fix some load order issues 2014-06-05 21:19:31 +10:00
Samuel Cochran
44ca32c3af Remove Growl; nobody uses it any more 2014-03-31 15:15:41 +11:00
Samuel Cochran
8c5c8a51bb Use sprockets-helpers during development 2014-03-26 12:33:38 +11:00
Samuel Cochran
903e3ad2fb Break out 404 file 2014-03-26 11:12:55 +11:00
Samuel Cochran
a4e62f2e92 Bump version 2014-03-21 14:45:07 +11:00
Samuel Cochran
0398d2d6a3 Switch to sprockets for assets 2014-03-17 19:06:32 +11:00
Samuel Cochran
272b4fa855 My style has evolved 2014-03-17 16:31:05 +11:00
Samuel Cochran
5b9424c650 Fix line endings
SMTP lines always end with CR LF "\r\n", so just make sure the
lines received do too.
2014-02-25 16:30:33 +11:00
Rick Cobb
64e1ef41d8 Oops. Write the newline in correctly. 2014-02-19 16:44:10 -08:00
Rick Cobb
295691d625 Example mail with = problem at the end of quoted-printable
And a workaround for it.
2014-02-19 16:13:42 -08:00
Samuel Cochran
f93df88021 Merge branch 'no-exit' [closes #92] 2013-11-18 11:00:03 +11:00
Samuel Cochran
264e912a02 Refine the no-exit implementaton a little 2013-11-18 10:59:11 +11:00
Samuel Cochran
8913812b92 Expose whole options hash instead of using define_method 2013-09-16 12:02:13 +10:00
Jakub Pavlík jn
ffb4ec4e4c plain text html-decorated on the client side 2013-07-14 21:17:37 +02:00
Jakub Pavlík jn
ef09b0fde3 new display format: plain text with clickable URLs 2013-07-13 16:15:41 +02:00
Samuel Cochran
44262f9862 They are prepended in JS-land anyway
Addresses @gondo's concern in #78.
2013-06-07 14:25:58 +08:00
Samuel Cochran
16264a89ba Bump 0.5.12 2013-05-30 19:43:49 +10:00
Julien Kirch
6ce4dda354 Add option to disable the exit button and action 2013-05-13 13:27:06 +02:00
Samuel Cochran
808ada7a3b It seems EventMachine already does this for us 2013-05-05 15:27:41 +10:00
Samuel Cochran
1241446fa0 Bump 0.5.11 2013-03-12 12:02:58 +11:00
Charlie Sanders
2ae395a0ad Sort messages from newest to oldest 2013-01-28 20:21:32 -06:00
Ivan Kuchin
eb3e14a8a6 Merge remote-tracking branch 'sj26/master' into delete_message 2012-10-29 23:49:28 +01:00
Samuel Cochran
76cef09b4e Expand path on sinatra root 2012-10-29 10:36:36 +08:00