Commit graph

41993 commits

Author SHA1 Message Date
Travis Ralston
5f51ba1592
Add support for overriding strings in the app (#7886)
* Add support for overriding strings in the app

This is to support a case where certain details of the app need to be slightly different and don't necessarily warrant a complete fork. 

Intended for language-controlled deployments, operators can specify a JSON file with their custom translations that override the in-app/community-supplied ones.

* Fix import grouping

* Add a language handler test

* Appease the linter

* Add comment for why a weird class exists
2022-03-01 11:53:09 -07:00
Travis Ralston
a5ce1c9dcb
Add support for redirecting to external pages after logout (#7905)
* Add support for redirecting to external pages after logout

This is primarily useful for deployments where the account is managed and needs to be logged out in other places too, like an SSO system.

See docs for more information.

* Add e2e test and fix Windows instructions

* Fix performance gathering stats

* use logger
2022-03-01 11:06:17 -07:00
Kerry
ac36234068
update snap (#7932)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-01 17:26:30 +00:00
Kerry
3f1951b5b8
Prep for pin drop location sharing (#7919)
* add labs flag feature_location_share_pin_drop

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

* split LocationButton into two components

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

* rethemendex

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

* copyright

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

* one more (c)

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

* i18n

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

* empty line

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

* use same matrix client import

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-01 18:00:07 +01:00
Šimon Brandner
8f128ef0dc
Expose redaction power level in room settings (#7599) 2022-03-01 16:41:58 +00:00
Šimon Brandner
928b086e05
Fix backspace not working in the invite dialog (#7931) 2022-03-01 16:35:48 +00:00
David Baker
f9140718b0 Merge remote-tracking branch 'weblate/develop' into develop 2022-03-01 15:49:28 +00:00
Michael Telatynski
3818dfc859
Add end-to-end test for the user view (#7926) 2022-03-01 13:05:30 +00:00
RiotRobot
b7787eaf2e Merge branch 'master' into develop 2022-03-01 11:57:55 +00:00
RiotRobot
915d8385d4 v3.41.1 2022-03-01 11:52:59 +00:00
RiotRobot
33b334cdf7 Prepare changelog for v3.41.1 2022-03-01 11:52:58 +00:00
David Baker
e502fafad2
Fix right panel soft crashes due to missing room prop (#7923) (#7927)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2022-03-01 11:49:23 +00:00
Michael Telatynski
7a32a68a0b
Fix right panel soft crashes due to missing room prop (#7923) 2022-03-01 11:15:23 +00:00
Kerry
36adba101c
fix color of location share caret (#7917)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-01 08:53:28 +00:00
Kerry
4bf42babc7
dont re-prepare voice messages (#7897)
* dont reprepare voice messages

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

* remove debug

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

* test Playback

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

* test RecordingPlayback

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

* forgotten copyright

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

* add comments

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-03-01 09:43:32 +01:00
Michael Telatynski
16e67e7716
Wrap all EventTiles with a TileErrorBoundary and guard parsePermalink (#7916)
Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-03-01 08:41:48 +00:00
Michael Telatynski
08c47ac473
Fix changing space sometimes bouncing to the wrong space (#7910) 2022-03-01 08:33:29 +00:00
Michael Telatynski
482d756bd0
Ensure EventListSummary key does not change during backpagination (#7915) 2022-03-01 08:33:07 +00:00
Michael Telatynski
115e17b097
Fix positioning of the thread context menu (#7918) 2022-03-01 08:32:29 +00:00
RiotRobot
b02d5ecb97 Merge branch 'master' into develop 2022-02-28 17:01:22 +00:00
RiotRobot
bf2bb26cda v3.41.0 2022-02-28 16:51:08 +00:00
RiotRobot
e5c7b424c8 Prepare changelog for v3.41.0 2022-02-28 16:51:07 +00:00
RiotRobot
9feae296f4 Upgrade matrix-js-sdk to 15.6.0 2022-02-28 16:48:46 +00:00
Šimon Brandner
df591ee835
Make everything use the KeyBindingManager (#7907) 2022-02-28 16:05:52 +00:00
Michael Telatynski
5f8441216c
Disable creating polls within threads (#7914) 2022-02-28 15:34:30 +00:00
Suguru Hirahara
7e4b856ec3
Fix padding inside the labels on Settings (#7912) 2022-02-28 15:05:32 +00:00
Robin
464bb727db
Update and expand ways to access pinned messages (#7906)
* Hide pinned messages header button when nothing is pinned

Signed-off-by: Robin Townsend <robin@robin.town>

* Add pinned messages option to room info panel

Signed-off-by: Robin Townsend <robin@robin.town>

* Add pinned messages option to room header menu

Signed-off-by: Robin Townsend <robin@robin.town>

* Make condition more concise

Signed-off-by: Robin Townsend <robin@robin.town>
2022-02-28 14:52:16 +00:00
Robin
33657947d3
Inject sender into pinned messages (#7904)
* Inject sender into pinned messages

Signed-off-by: Robin Townsend <robin@robin.town>

* Remove unused prop

Signed-off-by: Robin Townsend <robin@robin.town>
2022-02-28 14:47:14 +00:00
Michael Telatynski
75e41b4c1c
Basic threads analytics into Posthog MVP (#7871) 2022-02-28 14:11:14 +00:00
J. Ryan Stinnett
4c5fa6294f
[Release] Tweak info message padding in right panel timeline (#7909)
* Tweak info message padding in right panel timeline

* Use class name
2022-02-28 10:38:27 +00:00
J. Ryan Stinnett
182aedc3d4
Tweak info message padding in right panel timeline (#7901) 2022-02-28 10:23:01 +00:00
Abinet Seife
ac42dc2048 Added translation using Weblate (Amharic) 2022-02-28 10:16:01 +00:00
David Baker
1a6134e441
Fix another freeze on room switch (#7900)
* Fix another freeze on room switch

This switches permalinks to use the batch state update event and
removes the incremental updates, as commented. We now spend, on my
profiling, about 450ms in setOutOfBandMembers itself and another
120ms in permalinks.

Fixes https://github.com/vector-im/element-web/issues/21127

* Just bind to the currentstate state updates
2022-02-25 19:48:35 +00:00
Robin
4ab59684c1
Clean up error listener when location picker closes (#7902)
Signed-off-by: Robin Townsend <robin@robin.town>
2022-02-25 11:21:48 -07:00
Robin
ece2b8572a
Fix edge case in context menu chevron positioning (#7899)
* Fix edge case in context menu chevron positioning

Signed-off-by: Robin Townsend <robin@robin.town>

* Expand context menu positioning regression tests

Signed-off-by: Robin Townsend <robin@robin.town>
2022-02-25 17:49:57 +00:00
David Baker
3e4e7efd89
Add slash command to switch to a room's virtual room (#7839)
* Add slash command to switch to a room's virtual room

* Update to new interface

* Return null if no virtual user

* Throw newTranslateableError

* Types

* Disable tovirtual if virtual rooms not supported
2022-02-25 15:58:13 +00:00
Robin
76ca0362e1
Fix composer format buttons on WebKit (#7898) 2022-02-25 13:20:06 +00:00
Michael Telatynski
e762a6947d
Fix bug with useRoomHierarchy tight-looping loadMore on error (#7893) 2022-02-24 22:52:04 +00:00
Kerry
130bd6aa63
manage voicerecording state when deleting or sending a voice message (#7896)
* manage voicerecording state when deleting or sending a voice message

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

* comment

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-24 18:54:06 +01:00
Michael Telatynski
5167b30ee6
Fix upload button & shortcut not working for narrow composer mode (#7894) 2022-02-24 17:37:02 +00:00
Michael Telatynski
4629d1e4f6
Fix emoji insertion in thread composer going to the main composer (#7895) 2022-02-24 17:01:42 +00:00
Robin
85dc58a504
Try harder to keep context menus inside the window (#7863)
* Try harder to keep context menus inside the window

Signed-off-by: Robin Townsend <robin@robin.town>

* Use UIStore for window dimensions

Signed-off-by: Robin Townsend <robin@robin.town>

* Test ContextMenu positioning

Signed-off-by: Robin Townsend <robin@robin.town>
2022-02-24 10:25:27 -05:00
Kerry
6e143c313e
eslint to 8.9.0 (#7889)
Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-02-24 15:54:06 +01:00
Michael Telatynski
c257bc3f7a
Prefer RoomStateEvent.Update where possible as it fires far less (#7878) 2022-02-24 14:39:25 +00:00
Faye Duxovni
36ae0ea49d
Fix styling on reset button in verification dialog (#7888) 2022-02-24 09:31:14 -05:00
Michael Telatynski
8c2dcca48f
Fix edge case around event list summary layout (#7891) 2022-02-24 13:31:03 +00:00
Michael Telatynski
43d3f6c004
[Release] Fix edge case around event list summary layout (#7892) 2022-02-24 13:31:01 +00:00
Michael Telatynski
0e1f904eee
Fix event list summary 1 hidden message pluralisation (#7890) 2022-02-24 13:16:31 +00:00
Robin
c638af703e
Fix vanishing recently viewed menu (#7887)
Signed-off-by: Robin Townsend <robin@robin.town>
2022-02-24 07:55:57 -05:00
Michael Telatynski
fe2fceb0ba
Tidy up timelineRenderingType to be passed over context (#7872) 2022-02-24 11:25:13 +00:00