Commit Graph

24876 Commits (59017fd9e4ce0a0da4973cb4964edffaad957646)

Author SHA1 Message Date
J. Ryan Stinnett 3db6a45010 Revert "Merge pull request #5637 from williamkray/wreck/clean-thumbnail-changes"
This reverts commit 5c1b38a48c, reversing
changes made to ec4a39a694.
2021-02-23 12:03:08 +00:00
Šimon Brandner ce1be7a4cd
Use length instead of the first element
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-23 07:49:26 +01:00
Šimon Brandner c9baff1e10
Move the _addCodeElement() call down a bit
We can skip this if the first if statement is true

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-23 07:46:03 +01:00
Šimon Brandner c965119410
Add _addCodeElement method
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-23 07:40:53 +01:00
J. Ryan Stinnett 72ff919512
Merge pull request #5644 from weeman1337/fix-contextmenu-padding
Fix context menu leaving visible area
2021-02-22 17:42:09 +00:00
David Baker 18bd49f3c2
Merge pull request #5675 from matrix-org/dbkr/jitsi_conference_captialised
Jitsi conferences names, take 3
2021-02-22 17:33:45 +00:00
David Baker 428af8b9e2 Jitsi conferences names, take 3
Shorter, capatalised, just 'Jitsi' prefix rather than 'JitsiConference'
2021-02-22 16:48:12 +00:00
Šimon Brandner 6149567c62
Add <code> if it's missing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-22 13:43:57 +01:00
Šimon Brandner 87a2454556
Revert "Don't show copy button if there is no <code>"
This reverts commit c76cc33ebf.
2021-02-22 13:41:20 +01:00
Šimon Brandner c76cc33ebf
Don't show copy button if there is no <code>
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-22 13:23:39 +01:00
libexus d62ac4c80a Translated using Weblate (German)
Currently translated at 99.3% (2747 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-21 22:54:08 +00:00
Germain bce88efa4f update isUserOnDarkTheme to return correct theme when use_system_theme is true
Signed-off-by: Germain <germain@grabyo.com>
2021-02-21 16:49:30 +00:00
@a2sc:matrix.org 1086d82499 Translated using Weblate (German)
Currently translated at 99.8% (2760 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-19 18:04:45 +00:00
libexus 540a8114ab Translated using Weblate (German)
Currently translated at 99.8% (2760 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-19 18:04:43 +00:00
Michael Telatynski 79daf615e4 First special treatment of space-rooms 2021-02-19 14:20:57 +00:00
Michael Telatynski 6b3f05a3cd Switch RoomListStore to only including the filtered subset
Without this it'd include notification counts from Community B when Community A is selected and such.
2021-02-19 14:10:36 +00:00
Michael Telatynski 148764aa8a Create Labs flag for Spaces 2021-02-19 13:50:49 +00:00
Michael Telatynski a823572394 delint 2021-02-19 13:38:43 +00:00
Michael Telatynski 413b37d3dc Create and use Incompatible Settings Controller 2021-02-19 13:06:45 +00:00
Michael Telatynski 63d95706e9 Create setHasDiff helper and use it
The usage here is identical to how it'll work in Spaces
2021-02-19 12:58:23 +00:00
Michael Telatynski 02ae1e954b clean up objectHasDiff and short circuit it quicker 2021-02-19 11:40:34 +00:00
Michael Telatynski a794bfdd3e
Merge pull request #5665 from matrix-org/t3chguy/spaces1
Discard some dead code
2021-02-19 09:50:04 +00:00
Michael Telatynski 49f511bbab delint 2021-02-19 00:26:52 +00:00
Michael Telatynski 32cca0534c improve algo by skipping an O(n) operation 2021-02-19 00:19:35 +00:00
Michael Telatynski d4df9e731d i18n 2021-02-19 00:10:47 +00:00
Michael Telatynski 3c52446205 Remove redundant PhasedRollOut 2021-02-19 00:01:07 +00:00
Michael Telatynski 3ca5632f6a Replace ObjectUtils.js with objects.ts 2021-02-19 00:00:10 +00:00
Travis Ralston 10b0051c02 Appease the linter 2021-02-18 15:30:03 -07:00
Travis Ralston 52c73a7a58 Add developer tool to explore and edit settings 2021-02-18 14:56:19 -07:00
Michael Telatynski 8fc244452c Prevent error being thrown so that we can throw our own better one 2021-02-18 18:06:26 +00:00
Michael Telatynski 50252483c6 Remove stale unused components 2021-02-18 18:05:41 +00:00
Michael Telatynski 0e7a731d61 Make use of new room canInvite helper 2021-02-18 15:19:16 +00:00
Michael Telatynski e1acf11e67 Create Room Name & Topic HOCs to simplify code elsewhere 2021-02-18 15:16:59 +00:00
Michael Telatynski 354925c2c8 Improve TS definitions 2021-02-18 15:16:07 +00:00
Travis Ralston 64974eb3ee
Merge pull request #5661 from matrix-org/travis/clear-preview
Clear message previews when the maximum limit is reached for history
2021-02-18 07:31:54 -07:00
David Baker 68933c1a3d
Merge pull request #5639 from matrix-org/dbkr/virtual_rooms_v2
VoIP virtual rooms, mk II
2021-02-18 13:18:34 +00:00
Travis Ralston 47d73bef57 Clear message previews when the maximum limit is reached for history 2021-02-17 22:36:26 -07:00
David Baker 648295e26b Oops, we still used this cache for new incoming virtual rooms 2021-02-17 19:00:21 +00:00
David Baker 6130bdf0d2 Use creation content to signal virtual-ness
This makes things a lot simpler.
2021-02-17 18:51:21 +00:00
J. Ryan Stinnett 10e25f306f Disable chat effects when reduce motion preferred
Some users prefer reduced motion, so this disables chat effects when such a
preference is set in the browser or OS.
2021-02-17 17:43:31 +00:00
J. Ryan Stinnett d643f06ff0 Tweak chat effects setting label 2021-02-17 17:28:23 +00:00
J. Ryan Stinnett 5c1b38a48c
Merge pull request #5637 from williamkray/wreck/clean-thumbnail-changes
Improve URL preview formatting and image upload thumbnail size
2021-02-17 11:37:37 +00:00
J. Ryan Stinnett 53c4a1ada5
Merge pull request #5571 from SimonBrandner/improve-layout-handling
Use a more generic layout setting - useIRCLayout → layout
2021-02-17 11:02:26 +00:00
David Baker e787d11c73 Merge remote-tracking branch 'origin/develop' into dbkr/virtual_rooms_v2 2021-02-16 19:41:54 +00:00
David Baker 3b16645b59 Make fields optional 2021-02-16 18:52:49 +00:00
Michael Telatynski b386f0c73b
Merge pull request #5657 from matrix-org/t3chguy/usercontent
Remove redundant lockOrigin parameter from usercontent
2021-02-16 18:23:55 +00:00
Michael Telatynski 6cb3381df5 Remove redundant lockOrigin parameter from usercontent
now that each Element has its own, and not usercontent.riot.im
it only has to permit its own origin
2021-02-16 18:03:12 +00:00
David Baker bb6659f983 Set ICE candidate pool size option
So we can start candidate gathering in advance
2021-02-16 15:48:58 +00:00
David Baker 5535d7fb97 Prepare to encrypt when a call arrives
So we're ready to send an answer straight away if the user answers
2021-02-16 14:52:11 +00:00
waclaw66 75d789bb43 Translated using Weblate (Czech)
Currently translated at 100.0% (2764 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-02-16 12:41:27 +00:00
David Baker 79455d99b4 Unused import 2021-02-15 19:38:17 +00:00
David Baker 89b2dae035 Send onNewInvitedRoom via VisibilityProvider 2021-02-15 18:13:13 +00:00
J. Ryan Stinnett 0ad22eac76
Merge pull request #5650 from matrix-org/jryans/host-signup-brand
Use config for host signup branding
2021-02-15 17:56:46 +00:00
J. Ryan Stinnett 234f1bf2c4 Test domains in config directly 2021-02-15 17:38:11 +00:00
J. Ryan Stinnett d96043d5ab Use config for host signup branding 2021-02-15 17:37:33 +00:00
Travis Ralston cb757b5b50 Fix import 2021-02-15 08:56:38 -07:00
Travis Ralston cd82d97c3e Use randomly generated conference names for Jitsi
Fixes https://github.com/vector-im/element-web/issues/15205
Replaces https://github.com/matrix-org/matrix-react-sdk/pull/5322

This change uses a random ID for the Jitsi conference name to avoid any badly-named Jitsi calls, and overrides the "subject" (title) of the call so end users aren't typically exposed to the random ID.
2021-02-15 08:53:37 -07:00
David Baker d339dc447f Add specific fields to third party lookup response fields 2021-02-15 15:25:07 +00:00
Šimon Brandner 5072fb0608
Merge branch 'develop' into improve-layout-handling 2021-02-15 16:12:08 +01:00
Šimon Brandner 064afab239
Use LEVELS_ACCOUNT_SETTINGS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-15 16:06:38 +01:00
David Baker 0b574327d7
More typo
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-02-15 15:05:16 +00:00
Šimon Brandner 65ef4f2f22
Removed the commented out code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-15 16:05:14 +01:00
David Baker 554dfdb6bf
Typo
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-02-15 15:05:01 +00:00
David Baker d7bf57af13 Add missing 'd' 2021-02-15 15:04:01 +00:00
Jaiwanth d73648dfb0 Modified regex to account for an immediate new line after slash commands
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-02-15 17:46:32 +05:30
Michael Weimann f343aaa05a
fix context menu padding calculation
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-02-14 18:37:06 +01:00
PunitLodha 0902936d39 Add phone number only if verification is complete 2021-02-14 18:21:39 +05:30
PunitLodha 74a6c1e8d8 Dont clear email if verification cancelled by user 2021-02-14 18:21:12 +05:30
David Baker 196507a730 VoIP virtual rooms, mk II
Does a thirdparty protocol lookup to the homeserver to get the
corresponding native/virtual user for a matrix ID. Stores the
mappings in room account data. Involves some slightly nasty workarounds
for that fact that room account data has no local echo.
2021-02-12 20:55:54 +00:00
Michael Telatynski da6f1e559b
Merge pull request #5634 from jaiwanth-v/add-loading-TextInputDialog
Added loading and disabled the button while searching for server
2021-02-11 12:22:27 +00:00
Jaiwanth 20dc8dbb32
Update src/components/views/dialogs/TextInputDialog.js
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-02-11 17:39:12 +05:30
Jaiwanth 61c6033de7
Update src/components/views/dialogs/TextInputDialog.js
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-02-11 17:38:58 +05:30
Jaiwanth 6c252a87a1
Update src/components/views/dialogs/TextInputDialog.js
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-02-11 17:38:46 +05:30
Jaiwanth 3fc6d73158 Added loading and disabled the button while searching for server
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-02-11 17:28:02 +05:30
Marcelo Filho 7b1f8472f9 Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.4% (2750 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt_BR/
2021-02-10 15:35:03 +00:00
jelv c3eb7d3c17 Translated using Weblate (Dutch)
Currently translated at 89.1% (2463 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:34:56 +00:00
Szimszon 0f0bef9976 Translated using Weblate (Hungarian)
Currently translated at 99.9% (2762 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-02-10 15:34:55 +00:00
jelv 38e81d39a2 Translated using Weblate (Dutch)
Currently translated at 89.0% (2461 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:24:21 +00:00
Tim Al fd7f2290bc Translated using Weblate (Dutch)
Currently translated at 89.0% (2461 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:24:21 +00:00
jelv 0fb6bf635c Translated using Weblate (Dutch)
Currently translated at 88.8% (2456 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:23:29 +00:00
Tim Al 8669085a5c Translated using Weblate (Dutch)
Currently translated at 88.8% (2456 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:23:29 +00:00
jelv e59e77e6a3 Translated using Weblate (Dutch)
Currently translated at 88.8% (2455 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:22:44 +00:00
Tim Al a1b1887cbf Translated using Weblate (Dutch)
Currently translated at 88.8% (2455 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:22:44 +00:00
Tim Al 9c9e5b37a9 Translated using Weblate (Dutch)
Currently translated at 88.7% (2454 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:21:36 +00:00
jelv 59a5b460dc Translated using Weblate (Dutch)
Currently translated at 88.7% (2453 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:20:55 +00:00
Tim Al dfaba47dbb Translated using Weblate (Dutch)
Currently translated at 88.7% (2453 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:20:55 +00:00
Tim Al 088c214580 Translated using Weblate (Dutch)
Currently translated at 88.7% (2452 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:20:36 +00:00
jelv e7d7d1d12a Translated using Weblate (Dutch)
Currently translated at 88.6% (2451 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:19:38 +00:00
Tim Al ee887befd3 Translated using Weblate (Dutch)
Currently translated at 88.6% (2451 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:19:38 +00:00
jelv 89ab1b97ad Translated using Weblate (Dutch)
Currently translated at 88.6% (2450 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:19:17 +00:00
Tim Al c9f96c7afb Translated using Weblate (Dutch)
Currently translated at 88.6% (2450 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:19:16 +00:00
jelv e71c5eaa65 Translated using Weblate (Dutch)
Currently translated at 88.6% (2449 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:18:57 +00:00
Tim Al 76f8e56ee3 Translated using Weblate (Dutch)
Currently translated at 88.6% (2449 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:18:57 +00:00
jelv b7c04a934c Translated using Weblate (Dutch)
Currently translated at 88.5% (2448 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:18:19 +00:00
Tim Al 34dcfd19e7 Translated using Weblate (Dutch)
Currently translated at 88.5% (2448 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:18:19 +00:00
jelv d41a38fb97 Translated using Weblate (Dutch)
Currently translated at 88.5% (2447 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:18:02 +00:00
Tim Al 88e47789bb Translated using Weblate (Dutch)
Currently translated at 88.5% (2447 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:18:02 +00:00
jelv 7bcabcf754 Translated using Weblate (Dutch)
Currently translated at 88.4% (2446 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:16:05 +00:00
Tim Al 0473d60842 Translated using Weblate (Dutch)
Currently translated at 88.4% (2446 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:16:05 +00:00
jelv fec266dde5 Translated using Weblate (Dutch)
Currently translated at 88.4% (2445 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 15:14:50 +00:00