Commit Graph

62532 Commits

Author SHA1 Message Date
Florian Duros
ab1e28bfea
Compute with of content of pinned event tile (#12951) 2024-09-04 09:07:53 +00:00
Florian Duros
60fe70b3cc
Add a prefix to file, poll, image, video and audio in the pinned message banner (#12950)
* Move event preview to its own component

* Remove unused parameter

* Add prefix to file, audio, video and image in the pinned message banner

* Add prefix to poll in the pinned message banner

* Add tests
2024-09-04 09:07:19 +00:00
David Baker
d83534548a
Merge pull request #27998 from element-hq/renovate/react-types
Update dependency @types/react-transition-group to v4.4.11
2024-09-04 08:57:29 +00:00
David Baker
34c25bb581
Merge pull request #27997 from element-hq/renovate/definitelytyped
Update dependency @types/node to v16.18.106
2024-09-04 08:56:22 +00:00
renovate[bot]
9d8c5b6a1c
Update dependency @testing-library/jest-dom to v6.5.0 (#12957)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 23:36:25 +00:00
renovate[bot]
dbc8c9f5b1
Update peter-evans/create-pull-request action to v7 (#12960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 23:35:44 +00:00
renovate[bot]
33404e42fd
Update stylelint (#12958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 23:35:18 +00:00
renovate[bot]
df82c8a84f
Update dependency @sentry/browser to v8.27.0 (#12956)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:21:20 +00:00
renovate[bot]
80cea67a3d
Update peter-evans/create-pull-request action to v7 2024-09-03 21:09:25 +00:00
renovate[bot]
9a24e3df2d
Update dependency husky to v9 2024-09-03 21:09:04 +00:00
renovate[bot]
7bb7934a85
Update dependency eslint-plugin-unicorn to v55 2024-09-03 21:08:35 +00:00
renovate[bot]
a6e78dbf6c
Update stylelint 2024-09-03 21:08:05 +00:00
renovate[bot]
5e555ff44f
Update babel monorepo 2024-09-03 21:07:43 +00:00
renovate[bot]
20f3425e4e
Update dependency @types/react-transition-group to v4.4.11 2024-09-03 21:07:25 +00:00
renovate[bot]
bc7655c930
Update dependency @types/node to v16.18.106 2024-09-03 21:07:07 +00:00
renovate[bot]
892b297968
Update babel monorepo (#12955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:04:12 +00:00
renovate[bot]
4769985315
Update dependency @types/node to v18.19.47 (#12954)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 21:03:53 +00:00
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