1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00
Commit Graph

1604 Commits

Author SHA1 Message Date
DTrejo
a532e65ccf readme: how to contribute 2012-07-05 19:04:19 -07:00
Shankar Karuppiah
c913c06f46 Added documentation for disable_offline_queue option
Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-07-05 19:04:19 -07:00
Shankar Karuppiah
71a52638de Added checking for callback before attempting to execute the callback
Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-07-05 19:04:19 -07:00
Shankar Karuppiah
83dc4c999b Added option to disable offline queue
Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-07-05 19:04:10 -07:00
Trae Robrock
eb005b10df Forgot a comma
Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-07-05 17:09:26 -07:00
Trae Robrock
db4f1648d4 Adding tests for idle event
Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-07-05 17:09:26 -07:00
Trae Robrock
2224767c4c Moving some logic that should fix the idle event
Signed-off-by: DTrejo <david.trejo@voxer.com>
2012-07-05 17:09:26 -07:00
DTrejo
b60e001fa0 hmset throws/errors out on non-string values. fixes #218 2012-06-04 16:13:56 -07:00
DTrejo
7734fb63b4 fix #222 hmset object expansion by @kartikrao 2012-06-04 13:43:10 -07:00
DTrejo
65142cf8c0 [doc] missing key, fix #223 2012-06-04 10:26:12 -07:00
Dave Peticolas
874a893c2c test.js: Switch to pubsub mode when the number of channels is > 0.
Tests for a bug where the client unsubscribes
and then subscribes to a single channel. If the
subscription is sent before the response to the
unsubscribe is received, then the client would
leave pubsub mode when it received the unsubscribe
response and then fail to enter when the subsequent
subscription is processed. This is another test for #190:
https://github.com/mranney/node_redis/pull/190

Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
2012-04-29 23:00:56 -04:00
Matt Ranney
172fc8251b Bump version. 2012-04-29 15:19:51 -10:00
Matt Ranney
1d22f1f874 Many contributed fixes. Thank you, contributors.
* [GH-190] - pub/sub mode fix (Brian Noguchi)
* [GH-165] - parser selection fix (TEHEK)
* numerous documentation and examples updates
* auth errors emit Errors instead of Strings (David Trejo)
v0.7.2
2012-04-29 15:18:30 -10:00
Matt Ranney
09dc8dcf39 Merge pull request #166 from TEHEK/issue-165
Fix for [GH-165] - createClient to properly assign parser_module
2012-04-29 17:59:14 -07:00
Matt Ranney
9e76387f59 Merge pull request #190 from bnoguchi/pub_sub_mode-fix
Pub sub mode fix
2012-04-29 17:56:01 -07:00
David Trejo
38e38c5e7c readme: info on how to select a different db 2012-04-27 21:17:14 -04:00
David Trejo
0a732b8c0e readme: warn that code in callbacks to commands in a multi are not atomic 2012-04-27 21:07:59 -04:00
David Trejo
710a705be2 readme: highlight js examples 2012-04-27 21:07:17 -04:00
Jed Schmidt
192784905b Removed reference to individual args argument
When the second argument of `send_command` is not an array, the following
error is thrown:

    Error: send_command: second argument must be an array

Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
2012-04-27 16:43:09 -04:00
David Trejo
f2e123c42d package.json: add dtrejo as maintainer 2012-04-27 15:25:09 -04:00
TEHEK Firefox
02b62e56bd Fix for [GH-165] - createClient to properly assign parser_module
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
2012-04-27 13:41:42 -04:00
David Trejo
3b645c893d index.js: fix missing .EXEC alias 2012-04-27 13:35:14 -04:00
David Trejo
625d5134e2 readme: add more contributors 2012-04-27 13:31:15 -04:00
David Trejo
72476be3e1 package.json: add a few missing contributors 2012-04-27 13:31:10 -04:00
David Trejo
e7e5a07594 readme: add a few missing contributors to the list 2012-04-23 19:45:06 -04:00
Marcus Westin
69cf7dcd1b git ignore node_modules
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
2012-04-23 19:45:06 -04:00
Marcus Westin
b1ccbd71f9 Fix package.json format
Signed-off-by: David Trejo <david.daniel.trejo@gmail.com>
2012-04-23 19:45:06 -04:00
David Trejo
f4d5c95337 Merge pull request #206 from bluesmoon/patch-1
remove duplicate "take either"
2012-04-23 16:14:18 -07:00
Philip Tellis
4f172ce713 remove duplicate "take either" 2012-04-23 17:11:02 -03:00
Brian Noguchi
64a0e68927 Add fix for last test (re-establish pub_sub_mode = true) 2012-03-12 23:03:46 -07:00
Brian Noguchi
2afa0e5acc Add failing test.
The test demonstrates failure for the following scenario. A single-subscription
client calls unsubscribe immediately followed by a subscribe. It will fail when
it tries to receive the next pmessage/message because the client will be in
false pub_sub_mode. Here is why it is false: First, the 2nd subscribe sets
pub_sub_mode to true during send_command. Next, the unsubscribe's
return_reply sets pub_sub_mode to false. The 2nd subscribe's return_reply does
not re-set pub_sub_mode back to true. So the result is a client with false
pub_sub_mode that fails upon receipt of the next message or pmessage.
2012-03-12 22:59:38 -07:00
Brian Noguchi
5a5af9a4f9 Add comma to package.json 2012-03-12 22:17:13 -07:00
Matt Ranney
a02e058df7 Merge pull request #183 from DTrejo/master
How to correctly auth to server; what error to look for if you're doing it wrong; emit Error objects not string
2012-03-05 18:04:19 -08:00
David Trejo
cd5db44f66 readme: how to correctly auth to server, what error looks like if done wrong 2012-03-05 17:31:47 -05:00
David Trejo
234ae6be9a Emit Error objects not strings 2012-03-05 17:29:54 -05:00
David Trejo
5afa763c89 readme code formatting 2012-03-05 15:31:43 -05:00
Matt Ranney
c0e1ac8037 Merge pull request #167 from isaacs/patch-1
List hiredis as an optional dependency.
2012-02-02 18:08:18 -08:00
Isaac Z. Schlueter
29a416b7a5 List hiredis as an optional dependency.
This will cause npm to attempt to install hiredis when installing redis,
but if the hiredis installation fails, it won't cause the redis install
to abort.

The optionalDependencies feature was added pretty much explicitly
for the redis->hiredis use case. :)
2012-02-02 17:42:55 -08:00
TEHEK Firefox
1896d7ce1f Fix for [GH-165] - createClient to properly assign parser_module 2012-01-27 13:35:56 -08:00
Matt Ranney
3a7c6388de Fix for [GH-93] - restore subscriptions, monitor, db, and auth on reconnect.
Also fixes bug with re-selecting db when auth is required.
Still needs a test for pub/sub reconnect and monitor reconnect.
2011-11-16 17:27:26 -10:00
Matt Ranney
642df49924 Further document no_ready_check. 2011-11-16 17:26:58 -10:00
Matt Ranney
faca4a8dc9 Bounds checking on Array expansion magic. 2011-11-16 12:10:19 -10:00
Matt Ranney
b9734d13eb Add socket_nodelay option to control Nagle. Fixes [GH-33] 2011-11-16 11:12:26 -10:00
Matt Ranney
bf806a0be3 Better util/sys fallback with try/catch instead of version magic. 2011-11-16 10:57:02 -10:00
Zachary Scott
c83c285213 remove double 'util' and 'Queue' from requires
ex: require('./lib/util').util;
2011-11-16 10:37:38 -10:00
Matt Ranney
336030a33d Fix documentation for detect_buffers. 2011-11-16 10:29:58 -10:00
Matt Ranney
64ad9ede42 Add test for [GH-148] - detect_buffers option 2011-11-15 20:27:56 -10:00
Matt Ranney
461ed06fab Doc update for [GH-148] fix. 2011-11-15 19:40:50 -10:00
Matt Ranney
edf46776a1 Merge remote-tracking branch 'dayananda/master'
Conflicts:
	index.js
2011-11-15 19:40:24 -10:00
Matt Ranney
69092a3f26 [GH-67] - hgetall now returns null instead of {} on empty reply 2011-11-15 15:21:49 -10:00