Commit Graph

2404 Commits (cd4f30152f7666ac32cd84fa8c3f5eafc9b67217)

Author SHA1 Message Date
renovate[bot] ce36a67504
Update typescript-eslint monorepo to v7 (#12278)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:52:43 +00:00
renovate[bot] 5e71c36504
Update dependency eslint-plugin-unicorn to v51 (#12276)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:05:14 +00:00
renovate[bot] 37672f3964
Update dependency @types/sanitize-html to v2.11.0 (#12275)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:05:09 +00:00
renovate[bot] 0db6c6df70
Update dependency axe-core to v4.8.4 (#12273)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-21 19:04:34 +00:00
RiotRobot 15e51301a7 v3.93.0-rc.0 2024-02-21 18:19:36 +00:00
RiotRobot 7646b894d1 Upgrade dependency to matrix-js-sdk@31.4.0-rc.0 2024-02-21 17:57:48 +00:00
renovate[bot] 300f30eca9
Update dependency oidc-client-ts to v3 (#12223)
* Mock subtle crypto in OIDC test

To unblock upgrade to oidc-client-ts

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

* Update dependency oidc-client-ts to v3

* delint

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

* Ensure oidc-client-ts 3.0.1 to drop crypto-js

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-19 16:58:59 +00:00
Michael Telatynski c71b8fdf78
Saner releases clean up (#12258)
* Remove allchange dependency

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

* Remove stale release scripts

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

* Update pull request template to remove allchange behaviours

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-19 12:32:28 +00:00
RiotRobot ee50640075 Reset matrix-js-sdk back to develop branch 2024-02-13 15:03:38 +00:00
RiotRobot 2eacb0ac92 Resetting package fields for development 2024-02-13 15:03:28 +00:00
RiotRobot 6036dd01e1 Merge branch 'master' into develop 2024-02-13 15:03:27 +00:00
RiotRobot cfd58016e8 v3.92.0 2024-02-13 15:02:07 +00:00
RiotRobot 368db9d2b4 Upgrade dependency to matrix-js-sdk@31.3.0 2024-02-13 14:57:12 +00:00
Florian Duros 967695b6ad
Fix tooltip behaviour in TAC (#12236)
* Update compound to `3.1.1`

* Update `yarn.lock`
2024-02-08 13:13:46 +00:00
Robin b422641258
Upgrade compound-web (#12234)
* Upgrade compound-web

I forgot to include this in https://github.com/matrix-org/matrix-react-sdk/pull/12209, which has caused avatar and username colors to be out of sync and sometimes revert to plain black/white.

* Update tests

* Update tests
2024-02-07 17:26:05 +00:00
Florian Duros a4987060b7
Pop out of Threads Activity Centre (#12136)
* Add `Thread Activity centre` labs flag

* Rename translation string

* WIP Thread Activity Centre

* Update supportedLevels

* css lint

* i18n lint

* Fix labs subsection test

* Update Threads Activity Centre label

* Rename Thread Activity Centre to Threads Activity Centre

* Use compound `MenuItem` instead of custom button

* Color thread icon when hovered

* Make the pop-up scrollable and add a max height

* Remove Math.random in key

* Remove unused class

* Change add comments on `mx_ThreadsActivityRows` and `mx_ThreadsActivityRow`

* Make threads activity centre labs flag split out unread counts

Just shows notif & unread counts for main thread if the TAC is enabled.

* Fix tests

* Simpler fix

* Open thread panel when thread clicke in Threads Activity Centre

Hopefully this is a sensible enough way. The panel will stay open of
course (ie. if you go to a different room & come back), but that's the
nature of the right panel.

* Dynamic state of room

* Add doc

* Use the StatelessNotificationBadge component in ThreadsActivityCentre

and re-use the existing NotificationLevel

* Remove unused style

* Add room sorting

* Fix `ThreadsActivityRow` props doc

* Pass in & cache the status of the TAC labs flag

* Pass includeThreads as setting to doesRoomHaveUnreadMessages too

* Fix tests

* Add analytics to the TAC (#12179)

* Update TAC label (#12186)

* Add `IndicatorIcon` to the TAC button (#12182)

Add `IndicatorIcon` to the TAC button

* Threads don't have activity if the room is muted

This makes it match the computation in determineUnreadState.
Ideally this logic should all be in one place.

* Re-use doesRoomHaveUnreadThreads for useRoomThreadNotifications

This incorporates the logic of not showing unread dots if the room
is muted

* Add TAC description in labs (#12197)

* Fox position & size of dot on the tac button

IndicatorIcon doesn't like having the size of its icon adjusted and
we probably shouldn't do it anyway: better to specify to the component
what size we want it.

* TAC: Utils tests (#12200)

* Add tests for `doesRoomHaveUnreadThreads`
* Add tests for `getThreadNotificationLevel`

* Add test for the ThreadsActivityCentre component

* Add snapshot test

* Fix narrow hover background on TAC button

Make the button 32x32 (and the inner icon 24x24)

* Add caption for empty TAC

* s/tac/threads_activity_centre/

* Fix i18n & add tests

* Add playwright tests for the TAC (#12227)

* Fox comments

---------

Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2024-02-07 13:49:40 +00:00
Robin 3052025dd0
Use new semantic tokens for username colors (#12209)
* Use new semantic tokens for username colors

To match the tokens now used by the Compound Web avatar component

* Fix incorrect lock icon

* Update screenshots
2024-02-06 20:54:30 +00:00
RiotRobot 6336cf4dc9 v3.92.0-rc.1 2024-02-06 15:44:02 +00:00
RiotRobot 31e7c39d95 Upgrade dependency to matrix-js-sdk@31.3.0-rc.4 2024-02-06 15:38:02 +00:00
Valere 4eba6b0387 Fix the StorageManger detecting a false positive consistency check when manually migrating to rust from labs (#12225)
* Fix StorageManager checks for rust migration manual opt-in

* fix restricted imports

* Moved utility to check db internals into js-sdk

* fix typos and test names

* more timeout for migration test

(cherry picked from commit cdfcd37b94)
2024-02-06 13:19:43 +00:00
Valere cdfcd37b94
Fix the StorageManger detecting a false positive consistency check when manually migrating to rust from labs (#12225)
* Fix StorageManager checks for rust migration manual opt-in

* fix restricted imports

* Moved utility to check db internals into js-sdk

* fix typos and test names

* more timeout for migration test
2024-02-05 17:57:12 +00:00
renovate[bot] b4ba6411ef
Update dependency @types/jest to v29.5.12 (#12218)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-02 17:33:16 +00:00
RiotRobot 80245a52ed v3.92.0-rc.0 2024-02-02 15:06:59 +00:00
RiotRobot 1aeee16d9e Upgrade dependency to matrix-js-sdk@31.3.0-rc.3 2024-02-02 15:02:10 +00:00
David Baker c1871ea59f
Update to compound-web 3.0.1 (#12208)
* Update to compound-web 3.0.1

Pulls in a fix to make the indicator icon dot black/white rather than
grey for activity.

* Update snapshots

* More snapshots
2024-02-02 10:26:06 +00:00
Michael Telatynski c6dddf813c
Switch prepublishOnly to prepack to catch errors earlier (#12202)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-02-01 11:25:58 +00:00
Valere a5f9df5855
Support staged rollout of migration to Rust Crypto (#12184)
* Rust migration staged rollout

* Phased rollout unit tests
2024-01-31 15:52:23 +00:00
RiotRobot 31449d6f80 Reset matrix-js-sdk back to develop branch 2024-01-31 14:53:35 +00:00
RiotRobot 0ef487da3f Resetting package fields for development 2024-01-31 14:53:26 +00:00
RiotRobot 9b69b86833 Merge branch 'master' into develop 2024-01-31 14:53:25 +00:00
RiotRobot 7be71be175 v3.91.0 2024-01-31 14:52:14 +00:00
RiotRobot 68d07a3077 Upgrade matrix-js-sdk to 31.2.0 2024-01-31 14:52:12 +00:00
David Baker 95430cecbc
Add notification dots to thread summary icons (#12146)
* Add notification dots to thread summary icons

Adopts new IndicatorIcon from compound to have threads icons with
indicator dot (that aren't also buttons). Adds green & red dots on
the threads icon in the thread summary to indicate notifications.
Changes the notification level dots colours in the threads panel to
be green to match.

* Update test for new CSS class

* Update snapshots with new class name

* Another snapshot update for new class name

* Replace more uses of old class name in tests

* More snapshot updates for new class name

* Unsure how this ever worked in chronological mode

* More snapshot updates

* Fix dot colours

* Upgrade to compound-web 3

* Fix computed notification levels

* Add test for notificationLevelToIndicator
2024-01-25 16:53:41 +00:00
RiotRobot 1e843b86f1 v3.91.0-rc.1 2024-01-24 16:38:56 +00:00
renovate[bot] aea55eb080
Update all non-major dependencies (#12168)
* Update all non-major dependencies

* prettier

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-01-24 10:30:20 +00:00
RiotRobot 863c9be710 v3.91.0-rc.0 2024-01-23 18:42:12 +00:00
RiotRobot 10ae0d1840 Upgrade matrix-js-sdk to 31.2.0-rc.0 2024-01-23 18:42:10 +00:00
Charly Nguyen 11096b207a
Expose apps/widgets (#12071)
* Expose apps/widgets

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Bump @matrix-org/react-sdk-module-api from 2.2.1 to 2.3.0

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

---------

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2024-01-22 10:53:27 +00:00
RiotRobot d48740b4e8 Merge branch 'master' into develop 2024-01-19 13:50:12 +00:00
RiotRobot 4681bbbfce v3.90.0 2024-01-19 13:48:46 +00:00
RiotRobot abce0fdd2d Upgrade matrix-js-sdk to 31.1.0 2024-01-19 13:48:45 +00:00
RiotRobot 3c405ac34d Reset matrix-js-sdk back to develop branch 2024-01-16 17:41:19 +00:00
RiotRobot 385e5a8bdb Resetting package fields for development 2024-01-16 17:41:09 +00:00
RiotRobot 559cf3ed89 Merge branch 'master' into develop 2024-01-16 17:41:08 +00:00
RiotRobot 9e16381a6e v3.89.0 2024-01-16 17:39:45 +00:00
RiotRobot 8e77e2dd5f Upgrade matrix-js-sdk to 31.0.0 2024-01-16 17:39:44 +00:00
Michael Telatynski 5983528a8d
Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
renovate[bot] 56d8ef3640
Update dependency @vector-im/compound-web to v2 (#12133)
* Update dependency @vector-im/compound-web to v2

* Update Tooltip props

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

* Include TooltipProvider in MatrixChat

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

* Fix pillify & tooltipify

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

* Update tests to use TooltipProvider where necessary

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

* Fix tooltips in Modals, ContextMenus, PersistedElements, Spoiler, HtmlExport

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

* Update tests

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

* delint

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

* Update tests

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

* Fix tooltips in HTMLExport

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

* Don't pass mountAsChild to DOM

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

* prettier

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

* Stabilise test

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-01-11 19:56:36 +00:00
renovate[bot] 6187c8c884
Update all non-major dependencies (#12130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 12:51:00 +00:00
renovate[bot] 1c72867f2f
Update dependency diff-dom to v5 (#12134)
* Update dependency diff-dom to v5

* Update snapshot

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-01-11 12:37:48 +00:00
renovate[bot] c2b5c1fe96
Update all non-major dependencies (#12118)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-10 16:26:00 +00:00
renovate[bot] 1333456fc8
Update dependency stylelint-config-standard to v36 (#12124)
* Update dependency stylelint-config-standard to v36

* Update stylelint

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-01-10 10:42:30 +00:00
renovate[bot] d82c3eea4f
Update dependency @vector-im/compound-web to v1 (#12122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-10 10:19:43 +00:00
renovate[bot] 559d11c3e9
Update dependency axe-core to v4.8.3 (#12117)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-10 10:13:33 +00:00
renovate[bot] 973d28313b
Update dependency eslint-plugin-unicorn to v50 (#12123)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-10 10:10:11 +00:00
renovate[bot] 1091ba3e7c
Update dependency emojibase-regex to v15.3.0 (#12045)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-10 03:02:50 +00:00
RiotRobot 7d03189307 v3.89.0-rc.0 2024-01-09 17:56:36 +00:00
RiotRobot 9705af7abc Upgrade matrix-js-sdk to 31.0.0-rc.0 2024-01-09 17:56:34 +00:00
RiotRobot 1ccfc9a37e Merge branch 'master' into develop 2024-01-04 14:33:43 +00:00
RiotRobot 2f67fe3079 v3.88.0 2024-01-04 14:32:30 +00:00
renovate[bot] 11be614a2f
Update typescript-eslint monorepo to v6 (major) (#12096)
* Update typescript-eslint monorepo to v6

* Fix typo

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-01-02 21:00:15 +00:00
renovate[bot] a0c8575113
Update dependency prettier to v3 (#12095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-02 18:56:39 +00:00
RiotRobot d2f7b4a2bf Reset matrix-js-sdk back to develop branch 2023-12-19 15:54:00 +00:00
RiotRobot 1b3865b0ba Resetting package fields for development 2023-12-19 15:53:49 +00:00
RiotRobot 33f23088a2 Merge branch 'master' into develop 2023-12-19 15:53:48 +00:00
RiotRobot 951c0d8483 v3.87.0 2023-12-19 15:52:17 +00:00
RiotRobot 069233acdc Upgrade matrix-js-sdk to 30.3.0 2023-12-19 15:52:15 +00:00
R Midhun Suresh a7c039d314
Fix playwright screenshot update command on linux (#12060)
* Change permission for synapse to work

* Upgrade playwright
2023-12-15 14:30:59 +00:00
renovate[bot] 6669cb70e4
Update dependency @vector-im/compound-web to v0.9.4 (#11891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-12-14 11:10:01 +00:00
renovate[bot] e3336aef29
Update dependency stylelint to v16 - abandoned (#12046)
* Update dependency stylelint to v16

* Bump stylelint-scss for compat

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>
2023-12-13 10:02:12 +00:00
renovate[bot] 7ea9da52a2
Update dependency stylelint-config-standard to v35 (#12047)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 18:37:18 +00:00
renovate[bot] 6cf2c0d437
Update dependency typescript to v5.3.3 (#12043)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 18:28:44 +00:00
renovate[bot] 1f1d791270
Update dependency @types/jest to v29.5.11 (#12041)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-12 18:28:26 +00:00
RiotRobot 337603e09b v3.87.0-rc.0 2023-12-12 17:01:41 +00:00
RiotRobot 73f4702d18 Upgrade matrix-js-sdk to 30.3.0-rc.0 2023-12-12 17:01:39 +00:00
Michael Telatynski d5abde0e6e
Improve usage of Playwright and documentation (#11999)
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-12-06 10:13:48 +00:00
RiotRobot f48f400361 Reset matrix-js-sdk back to develop branch 2023-12-05 13:57:02 +00:00
RiotRobot 4792a56d34 Resetting package fields for development 2023-12-05 13:56:53 +00:00
RiotRobot 9e794eac8a Merge branch 'master' into develop 2023-12-05 13:56:52 +00:00
RiotRobot d03d47504e v3.86.0 2023-12-05 13:55:21 +00:00
RiotRobot 8960f50ba1 Upgrade matrix-js-sdk to 30.2.0 2023-12-05 13:55:20 +00:00
renovate[bot] b4988de04b
Update definitelyTyped (#11963)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 08:36:48 +00:00
renovate[bot] 8dcddb50d5
Update dependency @types/jest to v29.5.10 (#11964)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 21:46:52 +00:00
renovate[bot] c686766767
Update dependency typescript to v5.3.2 (#11967)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 19:40:11 +00:00
renovate[bot] 078de43293
Update linkify to v4.1.3 (#11965)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 19:20:22 +00:00
renovate[bot] d0fdf27770
Update all non-major dependencies (#11961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-28 19:19:53 +00:00
RiotRobot 572bca4037 v3.86.0-rc.2 2023-11-28 17:09:47 +00:00
Michael Telatynski e97e378805
Fix types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-28 17:05:14 +00:00
RiotRobot 5afae541c1 v3.86.0-rc.1 2023-11-28 16:49:50 +00:00
Michael Telatynski ad0b90b2c1
Fix types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-28 16:46:46 +00:00
RiotRobot 31f3b8208f v3.86.0-rc.0 2023-11-28 16:22:30 +00:00
RiotRobot 5075d20944 Upgrade matrix-js-sdk to 30.2.0-rc.0 2023-11-28 16:22:28 +00:00
Michael Telatynski d827723b3d
Migrate user-onboarding-*.spec.ts from Cypress to Playwright (#11927)
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
Co-authored-by: Johannes Marbach <johannesm@element.io>
Co-authored-by: Milton Moura <miltonmoura@gmail.com>
2023-11-27 12:11:00 +00:00
Michael Telatynski a6705304aa
Port remaining login.spec.ts & soft_logout.spec.ts tests from Cypress to Playwright (#11917)
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2023-11-23 10:27:11 +00:00
Michael Telatynski 8dcd13eb6d
Migrate email.spec.ts from Cypress to Playwright (#11920)
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2023-11-23 09:09:32 +00:00
Johannes Marbach e521fd529e
Set up CI to lint workflows with action-validator (#11921) 2023-11-22 15:23:29 +00:00
Michael Telatynski 52e3e0de1f
Add a login test against Synapse to Playwright (#11913)
* Install playwright

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

* Add foundations for writing tests under Playwright

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

* .gitignore juggling

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

* Add tsconfig and fix eslint rules

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

* Add docker & synapse plugins

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

* Add login.spec.ts

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

* Wire up fixture which sets up ElementAppPage & bakes config.json

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

* Remove launch test, it has served its purpose

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

* Remove test which has been ported to Playwright

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

* Fix test not cleaning up after itself

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

* Move registerUser to the Homeserver interface

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

* Remove unused fixture param

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

* Remove redundant launch test

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

* Add newline

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2023-11-22 11:49:51 +00:00
Kerry 668e3a3bd9
Fix: Video Room Chat Header Button Removed (#11911)
* "@vector-im/compound-design-tokens": "^0.1.0"

* add chat button to room header for video rooms

* cleanup useEffect, comments

* comment
2023-11-21 21:28:54 +00:00
Michael Telatynski 0f1f056503
Add Playwright end to end testing (#11912)
* Install playwright

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

* Add foundations for writing tests under Playwright

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

* .gitignore juggling

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

* Add tsconfig and fix eslint rules

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-21 17:33:32 +00:00
RiotRobot c968f11833 Reset matrix-js-sdk back to develop branch 2023-11-21 11:09:46 +00:00
RiotRobot 4b6eb9b171 Resetting package fields for development 2023-11-21 11:09:37 +00:00
RiotRobot feb4a4a559 Merge branch 'master' into develop 2023-11-21 11:09:36 +00:00
RiotRobot a869ff1750 v3.85.0 2023-11-21 11:07:51 +00:00
RiotRobot bf456e59bf Upgrade matrix-js-sdk to 30.1.0 2023-11-21 11:07:50 +00:00
Andy Balaam 6b73700b05
Merge pull request #11892 from matrix-org/andybalaam/bump-rich-text-editor-to-2-17-0
Bump matrix-wysiwyg to 2.17.0
2023-11-17 13:01:44 +00:00
R Midhun Suresh 085b39c7af
Use knapsack pro to speed up cypress tests (#11863)
* Install knapsack pro

* Use knapsack pro command

* Lint

* Use chrome

* Add test file pattern

* Use two different tokens for knapsack

* Use the correct secret

* Update lockfile

* Fix conflict

* Remove redundant options

* Add explaining comment

* Remove outdated variables and steps

* Update comment

* Fix conflict

* Use the chrome we setup earlier

* Add back percy config

* Set knapsack pro branch

* Use github_env to get browser path

* Add badge to readme

* Update .github/workflows/cypress.yaml

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>

* Apply prettier

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-16 16:11:03 +00:00
Andy Balaam 32d1bb0498 Bump matrix-wysiwyg to 2.17.0 2023-11-16 13:54:55 +00:00
Michael Telatynski 39801b4c35
Remove unused dependencies and add transitive deps (#11850)
* Remove unused dependencies and add transitive deps

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

* Iterate

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

* prettier

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

* prettier

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-16 10:42:08 +00:00
renovate[bot] 43909ae44f
Update definitelyTyped (#11874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-16 09:07:58 +00:00
Germain f96583e74a
Update RoomSummaryCard navigation links (#11812)
* Update RoomSummaryCard navigation links

* Fix tests

* remove unneeded test

* "@vector-im/compound-web": "0.8.0"

* Fix: search button no transition on hover

* Fix: disabled invite option is not reflected in UI

* test canInviteTo

* update snapshots for CW 0.8.1

* unit test inviteToRoom

* unit test tagRoom

* add member link to roomsummarycard when using legacy room header

* use onChange instead of onClick for ToggleMenuItem favourite room

* update selectors in cypress tests

* always show people menu item

* add hover style to close button

* add padding around room name

* prettier

---------

Co-authored-by: Kerry Archibald <kerrya@element.io>
2023-11-16 03:25:34 +00:00
renovate[bot] e162814a15
Update matrix-org (#11818)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-15 23:21:43 +00:00
renovate[bot] 735ba6fd90
Update linkify to v4.1.2 (#11877)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-15 23:11:50 +00:00
renovate[bot] 282e0da0a9
Update all non-major dependencies (#11878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-15 22:48:49 +00:00
renovate[bot] d4b191bd36
Update dependency @types/jest to v29.5.8 (#11876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-15 22:45:37 +00:00
RiotRobot b32cfb94ae v3.85.0-rc.1 2023-11-14 15:56:25 +00:00
RiotRobot 47d61b6aee Upgrade matrix-js-sdk to 30.1.0-rc.1 2023-11-14 15:56:23 +00:00
Michael Telatynski 0a206e0a42
Update package.json 2023-11-14 15:31:05 +00:00
RiotRobot e85192ecb5 v3.85.0-rc.0 2023-11-14 14:39:47 +00:00
RiotRobot 48502720a5 Upgrade matrix-js-sdk to v30.1.0-rc.0 2023-11-14 14:39:46 +00:00
ElementRobot 6ee8349f7c Reset matrix-js-sdk back to develop branch 2023-11-13 09:53:28 +00:00
ElementRobot c86e88d043 Merge branch 'master' into develop
# Conflicts:
#	package.json
#	yarn.lock
2023-11-13 09:51:50 +00:00
ElementRobot 36927c2437 v3.84.1 2023-11-13 09:49:26 +00:00
ElementRobot 87276c54eb Upgrade matrix-js-sdk to 30.0.1 2023-11-13 09:46:31 +00:00
Charly Nguyen 47a4e4a52a
Adapt the rendering of extra icons in the room header (#11835)
Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2023-11-09 11:23:30 +00:00
R Midhun Suresh 5023ed9e03
Remove sorry-cypress 2023-11-08 23:54:53 +05:30
renovate[bot] b8f9ef7699
Update vector-im (#11816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Johannes Marbach <johannesm@element.io>
2023-11-08 07:33:34 +00:00
ElementRobot 5ae461989d Reset matrix-js-sdk back to develop branch 2023-11-07 15:16:21 +00:00
ElementRobot a048cb9511 Resetting package fields for development 2023-11-07 15:16:06 +00:00
ElementRobot 0ba9b47227 Merge branch 'master' into develop 2023-11-07 15:16:01 +00:00
ElementRobot 9698dba840 v3.84.0 2023-11-07 15:15:52 +00:00
ElementRobot be492060d9 Upgrade matrix-js-sdk to 30.0.0 2023-11-07 15:14:05 +00:00
Charly Nguyen 01e7e01153
Allow adding extra icons to the room header (#11799)
* Allow adding extra icons to the room header

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

* Apply PR feedback

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>

---------

Signed-off-by: Charly Nguyen <charly.nguyen@nordeck.net>
2023-11-01 12:03:10 +00:00
renovate[bot] 501130d057
Update definitelyTyped (#11813)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-01 09:04:47 +00:00
renovate[bot] 7826c62d28
Update all non-major dependencies (#11817)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-01 08:36:41 +00:00
renovate[bot] 6f40e09ddb
Update dependency eslint-plugin-unicorn to v49 (#11821)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 17:16:23 +00:00
renovate[bot] f89ae2cbf6
Update dependency @types/jest to v29.5.6 (#11814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-31 17:08:25 +00:00
ElementRobot a7d197fbe7 v3.84.0-rc.1 2023-10-31 14:47:16 +00:00
ElementRobot 1b8b42f5cf Upgrade matrix-js-sdk to 30.0.0-rc.1 2023-10-31 14:45:58 +00:00
Hubert Chathi c4852dd216
Use olm from default npm registry, since it's there now (#11807)
and bump to latest version
2023-10-27 21:37:02 +00:00
ElementRobot 6e24b4d221 Reset matrix-js-sdk back to develop branch 2023-10-24 15:35:55 +01:00
ElementRobot 7f2b6711a5 Resetting package fields for development 2023-10-24 15:35:19 +01:00
ElementRobot beb54fbf19 Merge branch 'master' into develop 2023-10-24 15:35:15 +01:00
ElementRobot c0c859c7ea v3.83.0 2023-10-24 15:35:06 +01:00
ElementRobot ef7132523b Upgrade matrix-js-sdk to 29.1.0 2023-10-24 15:31:58 +01:00
Germain f784a085fd
New right panel visual language (#11664)
* New right panel visual language

* Upgrade Compound

* Align old room header with right panel

* Rigth panel look and feel

* Fix linting and e2e tests

* Update snapshot

* Add test

* Lint

* Remove screenshot local script

* Update snapshots and UI based on feedback

* fix i18n key

* Update right panel visuals

* Fix tests

* lintfixes

* fix tests

* fix tests

* Add tests for search icon

* Fix invite dialog spec
2023-10-20 13:30:37 +00:00
renovate[bot] 5a961795bc
Update matrix-org (#11625)
* Update matrix-org

* Update analytics calls

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

* Hold back wysiwyg

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>
2023-10-19 08:02:24 +00:00
renovate[bot] 68392e2ce1
Update react-types (#11565)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-19 08:56:37 +01:00
renovate[bot] 67452f5021
Update all non-major dependencies (#11618)
* Update all non-major dependencies

* Fix types

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

* highlight.js breaking change

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

* Hold back jest-sonar-reporter

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>
2023-10-18 16:18:13 +00:00
renovate[bot] ea19aa17e1
Update dependency @testing-library/dom to v9 (#11768)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 16:09:35 +00:00
renovate[bot] 3bf5bcbd2b
Update dependency emojibase-regex to v15.2.0 (#11767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 16:00:10 +00:00
renovate[bot] 087ed6dbfc
Update definitelyTyped (#11620)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-17 18:17:09 +01:00
renovate[bot] aaa11323d4
Update dependency axe-core to v4.8.2 (#11622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 15:20:08 +00:00
ElementRobot b09251db69 v3.83.0-rc.1 2023-10-17 15:18:58 +01:00
ElementRobot a00e27d6b2 Upgrade matrix-js-sdk to 29.1.0-rc.1 2023-10-17 15:12:23 +01:00
Michael Telatynski a267b86fef
Fix some of the peer dependency unmet warnings (#11745)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-13 13:39:28 +00:00
renovate[bot] 3bd6dd9143
Update vector-im (#11621)
* Update vector-im

* Update snapshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-12 11:12:59 +00:00
RiotRobot 217073b7f5 Reset matrix-js-sdk back to develop branch 2023-10-10 09:23:03 +01:00
RiotRobot 48cca9261d Resetting package fields for development 2023-10-10 09:22:50 +01:00
RiotRobot 384e01481a Merge branch 'master' into develop 2023-10-10 09:22:45 +01:00
RiotRobot 71f54349d5 v3.82.0 2023-10-10 09:22:28 +01:00
RiotRobot 2cf302ccf3 Upgrade matrix-js-sdk to 29.0.0 2023-10-10 09:18:08 +01:00
Michael Telatynski 9d1f10e4be
Update workflows around i18n to use Localazy (#11455)
* Remove prunei18n

* Update README

* Update matrix-web-i18n

* Iterate

* Add feature=filter_untranslated

* yarn.lock

* Update localazy.json

* Update package.json

* Update localazy.json

* Update matrix-web-i18n and update i18n:lint

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

* Iterate

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

* Iterate

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

* Remove stale workflow

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

* Localazy Download

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

* i18n

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

* Localazy Download

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-04 09:28:09 +00:00
RiotRobot 07dfa76ee7 v3.82.0-rc.1 2023-10-03 11:49:49 +01:00
RiotRobot f0dff0b4ed Upgrade matrix-js-sdk to 29.0.0-rc.1 2023-10-03 11:46:07 +01:00
Michael Telatynski 632d8f4bc7
Update custom translations to support nested fields in structured JSON (#11685)
* Update matrix-web-i18n

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

* Fix custom translations for structured JSON nested fields

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

* Fix import

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

* Fix export

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

* Update @matrix-org/react-sdk-module-api

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

* Iterate

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

* Delint

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

* Iterate

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

* Update matrix-web-i18n

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

* Update matrix-web-i18n

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-10-02 10:44:25 +00:00
Andy Balaam ea6cc0fde4 Downgrade Cypress to v12.
(On the understanding that v12 will continue to allow us to use
the sorry-cypress service for balancing test parallelisation.)

Reverts "Update dependency cypress to v13 (#11570)"
This reverts commit 35a6595080.
2023-10-02 10:11:31 +01:00
RiotRobot be315a4186 Resetting package fields for development 2023-09-29 11:14:24 +01:00
RiotRobot 5cb09c683a Merge branch 'master' into develop 2023-09-29 11:14:19 +01:00
RiotRobot ee8e9a1c9d v3.81.1 2023-09-29 11:14:03 +01:00
Michael Telatynski e0f4b26512
Remove focus-visible polyfill (#11677)
* Remove focus-visible polyfill

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

* Update snapshots

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-28 11:52:26 +00:00
RiotRobot 259bef0fce Reset matrix-js-sdk back to develop branch 2023-09-26 13:05:19 +01:00
RiotRobot 0c6e56ca91 Merge branch 'master' into develop 2023-09-26 13:00:53 +01:00
RiotRobot 81c62e51c4 v3.81.0 2023-09-26 12:58:35 +01:00
RiotRobot b3778f5beb Upgrade matrix-js-sdk to 28.2.0 2023-09-26 12:36:02 +01:00
Michael Telatynski 24b10a87c0
Switch to sorry-cypress (#11668) 2023-09-26 07:17:14 +01:00
renovate[bot] b379f8314f
Update jest (#11623)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-22 00:18:31 +00:00
Dominik Henneke 60bed46014
Add an action to upload media files according to MSC4039 (#11311)
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-09-21 19:03:22 +00:00
Michael Telatynski 38315b5e2b
Switch from zxcvbn to @zxcvbn-ts (#11611)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-09-19 22:34:41 +01:00
RiotRobot 45f491e829 v3.81.0-rc.1 2023-09-19 12:43:17 +01:00
RiotRobot 297e524074 Upgrade matrix-js-sdk to 28.2.0-rc.1 2023-09-19 12:41:50 +01:00
RiotRobot 2d5e486db6 Merge branch 'master' into develop 2023-09-13 12:01:35 +01:00
RiotRobot 0a7b3718a7 v3.80.1 2023-09-13 12:01:18 +01:00
Michael Telatynski 4deb864322
Update Compound to fix Firefox-specific avatar regression (#11604) 2023-09-13 11:32:47 +01:00
ElementRobot 6f8f97ba35 Reset matrix-js-sdk back to develop branch 2023-09-12 17:04:51 +01:00
ElementRobot da9321011f Resetting package fields for development 2023-09-12 17:00:10 +01:00
ElementRobot 6a4915ac98 Merge branch 'master' into develop
# Conflicts:
#	res/css/views/avatars/_BaseAvatar.pcss
2023-09-12 16:59:39 +01:00
ElementRobot fc01716588 v3.80.0 2023-09-12 16:58:37 +01:00
ElementRobot 5cd6570a5d Upgrade matrix-js-sdk to 28.1.0 2023-09-12 16:56:34 +01:00
renovate[bot] 8837e5212a
Update dependency axe-core to v4.8.0 (#11585)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 09:02:41 +00:00
ElementRobot ffbc52aa61 v3.80.0-rc.2 2023-09-08 11:58:24 +01:00
renovate[bot] d30c85772a
Update all non-major dependencies (#11383)
* Update all non-major dependencies

* Pin back eslint-plugin-deprecate

* Fix types

* typo

* Fix more typos

---------

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>
2023-09-07 17:40:51 +00:00
renovate[bot] 06b35cd2a2
Update jest (#11564)
* Update jest

* Fix tests

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 16:34:52 +00:00
renovate[bot] 35a6595080
Update dependency cypress to v13 (#11570)
* Update dependency cypress to v13

* Update cypress.config.ts

* Fix test

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-07 15:07:39 +00:00
ElementRobot 87272fc3c6 v3.80.0-rc.1 2023-09-05 16:59:00 +01:00
ElementRobot 3c3438f000 Upgrade matrix-js-sdk to 28.1.0-rc.1 2023-09-05 16:56:48 +01:00
renovate[bot] d34dc0c307
Update vector-im (#11526)
* Update vector-im

* Update snapshots of Compound Avatars

* Update snapshots of Compound Avatars

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-05 08:09:36 +00:00
Johannes Marbach e8e56f8164
Revert "Update react-types (#10762)" (#11476)
This reverts commit 133e973955.
2023-08-29 11:39:52 +00:00
RiotRobot e73cda1b56 Reset matrix-js-sdk back to develop branch 2023-08-29 11:00:55 +01:00
RiotRobot 063d0f2167 Resetting package fields for development 2023-08-29 11:00:38 +01:00
RiotRobot 93524237a7 Merge branch 'master' into develop 2023-08-29 11:00:32 +01:00
RiotRobot 313aebfeba v3.79.0 2023-08-29 11:00:13 +01:00
RiotRobot 71a5df3014 Upgrade matrix-js-sdk to 28.0.0 2023-08-29 10:58:12 +01:00
renovate[bot] 133e973955
Update react-types (#10762)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 19:06:37 +00:00
Richard van der Hoff 839c0a720c
Lock out the first tab if Element is opened in a second tab. (#11425)
* Implement session lock dialogs

* Bump analytics-events package

* clean up resetJsDomAfterEach

* fix types

* update snapshot

* update i18n strings
2023-08-24 08:28:43 +00:00
renovate[bot] 0045b0d982
Update dependency @testing-library/jest-dom to v6 (#11462)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-23 14:22:30 +00:00
Germain 3acc9059ab
Add Voice and Video call in room header (#11444)
* Add Voice and Video call in room header

* Add thread icon in room header

* Add room notification icon to room header

* Fix linting

* Add tests for buttons in room header

* Add JSDoc

* micro optimisations

* Fix call disabled when hanging up

* Fix disabled state change on members count update

* Exclude functional members from members count optionally

* i18n
2023-08-23 14:13:40 +00:00
RiotRobot 169f6fd218 v3.79.0-rc.2 2023-08-23 11:45:51 +01:00
RiotRobot d4f681375d v3.79.0-rc.1 2023-08-22 15:30:05 +01:00
RiotRobot d2b287cb29 Upgrade matrix-js-sdk to 28.0.0-rc.1 2023-08-22 15:26:53 +01:00
Richard van der Hoff d13b6e1b41
Add mechanism to check only one instance of the app is running (#11416)
* Add mechanism to check only one instance of the app is running

This isn't used yet, but will form part of the solution to
https://github.com/vector-im/element-web/issues/25157.

* disable instrumentation for SessionLock

* disable coverage reporting

* exclude SessionLock in sonar.properties

* Revert "disable coverage reporting"

This reverts commit 80c4336f76ec8e47e376b6744ef612a73299d14f.

* only disable session storage

* use pagehide instead of visibilitychange

* Add `checkSessionLockFree`

* Give up waiting for a lock immediately when someone else claims

* Update src/utils/SessionLock.ts
2023-08-22 14:10:47 +00:00
Michael Telatynski d4571aef68
Consume @matrix-org/emojibase-bindings (#11433) 2023-08-21 20:06:40 +01:00
maheichyk 4e4016dffc
Bump module api from 2.0.0 to 2.1.0 (#11442)
Signed-off-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-08-21 17:09:37 +00:00
Dominik Henneke 5c43054bfe
Implement updated open dialog method of the Module API (#11395)
* Implement updated open dialog method

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Apply the review comments

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Add unit tests for the module system dialog

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Bump @matrix-org/react-sdk-module-api from 1.0.0 to 2.0.0

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Run prettier

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

* Apply review comments

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>

---------

Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-08-21 12:09:17 +00:00
Michael Telatynski 3a647229ad
Update matrix-web-i18n (#11436) 2023-08-21 11:36:17 +00:00
Michael Telatynski d81f71f993
Load SAS Emoji translations from `@matrix-org/spec` (#11429)
* Remove last instance of componentWillMount

* Load SAS Emoji translations from @matrix-org/spec

* Fix import

* Test normalisation on both sides

* update comment for @richvdh

* Delint
2023-08-21 08:15:22 +00:00
renovate[bot] 4a91a29d8c
Update dependency eslint-config-prettier to v9 (#11389)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-17 04:28:29 +00:00
Michael Telatynski aee6247ad8
Switch to nested object pluralisation format for i18n files (#11412) 2023-08-16 20:08:54 +01:00
Richard van der Hoff 7a6d81c3b8
Update Jest to more recent release (#11409)
* Update Jest to more recent release

I want to use things like `jest.advanceTimersByTimeAsync`

* more jest updates

* add dep on types/prettier

* fix LegacyRoomHeader-test

* fix MatrixChat-test

* fix RoomView-test

* fix PollHistory-test

* update SidebarUserSettingsTab-test

* fix PipContainer-test

* fix UserOnboardingPage-test

* fix WidgetContextMenu-test.tsx

* Avoid `mockImplementation` for mock `matchMedia` impl

`mockImplementation` is (now) reset by `jest.resetAllMocks` and
`jest.restoreAllMocks`, which we don't really want here.

Fixes `theme-test`

* Move `mediaDevices` mock out of `setupManualMocks`

This doesn't work well in test suites with multiple tests, because the
`mockReturnValue` is reset for subsequent tests.

In any case, having it mocked out automagically is *magical*. Let's make it
opt-in.

* fix FormattingButtons-test.tsx

* fix DeviceListenerTest

* fix RoomTile-test
2023-08-16 10:20:48 +00:00
Michael Telatynski 0842559fb2
Simplify registration with email validation (#11398) 2023-08-15 16:14:53 +01:00
ElementRobot 65b518dfe1 Reset matrix-js-sdk back to develop branch 2023-08-15 13:24:41 +01:00
ElementRobot 789cfec9ed Resetting package fields for development 2023-08-15 13:24:31 +01:00
ElementRobot bba980cd8a Merge branch 'master' into develop 2023-08-15 13:24:27 +01:00
ElementRobot be24a15a62 v3.78.0 2023-08-15 13:24:19 +01:00
ElementRobot 50d1122823 Upgrade matrix-js-sdk to 27.2.0 2023-08-15 13:22:28 +01:00
Richard van der Hoff f65c6726c9
Add a cypress test for SSO login (#11401)
* Allow `startHomeserver` to take an options object

... so that we can add more options

* Add a Cypress test for SSO login
2023-08-14 11:08:12 +00:00
ElementRobot 117ed038e8 v3.78.0-rc.1 2023-08-08 15:12:11 +01:00
ElementRobot 9b84d32986 Upgrade matrix-js-sdk to 27.2.0-rc.1 2023-08-08 15:10:48 +01:00
RiotRobot fd7fbcd5d6 Merge branch 'master' into develop 2023-08-04 09:25:00 +01:00
RiotRobot fd537cc5f7 v3.77.1 2023-08-04 09:24:44 +01:00
Michael Telatynski 47877ba2da
Switch to importing matrix-js-sdk from its main export (#11360)
* Switch to importing TypedEventEmitter from main js-sdk export

* Switch to importing js-sdk/matrix in cypress

* Remove duplicated imports

* Fix lint:js-fix to run prettier last otherwise ESLint --fix may cause a mess

* Add lint rule

* Fix cypress-axe import

* Fix cypress-axe import
2023-08-03 12:56:30 +00:00
Michael Telatynski 44f51fd1cb
Clear requiresClient and show pop-out if widget-api fails to ready (#11321)
* Clear requiresClient and show pop-out if widget-api fails to ready

* Upgrade matrix-widget-api
2023-08-03 10:14:15 +00:00
Germain 05b88d99ed
Upgrade compound-web@0.2.3 (#11357)
Because it did not work for production node environments before
2023-08-03 08:49:50 +00:00
Germain d49581344e
Integrate @vector-im/compound-web (#11354)
* Create useRoomName hook

Mark RoomName component as deprecated

* Pass out-of-band data to relevant RoomHeader component

* Mark LegacyRoomHeader as deprecated

* Fix incorrect search&replace in _RoomHeader.pcss

* lintfix

* Mark room as optional in room topic hook

* Fix i18n

* Discard use of useCallback

* Change export of useRoomName

* fix ts issue

* lints

* Add room topic to room header

* lintfix

* lintfix & clamp to one line

* Revert optimisations to DecoratedRoomAvatar

* Add test for opening the room summary

* Make transition honour prefer-reduced-motion

* Integrate @vector-im/compound-web

* Use compound type styles

* Use latest version of @vector-im/compound-web

* Change component name

* Fallback when room is undefined

* fix snapshot
2023-08-02 13:03:04 +00:00
ElementRobot 9026996d9e Reset matrix-js-sdk back to develop branch 2023-08-01 12:40:16 +01:00
ElementRobot 7c34675359 Resetting package fields for development 2023-08-01 12:39:49 +01:00
ElementRobot 7d72a011e3 Merge branch 'master' into develop 2023-08-01 12:39:45 +01:00
ElementRobot dcd8f9a16f v3.77.0 2023-08-01 12:39:36 +01:00
ElementRobot eda8cd88eb Upgrade matrix-js-sdk to 27.1.0 2023-08-01 12:38:11 +01:00
Germain c037b847da
Upgrade wysiwyg editor for ctrl+backspace windows fix (#11324)
* Upgrade wysiwyg editor for ctrl+backspace windows fix

* upgrade lockfile

* Fix after upgrading the wysiswyg package
2023-07-28 08:03:00 +00:00
renovate[bot] 5405c22db1
Update all non-major dependencies (#11329)
* Update all non-major dependencies

* Add isLocation to ComposerEvent analytics events

* Remove cypress-each as it is incompatible with modern typescript

* Roll back eslint-plugin-deprecate

* Remove stale comment

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-27 11:34:44 +00:00
renovate[bot] b0317e6752
Update dependency eslint-plugin-unicorn to v48 (#11331)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 09:20:29 +00:00
renovate[bot] 60043597ec
Update dependency stylelint-config-standard to v34 (#11236)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-27 08:44:05 +00:00
ElementRobot bccefd4d86 v3.77.0-rc.1 2023-07-27 09:39:46 +01:00
ElementRobot 84ce5cbb59 Upgrade matrix-js-sdk to 27.1.0-rc.1 2023-07-27 09:38:15 +01:00
Michael Telatynski 5fbdbccdc6
Temporarily add missing @types imports (#11309)
* Add CI to typecheck without yarn link like in release process

* Temporarily add missing @types imports
2023-07-25 08:29:52 +00:00
Kerry 0b0d77cbcc
OIDC: Persist details in session storage, create store (#11302)
* utils to persist clientId and issuer after oidc authentication

* add dep oidc-client-ts

* persist issuer and clientId after successful oidc auth

* add OidcClientStore

* comments and tidy

* format
2023-07-20 21:30:19 +00:00
RiotRobot 86bd66b7c3 Reset matrix-js-sdk back to develop branch 2023-07-18 13:34:50 +01:00
RiotRobot c268560b32 Resetting package fields for development 2023-07-18 13:33:48 +01:00
RiotRobot 5881df3f41 Merge branch 'master' into develop 2023-07-18 13:33:41 +01:00
RiotRobot 35c7df19af v3.76.0 2023-07-18 13:33:23 +01:00