Commit Graph

62960 Commits (midhun/member-redesign-accessibility)

Author SHA1 Message Date
R Midhun Suresh b88a477ee4
Update snapshot 2025-01-07 15:47:20 +05:30
R Midhun Suresh c42833dc85
Use Up/Down arrow keys to navigate through the list 2025-01-07 14:56:33 +05:30
R Midhun Suresh 3c3f05c2ba
Allow flex component to take child containers props
So that we can set attributes on the container
2025-01-07 14:56:29 +05:30
R Midhun Suresh 80baac2064
Remove comment 2025-01-07 00:33:09 +05:30
R Midhun Suresh 0147e0471e
Use waitFor instead of setTimeout 2025-01-07 00:31:31 +05:30
R Midhun Suresh 9ac4da3963
Update license header 2025-01-07 00:11:24 +05:30
R Midhun Suresh 64ef538f6c
Merge branch 'develop' into midhun/memberlist-redesign 2025-01-07 00:07:06 +05:30
David Baker 7b565e7997
Fix building the automations mermaid diagram (#28881)
* Fix building the automations mermaid diagram

The was using a runner output instead which is not going to work in
this simple script, so just skip anything that's not an array - not
really sure what else we can do here short of implementing large
parts of github actions.

* Prettier
2025-01-06 17:28:16 +00:00
Michael Telatynski b16088d098
Update matrix-authentication-service in Playwright tests (#28876)
* Update matrix-authentication-service in Playwright tests

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>

* Actually do the update

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

* Fix mas run

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-01-06 17:24:11 +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 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
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
R Midhun Suresh ec78793812
Undo translation changes that must be done via localazy 2025-01-06 15:36:06 +05:30
R Midhun Suresh ad96434eba
Fix lint error 2025-01-05 22:30:09 +05:30
R Midhun Suresh 0b28e20230
Add playwright tests 2025-01-05 20:54:00 +05:30
R Midhun Suresh 2c4d3d5084
Playwright: Make it possible to disable presence 2025-01-05 20:52:39 +05:30
R Midhun Suresh a57d0b72c3
Add jest tests 2025-01-05 20:51:44 +05:30
R Midhun Suresh 41e20e5038
Fix broken jest tests 2025-01-05 20:50:24 +05:30
R Midhun Suresh e6e0360608
Actually use the new memberlist view 2025-01-05 20:49:52 +05:30
R Midhun Suresh ceb864320f
Increase minimum width as per design 2025-01-05 20:49:09 +05:30
R Midhun Suresh cf0726da9f
Add/remove css files from _components.pcss 2025-01-05 20:47:29 +05:30
R Midhun Suresh c27e2fb00f
Remove old code 2025-01-05 20:46:39 +05:30
R Midhun Suresh 3561aecaa4
Add and use a new overflow component
We used the EntityTile component as a pretend overflow tile in some
places. This new lighter component is added so  that we can remove the
complex EntityTile component.
2025-01-05 20:44:29 +05:30
R Midhun Suresh 9eca64c20c
Implement new memberlist view 2025-01-05 20:40:08 +05:30
R Midhun Suresh 697d15a211
Support the new memberlist in Diasambiguated profile
1. Use MemberInfo instead of RoomMember
2. CSS changes to reflect the new design
2025-01-05 20:37:06 +05:30
R Midhun Suresh 6eb51b34bf
Implement new memberlist header view 2025-01-05 20:36:03 +05:30
R Midhun Suresh 4f50174aa9
Implement memberlist view model 2025-01-05 20:35:11 +05:30
R Midhun Suresh 7768795dd7
Implement new member tile 2025-01-05 20:33:54 +05:30
R Midhun Suresh 45c1bd13a4
Add new presence icon for member tile 2025-01-05 20:27:20 +05:30
R Midhun Suresh 656d3e8083
Add new e2e icon for the member tile 2025-01-05 20:21:55 +05:30
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 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
ElementRobot e98529824e
[create-pull-request] automated change (#28813)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-12-24 06:17:08 +00:00
Michael Telatynski 16d2cccb73
OIDC settings tweaks (#28787)
* Hide 3pid account settings if account is managed externally

As they would be disabled and just confusing otherwise

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

* Show manage device button instead of sign out button for other devices in OIDC mode

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

* Tidy up

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

* Fix tests

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-12-23 22:35:43 +00:00
ElementRobot 9d5141cfaa
[create-pull-request] automated change (#28791)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-12-23 20:25:18 +00:00
Michael Telatynski 1e42f28a69
Harden Settings using mapped types (#28775)
* Harden Settings using mapped types

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

* Fix issues found during hardening

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>

* Iterate

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

* Remove oidc native flow stale key

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-12-23 20:25:15 +00:00
Michael Telatynski 4e1bd69e4d
Remove stale OIDC aware docs and tests (#28805)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-12-23 18:43:50 +00:00
renovate[bot] 12943954c6
Update playwright to v1.49.1 (#28803)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-12-23 18:25:49 +00:00
Michael Telatynski ec95435724
Jest browser-node test (#28789)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-12-23 18:06:52 +00:00
David Baker 7e1927d388
Playwright: wait for the network listener on the postgres db (#28808)
As commented. This was flaking when I was debugging it locally
(MAS was failing to start because the database wasn't ready).
2024-12-23 18:06:37 +00:00
Michael Telatynski 0b24d33c64
Simplify types (#28749) 2024-12-23 16:12:56 +00:00
Michael Telatynski db02f26005
Delabs native OIDC support (#28615)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-12-20 13:13:41 +00:00
ElementRobot b07d10cb23
[create-pull-request] automated change (#28776)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-12-20 11:58:40 +00:00
Michael Telatynski 179b17434e
Merge remote-tracking branch 'origin/develop' into develop 2024-12-20 11:22:31 +00:00