Tomas Batalla
b90e33b81b
Fix off by one error for username colors
...
The hash result would only have a range of 0..7, but the css of color variants is 1..8
2019-02-19 10:52:59 -08:00
J. Ryan Stinnett
6b46057283
Merge pull request #2663 from jryans/enable-captcha-desktop
...
Allow captchas on Riot desktop builds
2019-02-19 18:20:15 +00:00
J. Ryan Stinnett
cba3897944
Merge pull request #2661 from jryans/captcha-stuck
...
Show link to login even during UI auth
2019-02-19 18:17:51 +00:00
J. Ryan Stinnett
edf10dbdde
Merge pull request #2659 from jryans/dark-theme-more-2
...
Dark theme follow ups round 2
2019-02-19 17:51:29 +00:00
J. Ryan Stinnett
1cde4abe6a
Improve text layout above captcha
2019-02-19 13:59:15 +00:00
J. Ryan Stinnett
3c156218da
Allow captchas on Riot desktop builds
2019-02-19 13:57:31 +00:00
J. Ryan Stinnett
198dee9abd
Rename default theme to light theme
2019-02-19 13:27:35 +00:00
J. Ryan Stinnett
4c83d898bd
Show link to login even during UI auth
...
This gives users an escape hatch in case something goes wrong with the UI auth
step, and they'd like to go somewhere else in the auth process.
2019-02-19 13:13:21 +00:00
Travis Ralston
424de00109
Merge pull request #2648 from matrix-org/travis/fix-room-settings
...
Add a bit of safety around reading events for room settings
2019-02-18 21:34:45 -07:00
J. Ryan Stinnett
5fb990eb5f
Convert Markdown button to SVG mask
...
This makes it easier to theme via CSS, which helps with the dark theme.
2019-02-18 18:26:52 +00:00
J. Ryan Stinnett
09ed795c79
Allow theming member info minimise button
2019-02-18 16:02:10 +00:00
Travis Ralston
da4d1cfed4
Merge branch 'develop' into travis/better-room-sorting
2019-02-15 23:32:15 -07:00
Aaron Raimist
1e01f1b52a
Fix typo "Scisors" -> "Scissors"
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-02-15 11:26:14 -06:00
Bruno Windels
05ddee6a6b
remove dead code
2019-02-15 13:07:33 +01:00
Bruno Windels
c39c0e4834
fix for the ... button not being aligned for group invite tiles
2019-02-15 13:07:33 +01:00
Bruno Windels
dedaf0f5a2
disable lazy list rendering if extraTiles are provided
2019-02-15 13:07:33 +01:00
Travis Ralston
f46df2ddd9
Add a bit of safety around reading events for room settings
...
Fixes https://github.com/vector-im/riot-web/issues/8530 and maybe https://github.com/vector-im/riot-web/issues/8641
2019-02-14 11:09:37 -07:00
J. Ryan Stinnett
df5f0601aa
Merge pull request #2641 from matrix-org/dbkr/remove_welcome_from_topleft
...
Remove 'welcome' from top-left menu
2019-02-14 16:40:39 +00:00
J. Ryan Stinnett
ce68ff1214
Merge pull request #2640 from jryans/help-buoy
...
Update help buoy text and issue links
2019-02-14 16:17:34 +00:00
David Baker
93350c43a5
Put back this bind - it's an unrelated fix
2019-02-14 16:07:44 +00:00
Travis Ralston
37d1191c72
Add credit for cover photo usage
...
Fixes https://github.com/vector-im/riot-web/issues/8374
2019-02-14 09:04:15 -07:00
David Baker
7845a63506
Remove 'welcome' from top-left menu
...
Tjis is quite confusing as the welcome page is designed for when
you're not logged in, ie. has a sign-in button. There's also no way
to get back into the app so it really looks like it's logged you
out.
Reverts 116367fd69
2019-02-14 15:53:52 +00:00
J. Ryan Stinnett
2a3b05a321
Update help buoy text and issue links
2019-02-14 15:52:13 +00:00
Bruno Windels
abf96fd420
Merge pull request #2638 from matrix-org/bwindels/typingnotifswhitespacefix2
...
Fix excessive timeline whitespace
2019-02-14 16:38:20 +01:00
Bruno Windels
9e260ad96b
make sure we're at the bottom, although that seems to always be the case in this branch?
2019-02-14 16:19:58 +01:00
Bruno Windels
790e752b7a
clear min-height on scroll
2019-02-14 16:11:38 +01:00
David Baker
690f3ede12
Merge pull request #2637 from matrix-org/dbkr/remove_white_screen_of_welcome
...
Remove the white screen of welcome
2019-02-14 13:46:44 +00:00
David Baker
b242d03f7f
lint
2019-02-14 12:52:38 +00:00
David Baker
e5e355ed2d
Remove the white screen of welcome
...
If there's no home page configured, view the first room.
2019-02-14 12:35:09 +00:00
Bruno Windels
107eb974d4
always rerender
...
as not all state that goes into rendering comes from state or props,
we shouldn't be blocking rendering at all
This might rerender a few times more, but it shouldn't be worse
than what was there before the redesigned roomlist.
2019-02-14 13:30:03 +01:00
Travis Ralston
9175655c16
Remove old pin unread options
...
They are not forced on, and do nothing.
2019-02-13 13:13:40 -07:00
Bruno Windels
a720de81c1
Merge pull request #2632 from matrix-org/bwindels/searchthrottle
...
use throttle as its more responsive
2019-02-13 20:37:13 +01:00
Bruno Windels
47c14021b3
use throttle as its more responsive
2019-02-13 20:32:50 +01:00
Bruno Windels
5aa08a0f02
Merge pull request #2631 from matrix-org/bwindels/roomlistfilterfix
...
update range when items size changes
2019-02-13 20:29:40 +01:00
David Baker
0ad9d71935
Merge pull request #2630 from matrix-org/dbkr/fix_register_email_link
...
Fix registration after clicking email link
2019-02-13 19:25:15 +00:00
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