Commit Graph

27 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
2e27c830b1 Not-nil is enough 2016-04-23 15:49:55 +08:00
Samuel Cochran
d932eff261 Use plain old JSON 2016-04-23 15:48:37 +08: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
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
272b4fa855 My style has evolved 2014-03-17 16:31:05 +11: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
Charlie Sanders
2ae395a0ad Sort messages from newest to oldest 2013-01-28 20:21:32 -06:00
Ivan Kuchin
09312ffb6e delete individual messages 2012-10-25 01:27:00 +02: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
54eb83d7a2 Little refactor to reduce nesting 2011-10-09 15:45:33 +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
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
Samuel Cochran
8137c06c52 Turn SQLite3 result rows into hashes ourselves.
SQLite3's results_as_hash is a little broken. Pull request submitted: https://github.com/luislavena/sqlite3-ruby/pull/38
2011-05-29 20:26:15 +08:00
Samuel Cochran
6703495637 Slightly nicer recipients listing. 2011-05-27 22:10:05 +08:00
Samuel Cochran
e482f33693 We don't use activesupport. -.- 2011-05-10 11:26:53 +08:00
Samuel Cochran
2fdce6900a Handle non-multipart messages correctly 2010-11-04 12:48:06 +08:00
Samuel Cochran
8db4f674f4 Split into modules, updated style a little, switched to Jeweler, added EventMachine Channel and Skinny WebSockets for no-refresh mail notification, got rid of Sunshowers. 2010-10-28 03:12:26 +08:00