Permalink
Switch branches/tags
Nothing to show
Commits on Jan 13, 2016
  1. Merge pull request #8 from jeethu/pep8

    kernel1983 committed Jan 13, 2016
    PEP-8 cleanup
Commits on Nov 14, 2015
  1. PEP-8 cleanup

    jeethu committed Nov 14, 2015
Commits on May 26, 2015
  1. fix params

    kernel1983 committed May 26, 2015
  2. Merge pull request #7 from zs1621/master

    kernel1983 committed May 26, 2015
    fix README example
  3. Merge pull request #6 from Ethan-Zhang/master

    kernel1983 committed May 26, 2015
    fix a bug of multiple notification with ```Frame``` data struct
  4. Merge pull request #5 from Ethan-Zhang/kj

    kernel1983 committed May 26, 2015
    Fix a bug: set APNsConnection _alive attribute to False when apns connectiong closed
Commits on Sep 28, 2014
  1. Modify max payload length for IOS8

    Ethan-Zhang committed Sep 28, 2014
    	modified:   apns.py
Commits on Apr 3, 2014
  1. fix README example

    zs1621 committed Apr 3, 2014
Commits on Mar 20, 2014
  1. BUG FIX: ```Frame``` data struct fault

    Ethan-Zhang committed Mar 20, 2014
    	modified:   apns.py
    	modified:   tests.py
Commits on Feb 14, 2014
  1. Compatibile with APNS API v3

    Ethan-Zhang committed Dec 16, 2013
    1. add content-available to Payload class
    2. add Frame class to represent a APNS frame
    3. add send_notification_multiple to support multiple send
    
    	modified:   README.markdown
    	modified:   apns.py
    	modified:   tests.py
Commits on Jan 3, 2014
  1. BUG FIX:set _alive to False when connecting closed

    Ethan-Zhang committed Jan 3, 2014
    set attribute _alive to False when apns connection closed. Or
    _connecting_timeout_callback will not work correct.
    
    	modified:   apns.py
Commits on Dec 4, 2013
  1. BugFix: add connected callback

    Ethan-Zhang committed Dec 4, 2013
    	modified:   apns-send
Commits on Dec 2, 2013
  1. Update README.markdown

    kernel1983 committed Dec 2, 2013
    thanks to Ethan-Zhang :)
  2. Merge branch 'kj' of git://github.com/Ethan-Zhang/tornado_apns into E…

    kernel1983 committed Dec 2, 2013
    …than-Zhang-kj
    
    Conflicts:
    	apns-send
  3. Modify README

    Ethan-Zhang committed Dec 2, 2013
    	modified:   README.markdown
  4. Modify unittest

    Ethan-Zhang committed Dec 2, 2013
    	modified:   tests.py
  5. Modify _feedback_callback method's return

    Ethan-Zhang committed Dec 2, 2013
    Modify _feedback_callback method in FeedbackConnection, changing the return of
    time from datetime to unix timestamp
    
    	modified:   apns.py
  6. Modify APNsConnection __del__ method

    Ethan-Zhang committed Dec 2, 2013
    1. close the stream when it exist in APNsConnection destruction
    2. add __del__ method to GatewayConnection and FeedbackConnection
    
    	modified:   apns.py
Commits on Sep 26, 2013
Commits on Jul 9, 2013
  1. Modify connection timeout

    Ethan-Zhang committed Jul 9, 2013
    1. raise error on connection timeout
    2. use IOStream.close() instead of socket.close()
    3. add set_close_callback() method in APNsConnection
    
    	modified:   apns.py
Commits on Jul 8, 2013
  1. RM connect_and_response() send_notification_json()

    Ethan-Zhang committed Jul 8, 2013
    1. remove connect_and_response() method, move it to the client caller
    2. remove send_notification_json ande merge to send_notification()
    
    	modified:   apns-send
    	modified:   apns.py
Commits on Jul 6, 2013
  1. BUG FIX: check the stream if alive

    Ethan-Zhang committed Jul 6, 2013
    1. Change the is_alive() method back to a private state, not use
    stream.closed() func.
    2. Catch read_till_close exceptions
    
    	modified:   apns.py
Commits on Jul 3, 2013
  1. Merge branch 'feedback-service'

    Ethan-Zhang committed Jul 3, 2013
    Merge Feedback service func
    
    	new file:   apns-feedback
    	modified:   apns.py
  2. BUG FIX self.buff in Feedback_Connection

    Ethan-Zhang committed Jul 3, 2013
    rt
    
    	modified:   apns.py
Commits on Jun 20, 2013
  1. Add feedback service provider

    Ethan-Zhang committed Jun 20, 2013
    	new file:   apns-feedback
    	modified:   apns.py
  2. Change to ANPS API V2

    Ethan-Zhang committed Jun 20, 2013
    1. Change the implemention to APNS API V2
    2. Change the connect to Long TCP connect
    
    	modified:   apns-send
    	modified:   apns.py
    	modified:   tests.py
  3. Change tornado gen.engine to traditional callback

    Ethan-Zhang committed Jun 20, 2013
    change using traditional callback from tornado coroutine
    modify unit test to fit APNS API V2
    
    	modified:   apns-send
    	modified:   apns.py
        modified:   tests.py
  4. Change send_notfication to APNS api V2

    Ethan-Zhang committed Jun 20, 2013
    rt
    
    	modified:   apns.py
Commits on Jun 14, 2013
  1. Merge branch 'dev-payload-json' into dev

    Ethan-Zhang committed Jun 14, 2013
    Conflicts:
    
    	apns.py
  2. Modify the apns-send to V2

    zhangbin committed Jun 14, 2013
    1. modify send_notifition() to API V2
    2. modify apns-send to new method
  3. Add callback to **connect()** method

    zhangbin committed Jun 14, 2013
    	modified:   apns.py
Commits on Jun 13, 2013
  1. Change apns api to V2

    zhangbin committed Jun 13, 2013
    Use the V2 apns api, add apns response check
    
    	modified:   apns.py
Commits on Jun 10, 2013
  1. Add send message func to send a pure json payload

    zhangbin committed Jun 10, 2013
    Add a new func in gateway server, so we can use a pure json payload instead of
    using Payload object to build a payload
    
    	modified:   apns.py
Commits on Jun 2, 2013
  1. Change the send_message trigger time

    kernel1983 committed with zhangbin May 14, 2013
    With the current method through the tornado_apns project, we send message to
    the APNS immediatly when the connect done. And we do a connect-disconnect
    circle at every time we send a message. But the apple's document said "APNs
    treats rapid connection and disconnection as a denial-of-service attack."
    So, when we have large messages to send, we'd better keep a connectiong alive
    for a long peroid.
    I use the tornado_apns in my project like below:
    Create a APNS instance
    connect to the server for inition
    Use send_notification when we have a send request