- 27 Jun, 2017 1 commit
-
-
David Baker authored
and remove callback param as it's deprecated
-
- 23 Jun, 2017 1 commit
-
-
David Baker authored
-
- 22 Jun, 2017 12 commits
-
-
Richard van der Hoff authored
Fall back to MemoryCryptoStore if indexeddb fails
-
Richard van der Hoff authored
If we get an error when connecting to th indexeddb, fall back to a MemoryCryptoStore. This takes a bit of reorganising, because we don't get the error until we try to connect to the database.
-
David Baker authored
Fix load failure in firefox when indexedDB is disabled
-
Richard van der Hoff authored
browser-index isn't transpiled, so can't use var there.
-
Richard van der Hoff authored
-
David Baker authored
-
David Baker authored
-
David Baker authored
-
David Baker authored
Fix failure on Tor browser
-
David Baker authored
Fix issues with firefox private browsing
-
Richard van der Hoff authored
If we don't have indexeddb at all, don't try to make an indexeddb crypto store.
-
Richard van der Hoff authored
... so that we can clear the database during login from a temporary client.
-
- 21 Jun, 2017 5 commits
-
-
Richard van der Hoff authored
If we get an error when vaping the indexeddb, carry on regardless
-
Richard van der Hoff authored
'blocked' is *not* a fatal situation when opening or deleting databases.
-
David Baker authored
Fix a race in a test
-
Richard van der Hoff authored
startClient was written in such a way that it would leave a flush() running, which could sometimes interfere with the rest of the test (or even subsequent tests), causing sporadic test failures. Make sure that the flush completes before we move on. Fix a test which turned out to be relying on that behaviour (there was a flush which ended up being a no-op, thus effectively inserting a pause allowing the sync promise to complete. Fix a beforeEach handler which was relying on startClient resolving to undefined.
-
Richard van der Hoff authored
listening to the sync STOPPED event doesn't cut it, because the app might (and does, in the case of react-sdk) do a removeAllListeners.
-
- 20 Jun, 2017 16 commits
-
-
Richard van der Hoff authored
'blocked' is *not* a fatal situation when opening or deleting databases.
-
David Baker authored
Avoid throwing an unhandled error when the indexeddb is deleted
-
Richard van der Hoff authored
Hopefully this will fix the vector-web test failures (the OutgoingRoomRequestManager throws an exception because the indexeddb is being deleted just as it's getting started).
-
Richard van der Hoff authored
fix jsdoc
-
Richard van der Hoff authored
-
Richard van der Hoff authored
... so that I don't get surprised by it not working when it lands on develop
-
Richard van der Hoff authored
Handle m.forwarded_room_key events
-
Richard van der Hoff authored
when we receive a m.forwarded_room_key, add it to the crypto store, but remember who forwarded it to us, so we can decide whether to trust them separately.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
not much here yet, but it's a start at least.
-
Richard van der Hoff authored
I'm going to introduce some separate unit tests, so let's give this a different filename to reduce confusion.
-
Richard van der Hoff authored
Rearrange the way _getInboundGroupSession and _saveInboundGroupSession work, so that we can add more things to the storage without growing the parameter list forever.
-
Richard van der Hoff authored
These terms were somewhat confusing (and, in the case of megolm, misleading), so replace them with explicit senderCurve25519Key and claimedEd25519Key fields.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
The crypto tests haven't been running since things got rearranged to expect Olm in a global (41864d46). Reinstate them.
-
- 19 Jun, 2017 5 commits
-
-
Richard van der Hoff authored
-
David Baker authored
Improve error reporting from indexeddbstore.clearDatabase
-
Richard van der Hoff authored
- to help understand when it gets stuck in tests
-
David Baker authored
-
David Baker authored
-