Commit Graph

16287 Commits (8ced6e6117b734a154db7f64b1a63c4f07bf56b1)

Author SHA1 Message Date
Travis Ralston 65987e6b72
Move all polls processing to events-sdk & prep for stable polls (#7517)
* Move all polls processing to events-sdk

This makes polls support the full range of extensible events (both parsing and generation).

* Appease the linter

* Fix & update tests

* Update events-sdk for polls bugfix

* Update events-sdk for typechecking

* Add missing type cast

* Update per review
2022-01-17 10:06:30 -07:00
David Teller 6b870ba1a9
MSC3531 - Implementing message hiding pending moderation (#7518)
Signed-off-by: David Teller <davidt@element.io>
2022-01-17 16:04:37 +01:00
Kerry 42adedc468
Wait for initial profile load before displaying widget (#7556)
* wait for initial profile load before displaying jitsi

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update comment

Signed-off-by: Kerry Archibald <kerrya@element.io>

* amke fn return boolean

Signed-off-by: Kerry Archibald <kerrya@element.io>

* listen for profile update once

Signed-off-by: Kerry Archibald <kerrya@element.io>

* remove unneccessary check

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-17 13:47:07 +00:00
Šimon Brandner 1f298250b9
Make the `Keyboard Shortcuts` dialog into a settings tab (#7198) 2022-01-17 11:53:10 +00:00
Andy Balaam 18c82d57ae
Add setting for enabling location sharing (#7547) 2022-01-14 15:57:39 +00:00
Andy Balaam ae2cb63a0d
Enable/disable location share button when setting is changed (#7545) 2022-01-14 15:04:09 +00:00
Travis Ralston aa4131ed2e
Add a developer mode 'view source' button to crashed event tiles (#7537)
* Add a developer mode 'view source' button to crashed event tiles

* appease the linter
2022-01-14 07:43:13 -07:00
Michael Telatynski 2ef36507fd
Support deserialising HR tags for editing (#7543) 2022-01-14 13:24:51 +00:00
Michael Telatynski f4a6219c88
Replace `kick` terminology with `Remove from chat` (#7469) 2022-01-14 13:08:34 +00:00
Germain 54357c2d63
Fix thread summary sometimes not updating (#7542) 2022-01-14 12:58:37 +00:00
Germain 240cb10415
Refresh ThreadView after React state has been updated (#7539) 2022-01-14 12:49:25 +00:00
Germain de28d82b81
Add onPaste fallback when getInputableElement returns null (#7540) 2022-01-14 12:49:09 +00:00
Andy Balaam 6444aaeeff
Set initial zoom level to 1 to make zooming to location faster (#7541) 2022-01-14 12:21:22 +00:00
Kerry 50de35cd1a
truncate room name on pip header (#7538)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-01-14 10:37:30 +00:00
Michael Telatynski 47c112b12e
Fix alignment of reactions in bubble layout thread view (#7534)
* Fix alignment of reactions in bubble layout thread view

* Remove duplicate download link in thread view panel

* Fix bugs with layout of file pills
2022-01-13 22:46:11 +00:00
Travis Ralston 61a0be7d46
Render events as extensible events (behind labs) (#7462)
* Render events as extensible events (behind labs)

* Include the SDK

* Appease linter

* Update for changed property name

* Fix formatting error

* Fix branch matching for build steps

* Update SDK

* Update scripts/fetchdep.sh

Co-authored-by: Andy Balaam <andyb@element.io>

Co-authored-by: Andy Balaam <andyb@element.io>
2022-01-13 17:03:37 +00:00
Faye Duxovni 3eb5130cda
Add labs flag to automatically rageshake on decryption errors (#7307)
Also sends a to-device message to the sender, prompting them to auto-rageshake too if they have this lab enabled as well.

Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-13 10:55:25 -05:00
Andy Balaam 22c2aa37d7
Show an error dialog if location permission is denied (#7531) 2022-01-13 14:38:04 +00:00
Andy Balaam 25cd1a8a43
Show an error dialog if we fail to send location (#7528) 2022-01-13 13:23:00 +00:00
Timo ef95644e23
Render Jitsi (and other sticky widgets) in PiP container, so it can be dragged and the "jump to room functionality" is provided (#7450)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-13 12:10:41 +01:00
Charlie Calendre c2393cade7
Fix translation for the "Add room" tooltip (#7532) 2022-01-13 10:08:22 +00:00
Timo 78ff685caf
Copy bubble layout changes to timelineCard (#7527) 2022-01-13 10:58:22 +01:00
Michael Telatynski ec6c1b8272
Fix RoomViewStore forgetting some details of a view room call (#7512) 2022-01-12 13:12:28 -07:00
Germain 3a18fd8f71
Add 'from a thread' copy to search tile result (#7525) 2022-01-12 17:16:00 +00:00
Germain 61116377f3
Fix composer localStorage key for draft event in a thread (#7526) 2022-01-12 17:13:47 +00:00
Michael Telatynski 9ca429d15c
Prevent enter to send edit weirdness when no change has been made (#7522) 2022-01-12 14:22:25 +00:00
Andy Balaam f81120f35f
Set the default zoom level for location to 15, matching iOS and Android (#7524) 2022-01-12 14:55:52 +01:00
Andy Balaam 11c8e720b2
Add user avatar to location sharing dialog (#7520) 2022-01-12 13:32:08 +00:00
Michael Telatynski b835588331
Allow using room pills in slash commands (#7513) 2022-01-12 09:40:18 +00:00
Andy Balaam 31247a50ca
Make LocationPicker appearance cleaner (#7516) 2022-01-12 09:19:26 +00:00
Michael Telatynski f5465b37a9
Allow bubble layout in Thread View (#7478) 2022-01-12 09:02:30 +00:00
Eric Eastwood 038a6bc204
Make slash command errors translatable but also work in rageshakes (#7377)
See https://github.com/matrix-org/matrix-react-sdk/pull/7372#discussion_r769556546

We want the error to be translated for the user but not in our rageshake logs.

Also updates some error messages to give more info.
2022-01-11 12:25:28 -06:00
Michael Telatynski 53a72dafa9
Limit max-width for bubble layout to 1200px (#7458) 2022-01-11 17:21:59 +00:00
Michael Telatynski f620cf9d0e
Allow cancelling events whilst they are encrypting (#7483) 2022-01-11 15:07:33 +00:00
Timo 59f57e15fe
Ship maximised widgets and remove feature flag (#7509)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-01-11 14:11:48 +01:00
Germain 8b088da888
Use server capabilities to determine how to build thread list (#7470) 2022-01-11 13:11:08 +00:00
J. Ryan Stinnett 81257933ef
Set header buttons to no phase when right panel is closed (#7506) 2022-01-11 10:32:55 +00:00
Timo f6effc52fd
Fix active Jitsi calls (and other active widgets) not being visible on screen, by showing them in PiP if they are not visible in any other container (#7435)
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2022-01-11 11:25:21 +01:00
Michael Telatynski 8c20bcfe56
Prevent mutations of js-sdk owned objects as it breaks accountData (#7504) 2022-01-10 17:09:35 +00:00
J. Ryan Stinnett 6199c337ea
Fix spacing errors (#7484) 2022-01-10 12:57:20 +00:00
Michael Telatynski 8f60d8d2c7
Consider continuations when resolving whether a tile is last in section (#7461) 2022-01-10 12:53:37 +00:00
Michael Telatynski fbfd2c3d20
Fix read receipts and sent indicators for bubble layout (#7460) 2022-01-10 12:53:23 +00:00
Michael Telatynski 8b88b48edc
Remove bubble from around location events (#7459) 2022-01-10 12:53:11 +00:00
Aaron Raimist dbd7949e79
Allow clicking on avatar in room intro (#7496) 2022-01-10 12:16:14 +00:00
Aaron Raimist c03cb67aef
Disable "Publish this room" option in invite only rooms (#7441) 2022-01-10 11:46:30 +00:00
Michael Telatynski fdd0a2ada3
Add permission dropdown for sending reactions (#7492) 2022-01-10 11:35:41 +00:00
Michael Telatynski 474cbf4c09
Fix jump to bottom button working when on a permalink (#7494) 2022-01-10 11:34:27 +00:00
Andy Balaam 9562deb28c
Remove the Description from the location picker (#7485) 2022-01-10 10:07:51 +00:00
Šimon Brandner fe16f224ea
Fix look of the untrusted device dialog (#7487) 2022-01-10 10:02:03 +00:00
Andy Balaam 9cb8ce7c20
Add zoom buttons to the location view (#7482) 2022-01-10 09:30:24 +00:00