Commit graph

44347 commits

Author SHA1 Message Date
Linerly
40769a43eb Translated using Weblate (Indonesian)
Currently translated at 100.0% (3721 of 3721 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2023-01-31 12:38:35 +00:00
Szimszon
d526ec82d5 Translated using Weblate (Hungarian)
Currently translated at 100.0% (3721 of 3721 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2023-01-31 12:38:34 +00:00
Weblate
685c63cb95 Merge branch 'origin/develop' into Weblate. 2023-01-31 10:58:30 +00:00
RiotRobot
e2af97c4de Reset matrix-js-sdk back to develop branch 2023-01-31 10:57:35 +00:00
Weblate
a3c17fe01c Merge branch 'origin/develop' into Weblate. 2023-01-31 10:57:34 +00:00
waclaw66
9a27478cda Translated using Weblate (Czech)
Currently translated at 100.0% (3721 of 3721 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-01-31 10:57:34 +00:00
Ihor Hordiichuk
571fea1a96 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3721 of 3721 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-01-31 10:57:32 +00:00
Vri
d2fd4ace51 Translated using Weblate (German)
Currently translated at 100.0% (3721 of 3721 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-01-31 10:57:29 +00:00
RiotRobot
76f104c962 Resetting package fields for development 2023-01-31 10:57:24 +00:00
RiotRobot
b7300594d5 Merge branch 'master' into develop 2023-01-31 10:57:16 +00:00
RiotRobot
1f3ad86106 v3.65.0 2023-01-31 10:56:58 +00:00
RiotRobot
f29f566bbf Prepare changelog for v3.65.0 2023-01-31 10:56:55 +00:00
RiotRobot
e80a85bbc2 Upgrade matrix-js-sdk to 23.2.0 2023-01-31 10:54:24 +00:00
Weblate
41c747a9ce Merge branch 'origin/develop' into Weblate. 2023-01-31 09:58:22 +00:00
Clark Fischer
431afaafc6
Unify unread notification state determination (#9941)
* Add tests for unread notification facilities

Add some tests to guarantee some consistency in `useUnreadNotifications` and
`RoomNotificationState`.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Add RoomNotifs#determineUnreadState

Intended as a singular replacement for the divergent implementations before.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Unify room unread state determination

Have both the class-based facility and the hook use the new unified logic in
`RoomNotifs#determineUnreadState`.

Addresses https://github.com/vector-im/element-web/issues/24229

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

---------

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-01-31 09:58:17 +00:00
Weblate
18d565ca0e Merge branch 'origin/develop' into Weblate. 2023-01-31 09:55:27 +00:00
Clark Fischer
53a9b6447b
Fix MessageEditHistoryDialog crashing on complex input (#10018)
* noImplicitAny fixes for MessageDiffUtils

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Add tests for MessageDiffUtils

Adds mostly snapshot tests for MessageDiffUtils to guarantee consistent
behavior.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Strict mode fixes for MessageDiffUtils

Gets `MessageDiffUtils` to pass under `tsc --strict`.

Fixes https://github.com/vector-im/element-web/issues/23665 - no longer errors,
though it still isn't correct.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Remove obsolete DiffDOM workaround

Workaround is no longer necessary as of DiffDOM 4.2.1

See https://github.com/fiduswriter/diffDOM/issues/90

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

---------

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
2023-01-31 09:55:20 +00:00
Weblate
6f205056a7 Merge branch 'origin/develop' into Weblate. 2023-01-31 09:48:42 +00:00
Harnoor Singh
97f6431d60
Migrate highlight.js API call in TextualBody (#9923)
Co-authored-by: Michael Weimann <michaelw@matrix.org>
Fixes https://github.com/vector-im/element-web/issues/22233
2023-01-31 09:48:34 +00:00
Weblate
4275d81803 Merge branch 'origin/develop' into Weblate. 2023-01-31 09:45:39 +00:00
alunturner
39f5fc034f
Paragraph integration for rich text editor (#10008)
* integrates paragraph refactor in rich text editor
* minor CSS changes to accomodate this
* bumps rich text editor version to 0.22.0
2023-01-31 09:45:34 +00:00
Weblate
7410125728 Merge branch 'origin/develop' into Weblate. 2023-01-31 09:42:25 +00:00
Robin
43c67ce4bf
Add ignore user confirmation dialog (#6116)
Signed-off-by: Robin Townsend <robin@robin.town>
2023-01-31 09:42:18 +00:00
Weblate
8b0977bd50 Merge branch 'origin/develop' into Weblate. 2023-01-31 08:48:40 +00:00
Suguru Hirahara
b91f0539f3 Translated using Weblate (Japanese)
Currently translated at 97.4% (3626 of 3719 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2023-01-31 08:48:40 +00:00
Michael Weimann
269d1622b9
Implement more robust broadcast chunk header detection (#10006) 2023-01-31 09:48:30 +01:00
Weblate
a0c3b7472e Merge branch 'origin/develop' into Weblate. 2023-01-30 17:02:01 +00:00
Germain
e9d723269f
Use CopyableText in devtools (#9993)
Co-authored-by: Alun Turner <alunt@element.io>
2023-01-30 17:01:54 +00:00
Weblate
d5a3d4acb7 Merge branch 'origin/develop' into Weblate. 2023-01-30 16:39:22 +00:00
Parag Poddar
c71dceb9a8
Use monospace font for room, message IDs in View Source modal (#9956) 2023-01-30 16:39:16 +00:00
Weblate
e6b5d07724 Merge branch 'origin/develop' into Weblate. 2023-01-30 15:52:45 +00:00
Michael Telatynski
5095bc0427
Fix new tests introduced by html export tweaks (#10022) 2023-01-30 15:52:38 +00:00
Weblate
c73f071952 Merge branch 'origin/develop' into Weblate. 2023-01-30 14:31:39 +00:00
Clark Fischer
4c1e4f5127
Fix "[object Promise]" appearing in HTML exports (#9975)
Fixes https://github.com/vector-im/element-web/issues/24272
2023-01-30 14:31:32 +00:00
Weblate
006480afff Merge branch 'origin/develop' into Weblate. 2023-01-30 12:20:22 +00:00
Suguru Hirahara
1068a638f6 Translated using Weblate (Japanese)
Currently translated at 97.4% (3626 of 3719 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2023-01-30 12:20:22 +00:00
Germain
3e2bf5640e
Update to supportsThreads (#9907) 2023-01-30 12:20:11 +00:00
Weblate
4327b76577 Merge branch 'origin/develop' into Weblate. 2023-01-30 10:02:38 +00:00
Andy Balaam
a21929dba0
Convert RoomCreate to a functional component (#9999) 2023-01-30 10:02:32 +00:00
Weblate
b24f67a60f Merge branch 'origin/develop' into Weblate. 2023-01-30 09:54:11 +00:00
AHMAD KADRI
c7b01af49e
Should open new 1:1 chat room after leaving the old one (#9880)
* should open new 1:1 chat room after leaving the old one

Signed-off-by: Ahmad Kadri <ahmad.kadri@nordeck.net>

* change the copyright

* update the test

Signed-off-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com>

---------

Signed-off-by: Ahmad Kadri <ahmad.kadri@nordeck.net>
Signed-off-by: AHMAD KADRI <52747422+ahmadkadri@users.noreply.github.com>
Co-authored-by: Oliver Sand <oliver.sand@nordeck.net>
Co-authored-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-01-30 09:54:05 +00:00
Weblate
684459dbfc Merge branch 'origin/develop' into Weblate. 2023-01-30 09:50:23 +00:00
waclaw66
a7cb45b92a Translated using Weblate (Czech)
Currently translated at 100.0% (3719 of 3719 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-01-30 09:50:23 +00:00
Suguru Hirahara
7c595c2eb2 Translated using Weblate (Japanese)
Currently translated at 97.4% (3626 of 3719 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2023-01-30 09:50:21 +00:00
Jeff Huang
dbb6213109 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3719 of 3719 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-01-30 09:50:17 +00:00
Clark Fischer
a8aa4de4b4
Member avatars without canvas (#9990)
* Strict typechecking fixes for Base/Member/Avatar

Update the core avatar files to pass `--strict --noImplicitAny` typechecks.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Add tests for Base/Member/Avatar

More thoroughly test the core avatar files. Not necessarily the most thorough,
but an improvement.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Extract TextAvatar from BaseAvatar

Extracted the fallback/textual avatar into its own component.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Use standard HTML for non-image avatars

Firefox users with `resistFingerprinting` enabled were seeing random noise
for rooms and users without avatars. There's no real reason to use data
URLs to present flat colors.

This converts non-image avatars to inline blocks with background colors.

See https://github.com/vector-im/element-web/issues/23936

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

* Have pills use solid backgrounds rather than colored images

Similar to room and member avatars, pills now use colored pseudo-elements
rather than background images.

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>

---------

Signed-off-by: Clark Fischer <clark.fischer@gmail.com>
Co-authored-by: Andy Balaam <andy.balaam@matrix.org>
2023-01-30 09:50:08 +00:00
Weblate
2f8546b352 Merge branch 'origin/develop' into Weblate. 2023-01-29 10:04:02 +00:00
Jozef Gaal
15e7dac1ac Translated using Weblate (Slovak)
Currently translated at 100.0% (3719 of 3719 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2023-01-29 10:04:02 +00:00
Linerly
8ffe6c7468 Translated using Weblate (Indonesian)
Currently translated at 100.0% (3719 of 3719 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2023-01-29 10:03:59 +00:00
Suguru Hirahara
34e28ce958 Translated using Weblate (Japanese)
Currently translated at 97.1% (3614 of 3719 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2023-01-29 10:03:57 +00:00