Commit Graph

62652 Commits (v1.11.86-rc.0)

Author SHA1 Message Date
RiotRobot 08cb450d25 v1.11.86-rc.0 2024-11-12 14:05:01 +00:00
RiotRobot 4bdd4f4f49 Upgrade dependency to matrix-js-sdk@34.12.0-rc.0 2024-11-12 14:01:37 +00:00
RiotRobot 6d1b702214 Merge branch 'master' into develop 2024-11-12 09:46:03 +00:00
RiotRobot bbe474ae57 v1.11.85 2024-11-12 09:43:10 +00:00
RiotRobot bebf44d9ee Upgrade dependency to matrix-js-sdk@34.11.1 2024-11-12 09:31:49 +00:00
Michael Telatynski 231073c578
Merge commit from fork
Handle rendering of invalid date errors
2024-11-12 09:08:32 +00:00
Michael Telatynski a00c343435
Merge commit from fork
Add mimetype checks to stickers, image and video messages
2024-11-12 09:07:39 +00:00
ElementRobot 1e2e8844e5
[create-pull-request] automated change (#28424)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-12 09:03:39 +00:00
Michael Telatynski 6bc8080ec5
Merge pull request #28387 from element-hq/t3chguy/knip2 2024-11-12 09:01:24 +00:00
David Langley bff17ff470 Make case consistent 2024-11-11 19:54:05 +00:00
David Langley c0a313abae Make logic more DRY, simplify logic, improve naming. 2024-11-11 19:38:58 +00:00
Michael Telatynski db30bc51a1
Deduplicate icons using Compound Design Tokens (#28419)
* Deduplicate icons using Compound Design Tokens

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

* Update screenshots & snapshots

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-11 17:27:22 +00:00
Andrew Ferrazzutti c8c107405f
Let widget driver send error details (#28357)
* Let widget driver send error details

* Match new widget API types

* Don't @link across packages

in case web documentation generation disallows it.

* Update matrix-widget-api

* Update matrix-js-sdk

Include matrix-org/matrix-js-sdk#4507 to fix playwright CI
2024-11-11 16:39:17 +00:00
David Langley 6134cfd9c4 Add mimetype checks
Add checks to validate the advertised mimetype and file extension of stickers, videos and images are coherent.
2024-11-11 15:44:33 +00:00
David Langley 3f70105204 lint 2024-11-11 11:42:18 +00:00
David Langley 4ff08f942d lint 2024-11-11 11:41:50 +00:00
David Langley 29b75385a3 handle rendering of invalid date errors 2024-11-11 11:41:05 +00:00
ElementRobot 17de66140d
[create-pull-request] automated change (#28411)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-09 06:20:13 +00:00
Robin d0cddc5b66
Feed events to widgets as they are decrypted (even if out of order) (#28376)
* Refactor feeding of events to widgets

This is a pure refactor with (hopefully) no behavior changes.

* Feed events to widgets as they are decrypted (even if out of order)

The code that feeds events to widgets tries to enforce that only events from the end of the timeline will be passed through. This is to prevent old, irrelevant events from being passed to widgets as the timeline is back-filled. However, since encrypted events need to be decrypted asynchronously, it's not possible to feed them to a widget in a strictly linear order without introducing some kind of blocking or unreliable delivery. This code has been dropping events when they're decrypted out of order, which we consider to be an undesirable behavior.

The solution provided here is that, to reflect the asynchronous nature of decryption, encrypted events that arrive at the end of the timeline will be fed to a widget whenever they finish decrypting, even if this means feeding them out of order. For now we're not aware of any widgets that care about knowing the exact order of events in the timeline, but if such a need reveals itself later, we can explore adding ordering information to this part of the widget API.

* Add braces to if
2024-11-08 14:35:47 +00:00
ElementRobot 9a6be72c10
[create-pull-request] automated change (#28408)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-08 09:31:14 +00:00
ElementRobot 536d6ad360
[create-pull-request] automated change (#28409)
Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
2024-11-08 06:24:40 +00:00
Michael Telatynski b604a6ea8c
Enable enable_authenticated_media in Playwright tests (#28395)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-07 11:58:17 +00:00
Michael Telatynski da4672d715
Handle authenticated media when downloading from ImageView (#28379)
* Handle authenticated media when downloading from ImageView

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>

* Iterate

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-07 11:43:33 +00:00
Michael Telatynski 74a919cb65
Deduplicate icons using Compound Design Tokens (#28381)
* Deduplicate icons using Compound Design Tokens

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

* Remove unused test images

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

* Update snapshots & screenshots

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-07 11:39:18 +00:00
ElementRobot b92101a3da
[create-pull-request] automated change (#28403)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-07 09:34:13 +00:00
Timo 5057668705
Auto approvoce `io.element.call.reaction` capability for element call widgets (#28401) 2024-11-06 20:15:19 +00:00
Michael Telatynski 88c72a1514
Ignore `m.3pid_changes` for Identity service 3PID changes (#28375)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-06 14:33:50 +00:00
Michael Telatynski d06cf09bf0
Switch secondary React trees to the createRoot API (#28296)
* Switch secondary React trees to the createRoot API

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>

* Add comment

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-06 12:44:54 +00:00
ElementRobot 2f8e98242c
[create-pull-request] automated change (#28391)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2024-11-06 09:02:22 +00:00
Michael Telatynski 1c6408081f
Add back maplibre-gl.js
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-06 08:58:30 +00:00
ElementRobot 3ff5a511e5
[create-pull-request] automated change (#28392)
Co-authored-by: t3chguy <t3chguy@users.noreply.github.com>
2024-11-06 06:23:22 +00:00
Michael Telatynski f3e976d67d
Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 19:12:43 +00:00
Michael Telatynski 21930a10ae
Iterate workflow
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 18:40:20 +00:00
Michael Telatynski 82a6826a02
Install knip to keep the codebase in check
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 18:36:34 +00:00
Michael Telatynski 1c06ebadcd
Avoid double exports
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 18:36:26 +00:00
Michael Telatynski 458b4a45e5
Avoid use of transitive deps
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 18:35:53 +00:00
Michael Telatynski 01039137b5
Remove unused types & imports
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 18:35:31 +00:00
Michael Telatynski f86099c76e
Remove unused mocks
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 18:34:54 +00:00
Michael Telatynski 464be37815
Remove unused enums
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 18:34:47 +00:00
Michael Telatynski f919d1654a
Simplify eslint configs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 18:33:42 +00:00
Michael Telatynski 7093c9a61b
Delete empty unused files
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 18:23:57 +00:00
Michael Telatynski 9ef3b0b994
Remove unused dependencies
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 18:17:11 +00:00
Richard van der Hoff 6042625198
Remove redundant `switch_package_to_release` call (#28384)
`switch_package_to_release` is now a no-op (there are no fields called
`matrix_lib_*` in matrix-js-sdk's package.json), so everything after that is
redundant.
2024-11-05 16:16:38 +00:00
Michael Telatynski 9d79a934bf
Flatten Vector-override components (#28346)
* Flatten Vector-override components

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>

* Improve coverage

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>

* Ie

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

* delint

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 15:41:00 +00:00
Michael Telatynski a355292a7f
Merge remote-tracking branch 'origin/develop' into develop 2024-11-05 14:03:17 +00:00
Michael Telatynski 24fabfff89
Fix post release docker check
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-05 14:02:25 +00:00
RiotRobot 0b6ed44390 Reset matrix-js-sdk back to develop branch 2024-11-05 13:59:24 +00:00
RiotRobot a6ce6dc7ab Merge branch 'master' into develop 2024-11-05 13:59:15 +00:00
RiotRobot 15984455af v1.11.84 2024-11-05 13:55:39 +00:00
RiotRobot 6e4bd564d5 Upgrade dependency to matrix-js-sdk@34.10.0 2024-11-05 13:50:59 +00:00