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

42 Commits

Author SHA1 Message Date
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
b6c317dbb0 chore: improve coverage 2017-05-30 06:45:28 +02:00
ac26d0524d fix: always emit an error when the connection drops 2017-05-30 04:38:02 +02:00
8c63233968 feat: parse info data as numbers if possible and improve parsing 2017-05-28 01:45:19 +02:00
3065e2e7be chore: refactor parts out of the index.js file 2017-05-26 18:45:52 +02:00
4d103b4aee chore: update dependencies 2017-05-26 10:27:17 +02:00
6be5575c5b chore: refactor codebase to promises 2017-05-19 06:14:29 +02:00
b2613b2270 test fixup 2017-05-06 08:16:19 +02:00
f1a7bcd735 chore: use standard 2017-05-06 07:06:52 +02:00
19f3d20b47 chore: remove support for UPPER_CASE commands 2017-05-06 01:49:48 +02:00
28afc33c9a Remove snack_case and always use camelCase 2017-05-06 01:49:05 +02:00
a86c998a64 Skip tests 2017-05-06 01:49:05 +02:00
78187142cb Remove deprecated parser option 2017-05-06 01:49:04 +02:00
b3106a45c4 Remove deprecated max_attempts 2017-05-06 01:49:02 +02:00
0c6edbd8a6 Make test idempotent 2016-06-16 12:39:08 +02:00
de0a9628aa Fire the individual original callbacks when using transactions
Fixes #1089
2016-06-16 12:29:00 +02:00
8b6f2dd35e Refactor command parsing 2016-05-29 01:38:34 +02:00
27eac2f594 Prevent a race condition by just forcefully ending the connection in the test 2016-05-29 01:38:34 +02:00
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
ce1678c778 Improve coverage; make tests ready for Redis 3.2
Add command sanity check
2016-04-29 04:10:23 +02:00
eae16938cd Add monitor transaction warning / error 2016-04-29 04:10:23 +02:00
a857829a36 Improve error handling
Arguments are now passed to an command error in case they exist
An error is only emitted if that very same error is not already handled in a callback
2016-04-29 04:10:23 +02:00
3038c9043d Make sure all individual handled command work in multi context the same
Fix quit possibly resulting in reconnections
2016-04-29 04:10:23 +02:00
0424cb0bf3 Move pub sub command into individual commands and use call_on_write 2016-04-29 04:10:23 +02:00
683815de9d Refactor pipelining 2016-04-29 04:10:23 +02:00
d2b8f2f391 Add support for camelCase
Fixes missing `EXEC_BATCH` on multi
2016-04-29 04:10:23 +02:00
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
2e68a7a270 Make test more robust by waiting till redis answered
The former fix was actually not working as expected
2016-03-26 15:44:46 +01:00
68f2a8894e Make test more robust
The redis server ends the connection and the stream end might be triggered
before the quit command returned and is therefor racy.
2016-03-26 15:22:36 +01:00
94e9f1fcfc Replace jshint with eslint and add lots of rules
Fix eslint errors accordingly
2016-03-26 14:45:12 +01:00
ff19663d9d Remove code overhead
Add another domain test

Fix test on node 0.10
2016-03-15 03:56:36 +01:00
f75b38a3e2 Make windows tests more robust 2016-03-14 23:10:46 +01:00
e48e1e845f Windows fixes
Skip redis process spawn on windows for now
2016-03-07 02:03:10 +01:00
c2e25a7f71 Move lots code into separate files and split big functions party into smaller ones
Also refactor small stuff here
Removed the .send_anyway boolean and use .ready instead
2016-03-07 01:57:56 +01:00
89209b8adc Handle very big pipelines without crashing 2016-03-07 01:57:56 +01:00
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
60eee34de1 Unify command handling 2016-03-01 17:59:16 +01:00
5ef24a90b6 Add tests and improve older tests 2015-12-31 06:00:20 +01:00
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
d55017a01e Use .end(true) to stricten test cases and improve coverage 2015-11-24 00:23:18 +01:00
431bed882b Increase test timeout for appveyor 2015-11-19 00:29:49 +01:00
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