Commit Graph

12896 Commits (25a47b463e70ba2ec498eaf31347beee81c05f3d)

Author SHA1 Message Date
Michael Telatynski d04c8b3fb4 Improve discovery of rooms in a space 2021-03-19 11:54:10 +00:00
David Baker d06bd348a3
Merge pull request #5771 from matrix-org/dbkr/log_getusermedia_error
Log error when failing to list usermedia devices
2021-03-19 09:58:06 +00:00
Travis Ralston 3bd186e2d2
Merge pull request #5772 from SimonBrandner/fix-timeline-jumps
Fix weird timeline jumps
2021-03-18 23:51:52 -06:00
Travis Ralston 1d43c8b791 Remove forgotten rooms from the room list once forgotten
Fixes https://github.com/vector-im/element-web/issues/15559

This isn't exactly perfect as an implementation: if the user refreshes immediately after forgetting then there is a good chance the room re-appears because of the sync accumulator. At the very least this change makes it so in *most* cases the room goes away, which is probably good enough until https://github.com/vector-im/element-web/issues/14038 can be implemented properly.
2021-03-18 23:28:59 -06:00
Travis Ralston be8ee1a576 Appease the linter 2021-03-18 21:05:51 -06:00
Travis Ralston 1d9d0cd7be Convert a bunch more js-sdk imports to absolute paths
Turns out a lot of the typescript warnings about improper warnings were correct. TypeScript appears to be pulling in two copies of the js-sdk when we do this, which can lead to type conflicts (or worse: the wrong code entirely). We fix this at the webpack level by explicitly importing from `src`, but some alternative build structures have broken tests because of this - jest ends up pulling in the "wrong" js-sdk, breaking things.
2021-03-18 20:50:34 -06:00
Travis Ralston 720ac9d837 Replace type declaration in Registration.tsx 2021-03-18 14:45:14 -06:00
Šimon Brandner 4a506a809e
Merge branch 'develop' into fix-timeline-jumps 2021-03-18 18:26:43 +01:00
David Baker f3ca75391d Merge remote-tracking branch 'origin/develop' into dbkr/log_getusermedia_error 2021-03-18 17:15:07 +00:00
Šimon Brandner 7ac8fdea64
Don't call scrollToBottom() on scroll_to_bottom()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-18 18:02:33 +01:00
Šimon Brandner a4a3b4da78
jumpToLiveTimeline() on scroll_to_bottom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-18 18:01:50 +01:00
David Baker 84b6027d41 Log error when failing to list usermedia devices
So we can debug why this might be failing
2021-03-18 16:41:22 +00:00
Michael Telatynski 17399c6be6
Merge pull request #5764 from matrix-org/t3chguy/spaces4.9
Fix left panel resizing and lower min-width improving flexibility
2021-03-18 11:34:55 +00:00
Travis Ralston 0f09eb3214 Add more notes 2021-03-17 00:12:03 -06:00
Travis Ralston c7b72bc4c4 Appease the linter 2021-03-16 23:57:27 -06:00
Travis Ralston f0d5edbc37 Render voice messages as audio messages for now 2021-03-16 23:48:47 -06:00
Travis Ralston 9aa5348c7f Show a stop button to stop the recording 2021-03-16 23:43:59 -06:00
Travis Ralston dafa8786a1 Fix comments 2021-03-16 23:43:22 -06:00
Travis Ralston b5d32d92f3 Wire up a simple record button 2021-03-16 22:58:44 -06:00
Travis Ralston 451a3aaa3f Work around more cases where a rageshake server might not be present
We already do this for a number of other places (slash commands, help section of settings, etc) - these places appear to have been missed, though.
2021-03-16 13:50:43 -06:00
Michael Telatynski 0ce78f469f
Merge pull request #5761 from matrix-org/t3chguy/spaces4.8
Iterate space panel visually and functionally
2021-03-16 17:41:14 +00:00
David Baker bd763a09ba
Merge pull request #5765 from matrix-org/dbkr/resize_dispatch_async
Make some dispatches async
2021-03-16 16:00:05 +00:00
David Baker 67e2ae9988 Make some dispatches async
It looks like these dispatches were being dispatched while already
dispatching, causing soft crashes (although I can't see where the
first dispatch was from). Either way, seems like these didn't need
to be sync.
2021-03-16 15:42:03 +00:00
Michael Telatynski 688407abe6
Merge branch 'develop' into t3chguy/spaces4.9 2021-03-16 11:14:38 +00:00
Michael Telatynski 11cd791c76 Tweak left panel min widths for better flexibility 2021-03-16 11:13:39 +00:00
Michael Telatynski baaceccfda Rearrange dom hierarchy to put space panel at same level as LeftPanel
so they don't steal horizontal space from each other
2021-03-16 11:13:39 +00:00
Travis Ralston 0e0ccfea88
Merge pull request #5756 from SimonBrandner/hangup-all-on-logout
Hangup all calls on logout
2021-03-15 21:10:13 -06:00
Michael Telatynski 272f06d57a Fix Space Panel exploding with cyclic hierarchies 2021-03-15 12:16:48 +00:00
Travis Ralston 9b6d9b3bf1 years are difficult 2021-03-12 15:02:39 -07:00
Travis Ralston 75cfd9a8f5 Redirect to login properly 2021-03-12 15:01:05 -07:00
Travis Ralston c8d7b0e1b9 Collapse copyright 2021-03-12 14:56:47 -07:00
Travis Ralston 25485edb3f Merge branch 'develop' into travis/welcome-login 2021-03-12 14:55:40 -07:00
Travis Ralston d3541b78eb
Merge pull request #5714 from matrix-org/travis/media-customization
Support a media handling customisation endpoint
2021-03-12 11:01:59 -07:00
Šimon Brandner 02051a39ff
Hangup all calls on logout
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-12 13:55:14 +01:00
Travis Ralston a9a4bd50ca Merge branch 'develop' into travis/media-customization 2021-03-11 08:37:49 -07:00
Panagiotis be7fb33a67 Merge branch 'develop' into edit-view-source 2021-03-11 17:07:56 +02:00
Travis Ralston 229a95f190
Merge pull request #5734 from matrix-org/travis/skinning/pt3-easy-comps
[SK-3] Decorate easy components with replaceableComponent
2021-03-11 07:26:20 -07:00
Michael Telatynski 081e745417
Merge pull request #5751 from matrix-org/t3chguy/spaces4.7
Rebuild space previews with new designs
2021-03-11 14:06:31 +00:00
J. Ryan Stinnett 6a939c4de8
Merge pull request #5727 from matrix-org/matthew/rework-cross-signing-login
Rework cross-signing login flow
2021-03-11 12:53:55 +00:00
Michael Telatynski 6d81634eec Rebuild space previews with new designs 2021-03-11 11:49:43 +00:00
Michael Telatynski bd3386358a
Merge pull request #5749 from matrix-org/t3chguy/spaces4.6
Properly gate SpaceRoomView behind labs
2021-03-11 11:17:36 +00:00
Michael Telatynski 4ca838d4c7 Properly gate SpaceRoomView behind labs 2021-03-11 11:04:39 +00:00
Travis Ralston 7f52e78748 Make styles dynamic 2021-03-10 21:08:01 -07:00
Travis Ralston 88a2bdb119 Change read receipt drift to be non-fractional
I suspect this is what is causing issues in Firefox for read receipts not falling down.
2021-03-10 16:47:27 -07:00
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 e5180a472f Merge branch 'develop' into travis/skinning/pt3-easy-comps 2021-03-10 12:30:06 -07: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
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
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
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 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
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
Matthew Hodgson d388f877b4 add PHASE_LOADING to SetupEncryptionStore to avoid flashing cross-signing setup 2021-03-08 23:28:44 +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
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
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 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