1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-06-12 23:01:59 +03:00
Commit Graph

2858 Commits

Author SHA1 Message Date
42161f3a23 fix tests 2019-01-30 18:43:16 +01:00
d20bdbbc1a Disable room settings tests 2019-01-28 14:11:10 -07:00
20b7debcaf Remove support for team servers 2019-01-25 16:13:30 -06:00
9470424bcb Enable linting for all auth related files 2019-01-23 18:32:36 -06:00
29be3ee4b5 Rename login directory to auth 2019-01-21 17:45:55 -06:00
0ebde5266e Appease the linter again 2019-01-03 22:40:44 -07:00
f59625f7bd Fix last active test
Time is backwards from all the other tests: larger is older, so we want LessThanOrEqual. Also ensure all the power levels are the same to prevent the sort algorithm from running a PL ordering.
2019-01-03 22:24:24 -07:00
34d5870a03 Appease the linter 2019-01-03 22:07:09 -07:00
77dfba8a22 Add unit tests for MemberList
Particularly the ordering of the tiles.
2019-01-03 21:55:52 -07:00
8017f0a4a1 Merge remote-tracking branch 'origin/experimental' into travis/develop-for-real 2019-01-03 16:00:23 -07:00
f928be6f59 Revert "Merge pull request #2395 from matrix-org/dbkr/merge_develop_experimental"
This reverts commit ad47144355.
2019-01-03 15:37:03 -07:00
7d161de35b Partial merge of develop to experimental
Does not include #2336 as the file has been moved out from underneath it:
will do this separately
2019-01-03 15:02:58 +00:00
0bb35944f9 replace expect.createSpy() with jest.fn()
Signed-off-by: Stephen Solka <stephen0q@gmail.com>
2019-01-02 16:59:48 -06:00
c3185a4cdb breaking changes from expect upgrade
Signed-off-by: Stephen Solka <stephen0q@gmail.com>
2019-01-02 16:59:48 -06:00
f08a54ed1e Don't consider ACL'd servers as permalink candidates
and fix the bug where it was picking 4 servers instead of 3. This was due to `<=` instead of `<` in the `MAX_SERVER_CANDIDATES` loop. Added tests for all the things.

Fixes https://github.com/vector-im/riot-web/issues/7752
Fixes https://github.com/vector-im/riot-web/issues/7682
2018-12-05 18:00:09 -07:00
22ff76e6b7 Add error to UI when group member list fails to load
Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-04 18:46:15 -06:00
5fc25fd6ba Only mark group as failed to load for summary
Currently, any error in the `GroupStore`s several requests can cause the whole
`GroupView` component to hide and be mark the group as failed to load.

Since it is known that group members may fail to load in some cases, let's only
show failed to load for the whole group when the summary fails.

This also strengthens the `GroupView` test by ensuring we wait for multiple
updates for checking results.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-04 18:32:16 -06:00
734a7ef6c8 fix tests 2018-11-13 09:34:54 +01:00
0cdc44a205 Appease the linter 2018-10-26 20:49:01 -06:00
3bc5e2beb3 Fix and test matrix.to alias permalinks
Fixes https://github.com/vector-im/riot-web/issues/7614
Regression of https://github.com/matrix-org/matrix-react-sdk/pull/2250
2018-10-26 19:47:53 -06:00
c389540522 Appease the linter 2018-10-26 10:22:18 -06:00
43980addd0 Add hostname sanity tests
In the event someone changes how the hostname parsing works.
2018-10-25 15:22:52 -06:00
b9bfbdc22d Fix the tests so they actually test something 2018-10-25 15:22:28 -06:00
e8cb636631 Pick servers for ?via on matrix.to links based on some heuristics 2018-10-24 18:01:08 -06:00
0912b8dcc2 Merge pull request #2218 from matrix-org/bwindels/phasedrollout
Phased rollout of lazy loading
2018-10-15 17:27:28 +02:00
63f1c41d18 fix test lint 2018-10-15 17:15:22 +02:00
f717c5697b tests for phased rollout function 2018-10-15 16:41:04 +02:00
a58de9e189 Also test the two options while we're at it 2018-10-11 21:04:50 +01:00
53e13be047 Add some unit tests for QueryMatcher
Which 1) has a fairly complex interface with lots of subtleties and
2) is really trivial to unit test.
2018-10-11 20:50:48 +01:00
e951a22d31 fix tests 2018-09-18 17:09:14 +02:00
a07799879c Fix tests 2018-09-04 18:50:18 +01:00
bd0a9cf3a0 Merge remote-tracking branch 'origin/develop' into dbkr/room_upgrade 2018-08-29 15:51:07 +01:00
cb84feefa9 Add stub for getVisibleRooms()
Fixes the tests
2018-08-23 12:14:52 +01:00
f679acea08 Revert "Revert "Fix showing peek preview while LL members are loading"" 2018-08-22 16:35:58 +01:00
bf7633250a Revert "Fix showing peek preview while LL members are loading" 2018-08-22 16:16:17 +01:00
db7dd8e9e8 fix tests 2018-08-22 16:02:12 +02:00
353b6e9e6d Add stub 2018-08-17 15:15:53 +01:00
cead4096d8 Merge pull request #2118 from matrix-org/bwindels/feature_lazyloading
Lazy loading of room members
2018-08-16 18:14:55 +02:00
1675d3c4ba room stub not having getVersion method broke tests 2018-08-15 13:22:26 +02:00
90fc15ff3e adjust room constructor 2018-08-07 15:33:37 +02:00
b9bbb7ee16 pass in userId with room in test 2018-08-02 11:40:56 +02:00
34cb89e86a fix tests 2018-07-25 16:10:49 +02:00
021409aafe apply review feedback from @lukebarnard1
(cherry picked from commit 37d4bce)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-07-09 19:54:57 +01:00
efdc5430d7 merge develop 2018-07-09 17:50:07 +01:00
15bd2e157f Test everything 2018-07-05 14:55:29 +01:00
d53c836fd7 Implement aggregation by error type for tracked decryption failures 2018-07-05 13:54:44 +01:00
01dd387970 Track UISIs in bulk
Piwik supports sending an event value, which we can use to indicate
cardinality of UISIs to be tracked instead of tracking them individually.

This means we can track them at a lower frequency of (fairly arbitrary)
60s.
2018-06-28 15:07:27 +01:00
488cc416cf For now, shelve persistance across sessions 2018-06-15 17:08:11 +01:00
c5252be4a8 Test everything, not just DFT 2018-06-15 16:51:11 +01:00
f08274585e Persist tracked event ID hash using localStorage 2018-06-15 15:30:54 +01:00