Commit graph

25717 commits

Author SHA1 Message Date
Travis Ralston
ebf1efe01b docs 2021-03-10 12:32:18 -07:00
Travis Ralston
a7debdd946 Fix tinting for download icon
As shown in https://github.com/vector-im/element-web/issues/16546
2021-03-10 12:32:18 -07:00
Travis Ralston
af9f17219b Fix MemberAvatar crash from EventTilePreview 2021-03-10 12:32:18 -07:00
Travis Ralston
125aef24b9 Convert edge cases of MXC URI conversion to new customisation endpoint 2021-03-10 12:32:18 -07:00
Travis Ralston
4688c887c4 Fix GroupAvatar crash
When we don't have an avatar we shouldn't explode.
2021-03-10 12:32:18 -07:00
Travis Ralston
2a40bc87cc Fix ResizeMethod usage 2021-03-10 12:32:18 -07:00
Travis Ralston
533c9fed64 Appease the linter 2021-03-10 12:32:18 -07:00
Travis Ralston
fa5d98c319 Convert cases of getHttpUriForMxc to new media customisation 2021-03-10 12:32:18 -07:00
Travis Ralston
1ac12479ca Convert cases of mxcUrlToHttp to new media customisation 2021-03-10 12:32:18 -07:00
Travis Ralston
53935782bc Convert DecryptFile to TS and modernize a bit 2021-03-10 12:32:18 -07:00
Travis Ralston
93f7f13c44 Early proof of concept for media customization support 2021-03-10 12:32:18 -07:00
Travis Ralston
e5180a472f Merge branch 'develop' into travis/skinning/pt3-easy-comps 2021-03-10 12:30:06 -07:00
Weblate
3f14a691cf Merge branch 'origin/develop' into Weblate. 2021-03-10 15:58:31 +00:00
Thibault Martin
bfa47ba447 Translated using Weblate (French)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-03-10 15:58:29 +00:00
tateisu
0fe1e2dc18 Translated using Weblate (Japanese)
Currently translated at 79.1% (2199 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2021-03-10 15:58:26 +00:00
MamasLT
e2cdc93be4 Translated using Weblate (Lithuanian)
Currently translated at 68.5% (1907 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lt/
2021-03-10 15:56:20 +00:00
jelv
7c497cc96e Translated using Weblate (Dutch)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-03-10 15:56:18 +00:00
Tirifto
2125438aac Translated using Weblate (Esperanto)
Currently translated at 99.1% (2755 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-03-10 15:56:17 +00:00
libexus
73327c9bc6 Translated using Weblate (German)
Currently translated at 99.6% (2769 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-10 15:56:10 +00:00
@a2sc:matrix.org
fc180cd6d4 Translated using Weblate (German)
Currently translated at 99.6% (2769 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-10 15:56:09 +00:00
Travis Ralston
9e43fca9b6
Merge pull request #5739 from matrix-org/travis/message-state-fixes/hidden-rr
Document behaviour of showReadReceipts=false for sent receipts
2021-03-10 07:23:51 -07:00
J. Ryan Stinnett
32f737e1ba Tweak sent marker code style 2021-03-10 13:45:37 +00:00
J. Ryan Stinnett
51ece182e8
Merge pull request #5737 from matrix-org/travis/message-states-fixes/edits
Fix sent markers disappearing for edits/reactions
2021-03-10 13:42:46 +00:00
J. Ryan Stinnett
0583ea6a25 Ignore to-device decryption in the room list store
This avoids meaningless warnings about "unknown" rooms.
2021-03-10 12:11:48 +00:00
Michael Telatynski
98338f1505
Merge pull request #5736 from matrix-org/t3chguy/spaces4.5
Spaces suggested rooms support
2021-03-10 10:56:17 +00:00
Travis Ralston
78568d6a01 Document behaviour of showReadReceipts=false for sent receipts 2021-03-10 01:40:43 -07:00
Travis Ralston
f25db38b2b Add tooltips to sent/sending receipts
Fixes https://github.com/vector-im/element-web/issues/16649
2021-03-09 21:13:23 -07:00
Travis Ralston
ac1ce24b74 Fix sent markers disappearing for edits/reactions
Fixes https://github.com/vector-im/element-web/issues/16651
2021-03-09 20:52:30 -07:00
Travis Ralston
71b8959d3c
Apply suggestions from code review
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-03-09 09:36:17 -07:00
Travis Ralston
5b3367d44e Merge remote-tracking branch 'origin/develop' into travis/skinning/pt3-easy-comps 2021-03-09 09:33:19 -07:00
Travis Ralston
eb45731d2e
Merge pull request #5735 from matrix-org/travis/use-strict-no
Remove a bunch of useless 'use strict' definitions
2021-03-09 07:24:41 -07:00
Travis Ralston
652e4845e5
Merge pull request #5732 from matrix-org/travis/skinning/pt1-ts
[SK-1] Fix types for replaceableComponent
2021-03-09 07:24:24 -07:00
Travis Ralston
02205664c5
Merge pull request #5733 from matrix-org/travis/skinning/pt2-debug
[SK-2] Make debugging skinning problems easier
2021-03-09 07:24:03 -07:00
Michael Telatynski
e6370a970b Tweak call handler stuff to not explode the room list on unsupported servers 2021-03-09 14:03:58 +00:00
Michael Telatynski
1cfeb36927 Update suggested room on join 2021-03-09 13:41:37 +00:00
Michael Telatynski
cf2c790699 Pass OOB data for suggested rooms 2021-03-09 13:41:06 +00:00
Michael Telatynski
dd0b0834e6 Fix React warning 2021-03-09 13:40:48 +00:00
Matthew Hodgson
41c87c7570 remove obsolete comment 2021-03-09 13:35:45 +00:00
Panagiotis
ef267829de Merge branch 'develop' into edit-view-source 2021-03-09 14:49:05 +02:00
Panagiotis
0936ea7e64 feat: show edit button only when user has permissions
call appropriate functions for state events and edit message events
2021-03-09 14:46:37 +02:00
J. Ryan Stinnett
89301ca8d9
Merge pull request #5695 from robintown/invite-command-reason
Support sending invite reasons with /invite command
2021-03-09 11:45:25 +00:00
J. Ryan Stinnett
d33acaac95
Merge pull request #5713 from panoschal/improve-view-source
Display decrypted and encrypted event source on the same dialog
2021-03-09 11:36:53 +00:00
Michael Telatynski
81e1f36c4b Tidy up TemporaryTile now that it isn't temporary 2021-03-09 11:19:41 +00:00
David Baker
f172852403
Merge pull request #5730 from matrix-org/dbkr/fix_turn_expiry_units
Fix units of TURN server expiry time
2021-03-09 09:39:08 +00:00
Travis Ralston
591ccabab9 Remove a bunch of useless 'use strict' definitions 2021-03-08 20:26:08 -07:00
Travis Ralston
41576954fd Batch of views getting replaceableComponent decorators 2021-03-08 20:23:54 -07:00
Travis Ralston
c5935dbc61 Batch of views getting replaceableComponent decorators 2021-03-08 20:23:46 -07:00
Travis Ralston
fc5b1ed9d6 Batch of views getting replaceableComponent decorators 2021-03-08 20:23:39 -07:00
Travis Ralston
c359dff738 Batch of views getting replaceableComponent decorators 2021-03-08 20:23:34 -07:00
Travis Ralston
3e189d2728 Batch of views getting replaceableComponent decorators 2021-03-08 20:23:29 -07:00
Travis Ralston
c230a75eda Flag structural components as replaceable 2021-03-08 20:23:24 -07:00
Travis Ralston
a5f237dfd6 Make debugging skinning problems easier 2021-03-08 20:22:43 -07:00
Travis Ralston
92af111c93 Fix types for replaceableComponent
This is to make it work in TS files
2021-03-08 20:21:07 -07:00
Matthew Hodgson
d388f877b4 add PHASE_LOADING to SetupEncryptionStore to avoid flashing cross-signing setup 2021-03-08 23:28:44 +00:00
@a2sc:matrix.org
bb8fe62c5c Translated using Weblate (German)
Currently translated at 99.5% (2767 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-08 23:12:22 +00:00
Panagiotis
9287e8dfa4 use isEncrypted, edit state events 2021-03-08 22:15:34 +02:00
Panagiotis
7963d7f49e address PR comments
cleanup, change to isEncrypted, comments
2021-03-08 21:21:37 +02:00
David Baker
92c8b697d2 Fix units of TURN server expiry time 2021-03-08 18:55:33 +00:00
Matthew Hodgson
9d99b2f239 remove errand whitespace 2021-03-08 17:59:10 +00:00
Matthew Hodgson
14b828ecc6 shorten verify button label 2021-03-08 17:58:30 +00:00
Matthew Hodgson
1629b7e62a s/IP/ip/; s/from/at/ 2021-03-08 16:44:14 +00:00
J. Ryan Stinnett
b12cf7912a
Merge pull request #5624 from SimonBrandner/show-room-name
Display room name in pills instead of address
2021-03-08 16:27:43 +00:00
Travis Ralston
52621946de
Merge pull request #5723 from matrix-org/travis/uploads
Refresh UI for file uploads
2021-03-08 08:52:51 -07:00
Travis Ralston
761ced13f2
Merge pull request #5719 from matrix-org/travis/file-representation
UI refresh for uploaded files
2021-03-08 08:52:43 -07:00
Travis Ralston
d35afe6fbb
Merge pull request #5699 from matrix-org/travis/message-states
Improve message sending states to match new designs
2021-03-08 08:52:26 -07:00
Michael Telatynski
6a5efad142 Show suggested rooms from the selected space 2021-03-08 15:52:21 +00:00
Travis Ralston
fdea45ad74 Add a quick sender check to isLastSuccessful 2021-03-08 08:51:57 -07:00
Andrew Morgan
df4631d65b
Fix some ineffective placeholders in a couple log lines (#5729)
Was producing `Presence: %s unavailable` in the logs.
2021-03-08 15:00:09 +00:00
J. Ryan Stinnett
fca1639e0e
Merge pull request #5725 from HelderFSFerreira/addClipboardWritePermission
Add clipboard write permission for widgets
2021-03-08 14:38:23 +00:00
David Baker
0aea8b9efd
Merge pull request #5722 from matrix-org/dbkr/fix_widget_resize
Fix widget resizing
2021-03-08 13:47:29 +00:00
David Baker
d71999114b
Merge pull request #5707 from matrix-org/dbkr/audiostream
Option for audio streaming
2021-03-08 11:50:45 +00:00
Michael Telatynski
6106e01ab4 Collapse redactions into an event list summary 2021-03-08 09:39:07 +00:00
Helder Ferreira
f545866572
add clipboard write permission 2021-03-08 08:08:02 +00:00
Matthew Hodgson
7abc48a716 lint 2021-03-08 05:30:02 +00:00
Matthew Hodgson
997d6e1281 lint 2021-03-08 05:08:01 +00:00
Matthew Hodgson
c02d03cc5b Merge branch 'develop' of git+ssh://github.com/matrix-org/matrix-react-sdk into develop 2021-03-08 04:57:10 +00:00
Matthew Hodgson
96ebbad959 switch UnverifiedSessionToast to route to check sessions rather than verify the new login
given the chances are that the new login will be stuck doing initial sync, and won't be in position
to be verified until its finished.
2021-03-08 04:54:44 +00:00
Matthew Hodgson
c73097a5b0 fix unhelpful 'Review...' toast wording 2021-03-08 04:51:16 +00:00
Matthew Hodgson
d477f964d2 only prompt to verify if we have an MSK or we have devices to verify against 2021-03-08 04:49:59 +00:00
Matthew Hodgson
aa0cca9306 report IP of self-verification reqs 2021-03-08 04:46:47 +00:00
Matthew Hodgson
5b48e13eb9 add explicit link to edit devices from one's own UserInfo 2021-03-08 04:46:15 +00:00
Matthew Hodgson
6df8157a40 cancel VRD at the Modal level, so clicking in the bg cancels it 2021-03-08 04:45:44 +00:00
Matthew Hodgson
7673818400 switch to using an explicit verify button when cross-signing a new login 2021-03-08 04:43:59 +00:00
HelaBasa
0f5f1132a5 Translated using Weblate (Sinhala)
Currently translated at 0.2% (7 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/si/
2021-03-07 21:34:40 +00:00
MamasLT
b71695d803 Translated using Weblate (Lithuanian)
Currently translated at 68.5% (1905 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lt/
2021-03-07 21:34:39 +00:00
waclaw66
a82ac0cc90 Translated using Weblate (Czech)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-03-07 21:34:38 +00:00
Rintan
d3af6b840a Translated using Weblate (Japanese)
Currently translated at 50.2% (1398 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2021-03-07 21:34:37 +00:00
Kaede
6b098a2baf Translated using Weblate (Japanese)
Currently translated at 50.2% (1398 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2021-03-07 21:34:36 +00:00
random
ca729d35aa Translated using Weblate (Italian)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-03-07 21:34:36 +00:00
Ihor Hordiichuk
592bd427a5 Translated using Weblate (Ukrainian)
Currently translated at 53.6% (1492 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-03-07 21:34:31 +00:00
Roel ter Maat
49c40e662c Translated using Weblate (Dutch)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-03-07 21:34:30 +00:00
Thibault Martin
9d65f0ca41 Translated using Weblate (French)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-03-07 21:34:28 +00:00
iaiz
395c010a84 Translated using Weblate (Spanish)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-03-07 21:34:24 +00:00
@a2sc:matrix.org
ccb47285bc Translated using Weblate (German)
Currently translated at 99.3% (2761 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-07 21:34:11 +00:00
libexus
1d8c9375cf Translated using Weblate (German)
Currently translated at 99.3% (2761 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-03-07 21:34:11 +00:00
Šimon Brandner
35a5442e0d
Increase minHeight
This is needed for on hold. Otherwise it feels like too much, tbc

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-07 15:05:13 +01:00
Clemens Zeidler
06181221a1 Add copyright headers 2021-03-07 19:05:36 +13:00
Panagiotis
df52ec28d6 fix: show edit button only if you have permission 2021-03-06 17:09:46 +02:00
Panagiotis
29b95e6083 fix: make edit prefill work correctly from EditHistory
handle encrypted and unencrypted events

get the correct event_id (the base message) when called from EditHistoryMessage

keep only the `body` and `msgtype` fields when prefilling
2021-03-06 16:47:29 +02:00
Panagiotis
51ac5421c9 chore: refactor code
pass only the mxEvent object to ViewSource
derive the necessary values inside the component
2021-03-06 11:30:31 +02:00
Clemens Zeidler
71d63f016a Fix tests that mock incomplete key events 2021-03-06 14:17:53 +13:00
Travis Ralston
757597e55f Fixed review concerns 2021-03-05 16:29:14 -07:00
Travis Ralston
08072aca9a Add upload icon, fix cancel button, refresh styles 2021-03-05 14:42:15 -07:00
Travis Ralston
fa41489d5a Refactor UploadBar into component state 2021-03-05 14:24:53 -07:00
Travis Ralston
711181cc69 Rough style for new upload bar
This repurposes ProgressBar which was not used anywhere in code.
2021-03-05 14:14:43 -07:00
Travis Ralston
bb80cfb9a6 Convert all of file uploads to the new dispatcher 2021-03-05 13:20:50 -07:00
Travis Ralston
ae9618367e Convert UploadBar to TypeScript 2021-03-05 13:06:53 -07:00
Panagiotis
ed6486aabb Merge branch 'improve-view-source' into edit-view-source 2021-03-05 21:44:43 +02:00
Will Hunt
d07069238f Merge remote-tracking branch 'origin/develop' into hs/blocked-err 2021-03-05 18:50:00 +00:00
Travis Ralston
f87f2b11ef Appease the linter 2021-03-05 11:05:56 -07:00
Panagiotis
2c64dac514 fix: show decrypted source on EditHistory -> ViewSource
pass correct props to the component
2021-03-05 19:57:37 +02:00
Travis Ralston
ca63e937d3 Fix up logic to show sent receipts correctly 2021-03-05 10:56:13 -07:00
David Baker
e5b03488d8 Fix widget resizing
There was a line of CSS that set pointer-events: none on widget
iframes whilst they were being resized to stop iframes swallowing
the mousemove/up events while dragging the resize handle, but a)
all widgets are now in a persisted element wrapper and therefore
not in the right place in the DOM to get that CSS and b) that only
got set when resizing the whole aps drawer vertically, not dragging
the handle between apps to change the width distribution.

Add a pointer events prop to AppTile to allow the pointer-events
style to be set by the parent, and set it when dragging either
resize handle.

Fixes https://github.com/vector-im/element-web/issues/16473
2021-03-05 17:52:51 +00:00
Travis Ralston
017c2af663 Merge branch 'develop' into travis/message-states 2021-03-05 09:29:39 -07:00
Will Hunt
35dbc82b87
Add issue comments 2021-03-05 15:01:48 +00:00
David Baker
572f15522f use a constant 2021-03-05 10:40:26 +00:00
David Baker
8bcf0f0838
console.error
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-05 10:34:03 +00:00
David Baker
c80cbc38dd
Use helper class
(It did not need imports)

Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-05 10:32:54 +00:00
Clemens Zeidler
efc5d413c4 Fix missing import (from earlier merge conflict) 2021-03-05 22:13:47 +13:00
Clemens Zeidler
dadeb68bbf Fix spelling 2021-03-05 22:02:18 +13:00
Travis Ralston
676259e78c
Merge pull request #5505 from SimonBrandner/improve-file-drop-ui
File drop UI fixes and improvements
2021-03-04 20:30:45 -07:00
Travis Ralston
8d143331a8 Appease the linter 2021-03-04 20:10:47 -07:00
Travis Ralston
5d6e3d5711 UI refresh for uploaded files
Fixes https://github.com/vector-im/element-web/issues/16557
Fixes https://github.com/vector-im/element-web/issues/9482 (technically)

There's two changes in this:
1. The actual file body in the timeline now has a placeholder thing.
2. We're intentionally dropping all the "Travis uploaded a file" sender profile states.
2021-03-04 20:07:48 -07:00
Panagiotis
288d98daed chore: format, lint 2021-03-05 00:07:59 +02:00
Panagiotis
af5cfff51d feat: edit button on View Source dialog
reuse component SendCustomEvent
swap it in place in the View Source dialog
the Back button takes you to the View Source dialog, not the DevTools dialog
do not display the flip toggle box for changing between State Event and Normal Event
2021-03-04 23:17:29 +02:00
David Baker
aaf653dd8f i18n 2021-03-04 17:58:43 +00:00
David Baker
0f1b7a001e Better error handling for streams
Also use older youtubeStreamKey as it appears our jitsi doesn't
support the newer one.
2021-03-04 17:52:49 +00:00
Michael Telatynski
c73ad9e594
Merge pull request #5332 from Transfusion/trim_display_name
Trim spurious whitespace of nicknames
2021-03-04 16:26:09 +00:00
Michael Telatynski
ab4220b20d Defer auto-joining within spaces and switch to using suggested 2021-03-04 13:04:58 +00:00
David Baker
63944b9f6d Add the new file 2021-03-04 12:22:31 +00:00
Clemens Zeidler
4a6f931782 Merge branch 'develop' into key-bindings 2021-03-04 21:10:35 +13:00
Panagiotis
725162ee00 fix: i18n strings 2021-03-04 00:09:00 +02:00
Panagiotis
6d792cc08c feat: use <details> to hide encrypted block 2021-03-03 23:48:39 +02:00
Panagiotis
0a1f372371 fix: lint 2021-03-03 23:26:31 +02:00
Panagiotis
ae08f74336 feat: improve "view source"
display encrypted and decrypted event source on the same dialog
keep only one "View Source" action on event context menu
2021-03-03 22:38:30 +02:00
David Baker
d8483ddf0d Don't place another call if there's already one ongoing
The 'call' button doesn't turn into a hangup button as soon as there's
a call in the room, but we should have been doing this anyway.
2021-03-03 20:23:21 +00:00
Šimon Brandner
c638ced21e
Remove unused consts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-03 16:59:39 +01:00
Šimon Brandner
d244ea3b14
Don't use onResize
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-03 16:42:27 +01:00
Michael Telatynski
77cf4cf7a4
Merge pull request #5706 from matrix-org/t3chguy/spaces4.4
Space room hierarchies
2021-03-03 15:25:00 +00:00
Michael Telatynski
73411fa53d tidy code style 2021-03-03 13:42:44 +00:00
Michael Telatynski
a8ff0fa75f
Merge pull request #5705 from matrix-org/t3chguy/spaces4.3
Iterate Space view and right panel
2021-03-03 13:37:40 +00:00
Michael Telatynski
d9a801910a Tweak spaces copy 2021-03-03 11:34:29 +00:00
Clemens Zeidler
7b74085708 Add missing binding + remove invalid note
HOME and END are going back to the start/end of the same line, i.e. they
are different to the other bindings.
2021-03-03 22:08:22 +13:00
Clemens Zeidler
0214397e27 Fix handling of the platform onKeyDown
Only call it if the event hasn't been handled yet.
2021-03-03 22:06:36 +13:00
Travis Ralston
c7d4dfa4f5
Merge pull request #5692 from SimonBrandner/scroll-to-bottom-setting
Add a scroll to bottom on message sent setting
2021-03-02 17:41:15 -07:00
Šimon Brandner
5877b3e00d
Add resizing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 20:33:19 +01:00
Šimon Brandner
69cdbef3d6
Remove maxHeight prop
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 20:31:39 +01:00
Travis Ralston
08d35073de Improve commentary 2021-03-02 11:04:12 -07:00
Travis Ralston
c74224a1b7 Merge branch 'develop' into travis/message-states 2021-03-02 10:40:49 -07:00
Michael Telatynski
49fc053b94
Merge pull request #5704 from matrix-org/t3chguy/spaces4.2
Initial Space Room View and Creation UX
2021-03-02 17:17:39 +00:00
Michael Telatynski
d1a75885a7 Protect onAction dispatch handler on the SpaceStore with Spaces disabled 2021-03-02 15:35:02 +00:00
David Baker
20e57d15fd Option for audio streaming 2021-03-02 15:20:54 +00:00
J. Ryan Stinnett
a5ee029c62
Merge pull request #5452 from SimonBrandner/feature-multi-language-spell-check
Add multi language spell check
2021-03-02 14:38:21 +00:00
Michael Telatynski
43cc7deeda Show hierarchy of auto_join rooms in the space view 2021-03-02 14:37:28 +00:00
Michael Telatynski
716268b2f9 Add context menu to spaces in the space panel 2021-03-02 14:35:29 +00:00
Travis Ralston
303ea16492
Merge pull request #5697 from matrix-org/travis/fix-tetris
Fix tetris effect (holes) in read receipts
2021-03-02 07:35:04 -07:00
Michael Telatynski
ca1bd78921 Add space specific variant of the dropdown on "Rooms +" sublist 2021-03-02 14:20:29 +00:00
Michael Telatynski
faf7a4b8bc Initial Space room directory view 2021-03-02 14:14:50 +00:00
Michael Telatynski
4e93452275 Tweak resizer collapse distributor behaviour to work with the expanding space panel 2021-03-02 14:02:03 +00:00
Michael Telatynski
e479edd47a Add an add existing room to space CTA to Space View 2021-03-02 13:34:53 +00:00
Michael Telatynski
a687b9883c Add a create room in space CTA to Space View 2021-03-02 13:29:34 +00:00
Michael Telatynski
ab4b7b73ea Add a basic Space Settings view 2021-03-02 13:26:00 +00:00
Šimon Brandner
4e9d19d3b0
Pass resizeNotifier into CallViewForARoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 14:09:11 +01:00
Šimon Brandner
831cc7eaa0
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 12:14:36 +01:00
Šimon Brandner
4476843264
Remove unused _t
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 12:12:10 +01:00
Šimon Brandner
0a4c0b69b0
Move fileDropTarget to RoomView
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 12:07:33 +01:00
Michael Telatynski
926e226a78 Add Invite CTA to Space View 2021-03-02 10:12:49 +00:00
Michael Telatynski
dfd0aaffe3 Iterate copy for some global warning prompts for spaces 2021-03-02 09:56:43 +00:00
Michael Telatynski
8efe7dcaa1 Decorate Right Panel cards with Space header for when viewing it in that context 2021-03-02 09:54:32 +00:00
Šimon Brandner
ff00683f32
Use ===
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-02 07:42:07 +01:00
Šimon Brandner
ebedd3cbcb
Remove space
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-02 07:41:14 +01:00
Šimon Brandner
6fcb4c7cd2
Fix quote
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-03-02 07:37:00 +01:00
Travis Ralston
178ae2f7bf
Merge pull request #5703 from jaiwanth-v/fix-edit-markdown-image
Fixed edit for markdown images
2021-03-01 16:57:08 -07:00
Travis Ralston
db8978580c Improve special read receipt checking
See comments in code
2021-03-01 16:25:25 -07:00
Travis Ralston
9cec382865 Change sending->sent state to match new designs
For https://github.com/vector-im/element-web/issues/16424
2021-03-01 16:25:19 -07:00
Michael Telatynski
1a7a0e619d extend createRoom for creating rooms in a space 2021-03-01 19:05:50 +00:00
Michael Telatynski
c10512fd56 Initial SpaceRoomView work 2021-03-01 18:53:11 +00:00
Michael Telatynski
c8fe3f7676 Pass room creation opts for new rooms into RoomView 2021-03-01 17:54:53 +00:00
Michael Telatynski
483d56320c Beginning of space creation UX from space panel 2021-03-01 17:47:40 +00:00
Jaiwanth
d731e82fba Fixed edit for markdown images
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-03-01 22:44:48 +05:30
Michael Telatynski
ea61b18c18 Iterate Space Panel alignments 2021-03-01 17:02:02 +00:00
Michael Telatynski
ce64863326 Annotate User Menu handle with currently selected space 2021-03-01 15:53:16 +00:00
Michael Telatynski
d248a5fa5d
Merge pull request #5689 from matrix-org/t3chguy/spaces2
Space Store and Space Panel for Room List filtering
2021-03-01 09:42:04 +00:00
Clemens Zeidler
1cfb0e99d4 Add support for multiple key bindings provider
- This can be used to provide custom key bindings
- Move default key bindings into its own file
2021-03-01 22:16:05 +13:00
Clemens Zeidler
ef7284e69d Add missing JumpToOldestUnread action 2021-03-01 22:15:05 +13:00
Clemens Zeidler
601be50b71 Split KeyAction into multiple enums
This gives some additional type safety and makes enum member usage more
clear.
2021-03-01 21:43:00 +13:00
Priit Jõerüüt
36ef0be05b Translated using Weblate (Estonian)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-02-28 15:35:06 +00:00
Trendyne
55bfe21df0 Translated using Weblate (Icelandic)
Currently translated at 14.8% (413 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/is/
2021-02-28 15:35:02 +00:00
Besnik Bleta
73421597b6 Translated using Weblate (Albanian)
Currently translated at 99.6% (2769 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-02-28 15:35:01 +00:00
XoseM
b6a5b08a86 Translated using Weblate (Galician)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-02-28 15:34:57 +00:00
waclaw66
66cf2075fe Translated using Weblate (Czech)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-02-28 15:34:52 +00:00
Jeff Huang
c4940d1643 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-02-28 15:34:48 +00:00
linsui
ad38f87287 Translated using Weblate (Chinese (Simplified))
Currently translated at 80.7% (2245 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-02-28 15:34:43 +00:00
LinAGKar
b6d4e3fe9a Translated using Weblate (Swedish)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-02-28 15:34:33 +00:00
A-l-exa-n-d-r
8d68cbdb14 Translated using Weblate (Russian)
Currently translated at 99.6% (2769 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-02-28 15:34:28 +00:00
rkfg
3540bec046 Translated using Weblate (Russian)
Currently translated at 99.6% (2769 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-02-28 15:34:28 +00:00
Marcelo Filho
abbe516604 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt_BR/
2021-02-28 15:34:25 +00:00
jelv
32ac7d7c8b Translated using Weblate (Dutch)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-28 15:34:19 +00:00
Szimszon
f75d98493d Translated using Weblate (Hungarian)
Currently translated at 100.0% (2780 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-02-28 15:34:15 +00:00
Jean-Luc KABORE-TURQUIN
83d10b827b Translated using Weblate (French)
Currently translated at 99.2% (2758 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-02-28 15:34:10 +00:00
Thibault Martin
d6d5455a11 Translated using Weblate (French)
Currently translated at 99.2% (2758 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fr/
2021-02-28 15:34:10 +00:00
@a2sc:matrix.org
94fbd7c9b1 Translated using Weblate (German)
Currently translated at 99.2% (2759 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-28 15:34:08 +00:00
Clemens Zeidler
32ec8b7dc8 Add key bindings for RoomList, Room and Navigation 2021-02-28 20:13:34 +13:00
Clemens Zeidler
f29a8ef0f7 Handle shift + letter combos 2021-02-28 20:12:36 +13:00
Travis Ralston
e43853d6b0 Use a small fractional value instead 2021-02-27 12:02:24 -07:00
David Baker
9722091b80
Merge pull request #5691 from matrix-org/dbkr/log_turn_cred_expiry
Log when turn creds expire
2021-02-27 15:10:27 +00:00
David Baker
11ba9e0601
Merge pull request #5690 from matrix-org/dbkr/call_maxheight_nan
Null check for maxHeight in call view
2021-02-27 15:05:07 +00:00
@a2sc:matrix.org
844ed6b0b9 Translated using Weblate (German)
Currently translated at 99.2% (2759 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-27 14:58:41 +00:00
libexus
4b771b0634 Translated using Weblate (German)
Currently translated at 99.2% (2759 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-27 14:58:41 +00:00
Nikita Epifanov
905f5300f4 Translated using Weblate (Russian)
Currently translated at 99.4% (2765 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-02-27 08:04:54 +00:00
Travis Ralston
76ad93b937 Put speed holes in the code
We can make read receipts more efficient (and avoid double-animation) by using `PureComponent` which no-ops useless updates for us.
2021-02-26 22:25:50 -07:00
Travis Ralston
b3142d6138 Offset read receipt start positions by 1px
As mentioned in 208faf6d46, the velocity-animate update causes read receipts to occasionally show up 14px to the right of where they should be. This is because the read receipt width is 14px, and velocity-animate will *not* translate `left` if it isn't changing. Unfortunately, it's smart enough to realize that `-0px` is `0px`, so we end up having to specify `1px`. 

The comment already mentions it, but this should have no perceived effect for the user. During development I could not tell if the 1px was being applied during the animation, implying that it's a meaningless value. It's a bit unfortunate for those who know that it's translating left by 1px, but hopefully they'll be able to unsee that in time.
2021-02-26 22:24:36 -07:00
Travis Ralston
208faf6d46 Update velocity-animate to the latest beta
This is the primary change in this PR: the new beta (which has been untouched for a year as of writing) actually does a better job of handling concurrent read receipts, this patching holes. 

The beta doesn't have the same leak as v1, so we can remove the metadata hack from our side (it doesn't use jQuery's data anymore).

Note that this change on its own introduces an annoying bug where every second update to a read receipt will throw it 14px to the right - more on that in the next commit.
2021-02-26 22:21:14 -07:00
Robin Townsend
f1fabd831c Add /spoiler command
As a temporary measure until we have an extensible Markdown parser.

Signed-off-by: Robin Townsend <robin@robin.town>
2021-02-26 20:34:01 -05:00
Robin Townsend
c25a8b70fa Support sending invite reasons with /invite command
Signed-off-by: Robin Townsend <robin@robin.town>
2021-02-26 17:10:20 -05:00
Robin Townsend
e3065f5a02 Support sending invite reasons with MultiInviter
Signed-off-by: Robin Townsend <robin@robin.town>
2021-02-26 17:09:54 -05:00
Michael Telatynski
bfe3d648e2
Update src/stores/room-list/algorithms/Algorithm.ts
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-02-26 22:08:36 +00:00
Travis Ralston
91a47f96e2
Merge pull request #5687 from robintown/autocomplete-invited-users
Autocomplete invited users
2021-02-26 14:55:51 -07:00
Travis Ralston
678ec52035 Merge branch 'develop' into fix-4963 2021-02-26 14:41:28 -07:00
Travis Ralston
01da8633d4 i18n 2021-02-26 13:50:22 -07:00
Travis Ralston
855ee068c3 Appease the linter 2021-02-26 13:50:03 -07:00
Travis Ralston
4e27b00cf3 Move call buttons to the room header
This is to make some room in the composer for voice messages. The hangup behaviour is intentionally lost by this change as the VOIP UX is intended to rely on dedicated hangup buttons instead.
2021-02-26 13:46:39 -07:00
libexus
de73cef7e6 Translated using Weblate (German)
Currently translated at 99.2% (2759 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-26 18:02:18 +00:00
libexus
d83b935fc0 Translated using Weblate (German)
Currently translated at 99.2% (2759 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-26 18:02:04 +00:00
@a2sc:matrix.org
414f18b19f Translated using Weblate (German)
Currently translated at 99.2% (2759 of 2780 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-26 18:02:02 +00:00
Šimon Brandner
83df645dbb
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 18:39:20 +01:00
Šimon Brandner
361420bf68
Use scrollToBottomOnMessageSent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 18:37:30 +01:00
Šimon Brandner
1387c9f94d
Display scrollToBottomOnMessageSent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 18:37:25 +01:00
Šimon Brandner
a0200de7b4
Add scrollToBottomOnMessageSent setting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 18:34:54 +01:00
David Baker
90af6ddcce Log when turn creds expire
Which, due to how special the js-sdk API is, needs to be done accross
two different projects.
2021-02-26 14:48:18 +00:00
David Baker
b58ce4ccfc Null check for maxHeight in call view 2021-02-26 14:00:02 +00:00
Michael Telatynski
f21aedc6cf Add Space Panel with Room List filtering 2021-02-26 10:41:26 +00:00
Šimon Brandner
9a5ba072ba
Fix auxPanel
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 11:23:58 +01:00
Šimon Brandner
11c5aa02d2
Remove mx_RoomView_container
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 11:19:45 +01:00
Šimon Brandner
0d6a9fce67
Remove weird styling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 11:12:14 +01:00
Šimon Brandner
49ea83edb9
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 08:14:27 +01:00
Šimon Brandner
1a7f9091b4
Animate icon size
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-26 07:51:03 +01:00
Robin Townsend
dba52fb5b1 Autocomplete invited users
Signed-off-by: Robin Townsend <robin@robin.town>
2021-02-25 16:01:46 -05:00
Hubert Chathi
f1330b7359
Merge pull request #5638 from uhoreg/use_default_ssss_key
Use the default SSSS key if the default is set
2021-02-25 15:13:50 -05:00
Robin Townsend
563620484d Support replying with a message command
Signed-off-by: Robin Townsend <robin@robin.town>
2021-02-25 14:59:47 -05:00
Šimon Brandner
49ea9a4788
Remove sdk import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 20:10:58 +01:00
Šimon Brandner
7277c285a9
Fix weird crash
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 20:10:38 +01:00
Šimon Brandner
43e1144ae7
Don't use TintableSVG
This seemed to have caused a little lag and it was unnecessary

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 19:36:55 +01:00
Šimon Brandner
1c48804d96
Remove unnecessary class
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 19:28:08 +01:00
Šimon Brandner
c1a105f071
Merge branch 'develop' into improve-file-drop-ui 2021-02-25 18:12:37 +01:00
Michael Telatynski
7030c636f0 Initial Space Store for keeping track of space hierarchies from sync 2021-02-25 16:36:35 +00:00
Michael Telatynski
0f0e6c335f
Merge pull request #5668 from matrix-org/t3chguy/spaces2
Initial Spaces feature flag
2021-02-25 15:38:30 +00:00
Michael Telatynski
59017fd9e4 Merge branch 't3chguy/spaces2' of github.com:matrix-org/matrix-react-sdk into t3chguy/spaces 2021-02-25 15:01:02 +00:00
Michael Telatynski
864a9974b1 Tweak spaces labs flag copy 2021-02-25 12:20:10 +00:00
Šimon Brandner
fc32ceade7
i18n 2021-02-25 11:57:39 +01:00
Michael Telatynski
0f0edbfb14 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/spaces1
 Conflicts:
	src/utils/objects.ts
2021-02-25 10:50:56 +00:00
Šimon Brandner
1955fff08c
CSS cleanup
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 11:50:50 +01:00
Šimon Brandner
dc283241aa
Remove wrapper
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 11:28:42 +01:00
Šimon Brandner
436a17bcc9
Remove imports
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 11:26:34 +01:00
Šimon Brandner
4c377ae037
Consistent evs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 11:23:14 +01:00
Šimon Brandner
80ce4da9b6
Remove onRedactClick
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 11:21:04 +01:00
Šimon Brandner
fa239e506d
ZOOM shouldn't be a part of the class
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 11:19:50 +01:00
Šimon Brandner
d0dea91e92
contextMenuDisplay -> contextMenuDisplayed
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 11:16:40 +01:00
Šimon Brandner
4f3fe3d236
Add comments
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 11:09:52 +01:00
Šimon Brandner
b18622efe4
Show full date
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 08:20:34 +01:00
Šimon Brandner
83de84972e
Close onPermalinkClicked
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 08:13:27 +01:00
Šimon Brandner
fe8e90f920
Change comment styling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 07:51:38 +01:00
Šimon Brandner
d58c17ff3b
Show grabbing cursor
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-25 07:50:53 +01:00
Travis Ralston
fbe5d17785 sanity 2021-02-24 18:27:59 -07:00
Travis Ralston
e2fb9b3ae8 Clean up widgets when leaving the room 2021-02-24 18:10:35 -07:00
Hubert Chathi
5f74fac2e8 fall back to the old method if the default key isn't available 2021-02-24 17:55:27 -05:00
Šimon Brandner
649b87ac11
Make permalink clickable
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 20:14:12 +01:00
Šimon Brandner
6008a6f9fa
Use showTwelveHourTimestamps
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 20:07:41 +01:00
Šimon Brandner
983895289c
Update info
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 20:04:25 +01:00
Šimon Brandner
7293181552
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 19:33:22 +01:00
Šimon Brandner
2021e4e345
Remove ugly workaround
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 19:33:17 +01:00
Travis Ralston
dee7c7b556
Merge pull request #5567 from SimonBrandner/fix-read-receipts
Fix read receipts?
2021-02-24 11:21:42 -07:00
Travis Ralston
83078a67c2
Merge pull request #5678 from matrix-org/hs/fix-usage-alerts
Fix MAU usage alerts
2021-02-24 11:21:03 -07:00
Travis Ralston
c11c8c2faf
Update src/toasts/ServerLimitToast.tsx 2021-02-24 11:20:58 -07:00
Šimon Brandner
9312becee5
Add context menu
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 19:17:33 +01:00
Šimon Brandner
bd5efc7ceb
Pass permallinkCreator to ImageView
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 19:11:08 +01:00
Will Hunt
c78d1c49ab Apply changes from review 2021-02-24 17:32:00 +00:00
Šimon Brandner
fa9ae89b5b
Don't show info if no event
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 18:24:44 +01:00
Weblate
7aab06c4ea Merge branch 'origin/develop' into Weblate. 2021-02-24 17:16:13 +00:00
Priit Jõerüüt
50c5a2d5fc Translated using Weblate (Estonian)
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/et/
2021-02-24 17:16:09 +00:00
nilsjha
a274ec9501 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 44.8% (1240 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nn/
2021-02-24 17:16:05 +00:00
Besnik Bleta
e6fbcbce6e Translated using Weblate (Albanian)
Currently translated at 99.6% (2755 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-02-24 17:16:04 +00:00
Fake Mail
03589af8ad Translated using Weblate (Bulgarian)
Currently translated at 93.3% (2581 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/bg/
2021-02-24 17:16:00 +00:00
Slobodan Simić
041f74eaaf Translated using Weblate (Serbian)
Currently translated at 50.6% (1401 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sr/
2021-02-24 17:15:07 +00:00
XoseM
134d18554a Translated using Weblate (Galician)
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/gl/
2021-02-24 17:14:54 +00:00
Miroslav Šedivý
9fc8d30550 Translated using Weblate (Slovak)
Currently translated at 65.5% (1813 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sk/
2021-02-24 17:14:50 +00:00
Tuomas Hietala
997e9cc6b9 Translated using Weblate (Finnish)
Currently translated at 94.8% (2621 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/fi/
2021-02-24 17:14:08 +00:00
waclaw66
ba12c274ce 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-24 17:14:03 +00:00
Kaede
489d341d04 Translated using Weblate (Japanese)
Currently translated at 50.5% (1398 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ja/
2021-02-24 17:14:02 +00:00
Andrejs
dbae13324c Translated using Weblate (Latvian)
Currently translated at 47.7% (1321 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lv/
2021-02-24 17:14:00 +00:00
random
0ae194981a Translated using Weblate (Italian)
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/it/
2021-02-24 17:13:59 +00:00
Tirifto
9efebc66bf Translated using Weblate (Esperanto)
Currently translated at 98.7% (2729 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/eo/
2021-02-24 17:13:53 +00:00
vejetaryenvampir
1f538607f4 Translated using Weblate (Turkish)
Currently translated at 83.4% (2307 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/tr/
2021-02-24 17:13:29 +00:00
eopo807
3b8ee7fa38 Translated using Weblate (Ukrainian)
Currently translated at 53.9% (1490 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/uk/
2021-02-24 17:13:13 +00:00
Šimon Brandner
83e1a7a707
Add more button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 18:13:12 +01:00
Jeff Huang
4a038ec2f4 Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
2021-02-24 17:13:11 +00:00
LinAGKar
940bfdf21f Translated using Weblate (Swedish)
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/sv/
2021-02-24 17:13:07 +00:00
Nikita Epifanov
5cd6426645 Translated using Weblate (Russian)
Currently translated at 99.7% (2757 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-02-24 17:13:04 +00:00
jelv
376c675593 Translated using Weblate (Dutch)
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/nl/
2021-02-24 17:12:51 +00:00
Szimszon
44153f9cfb Translated using Weblate (Hungarian)
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/hu/
2021-02-24 17:12:06 +00:00
Men770
fb083d13ad Translated using Weblate (Hebrew)
Currently translated at 98.5% (2723 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/he/
2021-02-24 17:12:03 +00:00
MusiCode1
23b16b62f2 Translated using Weblate (Hebrew)
Currently translated at 98.5% (2723 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/he/
2021-02-24 17:12:03 +00:00
Maxime Corteel
a5cdc79f94 Translated using Weblate (French)
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/fr/
2021-02-24 17:12:00 +00:00
Thibault Martin
69b7daae44 Translated using Weblate (French)
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/fr/
2021-02-24 17:12:00 +00:00
iaiz
49d8158c7e Translated using Weblate (Spanish)
Currently translated at 96.4% (2667 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/es/
2021-02-24 17:11:42 +00:00
@a2sc:matrix.org
28cd309533 Translated using Weblate (German)
Currently translated at 99.6% (2754 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-24 17:11:40 +00:00
libexus
20a3b6f4aa Translated using Weblate (German)
Currently translated at 99.6% (2754 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-24 17:11:40 +00:00
b068931cc450442b63f5b3d276ea4297
2e6d8e886d Translated using Weblate (German)
Currently translated at 99.6% (2754 of 2764 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-24 17:11:40 +00:00
Šimon Brandner
b068a4c055
Make download into a button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 16:28:12 +01:00
J. Ryan Stinnett
1b82a593f3
Merge pull request #5681 from matrix-org/jryans/fix-object-diff
Fix object diffing when objects have different keys
2021-02-24 14:43:40 +00:00
J. Ryan Stinnett
4e87fdcdfe Fix object diffing when objects have different keys
The object diff optimisation in 32cca0534c is not
correct for the case where `b` has some keys that are not in `a`.

By ensuring their key arrays are same length, we can preserve optimisation and
be correct as well.

Fixes https://github.com/vector-im/element-web/issues/16514
2021-02-24 13:45:25 +00:00
Šimon Brandner
a6bb203a4b
Redo icons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 14:43:33 +01:00
J. Ryan Stinnett
c57b49a354
Merge pull request #5673 from SimonBrandner/dont-show-copy-button
Add <code> if it's missing
2021-02-24 13:33:39 +00:00
Šimon Brandner
986950697b
Rmove unnecessary code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 14:10:09 +01:00
Šimon Brandner
024871f59d
Merge branch 'dont-show-copy-button' of https://github.com/SimonBrandner/matrix-react-sdk into dont-show-copy-button 2021-02-24 13:41:16 +01:00
Šimon Brandner
363b753306
Avoid innerHTML
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 13:40:37 +01:00
Šimon Brandner
61cd026d7a
Improve comment
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-02-24 13:07:25 +01:00
Šimon Brandner
7cd8f1135b
Quit on empty panel click
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 13:02:25 +01:00
Šimon Brandner
3e408b3fcd
Remove unused code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 12:59:40 +01:00
J. Ryan Stinnett
9a56a2efa5
Merge pull request #5629 from PunitLodha/punit/add_email_bug_fix
Add email only if the verification is complete
2021-02-24 11:28:57 +00:00
Šimon Brandner
13d766218a
Remove redact button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 11:59:43 +01:00
Šimon Brandner
899ce1f605
Partially fix overflow issues
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 11:15:59 +01:00
Šimon Brandner
ab79deb88f
Update the looks a bit more
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 08:11:53 +01:00
Šimon Brandner
497131874b
Remove size info
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 07:53:33 +01:00
Šimon Brandner
05e9019bc9
Remove name
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 07:50:10 +01:00
Šimon Brandner
d85ab382f5
Reorganize elements
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-24 07:47:59 +01:00
Šimon Brandner
6cf19e8897
Update icons according to the design
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-23 21:04:21 +01:00
Šimon Brandner
35663c35d2
Reorder the icons according to the design
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-23 20:49:31 +01:00
Šimon Brandner
e5d68142c6
Remove zoom icon
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-23 20:47:42 +01:00
Šimon Brandner
87d5d73025
Merge branch 'develop' into improve-image-view 2021-02-23 20:42:16 +01:00
Šimon Brandner
2f2c5c9081
Merge branch 'develop' into fix-read-receipts 2021-02-23 18:43:58 +01:00
Will Hunt
84bcdf66f2 Fix TS check 2021-02-23 13:00:05 +00:00
Will Hunt
aa86c1d751 Ensure that a dismissed usage alert toast stays dismissed 2021-02-23 12:51:47 +00:00
Will Hunt
0daed98627 Do not process an older usage event if we've already processed a newer one 2021-02-23 12:51:17 +00:00
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
Šimon Brandner
5a6e393fa2
Removed spell-check-languages
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 20:13:55 +01:00
Šimon Brandner
1ba512af2a
Use getSpellCheckLanguages() instead of a setting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 20:12:48 +01:00
Šimon Brandner
305d64cda8
Removed log
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 20:09:39 +01:00
Šimon Brandner
2ebc1252cb
Removed unnecessary functions
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 19:54:54 +01:00
Šimon Brandner
ed02503462
Fix one more license
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 19:41:19 +01:00
Šimon Brandner
5de99c7708
Fix licenses
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 19:40:24 +01: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
Šimon Brandner
bd0e5446c5
Merge branch 'develop' into feature-multi-language-spell-check 2021-02-18 18:16:16 +01: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
Šimon Brandner
86fe5f778d
Use modal as a param
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-17 13:32:48 +01:00
Šimon Brandner
a7847f2514
onIsEmptyChanged() -> onChange()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-17 13:25:53 +01:00
Šimon Brandner
9420cc35cc
Added a key
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-17 13:22:19 +01: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
Clemens Zeidler
54c38844d2 Use key bindings in BasicMessageComposer 2021-02-17 22:00:48 +13:00
Travis Ralston
21b9ab9d85 Add an optional config option to make the welcome page the login page
This is commonly requested by deployments with custom setups or those using SSO. Instead of having them all ship the same welcome.html with redirect code in it, we can offer a built-in redirect.

Note that this doesn't actually redirect and instead just replaces the view. This is to make the change less invasive as otherwise it involves changing the routing layers.
2021-02-16 15:18:31 -07: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
Jaiwanth
ee54327733 Update src/components/views/rooms/RoomTile.tsx 2021-02-16 18:59:22 +05:30
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
Clemens Zeidler
c84ad9bedc Use key binding for cancelling a message reply 2021-02-16 19:12:18 +13:00
Clemens Zeidler
ac7963b509 Fix lint and style issues 2021-02-16 19:05:51 +13:00
Clemens Zeidler
12387b4978 Use the KeyBindingsManager in EditMessageComposer 2021-02-16 19:05:39 +13: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
Jaiwanth
04d2bf1d6a Check whether user has permission to invite
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-02-15 20:55:15 +05:30
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
f420c85985 Added invite option to room's context menu
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-02-15 19:21:26 +05:30
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
Clemens Zeidler
4a138f3b84 Only support a single key in the KeyCombo
Keep it simple...
2021-02-15 19:21:08 +13:00
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
Clemens Zeidler
b4c5dec4e5 Use the KeyBindingsManager for the SendMessageComposer 2021-02-14 15:56:55 +13:00
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
Šimon Brandner
130e4f7bfd
Added some styling
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 17:06:02 +01:00
Šimon Brandner
97f5b6920c
Check if the method is defined before calling it
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 16:48:46 +01:00
Šimon Brandner
2b4859a858
Merge branch 'develop' into fix-4963 2021-02-12 16:30:01 +01:00
Šimon Brandner
b269517149
Removed wrapper
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:52:42 +01:00
Šimon Brandner
daff94ecbc
i18n
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:47:33 +01:00
Šimon Brandner
ba2c68819f
Removed showSendButton setting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:45:06 +01:00
Šimon Brandner
35c0cb99d0
Use isComposerEmpty for send button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:45:03 +01:00
Šimon Brandner
50b0a78132
Renamed composerEmpty to isComposerEmpty
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:44:22 +01:00
Šimon Brandner
42a48ee27d
Added composerEmpty property
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:44:22 +01:00
Šimon Brandner
98757bb6cf
Extract send button into a function
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:44:16 +01:00
Šimon Brandner
17f09d3b7a
Added onIsEmptyChanged prop
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 15:16:07 +01:00
Šimon Brandner
d8a9b84af9
Don't show tooltip if there is nothing to display
We do this because resource is undefined for @room

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 14:28:39 +01:00
Šimon Brandner
cb5237a18b
Display room name instead of alias
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 14:21:07 +01:00
Šimon Brandner
a975de22ef
Fixed buggy tooltip
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 11:27:14 +01:00
Clemens Zeidler
c7f9defd12 Add simple implementation of a KeyBindingsManager + match tests 2021-02-12 22:04:33 +13:00
Šimon Brandner
f2137fe93f
Merge branch 'develop' into show-room-name 2021-02-12 08:21:40 +01:00
Šimon Brandner
33979b3354
Added a tooltip
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-12 08:18:27 +01:00
Hubert Chathi
a61462bc85 use the default SSSS key if the default is set
implements MSC2874
2021-02-11 16:34:15 -05: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
Tim Al
7fc3d574c6 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:36 +00:00
Weblate
f058f85ea1 Merge branch 'origin/develop' into Weblate. 2021-02-10 13:53:22 +00:00
J. Ryan Stinnett
fa5df314a1
Merge pull request #5450 from matrix-org/jaywink/hosting-provider-iframe
Add host signup modal with iframe
2021-02-10 13:53:15 +00:00
Weblate
2c96100abf Merge branch 'origin/develop' into Weblate. 2021-02-10 13:43:47 +00:00
Priit Jõerüüt
6bec40cde6 Translated using Weblate (Estonian)
Currently translated at 100.0% (2751 of 2751 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/et/
2021-02-10 13:43:47 +00:00
Andrejs
9f2bfc5216 Translated using Weblate (Latvian)
Currently translated at 48.0% (1321 of 2751 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lv/
2021-02-10 13:43:45 +00:00
Silke
bb0b55a8ed Translated using Weblate (Dutch)
Currently translated at 85.7% (2359 of 2751 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-02-10 13:43:44 +00:00
Szimszon
831963c863 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2751 of 2751 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-02-10 13:43:43 +00:00
J. Ryan Stinnett
2fa9880aea
Merge pull request #5633 from SimonBrandner/fix-duplication
Fix duplication of codeblock elements
2021-02-10 13:43:33 +00:00
Šimon Brandner
6b0b46b917
Fix duplication caused by highlighting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-10 14:20:19 +01:00
Šimon Brandner
895be6e7a6
Added second comment back
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-10 14:02:45 +01:00
Šimon Brandner
5cf126dea3
Added comment back
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-10 13:41:24 +01:00
Šimon Brandner
b97d8979c7
Remove nested for loop
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-10 13:18:23 +01:00
Jason Robinson
23140a84ff Remove host signup config strings, make translatable instead
Also replace the icon in the UserMenu and change the text, requested from design.
2021-02-10 13:38:32 +02:00
Jason Robinson
dc549a9e4b Address some more pr feedback 2021-02-09 22:41:40 +02:00
Šimon Brandner
4a7bc74e99
Fix duplication of codeblock elements
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-09 19:46:30 +01:00
Jason Robinson
2197c1e519 Address some of the PR feedback 2021-02-09 20:13:58 +02:00
Jason Robinson
a4a478cf72 Remove host signup link from UserMenu.tsx
It duplicates the new host signup modal dialog.
2021-02-09 20:01:45 +02:00
Weblate
6a9ae107a3 Merge branch 'origin/develop' into Weblate. 2021-02-09 16:30:37 +00:00
@a2sc:matrix.org
cc78f627c3 Translated using Weblate (German)
Currently translated at 100.0% (2751 of 2751 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/de/
2021-02-09 16:30:36 +00:00
Šimon Brandner
5b211897ec
Handle undefined call stats
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-09 14:52:48 +01:00
Weblate
8992284ec1 Merge branch 'origin/develop' into Weblate. 2021-02-09 12:27:16 +00:00
Besnik Bleta
3fbf78cb31 Translated using Weblate (Albanian)
Currently translated at 99.6% (2742 of 2751 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sq/
2021-02-09 12:27:16 +00:00
XoseM
55bc0ccae5 Translated using Weblate (Galician)
Currently translated at 100.0% (2751 of 2751 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-02-09 12:27:14 +00:00
waclaw66
31709e8b16 Translated using Weblate (Czech)
Currently translated at 100.0% (2751 of 2751 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-02-09 12:27:11 +00:00
Andrejs
a7ca6c8240 Translated using Weblate (Latvian)
Currently translated at 48.0% (1321 of 2751 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/lv/
2021-02-09 12:27:10 +00:00
Jeff Huang
e69fa281cb Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2751 of 2751 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-02-09 12:26:47 +00:00
LinAGKar
e36364483a Translated using Weblate (Swedish)
Currently translated at 100.0% (2751 of 2751 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sv/
2021-02-09 12:26:44 +00:00