Permalink
Commits on Jun 16, 2012
  1. Readme.md

    argon committed Jun 16, 2012
  2. Another Readme.md correction

    argon committed Jun 16, 2012
  3. Updated Readme.md

    argon committed Jun 16, 2012
Commits on Jun 14, 2012
  1. Rewritten feedback

    argon committed Jun 14, 2012
    Tidied up code formatting
    Reset notification ID when it gets too big
    Use readUIntXXBE etc. methods instead of int2bytes and bytes2int
    Improved control flow for errors
  2. Fixed an exports problem.

    argon committed Jun 14, 2012
Commits on Jun 13, 2012
  1. Refactored connection handling.

    argon committed Jun 13, 2012
    Now making extensive use of promises. Including the possibility of handling notification errors with a promise also.
Commits on May 9, 2012
  1. Version 1.1.7

    argon committed May 9, 2012
    Fixes a problem with sockets being closed on transmission error, causing EPIPE errors
    Issues #29, #30
  2. Addresses issue #30

    argon committed May 9, 2012
    This should prevent crashing with EPIPE error on connection error.
Commits on Mar 7, 2012
  1. Merge pull request #26 from jacksonh/master

    argon committed Mar 7, 2012
    Add a passphrase option for key files.
Commits on Jan 21, 2012
  1. Version 1.1.6

    argon committed Jan 21, 2012
Commits on Jan 19, 2012
  1. Merge pull request #22 from pereckerdal/master

    argon committed Jan 19, 2012
    Fixes bug introduced by a3cf8b0 where the socket buffer length wasn't checked correctly.
Commits on Jan 17, 2012
  1. Fixes bug introduced by a3cf8b0

    per-gron committed Jan 17, 2012
Commits on Jan 6, 2012
  1. Version 1.1.5

    argon committed Jan 6, 2012
    * Feature: Certificate and Key data can be passed directly when creating a new connection instead of providing a file name on disk. (See: `certData` and `keyData` options)
    * Deliver whole write buffer if the socket is ready.
    * Fixed some global memory leaks.
    * Tidied up some code formatting glitches flagged by jslint
    * Fixes #16, #17, #18, #19, #20
  2. Fixed #17, #20

    argon committed Jan 6, 2012
    Removed a global callback, raised by mypark#17
Commits on Dec 31, 2011
  1. Make the apn library take a cert and a key as a string instead of as …

    keithnlarsen committed with argon Dec 30, 2011
    …a file so i can store multiples of them. Also fixed up a bunch of js lint error, not all of them, but most of them.
Commits on Dec 3, 2011
  1. Fixes #16

    argon committed Dec 3, 2011
    Fix by @bobrik
  2. Fixes #17

    argon committed Dec 3, 2011
Commits on Nov 25, 2011
  1. v1.1.4

    argon committed Nov 25, 2011
    Updated the readme and package.json for release
  2. Fixes #15: Sending unified emoji via apn

    argon committed Nov 25, 2011
    Added encoding parameter when sending notification
  3. Readme for v1.1.3

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

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

    argon committed Oct 18, 2011
    …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.
  2. Rewritten to better incorporate the idea of ensured-delivery.

    argon committed Oct 18, 2011
    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.
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

    bobrik committed Sep 25, 2011
    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.
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…

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

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

    argon committed Apr 20, 2011
    …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.
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

    argon committed Mar 7, 2011
    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.