Commit Graph

28303 Commits

Author SHA1 Message Date
Travis Ralston 9e0ec63ea7 Use correct variable 2021-07-31 11:50:25 -06:00
Travis Ralston 0923dd37ab Sanitize untrusted variables from message previews before translation
Fixes https://github.com/vector-im/element-web/issues/18314
2021-07-31 11:43:05 -06:00
Travis Ralston 1efd226896 Merge pull request #6510 from matrix-org/travis/relfix/vm/dl-1
[Release] Improve download interactions
2021-07-30 10:50:50 -06:00
Travis Ralston c5c58a5e91 Add file size to tooltip 2021-07-30 08:56:55 -06:00
Michael Telatynski f86265bd03 createRoom, only send join rule event if we have a join rule to put inside it 2021-07-30 15:20:20 +01:00
Travis Ralston a8ec8f4c4b Appease the linter 2021-07-29 16:03:08 -06:00
Travis Ralston b1090a35b5 Use new getter for content in MFileBody 2021-07-29 16:03:03 -06:00
Travis Ralston ac1014ae3f Fix file name not ellipsizing
Turns out the tooltip component doesn't copy over class names.
2021-07-29 16:02:58 -06:00
Travis Ralston 15f6c6300a Improve general style per design direction 2021-07-29 16:02:53 -06:00
Travis Ralston 790696a4bb Change "Downloading" tooltip to "Decrypting"
Fixes https://github.com/vector-im/element-web/issues/18239
2021-07-29 16:02:50 -06:00
Travis Ralston bde2f757aa Unify and improve download interactions
With help from Palid.

This does two major things:
1. Makes the tile part of a file body clickable to trigger a download.
2. Refactors a lot of the recyclable code out of the DownloadActionButton in favour of a utility. It's not a perfect refactoring, but it sets the stage for future work in the area (if needed).

The refactoring still has a heavy reliance on being supplied an iframe, but simplifies the DownloadActionButton and a hair of the MFileBody download code. In future, we'd probably want to make the iframe completely managed by the FileDownloader rather than have it only sometimes manage a hidden iframe.
2021-07-29 16:02:46 -06:00
Dariusz Niemczyk 7f6cf29766 Fix grecaptcha regression 2021-07-29 12:45:29 +02:00
Michael Telatynski f8106ef39b Fix CreateRoomDialog exploding when making public room outside of a space 2021-07-28 08:42:09 +01:00
Travis Ralston 93f42182c0 Merge pull request #6479 from matrix-org/travis/voice-messages/fix-placeholder-ui
Fix timing of voice message recording UI appearing
2021-07-27 08:05:28 -06:00
David Baker 5ead53b36a Merge pull request #6483 from SimonBrandner/fix/dont-anim-resize/18261
Fix PiP resize issues
2021-07-27 14:42:04 +01:00
Šimon Brandner f532c302b6 Don't animate when resizing and move when the PiP changes size
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 15:31:54 +02:00
Šimon Brandner 001490f70d Fix unused resize listener
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 15:30:44 +02:00
David Baker f7d0419cee Merge pull request #6482 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
Translations update from Weblate
2021-07-27 14:10:50 +01:00
David Baker 7733ee2578 Merge pull request #6478 from matrix-org/dbkr/scrollpanel_loop_breaker
Fix infinite pagination loop when offline
2021-07-27 13:54:30 +01:00
waclaw66 f2ed147cae Translated using Weblate (Czech)
Currently translated at 100.0% (3080 of 3080 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-07-27 12:40:31 +00:00
jelv 1f7e668bb2 Translated using Weblate (Dutch)
Currently translated at 100.0% (3080 of 3080 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-07-27 12:40:28 +00:00
jelv d01a30b06b Translated using Weblate (Dutch)
Currently translated at 99.6% (3069 of 3080 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-07-27 12:19:12 +00:00
Weblate 95ccf0cd1d Merge branch 'origin/develop' into Weblate. 2021-07-27 12:15:15 +00:00
random c111b027a9 Translated using Weblate (Italian)
Currently translated at 99.9% (3079 of 3080 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-07-27 12:15:15 +00:00
jelv 9244090de8 Translated using Weblate (Dutch)
Currently translated at 99.4% (3062 of 3080 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-07-27 12:15:12 +00:00
Germain Souquet 8104ba936c Add data-layout to MELS for better CSS structure 2021-07-27 11:30:25 +02:00
David Baker e5d538412b Typo
Co-authored-by: Germain <germain@souquet.com>
2021-07-27 09:29:32 +01:00
Weblate 154c72e00a Merge branch 'origin/develop' into Weblate. 2021-07-27 07:17:51 +00:00
waclaw66 702a8dbff2 Translated using Weblate (Czech)
Currently translated at 100.0% (3080 of 3080 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-07-27 07:17:51 +00:00
Germain 788abac74d Merge pull request #6471 from SimonBrandner/fix/voip-event-tiles/18216
Fix VoIP event tile issues
2021-07-27 08:17:31 +01:00
Travis Ralston 7f01e31040 Fix timing of voice message recording UI appearing
Fixes https://github.com/vector-im/element-web/issues/18223

We delay the composer's state until a recording is truly ready here, preventing buttons from disappearing while we're still figuring things out.
2021-07-26 23:33:21 -06:00
David Baker f20da6d3de Fix infinite pagination loop when offline
I'm not really sure how this is meant to work - and I'm not sure
how it was working before, but this is causing fairly bad infinite
loops if I start element with no homeserver connection. This is
a fairly crude fix, only thing I can think that would be better is
some awareness of when network requests were failing and intentionally
backing off.

Fixes https://github.com/vector-im/element-web/issues/18242
2021-07-26 22:05:35 +01:00
Šimon Brandner 29b0d03fe4 Update copy
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-26 21:27:22 +02:00
Weblate 62d16c9adf Merge branch 'origin/develop' into Weblate. 2021-07-26 08:27:35 +00:00
Michael Telatynski 405fe436a6 Merge pull request #6469 from matrix-org/t3chguy/fix/18211
Fix editing of <sub> & <sup> & <u>
2021-07-26 09:27:30 +01:00
Weblate 8b33616aef Merge branch 'origin/develop' into Weblate. 2021-07-26 06:46:56 +00:00
Germain c7bbb497f9 Merge branch 'develop' into gsouquet/fix-18128 2021-07-26 07:41:42 +01:00
Weblate ae0078c7ba Merge branch 'origin/develop' into Weblate. 2021-07-26 06:41:04 +00:00
Priit Jõerüüt 418aee4c4c Translated using Weblate (Estonian)
Currently translated at 98.7% (3043 of 3080 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-07-26 06:41:04 +00:00
jelv 92394ac996 Translated using Weblate (Dutch)
Currently translated at 99.0% (3052 of 3080 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-07-26 06:41:00 +00:00
a5r0n ee92c09927 Translated using Weblate (Hebrew)
Currently translated at 83.7% (2581 of 3080 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/he/
2021-07-26 06:40:57 +00:00
NetanelHarris 2c2031a07b Translated using Weblate (Hebrew)
Currently translated at 83.7% (2581 of 3080 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/he/
2021-07-26 06:40:57 +00:00
Germain 93ae5c20d6 Merge pull request #6464 from matrix-org/gsouquet/fix-18172
Fix reactions row pushing content on IRC layout
2021-07-26 07:40:49 +01:00
Šimon Brandner 8c635884d9 Add comment
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 11:05:52 +02:00
Šimon Brandner 456800af21 i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 10:57:51 +02:00
Šimon Brandner a2c7035163 Tweak copy
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 10:57:46 +02:00
Šimon Brandner 7c805501bc Cleanup hangup dialogs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 10:56:04 +02:00
Šimon Brandner f7087d5148 Add declined state
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 10:30:53 +02:00
Šimon Brandner f63b6fc0a9 Support for getting reject info
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 10:28:27 +02:00
Šimon Brandner 4784ddc175 Add state for when the remote doesn't pick up
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 08:57:29 +02:00