Zoe
26177a19d5
access cross-signing callbacks via method
2020-03-05 10:49:06 +00:00
Bruno Windels
5df35ea432
Merge pull request #4174 from matrix-org/bwindels/showverifyifuserhasxsignkeys
...
only show verify button if user has uploaded cross-signing keys
2020-03-05 09:24:09 +00:00
Bruno Windels
a5cd0a7d5f
indent by 4 spaces
2020-03-05 11:09:45 +01:00
Travis Ralston
9836a7a655
Merge pull request #4176 from matrix-org/travis/linkify-rooms
...
Fix room alias references in topics
2020-03-04 15:35:34 -07:00
Simeon Keske
cf1d9cc8b5
make the linter happy
2020-03-04 22:46:07 +01:00
Simeon Keske
98f0a2ab67
show the room presence indicator, even when cross-singing is enabled
2020-03-04 22:30:24 +01:00
Travis Ralston
4a976acb84
Add a null check to getUniqueRoomsWithIndividuals
...
Fixes https://github.com/vector-im/riot-web/issues/12611
2020-03-04 14:18:56 -07:00
Travis Ralston
c6af591c6e
Ensure linkified topics in the room directory also work
...
We weren't passing the options object down to linkifyString.
Fixes https://github.com/vector-im/riot-web/issues/12606
2020-03-04 14:14:03 -07:00
Travis Ralston
d820356990
Convert alias links in room header topics to local permalinks
...
Fixes https://github.com/vector-im/riot-web/issues/12605
2020-03-04 13:56:58 -07:00
Travis Ralston
7aba168c34
Merge pull request #4170 from matrix-org/travis/sso-register-dev
...
Disable registration flows on SSO servers
2020-03-04 12:59:08 -07:00
Travis Ralston
2204785026
Simplify SSO step checking
2020-03-04 12:26:08 -07:00
Travis Ralston
68258d8e89
Merge pull request #4160 from matrix-org/travis/filter-blank
...
Don't group blank membership changes
2020-03-04 12:24:31 -07:00
Travis Ralston
8e3fea9d0f
Use an algorithmic comparator for room list ops
...
Not all algorithms are timestamp based.
2020-03-04 12:09:05 -07:00
Travis Ralston
80b44f0292
Always calculate the category of a room
...
All the update triggers for the RoomListStore go through the `setRoomCategory` function, so by returning early we're not actually calculating where a room should be in the list.
2020-03-04 12:05:47 -07:00
Travis Ralston
b06a82ee80
Use textForEvent to determine if an event is worth rendering
2020-03-04 11:44:12 -07:00
Travis Ralston
3842bce74d
Fix SSO for new approach
2020-03-04 11:41:16 -07:00
Bruno Windels
8a964dbff0
avoid ref by getting count in setter callback
2020-03-04 17:19:54 +01:00
Bruno Windels
afc7273d10
use pendingUpdateCount rather, so we don't show multiple spinners
2020-03-04 16:58:04 +01:00
Bruno Windels
29af8add5d
only show verify button if user has uploaded cross-signing keys
2020-03-04 16:10:06 +01:00
Zoe
4396d85d1f
Share secrets with another device on request
2020-03-04 14:58:42 +00:00
J. Ryan Stinnett
7ad8eeb906
Fix composer touch bar flickering on keypress in Chrome
...
This changes our selection state handling to leave things alone if the browser's
state already matches what we want. This avoids strange side effects like the
touch bar flickering on each key press in Chrome.
Fixes https://github.com/vector-im/riot-web/issues/9299
2020-03-04 14:35:11 +00:00
RiotRobot
1d4f77dacc
Merge branch 'master' into develop
2020-03-04 11:40:35 +00:00
Bruno Windels
070b430702
also use relative scrolling when eh ... doing relative scrolling
2020-03-04 10:26:27 +00:00
Bruno Windels
462c3411b2
add comment how offset from bottom is calculated
2020-03-04 10:26:27 +00:00
Bruno Windels
91aa8d4a3a
use relative scrolling to compensate when changing height
2020-03-04 10:26:27 +00:00
Travis Ralston
93c696f15e
Appease the linter
2020-03-03 23:26:35 -07:00
Travis Ralston
3cff6d7239
Appease the linter
2020-03-03 23:26:20 -07:00
Travis Ralston
e83a4ddbe5
i18n
2020-03-03 23:24:56 -07:00
Travis Ralston
e265c92b6e
Redirect registration requests to Login when the server supports SSO
...
For https://github.com/vector-im/riot-web/issues/12362
2020-03-03 23:24:50 -07:00
Travis Ralston
bcfe1fcac5
Wire up 'create account' to the SSO button when SSO is used
...
For https://github.com/vector-im/riot-web/issues/12362
2020-03-03 23:23:53 -07:00
Travis Ralston
a12786c171
i18n
2020-03-03 23:23:12 -07:00
Travis Ralston
04c54dc5a0
Redirect registration requests to Login when the server supports SSO
...
For https://github.com/vector-im/riot-web/issues/12362
2020-03-03 23:19:36 -07:00
Travis Ralston
8234b4d656
Wire up 'create account' to the SSO button when SSO is used
...
For https://github.com/vector-im/riot-web/issues/12362
2020-03-03 23:11:29 -07:00
Michael Telatynski
f08d034f84
Merge pull request #4158 from matrix-org/t3chguy/sso
...
riot-desktop open SSO in browser so user doesn't have to auth twice
2020-03-03 22:27:48 +00:00
Travis Ralston
846170b371
Revert "Fix downloading files in electron not being sent into browser"
...
This reverts commit d89b8b5148
.
2020-03-03 13:33:07 -07:00
J. Ryan Stinnett
ffde56d804
Merge pull request #4165 from matrix-org/jryans/lock-auth-success
...
Lock login and registration buttons after submit
2020-03-03 18:03:34 +00:00
J. Ryan Stinnett
191dcaab82
Explain why not busy is ignored
2020-03-03 17:41:28 +00:00
Travis Ralston
a50e4f624c
Merge pull request #4149 from matrix-org/travis/fix-directory-results
...
Suggest the server's results as lower quality in the invite dialog
2020-03-03 10:29:37 -07:00
Bruno Windels
72af620d92
Merge pull request #4166 from matrix-org/bwindels/relativescrolling
...
Adjust scroll offset with relative scrolling
2020-03-03 15:07:42 +00:00
Bruno Windels
3e39cebb8f
also use relative scrolling when eh ... doing relative scrolling
2020-03-03 15:44:59 +01:00
Bruno Windels
223956a206
add comment how offset from bottom is calculated
2020-03-03 15:42:44 +01:00
Bruno Windels
f9d2d45b24
use relative scrolling to compensate when changing height
2020-03-03 15:42:22 +01:00
J. Ryan Stinnett
59c4e36ba8
Lock interactive auth as busy until state change
...
This keeps interactive auth locked as busy until a state change so that e.g.
accepting a terms step will remain "busy looking" until the next step of the
process appears.
Fixes https://github.com/vector-im/riot-web/issues/12546
2020-03-03 14:40:22 +00:00
Michael Telatynski
c0b68ccd53
only automatically download in usercontent if user requested it
2020-03-03 13:23:33 +00:00
Michael Telatynski
0e65d54af2
Fix having to decrypt & download in two steps
2020-03-03 11:03:40 +00:00
J. Ryan Stinnett
88f351d5ca
Keep sign in button disabled on success
...
This changes password login to keep the sign in button locked when proceeding
successfully to avoid the possibility of double device sign in.
Part of https://github.com/vector-im/riot-web/issues/12546
2020-03-03 10:42:08 +00:00
Travis Ralston
d95f843cd0
Don't group blank membership changes
...
We already drop noop membership changes when they don't make it into a MELS, so we just need to make the MELS aware enough to drop messages early that are noops.
Fixes https://github.com/vector-im/riot-web/issues/12575
2020-03-02 17:52:20 -07:00
Mark Striemer
df9710907c
Add en_US string
2020-03-02 15:45:16 -06:00
Mark Striemer
07348a65ad
Include a mark as read X under the scroll to unread button
2020-03-02 13:59:14 -06:00
Michael Telatynski
db3721b10b
Merge pull request #4157 from matrix-org/t3chguy/rls
...
Revert to manual sorting for custom tag rooms
2020-03-02 19:55:59 +00:00
Travis Ralston
680beb858e
Merge pull request #4150 from matrix-org/travis/fix-cutoff
...
Fix the last char of people's names being cut off in the invite dialog
2020-03-02 09:59:51 -07:00
Michael Telatynski
6ba9f78888
Merge pull request #4154 from matrix-org/t3chguy/whois_cmd
...
Add /whois SlashCommand to open UserInfo
2020-03-02 16:34:58 +00:00
Michael Telatynski
4d9d5a1ab7
improve comments
2020-03-02 15:05:56 +00:00
Michael Telatynski
f8045e428b
riot-desktop open SSO in browser so user doesn't have to auth twice
2020-03-02 14:59:54 +00:00
Michael Telatynski
8ec83d4a77
Revert to manual sorting for custom tag rooms
2020-03-02 11:20:28 +00:00
Michael Telatynski
3ba86ee655
Merge pull request #4153 from matrix-org/t3chguy/alias_invalid_valid
...
don't show "This alias is available to use" if the alias is invalid
2020-03-02 10:59:42 +00:00
Michael Telatynski
a5e664410f
Add /whois SlashCommand to open UserInfo
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-29 01:29:52 +00:00
Michael Telatynski
8aaab0a3ba
refactor to add Validation::final
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-29 01:00:57 +00:00
Michael Telatynski
dc3afb3e57
Merge pull request #4098 from aaronraimist/donottrack
...
Don't ask to enable analytics when Do Not Track is enabled
2020-02-29 00:55:36 +00:00
Aaron Raimist
3a7454a52f
Use !== instead
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2020-02-28 18:37:55 -06:00
Michael Telatynski
3e85f65d9e
Also skip alias availability check if alias looks invalid
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-29 00:36:01 +00:00
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
Michael Telatynski
0c4897a875
Merge pull request #4152 from matrix-org/t3chguy/fix_mels
...
Fix MELS not breaking on day boundaries regression
2020-02-29 00:18:00 +00:00
Michael Telatynski
9ff053c5a9
Fix MELS not breaking on day boundaries regression
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-29 00:09:19 +00:00
Michael Telatynski
87e717cd39
Fix Quote on search results page
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-28 23:12:10 +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
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
J. Ryan Stinnett
67fca76027
Merge pull request #4147 from matrix-org/jryans/locked-upgrade-dialog
...
Use latest backup status directly rather than via state
2020-02-28 16:45:39 +00:00
J. Ryan Stinnett
4db1d04764
Fix warning about uncontrolled vs. controlled state
2020-02-28 13:52:24 +00:00
J. Ryan Stinnett
d3c7a7ff1f
Use latest backup status directly rather than via state
...
This uses the latest backup status we just retrieved by returning from the
lookup path (instead of using it indirectly via state). This is important
because state updates are batched, so we can't rely on the value to be updated
immediately like we were.
Fixes https://github.com/vector-im/riot-web/issues/12562
2020-02-28 13:47:12 +00:00
J. Ryan Stinnett
5c81ae41dd
Merge pull request #4146 from matrix-org/jryans/locked-upgrade-dialog
...
Prefer account password variation of upgrading
2020-02-28 12:47:42 +00:00
J. Ryan Stinnett
b1543c4141
Regen i18n
2020-02-28 12:32:14 +00: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
J. Ryan Stinnett
567e882c32
Add missing click handler
2020-02-28 12:04:27 +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
J. Ryan Stinnett
a93c13306c
Prefer account password variation of upgrading
...
This shows the account password variation of upgrade encryption first if it's
possible to do so. This ensures we match the logic that locks the next button.
Fixes https://github.com/vector-im/riot-web/issues/12560
2020-02-28 11:25:04 +00:00
Michael Telatynski
b6bc8a6456
Merge pull request #4143 from matrix-org/t3chguy/disabled_llp
...
Clear selected tags when disabling tag panel
2020-02-28 11:19:08 +00:00
Stuart Mumford
aec622d5d0
Apply suggestions from code review
...
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2020-02-28 10:47:23 +00: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
Michael Telatynski
4480abf09c
Clear selected tags when disabling tag panel
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-27 12:52:22 +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
248e467537
Merge pull request #4137 from matrix-org/t3chguy/remove_debug
...
Remove debug line from Analytics
2020-02-27 10:22:35 +00:00
Michael Telatynski
e0fdfa1c1c
fix default value for alphabetic sorting setting
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 23:21:37 +00:00
Michael Telatynski
75c593b2f4
get rid of unused stuff
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 23:19:50 +00:00
Michael Telatynski
f036f0bd83
Fix copy
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 23:19:05 +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
cada584c25
i18n
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-02-26 23:09:34 +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