Commit graph

47134 commits

Author SHA1 Message Date
Johannes Marbach
980633a7f5 Revert back to worklet-loader compatible syntax 2023-11-18 21:36:11 +01:00
Johannes Marbach
d6ea051e46 Merge branch 'develop' into johannes/webpack-5 2023-11-16 18:59:39 +01: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
Timo
62256a3d12
Fix call encryption settings flag update not having effect on running widgets (#11888)
Signed-off-by: Timo K <toger5@hotmail.de>
2023-11-16 11:43:33 +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
Andy Balaam
03b2246068
Disable flaky test 'Reading a thread after a reaction to a redacted message marks the thread as read' (#11890) 2023-11-16 10:21:13 +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
Michael Telatynski
c00267a29d
Run Localazy Download on a schedule 3 times a week instead of during release process (#11858)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-16 06:39:50 +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
Kerry
b8ff3c169b
track WebRoomHeaderButtonsThreadsButton from new room header (#11885) 2023-11-16 02:31:24 +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]
29bddc10d7
Update babel monorepo to v7.23.3 (#11873)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-15 23:12:09 +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]
a526975f39
Update actions/github-script action to v7 (#11882)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-15 23:10:58 +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
Andy Balaam
9564009eba
Enable tests fixed by https://github.com/matrix-org/matrix-js-sdk/pull/3800 (#11764)
* Update comments on flaky tests

* Enable a test that is fixed by matrix-js-sdk#3800
2023-11-15 09:05:52 +00:00
Kerry
f6ef476f79
Fix: Emoji cause topics being cut off in new room header (#11865)
* Order of buttons on the right should be Video Call, Voice Call, Threads, Facepile

* Fix 26326: Emoji cause topics being cut off in new room header
2023-11-14 22:20:21 +00:00
Michael Telatynski
eca08db05a
Update release-drafter.yml 2023-11-14 14:32:34 +00:00
Johannes Marbach
8a6c590b7d Set name for worklet chunk 2023-11-14 14:40:51 +01:00
Johannes Marbach
327437777d Fix worker factory and chunk names 2023-11-14 14:32:16 +01:00
Kerry
2a3fd93afa
Room header: do not collapse avatar or facepile (#11866)
* Room header: do not collapse avatar or facepile

* comment
2023-11-14 06:48:26 +00:00
Kerry
a3f0633037
Fix: align base card close button to the right always (#11861) 2023-11-13 21:57:20 +00:00
Johannes Marbach
624be1a7fa Fix paths and extensions 2023-11-13 20:10:55 +01:00
Johannes Marbach
253ff78c00 Also use es2022 in Cypress tsconfig 2023-11-13 20:01:02 +01:00
Johannes Marbach
99ad1781a5 Appease the linter 2023-11-13 19:54:04 +01:00
Johannes Marbach
5855930221 Extra worklet module loading and mock it in tests 2023-11-13 19:52:15 +01:00
Johannes Marbach
64ba0b4130 Squashed commit of the following:
commit 01a62b36a484d65664a641c4db2a7f3373251b47
Merge: 10edf06898 74961dbfb1
Author: Johannes Marbach <johannesm@element.io>
Date:   Mon Nov 13 19:38:47 2023 +0100

    Merge branch 'johannes/webpack5-workers' into johannes/worklet-path

commit 10edf068980f11b99bf2b18dce72e27065fd5727
Author: Johannes Marbach <johannesm@element.io>
Date:   Sun Nov 12 12:21:43 2023 +0100

    Document syntax and use .ts

commit 4040f2ce4121ddaf5254cb68e2e9b8716b0431d0
Author: Johannes Marbach <johannesm@element.io>
Date:   Sat Nov 11 21:38:09 2023 +0100

    Switch to URL and use syntax compatible with Webpack

commit b4f96f17cc1819bd84b8e6735a8c3f69948e97c4
Merge: eed2ffdc1c 94484692f8
Author: Johannes Marbach <johannesm@element.io>
Date:   Thu Nov 9 21:04:06 2023 +0100

    Merge branch 'develop' into johannes/worklet-path

commit eed2ffdc1c27e8748719b64e002c44e3dc6500e7
Author: Johannes Marbach <johannesm@element.io>
Date:   Thu Nov 9 21:03:45 2023 +0100

    Restore unused import to fix dead code analysis

commit 689cea2f061120070f3db405289bd9ded108def5
Author: Johannes Marbach <johannesm@element.io>
Date:   Thu Nov 9 16:50:56 2023 +0100

    Use literal path in audioWorklet.addModule for compatibility with Webpack 5
2023-11-13 19:39:45 +01:00
Johannes Marbach
74961dbfb1 Extract worker creation into factories and mack them in tests 2023-11-13 19:35:04 +01:00
Robin
cda17d55b4
Use the correct video call icon variant (#11859)
This regression happened because of breaking changes in the most recent compound-design-tokens release.
2023-11-13 17:45:11 +00:00
Matthew Hodgson
2586cc19cf
fix broken warning icon (#11862) 2023-11-13 15:11:42 +00:00
Johannes Marbach
ccee4c9cdb Merge branch 'develop' into johannes/webpack5-workers 2023-11-13 15:43:50 +01:00
Valere
9595dbb015
Report crypto sdk in posthog (#11834)
* Report crypto sdk in posthog

* fix import

* do not use the setting as not live
2023-11-13 14:16:12 +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
69c367167f Prepare changelog for v3.84.1 2023-11-13 09:49:24 +00:00
ElementRobot
87276c54eb Upgrade matrix-js-sdk to 30.0.1 2023-11-13 09:46:31 +00:00
Michael Telatynski
0d81159f1d
Update CODEOWNERS 2023-11-13 09:21:04 +00:00
Johannes Marbach
84d7d43a0d Load web workers in a way that Webpack 5 can bundle them 2023-11-11 16:03:08 +01:00
Andy Balaam
605f4f26ae
Fix a test that was expecting an edit to be considered unread (#11847) 2023-11-11 08:42:02 +00:00
Germain
722c5ad493
Update room summary card header (#11823)
* Update room summary card header

* test coverage for public room label

* test coverage for public room label (#11841)

* fix encrypted badge selector in cypress/crypto.spec

---------

Co-authored-by: Kerry <kerrya@element.io>
2023-11-11 07:24:48 +00:00
Andy Balaam
5c9e7baa78
Merge pull request #11854 from matrix-org/andybalaam/disable-flaking-pageup-test
Disable 'Looking in thread view to find old threads...' because of flakes
2023-11-11 07:09:30 +00:00
Andy Balaam
5fd4d5f31b
Merge pull request #11849 from matrix-org/andybalaam/disable-edit-restart-on-rust
Disable 'A room with an edit ... restart' because flaking
2023-11-11 07:08:06 +00:00
Johannes Marbach
7a56d61a9e
Disable Percy (#11852)
* Disable Percy

While visual regression testing is without doubt an essential part of
quality assurance, the way we're currently using Percy brings little
to no value while causing mainenance overhead. Therefore, we're disabling it
until we have figure out https://github.com/vector-im/wat-internal/issues/36
and https://github.com/vector-im/wat-internal/issues/56.

* Also disable nightly build

* Comment out Percy step instead of fiddling with the output value

* Appease the frigging linter
2023-11-10 21:25:18 +00:00
Michael Telatynski
bef8aec483
New release automations (#11825)
* Add release-drafter

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

* Initial release automation

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

* Simplify dependency management

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

* Add release-gitflow.yml

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-10 17:30:16 +00:00
Timo
62f41f0961
Add feature flag for disabling encryption in Element Call (#11837)
* add feature flag for disabling encryption

Signed-off-by: Timo K <toger5@hotmail.de>

* prettier

Signed-off-by: Timo K <toger5@hotmail.de>

* Update src/i18n/strings/en_EN.json

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

* add tests and make url flags explicit

Signed-off-by: Timo K <toger5@hotmail.de>

* remove unnecessary braces

Signed-off-by: Timo K <toger5@hotmail.de>

---------

Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-11-10 16:46:02 +00:00
Andy Balaam
8c759a9655 Disable 'Looking in thread view to find old threads...' because of flakes 2023-11-10 15:31:54 +00:00
Andy Balaam
0102f7aa33
Merge branch 'develop' into andybalaam/disable-edit-restart-on-rust 2023-11-10 12:07:37 +00:00
Andy Balaam
cfd5165cd8
Merge pull request #11848 from matrix-org/andybalaam/skip-test-flaking-in-rust-crypto
Disable test 'Paging up to find old threads' on Rust due to flakes
2023-11-10 12:04:02 +00:00