Commit graph

62565 commits

Author SHA1 Message Date
RiotRobot
e8ebdd4bff v1.11.77-rc.0 2024-09-03 12:46:15 +00:00
RiotRobot
30d7e5c0b2 Upgrade dependency to matrix-react-sdk@3.109.0-rc.0 2024-09-03 12:43:32 +00:00
RiotRobot
85a2a0893a Upgrade dependency to matrix-js-sdk@34.5.0-rc.0 2024-09-03 12:32:56 +00:00
David Baker
6bfdb3e16b
Fix read receipt animation (#12923)
* Fix read receipt animation

The way it was done involved remembering dom nodes and then getting
their position later when animating the receipt to its next position,
but I'm not sure how this worked since the DOM node may not neccessarily
be in the DOM anymore. Instead, just remember the bounding box coordinates.
At worst it might go weird if the window is resized but seems fine in
practice. Also, keeping references to dom nodes feels like a fast road
to memory leaks.

Fixes https://github.com/element-hq/element-web/issues/27916

* Attempt to write a test for read receipts

and fix naming

* Another test

also change a condition to make it testable
2024-09-03 11:59:30 +00:00
ElementRobot
5ff3fd67c4
[create-pull-request] automated change (#12949)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-09-03 06:22:31 +00:00
David Langley
579cb6b03c
Update to 2.37.9 (#12943) 2024-09-02 16:35:36 +00:00
Florian Duros
f033b64b53
Display the indicator even with one message in pinned message banner (#12946)
* Display the indicator even with one message

* Update e2e tests
2024-09-02 15:51:04 +00:00
Florian Duros
41686bba58
Always display last pinned message on the banner (#12945)
* Fix when an event is pinned and the banner displays the correct event.

Fix when an event is pinned and the banner displays the good event.

* Update e2e tests
2024-09-02 15:50:39 +00:00
Florian Duros
1ac533e730
Don't emit decrypted event for the banner (#12944) 2024-09-02 15:45:25 +00:00
Timshel
ae15bbe6e0
Allow user to set timezone (#12775)
* Allow user to set timezone

* Update test snapshots

---------

Co-authored-by: Florian Duros <florianduros@element.io>
2024-09-02 09:07:07 +00:00
ElementRobot
acc7342758
[create-pull-request] automated change (#12942)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-09-02 06:22:27 +00:00
ElementRobot
3d41f5be03
[create-pull-request] automated change (#12938)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-31 06:20:43 +00:00
renovate[bot]
5ee3f4cb9e
Update dependency matrix-widget-api to v1.9.0 (#27980)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-30 17:06:28 +01:00
Florian Duros
13ec19c22e
Sort the pinning message list in the same order than the banner (#12937) 2024-08-30 14:57:30 +00:00
Michael Weimann
19f8b44745
Implement download_file in widget driver (#12931)
* Implement download_file in widget driver

Signed-off-by: Michael Weimann <michael.weimann@nordeck.net>

* Fix test URIs

Signed-off-by: Michael Weimann <michael.weimann@nordeck.net>

* Use download-file branch as widget-api source

Signed-off-by: Michael Weimann <michael.weimann@nordeck.net>

* bump matrix-widget-api to 1.9.0

Signed-off-by: Kim Brose <kim.brose@nordeck.net>

* prettier

Signed-off-by: Kim Brose <kim.brose@nordeck.net>

---------

Signed-off-by: Michael Weimann <michael.weimann@nordeck.net>
Signed-off-by: Kim Brose <kim.brose@nordeck.net>
Co-authored-by: Kim Brose <kim.brose@nordeck.net>
2024-08-30 14:45:25 +00:00
Florian Duros
7dc006e13e
Merge pull request #27979 from element-hq/florianduros/fix-ci-js-sdk
Add `allowImportingTsExtensions` to tsconfig.json
2024-08-30 14:34:39 +00:00
Florian Duros
4713502232
Add allowImportingTsExtensions to tsconfig.json 2024-08-30 16:21:48 +02:00
Florian Duros
2a450c095c
Add allowImportingTsExtensions to tsconfig (#12939) 2024-08-30 13:54:14 +00:00
Florian Duros
d16ab09866
Display pinned messages on a banner at the top of a room (#12917)
* Move pinned message hooks to a dedicated file

* Add a banner at the top of a room to display the pinned messages

* Put the pinning banner behind labs pinning labs flag

* Add redacted event support

* Handle UTD in pinning message banner

* Add tests for redaction

* Make all the banner clickable

* Add tests for PinnedMessageBanner.tsx

* Add e2e tests for the pinned message banner

* Review changes
2024-08-29 14:26:10 +00:00
ElementRobot
8b2ded8a0e
[create-pull-request] automated change (#12935)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-29 06:22:58 +00:00
renovate[bot]
6fb8f6e66c
Update all non-major dependencies (#12909)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 15:14:26 +00:00
R Midhun Suresh
74c796d77a
Merge pull request #27972 from element-hq/midhun/fix-stale-bot
Fix stale action not closing issues as expected
2024-08-28 12:38:00 +00:00
R Midhun Suresh
a0c0d366af
Give actions permission to job
This is needed so that actions/stale@v9 can delete caches.
Without this permisson, the cache is never deleted leading to some
issues never being checked again.
2024-08-28 17:04:37 +05:30
Michael Telatynski
f5ae24dbd2
Merge pull request #27945 from weeman1337/fix-https-dev-server
Replace old webpack-dev-server https arg
2024-08-28 10:16:50 +00:00
Florian Duros
c6922c912e
Fix reply message truncation on 2 lines (#12929)
* Fix reply message truncation on 2 lines

* Add e2e tests for reply
2024-08-28 09:45:07 +00:00
Florian Duros
ea3c5cf787
Fix pin/unpin slowness and non refresh from the message action bar (#12934)
* Improve PinningUtils.ts doc and use common methods to check pin or unpin.
Removed unused methods.

* Send room account data and state event in parallel

* Rerender MessageActionBar.tsx if there is a room pinned event

* Update pinning util tests

* Add test for room pinned events in MessageActionBar-test.tsx
2024-08-28 08:56:46 +00:00
R Midhun Suresh
43941efbdb
Install deja-vu font in docker image (#12932)
* Install deja-vu font

* Add comment
2024-08-28 06:47:56 +00:00
ElementRobot
71c31bbed8
[create-pull-request] automated change (#12926)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com>
2024-08-28 06:22:32 +00:00
David Baker
8421022841
Rename all the slow reporter stuff to cjs (#12933)
To hopefully fix tests on develop
2024-08-27 14:46:50 +00:00
RiotRobot
addb335281 Reset matrix-js-sdk back to develop branch 2024-08-27 12:57:54 +00:00
RiotRobot
2cabeb68ce Reset matrix-react-sdk back to develop branch 2024-08-27 12:57:46 +00:00
RiotRobot
0a1c4b9e60 Merge branch 'master' into develop 2024-08-27 12:57:32 +00:00
RiotRobot
29ddd9e292 v1.11.76 2024-08-27 12:54:50 +00:00
RiotRobot
9da1263581 Upgrade dependency to matrix-react-sdk@3.108.0 2024-08-27 12:46:47 +00:00
RiotRobot
5b91dd88e1 Reset matrix-js-sdk back to develop branch 2024-08-27 12:44:59 +00:00
RiotRobot
e66807e052 Merge branch 'master' into develop 2024-08-27 12:44:50 +00:00
RiotRobot
e843fd48fa v3.108.0 2024-08-27 12:43:44 +00:00
RiotRobot
b90b0617dc Upgrade dependency to matrix-js-sdk@34.4.0 2024-08-27 12:39:27 +00:00
RiotRobot
2be2763167 Upgrade dependency to matrix-js-sdk@34.4.0 2024-08-27 12:39:20 +00:00
Florian Duros
30f84cd5a9
Update playwright image (#12930) 2024-08-27 12:09:57 +00:00
David Baker
8805220c9d
Merge pull request #27922 from element-hq/dbkr/apps_drawer_height_option
Add docs for widget container height option
2024-08-27 10:22:04 +00:00
David Baker
f0a75d8ad5
Add a config option to control the default widget container height (#12893)
* Add a config option to control the default widget container height

* Oops: need to remember to git checkout
2024-08-27 09:59:54 +00:00
Florian Duros
e599428b74
Ignore desktop for minimum browser support. (#12928) 2024-08-27 09:41:49 +00:00
renovate[bot]
1b70b22c27
Update typescript-eslint monorepo to v7.18.0 (#12924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 20:11:56 +00:00
David Baker
2b13ae3649
Merge pull request #27958 from element-hq/renovate/typescript-eslint-monorepo
Update typescript-eslint monorepo to v7.18.0
2024-08-23 16:15:18 +00:00
renovate[bot]
405060cb6a
Update typescript-eslint monorepo to v7.18.0 2024-08-23 15:41:02 +00:00
renovate[bot]
8381e13338
Update stylelint (#12922)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-23 15:24:02 +00:00
David Baker
9045d9ccaa
Merge pull request #27956 from element-hq/renovate/babel-monorepo
Update babel monorepo
2024-08-23 15:23:35 +00:00
Richard van der Hoff
5a9d7ba2d7
Remove unused CryptoCallbacks implementations (#12919)
* Remove unused `onSecretRequested` callback

This thing is unused with the rust crypto stack (which is lucky, because it
uses methods that only work with the legacy stack).

* Remove unused `getDehydrationKey` method

This callback is no longer used, so there is no need for an implementation.

* Remove unused `dehydrationCache`

This is no longer written to, so is redundant.

* Remove another write to `CryptoCallbacks.getDehydrationKey`

As before: this hook is no longer used by the js-sdk, so writing to it is
pointless.
2024-08-23 14:00:18 +00:00
renovate[bot]
5b8628ecd8
Update babel monorepo 2024-08-23 13:23:20 +00:00