Commit Graph

33922 Commits

Author SHA1 Message Date
Neeraj Vageele
c8585be2f8
fix resize to only work with left mouse click (#10546)
Co-authored-by: Neeraj <neerajv@thirdrocktechkno.com>
Co-authored-by: Kerry <kerrya@element.io>
2023-04-11 06:13:11 +00:00
Neeraj Vageele
99a375e354
bind html with switch for manage extension setting (#10553)
option

Co-authored-by: Neeraj <neerajv@thirdrocktechkno.com>
2023-04-11 05:13:52 +00:00
alunturner
3fa6f8cbf0
Handle command completions in RTE (#10521)
* pass handleCommand prop down and use it in WysiwygAutocomplete

* allow a command to generate a query from buildQuery

* port command functionality into the sendMessage util

* tidy up comments

* remove use of shouldSend and update comments

* remove console log

* make logic more explicit and amend comment

* uncomment replyToEvent block

* update util test

* remove commented out test

* use local text over import from current composer

* expand tests

* expand tests

* handle the FocusAComposer action for the wysiwyg composer

* remove TODO comment

* remove TODO

* test for action dispatch

* fix failing tests

* tidy up tests

* fix TS error and improve typing

* fix TS error

* amend return types for sendMessage, editMessage

* fix null content TS error

* fix another null content TS error

* use as to correct final TS error

* remove undefined argument

* try to fix TS errors for editMessage function usage

* tidy up

* add TODO

* improve comments

* update comment
2023-04-10 12:47:42 +00:00
Michael Weimann
818e8292cb
Fix send two join requests when joining a room from spotlight search (#10534)
* Fix send two join requests when joining a room from spotlight search

* Trigger CI

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 14:02:18 +00:00
renovate[bot]
0ea2ff85d0
Update dependency typescript to v5 (#10532)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 13:17:50 +01:00
renovate[bot]
6c39aa29e2
Update typescript-eslint monorepo to v5.57.0 (#10530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 12:07:58 +01:00
Michael Telatynski
55d3548330
Conform more of the codebase to strictNullChecks (#10518
* Conform more of the codebase to `strictNullChecks`

* Iterate

* Fix tests
2023-04-06 11:10:14 +01:00
Suguru Hirahara
374a23edb5
Add E2E test of audio player (#10441)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:45:55 +00:00
alunturner
e03eac12c3
Add room and user avatars to rte (#10497)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:43:49 +00:00
Hugh Nimmo-Smith
5c0e5eb0fb
Support for MSC3882 revision 1 (#10443)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 08:06:12 +00:00
Michael Telatynski
09eefe14ea
Remove feedback buttons from onboarding, search, and spaces (#10506) 2023-04-05 12:17:25 +01:00
Michael Weimann
df89d2ce28
Check profiles before starting a DM (#10472) 2023-04-05 13:13:51 +02:00
Michael Telatynski
e5a314617a
Conform more of the codebase to strictNullChecks (#10505
* Conform more of the codebase to `strictNullChecks`

* Iterate

* Conform more of the codebase to `strictNullChecks`

* Iterate

* Iterate

* Iterate

* Iterate
2023-04-05 09:02:40 +01:00
Kerry
2434749f65
Highlight event when any version triggered a highlight (#10502)
* check previous events pushactions when deciding to highlight

* test event highlight

* strict fix

* highlight edited text to red
2023-04-05 02:46:17 +00:00
Janne Mareike Koschinski
52eec283b3
Quick settings: Change the copy / labels on the options (#10427)
* Quick settings: Change the copy / labels on the options
* Update i18n
2023-04-04 21:00:57 +02:00
alunturner
7a250f41ac
Update rte autocomplete styling (#10503)
* amend className to reflect usage
* move new class into file used by Send/Edit composers
* add border styling to autocomplete
2023-04-04 14:52:57 +01:00
Michael Telatynski
b77b2df29b
Improve context types (#10510) 2023-04-04 14:01:04 +01:00
Michael Telatynski
bc60a9b594
Conform more of the codebase to strictNullChecks (#10504
* Conform more of the codebase to `strictNullChecks`

* Iterate
2023-04-04 11:41:46 +01:00
Weblate
7322cff0d7 Merge branch 'origin/develop' into Weblate. 2023-04-04 07:46:41 +00:00
Peter Chen
2b3eb9e132 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3766 of 3766 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-04-04 07:46:41 +00:00
LinAGKar
6a0ec8cebd Translated using Weblate (Swedish)
Currently translated at 98.5% (3710 of 3766 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2023-04-04 07:46:38 +00:00
Eric Eastwood
2ebec3a3c7
Remove orphaned GenericError class (#10500)
Originally introduced in
https://github.com/matrix-org/matrix-react-sdk/pull/8329

All usages were removed in
https://github.com/matrix-org/matrix-react-sdk/pull/9605

This error also has problems with showing tranlsated versions in the logs.
Part of https://github.com/vector-im/element-web/issues/9597

We should be using the new `UserFriendlyError` for this kind of thing anyway.
Introduced in https://github.com/matrix-org/matrix-react-sdk/pull/10440
2023-04-04 02:46:27 -05:00
Weblate
d76cda3095 Merge branch 'origin/develop' into Weblate. 2023-04-03 09:28:25 +00:00
Michael Weimann
56423d4d53
Restore createRoom.canEncryptToAllUsers (#10491) 2023-04-03 11:28:17 +02:00
Weblate
b49122e8fb Merge branch 'origin/develop' into Weblate. 2023-04-03 09:09:39 +00:00
Shivam Mahajan
f933806b63
Added auto focus to Github URL on opening of debug logs modal (#10479)
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-03 09:09:32 +00:00
Weblate
9b1ea80da6 Merge branch 'origin/develop' into Weblate. 2023-04-03 08:27:02 +00:00
Kerry
81a4498a8f
Apply strictNullChecks to src/utils/*!exportUtils (#10455
* Apply `strictNullChecks` to `src/utils/exportUtils`

* strict fix

* fix strictNullChecks issues in some utils

* fix error message

* test coverage

* lint

* more strictNullChecks

* small optimisation for getUniqueRoomsWithIndividuals

* tidy

* test coverage
2023-04-03 09:26:55 +01:00
Weblate
4fa3f52d35 Merge branch 'origin/develop' into Weblate. 2023-04-02 21:32:18 +00:00
Kerry
6f1a3af895
Properly generate mentions when editing a reply with MSC3952 (#10486)
* remove redundant feature_intentional_mentions settings check

* tests

* pass replytoevent to attachmmentions in editmessagecomposer

* lint

* strict fix
2023-04-02 21:32:12 +00:00
Weblate
a374758b6b Merge branch 'origin/develop' into Weblate. 2023-04-02 21:20:03 +00:00
maheichyk
d3da171765
Show room create icon if "UIComponent.roomCreation" is enabled (#10364)
* Show room create button in RoomSublist if "UIComponent.roomCreation" is enabled

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>

* Revert "Show room create button in RoomSublist if "UIComponent.roomCreation" is enabled"

This reverts commit a332a0b02a6c3253ea7ac606211c41a09c409de5.

* Use UIComponent.ExploreRooms to display menu item "Explore public rooms" ("Explore rooms" in case of space room) in context menu of "Rooms" section of RoomList component. The context menu will be available if one of UIComponent.ExploreRooms or UIComponent.CreateRooms is enabled.

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>

* "Explore rooms" of space room should not be controlled by UIComponent.ExploreRooms.

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>

---------

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-04-03 09:19:56 +12:00
Glandos
d342b47af2 Translated using Weblate (French)
Currently translated at 100.0% (3766 of 3766 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-04-02 12:33:53 +00:00
Weblate
39b3ab42b7 Merge branch 'origin/develop' into Weblate. 2023-03-31 13:15:17 +00:00
Priit Jõerüüt
4133d56c4a Translated using Weblate (Estonian)
Currently translated at 100.0% (3766 of 3766 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-31 13:15:17 +00:00
Jozef Gaal
a53f7dac3f Translated using Weblate (Slovak)
Currently translated at 100.0% (3766 of 3766 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2023-03-31 13:15:15 +00:00
waclaw66
0b99450168 Translated using Weblate (Czech)
Currently translated at 100.0% (3766 of 3766 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-31 13:15:13 +00:00
random
d96b93a148 Translated using Weblate (Italian)
Currently translated at 100.0% (3766 of 3766 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2023-03-31 13:15:10 +00:00
Olivier D
39e789a04e Translated using Weblate (French)
Currently translated at 99.8% (3762 of 3766 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-03-31 13:15:08 +00:00
Vri
72cbb3bc4a Translated using Weblate (German)
Currently translated at 100.0% (3766 of 3766 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-03-31 13:15:06 +00:00
alunturner
6f791d28c8
Add mentions as links to rte (#10463)
* adds autocomplete behaviour for mentions in rich text editor
* allows adding mentions as links
* adds tests
2023-03-31 14:14:55 +01:00
Weblate
211c4ec108 Merge branch 'origin/develop' into Weblate. 2023-03-31 09:35:09 +00:00
Michael Telatynski
212977c4ac
Apply strictNullChecks to src/contexts/* (#10490) 2023-03-31 10:35:02 +01:00
Ihor Hordiichuk
b0bb865d1c Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3763 of 3763 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-03-31 09:16:03 +00:00
Weblate
d93469f143 Merge branch 'origin/develop' into Weblate. 2023-03-31 09:08:55 +00:00
Priit Jõerüüt
48b93f545b Translated using Weblate (Estonian)
Currently translated at 100.0% (3763 of 3763 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-31 09:08:54 +00:00
Michael Telatynski
404c412bcb
Handle IDB closed event by showing modal with prompt to reload app (#10395
* Handle IDB `closed` event by showing modal with prompt to reload app

* Iterate

* Skip the modal for guests, e.g. during registration

* Iterate

* Add tests
2023-03-31 10:08:45 +01:00
Weblate
0333b6cc77 Merge branch 'origin/develop' into Weblate. 2023-03-31 08:26:21 +00:00
Michael Telatynski
f152613f83
Apply strictNullChecks to src/components/auth/* (#10484
* Apply `strictNullChecks` to `src/components/auth/*`

* fix

* strict types
2023-03-31 09:26:15 +01:00
Weblate
15f94d7bfb Merge branch 'origin/develop' into Weblate. 2023-03-31 08:20:27 +00:00
waclaw66
f033c0c62f Translated using Weblate (Czech)
Currently translated at 100.0% (3763 of 3763 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-31 08:20:27 +00:00
Vri
5f7143b42f Translated using Weblate (German)
Currently translated at 100.0% (3763 of 3763 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-03-31 08:20:25 +00:00
Michael Weimann
af151700c9
Strictify src/components/structures/Space* (#10481) 2023-03-31 10:20:15 +02:00
Weblate
795364abbe Merge branch 'origin/develop' into Weblate. 2023-03-31 07:43:54 +00:00
Michael Weimann
dddef858f1
Fix detection of encryption for all users in a room (#10487) 2023-03-31 09:43:47 +02:00
Weblate
b7326ebf21 Merge branch 'origin/develop' into Weblate. 2023-03-31 07:30:51 +00:00
Eric Eastwood
ff1468b6d3
Replace newTranslatableError with UserFriendlyError (#10440
* Introduce UserFriendlyError

* Replace newTranslatableError with UserFriendlyError

* Remove ITranslatableError

* Fix up some strict lints

* Document when we/why we can remove

* Update matrix-web-i18n

Includes changes to find `new UserFriendlyError`,
see https://github.com/matrix-org/matrix-web-i18n/pull/6

* Include room ID in error

* Translate fallback error

* Translate better

* Update i18n strings

* Better re-use

* Minor comment fixes
2023-03-31 08:30:43 +01:00
Weblate
1b6ade29ab Merge branch 'origin/develop' into Weblate. 2023-03-30 09:26:25 +00:00
Michael Telatynski
567248d5c5
Add aria labels to message search bar to improve accessibility (#10476) 2023-03-30 10:26:19 +01:00
Weblate
480e31e728 Merge branch 'origin/develop' into Weblate. 2023-03-30 09:11:24 +00:00
Suguru Hirahara
232daaff68
Fix decryption failure bar covering the timeline (#10360)
* Use grid layout instead

- BEM naming style
- Increase block gap from 4px to 8px
- Use flexbox inside 'header' grid-area to let the buttons wrapped
- Use variables
- Remove 4px gap when one of the buttons is not rendered
- Change 'body' to 'message'
- Set 'align-self: start' to the icon and spinner

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Unset height of spinner

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Break lines at newline characters with white-space: pre-line

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Edit tests to check decryption failure bars on narrow timeline

- checkTimelineNarrow() looks for buttons by default
- Test indicator as well

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove a line

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Edit the test to have it check mx_EventTile_last only inside mx_RoomView_body

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Fix double underscores

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Fix double underscores - pcss

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Iterate - buttons at the bottom

- Set common spacing to buttons with variables
- Remove line breaks, yarn run i18n
- Set data-testid for headlines and buttons in case the tested strings would be displayed elsewhere simultaneously

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Check waiting headline as well

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Increase spacing between the message and the buttons

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* lint

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Increase block gap between wrapped buttons for clickability

Apply 8px between wrapped buttons

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Revert bottom margin of buttons which are not expected to be wrapped

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Check visibility instead of existence

This commit removes data-testid from headlines and data-testid-button and checks whether the elements are really visible, not overflowing the viewport.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Remove redundant gap between 'mx_DecryptionFailureBar_start' and the bottom edge

This commit adds '.mx_DecryptionFailureBar--withEnd' class name to have it applied to the bar only if it has button(s). This way the bar is rendered with a flexbox and the row-gap declaration is respected only if there is a 'mx_DecryptionFailureBar--withEnd' element. The element  currently includes the button(s) only.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* lint - prettier

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Have Percy take a snapshot of the bar loading spinner before checkTimelineNarrow()

The loading spinner is likely to disappear while checking the bar on the narrow timeline.

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Co-authored-by: Kerry <kerrya@element.io>
2023-03-30 10:11:16 +01:00
Weblate
b831563e23 Merge branch 'origin/develop' into Weblate. 2023-03-30 08:44:34 +00:00
Michael Weimann
052c7e6d27
Strictify components/structures/Thread* (#10478)
* Strictify `components/structures/Thread*`

* Fix ThreadView event Id
2023-03-30 09:44:28 +01:00
Weblate
02d8ddb4f6 Merge branch 'origin/develop' into Weblate. 2023-03-30 08:06:57 +00:00
Michael Weimann
9aef1874db
Strictify stores/room-list (#10474) 2023-03-30 09:06:50 +01:00
Weblate
de831a35bb Merge branch 'origin/develop' into Weblate. 2023-03-30 07:28:15 +00:00
Michael Telatynski
9848cdf4e7
Apply strictNullChecks to src/components/structures/Space* (#10475) 2023-03-30 08:28:08 +01:00
Weblate
48b2e509f9 Merge branch 'origin/develop' into Weblate. 2023-03-29 21:47:18 +00:00
Balázs Meskó
edb80e57ed Translated using Weblate (Hungarian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2023-03-29 21:47:18 +00:00
Kerry
9a733a6444
Apply strictNullChecks to src/utils/exportUtils (#10379)
* Apply `strictNullChecks` to `src/utils/exportUtils`

* strict fix

* test coverage

* lint

* test coverage

* one more test
2023-03-29 21:47:07 +00:00
Weblate
f9c9110565 Merge branch 'origin/develop' into Weblate. 2023-03-29 14:00:58 +00:00
random
409c161323 Translated using Weblate (Italian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2023-03-29 14:00:58 +00:00
Michael Telatynski
1447829543
Improve profile picture settings accessibility (#10470) 2023-03-29 14:00:45 +00:00
Glandos
23e3219402 Translated using Weblate (French)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-03-29 11:53:09 +00:00
Weblate
950a3ea4e6 Merge branch 'origin/develop' into Weblate. 2023-03-29 07:24:00 +00:00
Michael Telatynski
a47b3eb0ee
Apply strictNullChecks to src/components/views/elements/* (#10462
* Apply `strictNullChecks` to `src/components/views/elements/*`

* Iterate

* Iterate

* Iterate

* Apply `strictNullChecks` to `src/components/views/elements/*`

* Iterate

* Iterate

* Iterate

* Update snapshot
2023-03-29 08:23:54 +01:00
Weblate
476ee7b86c Merge branch 'origin/develop' into Weblate. 2023-03-29 07:22:44 +00:00
Priit Jõerüüt
3613a73e33 Translated using Weblate (Estonian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-29 07:22:44 +00:00
Michael Telatynski
cefd94859c
Conform src/components/views/messages/* code to strictNullChecks (#10461) 2023-03-29 08:22:35 +01:00
Jozef Gaal
615c3a6190 Translated using Weblate (Slovak)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2023-03-29 06:47:23 +00:00
waclaw66
bb8319adfa Translated using Weblate (Czech)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-29 06:47:21 +00:00
Linerly
ab94089f44 Translated using Weblate (Indonesian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2023-03-29 06:47:19 +00:00
Ihor Hordiichuk
b0554b90bd Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-03-29 06:47:18 +00:00
Jeff Huang
941a43475e Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-29 06:47:15 +00:00
Vri
13a44079f6 Translated using Weblate (German)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-03-29 06:47:13 +00:00
Weblate
137e049f1d Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
2023-03-28 22:14:51 +00:00
Weblate
124fbdd8b8 Merge branch 'origin/develop' into Weblate. 2023-03-28 22:13:57 +00:00
Kerry
6eda1fa6e2
replace Polls history strings with Poll history (#10454)
Co-authored-by: Michael Weimann <michaelw@matrix.org>
2023-03-28 22:13:51 +00:00
Weblate
25f0104468 Merge branch 'origin/develop' into Weblate. 2023-03-28 13:31:57 +00:00
RiotRobot
0475e7107f Merge branch 'master' into develop 2023-03-28 14:30:52 +01:00
Weblate
90061fde7a Merge branch 'origin/develop' into Weblate. 2023-03-28 13:16:36 +00:00
Robin
edef4cc52e
Handle group call redaction (#10465)
Redacted group call events should be interpreted as terminated calls.
2023-03-28 13:16:30 +00:00
Michael Weimann
c30b2637c5 Changes for v3.69.0 2023-03-28 11:23:16 +01:00
Weblate
e2f4fece1a Merge branch 'origin/develop' into Weblate. 2023-03-27 21:07:55 +00:00
Kerry
ae50eee135
Apply strictNullChecks to src/utils/pillify.tsx (#10456)
* apply strictNullChecks to src/utils/pillify.tsx

* include change to utility

* apply strictNullChecks to src/utils/permalinks
2023-03-28 10:07:49 +13:00
Weblate
af64dbb9f6 Merge branch 'origin/develop' into Weblate. 2023-03-27 20:22:53 +00:00
Kerry
cd700e20fc
Display relative timestamp for threads on the same calendar day (#10399)
* add test cases for <24 different day time formatting

* use day instead of <24h ago to format relative date
2023-03-27 20:22:46 +00:00
Weblate
b653fa5009 Merge branch 'origin/develop' into Weblate. 2023-03-27 20:10:25 +00:00
maheichyk
68fa9aed9d
Show "Invite" menu option if "UIComponent.sendInvites" is enabled. (#10363)
* Show "Invite" menu option if "UIComponent.sendInvites" is enabled.

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>

* Update test names

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>

---------

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-03-28 09:10:18 +13:00
Weblate
d187a77e40 Merge branch 'origin/develop' into Weblate. 2023-03-27 16:19:49 +00:00
Michael Weimann
b0de7b3bb6
Use unique keys for voice broadcast pips (#10457) 2023-03-27 18:19:42 +02:00
Weblate
093e9b148c Merge branch 'origin/develop' into Weblate. 2023-03-27 13:48:17 +00:00
Michael Telatynski
065e970325
Conform src/hooks/* code to strictNullChecks (#10460) 2023-03-27 14:45:46 +01:00
Weblate
7bd4bc7871 Merge branch 'origin/develop' into Weblate. 2023-03-27 10:57:11 +00:00
Janne Mareike Koschinski
63678603e0
Revert "Mentions as links rte (#10422)" (#10458)
This reverts commit 1af71089dd.
2023-03-27 12:57:05 +02:00
Weblate
0d2567c270 Merge branch 'origin/develop' into Weblate. 2023-03-27 08:56:37 +00:00
Michael Telatynski
58a4003a59
Fix "show read receipts sent by other users" not applying to threads (#10445) 2023-03-27 09:56:31 +01:00
Weblate
a6ec3659a3 Merge branch 'origin/develop' into Weblate. 2023-03-27 08:07:50 +00:00
Michael Weimann
aec454dd6f
Add UserProfilesStore, LruCache and cache for user permalink profiles (#10425) 2023-03-27 10:07:43 +02:00
Weblate
68c2c98cf4 Merge branch 'origin/develop' into Weblate. 2023-03-27 07:39:41 +00:00
Michael Telatynski
1c039fcd38
Fix joining public rooms without aliases in search dialog (#10437)
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-03-27 07:39:34 +00:00
Weblate
1dbd0b0023 Merge branch 'origin/develop' into Weblate. 2023-03-27 07:01:16 +00:00
Michael Telatynski
c225b8ec29
Conform more code to strictNullChecks (#10444
* Conform more code to `strictNullChecks`

* Fix tests

* Fix tests
2023-03-27 08:01:09 +01:00
Weblate
f52f7db9c7 Merge branch 'origin/develop' into Weblate. 2023-03-27 06:38:06 +00:00
Priit Jõerüüt
b780a02531 Translated using Weblate (Estonian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-27 06:38:06 +00:00
Jozef Gaal
0f5091a14e Translated using Weblate (Slovak)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2023-03-27 06:38:03 +00:00
waclaw66
f9c7ced7e7 Translated using Weblate (Czech)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-27 06:37:59 +00:00
Linerly
1b1181c48c Translated using Weblate (Indonesian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2023-03-27 06:37:57 +00:00
Ihor Hordiichuk
0ce227d233 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-03-27 06:37:54 +00:00
Jeff Huang
5685f78bfa Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-27 06:37:50 +00:00
Glandos
8b544e7186 Translated using Weblate (French)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-03-27 06:37:48 +00:00
Vri
b1b7b7eeb0 Translated using Weblate (German)
Currently translated at 100.0% (3762 of 3762 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-03-27 06:37:45 +00:00
Michael Weimann
ba2608ec74
Add m.direct filter / validation (#10436) 2023-03-27 08:37:35 +02:00
Weblate
dd69c5010b Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
2023-03-24 19:40:26 +00:00
Weblate
7585027378 Merge branch 'origin/develop' into Weblate. 2023-03-24 19:39:31 +00:00
Eric Eastwood
e5f06df3f7
Better error handling in jump to date (#10405)
- Friendly error messages with details
 - Add a way to submit debug logs for actual errors (non-networking errors)
 - Don't jump someone back to a room they already navigated away from. Fixes bug mentioned in https://github.com/vector-im/element-web/issues/21263#issuecomment-1056809714
2023-03-24 14:39:24 -05:00
Weblate
58e91c9a50 Merge branch 'origin/develop' into Weblate. 2023-03-24 17:07:32 +00:00
alunturner
1af71089dd
Mentions as links rte (#10422)
* bumps the RTE dependency to introduce user/room mention handling
* adds autocomplete behaviour to allow users to insert user and room mentions as links
* sets up tests for the autocomplete behaviour
2023-03-24 17:07:24 +00:00
Weblate
dd6901c000 Merge branch 'origin/develop' into Weblate. 2023-03-24 12:57:42 +00:00
Glandos
0199c43533 Translated using Weblate (French)
Currently translated at 100.0% (3755 of 3755 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-03-24 12:57:42 +00:00
Suguru Hirahara
8e1b9f46d4
Set expected value of line-height to expanded generic event list summary (GELS) spacer on IRC layout (#10211)
* Set expected line height to an expanded GELS line on IRC layout, add a test
* Add a test for compact modern/group layout
* Create a new test category on timeline.spec.ts
* Rename the class name as 'spacer'
* Add a test for GELS' spacer on bubble layout
---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Co-authored-by: Germain <germain@souquet.com>
2023-03-24 12:57:32 +00:00
waclaw66
3c02dc246c Translated using Weblate (Czech)
Currently translated at 100.0% (3755 of 3755 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-24 09:26:01 +00:00
Linerly
8c519da3ad Translated using Weblate (Indonesian)
Currently translated at 100.0% (3755 of 3755 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2023-03-24 09:25:59 +00:00
Ihor Hordiichuk
0f6ccace67 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3755 of 3755 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-03-24 09:25:58 +00:00
Weblate
8e60acc159 Merge branch 'origin/develop' into Weblate. 2023-03-23 17:25:30 +00:00
Jozef Gaal
c83567f95d Translated using Weblate (Slovak)
Currently translated at 100.0% (3755 of 3755 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2023-03-23 17:25:30 +00:00
random
692256b1d1 Translated using Weblate (Italian)
Currently translated at 100.0% (3755 of 3755 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2023-03-23 17:25:28 +00:00
Peter Chen
39f27621d1 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3755 of 3755 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-23 17:25:26 +00:00
Justin Carlson
332d1268a4
Fix creatorUserId is required error when opening sticker picker (#10423)
* Use sender if sticker picker widget does not have creatorUserId

* Add creatorUserId when creating sticker picker widgets

* Add e2e test for stickerpicker widget missing creatorUserId

* Fix stickerpicker widget event data in e2e tests

* Fix userId in stickerpicker e2e tests

* Fix linter errors
2023-03-23 17:25:16 +00:00
Priit Jõerüüt
0181191ced Translated using Weblate (Estonian)
Currently translated at 100.0% (3755 of 3755 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-23 14:55:27 +00:00
Vri
1f965222fd Translated using Weblate (German)
Currently translated at 100.0% (3755 of 3755 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-03-23 14:55:25 +00:00
Weblate
9f8fb02fa9 Merge branch 'origin/develop' into Weblate. 2023-03-23 13:36:02 +00:00
Florian Duros
e4dfb21e56
Fix strict strictNullChecks to src/editor/* (#10428
* Fix strict `strictNullChecks` to `src/editor/*`

* Fix autoComplete creation

* Fix dom regression

* Remove changes
2023-03-23 13:35:55 +00:00
Weblate
16d68c7e7d Merge branch 'origin/develop' into Weblate. 2023-03-23 11:47:46 +00:00
Patrick Cloke
e19127f8ad
Implement MSC3952: intentional mentions (#9983)
Implements the intentional mentions feature of MSC3952 (behind
a labs flag).

If enabled, this will send an org.matrix.msc3952.mentions property
on events that will contain the user IDs and/or whether the room is
being mentioned. These mentions also gets propagated via some
custom behaviour for replies and edits.
2023-03-23 11:47:40 +00:00
Linerly
ba37daaecc Translated using Weblate (Indonesian)
Currently translated at 100.0% (3754 of 3754 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2023-03-23 11:14:51 +00:00
Jeff Huang
ee9dc3dca6 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3754 of 3754 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-23 11:14:49 +00:00
Szimszon
9ec4d2b620 Translated using Weblate (Hungarian)
Currently translated at 100.0% (3754 of 3754 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2023-03-23 11:14:47 +00:00
Glandos
d218c78166 Translated using Weblate (French)
Currently translated at 100.0% (3754 of 3754 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-03-23 11:14:45 +00:00
Priit Jõerüüt
c0f4a08066 Translated using Weblate (Estonian)
Currently translated at 100.0% (3754 of 3754 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-22 20:22:33 +00:00