Commit Graph

12860 Commits

Author SHA1 Message Date
Germain Souquet f1453e8d2b extract always visible logic to RoomList 2021-04-16 09:43:59 +01:00
Germain 4708c1682d Merge pull request #5862 from matrix-org/gsouquet-start-dm 2021-04-15 17:25:15 +01:00
J. Ryan Stinnett 495aff898f Merge pull request #5864 from SimonBrandner/dont-render-msg-option
Render msgOption only if showReadReceipts is enabled
2021-04-15 17:24:13 +01:00
Šimon Brandner 7fe5d2e9e4 Remove double blank line
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-15 17:49:35 +02:00
Germain Souquet b9f80b49ad Set correct initial state for notification on room 2021-04-15 16:33:49 +01:00
Germain Souquet 02debd12f6 Hide RoomSublist when empty rather than unmounting them 2021-04-15 16:11:45 +01:00
Germain Souquet a59873df0b Set rooms event listeners during the correct life cycle hook 2021-04-15 15:51:00 +01:00
Germain Souquet 3a91dff711 Check if address type is mx-user-id 2021-04-15 14:13:37 +01:00
Germain 36e729a626 Merge pull request #5836 from matrix-org/gsouquet-readreceipts-animation 2021-04-15 08:27:28 +01:00
Šimon Brandner 2e31355741 Don't do anything if we didn't press the left button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-15 08:10:03 +02:00
Šimon Brandner 72d8e6ccca Decrease ZOOM_COEFFICIENT
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-15 08:09:14 +02:00
Travis Ralston 1aeb9a5fb2 Appease the linter 2021-04-14 22:04:18 -06:00
Travis Ralston 0677cf866c Cap recording length, and warn at 10s remaining
See diff for details. Note that this introduces an "Uploading" state which is not currently used.

At the moment, if a user hits the maximum time then their recording will be broken. This is expected to be fixed in a future PR.
2021-04-14 21:15:06 -06:00
Travis Ralston 22219e0e80 Adapt <Tooltip> to use an Alignment enum instead 2021-04-14 21:13:09 -06:00
Travis Ralston fedb5b9f63 Fix disabled state of the composer 2021-04-14 20:12:10 -06:00
Travis Ralston 3cafed478c Run voice recording updates through a dedicated store 2021-04-14 20:11:34 -06:00
Travis Ralston b0a04c9f81 Rename VoiceRecorder -> VoiceRecording to better match expected function 2021-04-14 20:00:16 -06:00
Germain Souquet 3b66821258 move DM invite responsiblity to the server side 2021-04-14 19:59:17 +01:00
Šimon Brandner e91f4b7eb2 Add model var
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-14 19:15:19 +02:00
ColonisationCaptain c521be2d16 add missing spaces 2021-04-14 14:28:41 +01:00
Travis Ralston 2fb241cfc2 Merge pull request #5859 from robintown/message-preview-tooltips
Add tooltips to message previews
2021-04-14 06:42:18 -06:00
Jaiwanth f32eee9475 Added slashcommands support to edit message composer
Signed-off-by: Jaiwanth <jaiwanth2011@gmail.com>
2021-04-14 16:43:21 +05:30
Šimon Brandner a7b1c5dfe0 Run getReadAvatars() only when neccessary
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-14 12:25:48 +02:00
Šimon Brandner 43c236e8a5 Pass showReadReceipts from MessagePanel
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-14 12:24:33 +02:00
Šimon Brandner ba0384f381 Render msgOption only if showReadReceipts is enabled
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-14 11:43:42 +02:00
Germain Souquet 67faaeaeff Rename Velociraptor to NodeAnimator after velocity deprecation 2021-04-14 10:18:45 +01:00
Germain Souquet 8b2dc22fe1 fix closing modal when finished 2021-04-14 09:37:06 +01:00
Germain Souquet f89bbea3f1 Ensure room is synced with account before sending invites 2021-04-14 09:03:47 +01:00
Germain Souquet 8d95c012ef refactor _startDm invite flow to use async/await 2021-04-14 08:44:33 +01:00
Travis Ralston ac00c80efb Merge pull request #5521 from SimonBrandner/improve-image-view
Improve image view
2021-04-13 19:01:27 -06:00
Sam A. Horvath-Hunt 14b8b0f8da Render ignored users setting regardless of if there are any
Signed-off-by: Sam A. Horvath-Hunt <hello@samhh.com>
2021-04-13 21:45:09 +01:00
Šimon Brandner 33fd09d777 Make private
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 20:21:03 +02:00
Travis Ralston 7bd5c19bd9 Merge pull request #5819 from matrix-org/travis/reset-passphrase
Add a button to reset personal encryption state during login
2021-04-13 12:20:37 -06:00
Robin Townsend c9c53dbcd7 Add tooltips to message previews
Signed-off-by: Robin Townsend <robin@robin.town>
2021-04-13 12:02:22 -04:00
Michael Telatynski 86b6fc3473 delint 2021-04-13 15:15:11 +01:00
Michael Telatynski 4af7935e35 fix typos 2021-04-13 15:12:32 +01:00
Michael Telatynski 5f59e39958 Apply the same to quoting & inserting of emoji then consolidate 2021-04-13 15:09:37 +01:00
Michael Telatynski ace3a62bac Allow click inserting mentions into the edit composer too 2021-04-13 14:52:26 +01:00
Michael Telatynski ae5b6ef831 Merge pull request #5854 from matrix-org/t3chguy/toml/hooks1
Fix useRoomPowerLevels hook
2021-04-13 11:29:02 +01:00
Michael Telatynski 1572a53af9 Fix useRoomPowerLevels hook 2021-04-13 10:39:09 +01:00
Michael Telatynski c25df51534 Prevent state events being rendered with invalid state keys 2021-04-13 09:40:44 +01:00
Michael Telatynski e79ad34fbd EventTile make use of EventType enum
Removes m.room.encryption from non-state list as it makes no sense
2021-04-13 09:34:37 +01:00
Šimon Brandner f9fde3670d Set target to _blank
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:15:42 +02:00
Šimon Brandner b1091a22a3 Don't render context menu button if mxEvent is missing
The button is useless and doesn't work if we're viewing an avatar

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:11:09 +02:00
Šimon Brandner e1446f01e4 Make ImageView static
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:07:17 +02:00
Šimon Brandner f1c80fcede Call onCloseDialog straigh away
This avoids some delay in the dialog disappearing

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-13 08:04:50 +02:00
Travis Ralston 72a9bda3b7 One less try/catch 2021-04-12 14:57:21 -06:00
Travis Ralston 106de5f7ba Merge branch 'develop' into travis/reset-passphrase 2021-04-12 14:55:31 -06:00
Travis Ralston ee9e1a72cb Merge pull request #5838 from matrix-org/travis/add-acl-pl
Give server ACLs a name in 'roles & permissions' tab
2021-04-12 14:13:30 -06:00
Šimon Brandner 56b15edc58 Properly handle media
This might have resulted in the wrong speaker being used or worse

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-12 16:19:05 +02:00