Commit Graph

428 Commits

Author SHA1 Message Date
barisusakli
6aa8c8aa94 merge 2017-02-25 11:17:56 +03:00
barisusakli
fa08498a9e closes #5480 2017-02-25 11:01:35 +03:00
Peter Jaszkowiak
4bb49a7171 ESlint no-unused-vars 2017-02-18 15:05:36 -07:00
Peter Jaszkowiak
c18808fdeb ESlint no-useless-concat, no-mixed-spaces-and-tabs 2017-02-18 14:42:15 -07:00
Peter Jaszkowiak
09e868ce5f ESlint no-useless-escape, no-else-return 2017-02-18 14:27:26 -07:00
Peter Jaszkowiak
11cb3a9554 ESlint operator-assignment, block-scoped-var 2017-02-18 14:20:58 -07:00
Peter Jaszkowiak
c4bdb72941 ESlint no-unneeded-ternary
and no-extend-native, no-sequences
2017-02-18 12:59:46 -07:00
Peter Jaszkowiak
896c8c7343 ESlint object-curly-spacing 2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
1493afee2a ESlint indent 2017-02-18 02:38:03 -07:00
Peter Jaszkowiak
3b0dd2d1ef ESlint padded-blocks 2017-02-18 02:32:24 -07:00
Peter Jaszkowiak
feb8405f95 ESlint eol-last 2017-02-18 02:30:48 -07:00
Peter Jaszkowiak
a038c66549 ESlint quotes 2017-02-18 01:56:23 -07:00
Peter Jaszkowiak
604358ecc4 ESlint keyword-spacing, no-multi-spaces 2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
2e031f3759 ESlint comma-spacing 2017-02-18 01:31:47 -07:00
Peter Jaszkowiak
277a7fb8b4 ESlint key-spacing, no-trailing-spaces 2017-02-18 01:27:46 -07:00
Peter Jaszkowiak
b1b486f729 ESlint quote-props 2017-02-18 01:19:20 -07:00
Peter Jaszkowiak
3361a72725 ESlint no-plusplus
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
d7526b5e44 ESlint array-bracket-spacing
and object-property-newline
2017-02-18 00:04:34 -07:00
Peter Jaszkowiak
1cf25f57fc ESlint no-space-func 2017-02-17 22:17:10 -07:00
Peter Jaszkowiak
2ba46808a1 ESlint one-var, fix comma-dangle 2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126 ESlint comma-dangle 2017-02-17 19:31:21 -07:00
Dominic Lennon
3f116e7636 Fixing null ttl issue for MongoSession 2017-01-16 14:58:27 +00:00
Dominic Lennon
b1f0f8fa8b Adding ttl value to the MongoStore options 2017-01-16 14:52:25 +00:00
Dominic Lennon
a06e39528f Code review change 2017-01-16 08:48:53 +00:00
Dominic Lennon
ed19454eca Adding more specific timing for session timings 2017-01-11 10:51:41 +00:00
Dominic Lennon
d248ef95cd Fix for issue #5334. SessionStore now uses the correct value 2017-01-10 11:48:27 +00:00
barisusakli
e1253f693a fix redis union 2016-12-23 14:26:05 +03:00
barisusakli
b71ab64cf4 organize dbal sorted code 2016-12-23 14:12:07 +03:00
Barış Soner Uşaklı
1f52048866 Merge pull request #5252 from Fusselwurm/patch-2
ZSET scores are float: parseInt => parseFloat
2016-12-13 11:58:24 +02:00
Moritz Schmidt
c8393d6f87 mongo: set scores as float instead of int 2016-12-11 15:58:57 +01:00
Barış Soner Uşaklı
e0501656b6 parallel startup 2016-12-09 00:18:25 +03:00
Barış Soner Uşaklı
bca6151892 fix lint 2016-12-09 00:00:40 +03:00
Barış Soner Uşaklı
8c8e2ae190 closes #5271 2016-12-09 00:00:39 +03:00
Moritz Schmidt
e8e33a8a23 ZSET scores are float: parseInt => parseFloat
In Redis, scores of sorted sets can be floats – so we should use `parseFloat` instead of `parseInt` when converting from string to number.
Should not lead to #4939 again, as `new Date()` works regardless of whether it's being passed a float or integer.
2016-12-04 17:41:27 +01:00
barisusakli
1c3d9f7e94 switch to createIndex 2016-11-24 16:15:04 +03:00
barisusakli
5d6e2ad083 multiple test fixes 2016-11-23 17:15:36 +03:00
barisusakli
c8b5c181ff fix flag on redis
check if number is returned on tests
2016-10-25 19:14:56 +03:00
Barış Soner Uşaklı
c512a02c83 Merge pull request #5124 from yariplus/lexistuff
Add additional lexical dbal operations.
2016-10-18 12:17:02 +03:00
yariplus
af2122bdb9 fix lex tests maybe 2016-10-17 18:08:56 -04:00
barisusakli
4a0f67afdc search tests
new method emptydb
use emptydb instead of flushdb, flushdb  removes indices for mongo which
breaks search tests
initialize meta.config properly in tests
enable nodebb-plugin-dbsearch for tests
2016-10-17 23:34:14 +03:00
yariplus
472dd007d8 fix mongo lex callback 2016-10-17 15:24:35 -04:00
yariplus
be3b35dea3 fix callbacks and regex 2016-10-16 23:07:22 -04:00
yariplus
1bb44e2429 Allow lex min and max to be inclusive or exclusive. 2016-10-16 21:50:13 -04:00
yariplus
437d2744cc addl lex commands for mongo 2016-10-16 20:37:48 -04:00
yariplus
ef20757f3e zremrangebylex, zlexcount 2016-10-16 18:45:54 -04:00
barisusakli
1a63672e66 more test fixes 2016-10-16 21:51:42 +03:00
yariplus
1fc5e5d0d3 getSortedSetRevRangeByLex 2016-10-16 14:48:29 -04:00
barisusakli
e462fadd94 init express/webserver for tests 2016-10-16 06:03:09 +03:00
barisusakli
6d97c4cec8 up mongo deps, create session store after db.authenticate 2016-10-14 22:18:28 +03:00
HeeL
4a3c31b2dc Fix space-before-function-paren linter rule 2016-10-13 11:43:39 +02:00