Andrew Naylor
|
2a93355a7d
|
Version 1.0.1, now with added changelog!
|
2010-10-10 00:17:06 +01:00 |
Andrew Naylor
|
a2fc04310b
|
Significant improvements to README
|
2010-10-10 00:08:26 +01:00 |
Andrew Naylor
|
037ae6b58c
|
Introduced an index.js for friendlier require() statements.
|
2010-10-09 23:50:20 +01:00 |
Andrew Naylor
|
c558c08397
|
Tidied up some of the connection code
|
2010-10-09 23:44:35 +01:00 |
Andrew Naylor
|
87da6ace7d
|
Typing fail.
|
2010-10-09 23:43:25 +01:00 |
Andrew Naylor
|
67661caa81
|
Moved the Device methods into the prototype
|
2010-10-09 10:42:39 +01:00 |
Andrew Naylor
|
1821f49bae
|
Corrected the implicit argument value in the comment. Behaviour changed in cdfb4e75
|
2010-10-09 10:29:10 +01:00 |
Andrew Naylor
|
7a92810f79
|
Updated the readme
|
2010-10-09 00:11:42 +01:00 |
Andrew Naylor
|
b785c6e0ff
|
Added npm package.json
|
2010-10-09 00:11:34 +01:00 |
Andrew Naylor
|
cdfb4e75de
|
It makes more sense for the device setToken method to default to ascii encoding of the token.
|
2010-10-08 23:34:24 +01:00 |
Andrew Naylor
|
cc8e5c69e8
|
Removed an extraneous module.
|
2010-10-08 23:13:14 +01:00 |
Andrew Naylor
|
25fb3821de
|
Hugely improved the Notification object.
|
2010-10-08 23:13:03 +01:00 |
Andrew Naylor
|
cf8c71209e
|
Changed default behaviour to using enhanced service.
|
2010-10-08 23:11:56 +01:00 |
Andrew Naylor
|
d3656eb3f2
|
Maximum payload size is 256 not 255.
|
2010-10-08 18:00:54 +01:00 |
Andrew Naylor
|
580a3d5f82
|
Moved Device methods to prototype
|
2010-10-08 17:57:46 +01:00 |
Andrew Naylor
|
b2c9b7566d
|
Changed how function is detected for message error handler
|
2010-10-08 17:48:38 +01:00 |
Andrew Naylor
|
99f36d4675
|
Return a error when no callback is specified for Feedback service.
|
2010-10-08 17:48:19 +01:00 |
Andrew Naylor
|
df55494c16
|
Introduced some better error handling with an exports.error object containing error values for message error response code and local errors.
|
2010-10-08 17:47:48 +01:00 |
Andrew Naylor
|
a23f50a0a1
|
Altered the buffering code within feedback handler so that a partial response when data has already buffered will add to the buffer.
|
2010-10-08 17:46:52 +01:00 |
Andrew Naylor
|
1951c6673e
|
Changed namespace object declarations.
|
2010-10-08 17:45:43 +01:00 |
Andrew Naylor
|
f5b97750e3
|
Changed device() so that it accepts the arguments of setToken and calls if necessary.
|
2010-10-08 17:44:12 +01:00 |
Andrew Naylor
|
b0a0cc3d5b
|
Fixed a bad comment
|
2010-10-08 17:42:02 +01:00 |
Andrew Naylor
|
5acabb2493
|
Renamed node-apn to comply with standard module naming guidelines
|
2010-10-07 20:22:40 +01:00 |
Andrew Naylor
|
0e3ca8202f
|
Changed: feedback event will now return a device object rather than a buffer containing the device token.
|
2010-10-04 23:56:39 +01:00 |
Andrew Naylor
|
84d22c747e
|
These options are not used as the feedback functionality is now in a separate object.
|
2010-10-04 23:56:04 +01:00 |
Andrew Naylor
|
688e35b287
|
Doesn't really need to be an EventEmitter
|
2010-10-04 20:02:18 +01:00 |
Andrew Naylor
|
09e38e797e
|
Removed some extraneous logging.
|
2010-10-04 19:59:52 +01:00 |
Andrew Naylor
|
4331239983
|
Working Feedback service with callback
|
2010-10-04 19:59:41 +01:00 |
Andrew Naylor
|
50ec3b22b1
|
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.
|
2010-10-04 16:37:18 +01:00 |
Andrew Naylor
|
a4ffe954c2
|
Added possibility of calling a callback when a transmission error occurs.
|
2010-10-04 16:29:38 +01:00 |
Andrew Naylor
|
31549cf6c7
|
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.
|
2010-10-04 01:39:08 +01:00 |
Andrew Naylor
|
1c2e24ebaf
|
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.
|
2010-10-04 01:37:43 +01:00 |
Andrew Naylor
|
701e76e975
|
First part of the Feedback system implemented
|
2010-10-04 01:02:14 +01:00 |
Andrew Naylor
|
492a5a6e05
|
Tidied up the hex helper functions. Maybe I could do this with Buffers?
|
2010-10-04 01:01:36 +01:00 |
Andrew Naylor
|
331ec5172e
|
Fixed a potential bug where the socket wont setup as secure. setSecure should be called after connection is established.
|
2010-10-03 19:39:59 +01:00 |
Andrew Naylor
|
7e635138ed
|
n variable should be in the local scope to enable invoke_after to be used concurrently.
|
2010-10-03 11:47:23 +01:00 |
Andrew Naylor
|
0141e4a4f5
|
Added queuing of messages so that if one fails subsequent messages can be resent. To be tested.
|
2010-09-21 17:22:12 +01:00 |
Andrew Naylor
|
64de3d6db5
|
Updated todo
|
2010-08-27 00:11:26 +01:00 |
Andrew Naylor
|
134a5e1d9a
|
First incarnation of message caching in case of transmission error.
|
2010-08-27 00:11:14 +01:00 |
Andrew Naylor
|
5f60a55786
|
Changed to create uid for notification. Maybe need to recycle at some point.
|
2010-08-27 00:09:59 +01:00 |
Andrew Naylor
|
a5becaf59e
|
Changed transmission error handler
|
2010-08-27 00:08:46 +01:00 |
Andrew Naylor
|
d729b47d39
|
Ensuring that the byteLength of the payload is sent instead of the character count.
|
2010-08-27 00:07:50 +01:00 |
Andrew Naylor
|
89653c4d4e
|
Added semaphore to the initial socket connect after key/cert loading. Thanks to Ben Noordhuis
|
2010-08-25 00:04:51 +01:00 |
Andrew Naylor
|
2ffbbda275
|
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.
|
2010-08-15 00:46:28 +01:00 |
Andrew Naylor
|
d984769578
|
Moved startSocket to local scope. As it shouldn't need to be called outside the library
|
2010-08-01 17:57:27 +01:00 |
Andrew Naylor
|
2ded1b9171
|
Added preliminary support for the enhanced binary protocol
|
2010-08-01 12:27:02 +01:00 |
Andrew Naylor
|
4183c9dbc1
|
Improved disconnection handling.
|
2010-07-31 23:59:26 +01:00 |
Andrew Naylor
|
721788d0ee
|
Added license
|
2010-07-31 23:59:12 +01:00 |
Andrew Naylor
|
fc0114db0e
|
Initial commit of node-apn.js
|
2010-07-31 22:42:54 +01:00 |
Andrew Naylor
|
f326109d28
|
first commit
|
2010-07-25 22:16:18 +01:00 |