Commit Graph

304 Commits (d5c111f6561ee611caac7fdec9a19368ccdb0272)

Author SHA1 Message Date
Michael Telatynski f0ee7f7905
Merge matrix-react-sdk into element-web
Merge remote-tracking branch 'repomerge/t3chguy/repomerge' into t3chguy/repo-merge

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-15 15:32:09 +01:00
Michael Telatynski 9407af0bfb
Remove broken HMR support
It has been broken since the Webpack 5 upgrade

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-10-04 13:41:25 +01:00
David Langley f22d719d38 lint 2024-07-23 18:47:11 +01:00
David Langley df53ba6d3a
Update Supported Environments 2024-07-23 18:40:14 +01:00
Michael Telatynski 5983528a8d
Remove Cypress & Playwright in their entirety (#12145) 2024-01-16 09:48:49 +00:00
Michael Telatynski e4d9e3e204
Add Playwright badge 2023-12-21 10:22:42 +00:00
David Langley 855bb568b9 rename the GH org in links within documentation 2023-12-20 12:21:26 +00:00
Michael Telatynski a231a8d543
Use Playwright snapshot utility instead of Percy (#11922)
* 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>

* Create plugin for mail-hog

* Move injectAxe into element-web-test.ts

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

* Switch out axe-playwright for @axe-core/playwright

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

* Migrate email.spec.ts from Cypress to Playwright

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

* prettier

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

* Use Playwright snapshot utility over Percy

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

* Remove commented our Percy badge as we're unlikely to want to go back

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-24 12:32:07 +00:00
Michael Telatynski 802571176e
Improve debian package and docs (#26618) 2023-11-21 17:28:28 +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
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 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
Michael Telatynski c525b633bd
Migrate translations to keys and switch to Localazy (#26106) 2023-09-05 17:17:25 +01:00
Andy Balaam c853257d54
Document how to match the CI config for Cypress (#11531)
* Document how to match the CI config for Cypress

* Clarify language about needing Chrome

* Move Cypress info into the Cypress-specific docs
2023-09-05 11:55:53 +00:00
Germain c8b3f5d512
Update safari support policy (#24842) 2023-03-16 11:32:39 +00:00
Michael Telatynski 4a18ab6d1b
Update README.md 2023-03-14 11:27:05 +00:00
Michael Weimann 4f8f7f65a9
Remove Firefox and Safari from experimental PWA support (#24630) 2023-02-24 08:00:28 +01:00
Michael Telatynski ed60c90081
Fix frame-ancestors docs from none to self to not break Jitsi (#21128) 2023-02-23 14:09:21 +00:00
Michael Weimann 526645c791
Apply prettier formatting 2022-12-12 12:24:14 +01:00
Michael Weimann 7921a6cbf8
Apply prettier formatting 2022-12-09 13:28:29 +01:00
Sebastian Wagner 993ea317d7
Readme: Add header configuration for apache (#23221)
Adds the same example as for nginx for apache to copy & paste
2022-09-07 04:10:52 +00:00
Michael Weimann b2704d5bde
Link contributing guide to Element Web (#9220)
* Link contributing to Element Web

* Update README.md

Co-authored-by: Travis Ralston <travisr@matrix.org>

* Update README.md

Co-authored-by: Travis Ralston <travisr@matrix.org>

Co-authored-by: Travis Ralston <travisr@matrix.org>
2022-09-01 13:49:52 +02:00
Šimon Brandner 6543f6a7d1
Link to cypress tests rather than the old E2E tests (#8970) 2022-07-04 09:11:28 +02:00
Andy Balaam 5f31fef874
Add documentation about how to run lint and fix dependencies (#8703) 2022-05-27 13:08:41 -06:00
Michael Telatynski 70a247446e
Add logo to readme badge (#22374) 2022-05-27 12:10:16 -04:00
Andy Balaam 6f56471362
Make README markdown more consistent (#8705)
* Make README markdown more consistent
* Most lines were 80 characters wide, others not - make them all 80.
* Switch to === titles in README where possible
2022-05-27 10:33:09 +01:00
Michael Telatynski d9b7e0721c
Add visual tests using Percy in Cypress (#8610)
* Add basic Percy tests

* Run Percy in CI

* Fix snapshot timing

* Fix bad selector

* Hide another bit of dynamic text

* Add docs
2022-05-17 15:16:14 +00:00
Michael Telatynski 6c87e294c4
Run CI in Github Actions (#22054)
* Tidy workflows

* Update get-version-from-git.sh

* Run tests in Actions

* Upload coverage to SonarCloud

* Run linters in Actions

* Run builds in Actions, consolidating with sentry uploader

* Update sonar-project.properties

* chmod +x

* Iterate

* Use new env vars

* Delete yarn-sub.js

* Use re-usable sonarqube action

* Add README badges

* Match reality
2022-05-16 16:23:44 +02:00
Michael Telatynski 617c0e3c50
Add cypress badge (#8544) 2022-05-09 17:37:21 +01:00
Andy Balaam a885de4eda
Add 'Choosing an issue to work on' doc (#22092) 2022-05-06 15:18:11 +01:00
Michael Telatynski 14ff736fcc
Add README badges (#8458)
* Add README badges

* Update README.md

* Update README.md
2022-05-03 14:54:00 -06:00
Shivrani A. Jadhav 16dc05e2b0
Fix the link which was not supporting in README.md (#8229)
* Fix the link which was not supporting in README.md

I have updated the link to the CSS of matrix-react-sdk.

* Update README.md
2022-04-07 11:38:39 +02:00
Travis Ralston 4057833036 Merge branch 'develop' into travis/remove-skinning 2022-04-05 10:50:37 -06:00
Emmanuel 020c1c6f31
Fix typo error (#8214) 2022-04-01 14:06:41 +01:00
Travis Ralston f7dea9421f Merge branch 'develop' into travis/remove-skinning 2022-03-31 19:21:12 -06:00
Shreeya f029b68ad4
Updated 'Setting up a dev environment' in README.md (#21597) 2022-03-30 13:52:15 +01:00
Michael Kaye 5eecc768a3
Docs: Require creation of config.json as part of Getting Started (#21590)
* Require creation of config.json

Change the language from "If desired" to "Configure" to ensure people do not miss this step, as skipping this step will show the error "Invalid configuration: no default server specified."

* Update README.md

Rollback unintentioned bullet point `3` change
2022-03-29 16:40:07 +01:00
Travis Ralston bd1fd0a734 Step 13: Update documentation for skinning 2022-03-28 15:23:31 -06:00
Travis Ralston 7bd584abe0 Step 13: Update documentation for skinning 2022-03-28 15:17:56 -06:00
Travis Ralston 585b651b4c
Update nodejs version requirements (#21484)
While we do technically support v14, it's fallen into security releases. Let's recommend that people use whatever nodejs itself recommends instead.
2022-03-21 07:38:19 -06:00
Robin 81fdae0d88
Fix typo in README (#21347)
Signed-off-by: Robin Townsend <robin@robin.town>
2022-03-07 17:38:23 -05:00
Germain de9f427364
Update outdated unit test info in README.md (#20096) 2021-12-08 12:34:34 +00:00
Travis Ralston c9619bfe48
Fix documentation to make `yarn test` work out of the box (mk II) (#7075)
* Fix documentation to make `yarn test` work out of the box

Before, invoking `yarn test` croaked on a missing src/component-index.js
file. In another part of the README, the missing instruction to generate
this file was found.

* Fix CI: Unauthenticated git protocol on port 9418 is no longer supported

GitHub is deprecating the service which answered unauthenticated git
protocol requests. Either it happened already, or they are running
brownouts.

* This is where I meant to leave that comment

Co-authored-by: Andreas Motl <andreas.motl@panodata.org>
2021-11-02 20:22:24 +00:00
Elsie Hupp 89ef8e9441
Add convenience inline links to README.md (#7061)
Signed-off-by: Elsie Hupp <9206310+elsiehupp@users.noreply.github.com>
2021-11-01 10:17:51 +00:00
James Salter e90f7b7e82
Merge pull request #18979 from vector-im/readme-no-cache
Suggest setting Cache-Control: no-cache on / for self-hosters
2021-09-29 13:17:14 +01:00
James Salter 5741baed25 Note that caching is configured in he Dockerfile 2021-09-29 13:14:03 +01:00
Andy Balaam 842ab0af05 Remove extra 'are' in README
Signed-off-by: Andy Balaam <andyb@element.io>
2021-09-29 11:41:37 +01:00
James Salter 2d48797294 Suggest setting Cache-Control: no-cache on / for self-hosters 2021-09-10 15:45:13 +01:00
Ekaterina Gerasimova 607c840917 Update README to point to element-meta wiki
Shared processes have moved to element-meta so update README to point
there.
2021-09-03 17:30:01 +01:00
Ekaterina Gerasimova d806927196 README: link to wiki for issue triage and labels
Signed-off-by: Ekaterina Gerasimova <ekaterinag@element.io>
2021-08-19 08:34:24 +01:00