Commit graph

11616 commits

Author SHA1 Message Date
Travis Ralston
21e33362e5 Add config option to turn on in-room event sending timing metrics
This is intended to be hooked up to an external system. 

Due to the extra events and metadata concerns, this is only available if turned on from the config.

See `sendTimePerformanceMetrics.ts` for event schemas.
2021-09-08 11:28:19 -06:00
Michael Telatynski
22c5902ae4 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18677 2021-09-08 17:21:42 +01:00
Michael Telatynski
2c134b2dfd
Merge pull request #6763 from matrix-org/t3chguy/ts1234
Improve types based on new TS in js-sdk
2021-09-08 17:09:17 +01:00
Michael Telatynski
600375cafe Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18798
 Conflicts:
	src/i18n/strings/en_EN.json
2021-09-08 15:38:13 +01:00
Michael Telatynski
911ca07da4 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088 2021-09-08 15:28:58 +01:00
Michael Telatynski
d4bac4752d Make space members and user info behave more expectedly 2021-09-08 13:34:26 +01:00
Michael Telatynski
83912daced Improve the upgrade for restricted user experience 2021-09-08 13:16:31 +01:00
Michael Telatynski
1da65d459c Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18597 2021-09-08 12:57:37 +01:00
Michael Telatynski
467fb55e8e improve typing & comment 2021-09-08 12:53:13 +01:00
Michael Telatynski
f3abb13dc9 Convert crypto/verification/* to Typescript 2021-09-08 12:34:44 +01:00
Michael Telatynski
8bd1f384b9 Improve tooltips on space quick actions and explore button 2021-09-08 10:16:20 +01:00
Michael Telatynski
92ad81ed76
Merge pull request #6744 from matrix-org/t3chguy/fix/18892 2021-09-08 10:04:07 +01:00
Germain Souquet
bbf66a0011 Make label clickable on narrow mode context menu 2021-09-07 17:10:09 +01:00
Germain Souquet
646ef197fe Fix PR UI defects 2021-09-07 16:02:26 +01:00
Germain Souquet
2d45bfb976 Merge branch 'develop' into revert-6752-revert-6682-gsouquet/compact-composer-18533 2021-09-07 15:39:32 +01:00
Michael Telatynski
9d1e6dc18a
Merge pull request #6756 from matrix-org/t3chguy/ts/123
fix typing of olmVersion in settings
2021-09-07 14:27:54 +01:00
Germain
42f5efaa28
Merge pull request #6750 from matrix-org/gsouquet/migrate-messageactionbar 2021-09-07 14:11:20 +01:00
Michael Telatynski
93af6aafce fix typing of olmVersion in settings 2021-09-07 13:28:51 +01:00
Michael Telatynski
6cbdb58341 add comment 2021-09-07 12:01:18 +01:00
Germain Souquet
9cbf8717e2 Add comments for missing types in MessageActionBar 2021-09-07 09:12:38 +01:00
Travis Ralston
78617c01a8
Merge pull request #6742 from matrix-org/travis/fix-oidc-dialog
Convert widget OIDC exchange dialog to TS (fixing it)
2021-09-06 22:43:27 -06:00
Travis Ralston
615a432eda Add missing type 2021-09-06 22:37:21 -06:00
Travis Ralston
329292eb9b
Revert "Revert "Create narrow mode for Composer"" 2021-09-06 22:11:35 -06:00
Travis Ralston
945181fe39
Revert "Create narrow mode for Composer" 2021-09-06 22:08:50 -06:00
Germain
59de3c96a2
Merge pull request #6682 from matrix-org/gsouquet/compact-composer-18533 2021-09-07 05:07:00 +01:00
Germain Souquet
01d61786f1 Update return type for getThread prop 2021-09-06 16:18:35 +01:00
Germain Souquet
4b96a81bbe Migrate MessageActionBar to TypeScript 2021-09-06 16:15:50 +01:00
Michael Telatynski
68836b9c68 hide no-op m.room.encryption events and better word param changes 2021-09-06 14:59:30 +01:00
Michael Telatynski
a688e5b8b3 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088
 Conflicts:
	src/components/structures/LoggedInView.tsx
	src/stores/SpaceStore.tsx
2021-09-06 11:41:09 +01:00
Michael Telatynski
e252c5553e Prefer matrix.to alias links over room id in spaces & share 2021-09-06 11:27:15 +01:00
Michael Telatynski
898de13ca7 Consolidate roving tab index controls in the space panel buttons with dnd 2021-09-06 08:54:08 +01:00
Germain Souquet
f549c1d52b Code style updates 2021-09-06 08:14:49 +01: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
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
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
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
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
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
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
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
Š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
Š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
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
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