Commits on Nov 25, 2011
  1. Readme for v1.1.3

    argon committed Nov 24, 2011
Commits on Nov 24, 2011
  1. Version 1.1.3

    Fixes #11,#12,#13,#14
    Ensure delivery of notifications to Apple even under heavy load.
    argon committed Nov 24, 2011
Commits on Oct 18, 2011
  1. Reinstated the check for whether we are using the enhanced binary int…

    …erface or not.
    If we aren't then we can't find which notification made things go wrong then none of the rest of the method is relevant and we can just go back to draining the writeBuffer.
    argon committed Oct 18, 2011
  2. Rewritten to better incorporate the idea of ensured-delivery.

    Basically I've fixed architectural failings of the first release. This should be far more stable than it has been previously with hopefully not too much increased overhead.
    argon committed Oct 18, 2011
Commits on Sep 27, 2011
Commits on Sep 26, 2011
Commits on Sep 25, 2011
  1. Added ability to ensure that every push is delivered to Apple

    If you send many push notifications (10k) and 10th will have invalid token,
    there is chance that 2k push notifications will be broken before broken pipe exception.
    This commit adds checking for every push message and fix bug with close event listener.
    bobrik committed Sep 25, 2011
Commits on Aug 31, 2011
  1. Version 1.1.2

    argon committed Aug 31, 2011
  2. Fixes #9, Addresses an issue if the socket disconnects with queued no…

    …tifications it would be reinitialised before its teardown is completed leaving the system in an undefined state.
    argon committed Aug 31, 2011
Commits on Apr 20, 2011
  1. Version 1.1.1

    Closes #6
    argon committed Apr 20, 2011
  2. Fixes #6 where error (i.e. losing net connection) would bring down th…

    …e whole node instance.
    Ideally this would give the user the option to specify an error handler in case the error is more sinister. If there is any demand for this open an issue or send a pull request.
    argon committed Apr 20, 2011
Commits on Mar 12, 2011
  1. Version 1.1.0

    argon committed Mar 12, 2011
Commits on Mar 7, 2011
  1. Fixed a token parsing bug

    Fencepost error with calculating the correct buffer length to store the token. This should fix an out-of-bounds error I got once with a token of incorrect length.
    argon committed Mar 7, 2011
Commits on Mar 6, 2011
  1. Initial reworking of network code to utilise new TLS API in node 0.4+.

    I'm not entirely sure I have the error checking right/sufficient.
    The method of queueing pending messages whilst connecting has been changed to an array which the data is pushed/shifted from as it is no longer possible to add a listener to trigger the write because the socket will change as it is recreated.
    argon committed Mar 6, 2011
Commits on Mar 1, 2011
  1. Version 1.0.3, fixed a typo in the docs

    * Issue #3 fixed.
    argon committed Mar 1, 2011
Commits on Dec 28, 2010
  1. Fixed a documentation bug where:

    var apnsConnection = apns.connection(options);
    should have read:
    var apnsConnection = new apns.connection(options);
    Issue #3
    argon committed Dec 28, 2010
Commits on Dec 22, 2010
  1. Version 1.0.2, fixed a critical issue with error callback not firing.

    Issue #1 fixed where error callback was incorrectly referenced.
    argon committed Dec 22, 2010
Commits on Nov 18, 2010
  1. Fixed issue #1.

    errorCallback should in fact be options.errorCallback on lines 159-160
    argon committed Nov 18, 2010
Commits on Oct 9, 2010
  1. Typing fail.

    argon committed Oct 9, 2010
Commits on Oct 8, 2010
  1. Updated the readme

    argon committed Oct 8, 2010
  2. Added npm package.json

    argon committed Oct 8, 2010
  3. It makes more sense for the device setToken method to default to asci…

    …i encoding of the token.
    argon committed Oct 8, 2010
  4. Removed an extraneous module.

    argon committed Oct 8, 2010