Commit Graph

47181 Commits (a6705304aa43f96188a3602082e87a40ee719e9a)

Author SHA1 Message Date
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
Michael Telatynski e0c31f53fa
Simplify Netlify workflow (#11924)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-23 08:19:33 +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 f3133f22ca
Run both legacy & rust crypto tests in Playwright (#11919)
* 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

* Run both legacy & rust crypto tests in Playwright

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

* Remove redundant comment

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2023-11-22 13:20:58 +00:00
Michael Telatynski eb5516b7b1
Update end-to-end-tests.yaml 2023-11-22 12:54:31 +00:00
Timo b5178e3733
Fix misunderstanding of functional members (#11918)
* fix misunderstanding of functional members

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

* unused import

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

---------

Signed-off-by: Timo K <toger5@hotmail.de>
2023-11-22 12:08:16 +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
Michael Weimann ecc46aeb8c
Update open in other tab message (#11916) 2023-11-22 10:46:11 +00:00
Timo 6f715ab803
Add menu for legacy and element call in 1:1 rooms (#11910)
* Add menu for legacy and element call in 1:1 rooms
This allows to also initiate element call calls in 1:1 rooms

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

* fix tests

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

---------

Signed-off-by: Timo K <toger5@hotmail.de>
2023-11-22 10:35:51 +00:00
ElementRobot a4d532d09c
[create-pull-request] automated change (#11905)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2023-11-22 08:33:21 +00:00
Michael Telatynski f3432ca838
Update end-to-end-tests.yaml 2023-11-22 08:52:59 +00:00
Michael Telatynski 04d095b871
Update end-to-end-tests.yaml 2023-11-22 08:46:33 +00:00
Michael Telatynski b6521ba86e
Update end-to-end-tests.yaml 2023-11-22 08:38:26 +00:00
Michael Telatynski b34012f289
Remove Quote from MessageContextMenu as it is unsupported by WYSIWYG (#11914)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-22 05:58:08 +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 4a0ffefae7
Update end-to-end-tests.yaml 2023-11-21 22:08:06 +00:00
Michael Telatynski 1529099143
Update end-to-end-tests.yaml 2023-11-21 21:47:11 +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
Timo a26c2d3c78
Add ringing for matrixRTC (#11870)
* Add ringing for matrixRTC
 - since we are using m.mentions we start with the Notifier
 - an event in the Notifier will result in a IncomingCall toast
 -  incomingCallToast is responsible for ringing (as long as one can see the toast it rings)
 This should make sure visual and audio signal are in sync.

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

* use typed CallNotifyContent

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

* update tests

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

* change to callId

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

* fix tests

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

* only ring in 1:1 calls
notify in rooms < 15 member

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

* call_id fallback

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

* Update src/Notifier.ts

Co-authored-by: Robin <robin@robin.town>

* review

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

* add tests

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

* more tests

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

* unused import

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

* String -> string

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

---------

Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Robin <robin@robin.town>
2023-11-21 17:12:08 +00:00
Richard van der Hoff 7ca0cd13d0
Fix "not attempting encryption" warning (#11899)
* Fix "not attempting encryption" warning

Fixes https://github.com/vector-im/element-web/issues/26589

* Update src/utils/tokens/tokens.ts
2023-11-21 13:48:14 +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
R Midhun Suresh 6b78c95cfb
Provide commit hash (#11896) 2023-11-21 06:33:35 +00:00
Kerry 20fd1111c8
set disabled state on invite to room button in memberlist (#11893) 2023-11-21 01:43:32 +00:00
Michael Telatynski 2f0eb8fb05
Fix ended polls overlapping event bubbles (#11895)
* Fix ended polls overlapping event bubbles

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

* Update snapshot

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-20 17:27:54 +00:00
Richard van der Hoff fc37f2d0e3
Remove workaround for rust-SDK bug (#11900)
Now that https://github.com/matrix-org/matrix-rust-sdk/issues/2193 is fixed, I
believe we can remove this
2023-11-20 12:49:42 +00:00
Richard van der Hoff 2cb5e0771b
Reduce amount of log spam (#11898) 2023-11-20 12:24:13 +00:00
Johannes Marbach 0a03b09f5d
Merge pull request #11869 from matrix-org/johannes/webpack-5 2023-11-20 13:30:30 +01:00
Johannes Marbach e069d87afa Merge branch 'develop' into johannes/webpack-5 2023-11-20 11:22:22 +01:00
Michael Telatynski 25ca51a41c
Disable axe check which only fails in Chrome (#11909)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-11-20 09:58:09 +00:00
Johannes Marbach 9af4038fa0 Merge branch 'develop' into johannes/webpack-5 2023-11-20 09:42:39 +01:00
Richard van der Hoff 29ed91749e
EditWysiwygComposer-test: wait for the wasm to load in beforeAll (#11904) 2023-11-19 21:15:23 +00:00
Johannes Marbach d43debce8a Merge branch 'develop' into johannes/webpack-5 2023-11-18 21:53:07 +01:00
Johannes Marbach e35b2135b4 Appease the linter 2023-11-18 21:37:49 +01:00
Johannes Marbach 980633a7f5 Revert back to worklet-loader compatible syntax 2023-11-18 21:36:11 +01: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
Johannes Marbach 8114f4dc09
Merge pull request #11894 from matrix-org/midhun/fix-knapsack 2023-11-17 08:33:06 +01:00
R Midhun Suresh bfab177394
Use github_env 2023-11-17 12:08:19 +05:30
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
Andy Balaam 32d1bb0498 Bump matrix-wysiwyg to 2.17.0 2023-11-16 13:54:55 +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