David Baker
|
88b39f4b67
|
Stop devicelist when client is stopped
To avoid the devicelist trying to save after the client has been
stopped
Hopefully will fix random test failures on node 11.
|
2018-10-25 19:00:03 +01:00 |
|
David Baker
|
8b649cec8d
|
All the copyrights
|
2018-01-18 11:52:27 +00:00 |
|
David Baker
|
27d28b8247
|
More test fixing
Allow localstorage store to take a localstorage impl, make TestClient
pass a cryptostore & fix True/true typo
|
2018-01-15 16:27:28 +00:00 |
|
David Baker
|
110f43a246
|
Make DeviceList test pass
Includes making saveIfDirty() return a promise in case you care
about when changes got saved (which the test does).
|
2018-01-15 15:21:39 +00:00 |
|
Richard van der Hoff
|
cfffbc4a09
|
replace q method calls with bluebird ones
```
find src spec -name '*.js' |
xargs perl -i -pe 's/q\.(all|defer|reject|delay|try)\(/Promise.$1(/'
```
|
2017-07-12 23:33:55 +01:00 |
|
Richard van der Hoff
|
b96062b6de
|
replace imports of q with bluebird
```
find src spec -name '*.js' |
xargs perl -i -pe 'if (/require\(.q.\)/) { $_ = "import Promise from '\''bluebird'\'';\n"; }'
find src spec -name '*.js' |
xargs perl -i -pe 'if (/import q/) { $_ = "import Promise from '\''bluebird'\'';\n"; }'
```
|
2017-07-12 23:32:28 +01:00 |
|
Richard van der Hoff
|
655be2fa2e
|
Fix race in device list updates
Don't consider device lists up-to-date when we have another request for the
relevant user in the queue.
Fixes https://github.com/vector-im/riot-web/issues/3796.
|
2017-05-05 12:34:00 +01:00 |
|