1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
Commit Graph

115 Commits

Author SHA1 Message Date
Ruben Bridgewater
2b4ab10305 chore - remove standard and use individual config
Standard is not as up to date and still uses a old eslint version.
Instead, use the airbnb default with a couple of modifications.

All required changes are included.
2017-11-28 21:38:21 -02:00
Ruben Bridgewater
b6c317dbb0 chore: improve coverage 2017-05-30 06:45:28 +02:00
Ruben Bridgewater
b2e18344d9 chore: mark private variables as such and remove obsolete ones 2017-05-28 07:15:20 +02:00
Ruben Bridgewater
0d53d3dcdf feat: add auto pipeline 2017-05-28 05:23:19 +02:00
Ruben Bridgewater
8c63233968 feat: parse info data as numbers if possible and improve parsing 2017-05-28 01:45:19 +02:00
Ruben Bridgewater
2aa3b68fc6 chore: refactor main code into smaller parts 2017-05-27 03:41:27 +02:00
Ruben Bridgewater
3065e2e7be chore: refactor parts out of the index.js file 2017-05-26 18:45:52 +02:00
Ruben Bridgewater
4d103b4aee chore: update dependencies 2017-05-26 10:27:17 +02:00
Ruben Bridgewater
6be5575c5b chore: refactor codebase to promises 2017-05-19 06:14:29 +02:00
Ruben Bridgewater
b2613b2270 test fixup 2017-05-06 08:16:19 +02:00
Ruben Bridgewater
f1a7bcd735 chore: use standard 2017-05-06 07:06:52 +02:00
Ruben Bridgewater
19f3d20b47 chore: remove support for UPPER_CASE commands 2017-05-06 01:49:48 +02:00
Ruben Bridgewater
5822939686 fixup underscore 2017-05-06 01:49:47 +02:00
Ruben Bridgewater
28afc33c9a Remove snack_case and always use camelCase 2017-05-06 01:49:05 +02:00
Ruben Bridgewater
78187142cb Remove deprecated parser option 2017-05-06 01:49:04 +02:00
Ruben Bridgewater
c4b9b4ea26 Fix test on windows 2017-01-16 09:53:31 +01:00
Ruben Bridgewater
b9540d4965 Fix monitor mode not working with IPv6, sockets or lua scripts
Fixes #1189
Fixes #1037
2017-01-12 23:51:41 +01:00
Ruben Bridgewater
8b6f2dd35e Refactor command parsing 2016-05-29 01:38:34 +02:00
Ruben Bridgewater
55528d8b1b Revert 228573b8d7
Not inheriting from the prototype is a BC
2016-05-29 01:38:34 +02:00
Ruben Bridgewater
03f1a606f7 Improve error handling
Added individual error classes
Don't silently fail for commands without callback from now on
General polishing (e.g. better error messages)

Fix typos
2016-04-29 04:31:39 +02:00
Ruben Bridgewater
ce1678c778 Improve coverage; make tests ready for Redis 3.2
Add command sanity check
2016-04-29 04:10:23 +02:00
Ruben Bridgewater
97ae78877b Implement CLIENT REPLY ON|OFF|SKIP 2016-04-29 04:10:23 +02:00
Ruben Bridgewater
d2b8f2f391 Add support for camelCase
Fixes missing `EXEC_BATCH` on multi
2016-04-29 04:10:23 +02:00
Ruben Bridgewater
228573b8d7 Support __proto__ and similar as object attribute in hgetall 2016-04-23 12:54:43 +02:00
Ruben Bridgewater
14170f9d02 Improve tests a bit
Reduce timeouts if possible
Extend timeouts if needed (windows tests need their time)
Don't expose the redis socket to others than the owner
Don't create the stunnel log
2016-04-01 11:42:22 +02:00
Ruben Bridgewater
861749f4d6 Fix send_command working with hooked internal functions 2016-03-31 19:23:46 +02:00
Ruben Bridgewater
0c5947be51 Add string_numbers option to handle very big numbers 2016-03-27 03:19:18 +02:00
Ruben Bridgewater
94e9f1fcfc Replace jshint with eslint and add lots of rules
Fix eslint errors accordingly
2016-03-26 14:45:12 +01:00
Ruben Bridgewater
7a5a4aa535 Fix pub sub mode
There is likely a better and more performant way to fix this but this works so far
and should be good enough to release and improve later.

Make test more robust

Add another test
2016-03-26 02:14:10 +01:00
Ruben Bridgewater
db6cf0a3b5 Don't throw on invalid data types but throw a warning instead
Fixes #1013
2016-03-21 17:22:03 +01:00
Ruben Bridgewater
359820c766 Support redis 2.4 info command
Fixes #1008
2016-03-16 23:50:29 +01:00
Ruben Bridgewater
24e7486a5a Fix forgotten optional info section
Fixes #1003
2016-03-15 09:59:09 +01:00
Ruben Bridgewater
ff19663d9d Remove code overhead
Add another domain test

Fix test on node 0.10
2016-03-15 03:56:36 +01:00
Matt Berther
7ddb955517 updating the test filename to match the command 2016-03-07 09:41:40 +01:00
Matt Berther
b14cbaf1d5 updating the test description to match the command 2016-03-07 03:31:38 +01:00
Ruben Bridgewater
575ad7357b Insert deprecation warnings and some minor refactoring 2016-03-07 01:57:56 +01:00
Ruben Bridgewater
4f3c4a2ef6 Add more tests
Add execution order tests
Fix flaky test
Add utils tests
Improve other tests
2016-03-07 01:57:56 +01:00
Ruben Bridgewater
60eee34de1 Unify command handling 2016-03-01 17:59:16 +01:00
Ruben Bridgewater
5ef24a90b6 Add tests and improve older tests 2015-12-31 06:00:20 +01:00
Ruben Bridgewater
e89bcec1c2 Deprecate and warn on null / undefined arguments 2015-12-30 16:18:17 +01:00
Ruben Bridgewater
0207163655 Remove support of redis 2.4
All tests require at least redis 2.6 from now on. Anyone who wants to run the tests should be able to install a newer version.
2015-11-30 13:31:26 +01:00
Ruben Bridgewater
918882f0bf Hotfix 2015-11-23 14:38:33 +01:00
Ruben Bridgewater
9ca2d1ddaa Fix test on appveyor
Somehow the calls do not seem to be handled sync on appveyor in this test
2015-11-23 14:38:10 +01:00
Ruben Bridgewater
f82fb6cf42 Explicitly install hiredis on appveyor and only use start / end clients if needed 2015-11-23 13:22:07 +01:00
Ruben Bridgewater
8bf794fb36 Stricten tests by always ending redis with .end(true) if possible 2015-11-22 16:56:54 +01:00
Ruben Bridgewater
241e156499 Fix saving buffers with charsets other than utf-8 while using multi
This will also improve pipelinening for buffers and fixes the return value of Batch.exec

Fixes #913
2015-11-18 02:43:43 +01:00
Ruben Bridgewater
19ce6680ef Prevent jshint race condition 2015-11-17 22:08:17 +01:00
Ruben Bridgewater
88c9e28a27 Fix test 2015-10-29 23:27:52 +01:00
Ruben Bridgewater
d454e4025b Fix an issue with .multi after a reconnect on node 0.10
Add .path to .createClient options object for unix sockets
2015-10-29 23:23:20 +01:00
Ruben Bridgewater
afc4989495 Remove command queue high and low water marks 2015-10-28 23:53:10 +01:00