Commit graph

62754 commits

Author SHA1 Message Date
renovate[bot]
5ff2e8fa16
Update definitelyTyped 2024-08-22 14:38:24 +00:00
renovate[bot]
37d607181c
Update docker 2024-08-22 14:37:44 +00:00
renovate[bot]
80b9ca79e0
Update benc-uk/workflow-dispatch digest to e2e5e9a 2024-08-22 14:37:39 +00:00
Michael Weimann
48aab77424
Replace old webpack-dev-server https arg
There was a breaking change with webpack-dev-server 5.
The --https argument was replaced with --server-type https.

Signed-off-by: Michael Weimann <michael.weimann@nordeck.net>
2024-08-22 16:30:29 +02:00
renovate[bot]
35fb0689f1
Update dependency axe-core to v4.10.0 (#12916)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 14:23:14 +00:00
renovate[bot]
9671545f1b
Update dependency eslint-plugin-unicorn to v55 (#12913)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 13:25:14 +00:00
renovate[bot]
5e56ce7f19
Update dependency husky to v9 (#12914)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 13:07:41 +00:00
David Langley
70665d3ce3
RTE drafts (#12674)
* Add drafts to the RTE and tests

* test drafts in threads

* lint

* Add unit test.

* Fix test failure

* Remove unused import

* Clean up wysiwyg drafts and add test.

* Fix typo

* Add timeout to allow for wasm loading.

---------

Co-authored-by: Florian Duros <florian.duros@ormaz.fr>
2024-08-22 12:54:01 +00:00
renovate[bot]
fdc5acd5a4
Update dependency @types/react-transition-group to v4.4.11 (#12912)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 15:29:01 +00:00
renovate[bot]
72d5659e29
Update dependency @types/node to v18.19.44 (#12911)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 15:21:11 +00:00
RiotRobot
720bfacbd9 v1.11.76-rc.0 2024-08-21 13:19:08 +00:00
RiotRobot
c4762d6c86 Upgrade dependency to matrix-react-sdk@3.108.0-rc.0 2024-08-21 13:11:06 +00:00
RiotRobot
750ee1ac1a v3.108.0-rc.0 2024-08-21 13:08:05 +00:00
David Baker
193ae628f0
Merge pull request #12904 from matrix-org/dbkr/prettierrc_cjs_staging
Rename prettier config file to .cjs (staging version)
2024-08-21 14:00:47 +01:00
RiotRobot
a193d8b726 Upgrade dependency to matrix-js-sdk@34.4.0-rc.1 2024-08-21 12:58:30 +00:00
RiotRobot
aee2ca224d Upgrade dependency to matrix-js-sdk@34.4.0-rc.1 2024-08-21 12:58:25 +00:00
David Baker
cd4f30152f Call the commjs version of the switch script 2024-08-21 13:44:16 +01:00
Richard van der Hoff
2768b9cbb2
Set entrypoints to use ./lib rather than ./src (#12906)
Currently, we replace the entrypoints in package.json during the release
cycle. I think, historically, this was done to make element-web development
easier, but that doesn't actually use these entrypoints (instead it imports
from `src`).

Accordingly, I think the switcheroo is unnecessary; furthermore it causes a
whole bunch of confusion by making the development environment different from
the release environment, and it complicates our CI and release process.

In short, the switcheroo has to die.
2024-08-21 09:09:49 +00:00
Florian Duros
a7e907e0e6
Add thread information in pinned message list (#12902) 2024-08-21 09:02:35 +00:00
Florian Duros
3d80eff65b
Add Pin/Unpin action in quick access of the message action bar (#12897)
* Add Pin/Unpin action in quick access of the message action bar

* Add tests for `MessageActionBar`

* Add tests for `PinningUtils`

* Fix `MessageContextMenu-test`

* Add e2e test to pin/unpin from message action bar
2024-08-21 08:50:00 +00:00
ElementRobot
4064db1d02
[create-pull-request] automated change (#12907)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-21 06:21:54 +00:00
David Baker
c01ad91a94 Rename prettier config file to .cjs
For the same reason as https://github.com/matrix-org/matrix-js-sdk/pull/4353
2024-08-20 15:47:47 +01:00
David Baker
933a9c1ae3
Rename prettier config file to .cjs (#12903)
For the same reason as https://github.com/matrix-org/matrix-js-sdk/pull/4353
2024-08-20 14:22:11 +00:00
RiotRobot
82d8d734b1 Upgrade dependency to matrix-js-sdk@34.4.0-rc.0 2024-08-20 13:47:41 +00:00
RiotRobot
2a11fd5beb Upgrade dependency to matrix-js-sdk@34.4.0-rc.0 2024-08-20 13:47:34 +00:00
RiotRobot
2bca0fd08c Reset matrix-js-sdk back to develop branch 2024-08-20 11:44:37 +00:00
RiotRobot
ebe41efec2 Reset matrix-react-sdk back to develop branch 2024-08-20 11:44:26 +00:00
RiotRobot
d2a3de8b5a Merge branch 'master' into develop 2024-08-20 11:44:15 +00:00
RiotRobot
0a858e7a79 v1.11.75 2024-08-20 11:41:27 +00:00
RiotRobot
c73301deb1 Upgrade dependency to matrix-react-sdk@3.107.0 2024-08-20 11:39:27 +00:00
RiotRobot
4961e23253 Reset matrix-js-sdk back to develop branch 2024-08-20 11:37:35 +00:00
RiotRobot
f0e90ad15a Merge branch 'master' into develop 2024-08-20 11:37:28 +00:00
RiotRobot
20df553def v3.107.0 2024-08-20 11:36:27 +00:00
RiotRobot
a24dab6859 Upgrade dependency to matrix-js-sdk@34.3.1 2024-08-20 11:31:22 +00:00
RiotRobot
64d6174412 Upgrade dependency to matrix-js-sdk@34.3.1 2024-08-20 11:31:14 +00:00
ElementRobot
fe8c0739f8
[create-pull-request] automated change (#12901)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-20 06:21:56 +00:00
ElementRobot
c37cb9f0b1
[create-pull-request] automated change (#12899)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-08-19 06:16:04 +00:00
Michael Telatynski
9f5b39b9d9
Ensure elements on Login page are disabled when in-flight (#12895)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-08-17 09:37:35 +00:00
ElementRobot
3f386a6cac
[create-pull-request] automated change (#12898)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-17 06:20:09 +00:00
Florian Duros
6f3dc30693
Message Pinning: rework the message pinning list in the right panel (#12825)
* Fix pinning event loading after restart

* Update deps

* Replace pinned event list

* Add a dialog to confirm to unpin all messages

* Use `EmptyState` when there is no pinned messages

* Rework `PinnedEventTile` tests

* Add comments and refactor `PinnedMessageCard`

* Rework `PinnedMessageCard` tests

* Add tests for `UnpinAllDialog`

* Add e2e tests for pinned messages

* Replace 3px custom gap by 4px gap

* Use string interpolation for `Pin` action.

* Update playright sceenshot for empty state
2024-08-16 12:16:06 +00:00
David Baker
1e9112aee8 Fix sample config value 2024-08-16 09:41:21 +01:00
Michael Telatynski
88cf643cbd
Tweak UIA postMessage check to work cross-origin (#12878)
* Soften UIA fallback postMessage check to work cross-origin

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

* Do the same for the SSO UIA flow

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

* Check against MessageEvent::source instead

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-08-16 08:12:18 +00:00
ElementRobot
7a91e3efcf
[create-pull-request] automated change (#12894)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-08-16 06:16:05 +00:00
David Baker
0935e48b1c Prettier 2024-08-15 14:59:09 +01:00
David Baker
f05b2691b8 Add docs for widget container height option
See https://github.com/matrix-org/matrix-react-sdk/pull/12893
2024-08-15 14:18:35 +01:00
ElementRobot
63615671a4
[create-pull-request] automated change (#12891)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-15 06:22:46 +00:00
Florian Duros
d9846dc62d
Hide pinned messages when grouped in timeline when feature pinning is disabled (#12888) 2024-08-14 15:30:42 +00:00
David Baker
4751c52d82
Refactor the various email/phone management UI into a single component (#12884)
* Refactor the various email/phone management UI into a single component

These were basically the same component copied & pasted 3 times and
tweaked to match the behaviour of each case. This de-dupes them into
one component.

This all could really benefit from playwright tests, but would require
setting up a dummy ID server in the playwright tests. This is all legacy
pre-MAS stuff so its questionable whether its worth the effort.

* Basic test, remove old tests

* Use different text to confirm remove & put headers back

although the two texts are both 'Remove' in practice

* Remove string

This was never triggered anyway with sydent & synapse because they
don't seem to agree on what error to return. In any case, I think it
makes more sense for it to be consistent with the email path, ie. using
a dialog.

* Avoid nested forms

* Snapshots

* More snapshots

* Test the hs side

* Snapshots

* Test IS bind/revoke

* Test remove can be cancelled

* Test unvalidated cases & fix phone error

* Reset state between tests

* Import useState directly

* One more direct React import
2024-08-14 13:13:57 +00:00
ElementRobot
de898d1b62
[create-pull-request] automated change (#12887)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-14 06:22:24 +00:00
ElementRobot
62e164173c
[create-pull-request] automated change (#12886)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-08-14 06:15:55 +00:00