1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00
Commit Graph

48358 Commits

Author SHA1 Message Date
1233d6a472 Use new crypto api to send to-device messages from widgets 2024-09-11 16:55:58 +01:00
b67a2303f9 Update README.md with archive notice (#12970)
* Update README.md with archive notice

* lint
2024-09-11 13:37:55 +00:00
0252c1214c Reset matrix-js-sdk back to develop branch 2024-09-10 12:49:18 +00:00
2bb3313c31 Merge branch 'master' into develop 2024-09-10 12:49:08 +00:00
0aa9df2a22 v3.109.0 v3.109.0 2024-09-10 12:48:00 +00:00
fe01257371 Upgrade dependency to matrix-js-sdk@34.5.0 2024-09-10 12:32:24 +00:00
33c9c04598 [create-pull-request] automated change (#12966)
Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com>
2024-09-06 06:16:21 +00:00
33791cab2d Merge pull request #12965 from matrix-org/florianduros/pinned-messages/analytics-event
Add analytics event for pinned messages
2024-09-05 16:27:56 +01:00
08d1b6ceae Add analytics event for pinned messages 2024-09-05 16:56:18 +02:00
bce710e34e Upgrade @matrix-org/analytics-events to 0.25.0 2024-09-05 16:54:34 +02:00
5bfbca9eb0 Migrate all pinning checks and actions into PinningUtils (#12964) 2024-09-05 14:37:24 +00:00
26399237f6 Update browserslist (#12953)
* Update browserslist

* Increment version in user-agent string

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: R Midhun Suresh <hi@midhun.dev>
2024-09-05 14:32:02 +00:00
649074273e Log phases in the verification process (#12963)
When the EncryptionPanel (which does the work of the verification flow) changes
"phase", log it. I hope this will be helpful when diagnosing stuck
verifications.
2024-09-05 09:34:39 +00:00
cdffbdb81a Add error handling for room publish toggle (#12941)
* feat: added error handling for room publish toggle

* chore: fixed the messages and removed `console.log`

* chore: added minor comment that was removed

* fix: addressed review comments

* fix: fixed linting
2024-09-05 09:01:10 +00:00
1e3320da1e Pinned message list: prevent sender name to overflow pinned event tile (#12947)
* Prevent sender name to overflow pinned event tile

* Add tooltip to display the sender name
2024-09-04 09:45:18 +00:00
ab1e28bfea Compute with of content of pinned event tile (#12951) 2024-09-04 09:07:53 +00:00
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
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
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
33404e42fd Update stylelint (#12958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 23:35:18 +00:00
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
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
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
8f22eb6443 v3.109.0-rc.0 v3.109.0-rc.0 2024-09-03 12:40:24 +00:00
9c233ef5db Upgrade dependency to matrix-js-sdk@34.5.0-rc.0 2024-09-03 12:32:49 +00:00
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
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
579cb6b03c Update to 2.37.9 (#12943) 2024-09-02 16:35:36 +00:00
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
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
1ac533e730 Don't emit decrypted event for the banner (#12944) 2024-09-02 15:45:25 +00:00
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
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
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
13ec19c22e Sort the pinning message list in the same order than the banner (#12937) 2024-08-30 14:57:30 +00:00
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
2a450c095c Add allowImportingTsExtensions to tsconfig (#12939) 2024-08-30 13:54:14 +00:00
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
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
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
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
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
43941efbdb Install deja-vu font in docker image (#12932)
* Install deja-vu font

* Add comment
2024-08-28 06:47:56 +00:00
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
8421022841 Rename all the slow reporter stuff to cjs (#12933)
To hopefully fix tests on develop
2024-08-27 14:46:50 +00:00
5b91dd88e1 Reset matrix-js-sdk back to develop branch 2024-08-27 12:44:59 +00:00
e66807e052 Merge branch 'master' into develop 2024-08-27 12:44:50 +00:00
e843fd48fa v3.108.0 v3.108.0 2024-08-27 12:43:44 +00:00
2be2763167 Upgrade dependency to matrix-js-sdk@34.4.0 2024-08-27 12:39:20 +00:00
30f84cd5a9 Update playwright image (#12930) 2024-08-27 12:09:57 +00:00