d7c31da598
chore: add callback functionality back in
...
This also improves the performance for multi / batch commands a lot.
The reason is that now there are only callbacks internally even if
a promise is going to be returned in the end.
2017-11-29 19:16:40 -02:00
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
53d5f46fb1
chore: rename files
2017-05-31 00:01:25 +02:00
581d4a29f3
chore: improve coverage further
2017-05-30 07:28:43 +02:00
265ce48af4
chore: minor refactoring
2017-05-30 00:44:57 +02:00
0276e15f04
chore: add print helper again and refactor some code
...
Expose the RedisClient directly instead of only being a property
2017-05-29 18:23:24 +02:00
b2e18344d9
chore: mark private variables as such and remove obsolete ones
2017-05-28 07:15:20 +02:00
5fef7e246d
chore: refactor client to es6 class and sort requires
2017-05-28 05:43:34 +02:00
8c63233968
feat: parse info data as numbers if possible and improve parsing
2017-05-28 01:45:19 +02:00
8da9e98fe6
chore: refactor flush and error
2017-05-28 01:45:18 +02:00
3065e2e7be
chore: refactor parts out of the index.js file
2017-05-26 18:45:52 +02:00
6794478066
chore: remove let due to performance reasons
2017-05-26 18:17:26 +02:00
cd8f2d27c1
chore: use es6 for multi
2017-05-26 12:32:05 +02:00
54671f6c52
chore: use arrow functions
2017-05-26 12:32:04 +02:00
6ea202132b
feat: accept Map and Set and flatten arguments
2017-05-26 12:32:04 +02:00
4182059b7c
chore: improve debug statements
2017-05-26 10:28:27 +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
086c90d938
doc: fix typos
2017-05-06 01:49:46 +02:00
28afc33c9a
Remove snack_case and always use camelCase
2017-05-06 01:49:05 +02:00
77281cadad
fix: always copy subscribe unsubscribe arguments
2017-05-05 18:41:04 +02:00
25aa8f6710
Fix monitoring mode not always activating soon enough
2016-05-29 01:38:34 +02:00
8b6f2dd35e
Refactor command parsing
2016-05-29 01:38:34 +02:00
ffaaf0f6d5
Add name property to all Redis functions
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
eae16938cd
Add monitor transaction warning / error
2016-04-29 04:10:23 +02:00
f7c4d131be
Remove jshint comments and update istanbul comments
2016-04-29 04:10:23 +02:00
97ae78877b
Implement CLIENT REPLY ON|OFF|SKIP
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
a9d565b8f4
Fix auth regression
...
Fixes #1028
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
861749f4d6
Fix send_command working with hooked internal functions
2016-03-31 19:23:46 +02:00
48481552c9
Calling quit should always close the connection
2016-03-27 05:18:38 +02:00
344291a98a
Fix monitoring mode
2016-03-25 16:09:20 +01:00
359820c766
Support redis 2.4 info command
...
Fixes #1008
2016-03-16 23:50:29 +01:00
eb9500bb9f
Fix redis 2.4 auth support
2016-03-16 23:15:21 +01:00
24e7486a5a
Fix forgotten optional info section
...
Fixes #1003
2016-03-15 09:59:09 +01:00
614e35ab57
Move multi; commands; createClient code into separate files
2016-03-07 01:57:56 +01:00