1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-04 15:02:09 +03:00

219 Commits

Author SHA1 Message Date
2232a8948e Exchange queue with a better one 2015-10-11 03:33:52 +02:00
e0b9f0de79 Fix race condition in tests 2015-10-11 03:31:45 +02:00
8c0d11361a Merge pull request #887 from NodeRedis/rename-commands
Add rename_commands option

Closes #499
2015-10-10 19:41:16 +02:00
90033bdd00 Fix some tests 2015-10-10 19:37:42 +02:00
972d1cdeb4 Add rename_commands option 2015-10-10 05:49:51 +02:00
987e4f8a7c Add hiredis to the tests if it's present 2015-10-10 02:17:31 +02:00
b773119967 the monitor test should not be within the block of tests related to redis closing unexpectedly 2015-10-03 21:28:14 -07:00
aad5045c8e use the max port # in newer versions of node 2015-10-03 21:13:18 -07:00
0db1152492 tests were failing on my old mac (node 0.10.40, osx 10.9.5, 2.8.7) 2015-10-03 21:08:00 -07:00
25113e6759 Fix test 2015-10-03 04:13:04 +02:00
e8d9858e29 Add disable_resubscribingg option. Fixes #472 2015-10-02 23:28:59 +02:00
2ca42417bf Fix explicitly passing undefined as callback 2015-10-02 20:20:56 +02:00
977d4dba2b Add host and port to options object 2015-09-30 02:35:11 +02:00
3c39a8bdfc Remove .only 2015-09-30 02:12:28 +02:00
afcd760b18 Fix a test and add some more 2015-09-30 02:04:56 +02:00
fba050802b Move command out of the index.js 2015-09-30 02:03:37 +02:00
29b31f749a Add a better promise documentation and add some tests 2015-09-30 01:57:58 +02:00
db8c6e3bc2 Skip test until the issue is fixed 2015-09-25 02:23:41 +02:00
5f261c5823 Minor changes
Move utility functions in lib/utils.js
Improve the js parser in cases the buffer is incomplete
Rename lib/parser to lib/parsers

Fix smaller issues with test suite and fix parser errors not being catched

Fixed wrong test for the new .end flush parameter
Fixed test suite options being partly mutated
Add some more tests
2015-09-25 02:12:48 +02:00
bd4fca130d Make .end flush optional and add some tests 2015-09-24 13:27:32 +02:00
38281c20b2 Fix small issues with hmset & multi constructor 2015-09-24 12:08:25 +02:00
7be7128b2b Arguments passed as arrays should not be mutated. Fixes #866 2015-09-24 00:31:55 +02:00
f29193a7e0 Investigate failure 2015-09-21 22:37:56 +02:00
07154fce25 Fix typo 2015-09-21 22:30:35 +02:00
55e4a9b847 Fix issues with returning buffers
Fixes #818 and #354
2015-09-21 03:07:55 +02:00
6958c1854b Increase the coverage by adding tests and fix a failing ready check 2015-09-21 02:38:27 +02:00
1cbf19ddf5 Hotfix for older node versions 2015-09-20 21:19:29 +02:00
c60a3b65fe Rename .command_used to .command and add the used command to more errors 2015-09-20 18:56:21 +02:00
1f121fa6e2 Fix error messages being manipulated. Fixes #695 2015-09-20 18:53:57 +02:00
959b0ee093 Fix error codes for multi.exec and add more tests 2015-09-19 18:26:44 +02:00
2293f7ff85 Add some more tests 2015-09-19 18:17:40 +02:00
40c037eaf4 Add redis error codes to the errors 2015-09-19 18:17:40 +02:00
083e446d23 Fix parser regression. Out of memory resulted in an endless loop 2015-09-19 17:48:25 +02:00
26e5764214 Remove broken test 2015-09-19 17:48:25 +02:00
f543d45d1f Fix and add more tests 2015-09-19 17:48:25 +02:00
97db227a8d Fix for channel names with spaces. Fixes #691
Channel names with spaces were not properly resubscribed after a reconnection.
Conflicts:
	index.js
2015-09-18 02:44:29 +02:00
28f31f134c Improve server keyspace info in .server_info 2015-09-18 01:51:40 +02:00
46e2dc2de5 Fix memory leak. See #723 and thx to @rahar 2015-09-18 00:57:29 +02:00
c846ed71d1 Merge pull request #826 from fintura/multi
Fix multi error handling
2015-09-18 00:38:05 +02:00
4d1390318c Merge pull request #853 from fintura/eval
Remove bad .eval implementation
2015-09-18 00:17:35 +02:00
d61d97e24e Fix .auth not working properly
The arguments parameter was faulty andthe callback could have been triggered twice
2015-09-18 00:05:10 +02:00
8b7d4a8449 Remove bad .eval implementation
The implementation is not really good as mentioned in #722 and we pipline our commands.
That way we can't just replace the eval function as it was. This could result in violating the order of execution!

If we want to include a function like this we should not break the order of execution and also not recalculate the sha1 hash each time.
2015-09-17 22:51:42 +02:00
21d8bdbbcb Refactor multi to have a consistent error handling
Ignore *.log files
2015-09-17 20:30:11 +02:00
95a2c373a2 Fix broken build. The merge had a small conflict 2015-09-16 05:58:29 +02:00
f92f4d0df9 Merge pull request #850 from fintura/fix-late-commands
Fix commands not being rejected after calling .quit

Fixes #791
2015-09-16 05:43:55 +02:00
a0c906256c Fix commands not being rejected after calling .quit as reported in #791 2015-09-16 05:29:34 +02:00
89c8dd056b Do not emit the broken mode twice if exec is called
Add more tests
2015-09-16 05:22:43 +02:00
55d0036eae Add test and fix keeping the offline queue
Use a new delay after reconnecting
2015-09-16 05:22:07 +02:00
3c2ba8c373 Try exactly until the connection timeout has been reached
Fixes #587
2015-09-16 05:22:07 +02:00
03e8c03503 Add connection timeout and max attempts tests 2015-09-16 05:22:07 +02:00