Commit graph

25489 commits

Author SHA1 Message Date
Clemens Zeidler
be00320def Make use of the KeyBindingsManager in the ScrollPanel
Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>
2021-03-29 13:38:15 +13:00
Clemens Zeidler
57cd8afbc4 Split ApplySelection into CompleteOrPrevSelection and CompleteOrNextSelection
When moving through the autocomplete selection list distinguish between
the following cases:
1) When there is no autocomplete window open, only open one and select
the first item when the CompleteOrPrevSelection /
CompleteOrNextSelection actions are emitted (e.g. by pressing SHIFT +
TAB, TAB)
2) Otherwise navigate through the selection list (e.g. SHIFT + TAB, TAB,
UP, DOWN)

- Remove references to raw keyboard events in autocomplete.ts
- Clarify the purpose of startSelection (previously onTab)

Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>
2021-03-29 13:38:03 +13:00
Clemens Zeidler
7d087524a5 Make use of the KeyBindingManager in LeftPanel
LeftPanel was making key action decisions based on the forwarded event.
Use the KeyBindingManager now.

Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>
2021-03-28 20:00:53 +13:00
J. Ryan Stinnett
02548cf743 Tweak security key error handling
This reworks error handling of "use security key" so we stop the overall
operation when cancelling access (instead of just the immediate prompt). In
addition, flowing the error to outer catch block also handles resetting state to
re-display the initial verification choices.

Fixes https://github.com/vector-im/element-web/issues/15584
2021-03-26 18:01:03 +00:00
Michael Telatynski
230919dd66 fix issue with injected styles exploding the theme engine 2021-03-26 15:43:59 +00:00
J. Ryan Stinnett
33e8edb3d5
Merge pull request #5720 from czeidler/key-bindings
Decouple key bindings from event handling
2021-03-26 15:14:38 +00:00
Michael Telatynski
83612dd4ad
Merge pull request #5792 from matrix-org/t3chguy/spaces4.12
Fixing spaces papercuts
2021-03-26 15:01:31 +00:00
Michael Telatynski
a64e0d7611 delint 2021-03-26 14:45:10 +00:00
Hubert Chathi
e23583db40
Merge pull request #5763 from uhoreg/room-history-key-sharing2
Share keys for historical messages when inviting users to encrypted rooms
2021-03-26 10:41:54 -04:00
David Baker
989d69ba16 Get tbe transfer target / transferee the right way around
and also switch to the transfer target's room when we call them
2021-03-26 14:21:58 +00:00
Travis Ralston
e48dbef054
Merge pull request #5804 from matrix-org/travis/uploads-fix
Fix upload bar not populating when starting uploads
2021-03-26 08:08:21 -06:00
Travis Ralston
22b7081475
Merge pull request #5803 from matrix-org/travis/s-sso-login-crash
Fix crash on login when using social login
2021-03-26 08:06:34 -06:00
Michael Telatynski
af18019314 Final spaces tweaks for the demo 2021-03-26 13:46:01 +00:00
Michael Telatynski
9b4af91014 delint 2021-03-26 13:25:06 +00:00
Michael Telatynski
eff0e6fcc3 Add facepile to Space landing page and tweak layout slightly 2021-03-26 13:11:57 +00:00
J. Ryan Stinnett
ce19d07850
Merge pull request #5805 from matrix-org/travis/ts/access-ss-dialog
Convert AccessSecretStorageDialog to TypeScript
2021-03-26 12:37:24 +00:00
J. Ryan Stinnett
5f70c625ab
Merge pull request #5807 from matrix-org/jryans/tweak-cs-text
Tweak cross-signing copy
2021-03-26 12:12:25 +00:00
Michael Telatynski
4341dfb314 Iterate facepiles, fix default avatar alignment and sort explicit avatars first 2021-03-26 11:55:22 +00:00
Michael Telatynski
aff05eff48 Fix suggested room vanishing when you peek it 2021-03-26 11:48:31 +00:00
J. Ryan Stinnett
aed247f44c Move toast detail to a new line 2021-03-26 11:43:41 +00:00
Michael Telatynski
9fb653e522 Fix room space invite button for public spaces 2021-03-26 11:43:01 +00:00
Michael Telatynski
3cee8b2baa fix space creation button busy state 2021-03-26 11:34:41 +00:00
J. Ryan Stinnett
fd59a66523 Tweak cross-signing copy
This makes some Design-approved copy tweaks to the recent cross-signing flow
changes.
2021-03-26 11:13:39 +00:00
Michael Telatynski
a8c1b7abab Hide space room management checkboxes if you don't have permission at the root space 2021-03-26 09:59:02 +00:00
Michael Telatynski
8c6d92cc99 Move space room discovery & management into the space room view 2021-03-26 09:54:15 +00:00
Germain Souquet
c40f97fa25 Add reset option for corrupted event index store 2021-03-26 09:44:52 +00:00
Travis Ralston
264e24fc35
Merge pull request #5791 from thermaq/patch-1
Fix password change popup message
2021-03-26 00:07:50 -06:00
Travis Ralston
60e05d2e8c Revert back to using sdk.getComponent() 2021-03-25 23:41:35 -06:00
Travis Ralston
550fba49f7 Appease the eternal linter 2021-03-25 23:37:23 -06:00
Travis Ralston
92ee1ad3cc Convert AccessSecretStorageDialog to TypeScript
This is to make upcoming changes a bit easier to do.
2021-03-25 23:34:45 -06:00
Travis Ralston
76a05eddfa Fix upload bar not populating when starting uploads
Fixes https://github.com/vector-im/element-web/issues/16713

See diff for more information
2021-03-25 22:29:21 -06:00
Travis Ralston
8bc2356fd0 Fix crash on login when using social login
We weren't passing a matrix client through, and the peg wasn't set at this point. Just need to thread it through to the media endpoints.

Fixes https://github.com/vector-im/element-web/issues/16765
2021-03-25 22:22:43 -06:00
Travis Ralston
318db15e35
Merge pull request #5790 from panoschal/fix/view-source-bug
View Source: make Event ID go below Event ID
2021-03-25 19:11:26 -06:00
Travis Ralston
e31ad0e174 Don't specify sample rates for voice messages
Turns out the browser doesn't actually resample for us, instead opting to explode in sadness.

We'll leave the resampling to the opus encoder.

Fixes https://github.com/vector-im/element-web/issues/16775
2021-03-25 18:24:58 -06:00
Michael Telatynski
09601f1071 Add display name tooltip to the facepile avatars 2021-03-26 00:05:05 +00:00
Travis Ralston
a848febd3d Definitely didn't copy/paste these 2021-03-25 17:45:00 -06:00
Travis Ralston
101679f647 Adjust some settings 2021-03-25 17:30:44 -06:00
Hubert Chathi
db2f573410 Merge branch 'develop' into room-history-key-sharing2 2021-03-25 19:28:50 -04:00
Hubert Chathi
46fd549ace update with new suggested design 2021-03-25 19:27:14 -04:00
Travis Ralston
1419ac6b69 Hook up a clock and implement proper design 2021-03-25 17:12:26 -06:00
Robin Townsend
8a709b3bf9 Merge branch 'develop' into spoiler-command 2021-03-25 18:20:29 -04:00
Robin Townsend
f1a9c5ae93 Fix line numbers when missing trailing newline
_addLineNumbers expected code blocks to contain a trailing newline, but
this is not always the case.

Signed-off-by: Robin Townsend <robin@robin.town>
2021-03-25 17:38:34 -04:00
Michael Telatynski
75bfaa58bb
Merge pull request #5796 from panoschal/fix/save-editor-state-when-reply-is-open
Remember reply when switching rooms
2021-03-25 20:27:57 +00:00
Michael Telatynski
d5ab7801f7
Merge pull request #5797 from matrix-org/t3chguy/redaction-groupere
Fix edge case with redaction grouper messing up continuations
2021-03-25 20:01:32 +00:00
David Baker
82ba546142 WIP attended transfer 2021-03-25 19:56:21 +00:00
Michael Telatynski
5e3a7c48f4 Fix edge case with redaction grouper messing up continuations 2021-03-25 19:37:55 +00:00
Panagiotis
97c7f3753b fix: save editor state when reply is open 2021-03-25 20:58:39 +02:00
Michael Telatynski
1b22cc8f6d delint 2021-03-25 17:41:26 +00:00
Michael Telatynski
a2fe964a31 Fix case where room list did not show DM when user joined space after filtering 2021-03-25 17:37:39 +00:00
Michael Telatynski
5061db259a Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/spaces4.12 2021-03-25 16:37:56 +00:00
Michael Telatynski
ea77ab125e Show a face pile on a space preview 2021-03-25 16:15:34 +00:00
Germain
356e4bc6fc
Merge pull request #5785 from matrix-org/gsouquet-failed-invites 2021-03-25 14:54:21 +00:00
Germain
80013a2efa
Merge pull request #5787 from matrix-org/gsouquet-event-indexing-settings
Improve error reporting when EventIndex fails on a supported environment
2021-03-25 14:53:15 +00:00
Germain Souquet
25a47b463e Add user settings for warn before exit 2021-03-25 14:14:38 +00:00
Michael Telatynski
7316eb052b delint 2021-03-25 14:10:01 +00:00
Michael Telatynski
35ede972db clear filter when switching spaces 2021-03-25 13:29:17 +00:00
Marek Matys
b5bc6251cf fix password change popup message
Fixed bad error message when providing bad old password during password change.

Signed-off-by: Marek Matys <themarcq@gmail.com>
2021-03-25 14:26:00 +01:00
Michael Telatynski
3ce9db162e Tweak some spaces copy 2021-03-25 13:24:16 +00:00
Panagiotis
aa1f468235 fix: room id sticked with event id 2021-03-25 14:36:40 +02:00
Michael Telatynski
5e00818d70 Fix new space invite button in the room intro 2021-03-25 11:38:14 +00:00
Germain Souquet
510f08e9f1 Update failed invites copy 2021-03-25 10:11:52 +00:00
Michael Telatynski
e31fc91a03 Fix space setting public/private join rule switch 2021-03-25 09:41:05 +00:00
Michael Telatynski
760b11f214
Merge pull request #5789 from matrix-org/t3chguy/spaces4.11
Tweak and fix some space features
2021-03-25 09:02:11 +00:00
Travis Ralston
449e028bbd Actually use a waveform instead of the frequency data 2021-03-24 23:31:02 -06:00
Travis Ralston
8ddd14e252 Early concept for rendering the frequency waveform 2021-03-24 22:17:45 -06:00
Michael Telatynski
d3cdd38ff4 delint some more 2021-03-24 20:11:23 +00:00
Michael Telatynski
d705e3020f delint 2021-03-24 20:01:27 +00:00
Michael Telatynski
a61f4c1811 Auto-select space if joined whilst being viewed 2021-03-24 20:01:21 +00:00
Michael Telatynski
62172ba43d i18n 2021-03-24 19:43:42 +00:00
Michael Telatynski
20ea1436fc Update iconography for spaces 2021-03-24 19:43:33 +00:00
Michael Telatynski
8369d42dd0 Hoist activeSpace tracking from RoomList to LeftPanel 2021-03-24 19:43:09 +00:00
Michael Telatynski
ee5d0d6842 Fix alignment bug with space panel on spaces with subspaces in Chrome 2021-03-24 17:05:21 +00:00
Michael Telatynski
6d9496cc22 Consolidate space summary api logic between space room view and directory 2021-03-24 17:02:12 +00:00
Michael Telatynski
d9f3e70b0b Fix joining over federation from Space Home (via servers) 2021-03-24 16:46:30 +00:00
Michael Telatynski
56dbd5f628 Remove unused autoJoin prop and move viaServers logic into RVS
this fixes the issue where autoJoining ignored viaServers
2021-03-24 16:45:53 +00:00
Michael Telatynski
f340b8f7ed Set invite PL requirement for public spaces to 0 explicitly 2021-03-24 16:42:21 +00:00
Travis Ralston
da7d31aeb6
Merge pull request #5686 from robintown/reply-commands
Support replying with a message command
2021-03-24 09:56:56 -06:00
Travis Ralston
8587ec888b
Merge pull request #5769 from matrix-org/travis/voice-messages/exp
Labs feature: Early implementation of voice messages
2021-03-24 09:56:34 -06:00
Weblate
feca8ba072 Merge branch 'origin/develop' into Weblate. 2021-03-24 15:48:41 +00:00
Graeme Power
8e33e0343d Translated using Weblate (Irish)
Currently translated at 23.2% (671 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ga/
2021-03-24 15:48:38 +00:00
waclaw66
1f489662fb Translated using Weblate (Czech)
Currently translated at 100.0% (2889 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-03-24 15:48:36 +00:00
BinotaLIU
af0b4ef410 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2889 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-03-24 15:48:35 +00:00
RainSlide
563403cee8 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2889 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-03-24 15:48:35 +00:00
RainSlide
3ec45eda6a Translated using Weblate (Chinese (Simplified))
Currently translated at 86.4% (2497 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hans/
2021-03-24 15:48:33 +00:00
Nikita Epifanov
3a401a3151 Translated using Weblate (Russian)
Currently translated at 95.6% (2763 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-03-24 15:48:01 +00:00
Marcelo Filho
efa57e5121 Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.1% (2865 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/pt_BR/
2021-03-24 15:47:57 +00:00
Balázs Meskó
d748460716 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2889 of 2889 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/hu/
2021-03-24 15:47:42 +00:00
Michael Telatynski
31dd224cc9 Wire up passing through initialText for room invite dialog helper method 2021-03-24 15:36:20 +00:00
Michael Telatynski
11fbd081f1 Iterate space panel context menu 2021-03-24 15:30:36 +00:00
Michael Telatynski
65a7d0621d Add invite to space button to room intro 2021-03-24 15:30:03 +00:00
Michael Telatynski
ea760e8f29 Fix space room directory behaviour 2021-03-24 15:26:56 +00:00
Michael Telatynski
3df3baea14 Tweak behaviour during space creation 2021-03-24 14:19:10 +00:00
Michael Telatynski
a2a1e37fa3 Add prompt to bottom of room list to invite to space 2021-03-24 14:18:06 +00:00
Michael Telatynski
6e0ab86168 Small usability tweaks to the add existing to space dialog 2021-03-24 14:10:26 +00:00
Michael Telatynski
f7a3805eed Fix styling inconsistency in space room view 2021-03-24 14:02:25 +00:00
Michael Telatynski
d873791369 update comments 2021-03-24 14:01:24 +00:00
Michael Telatynski
4e9a2df3b0 Spaces autofocus and prefill the search box 2021-03-24 14:00:52 +00:00
Michael Telatynski
fb46815b6a Spaces move away from Form Buttons 2021-03-24 13:15:31 +00:00
Germain Souquet
5104d7bed8 Improve error reporting when EventIndex fails on a supported environment 2021-03-24 11:51:39 +00:00
Germain Souquet
d836ca19d8 remove references to disused RIOT.USER_NOT_FOUND error code 2021-03-24 08:58:08 +00:00