Commit graph

45909 commits

Author SHA1 Message Date
Suguru Hirahara
d244b9065c
Fix long display name overflowing reply tile on IRC layout (#10343)
* Prevent long name blowout from Replytile on IRC layout

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

* Add a test to check long strings do not overflow

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

* Sort declarations based on .mx_IRCLayout .mx_EventTile .mx_DisambiguatedProfile

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

---------

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-03-10 10:47:14 +00:00
Weblate
3ad8b92621 Merge branch 'origin/develop' into Weblate. 2023-03-10 10:40:45 +00:00
Andy Balaam
6141cca652
Support dynamic room predecessors for RoomProvider (#10346) 2023-03-10 10:40:38 +00:00
Weblate
db9fa92bde Merge branch 'origin/develop' into Weblate. 2023-03-10 09:42:16 +00:00
Andy Balaam
2e064e57a0
Support dynamic room predecessors in ForwardDialog (#10344) 2023-03-10 09:41:30 +00:00
Weblate
d33972b7d1 Merge branch 'origin/develop' into Weblate. 2023-03-10 09:41:21 +00:00
Andy Balaam
42abfb1fac
Support dynamic room predecessors in SpaceHierarchy (#10341) 2023-03-10 09:41:14 +00:00
Weblate
dcdfd2bb76 Merge branch 'origin/develop' into Weblate. 2023-03-10 09:16:08 +00:00
lunarna-gh
20098ab8be Translated using Weblate (Polish)
Currently translated at 61.8% (2317 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
2023-03-10 09:16:08 +00:00
Andy Balaam
b646250c90
Support dynamic room predecessors in OwnBeaconStore (#10339)
* Support dynamic room predecessors in OwnBeaconStore

* Fix type of dynamicWatcherRef

* Mock a function missing from client
2023-03-10 09:15:54 +00:00
Weblate
28963ed5f5 Merge branch 'origin/develop' into Weblate. 2023-03-09 21:19:12 +00:00
Kerry
50229abf1e
e2e test for poll history (#10336) 2023-03-09 21:19:06 +00:00
Weblate
daae190aae Merge branch 'origin/develop' into Weblate. 2023-03-09 17:17:34 +00:00
Andy Balaam
37d2b7b17b
Support dynamic room predecessors in AddExistingToSpaceDialog (#10342) 2023-03-09 17:17:28 +00:00
Weblate
ff535c425d Merge branch 'origin/develop' into Weblate. 2023-03-09 14:53:51 +00:00
Andy Balaam
421c1b9281
Support dynamic room predecessors in leave-behaviour (#10340) 2023-03-09 14:49:59 +00:00
Weblate
173947590b Merge branch 'origin/develop' into Weblate. 2023-03-09 13:02:39 +00:00
Szimszon
517d096cb2 Translated using Weblate (Hungarian)
Currently translated at 100.0% (3746 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2023-03-09 13:02:39 +00:00
Andy Balaam
f90bc40cfc
Support dynamic room predecessors in StopGapWidgetDriver (#10338) 2023-03-09 13:02:29 +00:00
Weblate
ce657066a9 Merge branch 'origin/develop' into Weblate. 2023-03-09 12:15:57 +00:00
Szimszon
5bc51e9004 Translated using Weblate (Hungarian)
Currently translated at 99.7% (3738 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2023-03-09 12:15:57 +00:00
Patrick Cloke
aca077cf2b
Add tests for createEditContent which mirror tests for createMessageContent. (#10331) 2023-03-09 12:15:48 +00:00
Weblate
1d04110e89 Merge branch 'origin/develop' into Weblate. 2023-03-09 11:48:45 +00:00
Peter Chen
e116503008 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3746 of 3746 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-09 11:48:45 +00:00
Michael Weimann
85e8d27697
Extract avatars from permalink hook (#10328) 2023-03-09 12:48:36 +01:00
Weblate
1cb02fa21e Merge branch 'origin/develop' into Weblate. 2023-03-09 10:18:29 +00:00
Andy Balaam
edd8865670
Support dynamic room predecessors in WidgetLayoutStore (#10326)
* Support dynamic room predecessors in WidgetLayoutStore

* Improve TS correctness in WidgetLayoutStore

* Test to cover onNotReady to quieten SonarCloud

---------

Co-authored-by: Janne Mareike Koschinski <janne@kuschku.de>
2023-03-09 10:18:23 +00:00
Weblate
0e15c8efbe Merge branch 'origin/develop' into Weblate. 2023-03-09 09:31:08 +00:00
Andy Balaam
acb7dd84ac
Support dynamic room predecessors in SpaceStore (#10332) 2023-03-09 09:31:02 +00:00
Weblate
a45715c50c Merge branch 'origin/develop' into Weblate. 2023-03-09 09:08:49 +00:00
Michael Telatynski
01d7b795ab
Silence sanitize-html warning (#10334) 2023-03-09 09:08:42 +00:00
Weblate
7d69e69ce1 Merge branch 'origin/develop' into Weblate. 2023-03-09 00:20:13 +00:00
Kerry
cef821c21b
Polls: sync push rules on changes to account_data (#10287)
* basic sync setup

* formatting

* get loudest value for synced rules

* more types

* test synced rules in notifications settings

* type fixes

* noimplicitany fixes

* remove debug

* tidying

* extract updatePushRuleActions fn to utils

* extract update synced rules

* just synchronise in one place?

* monitor account data changes AND trigger changes sync in notifications form

* lint

* setup LoggedInView test with enough mocks

* test rule syncing in LoggedInView

* strict fixes

* more comments

* one more comment
2023-03-09 00:20:06 +00:00
Weblate
2c9c34f61e Merge branch 'origin/develop' into Weblate. 2023-03-08 18:36:47 +00:00
renovate[bot]
4c6f8ad122
Update sentry-javascript monorepo to v7.40.0 (#10214)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 19:36:41 +01:00
Weblate
6b1b15f61c Merge branch 'origin/develop' into Weblate. 2023-03-08 17:56:07 +00:00
renovate[bot]
78c8c3ff28
Update typescript-eslint monorepo to v5.54.0 (#10316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 17:56:00 +00:00
Weblate
28feb87746 Merge branch 'origin/develop' into Weblate. 2023-03-08 16:48:53 +00:00
renovate[bot]
b811b65b17
Update dependency eslint-plugin-unicorn to v46 (#10317)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 16:48:34 +00:00
Weblate
3db5e287dd Merge branch 'origin/develop' into Weblate. 2023-03-08 16:10:29 +00:00
Michael Weimann
28abae60a6
Fix breadcrumb store test (#10330) 2023-03-08 16:10:23 +00:00
Weblate
bd4fb6b795 Merge branch 'origin/develop' into Weblate. 2023-03-08 15:34:12 +00:00
Janne Mareike Koschinski
2b39eac7b5
Handle more edge cases in ACL updates (#10279) 2023-03-08 16:33:58 +01:00
Weblate
d2a9598c2a Merge branch 'origin/develop' into Weblate. 2023-03-08 15:13:39 +00:00
Andy Balaam
4ee57a36e0
Support dynamic room predecessors in BreadcrumbsStore (#10295)
* Tests for BreadcrumbsStore.meetsRoomRequirements

* Tests for appending rooms to BreadcrumbsStore

* Support dynamic room predecessors in BreadcrumbsStore
2023-03-08 15:13:32 +00:00
Weblate
9b0a2efdad Merge branch 'origin/develop' into Weblate. 2023-03-08 14:19:27 +00:00
Michael Telatynski
bee4759208
Remove flux dependency (#10313) 2023-03-08 14:19:05 +00:00
Weblate
98c3fd7e71 Merge branch 'origin/develop' into Weblate. 2023-03-08 14:18:32 +00:00
Michael Telatynski
2631b63d13
Remove deprecated stylelint rules which are handled by prettier (#10325) 2023-03-08 14:18:26 +00:00
Andy Balaam
b8d502be2e
Support dynamic room predecessors in RoomNotificationStateStore (#10297)
* Tests for RoomNotificationStateStore emitting events

* Support dynamic room predecessors in RoomNotificationStateStore

* Remove unused arguments from emit call.

UPDATE_STATUS_INDICATOR is used in:
* SpacePanel
* MatrixChat
* RoomHeaderButtons

but these arguments are not used in any of those places. Remove them so
when I refactor I don't have to make up values for them.

* Fix broken test (wrong expected args to emit)

UPDATE_STATUS_INDICATOR is used in:
* SpacePanel
* MatrixChat
* RoomHeaderButtons

but these arguments are not used in any of those places. Remove them so
when I refactor I don't have to make up values for them.

* Update the RoomNotificationStore whenever the predecessor labs flag changes

* Fix type errors

* Fix other tests that trigger our new watcher
2023-03-08 14:18:03 +00:00