Permalink
Commits on Jul 7, 2012
  1. Version 1.2.3

    argon committed Jul 7, 2012
Commits on Jul 5, 2012
  1. Added some more error handling

    Also fixes a bug with the error handling at the bottom of sendNotification.
    argon committed Jul 5, 2012
Commits on Jun 29, 2012
  1. Fixes #47

    argon committed Jun 29, 2012
Commits on Jun 28, 2012
  1. v1.2.1

    argon committed Jun 28, 2012
  2. More logging

    argon committed Jun 28, 2012
  3. Fixes #46

    argon committed Jun 28, 2012
Commits on Jun 22, 2012
  1. Fix for notification queue stalling.

    The 'ondrain' event for a socket isn't called if the entire buffer was flushed during the .write() call. Therefore the queue will stall in these cases. Instead we immediately call the .socketDrained() method to continue queue processing.
    argon committed Jun 22, 2012
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

    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
    argon committed Jun 14, 2012
  2. Fixed an exports problem.

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

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

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

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

    Add a passphrase option for key files.
    argon committed Mar 7, 2012
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

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

    * 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
    argon committed Jan 6, 2012
  2. Fixed #17, #20

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

    …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.
    keithnlarsen committed with argon Dec 30, 2011
Commits on Dec 3, 2011
  1. Fixes #16

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

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

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

    Added encoding parameter when sending notification
    argon committed Nov 25, 2011
  3. 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