Commit graph

29046 commits

Author SHA1 Message Date
Šimon Brandner
bd2ae762d6
Adjust max-non-narrow-width
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-16 10:08:30 +02:00
Šimon Brandner
64aa53ab24
Correctly handle media errors
The methods need to be async since play() is async, otherwise there is no point in having the try catch blocks

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-15 13:33:49 +02:00
Šimon Brandner
a6cde3256e
Properly handle call change
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-15 12:56:29 +02:00
Dariusz Niemczyk
7b72931c42
Merge pull request #6422 from libexus/i18n-bracket-fix
Remove misplaced bracket in a translation string
2021-08-15 09:20:00 +02:00
David Baker
c28d449f3f Fix import
thanks vscode
2021-08-13 18:21:59 +01:00
David Baker
7c8637f5db Add MatrixEvent type 2021-08-13 18:18:48 +01:00
David Baker
c79b6a412d Merge remote-tracking branch 'origin/develop' into dbkr/crosssigningpanel_ts 2021-08-13 18:11:54 +01:00
David Baker
e78640572d Convert CrossSigningPanel to TS
Type: task
2021-08-13 18:07:58 +01:00
Dariusz Niemczyk
94a5013beb
temp 2021-08-13 19:03:20 +02:00
Dariusz Niemczyk
7f58a21aac
Improve BackdropPanel performance by ignoring React 2021-08-13 18:12:02 +02:00
Travis Ralston
da944b2c6b
Merge pull request #6323 from matrix-org/t3chguy/ts/12
Convert SearchResult, InteractiveAuth, PushProcessor and Scheduler to TS
2021-08-13 10:08:58 -06:00
Michael Telatynski
df282807b1
Merge pull request #5659 from matrix-org/t3chguy/a11y/composer-list-autocomplete 2021-08-13 16:55:46 +01:00
Dariusz Niemczyk
5f9b55eaa9
Merge remote-tracking branch 'origin/develop' into gsouquet/fix-backdrop-filter
* origin/develop: (1278 commits)
  Add a little padding
  Keep number field in focus when pressing dialpad buttons (#6520)
  Remove old version
  Fix video call persisting when widget removed
  Update link to matrix-js-sdk CONTRIBUTING file (#6557)
  $toast-bg-color -> $system
  $system-... -> $system
  Iterate PR based on feedback
  Remove unnecessary code
  Use AccessibleTooltipButton
  Just upload the PR object itself
  Edit PR Description instead of commenting
  publish the right directory
  Fix Netflify builds from fork PRs
  This doesn't need to be here as it was moved into CallViewButtons
  Make scrollbar dot transparent
  Iterate PR based on feedback
  Don't set hidden RRs labs setting at account level
  Add a comment for weirdly placed div
  Add full class names to animations.scss
  ...
2021-08-13 15:12:07 +02:00
Šimon Brandner
cda91e44e0
Use new call state icons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-13 11:37:17 +02:00
Šimon Brandner
032d2866a3
Add "No answer" state
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-13 11:19:14 +02:00
Šimon Brandner
c79852a9f0
Left align call tiles
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-13 10:59:59 +02:00
Šimon Brandner
39bb253d1f
Merge remote-tracking branch 'upstream/develop' into feature/narrow-voip-tiles/18398 2021-08-13 10:30:21 +02:00
David Baker
ecb2d9908d
Merge pull request #6608 from matrix-org/dbkr/kill_persistent_jitsi
Fix video call persisting when widget removed
2021-08-12 19:19:12 +01:00
Andrew Morgan
1ad35b1564
Keep number field in focus when pressing dialpad buttons (#6520) 2021-08-12 18:58:06 +01:00
David Baker
3528d87f30 Remove old version 2021-08-12 18:39:11 +01:00
David Baker
657dcaf989 Fix video call persisting when widget removed
Fixes https://github.com/vector-im/element-web/issues/15703
Type: defect
2021-08-12 18:36:57 +01:00
James Salter
065a70b63f Add copyright header 2021-08-12 17:46:28 +01:00
Travis Ralston
772b8fb3fa
Merge pull request #6593 from SimonBrandner/fix/correct-button
Use the correct button component for the Call View sidebar button
2021-08-12 08:54:53 -06:00
Dariusz Niemczyk
fbc5729daf
Merge pull request #6590 from matrix-org/palid/fix/images-loading-ux
Make loading encrypted images look snappier
2021-08-12 12:55:52 +02:00
Michael Telatynski
228d623024
Merge pull request #6543 from matrix-org/t3chguy/fix/18092 2021-08-12 11:28:14 +01:00
Michael Telatynski
f53eb4eeed Fix tab trapping behaviour 2021-08-12 11:27:34 +01:00
Michael Telatynski
f9527c9d6b Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete
 Conflicts:
	src/components/views/rooms/BasicMessageComposer.tsx
	src/editor/autocomplete.ts
2021-08-12 11:21:20 +01:00
Michael Telatynski
9d3569a577 Iterate PR based on feedback 2021-08-12 10:58:56 +01:00
Šimon Brandner
ccaa69b25b
Remove unnecessary code
This somehow doesn't seem to be neccessary anymore, I don't really know why but everything seems to work without it

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-12 08:53:42 +02:00
Šimon Brandner
29d20b8125
Use AccessibleTooltipButton
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-12 08:11:11 +02:00
Michael Telatynski
09ffad96ff
Merge pull request #6569 from matrix-org/t3chguy/fix/spaces-a11y 2021-08-11 23:18:52 +01:00
Michael Telatynski
69cf64249f add comment 2021-08-11 21:50:26 +01:00
Michael Telatynski
5d98c6f02d Iterate PR based on feedback 2021-08-11 21:45:49 +01:00
Šimon Brandner
012f2c9e7e
This doesn't need to be here as it was moved into CallViewButtons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-11 19:16:55 +02:00
David Baker
abba7983ce
Merge pull request #6578 from SimonBrandner/task/export-call-view-buttons
Move Call View Buttons into a separate component
2021-08-11 18:09:48 +01:00
James Salter
cc9ddb351f Remove test error on startup, and send correct user text 2021-08-11 18:01:22 +01:00
James Salter
ba1618812c Send user text as context 2021-08-11 18:00:21 +01:00
James Salter
c6202bf653 lint 2021-08-11 18:00:21 +01:00
James Salter
dface1928d Load all rageshake attributes 2021-08-11 18:00:21 +01:00
James Salter
de398f46f4 initial spike 2021-08-11 18:00:21 +01:00
Travis Ralston
a149108a7d
Merge pull request #6353 from SimonBrandner/feature/improved-composer
Improve handling of pills in the composer
2021-08-11 10:55:13 -06:00
Michael Telatynski
54d85a3864 Iterate PR based on feedback 2021-08-11 16:32:48 +01:00
Šimon Brandner
833a5ee182
Don't set hidden RRs labs setting at account level
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-11 14:37:35 +02:00
Dariusz Niemczyk
723400ace6
Add a comment for weirdly placed div 2021-08-11 10:56:36 +02:00
Hubert Chathi
82c34e9ed1
Update src/utils/DecryptFile.ts
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-08-10 19:37:18 -04:00
Hubert Chathi
3b9810719f use the mimetype from the info property rather than the EncryptedFile
the mimetype in EncryptedFile is undocumented and redundant.
see https://github.com/matrix-org/matrix-doc/pull/2582
2021-08-10 19:27:24 -04:00
Dariusz Niemczyk
c872609ed3
Modify encrypted images loading for better UX
Adds proper react css transition to encrypted images placeholders, so
that we can animate it's entrance and exit properly.
In addition, adds simple css animations file to properly handle all of
the animations in one place, so that it's much easier to properly handle
prefers-reduced-motion media query.
2021-08-10 19:24:17 +02:00
David Baker
50aa3d6c46 Upscale thumbnails to the container size
Force thumbnails to be the size of the container, even if that means
upscaling them. As per comment, this will mean that the thumbnails
will sometimes be larger and a bit blurry rather than small. It looks
like this was probably a source of scroll jumps before.

As per comment, a better fix would be to be be able to know what
size thumbnails the HS will give us so we can size the containers
appropriately.

Type: defect
Regressed by: https://github.com/matrix-org/matrix-react-sdk/pull/6514
Fixes https://github.com/vector-im/element-web/issues/18307
2021-08-10 15:14:04 +01:00
Michael Telatynski
77cf5bf613 Update space create menu copy and add link to community migrator 2021-08-10 11:30:00 +01:00
Michael Telatynski
d90321d813 Iterate PR, merge types with @types/PushRules 2021-08-10 11:03:03 +01:00
Weblate
a09ebfe2b5 Merge branch 'origin/develop' into Weblate. 2021-08-10 09:34:35 +00:00
Ihor Hordiichuk
49ab42613c Translated using Weblate (Ukrainian)
Currently translated at 45.8% (1428 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-08-10 09:34:35 +00:00
jelv
a9d3219838 Translated using Weblate (Dutch)
Currently translated at 100.0% (3115 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-08-10 09:34:33 +00:00
Michael Telatynski
6877c8fe0c
Merge pull request #6587 from matrix-org/t3chguy/fix/18465
Fix create room dialog in spaces no longer adding to the space
2021-08-10 10:34:26 +01:00
Michael Telatynski
cd1b315ed6 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/12 2021-08-10 10:21:01 +01:00
Michael Telatynski
b7246404be Fix create room dialog in spaces no longer adding to the space 2021-08-10 10:05:19 +01:00
Michael Telatynski
195b8714fc Iterate PR based on feedback 2021-08-10 09:55:51 +01:00
Michael Telatynski
db951b43a3 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18092 2021-08-10 09:48:22 +01:00
Michael Telatynski
857bb9db44 Add some treeview labels 2021-08-10 09:46:25 +01:00
想不出网名
3a6bfe3572 Translated using Weblate (Chinese (Simplified))
Currently translated at 95.4% (2973 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-08-09 18:27:43 +00:00
想不出网名
a5921597ed Translated using Weblate (Chinese (Simplified))
Currently translated at 95.4% (2973 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-08-09 18:16:23 +00:00
random
1b55269c61 Translated using Weblate (Italian)
Currently translated at 99.9% (3114 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-08-09 16:55:10 +00:00
想不出网名
127c58a10d Translated using Weblate (Chinese (Simplified))
Currently translated at 95.2% (2966 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-08-09 16:55:05 +00:00
jelv
177b34da6b Translated using Weblate (Dutch)
Currently translated at 100.0% (3115 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-08-09 16:55:03 +00:00
Glandos
b6f9b6a95f Translated using Weblate (French)
Currently translated at 99.9% (3112 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-08-09 16:55:00 +00:00
Michael Telatynski
0f49fe92c6 iterate spaces treeview stuff 2021-08-09 14:01:34 +01:00
Michael Telatynski
09f20bcda7 Make space hierarchy a treeview 2021-08-09 10:29:55 +01:00
Germain
298318c0ee
Merge branch 'develop' into i18n-bracket-fix 2021-08-09 09:07:32 +01:00
Weblate
13f84bffce Merge branch 'origin/develop' into Weblate. 2021-08-08 17:55:30 +00:00
Dariusz Niemczyk
6663f01c6c
Merge pull request #6580 from SimonBrandner/fix/reject-modal
Don't show a modal on call reject/user hangup
2021-08-08 19:55:27 +02:00
Weblate
55d34b14c2 Merge branch 'origin/develop' into Weblate. 2021-08-08 17:54:47 +00:00
HelaBasa
c719b0e3cc Translated using Weblate (Sinhala)
Currently translated at 0.3% (10 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/si/
2021-08-08 17:54:47 +00:00
waclaw66
145f841982 Translated using Weblate (Czech)
Currently translated at 100.0% (3116 of 3116 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-08-08 17:54:47 +00:00
想不出网名
4418aa6a4a Translated using Weblate (Chinese (Simplified))
Currently translated at 95.2% (2966 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-08-08 17:54:44 +00:00
Thibault Martin
26453fdb06 Translated using Weblate (French)
Currently translated at 99.3% (3094 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-08-08 17:54:42 +00:00
monochromec
4c51c1b339 Translated using Weblate (English (United States))
Currently translated at 16.9% (529 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/en_US/
2021-08-08 17:54:40 +00:00
artevaeckt
cec4a17683 Translated using Weblate (German)
Currently translated at 96.2% (2999 of 3116 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-08-08 17:54:39 +00:00
Šimon Brandner
96b651e326
Fade buttons after componentDidMount
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-08 11:26:57 +02:00
Šimon Brandner
eb49960497
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-08 11:20:52 +02:00
Šimon Brandner
d0e76a0ecd
Use CallViewButtons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-08 11:20:17 +02:00
Šimon Brandner
9f28c30145
Add CallViewButtons.tsx
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-08 11:16:55 +02:00
Šimon Brandner
2d5dc6d529
Break instead of return
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-07 21:30:58 +02:00
Šimon Brandner
78f53b3f6b
Don't show modal on reject/user hangup
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-07 21:28:35 +02:00
Weblate
06287aefbd Merge branch 'origin/develop' into Weblate. 2021-08-07 15:09:25 +00:00
Travis Ralston
92a60497d2
Merge pull request #6572 from matrix-org/travis/voice-messages/stop-left
Move stop button to the left of the waveform
2021-08-07 09:09:21 -06:00
Weblate
70c702945c Merge branch 'origin/develop' into Weblate. 2021-08-07 14:16:01 +00:00
Michael Telatynski
7598ce6ca3
Merge pull request #6576 from SimonBrandner/fix/export-default
Export components by default
2021-08-07 15:15:57 +01:00
Besnik Bleta
a88349ea1d Translated using Weblate (Albanian)
Currently translated at 99.7% (3107 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-08-07 13:50:27 +00:00
Weblate
7db235351c Merge branch 'origin/develop' into Weblate. 2021-08-07 09:21:03 +00:00
XoseM
7e5c9dd92e Translated using Weblate (Galician)
Currently translated at 100.0% (3115 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-08-07 09:21:03 +00:00
Jeff Huang
7be0a05b36 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3115 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-08-07 09:20:58 +00:00
Nikita Epifanov
095319087c Translated using Weblate (Russian)
Currently translated at 98.3% (3065 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-08-07 09:20:56 +00:00
Szimszon
7f7536d634 Translated using Weblate (Hungarian)
Currently translated at 100.0% (3115 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-08-07 09:20:52 +00:00
iaiz
b3585c6dee Translated using Weblate (Spanish)
Currently translated at 99.8% (3111 of 3115 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-08-07 09:20:48 +00:00
Šimon Brandner
d8b492f47d
Correctly hide fullscreen button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-07 09:38:26 +02:00
Šimon Brandner
63ed852c68
Fix typo which caused the wrong PiP position
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-07 09:31:32 +02:00
Šimon Brandner
2ce75d45b2
Fix tranlation
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-07 09:16:34 +02:00
Šimon Brandner
5c90736213
Export components by default
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-07 08:54:40 +02:00
Weblate
fa38d39c70 Merge branch 'origin/develop' into Weblate. 2021-08-06 16:03:35 +00:00
Dariusz Niemczyk
b6f7c4fe95
Merge pull request #6475 from matrix-org/jitsi-picture-in-picture
Refactor Calls components into smaller pieces for future Widgets work
2021-08-06 18:03:30 +02:00