Permalink
Commits on Oct 12, 2009
  1. Move the subscribe code into a function so that we can call it at the…

    … end of the subscribe timeout using theading.Timer()
    committed Oct 12, 2009
Commits on Sep 29, 2009
  1. First attempt at subscribe message

    committed Sep 29, 2009
Commits on Sep 7, 2009
Commits on Sep 4, 2009
Commits on Aug 30, 2009
  1. Move the basic encode/decode functions into _GNTPBase

    Remove _GNTPResponse and update GNTPOK and GNTPError
    Add basic GNTPSubscribe
    committed Aug 30, 2009
  2. Add the origin information into messages.

    Add version string to gntp.py
    committed Aug 30, 2009
  3. Add a _decode_binary() function to decode the binary data from self.raw

    gntp_bridge can now decode the images properly and pass them to OSX Growl
     - The issue was with the server not pulling all the data from the socket.  Added in some hacks to 'fix' it.
    Add some files to .getignore
    committed Aug 30, 2009
Commits on Aug 29, 2009
  1. Fixes some password inconsistencies

    set_password can now accept None which will clear the password
    set_password will be called from the constructor if not decoding data
    self.password will be set in decode() so that validate_password() doesn't fail
    committed Aug 29, 2009
  2. Adding a simple setup.py script

    Renaming README so that it should only shows up in github
    committed Aug 29, 2009
Commits on Aug 27, 2009
Commits on Aug 24, 2009
  1. Lots of documentation for gntp.py

    committed Aug 24, 2009
Commits on Aug 23, 2009
  1. Cleaned up a few debugging lines in client.py and server.py

    Reduced a bit of duplicate code and cleaned up some of the error handling in gntp.py
     - Removed the GNTP prefix from Errors.
     - Errors have a gntp_error() function that will return a GNTPError() message
    committed Aug 23, 2009
  2. Initial draft of parse_gntp function for parsing any kind of growl me…

    …ssage
    
    Initial stubs for -OK and -ERROR messages
    committed Aug 23, 2009
  3. Support for setting a password with messages. Only works with md5 rig…

    …ht now. Still need to figure out how to reliably shorten the salt to a specific length.
    committed Aug 23, 2009
  4. Rename format() -> encode() and parse() -> decode() to give them more…

    … descriptive names Update the help text on the server to explain that it only works on OSX and isn't a generic regrowl
    committed Aug 23, 2009
Commits on Aug 18, 2009
  1. Add in an initial README file

    committed Aug 18, 2009
  2. Add a client growl script

    Add self.validate() GNTPRegister() and GNTPNotice() - Validates required headers
    Add self.format() to GNTPRegister() and GNTPNoticee() - Formats a Growl message to be sent
    committed Aug 18, 2009
Commits on Aug 14, 2009
  1. For notices, store the extra information in self.resources

    Use OptionParser with the server to allow both regrowling and printing to console
    committed Aug 14, 2009
  2. Moved the local OSX bridge into local.py

    Cleaned up gntp.py and renamed self.parsed to self.headers
    committed Aug 14, 2009
Commits on Aug 12, 2009
Commits on Aug 10, 2009
  1. Ignore Eclipse specific files

    Initial commit
    committed Aug 10, 2009