Commit graph

15469 commits

Author SHA1 Message Date
Šimon Brandner
3c9ded5a9a
Convert RestoreKeyBackupDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 08:30:23 +02:00
Šimon Brandner
8791b10ca9
Convert FeedbackDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 08:19:25 +02:00
Šimon Brandner
6aefd9318f
Convert BaseDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 08:19:19 +02:00
Travis Ralston
b9001c3e11 Convert widget OIDC exchange dialog to TS (fixing it)
Fixes https://github.com/vector-im/element-web/issues/15631

The `super` call was the primary issue, but a log line in the `onPermissionSelection` was also using the wrong property. Both issues have been fixed as part of the TS conversion in order to make the thing compile, conveniently fixing the bugs.
2021-09-03 22:31:29 -06:00
David Baker
de01dcfd26
Merge pull request #6700 from SimonBrandner/feature/call-timer/18566
Show call length during a call
2021-09-03 17:17:36 +01:00
Michael Telatynski
f7e491f713
Merge pull request #6729 from matrix-org/t3chguy/fix/18762
Fix explore rooms button not working during space creation wizard
2021-09-03 16:18:25 +01:00
Michael Telatynski
2faa2e12c6
Merge pull request #6739 from matrix-org/t3chguy/fix/18775 2021-09-03 16:12:54 +01:00
Michael Telatynski
6a40dfea40 Fix keyboard dnd messing with roving tabindex 2021-09-03 15:10:51 +01:00
Michael Telatynski
40f9302ec9 Space panel fix aria-expanded being set to false on nodes without children 2021-09-03 14:24:02 +01:00
Michael Telatynski
cc40df298b Improve form handling in and around space creation 2021-09-03 13:34:09 +01:00
Germain Souquet
3c36b3c2c0 Fix ProfileSettings when avatarUrl is null 2021-09-03 12:50:42 +01:00
Germain Souquet
997f43cb82 Implement new narrow mode UI 2021-09-03 12:03:19 +01:00
Germain Souquet
475ef66c58 Fix state initialisation for DevicesPanel 2021-09-03 10:25:45 +01:00
Germain Souquet
6d80976eae Merge branch 'develop' into gsouquet/compact-composer-18533 2021-09-03 09:20:38 +01:00
Germain
e16921e1f1
Merge pull request #6619 from matrix-org/gsouquet/ts-components-migration 2021-09-03 08:47:12 +01:00
Dariusz Niemczyk
40cb8e8fc6
Fix unnecessary blurhash rendering 2021-09-02 21:10:21 +02:00
Dariusz Niemczyk
99a0bd935b
Merge pull request #6726 from SimonBrandner/feature/autoplay-split
Split autoplay GIFs and videos into different settings
2021-09-02 18:40:42 +02:00
Šimon Brandner
367049bd08
Improve typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-02 17:52:00 +02:00
Travis Ralston
c749492b9c
Merge pull request #6710 from matrix-org/travis/voice-messages/audio-queue
Add autoplay for voice messages
2021-09-02 08:06:17 -06:00
Šimon Brandner
2f1ee610d9
Use source id directly
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-02 14:27:55 +02:00
Michael Telatynski
aed835554c Fix explore rooms button not working during space creation wizard 2021-09-02 12:30:49 +01:00
Michael Telatynski
daba23d1bf Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18760
 Conflicts:
	src/components/structures/SpaceRoomView.tsx
2021-09-02 12:10:20 +01:00
Germain Souquet
bb87834dc8 Appease linter 2021-09-02 10:06:09 +01:00
Germain
9be9e75c13
Merge pull request #6720 from matrix-org/gsouquet/replies-fix-18717 2021-09-02 08:42:54 +01:00
Germain Souquet
2ce8647120 Prevent unstable property to be sent with all events 2021-09-02 08:36:20 +01:00
Germain Souquet
e416952c90 Merge branch 'develop' into gsouquet/compact-composer-18533 2021-09-02 08:31:29 +01:00
Travis Ralston
5692b74b28
Merge pull request #6703 from nordeck/nic/feat/invite-reason-formatting
Allow to use basic html to format invite messages
2021-09-01 14:46:54 -06:00
Steffen Kolmer
c32a77c3b2 Use helper function to get event content 2021-09-01 22:40:42 +02:00
Travis Ralston
f0cf00433b
Merge pull request #6702 from nordeck/nic/fix/even-tile-preview
Replace fake username in EventTilePreview with a proper loading state
2021-09-01 14:28:12 -06:00
Travis Ralston
b86a0dcc15 Merge branch 'develop' into travis/cross-room 2021-09-01 11:29:20 -06:00
Šimon Brandner
5ed4f3f54f
Move DesktopCapturerSource out of global.d.ts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 18:45:18 +02:00
Šimon Brandner
7ae9f3d1ae
Remove Element-specifc screen-sharing code out of the js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 18:45:13 +02:00
Šimon Brandner
4777da4da7
Don't declare DesktopCapturerSource since we have a definition in the js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 18:38:14 +02:00
Šimon Brandner
d0b95b7d3d
Don't use a callback in setScreensharingEnabled()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 18:38:09 +02:00
Šimon Brandner
9b2c380b64
Split autoplay gifs and videos in to different settings
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 17:28:15 +02:00
Michael Telatynski
f2b7981009 When creating subspaces properly set restricted join rule 2021-09-01 16:12:39 +01:00
Michael Telatynski
f19030bcfa
Merge pull request #6723 from SimonBrandner/fix/fallback-user-image-view 2021-09-01 16:01:24 +01:00
Michael Telatynski
979bc71609 Deduplicate join rule management between rooms and spaces 2021-09-01 15:52:56 +01:00
Šimon Brandner
387239864d
Add fallbackUserId
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 16:50:13 +02:00
Michael Telatynski
030fa17a66 When creating private spaces, make the initial rooms restricted if supported 2021-09-01 12:47:43 +01:00
Germain Souquet
95d1b06abb Make composer able to reply in thread or in room timeline 2021-09-01 12:12:40 +01:00
Germain Souquet
dca268e67a Replace eventIsReply util with replyEventId getter 2021-09-01 10:55:47 +01:00
Germain Souquet
ae16695713 Fix Apache copyright headers 2021-09-01 10:19:25 +01:00
Michael Telatynski
0fa0b60e93
Merge pull request #6717 from matrix-org/t3chguy/fix/18686
Fix EmojiPicker filtering to lower case emojibase data strings
2021-09-01 09:02:16 +01:00
Michael Telatynski
642d8a0ec0
Merge pull request #6716 from matrix-org/t3chguy/fix/18668
Clear currentRoomId when viewing home page, fixing document title
2021-09-01 09:01:52 +01:00
Germain
7621a9a0f3
Merge pull request #6658 from matrix-org/gsouquet/threaded-messaging-2349 2021-09-01 08:47:10 +01:00
Germain Souquet
8b567944ec Merge branch 'develop' into gsouquet/ts-components-migration 2021-09-01 08:40:48 +01:00
Michael Telatynski
e089c34db7 Fix EmojiPicker filtering to lower case emojibase data strings 2021-08-31 17:36:10 +01:00
Michael Telatynski
4ce79148cf Clear currentRoomId when viewing home page, fixing document title 2021-08-31 17:14:50 +01:00
Michael Telatynski
d3ba33172b Only make the initial space rooms suggested by default 2021-08-31 16:42:21 +01:00
Michael Telatynski
4e1e304616
Merge pull request #6698 from SimonBrandner/fix/space-invite-dialog/18745 2021-08-31 16:35:36 +01:00
Travis Ralston
730af94014 Autoplay semantics for voice messages
Fixes https://github.com/vector-im/element-web/issues/18804
Fixes https://github.com/vector-im/element-web/issues/18715
Fixes https://github.com/vector-im/element-web/issues/18714
Fixes https://github.com/vector-im/element-web/issues/17961
2021-08-30 14:29:37 -06:00
Šimon Brandner
9684d7263b
Filter members on load
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-30 10:09:57 +02:00
Šimon Brandner
072fdf1cb8
Use disptacher so that https://github.com/matrix-org/matrix-react-sdk/pull/6691 has effect
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-28 15:06:48 +02:00
Steffen Kolmer
6a550f2f9c Added trailing comma to make eslint happy 2021-08-28 14:04:00 +02:00
Steffen Kolmer
3ef9584f68 Simplify things 2021-08-28 14:00:18 +02:00
Steffen Kolmer
9fdc5659b7 Fixed eslint error and copyright header 2021-08-28 13:56:08 +02:00
Steffen Kolmer
e661c017e3 Moved custom field name to a const 2021-08-28 13:48:33 +02:00
Steffen Kolmer
d76adde1ab Use scss instead of inline styles 2021-08-28 13:41:24 +02:00
Steffen Kolmer
70b4308bab Fix eslint error 2021-08-27 21:59:22 +02:00
Steffen Kolmer
6da11f375d Allow to use basic html formatting in invite reasons 2021-08-27 21:44:34 +02:00
Steffen Kolmer
f65eff103e Switch from inline-spinner to spinner 2021-08-27 20:48:29 +02:00
Steffen Kolmer
a4899ad225 Fixed padding 2021-08-27 20:11:34 +02:00
Steffen Kolmer
9b495eeec3 Optimized style 2021-08-27 20:10:01 +02:00
Steffen Kolmer
21cf3592cf Update props and state interfaces 2021-08-27 19:32:38 +02:00
Steffen Kolmer
6e30673164 Show spinner if user id is missing in event tile preview 2021-08-27 19:23:26 +02:00
Šimon Brandner
c6400c8db3
Show call length during a call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:34:44 +02:00
Šimon Brandner
49defd7b5a
Simplifie code and use formatSeconds()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:21:29 +02:00
Germain Souquet
a1f6708a56 Hide voice recording button in narrow mode 2021-08-27 11:12:25 +01:00
Germain Souquet
bf3c8e5664 Fix imports 2021-08-27 10:38:01 +01:00
Šimon Brandner
816f0f5e90
Avoid stacked dialogs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 09:56:53 +02:00
Šimon Brandner
464d2b47b0
Default to Don't leave any
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 09:18:19 +02:00
Travis Ralston
73dd30f919 Merge branch 'develop' into travis/cross-room 2021-08-26 10:48:10 -06:00
Travis Ralston
22a78cf481
Merge pull request #6685 from matrix-org/travis/fix-widget-remember
Fix client forgetting which capabilities a widget was approved for
2021-08-26 10:47:10 -06:00
Travis Ralston
a1a7de0f37
Merge pull request #6687 from matrix-org/travis/left-panel-widget-expand
Fix left panel widgets not remembering collapsed state
2021-08-26 10:46:51 -06:00
Šimon Brandner
4f1ff134dc
Render guest settings only in public spaces
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-26 17:39:54 +02:00
Šimon Brandner
c353b6daad
Render guest settings only in public rooms
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-26 17:39:48 +02:00
J. Ryan Stinnett
d013ae79b7 Fix changelog link colour back to blue
https://github.com/matrix-org/matrix-react-sdk/pull/5698 changed all dialog
links to green, which is not expected. In general, we use blue links for
information and green links for actions.

This resolves the regression by removing the general change and adjusting the
new links added by the above PR to be green as desired there.

Fixes https://github.com/vector-im/element-web/issues/18726
2021-08-26 13:59:12 +01:00
Germain Souquet
f0a4225bf7 Remove unused renderEventTile method 2021-08-26 08:45:00 +01:00
Germain Souquet
bd1aa01b67 Update copyright and method accessors 2021-08-26 08:19:44 +01:00
Germain Souquet
4e0f52118d Update VoiceRecordComposerTile to only end recording 2021-08-26 08:07:51 +01:00
Germain Souquet
cb8e62c0b2 human linter and copyright fixer 2021-08-26 08:02:36 +01:00
Travis Ralston
4415a7037c Fix left panel widgets not remembering collapsed state
Fixes https://github.com/vector-im/element-web/issues/17803

The `setExpanded` function takes a boolean, not a function.
2021-08-25 23:10:19 -06:00
Travis Ralston
76cc5bfb7d Remember all capabilities given to a widget
Fixes https://github.com/vector-im/element-web/issues/18786

Instead of replacing the remembered set, we now add to it. This should be safe as the user expectation was previously to remember the capabilities, so we can keep appending to that list.

This commit also moves the utility functions closer to the widget driver as they aren't needed in the dialog anymore.
2021-08-25 22:30:57 -06:00
Travis Ralston
289ac34764 Add support for MSC2762's timeline functionality
See https://github.com/matrix-org/matrix-widget-api/pull/41
2021-08-25 18:16:40 -06:00
Germain
7951c8dabc
Merge pull request #6677 from matrix-org/gsouquet/migrate-sticker-picker 2021-08-25 19:19:52 +01:00
Germain Souquet
2d14be9cef Merge branch 'develop' into gsouquet/compact-composer-18533 2021-08-25 18:07:36 +01:00
Germain Souquet
9018973f15 Position sticker picker correctly 2021-08-25 17:59:06 +01:00
Travis Ralston
dc32df1ba5
Merge pull request #6639 from SimonBrandner/feature/voice-activity
Add active speaker indicators
2021-08-25 09:16:37 -06:00
Germain Souquet
31b3b2e2ed Fix Sticker and Emoji picker opening on narrow mode 2021-08-25 15:39:50 +01:00
Germain Souquet
333cb61186 Remove sdk.getComponent 2021-08-25 14:39:28 +01:00
Germain Souquet
6105e046fb Remove sdk.getComponent 2021-08-25 14:38:47 +01:00
Germain Souquet
98feec374e Migrate StickerPicker to TypeScript 2021-08-25 14:33:17 +01:00
Germain Souquet
f712186e64 Migrate StickerPicker to TypeScript 2021-08-25 14:26:21 +01:00
Germain Souquet
3c33e3cc61 Make all buttons part of a button array
Preparation work for narrow layout of the message composer.
The voice record button needed to be extracted from VoiceRecordComposerTile
2021-08-25 11:35:23 +01:00
Germain Souquet
e1e0278190 Update js-sdk imports to target individual files 2021-08-25 10:04:54 +01:00
Germain Souquet
7938961d27 Update js-sdk imports to target individual files 2021-08-25 09:48:29 +01:00
Germain Souquet
450140befd Fix linting issues 2021-08-25 09:34:16 +01:00
Germain Souquet
6945e3f103 Fix ProfileSettings types 2021-08-25 09:05:07 +01:00
Germain Souquet
d205585385 Merge branch 'develop' into gsouquet/ts-components-migration 2021-08-25 09:03:45 +01:00
Germain
da127ecb76
Relative imports from the js-sdk
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 08:56:21 +01:00
Germain Souquet
77a463e679 Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-25 08:53:16 +01:00
Travis Ralston
e49dc8c8e2 Remove imports too 2021-08-24 13:23:48 -06:00
Travis Ralston
4790b4fc17 Remove advanced room logging setting
Fixes https://github.com/vector-im/element-web/issues/14602

This has proven to be less useful month over month, so it's time for it to go. The initial goal for keeping it was to track stability in the ~6 months post-release, which means it should have left around the start of 2021. At the time, Spaces was on the horizon with room list corruption issues though, so it was put on hold. These days, it's rock solid and doesn't appear to be causing issues. As such, the logging can leave in favour of more specific/targeted logging when we need it.

This might even speed things up as it's not hitting the SettingsStore every 0.2 seconds.
2021-08-24 13:17:12 -06:00
Dariusz Niemczyk
a93d5cde09
Simplify rendering to css-only 2021-08-24 14:38:39 +02:00
Dariusz Niemczyk
a5c005756e
Fix resizer on left panel 2021-08-24 13:05:46 +02:00
Dariusz Niemczyk
290ab894aa
Migrate ResizeHandle to typescript 2021-08-24 11:15:41 +02:00
Germain Souquet
54a0a869bf PR feedback 2021-08-24 09:09:28 +01:00
Travis Ralston
52e1884bbd
Merge pull request #6661 from matrix-org/travis/blurhash-opt
Ensure blurhash is treated as optional
2021-08-23 22:56:32 -06:00
Travis Ralston
a0dc5d2987 Honour user-selected background image from settings
Fixes https://github.com/vector-im/element-web/issues/18705

This is provided as an easter egg, but more importantly as an a11y workaround.
2021-08-23 20:39:46 -06:00
Travis Ralston
30c9860274 Ensure blurhash is treated as optional
Fixes https://github.com/vector-im/element-web/issues/18702
2021-08-23 16:48:39 -06:00
Travis Ralston
32343f3382
Merge pull request #5698 from SimonBrandner/public-e2ee-warn
Add a warning on E2EE rooms if you try to make them public
2021-08-23 16:45:47 -06:00
Travis Ralston
15c731d574
Merge pull request #6507 from matrix-org/t3chguy/fix/18089
Allow pagination of the space hierarchy and use new APIs
2021-08-23 15:51:34 -06:00
Dariusz Niemczyk
6205cbbdec
Merge pull request #6659 from matrix-org/palid/fix/backdrop-blur
Optimize background image from avatar on left panel
2021-08-23 20:05:49 +02:00
Dariusz Niemczyk
e54191f6b0
Move background-blur to fully css version 2021-08-23 19:26:57 +02:00
Germain Souquet
edd4d42e7f Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-23 17:31:37 +01:00
Germain Souquet
34da07f1f9 Pass room to ThreadView over roomId 2021-08-23 17:31:23 +01:00
Dariusz Niemczyk
7dfe57833a
Fix GroupFilterPanel not having proper backdrop 2021-08-23 16:57:24 +02:00
Dariusz Niemczyk
92aa953934
Make eslint happy 2021-08-23 16:28:24 +02:00
Dariusz Niemczyk
ca92101c72
Optimize and rewrite backdrop rendering 2021-08-23 16:20:21 +02:00
Dariusz Niemczyk
51b5b0145b
Fix resizer on LoggedInView 2021-08-23 16:18:40 +02:00
Germain Souquet
ef51a46d24 Fix linting 2021-08-23 14:55:14 +01:00
Germain Souquet
9facb0d963 Polish UI 2021-08-23 14:44:44 +01:00
Šimon Brandner
60e7c18e62
Add choose to new issue link
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-23 13:17:40 +02:00
Dariusz Niemczyk
b1a2f16e43
optimize 2021-08-23 13:03:09 +02:00
David Baker
e946e39194
Merge pull request #6629 from SimonBrandner/feature/voice-messages-replies
Allow playback of replied-to voice message
2021-08-23 11:29:41 +01:00
Germain Souquet
393bd4871f Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-23 10:15:35 +01:00
David Baker
5344b86de4
Merge pull request #6633 from matrix-org/dbkr/fix_cross_signing_setup_settings
Fix cross signing setup from settings screen
2021-08-23 09:41:24 +01:00
Germain
30a08ea1c3
Merge pull request #6646 from SimonBrandner/fix/hide-encryption/18646 2021-08-23 09:19:54 +01:00
Dariusz Niemczyk
0daa6ab845
Merge pull request #6648 from matrix-org/palid/fix/modern-layout
Fix modern layout
2021-08-23 10:18:49 +02:00
Travis Ralston
397a0f7849
Merge pull request #6651 from SimonBrandner/feature/watch-rl-background
Watch `RoomList.backgroundImage`
2021-08-22 23:49:32 -06:00
Dariusz Niemczyk
99a935534c
test 2021-08-22 13:08:33 +02:00
Dariusz Niemczyk
0ddb71a4fe
Optimize backdrop blur 2021-08-22 13:05:23 +02:00
Šimon Brandner
61188561d2
Merge remote-tracking branch 'upstream/develop' into feature/voice-activity 2021-08-22 10:01:17 +02:00
Dariusz Niemczyk
86b6c6a836
Fix room views not having proper container 2021-08-20 16:32:56 +02:00
Šimon Brandner
74d79ff205
Watch RoomList.backgroundImage
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-20 15:55:52 +02:00
Germain Souquet
30a762944a Implement a very low fidelity UI for threads 2021-08-20 12:11:04 +01:00
Dariusz Niemczyk
7d1e71fea4
Merge pull request #6641 from matrix-org/palid/fix/chat-flex-values
Fix flex values after blur changes
2021-08-20 13:10:40 +02:00
Dariusz Niemczyk
fd3787ce82
Fix modern layout 2021-08-20 13:03:08 +02:00
David Baker
ea38990d94
Merge pull request #6647 from SimonBrandner/fix/call-tile-bubbles/18648
Fix call tiles on the bubble layout
2021-08-20 09:24:42 +01:00
Šimon Brandner
952fdd04c1
Fix call tiles on the bubble layout
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-20 10:04:40 +02:00
Šimon Brandner
c0d98ba658
Show "Enable encryption in settings" only when the user can do that
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-20 08:37:30 +02:00
Travis Ralston
3bcb57d070
Merge pull request #6640 from SimonBrandner/feature/persist-search-member-list/18613
Remember last `MemberList` search query per-room
2021-08-19 14:11:37 -06:00
Dariusz Niemczyk
3f1c35d71c
Fix backdrop panel empty image 2021-08-19 19:26:19 +02:00
Dariusz Niemczyk
f5a284a1f0
Fix flex values after blur changes 2021-08-19 16:10:09 +02:00
Germain Souquet
d5356361a9 Hide thread UI behind experimentalThreadSupport flag 2021-08-19 14:56:51 +01:00
Šimon Brandner
c17f3d896f
Persist last MemberList search query per-room
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-19 15:48:14 +02:00
Šimon Brandner
a08310e454
Emit Speaking events from CallFeed
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-19 14:48:15 +02:00
Germain Souquet
ac0412d238 rename feature flag for Threads 2021-08-19 12:25:29 +01:00
Germain Souquet
ffc7326b0c Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-19 10:44:32 +01:00