Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/parse-community/node-apn

Apple Push Notification module for Node.js
https://github.com/parse-community/node-apn

Lots of Doc. Some Notification helper methods.

5530d7d31053d933cbff064a35b763c44f5160fa authored over 12 years ago
Rewritten feedback

Tidied up code formatting
Reset notification ID when it gets too big
Use readUIntXXBE etc. method...

8490ab09e08932eb8e869901d941576894890edc authored over 12 years ago
Fixed an exports problem.

30216fde36066b8cfa529fcfbbbbfff560f2c8d3 authored over 12 years ago
Refactored connection handling.

Now making extensive use of promises. Including the possibility of handling notification errors ...

519c011bebf01cd017c4d047a69b2eea2b7dc960 authored over 12 years ago
Version 1.1.7

Fixes a problem with sockets being closed on transmission error, causing EPIPE errors
Issues #29...

0c01598a670c6bcd3873f8a2e77bb19adfd4c253 authored almost 13 years ago
Addresses issue #30

This should prevent crashing with EPIPE error on connection error.

4e81dd6324e30f6664781f8a1ec2e224349e5a98 authored almost 13 years ago
Merge pull request #26 from jacksonh/master

Add a passphrase option for key files.

03dd81ecb002a251c7ff1368ce4f4f5025d178d5 authored almost 13 years ago
Add a passphrase option that can automatically set the passphrase on the ssl key

5beae1726d00d2289170ebdcaad58ae7e496f13b authored almost 13 years ago
Version 1.1.6

9be4c80d8d6b8d8aa1c515e24417eaf68c78f226 authored about 13 years ago
Merge pull request #22 from pereckerdal/master

Fixes bug introduced by a3cf8b090b673f96b155734221b42631619eea55 where the socket buffer length ...

d6ca87f8f38bcd98f1ef31d6858cc5999050636f authored about 13 years ago
Fixes bug introduced by a3cf8b090b673f96b155734221b42631619eea55

53d04bae9289685f61383c07fedf32c7c95c4052 authored about 13 years ago
Version 1.1.5

* Feature: Certificate and Key data can be passed directly when creating a new connection instea...

f97d29db503b0c2f7fe7d5fe806df2bf5474780c authored about 13 years ago
Fixed #17, #20

Removed a global callback, raised by mypark#17

3be6182a2d11b8d4286037c2a3d6c548149cf717 authored about 13 years ago
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.

a847befdff7b220d30f762c0e00c6d59303cd645 authored about 13 years ago
Fixes #16

Fix by @bobrik

a3cf8b090b673f96b155734221b42631619eea55 authored about 13 years ago
Fixes #17

118c85e62f7f583cf8419f92a8a7c1aa25960e98 authored about 13 years ago
v1.1.4

Updated the readme and package.json for release

74ed13fe77fea4b48e15e84ebf0c4c2a4c32e6cd authored about 13 years ago
Fixes #15: Sending unified emoji via apn

Added encoding parameter when sending notification

4b03af31f3e900a191dab57d7da6ce99a34fb145 authored about 13 years ago
Readme for v1.1.3

a55ed78c7925044943e46dd4a6a3e6b2fb13168f authored about 13 years ago
Version 1.1.3

Fixes #11,#12,#13,#14

Ensure delivery of notifications to Apple even under heavy load.

66a0a01cec4028fe91a02581756c2a8ca144ec7e authored about 13 years ago
Reinstated the check for whether we are using the enhanced binary interface or not.

If we aren't then we can't find which notification made things go wrong then none of the rest of...

b213da698ae935e7d7f04390838ed3e503ad62a5 authored over 13 years ago
Removed logging used for debugging.

c9fddc622ad2189c9a966996701d91455f5d7d1a authored over 13 years ago
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...

463d22c90671d538a58ab519466ebc9b5ed63ace authored over 13 years ago
reorganized handleTransmissionError, removed resending cachedNotes

38c885c1cf806a72c0567ea946f6a49547bc2d63 authored over 13 years ago
rewritten with drain event, should be ok now

2097d6f131c216e30ce47b1180af8f8ff03fc097 authored over 13 years ago
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 ...

47519f5f5c64672e1d32e750a3f6be8c4f45dfca authored over 13 years ago
Version 1.1.2

516aba71dd574ce62aa1bb220a7d9c9196d96a7f authored over 13 years ago
Fixes #9, Addresses an issue if the socket disconnects with queued notifications it would be reinitialised before its teardown is completed leaving the system in an undefined state.

052eabf6916a5e546a0fab79007757c0a9b0bd18 authored over 13 years ago
Version 1.1.1

Closes #6

623a5f967ef447e1e338379f042ebe4a6f5c387e authored almost 14 years ago
Fixes #6 where error (i.e. losing net connection) would bring down the whole node instance.

Ideally this would give the user the option to specify an error handler in case the error is mor...

ee3910eeeb2f543a0de1f0cb52c23e5c9c966b82 authored almost 14 years ago
Version 1.1.0

0a253230b238914445c923ddd2f4b9111e759af5 authored almost 14 years ago
Fixed a token parsing bug

Fencepost error with calculating the correct buffer length to store the token. This should fix a...

2968dbbd20fc2f019cc75db72ce82e79d047829c authored almost 14 years ago
Updated package.json to match API usage changes.

8056c349aab16b2496d3efee76dd23c3b80e3fca authored almost 14 years ago
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 pendin...

db064b17c38e92c31438f318cc4c5ae92b14cf3f authored almost 14 years ago
Version 1.0.3, fixed a typo in the docs

* Issue #3 fixed.

6779c0fda3620f7233daeffd2ac8711750a62ed9 authored almost 14 years ago
Fixed a documentation bug where:

var apnsConnection = apns.connection(options);

should have read:

var apnsConnection = new apns....

1cc2b8f0b6db2cc56a0d3647843218c834b82bcf authored about 14 years ago
Version 1.0.2, fixed a critical issue with error callback not firing.

Issue #1 fixed where error callback was incorrectly referenced.

6c7fd0f2fa70d85f28f12d7cfcbe8602a5c77c5f authored about 14 years ago
Fixed issue #1.

errorCallback should in fact be options.errorCallback on lines 159-160

b83f9e7c91ab7bd2967896896f7b9abaaf3b4125 authored about 14 years ago
Version 1.0.1, now with added changelog!

2a93355a7d52029acb9150ad0113cfa43955a76a authored over 14 years ago
Significant improvements to README

a2fc04310b478c1a85799137c70bf3b3163d495a authored over 14 years ago
Introduced an index.js for friendlier require() statements.

037ae6b58ce2bc3e22276a3f8760cfdaf7374b91 authored over 14 years ago
Tidied up some of the connection code

c558c08397044e128b1d83bb081949c458c4ea13 authored over 14 years ago
Typing fail.

87da6ace7d29adc33275b4d212b6e017b967bbff authored over 14 years ago
Moved the Device methods into the prototype

67661caa818252e7b32f5fefdcb7d30dc8394570 authored over 14 years ago
Corrected the implicit argument value in the comment. Behaviour changed in cdfb4e75

1821f49baebabfb9dad71beff2af5235107c0ab3 authored over 14 years ago
Updated the readme

7a92810f79f7a4e4caba183abc7aedde795ec114 authored over 14 years ago
Added npm package.json

b785c6e0fffc64862ce6e88677debd9651a6005e authored over 14 years ago
It makes more sense for the device setToken method to default to ascii encoding of the token.

cdfb4e75de3568625d297c478343382f77b64d1a authored over 14 years ago
Removed an extraneous module.

cc8e5c69e8d32db0d46841e452c95178aa43090e authored over 14 years ago
Hugely improved the Notification object.

25fb3821de71d6df8053d5cda46c280a5495b31a authored over 14 years ago
Changed default behaviour to using enhanced service.

cf8c71209e9bab7f736ac03f1dcdb6aea7721035 authored over 14 years ago
Maximum payload size is 256 not 255.

d3656eb3f21452659af973cf403b19c4278bdbc6 authored over 14 years ago
Moved Device methods to prototype

580a3d5f827a99cf4a7de1c0e112cd33e836038c authored over 14 years ago
Changed how function is detected for message error handler

b2c9b7566da13b8091e8925431ad7e931d47215b authored over 14 years ago
Return a error when no callback is specified for Feedback service.

99f36d4675860800b8ddf335fa0ab0bc70317ba8 authored over 14 years ago
Introduced some better error handling with an exports.error object containing error values for message error response code and local errors.

df55494c1636fae6bce2d0e1cf0bdd6d21c93840 authored over 14 years ago
Altered the buffering code within feedback handler so that a partial response when data has already buffered will add to the buffer.

a23f50a0a18faa20edbdda95ff0c9670252d851d authored over 14 years ago
Changed namespace object declarations.

1951c6673e83003ea9d66254466ed02de2691d52 authored over 14 years ago
Changed device() so that it accepts the arguments of setToken and calls if necessary.

f5b97750e368d49a7602f8e24eabf9f1ce36d633 authored over 14 years ago
Fixed a bad comment

b0a0cc3d5ba741a81c95dd3d5e994832c727029f authored over 14 years ago
Renamed node-apn to comply with standard module naming guidelines

5acabb2493f234040ad3ba85ccc47891af9435e5 authored over 14 years ago
Changed: feedback event will now return a device object rather than a buffer containing the device token.

0e3ca8202fee240801eb438447df1fb946575891 authored over 14 years ago
These options are not used as the feedback functionality is now in a separate object.

84d22c747e79428f6bb3ed9cba9d94e238ea88e9 authored over 14 years ago
Doesn't really need to be an EventEmitter

688e35b287e8ce730d8d08ee973f562c554c9ee6 authored over 14 years ago
Removed some extraneous logging.

09e38e797e14ca565f9679bab91accc8283e8916 authored over 14 years ago
Working Feedback service with callback

4331239983e102dde4448335774c7734fc56d368 authored over 14 years ago
Changed device(token) to device() with a setToken(token, ascii=false) method which will return this. Can now provide a buffer or ascii representation of the device token.

50ec3b22b150c00ebff702d51f13b28256915478 authored over 14 years ago
Added possibility of calling a callback when a transmission error occurs.

a4ffe954c245049935b154d3c70b7468c7d72f41 authored over 14 years ago
Replaced int2bytes -> data.write(....'binary') with an int2buf(number, buffer, start, length) method which writes the integer of length bytes directly into the bytes of the buffer specified by the start. Replaces some really clunky code.

31549cf6c762dd21ba072081c7581db09a4c6d0a authored over 14 years ago
Now store device token as Buffer within object and provide a method to get a hex string out. This allows copying the buffer straight into the output stream instead of writing it out.

1c2e24ebafdd4a17697f54e9c645ccef3f7704a9 authored over 14 years ago
First part of the Feedback system implemented

701e76e9754f5b762b2e977bdc90203134a06df4 authored over 14 years ago
Tidied up the hex helper functions. Maybe I could do this with Buffers?

492a5a6e0534ed4179f3d7dc24946e1fd0a8dc78 authored over 14 years ago
Fixed a potential bug where the socket wont setup as secure. setSecure should be called after connection is established.

331ec5172e4927b393c91b29f836f4b6f30e36c0 authored over 14 years ago
n variable should be in the local scope to enable invoke_after to be used concurrently.

7e635138ed8974fd1d99ecfd0a99db4d08bc4610 authored over 14 years ago
Added queuing of messages so that if one fails subsequent messages can be resent. To be tested.

0141e4a4f5642ffd537d0600a8c62f112a45e56c authored over 14 years ago
Updated todo

64de3d6db5a49b73dd0f6908162fc55da40f3145 authored over 14 years ago
First incarnation of message caching in case of transmission error.

134a5e1d9ac836eae2ead98a348ac71b060289b3 authored over 14 years ago
Changed to create uid for notification. Maybe need to recycle at some point.

5f60a55786eb481736372d0c49b77c35c5de9016 authored over 14 years ago
Changed transmission error handler

a5becaf59e5877782dc7c24a3e207c8f85deb56f authored over 14 years ago
Ensuring that the byteLength of the payload is sent instead of the character count.

d729b47d3966090ca737a40a74af9b817ef2971b authored over 14 years ago
Added semaphore to the initial socket connect after key/cert loading. Thanks to Ben Noordhuis

89653c4d4e6b9473fafbe37c4e8a2288d6b0eead authored over 14 years ago
I appear to have set this up as an EventEmitter. Not sure it really needs to be for the moment. Callbacks seem more appropriate. We shall see.

2ffbbda275f923e46121dba9f363ed0d416916a4 authored over 14 years ago
Moved startSocket to local scope. As it shouldn't need to be called outside the library

d984769578559491bfbd4673bb2f91d532aff24f authored over 14 years ago
Added preliminary support for the enhanced binary protocol

2ded1b9171e0687002e0674c68ef3e2b288ce48e authored over 14 years ago
Improved disconnection handling.

4183c9dbc189324d3846b636ebff87e3f2c8cb34 authored over 14 years ago
Added license

721788d0eeaa3d2881e507ba9d542af5e3e556bb authored over 14 years ago
Initial commit of node-apn.js

fc0114db0eec8bbd8219fb16d05b284b326586fb authored over 14 years ago
first commit

f326109d28d9f17233bcaf4a8a9ea3402a2b7822 authored over 14 years ago