Michael Telatynski
86a1327259
don't show "This alias is available to use" if an alias is not provided
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-29 00:31:56 +00:00
Travis Ralston
7cfaa63aac
Fix the last char of people's names being cut off in the invite dialog
...
If someone named "TravisR" was being searched for with just "Travis", the last R in their name would be cut off because of the highlighting. Entering "TravisR" would restore it. Likewise, searching for "vis" would have done the same thing.
2020-02-28 14:08:43 -07:00
Travis Ralston
6269780f4b
Suggest the server's results as lower quality
...
This is a quick win for fixing https://github.com/vector-im/riot-web/issues/12488 but might not be a long-term solution. Idea is to see how this feels and go from there, which may mean scoring the results again to filter them in or altering the debounce timers.
2020-02-28 13:57:56 -07:00
Travis Ralston
8520310e6e
Proof of concept for custom theme adding
...
For https://github.com/vector-im/riot-web/issues/12517
2020-02-28 11:42:16 -07:00
Travis Ralston
a44d96bb77
Merge pull request #4144 from matrix-org/travis/error-handler-invite
...
Ensure errors when creating a DM are raised to the user
2020-02-28 11:04:27 -07:00
Travis Ralston
60e26db729
Merge pull request #3829 from Cadair/login_group
...
Add a Login button to startAnyRegistrationFlow
2020-02-28 10:35:49 -07:00
Michael Telatynski
70bc405b6f
Merge pull request #4145 from MarcoZehe/ImproveUserListA11y
...
Hide user avatars from screen readers in group and room user lists.
2020-02-28 12:04:55 +00:00
Michael Telatynski
48dc671bcb
Merge pull request #4085 from matrix-org/t3chguy/alpha_room_list
...
Room List sorting algorithms
2020-02-28 12:04:10 +00:00
Marco Zehe
f4937a81cf
Fix formatting
...
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-28 12:56:53 +01:00
Marco Zehe
41e3e266e4
Hide user avatars from screen readers in group and room user lists.
...
Like in pill components, these only duplicate information for screen readers, so hide them.
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-28 12:40:43 +01:00
Travis Ralston
46a6af0ad1
Ensure errors when creating a DM are raised to the user
...
Fixes https://github.com/vector-im/riot-web/issues/12186
Note: this will still result in an empty room being created, but that's a Synapse issue and not something we can solve.
2020-02-27 17:10:31 -07:00
Ben Parsons
c99db2c385
sanitise quotes
2020-02-27 18:54:11 +00:00
J. Ryan Stinnett
b6a21509d5
Ignore cursor jumping shortcuts with shift
...
This tweaks the new cursor jumping shortcuts in the composer so that they only
activate without shift. When shift _is_ pressed, you want to extend the
selection instead of just moving.
Fixes https://github.com/vector-im/riot-web/issues/12549
2020-02-27 16:09:52 +00:00
J. Ryan Stinnett
5325b5677f
Merge pull request #4142 from matrix-org/jryans/shift-composer-shortcut
...
Ignore cursor jumping shortcuts with shift
2020-02-27 16:09:20 +00:00
Bruno Windels
f45dd311f9
Merge pull request #4138 from matrix-org/bwindels/moreverifuifeedback
...
add local echo for clicking 'start verification' button
2020-02-27 15:56:19 +00:00
J. Ryan Stinnett
95bb6f0d76
Ignore cursor jumping shortcuts with shift
...
This tweaks the new cursor jumping shortcuts in the composer so that they only
activate without shift. When shift _is_ pressed, you want to extend the
selection instead of just moving.
Fixes https://github.com/vector-im/riot-web/issues/12549
2020-02-27 11:39:11 +00:00
Bruno Windels
400cb33247
put state declaration on top
2020-02-27 12:35:34 +01:00
Michael Telatynski
b3fbcd4521
Fix formatting buttons not marking the composer as modified
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-27 11:01:22 +00:00
Michael Telatynski
6a66c4162b
Space preference sections out more significantly to make the section headers obvious
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 23:16:27 +00:00
Michael Telatynski
ed650d5b90
Move Room List preferences section to be first
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 23:07:43 +00:00
Michael Telatynski
3ad8b6e9cc
Use RoomList.orderAlphabetically as the inverse of RoomList.orderByRecents for migration
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 23:05:08 +00:00
Michael Telatynski
a1908a208e
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/alpha_room_list
...
Conflicts:
src/components/views/rooms/RoomList.js
src/stores/RoomListStore.js
2020-02-26 23:02:06 +00:00
Stuart Mumford
c96dd9715a
Fix no cancel button just for Registration
2020-02-26 21:56:01 +00:00
Travis Ralston
3abd3137c7
Use the right function for creating binary verification QR codes
...
`writeInt8` happened to work because the strings we're writing happen to fit within a single byte so the LSB doesn't matter. We actually want a 16 bit (2 byte) number in big-endian format.
2020-02-26 13:37:34 -07:00
Travis Ralston
347f56b983
Ensure verification QR codes use the right buffer size
...
The string length buffer only needs 2 bytes, not 4.
2020-02-26 13:21:11 -07:00
Travis Ralston
49ec79515c
Merge pull request #4128 from matrix-org/travis/dont-prefix-length
...
Don't prefix QR codes with the length of the static marker string
2020-02-26 12:07:24 -07:00
Bruno Windels
50b64d8c55
add local echo for clicking 'start verification' button
2020-02-26 18:30:20 +01:00
Michael Telatynski
d5177ddc04
Merge pull request #4133 from matrix-org/t3chguy/pinned
...
Fix message context menu breaking on invalid m.room.pinned_events event
2020-02-26 11:36:46 +00:00
Michael Telatynski
9a1236a016
Fix message context menu breaking on invalid m.room.pinned_events event
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 10:40:33 +00:00
Travis Ralston
30a0d88074
Don't print errors when the tab is used with no autocomplete present
...
Fixes https://github.com/vector-im/riot-web/issues/12461
Not a release blocker because the error is caught, and is at the end of the function. Just log spam.
2020-02-25 13:13:41 -07:00
Ben Parsons
566db6c406
link to matrix.org/security-disclosure-policy in help screen
2020-02-25 17:29:59 +00:00
J. Ryan Stinnett
1958dae519
Merge pull request #4124 from matrix-org/jryans/show-bootstrap-more
...
Show both bootstrap and reset cross-signing where appropriate
2020-02-25 17:29:31 +00:00
Bruno Windels
17d55abed7
Merge pull request #4126 from matrix-org/bwindels/verifuifeedbackonlag
...
Improve UI feedback while waiting for network
2020-02-25 17:08:06 +00:00
Travis Ralston
f6fdddb9ba
Don't prefix QR codes with the length of the static marker string
...
Fixes https://github.com/vector-im/riot-web/issues/12489
2020-02-25 09:54:48 -07:00
Travis Ralston
6dcbed0320
Merge pull request #4123 from matrix-org/travis/invite-populate
...
Ensure DMs tagged outside of account data work in the invite dialog
2020-02-25 09:45:52 -07:00
Travis Ralston
7091e7a4af
Use the right keyword
2020-02-25 09:19:37 -07:00
Zoe
1d8756b95d
text improvements
2020-02-25 15:40:06 +00:00
Bruno Windels
682781aa48
better word smithing
2020-02-25 13:27:59 +01:00
Bruno Windels
bd584ab236
from verification tile, also don't wait to show right panel
2020-02-25 13:27:19 +01:00
Bruno Windels
b0c87b0eaf
UI spinner when clicking "they don't match"
2020-02-25 13:18:27 +01:00
Bruno Windels
2127edb7b8
show "Waiting for network" in EncryptionInfo after accepting in toast
2020-02-25 13:13:51 +01:00
Bruno Windels
569d5b6156
show right panel before waiting for .ready event to send
2020-02-25 13:13:31 +01:00
Zoe
9ed83b8648
Show a warning dialog when user indicates a new session wasn't them
2020-02-25 11:37:01 +00:00
J. Ryan Stinnett
12e8ad8f6b
Show both bootstrap and reset cross-signing where appropriate
...
For cases like having keys on your account but not on the current device, this
ensures we offer both bootstrap and reset as possible paths.
2020-02-25 11:23:51 +00:00
Travis Ralston
866ed68615
Ensure DMs tagged outside of account data work in the invite dialog
...
Fixes https://github.com/vector-im/riot-web/issues/12418
Includes a refactor so we don't need to litter the code with the same magic string for DM tags.
2020-02-24 19:43:49 -07:00
Aaron Raimist
550ee216c6
Apply suggestions from code review
...
Co-Authored-By: David Baker <dbkr@users.noreply.github.com>
2020-02-24 18:22:07 -06:00
Zoe
866fdd6185
Merge pull request #4120 from matrix-org/foldleft/cancel-events
...
Show cancel events as hidden events if we wouldn't usually render them
2020-02-24 17:02:11 +00:00
Travis Ralston
2cb699ae8b
Merge pull request #4033 from TestardR/feature/padLockInviteOnly
...
Collapsed room list has unaligned room tiles #4030 version 2
2020-02-24 09:59:26 -07:00
J. Ryan Stinnett
64dc776e43
Merge pull request #4118 from matrix-org/jryans/hs-xsign-check
...
Check for cross-signing homeserver support
2020-02-24 16:58:57 +00:00
Zoe
d01c58bd41
added comment
2020-02-24 16:54:10 +00:00
Zoe
91b85cd060
show cancel events as hidden events if we wouldn't usually render them
2020-02-24 16:51:06 +00:00
Travis Ralston
d2e7cc7f19
Merge branch 'develop' into feature/padLockInviteOnly
2020-02-24 09:50:06 -07:00
Bruno Windels
818156663a
don't leak if show_sas never comes (or already came)
2020-02-24 17:00:55 +01:00
J. Ryan Stinnett
a71a234622
Check for cross-signing homeserver support
...
This checks the homeserver to ensure it supports cross-signing (via the versions
feature flag) before attempting bootstrapping or offering user verification.
Fixes https://github.com/vector-im/riot-web/issues/11863
2020-02-24 15:04:34 +00:00
Zoe
381cbbabb0
Merge pull request #4106 from matrix-org/foldleft/verification-devtool
...
Add verification request viewer in devtools
2020-02-24 14:34:45 +00:00
Zoe
f3ac3554a9
include observeOnly
2020-02-24 14:17:34 +00:00
Zoe
0d3d837871
useEventEmitter hook instead of manually using code
2020-02-24 13:44:04 +00:00
Bruno Windels
2b61988d30
Merge pull request #4117 from matrix-org/bwindels/fixinfinispinneronencryptioninfo
...
update phase when request prop changes
2020-02-24 13:39:51 +00:00
Michael Telatynski
72e5313a5a
Merge pull request #4113 from matrix-org/t3chguy/fix_downloading
...
Handle file downloading locally in electron rather than sending to browser
2020-02-24 13:37:16 +00:00
Bruno Windels
2350d102e3
update phase when request prop changes
2020-02-24 13:39:20 +01:00
Bruno Windels
dc85346e5c
Merge pull request #4102 from matrix-org/bwindels/aliasautocomplete
...
Use alt_aliases for pills and autocomplete
2020-02-24 12:18:07 +00:00
J. Ryan Stinnett
c0c22ba7f9
Merge pull request #4108 from matrix-org/jryans/a11y-editor-keyboard
...
Add shortcuts for beginning / end of composer
2020-02-24 12:02:03 +00:00
Zoe
af514385b2
Avoid shadowing window.setTimeout
2020-02-24 11:53:12 +00:00
Zoe
71bdc5987b
added clarifying comment
2020-02-24 11:33:49 +00:00
Zoe
0663ab3b87
lint, and detect new requests
2020-02-24 10:17:33 +00:00
Michael Telatynski
0bcdf062a3
reset opener when using window.open
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 22:22:12 +00:00
Michael Telatynski
b2c1242207
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 22:19:18 +00:00
Michael Telatynski
d783ce86c8
Use noreferrer in addition to noopener for edge case browsers
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 22:14:29 +00:00
Michael Telatynski
d89b8b5148
Fix downloading files in electron not being sent into browser
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 22:10:36 +00:00
Michael Telatynski
3308152439
Fix a couple of React warnings/errors
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-23 14:10:41 +00:00
Matthew Hodgson
7696f704b2
Fix two big DOM leaks which were locking Chrome solid.
...
pillifyLinks leaked Pill components, which if they contained a BaseAvatar
would leak a whole DOM tree retained by the BaseAvatar's onClientSync
event listener. This tracks the Pill containers so they can be unmounted
via unmountPills.
BasicMessageComposer set an event listener on selectionchange in onFocus
which leaked if onBlur wasn't called. This removes it in unmount.
We've also seen Velociraptor retaining full DOM trees from RRs, which
this doesn't address as the leak is probably within Velocity, and the plan
is to replace it with CSS animations.
Should fix https://github.com/vector-im/riot-web/issues/12417
2020-02-22 23:51:30 +00:00
Aaron Raimist
42c6818f95
Remove debugger;
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-02-21 22:00:00 -06:00
Aaron Raimist
d3367834d0
Fix redo keyboard shortcut on macOS
...
I added the correct macOS shortcut for redo which is Cmd+Shift+Z. I had to reorder the if statement so redo is checked first, otherwise it would detect the undo first and never check that I was actually trying to redo.
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-02-21 21:56:58 -06:00
Travis Ralston
c906b9eccf
Filter out empty strings when pasting IDs into the invite dialog
...
Fixes https://github.com/vector-im/riot-web/issues/12459
2020-02-21 13:26:37 -07:00
J. Ryan Stinnett
dc6a4854ce
Add shortcuts for beginning / end of composer
...
This adds Ctrl/Command+Home/End shortcuts for jumping to the start and end of
the composer contents.
Fixes https://github.com/vector-im/riot-web/issues/12438
2020-02-21 18:50:44 +00:00
Zoe
72789897a0
Quick n dirty verificatio request viewer in devtools
2020-02-21 17:15:53 +00:00
Travis Ralston
f74b283287
Merge pull request #4091 from matrix-org/travis/qr-binary
...
Use binary packing for verification QR codes
2020-02-21 10:05:12 -07:00
Travis Ralston
4de2fdc5c3
Merge pull request #4099 from matrix-org/travis/invite-fixes
...
Fix several small bugs with the invite/DM dialog
2020-02-21 09:24:53 -07:00
Bruno Windels
07d24038a3
fix lint
2020-02-21 14:11:30 +01:00
Bruno Windels
fada013f9e
this isn't doing anything because we don't have a room when the alias is not moderated
2020-02-21 14:06:57 +01:00
Bruno Windels
3c3839f863
show a pill as a moderated alias (canonical or alt) if available
...
otherwise, display as the label in the link
2020-02-21 13:02:41 +01:00
Bruno Windels
4219d2fcf6
style a room pill even if we don't find the room
2020-02-21 13:02:41 +01:00
Bruno Windels
f6313b51e6
also look in alt_aliases to match a pill to a room
2020-02-21 13:02:41 +01:00
Michael Telatynski
e6d8c4a576
Merge branches 'develop' and 't3chguy/alpha_room_list' of github.com:matrix-org/matrix-react-sdk into t3chguy/alpha_room_list
2020-02-21 11:18:45 +00:00
Zoe
7d319bab7f
fix ssss overwrite
2020-02-21 10:18:47 +00:00
Travis Ralston
bcb1d73c3c
Appease the linter
2020-02-20 23:21:35 -07:00
Travis Ralston
8ba274a382
Allow creating a room with only yourself in it
...
Fixes https://github.com/vector-im/riot-web/issues/12092
2020-02-20 23:16:21 -07:00
Travis Ralston
f491e4222a
Convert the user's last filter into a selection if possible
...
Fixes https://github.com/vector-im/riot-web/issues/12440
2020-02-20 23:10:43 -07:00
Travis Ralston
62aaa0db9a
Always insert suggestions for user IDs
...
Fixes https://github.com/vector-im/riot-web/issues/12419
2020-02-20 23:02:10 -07:00
Travis Ralston
00cc253594
Always suggest a pill for MXID-looking users
...
Part of https://github.com/vector-im/riot-web/issues/12440
2020-02-20 23:02:10 -07:00
Bruno Windels
744826db48
Merge pull request #4096 from matrix-org/bwindels/canonicalpill
...
Accept canonical alias for pills
2020-02-20 17:07:54 +00:00
Bruno Windels
d324dfaceb
Merge pull request #4094 from matrix-org/bwindels/dontsaywecanscan
...
Fix: don't advertise ability to scan a QR code for verification
2020-02-20 16:44:27 +00:00
Bruno Windels
fee9c7d21f
accept canonical alias for pills
2020-02-20 17:43:33 +01:00
Damir Jelić
81e61d6f9d
EventIndexPanel: Move the comments around for the getStats calls.
2020-02-20 14:46:10 +01:00
Damir Jelić
1897d67818
EventIndexPanel: Catch getStats failures.
...
Getting the stats can fail when used with Seshat. Tantivy periodically
garbage collects its files. Smaller files are merged and the old ones
are removed.
If garbage collection occurs while we try to get the stats, which go
trough the files and figure out their sizes, we can end up trying to
figure out the file size of a removed file. The getStats call will fail
in this case but we can ignore the failure since we will likely get a
nice result next time we try.
2020-02-20 14:46:10 +01:00
Bruno Windels
fb28bbbaa6
dont say we can scan when we dont
2020-02-20 12:06:34 +01:00
Bruno Windels
913caf67a9
Merge pull request #4081 from matrix-org/bwindels/cancelondialogclose
...
Cancel verification request on dialog close
2020-02-20 11:00:00 +00:00
Michael Telatynski
16bbea0b59
Fix various leaks due to method re-binding
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-20 02:35:30 +00:00
Travis Ralston
760a472be5
Appease the linter
2020-02-19 17:05:32 -07:00
Travis Ralston
3b6a201d4e
Add comments
2020-02-19 17:03:50 -07:00
Travis Ralston
45963adeb4
Use binary packing for verification QR codes
...
Fixes https://github.com/vector-im/riot-web/issues/12257
Fixes https://github.com/vector-im/riot-web/issues/12375
We do not remove the existing QR code library in this commit because it is still used elsewhere (like the share dialog).
This should be as accurate as possible to what [MSC1543](https://github.com/matrix-org/matrix-doc/pull/1544 ) asks for.
2020-02-19 17:02:14 -07:00
Michael Telatynski
12eb408c58
Merge pull request #4073 from matrix-org/t3chguy/a11y_share_msg
...
Fix share message context menu option keyboard a11y
2020-02-19 17:41:28 +00:00
Michael Telatynski
a6edc34e97
Iterate things
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-19 14:52:00 +00:00
Bruno Windels
a5b9682572
show spinner while loading local aliases
2020-02-19 15:15:05 +01:00
Michael Telatynski
4278d44059
Merge branches 'develop' and 't3chguy/alpha_room_list' of github.com:matrix-org/matrix-react-sdk into t3chguy/alpha_room_list
2020-02-19 13:30:47 +00:00
Michael Telatynski
b1b17a313e
Merge pull request #4046 from matrix-org/t3chguy/usercontent
...
Get rid of dependence on usercontent.riot.im
2020-02-19 12:53:01 +00:00
Bruno Windels
30ae6dbdbb
also detect aliases using new /aliases endpoint for room access settings
2020-02-19 11:18:56 +01:00
Bruno Windels
4c9c57bfe5
check server feature flag
...
if not available, revert to old behavior
2020-02-19 10:06:52 +01:00
Bruno Windels
e6ca581f10
get local aliases from /aliases in room settings
2020-02-18 16:27:45 +01:00
Michael Telatynski
600cb64d00
don't nest <a> inside <AccessibleButton>
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-18 15:04:57 +00:00
Michael Telatynski
932c9b3106
First attempt alpha room list sorting
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-18 14:55:12 +00:00
Zoe
27f65c17b5
Merge pull request #4080 from matrix-org/foldleft/12187-e2e-dm
...
Start verification sessions in an E2E DM where possible
2020-02-18 13:53:56 +00:00
Zoe
0e0aadd3f2
fixed inexplicible scope bug
2020-02-18 11:30:10 +00:00
Zoe
164b355ffe
abstract out the check for available target devices
2020-02-18 11:25:19 +00:00
Bruno Windels
1b38827d92
Merge pull request #4077 from matrix-org/bwindels/filterverifmethods
...
Only show supported verification methods
2020-02-18 10:16:01 +00:00
Bruno Windels
46e63fd571
cancel on dialog close
2020-02-18 11:14:16 +01:00
Bruno Windels
05403eb98c
Merge pull request #4072 from matrix-org/bwindels/localecho2
...
Use local echo in VerificationRequest for accepting/declining a verification request
2020-02-18 09:55:27 +00:00
Bruno Windels
93674ec781
Merge pull request #4070 from matrix-org/bwindels/oneverifrequest
...
Find existing requests when starting a new verification request
2020-02-14 15:33:27 +00:00
Bruno Windels
30718e7fde
unsent could potentially also happen here
...
although should not happen in practice
2020-02-14 13:48:38 +01:00
Bruno Windels
a6c072ab42
only show supported verification methods
...
also an error message if none match
2020-02-14 13:48:18 +01:00
Michael Telatynski
8087f18bf7
Remove unused props
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-14 10:32:42 +00:00
Marco Zehe
b83bc7db68
Always speak the full text of the typing indicator when it updates.
...
By default, aria-live regions only speak partial updates. However in the case of the typing indicator, if it goes from one person typing to several, and back, the updated text would only be spoken in fragments by screen readers. Adding the aria-atomic attribute with a value of true makes screen readers always speak the full update for this tile, making the experience much nicer.
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-14 11:12:41 +01:00
Michael Telatynski
42b63fbc81
Fix share message context menu option keyboard a11y
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-14 09:36:10 +00:00
Michael Telatynski
256659e6f8
Merge pull request #4071 from MarcoZehe/MoveSidebarTabs
...
Move the sidebar to below the sidebar tab buttons for screen readers.
2020-02-13 18:31:25 +00:00
Marco Zehe
7840aa74fd
Fix ID to be namespaced
...
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-13 19:18:21 +01:00
Michael Telatynski
627a4d4ea4
Update comments and such
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-13 16:53:45 +00:00
Michael Telatynski
12aae12218
Merge branches 'develop' and 't3chguy/usercontent' of github.com:matrix-org/matrix-react-sdk into t3chguy/usercontent
2020-02-13 16:36:05 +00:00
Bruno Windels
3292991491
provide specific label for when accepting/declining is in progress
...
also distuingish between cancelling and declining
2020-02-13 17:29:38 +01:00
Bruno Windels
3eb07465f7
use canAccept in tile, which takes local echo into account
2020-02-13 17:29:13 +01:00
Bruno Windels
3ec0301f9d
use canAccept in toast, which takes local echo into account
2020-02-13 17:28:10 +01:00
Marco Zehe
6319407cab
Move the sidebar to below the sidebar tab buttons for screen readers.
...
Do this by aria-owning the sidebar into the header wrapper. aria-owned subtrees get added as the last child after all other child elements that are in the DOM. This way, if a sidebar tab is activated, the aside element now is inserted in a position following the tabs, before the main messages list. The association for screen readers is therefore more logical. This has no bearing on the DOM order or CSS properties. aria-owns simply rearranges the accessibility tree.
Fixes vector-im/riot-web/issues/11319
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-13 16:02:58 +01:00
Zoe
37f1104f61
lint
2020-02-13 14:15:08 +00:00
Zoe
c3af1a2f95
don't be too magic about hiding tooltips
2020-02-13 13:47:39 +00:00
Bruno Windels
4b7cc12daa
check if there is already a request in progress when clicking verify
...
and go straight there instead of first showing EncryptionInfo panel
2020-02-13 14:34:44 +01:00
Bruno Windels
68197a1d18
also update phase after starting request
...
as it might now be a request that is already ongoing
2020-02-13 14:33:35 +01:00
Bruno Windels
d49fbf25f7
check if verifier sasEvent was already set on mount
...
this allow the verification panel to fully recover
the UI state from an on-going verification request
2020-02-13 14:32:33 +01:00
Zoe
9649f2a2da
don't show tooltips on big icons
...
fixes: https://github.com/vector-im/riot-web/issues/12191
2020-02-13 10:11:57 +00:00
Bruno Windels
ec708b5e9b
Merge pull request #4058 from matrix-org/bwindels/dontpassmethodstoverify
...
remove methods arg to requestVerification(DM)
2020-02-13 08:51:36 +00:00
Travis Ralston
d172e1bf85
Revert "Merge pull request #4060 from matrix-org/travis/better-invite"
...
This reverts commit 48860f0a10
.
2020-02-12 10:44:27 -07:00
Travis Ralston
48860f0a10
Merge pull request #4060 from matrix-org/travis/better-invite
...
Score user ID searches higher when they match nearly exactly
2020-02-12 10:03:33 -07:00
Zoe
e1608509d0
Disable 'start' button after clicking in VerificationPanel
2020-02-12 13:53:16 +00:00
Zoe
466d4a3e51
Merge pull request #4057 from matrix-org/foldleft/12221-secret-storage
...
Fixed bug where key reset didn't always return the right key
2020-02-12 11:18:32 +00:00
Marco Zehe
8004a35179
Update to use proper quotes and fix code styling. And fix test.
...
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-12 10:54:08 +01:00
Marco Zehe
6fe4eb1fc3
Don't render avatars in pills for screen readers.
...
These don't provide any additional information, but add extraneous noise. The link text and title already provide all information. Therefore, mark the avatar inside pills (the mention links inside messages) as hidden. Note that due to the images being part of something focusable, role "presentation" does not work here.
Signed-off-by: Marco Zehe <marcozehe@mailbox.org>
2020-02-12 09:36:59 +01:00
Travis Ralston
9acf70c693
Score user ID searches higher when they match nearly exactly
2020-02-12 01:55:20 +00:00
Bruno Windels
33f3a61b94
remove unused imports
2020-02-11 18:23:05 +01:00
Bruno Windels
a1844e44f2
remove methods arg to requestVerification(DM)
...
as it's easy to have this argument be out of sync from all
the places this is called from the js-sdk. There is also little point,
as you can already specify the methods a consumer of the js-sdk
wants to provide through the verificationMethods option when creating
the client object.
2020-02-11 18:22:48 +01:00
Bruno Windels
91c9c00712
Merge pull request #4044 from matrix-org/bwindels/riotx-qr-compat
...
Make QR self-verification compatible with RiotX
2020-02-11 17:20:40 +00:00
Zoe
5382a52519
Fixed bug where key reset didn't always return the right key
2020-02-11 15:57:14 +00:00
Bruno Windels
7a026eb15d
Merge pull request #4043 from matrix-org/bwindels/showunverifieddevicedialogonclick
...
Verify single device from other user in right panel & Not Trusted dialog
2020-02-11 15:35:24 +00:00
Bruno Windels
1d39aa6a81
Merge pull request #4049 from matrix-org/bwindels/verifybuttonsdisable
...
Disable verification buttons after clicking to avoid double submission
2020-02-11 15:35:00 +00:00
Bruno Windels
703f52be33
Merge pull request #4048 from matrix-org/bwindels/toasttuning
...
Verification toast fixes
2020-02-11 15:34:26 +00:00
Bruno Windels
5267dbf44a
Update src/components/views/right_panel/UserInfo.js
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-02-11 15:21:01 +00:00
Bruno Windels
a84e90df51
Merge pull request #4042 from matrix-org/bwindels/encryptionpaneleverywhere
...
Use EncryptionPanel everywhere, part I
2020-02-11 15:16:47 +00:00
Zoe
e54d34090a
Merge pull request #4056 from matrix-org/foldleft/12221-temp-remove
...
quick fix for cross-signing reset bug
2020-02-11 13:44:02 +00:00
Zoe
8c36792840
Merge pull request #4055 from matrix-org/foldleft/12288-correct-feedback-order
...
Fix error message rendering for key entry
2020-02-11 13:19:18 +00:00
Zoe
627ced3838
quick fix for cross-signing reset bug
2020-02-11 13:17:18 +00:00
Zoe
6b6d612041
Fix error message rendering for key entry
...
Relates to https://github.com/vector-im/riot-web/issues/12288
2020-02-11 12:02:12 +00:00
Michael Telatynski
67aa241ee5
Merge pull request #4052 from matrix-org/t3chguy/recaptcha_protocol
...
Fix recaptcha blocked by CSP for non-SSL origins
2020-02-11 10:18:44 +00:00
Michael Telatynski
f01b4fe241
Allow custom hs url submission on enter
2020-02-10 20:47:27 +00:00
Michael Telatynski
86306e3da3
Recaptcha should always be loaded over https
2020-02-10 20:41:16 +00:00
Michael Telatynski
b9db0ad013
Merge pull request #4047 from matrix-org/t3chguy/hide_typing_notifs
...
Add setting to allow hiding of typing indicator
2020-02-10 18:01:52 +00:00
Zoe
d47d13256f
Merge pull request #4041 from matrix-org/foldleft/12221-reset-cross-signing
...
Button to reset cross-signing and SSSS keys
2020-02-10 17:14:05 +00:00
Zoe
4f4b52d666
Update src/components/views/settings/CrossSigningPanel.js
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2020-02-10 16:59:17 +00:00
Bruno Windels
9dde09d36f
cleanup
2020-02-10 17:35:10 +01:00
Travis Ralston
ccde5530d2
Add reciprocate as a method
2020-02-10 17:34:45 +01:00
Travis Ralston
afc38b92a0
Always send scan for RiotX (for now)
2020-02-10 17:33:19 +01:00
Bruno Windels
4b8382b5c4
remove dead code
2020-02-10 17:07:02 +01:00
Bruno Windels
1ff1575b42
remove dead code
2020-02-10 16:59:47 +01:00
Zoe
69dc725006
rename button
2020-02-10 15:43:02 +00:00
Bruno Windels
936b40f6b5
remove commented out code
2020-02-10 16:19:27 +01:00
Bruno Windels
a693af0c6b
fix lint
2020-02-10 16:19:27 +01:00
Bruno Windels
2a8453b939
i18n fixes
2020-02-10 16:19:27 +01:00
Bruno Windels
9059f00b29
move css to correct file
...
Move the CSS for the dialog layout used in VerificationPanel to
_VerificationPanel.scss,
and delete the latter as it doesn't have any css of it's own anymore
2020-02-10 16:19:27 +01:00
Bruno Windels
a865cfb013
put encryption in a proper dialog with close button
2020-02-10 16:19:27 +01:00
Bruno Windels
39fab02fcc
rename DeviceVerifyOwnDialog to VerificationRequestDialog
...
as it works (and we want to use it) for any verification request,
not just between two devices of the same user
2020-02-10 16:19:27 +01:00
Travis Ralston
ea4d97fa73
Hack in a layout option
2020-02-10 16:19:27 +01:00
Bruno Windels
ee23bfe625
need to close the current dialog before opening a new modal
2020-02-10 16:19:27 +01:00
Bruno Windels
f368339b78
cram EncryptionPanel into a Dialog when clicking from new session dialog
2020-02-10 16:19:27 +01:00
Bruno Windels
b210c9cb76
close dialog after clicking continue
2020-02-10 16:19:27 +01:00
Travis Ralston
469d533964
Apply some CSS
2020-02-10 16:19:27 +01:00
Bruno Windels
747a4866e2
indenting
2020-02-10 16:19:27 +01:00
Travis Ralston
bc5a59339b
Send NewSessionReviewDialog through dialogs
2020-02-10 16:19:27 +01:00
Bruno Windels
5866d67c88
Alterations to DeviceVerifyDialog to support picking QR code
2020-02-10 16:18:44 +01:00
Bruno Windels
6b85ca2fb9
add qr code method to new session dialog
2020-02-10 16:17:49 +01:00
Bruno Windels
496dfc6187
send a .request and open it in the right panel on new session verify
2020-02-10 16:17:05 +01:00
Michael Telatynski
74af4fd764
disabled submit button be disabled
2020-02-09 15:07:07 +00:00
Michael Telatynski
150f2b3f84
Merge branches 'develop' and 't3chguy/password_completion' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/password_completion
2020-02-09 14:19:44 +00:00
unknown
06ba55e1a1
I have made changes according to turt2live recommandations, mainly css indentation and variable definition
2020-02-09 15:05:08 +01:00
Michael Telatynski
a8da4a3028
allow hiding of who is typing tile
2020-02-08 21:21:30 +00:00
Michael Telatynski
40b8db84e3
Get rid of dependence on usercontent.riot.im
2020-02-07 22:07:29 +00:00
Bruno Windels
5c89b41177
make device verification go over right panel (after showing dialog)
...
dialog should be more or less as in the design
2020-02-07 18:36:46 +01:00
Bruno Windels
e016cbefff
support header image in QuestionDialog
2020-02-07 18:36:41 +01:00
Zoe
a260d7a147
manual lint
2020-02-07 15:53:43 +00:00
Zoe
b08c5d8410
lint
2020-02-07 15:46:31 +00:00
Travis Ralston
3c49515e08
Merge pull request #4001 from matrix-org/travis/qr-code-request-based
...
Update QR code rendering to support VerificationRequests
2020-02-07 15:37:53 +00:00
Travis Ralston
f6abd369ca
Fix comments
2020-02-07 15:36:57 +00:00
Travis Ralston
bdeb9cccc4
Rename estimatedTargetDevice to targetDevice
2020-02-07 15:34:45 +00:00
Bruno Windels
1a5bed5a10
open a to_device request in a modal instead of the right panel 1st room
2020-02-07 15:56:10 +01:00
Zoe
8fdae73e03
Button to reset cross-signing and SSSS keys
2020-02-07 14:55:01 +00:00