Commit graph

29173 commits

Author SHA1 Message Date
Dariusz Niemczyk
939874167a
Merge pull request #6262 from matrix-org/gsouquet/fix-backdrop-filter
Move backdrop filter to a canvas based solution
2021-08-19 10:59:49 +02:00
Weblate
c9363b3b56 Merge branch 'origin/develop' into Weblate. 2021-08-19 08:50:02 +00:00
Dariusz Niemczyk
603f992100
Merge pull request #6632 from matrix-org/palid/feature/fix-stuck-jitsi-pip
Fix jitsi widget sometimes being permanently stuck in the bottom-right corner
2021-08-19 10:49:57 +02:00
Weblate
3e5ccab7d7 Merge branch 'origin/develop' into Weblate. 2021-08-19 08:49:27 +00:00
LinAGKar
d64c278e4a Translated using Weblate (Swedish)
Currently translated at 97.1% (3051 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-08-19 08:49:27 +00:00
Dariusz Niemczyk
74ff93080d
Merge pull request #6634 from matrix-org/palid/fix/less-blurhash-on-image-load
Make encrypted images loading even more pleasant
2021-08-19 10:49:20 +02:00
Dariusz Niemczyk
e5b1cff237
Add missing types 2021-08-19 10:43:48 +02:00
Weblate
e53b5cd18d Merge branch 'origin/develop' into Weblate. 2021-08-19 07:54:57 +00:00
waclaw66
171b72711c Translated using Weblate (Czech)
Currently translated at 100.0% (3142 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-08-19 07:54:57 +00:00
Jeff Huang
e1710a0ac9 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3142 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-08-19 07:54:55 +00:00
Julianne420
3da36ef0bd Translated using Weblate (Chinese (Simplified))
Currently translated at 99.8% (3137 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-08-19 07:54:53 +00:00
Dariusz Niemczyk
252eb7242e
Add missing types for constructor 2021-08-19 09:48:12 +02:00
Dariusz Niemczyk
4e5f83344e
Update src/PasswordReset.ts
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-19 09:47:26 +02:00
Dariusz Niemczyk
96877eef18
Migrate PasswordReset.js to typescript 2021-08-19 08:59:27 +02:00
Dariusz Niemczyk
fa03b10409
Fix missing type for state 2021-08-19 08:23:33 +02:00
Dariusz Niemczyk
7adfbf6f98
Show blurhash only after 150ms
Blurhash on every single room entrance was extremely annoying, to the
point where it wasn't really helpful, but distracting, even after
the animations was added.
This commit makes it so the blurhash is only shown after 150ms, and the
image will be animated as a quick fade-in if there's no blurhash.

Fixes https://github.com/vector-im/element-web/issues/18617
Fixes https://github.com/vector-im/element-web/issues/17879
2021-08-19 07:52:23 +02:00
Dariusz Niemczyk
fe1d0e66fe
Remove useless constructor 2021-08-19 07:14:28 +02:00
Dariusz Niemczyk
468bb5cdcf
Fix mr comments 2021-08-19 07:14:13 +02:00
Dariusz Niemczyk
d65f6dd002
Fix bad merge 2021-08-19 07:11:40 +02:00
Dariusz Niemczyk
455a914cf3
Merge remote-tracking branch 'origin/develop' into gsouquet/fix-backdrop-filter
* origin/develop: (43 commits)
  Update copy to indicate debug logs contain which UI elements you last interacted with
  Fix name of Netlify workflow
  Add type declarations
  Fix pagination and improve typing
  Fix import
  Reset matrix-js-sdk back to develop branch
  v3.28.1
  Prepare changelog for v3.28.1
  Upgrade matrix-js-sdk to 12.3.1
  Explicitly handle first state change
  Properly listen for call_state
  Proper init in constructors
  Resetting package fields for development
  v3.28.0
  Prepare changelog for v3.28.0
  Fix error on accessing encrypted media without keys
  Fix call tile buttons
  Upgrade matrix-js-sdk to 12.3.0
  Remove test code; good job we have tests
  Fix dates
  ...
2021-08-19 07:11:02 +02:00
Dariusz Niemczyk
595ba7f59d
Remove useless setState 2021-08-19 06:43:12 +02:00
Dariusz Niemczyk
c8e4e76100
Properly remove persistentWidget from WidgetStore
Fixes #17226
2021-08-19 06:42:38 +02:00
Dariusz Niemczyk
5553e40f0c
Fix AppTile.js indent 2021-08-19 06:42:10 +02:00
David Baker
08b37eb7c5 Fix cross sisgning setup from settings screen
We previously called bootstrap without the cache callbacks set up
which meant it prompted you for you password once for each of the
three keys it fished out of SSSS. Instead, display the same dialog
we display from the verify toast.

Also, in the case where you hadn't verified yet, the button didn't
do anything at all, so make it trigger a verification & change the
caption appropriately.

Add a state to reflect when cross signing is set up but SSSS isn't
(ie. user hasn't yet set up backup / set a passphrase).
2021-08-18 19:22:42 +01:00
Weblate
9cafa96f81 Merge branch 'origin/develop' into Weblate. 2021-08-18 17:14:22 +00:00
Julianne420
35eecbd0c8 Translated using Weblate (Chinese (Simplified))
Currently translated at 96.4% (3030 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-08-18 17:14:22 +00:00
David Baker
90a6f251c7
Merge pull request #6627 from SimonBrandner/fix/voip
Properly fix VoIP issues
2021-08-18 18:14:16 +01:00
Weblate
706d6756ff Merge branch 'origin/develop' into Weblate. 2021-08-18 16:30:34 +00:00
Julianne420
1e30f23de5 Translated using Weblate (Chinese (Simplified))
Currently translated at 96.4% (3032 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-08-18 16:30:33 +00:00
Szimszon
209e42722b Translated using Weblate (Hungarian)
Currently translated at 100.0% (3142 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-08-18 16:30:23 +00:00
James Salter
dbe463dc33
Merge pull request #6597 from matrix-org/sentry-rageshakes
Sentry rageshakes
2021-08-18 17:30:09 +01:00
James Salter
23f70836b6 Update copy to indicate debug logs contain which UI elements you last interacted with 2021-08-18 17:05:15 +01:00
Weblate
d6be1bafe8 Merge branch 'origin/develop' into Weblate. 2021-08-18 13:28:06 +00:00
J. Ryan Stinnett
f68309f996
Merge pull request #6630 from SimonBrandner/fix/filepanel-e2e-pagination/18415
Fix FilePanel pagination in E2EE rooms
2021-08-18 14:28:02 +01:00
Weblate
74d80720a4 Merge branch 'origin/develop' into Weblate. 2021-08-18 13:18:08 +00:00
libexus
9119b72939 Translated using Weblate (German)
Currently translated at 98.5% (3097 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-08-18 13:18:08 +00:00
Dariusz Niemczyk
1066bef1b0
Merge pull request #6625 from matrix-org/palid/fix/media-isEncrypted-undefined
Fix error on accessing encrypted media without keys
2021-08-18 15:17:55 +02:00
libexus
09d2b558ac Translated using Weblate (German)
Currently translated at 97.4% (3062 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-08-18 11:03:25 +00:00
Weblate
0a922646d9 Merge branch 'origin/develop' into Weblate. 2021-08-18 11:03:02 +00:00
libexus
7403efa3b8 Translated using Weblate (German)
Currently translated at 97.4% (3061 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-08-18 11:03:02 +00:00
David Baker
7616f3ae56
Merge pull request #6621 from SimonBrandner/fix/call-tile-spacing/18558
Fix vertical call tile spacing issues
2021-08-18 12:02:53 +01:00
Weblate
9a52ee9d30 Merge branch 'origin/develop' into Weblate. 2021-08-18 10:56:17 +00:00
libexus
16e52db4d3 Translated using Weblate (German)
Currently translated at 97.2% (3056 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-08-18 10:56:17 +00:00
David Baker
24e3a91f6f
Merge pull request #6618 from SimonBrandner/fix/long-names-call-tiles
Fix long display names in call tiles
2021-08-18 11:56:09 +01:00
Weblate
042e0f56fc Merge branch 'origin/develop' into Weblate. 2021-08-18 10:54:46 +00:00
waclaw66
3addc1dcfe Translated using Weblate (Czech)
Currently translated at 100.0% (3142 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-08-18 10:54:46 +00:00
Tirifto
f4e93464f2 Translated using Weblate (Esperanto)
Currently translated at 95.0% (2988 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-08-18 10:54:44 +00:00
Ihor Hordiichuk
dce66bc7d2 Translated using Weblate (Ukrainian)
Currently translated at 47.4% (1492 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-08-18 10:54:42 +00:00
LinAGKar
3bc5ed485b Translated using Weblate (Swedish)
Currently translated at 97.1% (3052 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-08-18 10:54:31 +00:00
jelv
f42402723d Translated using Weblate (Dutch)
Currently translated at 100.0% (3142 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-08-18 10:54:28 +00:00
iaiz
e0b6715c9b Translated using Weblate (Spanish)
Currently translated at 99.3% (3121 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-08-18 10:54:27 +00:00
libexus
b03a7b875f Translated using Weblate (German)
Currently translated at 97.1% (3053 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-08-18 10:54:23 +00:00
David Baker
946ae73e1d
Merge pull request #6615 from SimonBrandner/fix/media-error
Properly handle media errors
2021-08-18 11:54:08 +01:00
James Salter
ecd142f2a5 Add type declarations 2021-08-18 09:21:57 +01:00
Šimon Brandner
f5cbc9f598
Fix pagination and improve typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-18 10:02:42 +02:00
Šimon Brandner
cedf2db9ec
Remove unnecessary this.props
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-18 09:29:44 +02:00
Šimon Brandner
ccf3af21f9
Allow playback of replied-to voice message
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-18 09:28:44 +02:00
Šimon Brandner
c3da7496ae
Add isVoiceMessage()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-18 09:28:27 +02:00
Dariusz Niemczyk
6310949bc8
Fix background blur not being shown on first load 2021-08-17 19:45:52 +02:00
Dariusz Niemczyk
b1c724ad66
Fix invalid width for blurred sidebar 2021-08-17 19:34:18 +02:00
Dariusz Niemczyk
eb242041a5
Fix missing background tonality without avatar 2021-08-17 18:56:19 +02:00
Dariusz Niemczyk
78d48b1d8b
Fix weird code style 2021-08-17 18:03:22 +02:00
Dariusz Niemczyk
de2eb5b6dd
Satisfy linter 2021-08-17 17:59:26 +02:00
Dariusz Niemczyk
2ee26d0681
Make the blur as-close to the css one as possible 2021-08-17 17:47:40 +02:00
James Salter
0d9e27f34a Fix import 2021-08-17 15:58:14 +01:00
Dariusz Niemczyk
a999cad49d
Properly cache blur effect 2021-08-17 16:07:17 +02:00
Dariusz Niemczyk
bdb5f3bb9f
Refactor GroupFilterPanel to typescript 2021-08-17 15:30:24 +02:00
James Salter
834f72a9a8 Merge remote-tracking branch 'origin' into sentry-rageshakes 2021-08-17 11:47:00 +01:00
Priit Jõerüüt
b935e0cc5f Translated using Weblate (Estonian)
Currently translated at 98.8% (3106 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-08-17 08:42:02 +00:00
Nguyen Quang Dung
88df46012f Translated using Weblate (Vietnamese)
Currently translated at 9.6% (303 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/vi/
2021-08-17 08:41:56 +00:00
XoseM
13a70c3958 Translated using Weblate (Galician)
Currently translated at 100.0% (3142 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-08-17 08:41:56 +00:00
LinAGKar
2ea3166b60 Translated using Weblate (Swedish)
Currently translated at 96.7% (3041 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-08-17 08:41:54 +00:00
Šimon Brandner
1d664f0914
Explicitly handle first state change
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-17 10:23:54 +02:00
Šimon Brandner
533f2c2c98
Properly listen for call_state
The previous thing should have never worked, since CallsChanged doesn't get emitted when a call is answered

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-17 09:51:48 +02:00
Šimon Brandner
3fdf4d13ca
Proper init in constructors
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-17 09:48:25 +02:00
LinAGKar
f24bc268ea Translated using Weblate (Swedish)
Currently translated at 96.1% (3021 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-08-16 14:03:38 +00:00
Glandos
1bbc2d6790 Translated using Weblate (French)
Currently translated at 99.9% (3139 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-08-16 14:03:35 +00:00
Dariusz Niemczyk
9dfa01e1a8
Fix error on accessing encrypted media without keys
In case where the message is encrypted and you request cross-signed keys
from another session you may end up in a situation where `media` doesn't
exist as you didn't receive keys, yet you have the message's type.
This commit fixes this problem by checking if the media is even available.
2021-08-16 15:30:48 +02:00
James Salter
6c2e98812b Remove test code; good job we have tests 2021-08-16 13:26:58 +01:00
Dariusz Niemczyk
582b5c90a4
Properly sepearate left column from timeline 2021-08-16 14:26:21 +02:00
James Salter
16d02f24bd lint 2021-08-16 13:06:19 +01:00
Weblate
48065c9ddb Merge branch 'origin/develop' into Weblate. 2021-08-16 11:28:23 +00:00
random
f1993a5886 Translated using Weblate (Italian)
Currently translated at 99.9% (3141 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-08-16 11:28:23 +00:00
David Baker
be18178015
Merge pull request #6614 from SimonBrandner/fix/glare/18538
Fix glare related regressions
2021-08-16 12:28:10 +01:00
Dariusz Niemczyk
8bd5441fae
Merge branch 'develop' into gsouquet/fix-backdrop-filter
* develop: (22 commits)
  Fix long display names in call toasts
  Fix import
  Add MatrixEvent type
  Convert CrossSigningPanel to TS
  Fix PiP of held calls
  Use new call state icons
  Add declined call buttons
  Add "No answer" state
  Left align call tiles
  Fix tab trapping behaviour
  add comment
  Iterate PR based on feedback
  Iterate PR, merge types with @types/PushRules
  Remove misplaced bracket in a translation string
  delint and improve ts
  Convert SearchResult, InteractiveAuth, PushProcessor and Scheduler to Typescript
  remove dead code and fix some types
  delint
  post-merge fixes, the new keybindings stuff made it messy
  Improve VoiceOver & WebKit accessibility support
  ...
2021-08-16 13:16:28 +02:00
Šimon Brandner
c375b6058f
Fix call tile spacing issues
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-16 11:04:41 +02:00
waclaw66
bbd70ada81 Translated using Weblate (Czech)
Currently translated at 100.0% (3142 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-08-16 08:54:46 +00:00
Jeff Huang
3310cc5427 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (3142 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-08-16 08:54:44 +00:00
LinAGKar
dd75fcc2ac Translated using Weblate (Swedish)
Currently translated at 96.1% (3020 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-08-16 08:54:42 +00:00
jelv
7aa5674f96 Translated using Weblate (Dutch)
Currently translated at 100.0% (3142 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-08-16 08:54:37 +00:00
Š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
Weblate
122473ba6c Merge branch 'origin/develop' into Weblate. 2021-08-15 07:20:09 +00:00
Timo Gurr
2f308b139c Translated using Weblate (German)
Currently translated at 95.6% (3004 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-08-15 07:20:09 +00:00
libexus
1e53e19f0b Translated using Weblate (German)
Currently translated at 95.6% (3004 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-08-15 07:20:09 +00: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
Michael Sasser
51ba54f8d8 Translated using Weblate (German)
Currently translated at 95.4% (3000 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-08-15 05:32:17 +00:00
Timo Gurr
3a32450492 Translated using Weblate (German)
Currently translated at 95.4% (3000 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-08-15 05:32:17 +00:00
Safa Alfulaij
d879fb2270 Translated using Weblate (Arabic)
Currently translated at 45.2% (1422 of 3142 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ar/
2021-08-14 21:25:19 +00:00