J. Ryan Stinnett
8513f5c413
Add an IndexedDB existence check to the crypto store
...
This will be useful for future storage diagnostics as part of
https://github.com/vector-im/riot-web/issues/9271 .
2019-03-25 16:11:59 +00:00
J. Ryan Stinnett
eadec35093
Add an IndexedDB existence check to the main store
...
This will be useful for future storage diagnostics as part of
https://github.com/vector-im/riot-web/issues/9271 .
2019-03-25 16:11:51 +00:00
J. Ryan Stinnett
bb1cd2bbce
Merge pull request #867 from jryans/real-name
...
Clarify the meaning of 'real name' for contribution
2019-03-22 17:26:21 +00:00
J. Ryan Stinnett
3f90ac5712
Merge pull request #865 from jryans/storage-edge-cases
...
Remove `sessionStore` to `cryptoStore` migration path
2019-03-22 17:25:51 +00:00
J. Ryan Stinnett
8d249a843c
Reformat contribution doc to 80 chars
2019-03-22 11:53:43 +00:00
J. Ryan Stinnett
858b41d835
Clarify the meaning of 'real name' for contribution
...
This applies the clarification already adopted by Synapse:
ec766b2530
2019-03-22 11:51:07 +00:00
Travis Ralston
61aea05af0
Merge pull request #866 from matrix-org/travis/verbose-capabilities
...
Add debugging for spurious room version warnings
2019-03-20 17:10:23 -06:00
Travis Ralston
e7c764d5f5
Add debugging for spurious room version warnings
...
See https://github.com/vector-im/riot-web/issues/9225
2019-03-20 17:05:09 -06:00
J. Ryan Stinnett
09a9afe4e7
Clarify the current state of each store
...
This moves docs about the 3 stores used next to each other and clarifies their
purpose for future readers.
2019-03-20 16:56:47 +00:00
J. Ryan Stinnett
5a26503da7
Remove sessionStore to cryptoStore migration path
...
The code to migrate from the `sessionStore` to `cryptoStore` originally appeared
in https://github.com/matrix-org/matrix-js-sdk/pull/584 (2017-12-06). At this
point, it seems safe to assume most sessions that need migrating have already
done so. Removing this code simplifies store handling and removes the
`sessionStore` from most places in JS SDK.
2019-03-20 16:56:47 +00:00
J. Ryan Stinnett
5faf5ea1f8
Merge pull request #864 from jryans/storage-notes
...
Add investigation notes for browser storage
2019-03-20 16:35:13 +00:00
J. Ryan Stinnett
0754c29c22
Add investigation notes for browser storage
...
This collects my notes from investigating the state of browser storage as part
of https://github.com/vector-im/riot-web/issues/9109 .
2019-03-20 16:33:47 +00:00
Hubert Chathi
d5c6dcf111
Merge pull request #862 from uhoreg/check_resolver
...
make sure resolve object is defined before calling it
2019-03-20 10:32:10 -04:00
J. Ryan Stinnett
6a57ddd33c
Merge pull request #861 from matrix-org/jryans/storage-edge-cases
...
Rename `MatrixInMemoryStore` to `MemoryStore`
2019-03-20 11:05:55 +00:00
Hubert Chathi
bd711cdc1f
make sure resolve object is defined before calling it
2019-03-19 23:21:49 -04:00
J. Ryan Stinnett
e669e493c9
Add deprecation notice to MatrixInMemoryStore
2019-03-19 15:04:05 +00:00
J. Ryan Stinnett
48f290196c
Rename MatrixInMemoryStore to MemoryStore
...
None of the other store classes use the `Matrix` prefix, and I find the mismatch
confusing (it leads me to think it might have a different purpose than the
others).
This change removes the prefix from the store for consistency. The old name is
left as an export for existing SDK consumers.
2019-03-19 14:24:47 +00:00
David Baker
f8985dbb39
Merge branch 'master' into develop
2019-03-18 13:50:07 +00:00
David Baker
ef594d52e4
v1.0.2
v1.0.2
2019-03-18 13:47:54 +00:00
David Baker
23bbb2f8c6
Prepare changelog for v1.0.2
2019-03-18 13:47:53 +00:00
Travis Ralston
73c7733ebc
Merge pull request #859 from matrix-org/travis/buildkite
...
Use Buildkite for CI
2019-03-15 11:43:50 -06:00
Travis Ralston
87f7f9443e
Delete Travis (CI)
...
We now use BuildKite
2019-03-13 17:27:17 -06:00
Travis Ralston
af6bbbc59b
Add a basic BuildKite :pipeline:
2019-03-13 17:23:30 -06:00
J. Ryan Stinnett
5b35a364a9
Ignore package-lock.json in case of confused npm users
2019-03-13 15:49:18 +00:00
Hubert Chathi
d56ebadbc4
Merge pull request #857 from uhoreg/fix_ensureolm_race
...
only create one session at a time per device
2019-03-13 11:21:35 -04:00
J. Ryan Stinnett
04accdeddc
Ignore *.log files, such as from npm or Yarn
2019-03-13 14:40:42 +00:00
David Baker
70575f9e33
v1.0.2-rc.1
v1.0.2-rc.1
2019-03-13 14:24:57 +00:00
David Baker
8e16586d84
Merge branch 'develop' into release-v1.0.2
2019-03-13 14:24:26 +00:00
David Baker
6920dfb800
Yarn needs --new-version to create a new version
2019-03-13 14:23:51 +00:00
David Baker
02d93770aa
Prepare changelog for v1.0.2-rc.1
2019-03-13 14:20:18 +00:00
David Baker
cd124231c5
Merge pull request #858 from jryans/yarn-ci
...
Use modern Yarn version on Travis CI
2019-03-13 13:22:39 +00:00
J. Ryan Stinnett
cd75848882
Use modern Yarn version on Travis CI
...
Travis CI uses a quite old version of Yarn by default. This adds Yarn's
recommended incantation for using the latest stable version.
2019-03-13 12:28:07 +00:00
J. Ryan Stinnett
1bae15ede9
Recommend using the latest Node LTS version
2019-03-13 10:50:58 +00:00
Hubert Chathi
8c2001adbf
don't reject on error
...
because we ignore it anyways, and it makes an unrelated unit test fail
2019-03-12 17:24:34 -04:00
Hubert Chathi
79ca235e7c
only create one session at a time per device
2019-03-12 16:04:26 -04:00
J. Ryan Stinnett
4570fcaa8a
Ignore .npmrc
2019-03-12 12:02:04 +00:00
J. Ryan Stinnett
90670cf1be
Merge pull request #856 from jryans/yarn
...
Switch to `yarn` for dependency management
2019-03-11 13:27:04 +00:00
J. Ryan Stinnett
cc86f427d2
Convert Olm to a dev dependency
...
This gives more natural behavior of downloading Olm by default when working on
this module, so that all tests including crypto are run.
2019-03-08 15:58:08 +00:00
J. Ryan Stinnett
2144791d52
Update scripts and docs to use yarn where appropriate
...
Most `npm` operations are replaced with `yarn`, which generally has better
behavior. However, steps like publish that write to the NPM registry are left to
`npm`, which currently handles these tasks best.
2019-03-08 15:45:57 +00:00
J. Ryan Stinnett
33aabf44e7
Convert from npm to yarn lock file
...
The npm lock file was imported into yarn. A yarn install pass was then run to
double-check the lock file for sanity.
2019-03-08 10:47:58 +00:00
Hubert Chathi
fc1ea27380
Merge pull request #855 from uhoreg/fix_key_requests
...
More key request fixes
2019-03-06 14:46:43 -05:00
Hubert Chathi
81946294d8
use lolex to fake the timer
2019-03-06 14:42:52 -05:00
Matthew Hodgson
77270fa78c
Merge pull request #851 from matrix-org/travis/e2e-notifs
...
Calculate encrypted notification counts
2019-03-06 17:11:22 +00:00
Hubert Chathi
9e29289dcc
use a different transaction ID when re-sending a key request
2019-03-06 12:02:48 -05:00
Travis Ralston
6198943976
Add a mention that we should be handling gaps in /sync
2019-03-06 09:56:36 -07:00
David Baker
8beb836ccd
Merge pull request #854 from matrix-org/dbkr/deps_190206
...
Update dependencies
2019-03-06 14:08:26 +00:00
David Baker
b7c0e39c1a
Update dependencies
...
To get non-vulnerable versions
2019-03-06 13:50:35 +00:00
David Baker
777acae2e5
Merge branch 'master' into develop
2019-03-06 11:17:25 +00:00
David Baker
e77389c1ce
v1.0.1
v1.0.1
2019-03-06 11:10:42 +00:00
David Baker
eb24e2e1f1
Prepare changelog for v1.0.1
2019-03-06 11:10:41 +00:00