Commit graph

10900 commits

Author SHA1 Message Date
Eric Eastwood
ff1468b6d3
Replace newTranslatableError with UserFriendlyError (#10440
* Introduce UserFriendlyError

* Replace newTranslatableError with UserFriendlyError

* Remove ITranslatableError

* Fix up some strict lints

* Document when we/why we can remove

* Update matrix-web-i18n

Includes changes to find `new UserFriendlyError`,
see https://github.com/matrix-org/matrix-web-i18n/pull/6

* Include room ID in error

* Translate fallback error

* Translate better

* Update i18n strings

* Better re-use

* Minor comment fixes
2023-03-31 08:30:43 +01:00
Kerry
6eda1fa6e2
replace Polls history strings with Poll history (#10454)
Co-authored-by: Michael Weimann <michaelw@matrix.org>
2023-03-28 22:13:51 +00:00
Eric Eastwood
e5f06df3f7
Better error handling in jump to date (#10405)
- Friendly error messages with details
 - Add a way to submit debug logs for actual errors (non-networking errors)
 - Don't jump someone back to a room they already navigated away from. Fixes bug mentioned in https://github.com/vector-im/element-web/issues/21263#issuecomment-1056809714
2023-03-24 14:39:24 -05:00
Patrick Cloke
e19127f8ad
Implement MSC3952: intentional mentions (#9983)
Implements the intentional mentions feature of MSC3952 (behind
a labs flag).

If enabled, this will send an org.matrix.msc3952.mentions property
on events that will contain the user IDs and/or whether the room is
being mentioned. These mentions also gets propagated via some
custom behaviour for replies and edits.
2023-03-23 11:47:40 +00:00
Michael Weimann
3eb6a55b93
Tweak pill UI (#10417) 2023-03-22 13:27:24 +01:00
Michael Weimann
96d1b74ffc
Pillify event permalinks (#10392) 2023-03-21 10:23:20 +01:00
Kerry
2344eaab1c
Poll history - remove active development labs flag (#10357)
* add poll history tab to room settings

* test poll history in room settings

* remove posthog tracking for poll his

* remove labs flag for poll history

* i18n
2023-03-15 20:54:12 +00:00
Michael Telatynski
e3930fb8b0
Show all labs even if incompatible, with appropriate tooltip explaining requirements (#10369)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2023-03-15 08:37:41 +00:00
Kerry
209b65243a
Enable "jsx-a11y/alt-text" and "jsx-a11y/label-has-associated-control" lint rules (#10361)
* enable "jsx-a11y/alt-text" lint rule

* enable "jsx-a11y/label-has-associated-control"
2023-03-14 21:25:11 +00:00
Michael Telatynski
e0e83bd81d
Fix UIFeature.Registration not applying to all paths (#10371) 2023-03-14 15:20:38 +00:00
Michael Telatynski
8cb8cd4eb1
Conform more code to strictNullChecks (#10368
* Conform more code to `strictNullChecks`

* Iterate
2023-03-14 11:09:35 +00:00
Kerry
9f66082486
Notifications: inline error message on notifications saving error (#10288)
* basic sync setup

* formatting

* get loudest value for synced rules

* more types

* test synced rules in notifications settings

* type fixes

* noimplicitany fixes

* remove debug

* tidying

* extract updatePushRuleActions fn to utils

* extract update synced rules

* just synchronise in one place?

* monitor account data changes AND trigger changes sync in notifications form

* lint

* setup LoggedInView test with enough mocks

* test rule syncing in LoggedInView

* strict fixes

* more comments

* one more comment

* add error variant for caption component

* tests for new error message

* tweak styles

* noImplicitAny

* revert out of date prettier changes to unrelated files

* limit inline message to radios only, tests

* strict fix
2023-03-13 21:59:04 +00:00
Kerry
1e46efe89c
Poll history - make poll history independent from dialogs (#10349)
* move pollhistory from dialogs to polls directory

* rename PollHistoryDialog -> PollHistory

* rename references to PollHistoryDialog

* move title to PollHistory

* add option to collapse empty dialog header
2023-03-12 20:22:30 +00:00
Michael Telatynski
4b8bada24b
Apply strictNullChecks around the codebase (#10302
* Apply `strictNullChecks` around the codebase

* Iterate PR
2023-03-07 13:19:18 +00:00
Priit Jõerüüt
ebfc22808e Translated using Weblate (Estonian)
Currently translated at 100.0% (3744 of 3744 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-07 10:23:20 +00:00
Weblate
55b579afef Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
2023-03-07 09:56:37 +00:00
Weblate
4c61291c44 Merge branch 'origin/develop' into Weblate. 2023-03-07 09:55:42 +00:00
Priit Jõerüüt
45f387a387 Translated using Weblate (Estonian)
Currently translated at 99.9% (3742 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2023-03-07 09:55:42 +00:00
Besnik Bleta
58885cb4ee Translated using Weblate (Albanian)
Currently translated at 99.6% (3731 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2023-03-07 09:55:40 +00:00
Jozef Gaal
68cca0bf12 Translated using Weblate (Slovak)
Currently translated at 100.0% (3745 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2023-03-07 09:55:38 +00:00
waclaw66
46693b59eb Translated using Weblate (Czech)
Currently translated at 100.0% (3745 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2023-03-07 09:55:35 +00:00
Linerly
d1753f512c Translated using Weblate (Indonesian)
Currently translated at 100.0% (3745 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2023-03-07 09:55:33 +00:00
Ihor Hordiichuk
9680aca37f Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3745 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-03-07 09:55:32 +00:00
Jeff Huang
58ad92906b Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3745 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-07 09:55:29 +00:00
Glandos
0dfb9bd59b Translated using Weblate (French)
Currently translated at 100.0% (3745 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-03-07 09:55:27 +00:00
Vri
29f38adceb Translated using Weblate (German)
Currently translated at 100.0% (3745 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2023-03-07 09:55:24 +00:00
Michael Telatynski
65aafaf2e0
Fix incorrect copy in space creation flow (#10296) 2023-03-07 09:55:14 +00:00
Weblate
498e6448ac Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
2023-03-06 17:15:17 +00:00
Weblate
8bcf75e3df Merge branch 'origin/develop' into Weblate. 2023-03-06 17:14:22 +00:00
Ihor Hordiichuk
f277405d98 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3745 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-03-06 17:14:22 +00:00
Michael Telatynski
5e21ca43ec
Fix space settings dialog having rogue title tooltip (#10293) 2023-03-06 17:14:11 +00:00
Besnik Bleta
4de60f6bb4 Translated using Weblate (Albanian)
Currently translated at 99.6% (3731 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2023-03-06 16:25:22 +00:00
Linerly
54498f1543 Translated using Weblate (Indonesian)
Currently translated at 100.0% (3745 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/id/
2023-03-06 15:10:11 +00:00
Szimszon
c784ff38b3 Translated using Weblate (Hungarian)
Currently translated at 99.8% (3738 of 3745 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2023-03-06 15:10:09 +00:00
Weblate
fc6933da35 Merge branch 'origin/develop' into Weblate. 2023-03-06 11:09:08 +00:00
Michael Weimann
9b74b0f057
Only allow to start a DM with one email if encryption by default is enabled (#10253) 2023-03-06 12:08:17 +01:00
Weblate
4ed6d78ca6 Merge branch 'origin/develop' into Weblate. 2023-03-06 11:08:12 +00:00
Michael Weimann
db6ee53535
Implement third-party invite waiting room (#10229) 2023-03-06 12:08:04 +01:00
random
638437c0b1 Translated using Weblate (Italian)
Currently translated at 100.0% (3742 of 3742 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2023-03-06 10:01:26 +00:00
Open Culture Foundation
d052f037ea Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3742 of 3742 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-05 12:33:46 +00:00
Weblate
8732cf50eb Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
2023-03-03 09:39:03 +00:00
Weblate
9ee04a2466 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
2023-03-03 09:33:37 +00:00
Weblate
9bbbd5b8eb Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
2023-03-03 09:20:53 +00:00
Weblate
d405090a98 Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/
2023-03-02 17:37:18 +00:00
Weblate
25ca47885f Merge branch 'origin/develop' into Weblate. 2023-03-02 17:36:24 +00:00
Will Hunt
2d2b40ddac
Remove hosting link provider from Element (#10270)
* Remove hosting link provider from Element

* fix whitespace
2023-03-02 17:36:16 +00:00
Glandos
13fdf6b84b Translated using Weblate (French)
Currently translated at 100.0% (3756 of 3756 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2023-03-02 09:58:15 +00:00
Jozef Gaal
4782f3110e Translated using Weblate (Slovak)
Currently translated at 100.0% (3756 of 3756 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2023-03-02 05:33:32 +00:00
Ihor Hordiichuk
bd14077b5b Translated using Weblate (Ukrainian)
Currently translated at 100.0% (3756 of 3756 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2023-03-02 05:33:30 +00:00
Jeff Huang
c735f0f5d4 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3756 of 3756 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2023-03-02 05:33:27 +00:00