Commit graph

30156 commits

Author SHA1 Message Date
Šimon Brandner
7e786e67a8 Added live validation 2020-11-21 20:10:38 +01:00
Travis Ralston
43be434aec Appease the linter 2020-11-20 19:36:45 -07:00
Travis Ralston
107fa98180 Support arbitrary widgets sticking to the screen + sending stickers
Following https://github.com/matrix-org/matrix-react-sdk/pull/5385, it is now possible for a widget to request these capabilities without being a video conference or sticker picker. This commit actually enables this support for those kinds of widgets.

This commit also fixes an issue in the URL templating where some variables might get set to 'undefined' - this appears to be a scoping issue, so StopGapWidget now stores the definition alongside the superclass. 

Fixes https://github.com/vector-im/element-web/issues/15001
2020-11-20 16:53:15 -07:00
Weblate
60451e0bdc Merge branch 'origin/develop' into Weblate. 2020-11-20 16:17:25 +00:00
Travis Ralston
5f47077a30
Merge pull request #5385 from matrix-org/travis/msc-send-widget-events
Add new widget API actions for changing rooms and sending/receiving events
2020-11-20 09:17:18 -07:00
Weblate
1a344ea0ed Merge branch 'origin/develop' into Weblate. 2020-11-20 16:15:07 +00:00
Tuomas Hietala
02d9ff3455 Translated using Weblate (Finnish)
Currently translated at 82.0% (2168 of 2642 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fi/
2020-11-20 16:15:07 +00:00
Michael Telatynski
8c2f1b4342
Merge pull request #5434 from matrix-org/t3chguy/fix/15755
Revert room header click behaviour to opening room settings
2020-11-20 16:14:49 +00:00
Travis Ralston
2446fb151a Update widget-api 2020-11-20 09:05:09 -07:00
Michael Telatynski
a1351ea1cd Increase Dialog button mixin border-radius to 8px 2020-11-20 15:45:34 +00:00
Michael Telatynski
fc3542ac4c Extend Platform to support idpId for SSO flows 2020-11-20 14:24:02 +00:00
Michael Telatynski
cc12f2f017 delint 2020-11-20 14:20:22 +00:00
Michael Telatynski
0c179e9e6a Revert room header click behaviour to opening room settings 2020-11-20 13:58:28 +00:00
Weblate
98a293c2a2 Merge branch 'origin/develop' into Weblate. 2020-11-20 13:48:02 +00:00
random
669fcdd548 Translated using Weblate (Italian)
Currently translated at 100.0% (2640 of 2640 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2020-11-20 13:48:02 +00:00
Michael Telatynski
5ee21d448b
Merge pull request #5160 from czeidler/ctrl-enter-send
Add option to send/edit a message with Ctrl + Enter / Command + Enter
2020-11-20 13:47:52 +00:00
Michael Telatynski
d85b5b6e2b delint & post-rebase fixes 2020-11-20 13:34:44 +00:00
Michael Telatynski
3dcb58f108 Convert RegistrationForm to Typescript 2020-11-20 13:25:27 +00:00
Michael Telatynski
d45d0c6633 Convert Registration to Typescript 2020-11-20 13:23:10 +00:00
Michael Telatynski
7243ba0fe2 Convert Login to Typescript 2020-11-20 13:23:10 +00:00
Michael Telatynski
7397cebbea Convert PasswordLogin to Typescript 2020-11-20 13:23:10 +00:00
Michael Telatynski
85fbc6d89f Consolidate PasswordLogin state and input control/ownership
previously data was stored in two places which drifted
2020-11-20 13:23:10 +00:00
Michael Telatynski
0b74d3a0ef Use field validation for PasswordLogin instead of global errors 2020-11-20 13:23:10 +00:00
Weblate
4c98e4d94f Merge branch 'origin/develop' into Weblate. 2020-11-20 10:09:08 +00:00
Simon Hartmann
c39a5946ef Translated using Weblate (German)
Currently translated at 88.9% (2349 of 2640 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2020-11-20 10:09:08 +00:00
Michael Telatynski
c94137b106
Merge pull request #5409 from matrix-org/t3chguy/home-page-analytics
Add Analytics instrumentation to the Homepage
2020-11-20 10:08:57 +00:00
czeidler
063b26835e
Fix coding style
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2020-11-20 19:02:52 +13:00
Travis Ralston
dec47a260c Appease the linter 2020-11-19 12:12:00 -07:00
Travis Ralston
ff9d696881 Update i18n 2020-11-19 12:10:28 -07:00
Travis Ralston
c80b0aff7d Appease the linter 2020-11-19 12:09:57 -07:00
Travis Ralston
86897e8faf Small bug fix to the copy 2020-11-19 12:08:41 -07:00
Travis Ralston
0104164d51 Approximate the design as proposed 2020-11-19 12:06:24 -07:00
Travis Ralston
21663314ee Minor touchups to the dialog 2020-11-19 11:24:17 -07:00
Travis Ralston
ddd8bdc00e Move all the capability copy to its own class 2020-11-19 11:15:42 -07:00
David Baker
b518b33169 Factor the height of the header into the max video height 2020-11-19 17:33:43 +00:00
David Baker
c411213db1 i18n 2020-11-19 16:40:45 +00:00
David Baker
49bd66c377 Change fullscreen button to expand button in PIP view
and fix call controls which didn't appear in video call
2020-11-19 16:36:23 +00:00
David Baker
84f1ebf63a i18n 2020-11-19 15:33:08 +00:00
David Baker
50965e41eb Remove call bar
Also hide video mute button on voice calls (awaiting clarification from design)
and fix mute keyboard shortcuts by moving them out of roomview & into
callview.
2020-11-19 15:15:31 +00:00
J. Ryan Stinnett
0791e039af
Merge pull request #5431 from matrix-org/jryans/fix-encrpyted-videos-release
[Release] Fix encrypted video playback in Chrome-based browsers
2020-11-19 15:12:25 +00:00
J. Ryan Stinnett
d36618dc86 Fix encrypted video playback in Chrome-based browsers
For Chrome-based browsers, it seems we need to set some non-empty `src` URI for
the video element's play button to be enabled, so this crafts an empty `data`
URI and ensures playing is triggered once the real content has been fetched.

Fixes https://github.com/vector-im/element-web/issues/15694
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/5352
2020-11-19 14:57:05 +00:00
J. Ryan Stinnett
b3e8a6df80 Tweak video component code style 2020-11-19 14:57:05 +00:00
Weblate
4b9ed1102f Merge branch 'origin/develop' into Weblate. 2020-11-19 13:59:43 +00:00
J. Ryan Stinnett
dea4fd661a
Merge pull request #5430 from matrix-org/jryans/fix-encrypted-videos
Fix encrypted video playback in Chrome-based browsers
2020-11-19 13:59:35 +00:00
J. Ryan Stinnett
3e85b6d085 Fix encrypted video playback in Chrome-based browsers
For Chrome-based browsers, it seems we need to set some non-empty `src` URI for
the video element's play button to be enabled, so this crafts an empty `data`
URI and ensures playing is triggered once the real content has been fetched.

Fixes https://github.com/vector-im/element-web/issues/15694
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/5352
2020-11-19 13:30:05 +00:00
Michael Telatynski
14391a7295 Post-merge fix 2020-11-19 11:11:57 +00:00
Michael Telatynski
532b2e5ced Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/home-page-analytics
 Conflicts:
	src/components/structures/HomePage.tsx
2020-11-19 11:11:10 +00:00
Weblate
526bea3ac5 Merge branch 'origin/develop' into Weblate. 2020-11-19 11:00:23 +00:00
Priit Jõerüüt
5a443bd42a Translated using Weblate (Estonian)
Currently translated at 100.0% (2640 of 2640 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2020-11-19 11:00:23 +00:00
XoseM
9a7242973d Translated using Weblate (Galician)
Currently translated at 100.0% (2640 of 2640 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2020-11-19 11:00:21 +00:00