Commit Graph

25688 Commits (f0d1e7c5651281a152dcd254a0b0bb13b47eb751)

Author SHA1 Message Date
Sven Mäder 31e85ec580 Use cheerio api for code replacements 2021-04-08 11:38:05 +02:00
Travis Ralston 4ef3d176d9 Add ability to hide post-login encryption setup with customisation point
This is primarily intended for alternative setup UI or where the customisations end up configuring encryption some other way. If used without respecting the warnings in the docs, the user could end up at a blank page - use with caution, and only as directed.
2021-04-07 19:16:29 -06:00
Travis Ralston 6e6a26f86a
Merge pull request #5710 from SimonBrandner/resizable-call-view
Resizable CallView
2021-04-07 11:02:46 -06:00
Sven Mäder 7205995dea Remove unused function arguments 2021-04-07 17:22:30 +02:00
Nikita Epifanov 1676e3e3be Translated using Weblate (Russian)
Currently translated at 98.1% (2827 of 2880 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-04-07 11:45:35 +00:00
Weblate 8fbe9719f6 Merge branch 'origin/develop' into Weblate. 2021-04-07 11:42:43 +00:00
random 7ce6e25f49 Translated using Weblate (Italian)
Currently translated at 100.0% (2903 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-04-07 11:42:40 +00:00
Magnus 242c3a7639 Translated using Weblate (Norwegian Bokmål)
Currently translated at 47.1% (1368 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nb_NO/
2021-04-07 11:42:31 +00:00
rkfg 6268a8ce31 Translated using Weblate (Russian)
Currently translated at 97.7% (2838 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-04-07 11:42:28 +00:00
Nikita Epifanov 923891eabd Translated using Weblate (Russian)
Currently translated at 97.7% (2838 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-04-07 11:42:27 +00:00
waclaw66 9571fd8feb Translated using Weblate (Czech)
Currently translated at 100.0% (2903 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-04-07 11:42:09 +00:00
J. Ryan Stinnett 4462ac6203
Merge pull request #5826 from maunium/fix-no-thumbnail-video
Add fake fallback thumbnail URL for encrypted videos
2021-04-07 12:12:41 +01:00
J. Ryan Stinnett 021ceeb7c3
Merge pull request #5818 from Johennes/feature/mac-go-home
Fix broken "Go to Home View" shortcut on macOS
2021-04-07 10:32:17 +01:00
Sven Mäder 1d70045065 Refactor maths config options to nested structure 2021-04-06 14:52:55 +02:00
Felix Krull 10cf362da5 Fix viewing invitations when the inviter has no avatar set
Signed-off-by: Felix Krull <f_krull@gmx.de>
2021-04-06 13:55:22 +02:00
Travis Ralston b0af163002
Merge pull request #5825 from matrix-org/travis/spaces/room-list
Restabilize room list ordering with prefiltering on spaces/communities
2021-04-06 05:47:21 -06:00
Sven Mäder 3c1169c7a2 Merge remote-tracking branch 'upstream/develop' into maths-parsing-latex 2021-04-06 12:34:51 +02:00
J. Ryan Stinnett 5d027ffcf4
Merge pull request #5694 from robintown/show-invite-reasons
Show invite reasons
2021-04-06 10:48:54 +01:00
Šimon Brandner d547cd5db8
Show drop file UI only if dragging a file
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-06 07:52:02 +02:00
libexus c22e60b06b Translated using Weblate (German)
Currently translated at 98.6% (2864 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-05 17:26:50 +00:00
Tentarial 330a726609 Translated using Weblate (German)
Currently translated at 98.6% (2864 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-05 17:26:50 +00:00
Travis Ralston 4d72af7916
Merge pull request #5744 from panoschal/forgot-password-validation
Require strong password in forgot password form
2021-04-05 00:46:47 -06:00
Hakim Oubouali 2216c166ed Translated using Weblate (Central Atlas Tamazight)
Currently translated at 1.2% (36 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/tzm/
2021-04-05 01:34:37 +00:00
libexus dbde0c7c90 Translated using Weblate (German)
Currently translated at 98.6% (2863 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-05 01:34:37 +00:00
Tirifto e332039334 Translated using Weblate (Esperanto)
Currently translated at 99.5% (2890 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-04-05 01:34:35 +00:00
Hivaa 264bc151bb Translated using Weblate (Persian)
Currently translated at 9.7% (282 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fa/
2021-04-05 01:34:29 +00:00
Šimon Brandner 202ead40c4
Merge branch 'develop' into resizable-call-view 2021-04-04 11:35:26 +02:00
Šimon Brandner 88a881baec
ZOOM_DISTANCE into a const
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-03 16:19:22 +02:00
Šimon Brandner fd8e785a5e
Why don't I convert this to Typescript while I am here?
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-03 16:14:27 +02:00
Travis Ralston 2b47bac2af Update i18n 2021-04-02 19:36:28 -06:00
Travis Ralston 479df8ac5f Clarify docs 2021-04-02 19:35:10 -06:00
Tulir Asokan 522d58eb57 Add fake fallback thumbnail URL for encrypted videos
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2021-04-02 20:27:26 +03:00
libexus 617319d226 Translated using Weblate (German)
Currently translated at 98.5% (2862 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-02 10:27:38 +00:00
Šimon Brandner 429c945bbf
Don't allow translation when zoomed out
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:37:42 +02:00
Šimon Brandner 722178e26e
Don't return false
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:22:10 +02:00
Šimon Brandner 2ff34000fd
Reset translation with zoom out
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:16:42 +02:00
Šimon Brandner 7068996b60
Animate zooming
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:09:53 +02:00
Šimon Brandner 33a1006488
Iterate mouse actions and cursor behaviour
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 10:01:41 +02:00
Šimon Brandner eb83ae0a9f
Use MIN_ZOOM in contructor
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 09:40:13 +02:00
Kaede b2e9280bb4 Translated using Weblate (Japanese)
Currently translated at 78.9% (2292 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2021-04-02 07:31:46 +00:00
Andrejs 28b4515029 Translated using Weblate (Latvian)
Currently translated at 50.6% (1471 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lv/
2021-04-02 07:31:43 +00:00
Tirifto 5c11fad102 Translated using Weblate (Esperanto)
Currently translated at 98.3% (2854 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-04-02 07:31:34 +00:00
strix aluco 13ce2bc130 Translated using Weblate (Ukrainian)
Currently translated at 50.9% (1479 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-04-02 07:31:16 +00:00
Šimon Brandner 80854ab6bb
Don't show seconds in ImageView
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 09:25:21 +02:00
Šimon Brandner 535ae086b4
Make sender bold
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 08:31:42 +02:00
Šimon Brandner e5a563f887
Close ImageView after forward click
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 08:17:05 +02:00
Šimon Brandner 9606297f7c
Merge branch 'develop' into improve-image-view
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 08:15:51 +02:00
David Baker cd39474d26
Merge pull request #5798 from matrix-org/dbkr/attended_transfer
Attended transfer
2021-04-01 17:34:30 +01:00
Travis Ralston f86e090b8a
Update src/components/views/dialogs/security/AccessSecretStorageDialog.tsx
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-04-01 08:23:32 -06:00
Germain 151749b675
Merge pull request #5822 from matrix-org/gsouquet-user-autocomplete-nonprefix 2021-04-01 14:01:50 +01:00
Sven Mäder 73130cad02 Refactor latex replace code 2021-04-01 12:09:51 +02:00
Panagiotis 901d5a86d0 Merge branch 'develop' into forgot-password-validation 2021-04-01 12:39:25 +03:00
Panagiotis d2f40a859b define PASSWORD_MIN_SCORE in one place and import from there 2021-04-01 12:30:49 +03:00
Germain Souquet a4345811b0 Merge branch 'develop' into gsouquet-seshat-reset 2021-04-01 09:06:35 +01:00
Germain Souquet 85f9e43f01 Update seshat reset dialog copy 2021-04-01 09:03:50 +01:00
Germain Souquet 4fcb258981 Refactor SeshatResetDialog props interface to use IDialogProps 2021-04-01 08:58:39 +01:00
Travis Ralston 343ce3b502 Make log spam more quiet 2021-04-01 00:02:05 -06:00
Travis Ralston 746856ed10 Appease the linter 2021-03-31 23:40:25 -06:00
Travis Ralston 70db749430 Restabilize room list ordering with prefiltering on spaces/communities
Fixes https://github.com/vector-im/element-web/issues/16799

This change replaces the "relative priority" system for filters with a kind model. The kind is used to differentiate and optimize when/where a filter condition is applied, resulting in a more stable ordering of the room list. The included documentation describes what this means in detail.

This also introduces a way to inhibit updates being emitted from the Algorithm class given what we're doing to the poor thing will cause it to do a bunch of recalculation. Inhibiting the update and implicitly applying it (as part of our updateFn.mark()/trigger steps) results in much better performance.

This has been tested on my own account with both communities and spaces of varying complexity: it feels faster, though the measurements appear to be within an error tolerance of each other (read: there's no performance impact of this).
2021-03-31 23:36:36 -06:00
libexus 97bd195594 Translated using Weblate (German)
Currently translated at 98.5% (2861 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-04-01 04:50:59 +00:00
Robin Townsend b13dae1fc6 Ignore punctuation when filtering rooms
Signed-off-by: Robin Townsend <robin@robin.town>
2021-03-31 22:45:53 -04:00
Travis Ralston 2ab304189d
Merge pull request #5816 from aaronraimist/redact-re-request
Prevent Re-request encryption keys from appearing under redacted messages
2021-03-31 18:23:47 -06:00
Robin Townsend 2477258249 Merge branch 'develop' into show-invite-reasons 2021-03-31 16:13:29 -04:00
Robin Townsend f0333b5b1c Show invite reasons
Displays the reason for invitation in the invitation dialog, requiring a
click to reveal the message.

Signed-off-by: Robin Townsend <robin@robin.town>
2021-03-31 15:46:09 -04:00
Germain Souquet c81847689a Remove query matcher shouldMatchPrefix support 2021-03-31 18:21:02 +01:00
J. Ryan Stinnett 7c4437ac9b
Merge pull request #5815 from czeidler/keybindings-follow-up
Keybindings follow up
2021-03-31 17:54:05 +01:00
Germain b7ee11a356
Merge pull request #5821 from matrix-org/gsouquet-default-visible-tiles
Increase default visible tiles for room sublists
2021-03-31 17:17:17 +01:00
libexus b9ad8a9e76 Translated using Weblate (German)
Currently translated at 98.5% (2861 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-31 15:08:03 +00:00
libexus 7bf753451e Translated using Weblate (German)
Currently translated at 98.5% (2861 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-31 14:37:43 +00:00
Germain 5e21a86da9
Merge pull request #5817 from matrix-org/gsouquet-docs
Change copy to point to native node modules docs in element desktop
2021-03-31 12:51:36 +01:00
libexus 9d5f5b3546 Translated using Weblate (German)
Currently translated at 98.5% (2861 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-31 11:17:37 +00:00
J. Ryan Stinnett 58343c7699 Fix search error typo
This fixes a typo in the recently added search error message.
2021-03-31 11:55:21 +01:00
Germain Souquet 377b6c8a05 Make user autocomplete query search beyond prefix 2021-03-31 11:41:22 +01:00
Germain Souquet 3f33060cdd increase default visible tiles for room sublists 2021-03-31 11:15:16 +01:00
David Baker 299467c515 Merge remote-tracking branch 'origin/develop' into dbkr/attended_transfer 2021-03-31 10:14:48 +01:00
Travis Ralston 262475f96e Add a button to reset personal encryption state during login 2021-03-30 15:37:06 -06:00
Travis Ralston b68fabb44b
Merge pull request #5801 from matrix-org/travis/voice-messages/waveform
Show waveform and timer in voice messages
2021-03-30 12:16:19 -06:00
Arusekk a489e64edf Translated using Weblate (Polish)
Currently translated at 72.7% (2112 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pl/
2021-03-30 18:13:37 +00:00
Andrejs 2f5e2a783d Translated using Weblate (Latvian)
Currently translated at 48.9% (1421 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lv/
2021-03-30 18:13:35 +00:00
Tirifto 511af4144a Translated using Weblate (Esperanto)
Currently translated at 94.7% (2750 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-03-30 18:13:22 +00:00
The one with the braid 0e39e30aec Translated using Weblate (German)
Currently translated at 98.5% (2860 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-30 18:13:19 +00:00
libexus b0ffd18092 Translated using Weblate (German)
Currently translated at 98.5% (2860 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-30 18:13:19 +00:00
Thibault Martin 6d7bca3d10 Translated using Weblate (French)
Currently translated at 100.0% (2903 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-03-30 18:13:11 +00:00
Johannes Marbach c7fcf2a936 Fix broken "Go to Home View" shortcut on macOS
The previous shortcut CMD+OPT+H is already bound by the system (hide other
windows) and cannot be overridden. This commit changes the shortcut to
CTRL+SHIFT+H on macOS while keeping CTRL+ALT+H on other platforms.

Note that both CTRL+OPT+H (hide cursor) and CTRL+H (delete previous character)
are bound by the system as well and wouldn't have worked as a replacement.

Fixes: vector-im/element-web#16692

Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2021-03-30 20:12:14 +02:00
Travis Ralston b15412056e It helps to use the right function 2021-03-30 12:08:11 -06:00
Travis Ralston 60326e359a Clarify comment 2021-03-30 12:01:35 -06:00
J. Ryan Stinnett b089f3d2f9
Merge pull request #5585 from ndarilek/label-base-avatar
Label unlabeled avatar button in event panel
2021-03-30 12:21:17 +01:00
J. Ryan Stinnett 7c3a7b54e7
Merge pull request #5810 from matrix-org/t3chguy/fix/167414
Fix the theme engine breaking with some web theming extensions
2021-03-30 11:59:09 +01:00
J. Ryan Stinnett 661202839c
Merge pull request #5696 from robintown/spoiler-command
Add /spoiler command
2021-03-30 11:58:33 +01:00
Travis Ralston 54412878a1 Merge branch 'develop' into travis/voice-messages/waveform 2021-03-29 22:59:51 -06:00
Travis Ralston 9c2d44805d Revert "Avoid use of deprecated APIs, instead using an AudioWorklet"
This reverts commit 5c685dcf35.
2021-03-29 22:57:59 -06:00
Travis Ralston 9998f18d67 Stop React complaining about componentShouldUpdate() 2021-03-29 21:59:45 -06:00
Travis Ralston 5c685dcf35 Avoid use of deprecated APIs, instead using an AudioWorklet
A bit annoying that it is async, but it'll do.
2021-03-29 21:59:31 -06:00
Travis Ralston e523ce6036 Fix float operations to make a little more sense. 2021-03-29 21:25:06 -06:00
Travis Ralston dfd65516c2
Merge pull request #5802 from matrix-org/travis/voice-messages/sampling
Don't specify sample rates for voice messages
2021-03-29 11:44:30 -06:00
J. Ryan Stinnett 3a09c22173
Merge pull request #5812 from matrix-org/jryans/cancel-security-key
Tweak security key error handling
2021-03-29 17:58:11 +01:00
Germain Souquet 2a4e327dbf Change copy to point to native node modules docs in element desktop 2021-03-29 16:03:06 +01:00
Germain Souquet b38f5c9459 Simplify event index store reset flow 2021-03-29 15:46:58 +01:00
Germain 096d4102b8
Merge pull request #5793 from matrix-org/gsouquet-warn-before-exit
Add user settings for warn before exit
2021-03-29 12:11:55 +01:00
Priit Jõerüüt 312326bcd7 Translated using Weblate (Estonian)
Currently translated at 100.0% (2903 of 2903 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-03-29 09:21:22 +00:00