J. Ryan Stinnett
3d41b48543
Check for null room in VisibilityProvider
...
Hopefully fixes https://github.com/vector-im/element-web/issues/16898
2021-04-23 17:27:20 +01:00
J. Ryan Stinnett
2344ddd164
Merge remote-tracking branch 'origin/develop' into jryans/convert-flow-to-ts
2021-04-23 17:19:52 +01:00
Germain Souquet
f5c2d51f1e
Implement IPC call to Electron to set language
2021-04-23 17:14:40 +01:00
Germain Souquet
8f1ea84eb6
Broadcast language change to ElectroPlatform
2021-04-23 17:11:45 +01:00
J. Ryan Stinnett
d7e6f4b4b5
Add basic types
2021-04-23 17:05:50 +01:00
Germain Souquet
658304cc51
Wrap all strings in _td function for i18n
2021-04-23 16:56:17 +01:00
J. Ryan Stinnett
0e92251f70
Fix simple lint errors
2021-04-23 16:28:55 +01:00
Michael Telatynski
dd2a1d063a
Write tests for spaces context switching behavious
2021-04-23 16:14:55 +01:00
J. Ryan Stinnett
9c3bd12830
Copy indent rule to TS as well
2021-04-23 16:07:15 +01:00
J. Ryan Stinnett
31a28b1a9e
Update extensions for some files with types
...
This migrates one bucket of files using some amount of Flow typing to mark them
as TypeScript instead. The remaining type errors are fixed in subsequent
commits.
2021-04-23 16:05:30 +01:00
Robin Townsend
002c24ebeb
Merge branch 'develop' into spaces-visual-fixes
2021-04-23 10:43:40 -04:00
Germain Souquet
b7dd4e53a3
Ensure new passphrase is stored in keytar
2021-04-23 15:35:09 +01:00
Robin Townsend
3d7842d696
Remove old FormButton CSS
...
Signed-off-by: Robin Townsend <robin@robin.town >
2021-04-23 10:25:04 -04:00
Robin Townsend
0f84b3dff3
Align checkboxes with names in add rooms to space dialog
...
Signed-off-by: Robin Townsend <robin@robin.town >
2021-04-23 10:25:04 -04:00
Robin Townsend
024cf7f66c
Cut off long names in add rooms to space dialog
...
Signed-off-by: Robin Townsend <robin@robin.town >
2021-04-23 10:24:50 -04:00
Germain Souquet
1fa6671a17
Remove change passphrase logic and rely on keytar
2021-04-23 15:17:50 +01:00
Michael Telatynski
f5ab75cfdd
Fix automatic space switching behaviour to prioritise canonical parents
2021-04-23 14:45:34 +01:00
Michael Telatynski
4446022327
Add automatic space switching tests
2021-04-23 14:45:22 +01:00
David Baker
dc3d05bc88
Test for asserted identity
...
This is out first CallHandler test(!) Switches react-sdk to use
createCall on the client object so we can stub this out in the test.
Add a bunch more stubs to the test client.
There's more stuff in this test that has scope to be used more
widely, like waiting for a certain dispatch and mocking out rooms
with particular sets of users in them: we could consider moving these
out to test utils if we wanted.
2021-04-23 14:39:39 +01:00
Germain
65d55bd0d9
Merge pull request #5908 from matrix-org/gsouquet-messagepreview-nodom
...
Remove reliance on DOM API to generated message preview
2021-04-23 14:37:19 +01:00
Šimon Brandner
2d17ba445a
Increase drop shadow alpha to 0.45
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-23 15:33:10 +02:00
Michael Telatynski
320ff7b870
Fix invites relating to a space not showing in the space
2021-04-23 13:41:42 +01:00
Šimon Brandner
ec908bc8be
Merge branch 'develop' into fix-pip-color
2021-04-23 14:40:58 +02:00
Michael Telatynski
c35678c64a
Add yet more tests
2021-04-23 13:40:16 +01:00
Šimon Brandner
7b215cd275
Use suggested colors
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2021-04-23 14:14:51 +02:00
J. Ryan Stinnett
41f4293034
Merge pull request #5911 from SimonBrandner/normalize-wheel
...
[Release] Add a WheelEvent normalization function
2021-04-23 13:14:46 +01:00
Šimon Brandner
d757b7d788
Merge branch 'develop' into fix-pip-color
2021-04-23 14:10:29 +02:00
J. Ryan Stinnett
c09d4f4a78
Merge pull request #5904 from SimonBrandner/normalize-wheel
...
Add a WheelEvent normalization function
2021-04-23 12:59:37 +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
86a30a2ad5
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17022
2021-04-23 10:05:45 +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
Travis Ralston
947c913d1c
Merge pull request #17013 from vector-im/travis/voice/event_type
...
Register RecorderWorklet from react-sdk
2021-04-22 14:42:04 -06:00
Travis Ralston
06726d38fe
Merge pull request #5888 from matrix-org/travis/voice/event_type
...
Expand upon voice message event & include overall waveform
2021-04-22 14:41:59 -06:00
Travis Ralston
69b4296fa7
Merge branch 'develop' into travis/voice/event_type
2021-04-22 14:37:23 -06:00
Germain
8692d6fa89
Merge pull request #17039 from vector-im/gsouquet-preload-fonts
2021-04-22 17:15:06 +01:00
Robin Townsend
cc5a7671a7
Keep invite button separate from space info
...
60828913d2 caused the space info and
invite buttons to have no separation when you are the only person in a
space, since the margin was set on the face pile, which may be absent.
Signed-off-by: Robin Townsend <robin@robin.town >
2021-04-22 11:39:58 -04:00
Germain Souquet
83359afe5d
Remove deprecated velocity-animate dependency from lock file
2021-04-22 16:28:21 +01:00
Germain Souquet
2b6551d06a
Remove reliance on DOM API to generated message preview
2021-04-22 16:17:53 +01:00
J. Ryan Stinnett
3ef5655db3
Merge pull request #5907 from matrix-org/jryans/image-bg-opacity-release
...
[Release] Use floats for image background opacity
2021-04-22 16:00:00 +01:00
Travis Ralston
14809dfda7
Misc cleanup
2021-04-22 08:22:31 -06:00