Commit Graph

1343 Commits (2df946b5b198b0aeb62a30aaf93453f9e5693574)

Author SHA1 Message Date
Florian Duros 2df946b5b1
Tooltip: Use `AccessibleButton` in `RovingAccessibleTooltipButton` (#12458)
* Use `AccessibleButton` in `RovingAccessibleTooltipButton`

* Update snapshots

* Update @vector-im/compound-web

* Update playwright

* Remove placement
2024-04-30 09:35:58 +00:00
Hubert Chathi d5bf1022e9
Use a different error message for UTDs when you weren't in the room. (#12453)
* Use different messages for UTDs sent before login

* Playwright test for historical events

* Add some tests

* initial work on pre-join UTDs

* add playwright tests and remove old pre-join UTD logic

* run i18n script

* fix type error

* use different error code in PostHog for pre-join UTD

* don't remove old pre-join UTD logic yet

---------

Co-authored-by: Richard van der Hoff <richard@matrix.org>
2024-04-29 17:18:57 +00:00
RiotRobot 33c56e565d Reset matrix-js-sdk back to develop branch 2024-04-23 12:57:29 +00:00
RiotRobot c778b0f908 Merge branch 'master' into develop 2024-04-23 12:57:17 +00:00
RiotRobot c3f8189f0f Upgrade dependency to matrix-js-sdk@32.1.0 2024-04-23 12:35:46 +00:00
David Baker 427be433d0
Add analytics to activity toggles (#12418)
* Add analytics to activity toggles

Requires https://github.com/matrix-org/matrix-analytics-events/pull/101

* Add test

* Fix comment a bit

* Update to new analytics events package
2024-04-22 16:15:29 +00:00
Florian Duros fb989ee7f3
Update compound web 2024-04-18 15:40:29 +02:00
Florian Duros 48a3a0992e
Merge branch 'refs/heads/develop' into florianduros/tooltip-update 2024-04-18 10:09:31 +02:00
renovate[bot] 0e65a5aae6
Update dependency posthog-js to v1.126.0 (#12437)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-04-17 14:46:59 +00:00
Richard van der Hoff 04b5b587a1
Expected UTDs: report a different Posthog code (#12389)
* `DecryptionFailureTracker`: stronger typing

Use `DecryptionFailureCode` rather than string

* `DecryptionFailureTracker`: remove use of `DecryptionError`

The second argument to `MatrixEventEvent.Decrypted` callbacks is deprecatedf,
and we can get the info we need direct from the event. This means that we no
longer need to reference the internal `DecryptionError` class in the js-sdk.

* `DecryptionFailureTracker`: use a different Posthog code for historical UTDs

* Update for new UTD error codes
2024-04-17 12:36:01 +00:00
Florian Duros 9b5d4716e2
Merge branch 'develop' into florianduros/tooltip-update 2024-04-17 11:57:12 +02:00
renovate[bot] 193237f204
Update dependency eslint-plugin-jest to v28 (#12431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 15:27:21 +00:00
renovate[bot] 3e12cd950a
Update all non-major dependencies (#12423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 14:47:44 +00:00
renovate[bot] 8d22cab686
Update dependency eslint-plugin-unicorn to v52 (#12432)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 14:06:04 +00:00
renovate[bot] b1bd46cc5f
Update typescript-eslint monorepo to v7.6.0 (#12427)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 14:04:18 +00:00
renovate[bot] 68b43f26ac
Update dependency @sentry/browser to v7.110.0 (#12425)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 14:02:53 +00:00
renovate[bot] e8fc2cf91b
Update dependency @playwright/test to v1.43.1 (#12424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 14:02:41 +00:00
renovate[bot] 30b864f6f0
Update dependency @types/node to v18.19.31 (#12421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 14:01:24 +00:00
renovate[bot] ceab73ab0f
Update babel monorepo to v7.24.4 (#12420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-16 14:00:19 +00:00
RiotRobot 45f5abb33d Upgrade dependency to matrix-js-sdk@32.1.0-rc.0 2024-04-16 12:18:27 +00:00
Florian Duros 89b1c2ff70
Update `@vector-im/compound-web` to `v4.0.1` 2024-04-15 16:18:11 +02:00
Florian Duros 30d60bfcdd
Update compound to v4.0.0` 2024-04-15 15:15:09 +02:00
Thor Arne Johansen 6392759bec
Replace `SecurityCustomisations` with `CryptoSetupExtension` (#12342)
* Changed call sites from customisations/security to ModuleRunner.extensions

* Updated depenndecy and added tests

* Fixed style and formatting with prettier

* Fix according to Element PR comments

* Fixing issues raised in PR review

* Removed commented code. Improved encapsulation. Removed noisy logging

* Improved language of comment about calling the factory

* Refactor to get better encapsulation

* Find a better name. Provide explicit reset function. Provide more TSDoc

* Simplify mock for cryptoSetup, and add assertion for exception message.

* Remove unused className property. Adjust TSDoc comments

* Fix linting  and code style issues

* Added test to ensure we canregister anduse experimental extensions

* Fix linting and code-style issues

* Added test to ensure only on registration of experimental extensions

* Added test toensure call to getDehydratedDeviceCallback()

* Test what happens when there is no implementation

* Iterating cryptoSetup tests

* Lint/prettier fix

* Assert both branches when checking for dehydrationkey callback

* Update src/modules/ModuleRunner.ts

Language and formatting

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Update src/modules/ModuleRunner.ts

Reset by setting a fresh ExtensionsManager

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Update src/modules/ModuleRunner.ts

Use regular comment instead of TSDoc style comment

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Update test/MatrixClientPeg-test.ts

No need to extend the base class

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Update src/modules/ModuleRunner.ts

Fix spelling

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Update src/modules/ModuleRunner.ts

Fix spelling

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Update src/modules/ModuleRunner.ts

Fix TSDoc formatting

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Simplify mock setup

* Simplified mock and cleaned up a bit

* Keeping track of extensions is an implementation detail internal to ExtensionsManager.  Language and punctuation

* Addressed issues and comments from PR review

* Update src/modules/ModuleRunner.ts

Keep the flags to track implementations as direct properties

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Fix flattening of implementation map

* Update src/modules/ModuleRunner.ts

Fix whitespace

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-04-12 15:15:17 +00:00
RiotRobot 0daf0cfa80 Reset matrix-js-sdk back to develop branch 2024-04-09 10:13:05 +00:00
RiotRobot 2695e2f097 Merge branch 'master' into develop 2024-04-09 10:12:54 +00:00
RiotRobot 33cbe62080 Upgrade dependency to matrix-js-sdk@32.0.0 2024-04-09 10:08:19 +00:00
Florian Duros 5815e70b76
TAC: Release Announcement (#12380)
* WIP

* Store the release announcements in the account settings

* Update TAC release announcement description

* Fix settings content comparison

* Add logging in case of failure

* Watch settings changes

* I add release announcement settings to disable it

* Disable release announcement in e2e test

* Add release announcement in e2e test

* Add tests for ReleaseAnnouncementStore.ts

* Update compound-web to `3.3.0`

* Update TAC tests

* Update Labs tests

* Nits

* Add test for ReleaseAnnouncement.tsx

* Update `@vector-im/compound-web`

* Add playwright snapshot

* Delete false playwright screenshot

* Wait for EW to be displayed after reload

* Add screenshot

* Clean util file

* Renaming and comments fixing

* Use second store instead of looking in the store.

---------

Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2024-04-08 08:43:59 +00:00
David Baker 307d737555
Add analytics for mark all threads unread (#12384)
* Add analytics for mark all threads unread

* Upgrade matrix-analytics events for new event
2024-04-04 12:12:30 +00:00
renovate[bot] 0ad769f009
Update typescript-eslint monorepo to v7.4.0 (#12400)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 15:55:57 +00:00
renovate[bot] 64ac532317
Update dependency stylelint to v16.3.1 (#12399)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 15:30:59 +00:00
renovate[bot] 5e0068b984
Update dependency @sentry/browser to v7.109.0 (#12397)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 14:38:27 +00:00
renovate[bot] de9e7e367c
Update dependency typescript to v5.4.3 (#12396)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 14:05:16 +00:00
renovate[bot] 9e7500d179
Update dependency @types/node to v18.19.28 (#12395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 13:12:11 +00:00
renovate[bot] 784786da0d
Update babel monorepo to v7.24.3 (#12394)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 12:46:25 +00:00
renovate[bot] b4e1e0bd9f
Update all non-major dependencies (#12393)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 11:45:37 +00:00
RiotRobot 485c12e6cb Upgrade dependency to matrix-js-sdk@32.0.0-rc.0 2024-04-02 16:16:49 +00:00
RiotRobot f8e210f1a0 Reset matrix-js-sdk back to develop branch 2024-03-28 16:54:39 +00:00
RiotRobot 21190045c1 Reset matrix-js-sdk back to develop branch 2024-03-26 16:36:44 +00:00
RiotRobot c699c6bead Merge branch 'master' into develop 2024-03-26 16:36:28 +00:00
RiotRobot 69c23b5ae7 Upgrade dependency to matrix-js-sdk@31.6.0 2024-03-26 16:27:24 +00:00
renovate[bot] 2e7668752f
Update dependency axe-core to v4.9.0 (#12373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 11:54:51 +00:00
renovate[bot] 7697c27fa3
Update dependency express to v4.19.2 [SECURITY] (#12372)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 23:23:24 +00:00
renovate[bot] 53f837d5e0
Update dependency katex to v0.16.10 [SECURITY] (#12371)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 22:38:52 +00:00
renovate[bot] 665605b2b6
Update dependency typescript to v5.4.2 (#12324)
* Update dependency typescript to v5.4.2

* Fix type conflicts

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Make tsc happier

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-19 17:55:06 +00:00
renovate[bot] 9c78b357bd
Update all non-major dependencies (#12351)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 17:47:51 +00:00
renovate[bot] 7cbf7cce42
Update dependency @sentry/browser to v7.107.0 (#12354)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 16:40:43 +00:00
renovate[bot] c9caf1bc36
Update typescript-eslint monorepo to v7.2.0 (#12355)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 16:40:39 +00:00
renovate[bot] e21b000526
Update definitelyTyped (#12353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 16:40:14 +00:00
renovate[bot] 99e32df342
Update babel monorepo to v7.24.1 (#12352)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 16:39:47 +00:00
RiotRobot f8131e2363 Upgrade dependency to matrix-js-sdk@31.6.0-rc.0 2024-03-19 15:07:34 +00:00