Commit Graph

62972 Commits (7d8f00f404afdd262b51b4c1b7714615edb0b31c)

Author SHA1 Message Date
Michael Telatynski 7d8f00f404
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-07 10:46:40 +00:00
Michael Telatynski df510dc74b
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-07 09:55:30 +00:00
Michael Telatynski 40d755af6c
Run Playwright tests against Dendrite & Pinecone periodically
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-07 09:09:53 +00:00
Michael Telatynski 0410574b20
Wire up basics of dendriteHomeserver
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 18:18:13 +00:00
Michael Telatynski fd447324b5
Merge branch 't3chguy/prepare-playwright-testcontainers' of https://github.com/vector-im/element-web into t3chguy/playwright-testcontainers 2025-01-06 17:38:18 +00:00
Michael Telatynski 7ceced6d16
Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/prepare-playwright-testcontainers
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 17:37:51 +00:00
Michael Telatynski ea6132084e
prettier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 17:32:40 +00:00
Michael Telatynski 9ba9f1cd80
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 17:30:06 +00:00
Michael Telatynski 69723c5b47
Merge branch 't3chguy/prepare-playwright-testcontainers' of https://github.com/vector-im/element-web into t3chguy/playwright-testcontainers
# Conflicts:
#	playwright/e2e/register/register.spec.ts
2025-01-06 17:29:29 +00:00
Michael Telatynski ac53bab10c
Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/playwright-testcontainers
# Conflicts:
#	playwright/e2e/crypto/backups.spec.ts
2025-01-06 17:29:10 +00:00
Michael Telatynski 27652d0620
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 17:23:35 +00:00
Michael Telatynski 1368dc0564
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 16:51:26 +00:00
David Baker 29624f7bcb
Add a playwright test for backup reset / deleted (#28858)
* Add a playwright test for backup reset / deleted

A slightly tricky one to test but an important case that people can hit,
and one that otherwise wouldn't get hit a lot during normal usage, so I
think probably quite a useful test to have. Mostly though, I'm about
to change this to a toast, so I'd like a test to assert that it still works.

* Return directly

Co-authored-by: Florian Duros <florianduros@element.io>

* Fix tsdco

---------

Co-authored-by: Florian Duros <florianduros@element.io>
2025-01-06 16:32:10 +00:00
Michael Telatynski b2fb036f62
typo
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 16:06:02 +00:00
Michael Telatynski f6ea850027
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 16:05:47 +00:00
Michael Telatynski e7b62c3b46
Merge branch 't3chguy/prepare-playwright-testcontainers' of https://github.com/vector-im/element-web into t3chguy/playwright-testcontainers
# Conflicts:
#	playwright/e2e/app-loading/guest-registration.spec.ts
#	playwright/e2e/crypto/dehydration.spec.ts
#	playwright/e2e/crypto/utils.ts
#	playwright/e2e/forgot-password/forgot-password.spec.ts
#	playwright/e2e/login/soft_logout.spec.ts
#	playwright/e2e/oidc/index.ts
#	playwright/e2e/register/email.spec.ts
#	playwright/plugins/homeserver/index.ts
#	playwright/plugins/homeserver/synapse/index.ts
2025-01-06 15:59:28 +00:00
Michael Telatynski 7104429793
Merge branch 't3chguy/playwright-update-mas' of https://github.com/vector-im/element-web into t3chguy/playwright-testcontainers
# Conflicts:
#	playwright/plugins/homeserver/synapse/templates/mas-oidc/homeserver.yaml
#	playwright/plugins/matrix-authentication-service/config.yaml
#	playwright/plugins/matrix-authentication-service/index.ts
2025-01-06 15:54:19 +00:00
Michael Telatynski 08bb07e680
break cycle
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 15:47:43 +00:00
Michael Telatynski 4cacb832b0
Fix mas run
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 15:45:44 +00:00
Michael Telatynski d80ad9d358
Use sane default_server_config and specify server.invalid in the specific tests which demand it
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 15:40:19 +00:00
Michael Telatynski 8e1372b0b4
Remove access to homeserver.config.baseUrl field in favour of homeserver.baseUrl
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 15:29:52 +00:00
Michael Telatynski 63e855e0c4
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 15:25:40 +00:00
Michael Telatynski d506dec51a
Actually do the update
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 15:09:39 +00:00
Michael Telatynski edefe02174
Strip ansi from playwright logs to make them more readable
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 14:53:20 +00:00
Michael Telatynski eaca3f83d6
Comments
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 14:45:15 +00:00
Michael Telatynski d8f6c12c3d
Fix some flaky playwright tests (#28855)
* Fix some flaky playwright tests

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

* Fix more flaky tests

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

* Iterate

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

* Reuse existing assertion

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 13:31:33 +00:00
Michael Telatynski 84126e8ed0
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 13:31:15 +00:00
Michael Telatynski f1c392dd08
Fix SMTP port
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 13:22:44 +00:00
Michael Telatynski 1cd1dcd652
delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 13:12:59 +00:00
Michael Telatynski 4eefa275ab
Update matrix-authentication-service in Playwright tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 13:10:05 +00:00
Michael Telatynski 4fce0013c8
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 13:06:03 +00:00
Michael Telatynski 99af4a49a7
Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/playwright-testcontainers
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

# Conflicts:
#	playwright/plugins/docker/index.ts
#	playwright/plugins/homeserver/synapse/index.ts
#	playwright/plugins/mailhog/index.ts
#	playwright/plugins/matrix-authentication-service/index.ts
#	playwright/plugins/postgres/index.ts
#	playwright/plugins/sliding-sync-proxy/index.ts
2025-01-06 11:57:59 +00:00
Michael Telatynski 75ba4f2b2a
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 11:51:37 +00:00
David Langley 69ee8fd96a
Change License: AGPL + Element Commercial (#28856)
* Add commercial licence and update config files

* Update license in headers

* Revert "Update license in headers"

This reverts commit 7ed7949485.

* Update only spdx id

* Remove LicenseRef- from package.json

LicenseRef- no longer allowed in npm v3 package.json
This fixes the warning in the logs and failing build check.
2025-01-06 11:18:54 +00:00
Michael Telatynski f176473212
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 10:45:52 +00:00
Michael Telatynski 9c52986d76
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 10:07:34 +00:00
Michael Telatynski 94697fe755
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 09:34:31 +00:00
Michael Telatynski a4ba79ae69
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 08:58:11 +00:00
Michael Telatynski c0337f141b
Remove mas dep
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 08:34:19 +00:00
Richard van der Hoff 3fb10baedf
Docker: run as non-root (#28849)
* Docker: allow configuration of HTTP listen port via env var

* Update docs/install.md

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

* prettier

* Docker: run as non-root

* Simplify sed incantation

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-03 22:54:52 +00:00
Michael Telatynski 7ba1d3e14c
Flip fixture dependency order
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-03 21:10:36 +00:00
Michael Telatynski 87a0acb53a
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-03 18:54:31 +00:00
Michael Telatynski 00b25f5e02
Switch to TestContainers for manging services in Playwright
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-03 18:48:25 +00:00
Michael Telatynski cf49f9e22c
Fix pill rendering in dev mode (#28853)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-03 16:40:05 +00:00
Richard van der Hoff 703149d76d
Docker: allow configuration of HTTP listen port via env var (#28840)
* Docker: allow configuration of HTTP listen port via env var

* Update docs/install.md

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

* prettier

---------

Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-03 11:46:12 +00:00
Michael Telatynski bd3e93e8dd
Fix and stabilise sliding sync playwright tests (#28809)
* Fix and stabilise sliding sync playwright tests

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

* Iterate

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

* Revert test enablement

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

* Iterate

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

* Debug

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

* Iterate

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

* Unskip now fixed tests

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-02 20:20:13 +00:00
Michael Telatynski 0555701829
Stabilise playwright tests using createRoom util (#28802)
* Stabilise playwright tests using createRoom util

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

* Pass around RoomRefs to avoid needing to cross the bridge to resolve a room to its ID

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-02 15:24:09 +00:00
Richard van der Hoff 417db4c9b2
Docker: remove redundant dos2unix calls (#28839)
I'm assuming these were here because, at some point, someone checked in some
files with CRLF line endings. However, they are no longer there, installing
dos2unix slows down the build, and just don't do that, m'kay?
2025-01-02 13:50:17 +00:00
Michael Telatynski 4e151f8d03
Update matrix-wysiwyg to consume WASM asset (#28838)
* Update matrix-wysiwyg to consume WASM asset

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

* Update matrix-wysiwyg to consume WASM asset

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

* Iterate

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-02 13:08:31 +00:00
ElementRobot afa7ec695d
[create-pull-request] automated change (#28777)
Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
2025-01-02 09:18:43 +00:00