Bruno Windels
a1a82e48d9
update range when items size changes
2019-02-13 20:21:17 +01:00
David Baker
c3ca2b4d46
add comment
2019-02-13 19:06:44 +00:00
J. Ryan Stinnett
5b64543159
Typo
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-02-13 19:05:17 +00:00
David Baker
e439d36805
Merge pull request #2626 from matrix-org/dbkr/recheck_key_backup
...
Re-check key backup status when settings opened
2019-02-13 18:19:39 +00:00
David Baker
0f4092dcbc
Fix registration after clicking email link
...
We weren't correctly jumping into the appropriate bit of the registration
flow when coming in from an email link.
* If we have client secret / sessionId, go straight to registration phase
* Don't reset server URLs when the server type component tells us its
initial value
* Confusingly, pass the custom server URL as 'default server URL' to
the custom server type, as this is what we want the inital section
to be based on.
Fixes https://github.com/vector-im/riot-web/issues/8490
2019-02-13 18:12:34 +00:00
Bruno Windels
90667d8061
Merge pull request #2629 from matrix-org/bwindels/lazyroomtilerendering
...
Improve room list rendering performance
2019-02-13 18:55:47 +01:00
Bruno Windels
e51f279f36
dont assume there items is an array
2019-02-13 18:49:09 +01:00
J. Ryan Stinnett
694a59afb7
Merge pull request #2628 from jryans/adjust-top-left-menu
...
Adjust top left menu items
2019-02-13 17:38:08 +00:00
Bruno Windels
42409691b3
try to not trigger rerenders in LazyRenderList
...
by not creating new arrays
2019-02-13 18:36:46 +01:00
Bruno Windels
39632428d0
remove throttling after improving LazyRenderList perf
2019-02-13 18:36:19 +01:00
Bruno Windels
60d0ed4c01
make LazyRenderList stateful for better performance
...
it only rerenders when visible range it would render based on the
props gets OVERFLOW_MARGIN(5) items from the current renderRange
2019-02-13 18:33:57 +01:00
J. Ryan Stinnett
116367fd69
Add welcome to top left menu for all
2019-02-13 16:13:32 +00:00
Bruno Windels
9c371111b7
Merge branch 'develop' into bwindels/lazyroomtilerendering
2019-02-13 17:13:23 +01:00
J. Ryan Stinnett
22789ada94
Add sign in to top left menu for guests
2019-02-13 16:01:13 +00:00
David Baker
d2b4dfce30
Re-check key backup status when settings opened
...
Fixes https://github.com/vector-im/riot-web/issues/8524
Requires https://github.com/matrix-org/matrix-js-sdk/pull/840
2019-02-13 15:40:44 +00:00
David Baker
737b85c8f0
Merge pull request #2623 from matrix-org/dbkr/fix_force_turn_flag
...
Security: Force TURN setting was inverted
2019-02-13 15:24:14 +00:00
Bruno Windels
84163bed11
wrap roomtiles in LazyRenderList to improve perf for big accounts
2019-02-13 14:51:09 +01:00
Bruno Windels
0de2161a0d
create LazyRenderList component to trim list to visible part
2019-02-13 14:50:43 +01:00
Bruno Windels
3ce2309ae2
get scrolltop and scrollevent out of autohide/indicator scrollbar
2019-02-13 14:49:14 +01:00
Matthew Hodgson
3eb5c71b75
rename 'Close Account' back to 'Deactivate Account'.
...
the word close on a red button makes you feel like you're going to close the
settings dialog, not terminate your account...
2019-02-13 12:24:04 +00:00
David Baker
26287067fc
Security: Force TURN setting was inverted
...
In making the settings more positive, we flipped 'disable peer to
peer' but didn't change the caption, so the setting was inverted
from what it was labelled as.
Also, forcing p2p isn't the inverse of forcing turn.
Change the setting to be 'allow p2p' and the label to match.
2019-02-13 11:51:32 +00:00
J. Ryan Stinnett
b0d08b9a25
Rename dharma theme to light theme
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
6c954dadc8
Allow theming message composer buttons
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
e1edd56643
Allow theming group header buttons
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
3cba5edd6f
Allow theming right panel header buttons
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
8652a094f3
Allow theming room header buttons
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
fb7913580e
Theme setting needs to update local state
2019-02-13 10:47:04 +00:00
J. Ryan Stinnett
f5e56708d5
Re-enable dynamic theme changes
2019-02-13 10:44:01 +00:00
J. Ryan Stinnett
204d6e2c3d
Enable theme setting
2019-02-13 10:44:01 +00:00
J. Ryan Stinnett
e401b8f77a
Make default and dark the only theme options
2019-02-13 10:44:01 +00:00
Bruno Windels
de8cd88418
Merge pull request #2621 from matrix-org/bwindels/tabsdivider
...
Add divider between tabs and regular buttons in room header
2019-02-13 11:00:52 +01:00
J. Ryan Stinnett
d9bb5991b5
Merge pull request #2609 from matrix-org/anoa/comms_hide
...
Change taking a community off the left-left panel less scary
2019-02-13 09:30:18 +00:00
Bruno Windels
875f792728
Merge pull request #2620 from matrix-org/bwindels/e2eiconsanddialog
...
Fixes and styling related to e2e icons and dialogs
2019-02-13 09:18:58 +01:00
Bruno Windels
12b6383831
Merge pull request #2618 from matrix-org/bwindels/fixstickers
...
Fix: stickers layout
2019-02-13 09:17:21 +01:00
Bruno Windels
5047d15a3b
Merge pull request #2615 from matrix-org/bwindels/breadcrumbs
...
Labs feature: recent room breadcrumbs
2019-02-13 09:16:40 +01:00
Bruno Windels
240dc3c1cc
Merge pull request #2612 from matrix-org/bwindels/roomlistlag
...
Fix: roomlist reordering lags
2019-02-13 09:15:46 +01:00
David Baker
785b4d649f
Merge pull request #2617 from matrix-org/dbkr/e2e_change_all_the_strings
...
Change text in e2e UX to new copy
2019-02-12 20:38:58 +00:00
Bruno Windels
ccaa017980
add divider between tabs and regular buttons in room header
2019-02-12 20:05:01 +01:00
Bruno Windels
bfdf1251e8
only wrap e2e icon in button if there is a click handler
2019-02-12 19:59:31 +01:00
Bruno Windels
5e298dc58d
only show member e2e icon in encrypted rooms
2019-02-12 19:42:17 +01:00
Bruno Windels
158e949165
add context menu option to show "event e2e info dialog"
2019-02-12 19:10:42 +01:00
David Baker
dbd2f3daa2
Use sub for substitution variable name
2019-02-12 18:08:16 +00:00
David Baker
2c5da21adb
KeyBackupPanel fixes
...
* Separate out the emoji from the translateable string
* Put back the delete button if you're not using the backup,
otherwise you're stuck unable to use key backup at all if you
lost your recovery secret and the device you set it up on.
2019-02-12 18:06:36 +00:00
Bruno Windels
08272bc75e
make e2e icons clickable again
2019-02-12 18:58:02 +01:00
David Baker
6c1ed57b70
flag todo
2019-02-12 17:53:00 +00:00
Bruno Windels
2f345401c4
show unknown devices dialog when clicking e2e warning in room header
2019-02-12 18:43:28 +01:00
Bruno Windels
3b10b8042a
restyle unknown devices dialog
2019-02-12 18:34:35 +01:00
Bruno Windels
7d2c6fbd0b
update e2e icons when membership changes
2019-02-12 18:34:22 +01:00
David Baker
e41fc55cca
Add warnings about trusted computers
2019-02-12 16:34:06 +00:00
David Baker
3a0b8cb169
Lint
2019-02-12 16:03:46 +00:00
David Baker
9ec00f8d9b
Change text in e2e UX to new copy
2019-02-12 16:01:38 +00:00
Bruno Windels
f189ff54a8
hide delete & cancel button on stickers are they weren't visible before
2019-02-12 17:01:05 +01:00
Bruno Windels
229d905835
copyright
2019-02-12 12:21:40 +01:00
Bruno Windels
2315e4bfb4
add animation when adding a room
2019-02-12 12:16:56 +01:00
David Baker
c2247cdc67
Merge pull request #2613 from matrix-org/dbkr/sas_profile
...
Add display name / avatar to incoming sas dialog
2019-02-12 10:48:49 +00:00
Bruno Windels
03c491416e
put breadcrumbs behind feature flag
2019-02-12 11:41:24 +01:00
Bruno Windels
735c9d1121
hide breadcrumbs when collapsed
2019-02-12 11:31:50 +01:00
Bruno Windels
5efd92f3ec
make rooms come in from left rather than the right
2019-02-12 11:26:46 +01:00
Bruno Windels
aaea40a93d
add breadcrumbs component
2019-02-12 11:04:25 +01:00
J. Ryan Stinnett
fbc1779b21
Merge pull request #2611 from matrix-org/jryans/welcome-page-cleanup
...
Welcome page cleanup
2019-02-12 09:18:21 +00:00
J. Ryan Stinnett
44e34d9074
Explain roomId workaround
2019-02-12 08:59:38 +00:00
Bruno Windels
7c72fddf80
Merge branch 'develop' into bwindels/roomlistlag
2019-02-11 17:06:16 +01:00
David Baker
99ae63c021
Add display name / avatar to incoming sas dialog
...
Fetch the other user's profile & display it on an incoming verification
request
2019-02-11 15:57:34 +00:00
Bruno Windels
ab6535b135
lint
2019-02-11 16:27:29 +01:00
Bruno Windels
fbc0bbfb6f
clear hover flag after 1000ms of not moving the mouse
...
as a fix for #8184
2019-02-11 16:17:15 +01:00
Bruno Windels
b6aa72da55
update RoomTile notificationCount through props so updates are consistent
2019-02-11 15:40:17 +01:00
J. Ryan Stinnett
9d3ba2b3d9
Guard against invalid room object on join
2019-02-11 14:33:19 +00:00
J. Ryan Stinnett
4101d4e9de
Always change to LOGGED_IN view to show a room
2019-02-11 14:19:05 +00:00
Andrew Morgan
d66dbf9be7
Change taking a community off the left-left panel less scary
...
With the current wording, I half-think clicking this button might remove me from the community!
IMO 'Hide' sounds more like it's just going to disappear from the panel, but I can add it back at some point.
2019-02-11 13:38:47 +00:00
J. Ryan Stinnett
477d5ac0dc
View welcome behind modals when not showing logged in view
2019-02-11 13:31:27 +00:00
David Baker
ba597c65eb
lint
2019-02-11 13:09:50 +00:00
J. Ryan Stinnett
97aa0b52fa
Avoid room directory error without a client
2019-02-11 12:27:10 +00:00
David Baker
1cf0a6a049
Add legacy verification button on wait
...
Add a way to bail out of interactive verification from the screen
where you're waiting for the other person to accept.
2019-02-11 12:08:10 +00:00
J. Ryan Stinnett
5977859dd9
Call isGuest correctly
2019-02-08 18:28:39 +00:00
David Baker
742af81224
Merge pull request #2594 from matrix-org/dbkr/dont_verify_restore
...
Prompt to restore backup rather than verify
2019-02-08 17:49:04 +00:00
David Baker
09bf8099e0
Merge pull request #2599 from matrix-org/dbkr/unlabs_keybackup_sas
...
Remove key backup & sas from labs
2019-02-08 17:41:54 +00:00
Bruno Windels
7f630b2b46
Merge pull request #2601 from matrix-org/bwindels/fixstartdm
...
Fix: typeerror when creating DM
2019-02-08 17:39:29 +00:00
Bruno Windels
8fdb94911c
header doesn't have a room yet while joining
2019-02-08 17:35:49 +00:00
David Baker
d74d5f1e27
Fix unused imports
2019-02-08 17:30:14 +00:00
Travis Ralston
e06a68501a
Typo
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-02-08 17:23:18 +00:00
David Baker
f99c56fedb
Merge pull request #2597 from matrix-org/jryans/add-welcome-page
...
SDK support for welcome page
2019-02-08 17:17:22 +00:00
David Baker
043f1ab3f0
Remove key backup & sas from labs
2019-02-08 16:58:09 +00:00
David Baker
2cd25e0077
Merge pull request #2596 from matrix-org/dbkr/emoji_sas
...
Change SAS to decimal / emoji
2019-02-08 16:46:43 +00:00
Bruno Windels
6f9aa9c9b9
Merge branch 'develop' into bwindels/roomlistlag
2019-02-08 16:38:57 +00:00
David Baker
9b4a6cf442
Make prettier
2019-02-08 16:27:25 +00:00
Travis Ralston
8cdfdd2e24
Merge branch 'develop' into travis/render-join-rules
2019-02-08 09:24:07 -07:00
Travis Ralston
78ea531a87
Merge pull request #2590 from matrix-org/travis/settings/fix-directory-publish
...
Ensure toggle switches listen to property changes
2019-02-08 08:00:47 -07:00
Travis Ralston
47b79c0cf6
Merge pull request #2593 from matrix-org/travis/settings/local-echo
...
Local echo on room access settings
2019-02-08 07:58:51 -07:00
David Baker
ae16cc36aa
Change SAS to decimal / emoji
...
Requires https://github.com/matrix-org/matrix-js-sdk/pull/837
2019-02-08 14:57:36 +00:00
J. Ryan Stinnett
705c3248d4
Tweak embedded pages config name
2019-02-08 13:55:23 +00:00
J. Ryan Stinnett
7a15bb65c4
Tweak page URL defaulting
2019-02-08 13:53:17 +00:00
J. Ryan Stinnett
5ab3c8b823
Add top left home menu item when home page configured
2019-02-08 13:48:51 +00:00
J. Ryan Stinnett
5701bf89de
Direct some flows to the welcome page
2019-02-08 12:12:43 +00:00
Bruno Windels
3c5fb61350
Merge branch 'develop' into bwindels/customtags-featureflag
2019-02-08 12:12:43 +00:00
Bruno Windels
2eff03ba78
fix whitespace
2019-02-08 12:03:58 +00:00
Bruno Windels
00a1ca503c
Merge pull request #2588 from matrix-org/bwindels/removellfeatureflag
...
remove ll feature flag, it's time!
2019-02-08 12:02:58 +00:00
David Baker
ac98da4a8a
Prompt to restore backup rather than verify
...
Direct the user to restore the backup in order to both get the keys
out of the backup and start putting them in.
Also hide the advanced key backup stuff in a diclosure.
2019-02-08 11:51:22 +00:00
J. Ryan Stinnett
7238c713d7
Add language selector to bottom of welcome
2019-02-08 11:39:30 +00:00
David Baker
abcbd46fe1
Merge pull request #2583 from matrix-org/dbkr/trust_on_decrypt
...
Trust on decrypt
2019-02-08 11:36:53 +00:00
J. Ryan Stinnett
1cf311da10
Place welcome content directly on glass
2019-02-08 11:26:47 +00:00
David Baker
e805df7b4c
Use fewer brs
2019-02-08 10:46:38 +00:00
David Baker
d1e2418b75
Use error constant from the class
2019-02-08 10:43:39 +00:00
Bruno Windels
748040268a
remove unused imports
2019-02-08 09:59:24 +00:00
Travis Ralston
f66c92b1fd
Local echo on room access settings
...
Includes a fix for the aliases warning appearing at the wrong time.
Fixes https://github.com/vector-im/riot-web/issues/8406
Fixes https://github.com/vector-im/riot-web/issues/8434
2019-02-07 14:01:34 -07:00
Travis Ralston
5d4406cbab
Render join rules and guest access changes in the timeline
...
Fixes https://github.com/vector-im/riot-web/issues/8435
2019-02-07 12:14:58 -07:00
Travis Ralston
89a8422320
Ensure toggle switches listen to property changes
...
They do local echo on changes to avoid jumping back and forth while requests are ongoing, however some areas modify the checked state after the toggle has mounted.
Fixes https://github.com/vector-im/riot-web/issues/8432
2019-02-07 11:54:13 -07:00
Bruno Windels
8c32f88c1c
remove homeserver ll check on toggling lab setting
2019-02-07 18:45:00 +00:00
Bruno Windels
ac4ab11985
remove ll feature flag, it's time!
2019-02-07 18:24:07 +00:00
Bruno Windels
e8533beafb
guard custom tags with feature flag
2019-02-07 18:07:30 +00:00
J. Ryan Stinnett
c587dcab92
Use separate config settings for each page
2019-02-07 17:16:02 +00:00
J. Ryan Stinnett
7cc38f9d96
Remove a few more references to home
2019-02-07 17:09:16 +00:00
David Baker
3a924d05b5
Remove click-to-verify from SAS
...
The click-each-pair to verify was hard to discover, so remove it
2019-02-07 17:01:55 +00:00
Bruno Windels
d2dd1bae13
run search after you've stopped typing for 200ms instead of every 500ms
2019-02-07 16:31:57 +00:00
J. Ryan Stinnett
b7c92ce3ff
Abort embedded page load for null URL
2019-02-07 16:31:44 +00:00
J. Ryan Stinnett
843f86fc1c
Add separate welcome view
2019-02-07 16:25:09 +00:00
Travis Ralston
3e70212ec8
Merge pull request #2580 from matrix-org/travis/settings/fix-pl
...
Actually change power levels when they are changed
2019-02-07 08:13:35 -07:00
David Baker
f79b777dd4
Trust on decrypt
...
Add support for trust-on-decrypt (API change, recognise flag on
isKeyBackupTrusted). Catch rejection on wrong passphrase / recovery
key. Fix remembering whether we are restoring with key or passphrase.
Requires https://github.com/matrix-org/matrix-js-sdk/pull/836
2019-02-07 14:39:47 +00:00
David Baker
594bd86a0c
Merge pull request #2582 from matrix-org/bwindels/fixnotifbadgeclickandcursor
...
Fix: click on notif badge
2019-02-07 14:12:00 +00:00
David Baker
b7fd1336de
Merge pull request #2532 from boeserwolf/boeserwolf/get-set-topic
...
Extend slash command '/topic' to display the room topic
2019-02-07 13:45:59 +00:00
Bruno Windels
252a61379c
its list, not lists
2019-02-07 13:40:29 +00:00
Bruno Windels
87ddb8a453
Merge pull request #2575 from matrix-org/bwindels/customtags
...
Bring back custom tags, also badges on communities
2019-02-07 11:37:17 +00:00
J. Ryan Stinnett
73de56d72d
Generalize HomePage into EmbeddedPage
2019-02-07 11:12:28 +00:00
J. Ryan Stinnett
2fde67787c
Update code style in HomePage
2019-02-07 10:49:59 +00:00
Bruno Windels
7b23fa7a4f
implement PR feedback
2019-02-07 10:49:23 +00:00
J. Ryan Stinnett
0bb3843726
Remove unused iframeSrc from HomePage
2019-02-07 10:23:38 +00:00
J. Ryan Stinnett
30395f064d
Merge pull request #2578 from jryans/auth-reset-password
...
Style reset password to match design
2019-02-07 10:05:11 +00:00
J. Ryan Stinnett
d03f4875f3
Update style for forgot password copy, add full stops
2019-02-07 09:57:31 +00:00
J. Ryan Stinnett
8b2f2c7d5c
Remove unneeded refs from reset password
2019-02-07 09:44:28 +00:00
J. Ryan Stinnett
e1b7af39dc
Basic validation of HS URL for reset password
2019-02-07 09:36:43 +00:00
David Baker
f517928d76
Merge pull request #2577 from matrix-org/dbkr/backup_dont_fail_if_no_keys
...
Key Backup: Don't fail if no keys
2019-02-07 09:30:28 +00:00
Travis Ralston
2e852da72e
Actually change power levels when they are changed
2019-02-06 15:06:15 -07:00
Bastian
d77f10e085
Reformat
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-02-06 19:37:23 +01:00
Bastian
7428e97910
Clean up InfoButton
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-02-06 19:35:48 +01:00
J. Ryan Stinnett
2b7ecd3de7
Go to forgot phase on error
2019-02-06 18:32:28 +00:00
J. Ryan Stinnett
9f9f0d4168
Move server details to a separate phase of forgot password
2019-02-06 18:30:07 +00:00
Bastian
4dcbb6fc0f
Update copyright
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-02-06 19:27:53 +01:00
J. Ryan Stinnett
7680667334
Avoid controlled component error with empty strings
2019-02-06 18:26:44 +00:00
J. Ryan Stinnett
0e543a362e
Move errors to top of reset password
2019-02-06 18:10:06 +00:00
Travis Ralston
04f2375273
Add issue references to things
2019-02-06 11:06:02 -07:00
David Baker
ce565f109a
Key Backup: Don't fail if no keys
...
Only fail if there were any keys in the backup (which does mean
that the backup will always succeed if there aren't any keys which
could also be misleading, but is probably not as bad and can probably
be fixed with Trust on Decrypt).
Also cheekily fix the error message so it talks about passphrases
if you used a passphrase and recovery keys if you used a recovery key.
2019-02-06 18:03:47 +00:00
Travis Ralston
b2c161c7c1
Merge branch 'develop' into travis/settings/delete-the-old
2019-02-06 11:02:21 -07:00
J. Ryan Stinnett
3afc455f3c
Extract each phase to a separate function
2019-02-06 18:00:58 +00:00
Bruno Windels
d501ce0553
increase debouncing of filtering because its quite laggy atm
2019-02-06 17:25:56 +00:00
J. Ryan Stinnett
a61de03a88
Remove left over TODO
2019-02-06 16:32:22 +00:00
J. Ryan Stinnett
b20f1d1240
Convert forgot password to phases like the other flows
2019-02-06 16:30:53 +00:00
J. Ryan Stinnett
8aff6b2e45
Add your account header to reset password
2019-02-06 16:14:21 +00:00
J. Ryan Stinnett
8e12c4a3b8
Normalize URL naming for reset password
2019-02-06 15:58:31 +00:00
J. Ryan Stinnett
8c6dc002f3
Add new footer text to reset password
2019-02-06 15:46:25 +00:00
J. Ryan Stinnett
5d0798ed24
Tweak field labels on reset password
2019-02-06 15:16:54 +00:00
J. Ryan Stinnett
ccf7e75c95
Group fields into rows on reset password
2019-02-06 15:10:16 +00:00