Commit Graph

2274 Commits

Author SHA1 Message Date
Florian Duros
7193d4c695
TAC: Fix accessibility issue when the Release announcement is displayed (#12482)
* Update `@vector-im/compound-web`

* Update TAC snapshots

* Update space panel snapshots
2024-05-02 13:23:25 +00:00
renovate[bot]
74e7195a61
Update react-types (#11815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 13:11:43 +01:00
renovate[bot]
091499810c
Update dependency posthog-js to v1.130.1 (#12479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-01 10:26:39 +00:00
renovate[bot]
1c79bbb1ae
Update dependency typescript to v5.4.5 (#12422)
* Update dependency typescript to v5.4.5

* Fix types

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-04-30 15:28:23 +00:00
renovate[bot]
dafd9c23b8
Update all non-major dependencies (#12468)
* Update all non-major dependencies

* Update posthog user state access

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-04-30 14:41:46 +00:00
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
5f9edc6049 Resetting package fields for development 2024-04-23 12:57:18 +00:00
RiotRobot
c778b0f908 Merge branch 'master' into develop 2024-04-23 12:57:17 +00:00
RiotRobot
0c40f6d26f v3.98.0 2024-04-23 12:56:04 +00:00
RiotRobot
c3f8189f0f Upgrade dependency to matrix-js-sdk@32.1.0 2024-04-23 12:35:46 +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
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
RiotRobot
11a0422b91 v3.98.0-rc.0 2024-04-16 12:22: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
cbfdcabd04 Resetting package fields for development 2024-04-09 10:12:55 +00:00
RiotRobot
2695e2f097 Merge branch 'master' into develop 2024-04-09 10:12:54 +00:00
RiotRobot
adc805828d v3.97.0 2024-04-09 10:11:49 +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]
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]
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
961ca278c9 v3.97.0-rc.0 2024-04-02 16:22:41 +00:00
RiotRobot
485c12e6cb Upgrade dependency to matrix-js-sdk@32.0.0-rc.0 2024-04-02 16:16:49 +00:00
RiotRobot
b3e96d037c Merge branch 'master' into develop 2024-03-28 16:54:25 +00:00
RiotRobot
3d0e7c657d v3.96.1 2024-03-28 16:53:21 +00:00
RiotRobot
6f5591b9e2 Upgrade dependency to matrix-js-sdk@31.6.1 2024-03-28 16:46:16 +00:00
RiotRobot
faf7b04899 v3.96.0 2024-03-26 16:35:13 +00:00
RiotRobot
69c23b5ae7 Upgrade dependency to matrix-js-sdk@31.6.0 2024-03-26 16:27:24 +00:00
RiotRobot
21190045c1 Reset matrix-js-sdk back to develop branch 2024-03-26 16:36:44 +00:00
RiotRobot
abd4caadb3 Resetting package fields for development 2024-03-26 16:36:29 +00:00
RiotRobot
c699c6bead Merge branch 'master' into develop 2024-03-26 16:36:28 +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]
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
RiotRobot
ce8a2f333d v3.96.0-rc.0 2024-03-19 15:17:02 +00:00
RiotRobot
f8131e2363 Upgrade dependency to matrix-js-sdk@31.6.0-rc.0 2024-03-19 15:07:34 +00:00
David Baker
a5ed97b903
Mark as Unread (#12254)
* Support the mark as unread flag

* Add mark as unread menu option

and make clering notifications also clear the unread flag

* Mark as read on viewing room

* Tests

* Remove random import

* Don't show mark as unread for historical rooms

* Fix tests & add test for menu option

* Test RoomNotificationState updates on unread flag change

* Test it doesn't update on other room account data

* New icon for mark as unread

* Add analytics events for mark as (un)read

* Bump to new analytics-events package

* Read from both stable & unstable prefixes

* Cast to boolean before checking

to avoid setting state unnecessarily

* Typo

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

* Doc external interface (and the rest at the same time)

* Doc & rename unread market set function

* Doc const exports

* Remove listener on destroy

* Add playwright test

* Clearer language, hopefully

* Move comment

* Add reference to the MSC

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

* Expand on function doc

* Remove empty beforeEach

* Rejig badge logic a little and add tests

* Fix basdges to not display dots in room sublists again

and hopefully rename the forceDot option to something that better
indicates what it does, and add tests.

* Remove duplicate license header (?)

* Missing word (several times...)

* Incorporate PR suggestion on badge type switch

* Better description in doc comment

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

* Update other doc comments in the same way

* Remove duplicate quote

* Use quotes consistently

* Better test name

* c+p fail

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-03-19 13:28:20 +00:00
RiotRobot
84f5bc7281 Merge branch 'master' into develop 2024-03-14 17:14:31 +00:00