Commit Graph

60 Commits

Author SHA1 Message Date
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
Ivan Kuchin
09312ffb6e delete individual messages 2012-10-25 01:27:00 +02:00
Samuel Cochran
3f4abe1d32 Version v0.5.10 2012-09-30 18:43:35 +08:00
Samuel Cochran
a0620de9d5 Release v0.5.9 2012-09-10 22:03:18 +08:00
Samuel Cochran
19eb9ce540 Use extend self instead of module_function 2012-07-25 12:00:31 +08:00
Samuel Cochran
a2f9808c75 Some syntax bits 2012-07-25 11:47:12 +08:00
Samuel Cochran
d74b700216 Remove autoload 2012-07-25 11:47:01 +08:00
Samuel Cochran
c920bad92f Use bundler-style version file 2012-07-25 11:13:02 +08:00
Samuel Cochran
20cf6e98f1 Discard periods prefixing SMTP data per RFC 821 4.5.2 2012-07-18 11:27:27 +08:00
Samuel Cochran
9d50d202a1 WebKit's fussy about WebSocket protocols now 2012-07-17 23:03:20 +08:00
Samuel Cochran
73562c77be [#4] Allow sending multiple MAIL FROM: commands per RFC2821 2012-04-06 13:37:13 +08:00
Samuel Cochran
e5c8ef9b08 Fix links to attachments (Thanks Ben!) 2011-12-04 22:26:09 +08:00
Gregor Schmidt
3bbaa6f2de Using old-style Hash literal to work with 1.8.7 2011-10-10 08:23:26 +02:00
Samuel Cochran
54eb83d7a2 Little refactor to reduce nesting 2011-10-09 15:45:33 +08:00
Samuel Cochran
623f2b4514 Merge branch 'avoid-hash-in-urls-by-preventing-default-link-action' of https://github.com/schmidt/mailcatcher 2011-10-08 00:25:25 +08:00
Samuel Cochran
60160e1642 Expose updated fractal api access in front-end 2011-10-08 00:25:04 +08:00
Samuel Cochran
88711084e7 Analysis by Fractal 2011-10-07 22:16:17 +08:00
Samuel Cochran
63432c27c8 Refactor to refernce parts by sub-path 2011-10-07 22:15:59 +08:00
Michael Moen
2290c0eb3e better image for growl 2011-08-25 15:39:49 -05:00
Samuel Cochran
0e8ac1c5a2 Remove JSON as a dependency, we let ActiveSupport worry about that. 2011-06-10 12:26:18 +08:00
Samuel Cochran
d0d6b29606 Rawr! (Basic Growl support.) 2011-06-10 11:24:53 +08:00
Samuel Cochran
4b689159df Whitespace pedantry. 2011-06-10 11:22:59 +08:00
Samuel Cochran
b8d72b0b53 Clear all mail. 2011-06-01 01:15:05 +08:00
Samuel Cochran
06f2238ef3 Quit via "DELETE /" - this seems more elegant, somehow. 2011-06-01 01:14:56 +08:00
Samuel Cochran
17d2cb3de9 Make "Quit" link work. 2011-06-01 00:49:36 +08:00
Samuel Cochran
bd1bfc47cf Present messages in ascending order from DB to make message order in UI predictable. 2011-06-01 00:40:35 +08:00
Samuel Cochran
0abd0037db Add whole-message types as well as multipart types. 2011-05-29 21:16:33 +08:00