Commit graph

46387 commits

Author SHA1 Message Date
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
320665c81e Merge branch 'origin/develop' into Weblate. 2023-03-31 15:06:14 +00:00
Michael Telatynski
24eed963d3
Use frozen lockfile instead of pure lockfile on yarn install (#10493) 2023-03-31 15:06:08 +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
Weblate
cb739940d5 Merge branch 'origin/develop' into Weblate. 2023-03-31 09:17:04 +00:00
RiotRobot
17b456c7ee Reset matrix-js-sdk back to develop branch 2023-03-31 10:16:52 +01:00
Weblate
3af5178313 Merge branch 'origin/develop' into Weblate. 2023-03-31 09:16:04 +00: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
RiotRobot
10a7f588c7 Merge remote-tracking branch 'origin/develop' into develop 2023-03-31 10:15:19 +01:00
RiotRobot
0904f6a1bb Merge branch 'master' into develop 2023-03-31 10:11:09 +01: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
RiotRobot
af3e57f9e1 v3.69.1 2023-03-31 09:57:42 +01:00
RiotRobot
5a132e42e1 Prepare changelog for v3.69.1 2023-03-31 09:57:40 +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
ElementRobot
3693255cd5
Fix detection of encryption for all users in a room (#10487) (#10489)
(cherry picked from commit dddef858f1)

Co-authored-by: Michael Weimann <michaelw@matrix.org>
2023-03-31 08:07:47 +00: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
d7b3e5dbc2 Merge branch 'origin/develop' into Weblate. 2023-03-30 09:22:36 +00:00
David Baker
15523cde36
Update test interface to add call object (#10477)
Compatibility with https://github.com/matrix-org/matrix-js-sdk/pull/3237
2023-03-30 10:22:27 +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
21cfce484b Merge branch 'origin/develop' into Weblate. 2023-03-30 09:10:12 +00:00
Andy Balaam
bebfbacded
Update changelog for v3.69.0 now the security issue is public (#10468) 2023-03-30 09:10:04 +00: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
598b8e3f9a Merge branch 'origin/develop' into Weblate. 2023-03-30 08:32:09 +00:00
Suguru Hirahara
beb8861df6
Add E2E test of MessageEditHistoryDialog (#10406) 2023-03-30 10:32:02 +02: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