Commit Graph

45252 Commits (d850c95099662c33249a1ad547a3e41270698fe3)

Author SHA1 Message Date
Andy Balaam 42abfb1fac
Support dynamic room predecessors in SpaceHierarchy () 2023-03-10 09:41:14 +00:00
Andy Balaam b646250c90
Support dynamic room predecessors in OwnBeaconStore ()
* Support dynamic room predecessors in OwnBeaconStore

* Fix type of dynamicWatcherRef

* Mock a function missing from client
2023-03-10 09:15:54 +00:00
Kerry 50229abf1e
e2e test for poll history () 2023-03-09 21:19:06 +00:00
Andy Balaam 37d2b7b17b
Support dynamic room predecessors in AddExistingToSpaceDialog () 2023-03-09 17:17:28 +00:00
Andy Balaam 421c1b9281
Support dynamic room predecessors in leave-behaviour () 2023-03-09 14:49:59 +00:00
Andy Balaam f90bc40cfc
Support dynamic room predecessors in StopGapWidgetDriver () 2023-03-09 13:02:29 +00:00
Patrick Cloke aca077cf2b
Add tests for createEditContent which mirror tests for createMessageContent. () 2023-03-09 12:15:48 +00:00
Michael Weimann 85e8d27697
Extract avatars from permalink hook () 2023-03-09 12:48:36 +01:00
Andy Balaam edd8865670
Support dynamic room predecessors in WidgetLayoutStore ()
* 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
Andy Balaam acb7dd84ac
Support dynamic room predecessors in SpaceStore () 2023-03-09 09:31:02 +00:00
Michael Telatynski 01d7b795ab
Silence sanitize-html warning () 2023-03-09 09:08:42 +00:00
Kerry cef821c21b
Polls: sync push rules on changes to account_data ()
* 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
renovate[bot] 4c6f8ad122
Update sentry-javascript monorepo to v7.40.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 19:36:41 +01:00
renovate[bot] 78c8c3ff28
Update typescript-eslint monorepo to v5.54.0 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 17:56:00 +00:00
renovate[bot] b811b65b17
Update dependency eslint-plugin-unicorn to v46 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-08 16:48:34 +00:00
Michael Weimann 28abae60a6
Fix breadcrumb store test () 2023-03-08 16:10:23 +00:00
Janne Mareike Koschinski 2b39eac7b5
Handle more edge cases in ACL updates () 2023-03-08 16:33:58 +01:00
Andy Balaam 4ee57a36e0
Support dynamic room predecessors in BreadcrumbsStore ()
* Tests for BreadcrumbsStore.meetsRoomRequirements

* Tests for appending rooms to BreadcrumbsStore

* Support dynamic room predecessors in BreadcrumbsStore
2023-03-08 15:13:32 +00:00
Michael Telatynski bee4759208
Remove flux dependency () 2023-03-08 14:19:05 +00:00
Michael Telatynski 2631b63d13
Remove deprecated stylelint rules which are handled by prettier () 2023-03-08 14:18:26 +00:00
Andy Balaam b8d502be2e
Support dynamic room predecessors in RoomNotificationStateStore ()
* 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
Michael Telatynski 80fc0997a4
Explicitly specify all `children` props () 2023-03-08 13:28:07 +00:00
Michael Weimann ad26925bb6
Refactor pill and add tests () 2023-03-08 13:06:50 +01:00
Michael Telatynski c0e40217f3
Apply `strictNullChecks` to src/stores/widgets/* ()
* Apply `strictNullChecks` to src/stores/widgets/*

* Iterate

* Iterate
2023-03-08 11:48:58 +00:00
Sebbones 0c1c3f1cde
Improved a11y for Field feedback and Secure Phrase input ()
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-03-08 11:32:50 +00:00
Suguru Hirahara f60f7a19af
Display redacted body on ThreadView in the same way as normal messages () 2023-03-08 12:23:41 +01:00
Michael Weimann 6fa00a20b0
Use compound icons () 2023-03-08 11:11:01 +01:00
Michael Telatynski 0db0d4b09d
Remove unused code () 2023-03-08 10:04:07 +00:00
renovate[bot] 9ee3c657fc
Remove unused glob dependency ()
* Update dependency glob to v9

* Update dependency glob to v9

* Remove unused dependency

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-03-08 09:50:10 +00:00
renovate[bot] d2c6c2dc19
Update dependency @percy/cli to v1.20.2 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 16:48:06 +00:00
renovate[bot] bc7957c163
Update definitelyTyped ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 16:13:32 +00:00
Michael Telatynski f74867e57b
Allow parsing png files to fail if thumbnailing is successful () 2023-03-07 15:48:23 +00:00
maheichyk 3e340d5906
Fixes user authentication when registering via the module API ()
* Fixes authentication when user is registered via module API
* Remove "on_logging_in" action

---------

Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-03-07 16:24:44 +01:00
Michael Telatynski af1ec76149
Fix jest/no-conditional-expect lint and enable it () 2023-03-07 13:58:10 +00:00
renovate[bot] 2c97cb4054
Update dependency @types/react-beautiful-dnd to v13.1.3 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-07 13:34:09 +00:00
Suguru Hirahara fef8f3955f
Change --name-width on _IRCLayout.pcss based on ircDisplayNameWidth on Settings.tsx ()
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-03-07 13:32:38 +00:00
Michael Telatynski 4b8bada24b
Apply `strictNullChecks` around the codebase (
* Apply `strictNullChecks` around the codebase

* Iterate PR
2023-03-07 13:19:18 +00:00
Suguru Hirahara 7c2bb966d0
Add a test for ReplyChain () 2023-03-07 12:44:32 +01:00
RiotRobot ad28d123b2 v3.68.0-rc.1 2023-03-07 11:31:35 +00:00
RiotRobot 3ad1ed9694 Prepare changelog for v3.68.0-rc.1 2023-03-07 11:31:33 +00:00
Michael Telatynski 2191a2d820
Apply `strictNullChecks` to src/components/views/emojipicker/* () 2023-03-07 11:28:48 +00:00
RiotRobot ca26449ccc Upgrade matrix-js-sdk to 23.5.0-rc.1 2023-03-07 11:27:16 +00:00
RiotRobot 47b5ff55cc Merge branch 'develop' into staging 2023-03-07 11:12:54 +00:00
Suguru Hirahara 1b806bb47b
Remove obsolete mx_BetaDot style rules introduced for Space release ()
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2023-03-07 11:03:39 +00:00
Michael Telatynski 32aa18ff2e
Apply `strictNullChecks` to `src/components/views/auth/*` (
* Apply `strictNullChecks` to src/components/views/auth/*

* Iterate PR
2023-03-07 10:45:55 +00:00
Andy Balaam c79eff2292
Merge pull request from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Translations update from Weblate
2023-03-07 10:42:55 +00:00
Priit Jõerüüt ebfc22808e Translated using Weblate (Estonian)
Currently translated at 100.0% (3744 of 3744 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-07 10:23:20 +00:00
Weblate 55b579afef 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-07 09:56:37 +00:00
Weblate 4c61291c44 Merge branch 'origin/develop' into Weblate. 2023-03-07 09:55:42 +00:00
Priit Jõerüüt 45f387a387 Translated using Weblate (Estonian)
Currently translated at 99.9% (3742 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-07 09:55:42 +00:00