Commit Graph

122 Commits

Author SHA1 Message Date
Travis Burtrum 1c049fc071 Send deletes across websocket and handle in poll as well so deletes update in realtime 2016-08-11 12:52:04 -04:00
Travis Burtrum 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
Travis Burtrum 0aa927ab50 Add --keep-num-emails to only keep that many emails and delete oldest 2016-08-10 16:35:05 -04:00
Travis Burtrum 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
Travis Burtrum d42f2bf11d Add --sqlite-db option to allow for persistant storage 2016-08-10 15:38:34 -04:00
Travis Burtrum 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 0021a2909c We don't need no support 2016-04-23 15:53:56 +08: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 17054f80ad Remove use of `which` 2016-04-23 15:43:27 +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
Odin Dutton dc6ae47749 Improve port taken error message 2016-03-30 15:21:58 +11: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 f2a7385097 Rubygems doesn't know how to gem 2016-02-04 11:00:42 +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
Samuel Cochran d32b8465ba Make eventmachine requirement explicit 2015-12-14 13:57:20 +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 8e77cde268 Dammit eventmachine 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 757eafe337 Add monkey patch for eventmachine 1.0.4 2015-01-29 21:44:55 +11:00
Samuel Cochran 23398d7042 Bump versions for prerelease eventmachine fix 2015-01-28 08:44:37 +11:00
Pavel de0edff86b Load active_support's core extensions 2015-01-17 17:28:02 +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 e3e7dec757 Load all of ActiveSupport
ActiveSupport has weird load order problems when loading only the
core extensions now.

For instance, active_support/core_ext/numeric/conversions.rb now
loads active_support/number_helper which needs
ActiveSupport::Autoload but doesn't require it, so causes a missing
constant error in MailCatcher.

Also tightening up the version constraint because I can't guarantee
backward compatibility now.
2014-06-05 21:27:47 +10: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 c7cf74b7ad gem-named alias namespace 2014-03-26 12:33:38 +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 2056339bdb Add a gem-named requirable file 2014-03-17 15:58:02 +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
Jan Deelstra a90e115c89 Syncing output when running in foreground. 2014-02-12 13:45:39 +01:00
Samuel Cochran f93df88021 Merge branch 'no-exit' [closes #92] 2013-11-18 11:00:03 +11:00