Permalink
Commits on Nov 11, 2008
  1. Better block capability!

    Now it's:
    
        listener.go do |cmd, message|
            case cmd
                when :mail
                    unless message.origin_ip == "127.0.0.1"
                        raise Percolate::SMTP::Responder::ResponderError,
                                "550 go away, only localhost gets to send mail"
                    end
            end
        end
    
    (or things along those lines)
    committed with Dave Brown Nov 11, 2008
  2. A tiny commit to make percolate more powerful

    Now you can run it like this:
    
        percolate.go do |message|
            do_things_with(message)
        end
    
    instead of subclassing the responder and providing your own methods
    to do stuff.
    committed with Dave Brown Nov 11, 2008
Commits on Jun 19, 2008
  1. Added stuff to install the default SMTP responder

    committed with Dave Brown Jun 19, 2008
  2. Refactored the initialize to be terser.

    committed with Dave Brown Jun 19, 2008
Commits on Mar 19, 2007
  1. r1404@aerogel: dagbrown | 2007-03-04 12:25:09 +0900

     More reshuffling, this time to move "responder.rb" into "smtp/responder.rb".
    dagbrown committed Mar 19, 2007
  2. r1403@aerogel: dagbrown | 2007-03-04 11:44:10 +0900

     Changing Percolate::Responder to Percolate::SMTP::Responder in hopes of
     adding responders for other protocols (POP3 comes to mind for starters).
    dagbrown committed Mar 19, 2007
Commits on Mar 3, 2007
  1. r1401@aerogel: dagbrown | 2007-03-04 08:47:14 +0900

     Alright, alright, quitcher whining about parens already
    dagbrown committed Mar 3, 2007
Commits on Feb 27, 2007
  1. r1042@aerogel: dagbrown | 2007-02-16 09:14:17 +0900

     Making that comment more mysterious.
    dagbrown committed Feb 27, 2007
Commits on Feb 14, 2007
  1. r1023@aerogel: dagbrown | 2007-02-14 09:28:08 +0900

     AND ALSO TEST THE COMMANDS IN ALL UPPERCASE
    dagbrown committed Feb 14, 2007
  2. r1022@aerogel: dagbrown | 2007-02-14 09:18:38 +0900

     Holy shit!  The QUIT command (!!) wasn't case-insensitive!  How did I manage
     to overlook that?  (Oh right, piss-poor testing.)
    dagbrown committed Feb 14, 2007
Commits on Feb 12, 2007
  1. r1002@aerogel: dagbrown | 2007-02-12 21:34:51 +0900

     HEY LOOK!  UNIT TESTING REVEALED BUGS!  HOLY CRAP!
     
     Generally I spend more time debugging the tests than I do using them to
     find bugs in the code.  Feh.
    dagbrown committed Feb 12, 2007
  2. r1001@aerogel: dagbrown | 2007-02-12 21:34:05 +0900

     Well I guess that gets me up to 92.3% coverage on mail_object, but not exactly in a particularly satisfying way.
    dagbrown committed Feb 12, 2007
  3. r1000@aerogel: dagbrown | 2007-02-12 21:22:38 +0900

     And one more test to bring me back up to 100% code coverage
    dagbrown committed Feb 12, 2007
  4. r999@aerogel: dagbrown | 2007-02-12 21:20:33 +0900

     Added test with custom approved message
    dagbrown committed Feb 12, 2007
  5. r998@aerogel: dagbrown | 2007-02-12 21:18:22 +0900

     Wow, "if foo then tru else false" has to be an example of the stupidest kind of code ever written
    dagbrown committed Feb 12, 2007
  6. r997@aerogel: dagbrown | 2007-02-12 21:11:19 +0900

     First test with message not approved
    dagbrown committed Feb 12, 2007
  7. r996@aerogel: dagbrown | 2007-02-12 21:09:01 +0900

     This is the Least Essential Change in the history of software changes.
     
     I only put those parens in because for some obscure reason probably
     related to a regex that works out to being approximately a mile long
     when expanded in all its glory, things that take regexes as parameters
     aren't highlighted properly unless given parentheses.
     
     I suppose fixing vim would be easier than fixing All The Ruby Code In
     The World, but there you have it.
    dagbrown committed Feb 12, 2007
  8. r995@aerogel: dagbrown | 2007-02-12 21:03:28 +0900

     O crap!  I should have the gem read the version number from the AUTHORITATIVE source--the VERSION file--rather than just making something up.
    dagbrown committed Feb 12, 2007
  9. r994@aerogel: dagbrown | 2007-02-12 21:01:23 +0900

     Annotated the TODO somewhat
    dagbrown committed Feb 12, 2007
  10. r993@aerogel: dagbrown | 2007-02-12 12:30:57 +0900

     Added better Gurgitate support.
    dagbrown committed Feb 12, 2007
  11. r992@aerogel: dagbrown | 2007-02-12 12:29:41 +0900

     Added extra bits to fiddle with message verification status.  Now all I
     need to do is add the tests for that!
    dagbrown committed Feb 12, 2007
  12. r991@aerogel: dagbrown | 2007-02-12 12:28:57 +0900

     Hell, come to that, why does the user have to come up with messages explaining
     why addresses were accepted or rejected?  Let 'em just say yes or no.
    dagbrown committed Feb 12, 2007
  13. r990@aerogel: dagbrown | 2007-02-12 12:26:45 +0900

     Come to that, why should the user have to make comments on what happened
     to a message when the computer can perfectly reasonably do that for them?
    dagbrown committed Feb 12, 2007
  14. r989@aerogel: dagbrown | 2007-02-12 12:21:31 +0900

     You know, you should also be able to reject a message after you've received
     it.  D'oh!  Ho-hum, more tests ahoy.
    dagbrown committed Feb 12, 2007
  15. r988@aerogel: dagbrown | 2007-02-12 12:04:47 +0900

     Version bump!  Yes, already
    dagbrown committed Feb 12, 2007
Commits on Feb 11, 2007
  1. - add TODO

    aredridel committed Feb 11, 2007
  2. - remove old TODOs

    aredridel committed Feb 11, 2007
  3. - add TODO

    aredridel committed Feb 11, 2007
  4. - more TODOs

    aredridel committed Feb 11, 2007
  5. - add gurgitate_mailmessage tests

    aredridel committed Feb 11, 2007
  6. - fix construction of Mailmessage object

    - add error to headers if we received a bogus message
    aredridel committed Feb 11, 2007
  7. r971@aerogel: dagbrown | 2007-02-11 14:09:29 +0900

     Renamed to percolate-chuckmail
    dagbrown committed Feb 11, 2007
  8. r970@aerogel: dagbrown | 2007-02-11 14:09:14 +0900

     Added examples to gem
    dagbrown committed Feb 11, 2007
  9. r969@aerogel: dagbrown | 2007-02-11 14:08:53 +0900

     Added examples to tarball
    dagbrown committed Feb 11, 2007