Commit Graph

614 Commits

Author SHA1 Message Date
J. Ryan Stinnett
dd8abb0206
Merge pull request #5912 from matrix-org/jryans/convert-flow-to-ts
Convert some Flow-typed files to TypeScript
2021-04-27 13:44:47 +01:00
Michael Telatynski
f18a24025a
Merge branch 'develop' into t3chguy/fix/17022 2021-04-27 11:16:02 +01:00
J. Ryan Stinnett
cddcedcce2 Merge remote-tracking branch 'origin/develop' into jryans/convert-flow-to-ts 2021-04-26 15:57:28 +01:00
J. Ryan Stinnett
ba4e58513d Fix ScalarAuthClient test 2021-04-26 15:41:19 +01:00
Michael Telatynski
203425c8de Test and fix space store wrongly treating room invites as space invites 2021-04-26 08:37:45 +01:00
Michael Telatynski
47c12a7d23 Add tests for rooms moving around the SpaceStore 2021-04-25 09:24:00 +01:00
Michael Telatynski
98851f8e64 Text space switching behaviour and fix invalid space edge case 2021-04-24 11:32:55 +01:00
Michael Telatynski
f85d3643ee Test and fix subspace invite receipt behaviour 2021-04-24 11:31:52 +01:00
Travis Ralston
82119ad595 Merge branch 'develop' into travis/error-states 2021-04-23 15:53:37 -06:00
Michael Telatynski
dd2a1d063a Write tests for spaces context switching behavious 2021-04-23 16:14:55 +01:00
Michael Telatynski
4446022327 Add automatic space switching tests 2021-04-23 14:45:22 +01:00
Michael Telatynski
c35678c64a Add yet more tests 2021-04-23 13:40:16 +01:00
Michael Telatynski
a3ca48b4da Write more space store tests 2021-04-23 12:19:38 +01:00
Michael Telatynski
a12cefee8e Tweak some tests 2021-04-23 12:19:08 +01:00
Michael Telatynski
a38419defb extend space tests some more 2021-04-23 11:20:26 +01:00
Michael Telatynski
1075756929 add more tests 2021-04-23 09:55:30 +01:00
Travis Ralston
2c459c4828 Move utility tests to the right place 2021-04-22 20:37:19 -06:00
Travis Ralston
374f51452e Add set utility tests 2021-04-22 20:37:19 -06:00
Travis Ralston
27af3291ed Add number utility tests 2021-04-22 20:37:19 -06:00
Travis Ralston
6124a8319b Add iterable utility tests
Unsurprisingly, it's a copy/paste of the array tests
2021-04-22 20:37:19 -06:00
Travis Ralston
0d4218ee35 Add enum utility tests 2021-04-22 20:37:19 -06:00
Travis Ralston
21cae1502a Add map utility tests 2021-04-22 20:37:19 -06:00
Travis Ralston
772ff4e257 Add object utility tests 2021-04-22 20:37:19 -06:00
Travis Ralston
a3e846685d Add array utility tests (and support upsampling in resample)
See contained diff. 

The upsampling is important for Voice Messages, but is being done here because it's easier to add all the tests at once.

This also introduces a new Object utility - that will be tested on its own commit.
2021-04-22 20:08:45 -06:00
Michael Telatynski
fba7465ad4 Initial SpaceStore tests work 2021-04-22 14:45:13 +01:00
Travis Ralston
a53696ff5e Fix tests 2021-04-21 16:53:29 -06:00
Germain
68fb9a78c4
Merge pull request #5874 from matrix-org/gsouquet-room-events 2021-04-21 09:09:01 +01:00
Germain Souquet
de5ca92e4e add e2e session.delay explainer 2021-04-19 18:01:19 +01:00
Germain Souquet
db646d5987 Fix end to end tests for DM creation 2021-04-19 15:07:11 +01:00
Travis Ralston
22233a8745 Add a concept of a singleflight to avoid repeated calls to stop/ending
This makes it easier to keep track of which pieces the client will have already dispatched or been executed, reducing the amount of class members needed.

Critically, this makes it so the 'stop' button (which is currently a send button) actually works even after the automatic stop has happened.

UI is still pending for stopping recording early. This is not covered by this change.
2021-04-14 21:59:50 -06:00
Travis Ralston
b0af163002
Merge pull request #5825 from matrix-org/travis/spaces/room-list
Restabilize room list ordering with prefiltering on spaces/communities
2021-04-06 05:47:21 -06:00
Travis Ralston
a0049f956d Patch over legacy Groups test 2021-03-31 23:51:17 -06:00
Germain Souquet
c81847689a Remove query matcher shouldMatchPrefix support 2021-03-31 18:21:02 +01:00
J. Ryan Stinnett
33e8edb3d5
Merge pull request #5720 from czeidler/key-bindings
Decouple key bindings from event handling
2021-03-26 15:14:38 +00:00
J. Ryan Stinnett
ce19d07850
Merge pull request #5805 from matrix-org/travis/ts/access-ss-dialog
Convert AccessSecretStorageDialog to TypeScript
2021-03-26 12:37:24 +00:00
J. Ryan Stinnett
cf4ed1bcdf Fix tests 2021-03-26 11:56:58 +00:00
Travis Ralston
5d9b36afc1 Fix tests 2021-03-25 23:47:41 -06:00
Clemens Zeidler
2a21d45ac0 Merge branch 'develop' into key-bindings 2021-03-12 16:44:12 +13:00
Travis Ralston
6ab235f10c Fix tests for new call path
We have to mock `fetch` for the caching of the download icon, and then mock out all the function calls used by components to feed a Media object.
2021-03-11 09:42:55 -07:00
Travis Ralston
533c9fed64 Appease the linter 2021-03-10 12:32:18 -07:00
Travis Ralston
375ffafda6 Fix tests failing to load skin
We should find a better way to do this, but this works well enough.
2021-03-09 10:13:16 -07:00
Travis Ralston
591ccabab9 Remove a bunch of useless 'use strict' definitions 2021-03-08 20:26:08 -07:00
J. Ryan Stinnett
b12cf7912a
Merge pull request #5624 from SimonBrandner/show-room-name
Display room name in pills instead of address
2021-03-08 16:27:43 +00:00
Clemens Zeidler
06181221a1 Add copyright headers 2021-03-07 19:05:36 +13:00
Clemens Zeidler
4a6f931782 Merge branch 'develop' into key-bindings 2021-03-04 21:10:35 +13:00
Travis Ralston
0dd4d45c49 Disable velocity mock option
This appears to have been removed in the beta
2021-02-26 22:36:42 -07:00
Michael Telatynski
f45510ed25 Fix test assuming too much about the underlying calls 2021-02-19 13:08:30 +00:00
Michael Telatynski
3c52446205 Remove redundant PhasedRollOut 2021-02-19 00:01:07 +00:00
Clemens Zeidler
4a138f3b84 Only support a single key in the KeyCombo
Keep it simple...
2021-02-15 19:21:08 +13:00
David Baker
196507a730 VoIP virtual rooms, mk II
Does a thirdparty protocol lookup to the homeserver to get the
corresponding native/virtual user for a matrix ID. Stores the
mappings in room account data. Involves some slightly nasty workarounds
for that fact that room account data has no local echo.
2021-02-12 20:55:54 +00:00