Bruno Windels
e2ce12f5c1
wip
2019-02-01 23:15:14 +01:00
Travis Ralston
8307af6871
Merge pull request #2563 from matrix-org/travis/remove-e2e-beta-dialog
...
Remove warning about encryption being beta
2019-02-01 15:12:25 -07:00
Bruno Windels
45e982ac13
Merge pull request #2557 from matrix-org/bwindels/e2eicons
...
Add e2e icon to room header/composer/member info, more ...
2019-02-01 22:02:28 +00:00
Travis Ralston
7088a3ebc4
Remove unused import
2019-02-01 15:00:44 -07:00
Travis Ralston
016bd028ba
Remove warning about encryption being beta
2019-02-01 14:56:29 -07:00
Travis Ralston
7ff59c80aa
Merge pull request #2555 from matrix-org/bwindels/fixroomsettingssave
...
Fix exception while saving room settings
2019-02-01 11:30:29 -07:00
Travis Ralston
37fe22409f
Merge pull request #2559 from matrix-org/travis/settings/disable-old
...
Disable old settings, making tabbed settings the default
2019-02-01 11:18:43 -07:00
Travis Ralston
2a9149668c
thisfea -> this
...
idk what I was doing
2019-02-01 11:00:06 -07:00
Bruno Windels
62f59f8cef
Merge pull request #2558 from matrix-org/bwindels/fixunknowndialog
...
fix UnknownDeviceDialog layout
2019-02-01 17:56:03 +00:00
Travis Ralston
728748c9cd
Disable old settings, making tabbed settings the default
...
This is intentionally not removing the labs flag or other supporting structures of the old settings to make a revert as easy as possible in the event that needs to happen. All of the cruft left behind (TempTab, temp styles, labs flag, old components, etc) will be removed in the very near future.
2019-02-01 10:29:13 -07:00
Bruno Windels
571c059f0d
fix layout
2019-02-01 18:15:19 +01:00
Bruno Windels
ce5e56aaac
update icons in member info device section
2019-02-01 17:32:46 +01:00
Bruno Windels
21fe266394
add icon to member info to indicate all devices of a user are trusted
2019-02-01 17:08:09 +01:00
Travis Ralston
dca194f5e1
Merge pull request #2553 from matrix-org/travis/settings/fixes-3
...
Misc fixes to settings
2019-02-01 09:02:49 -07:00
Bruno Windels
88ad780b6b
update message e2e icons
...
also remove encrypted icon as header/composer already indicate encryption
2019-02-01 16:43:12 +01:00
J. Ryan Stinnett
4ed13e897a
Hide registration fields that aren't used by any flow
2019-02-01 08:35:04 -06:00
J. Ryan Stinnett
ba50ef8445
Clarify required auth stages
2019-02-01 08:33:47 -06:00
J. Ryan Stinnett
e6b6133c7a
Merge pull request #2552 from jryans/spell-homeserver
...
Spell homeserver correctly
2019-02-01 08:26:17 -06:00
J. Ryan Stinnett
ab5c5c1261
Merge pull request #2546 from jryans/auth-focus-username
...
Auto-focus username on registration
2019-02-01 08:24:27 -06:00
Bruno Windels
2596a0ffc2
linting
2019-02-01 14:35:25 +01:00
Bruno Windels
09c3391dd8
replace existing icon in composer with the new one
2019-02-01 13:40:42 +01:00
Bruno Windels
0cdf3d0898
add icon to room header
2019-02-01 13:40:19 +01:00
Bruno Windels
f2928c184d
create warning/verified icon to use in header/composer/member info
2019-02-01 13:39:56 +01:00
Bruno Windels
3c3aa9197c
UrlPreviewSettings doesnt have a saveSettings method anymore, which I think is intentional
2019-02-01 11:24:52 +01:00
Travis Ralston
b4fd0c3fbf
Add room directory publish button
...
This was previously missed in the tab's layout.
2019-01-31 22:06:15 -07:00
Travis Ralston
0c0db4ecc7
Copy over disablement of media streams after permissions requested
...
Fixes https://github.com/vector-im/riot-web/issues/8340
2019-01-31 21:48:44 -07:00
Travis Ralston
a1f1dde9a4
Remove flair from general user settings tab
...
Fixes https://github.com/vector-im/riot-web/issues/8327
2019-01-31 21:45:29 -07:00
Travis Ralston
7bbc302975
Merge pull request #2549 from matrix-org/travis/settings/fixes-2
...
Fixed settings dialog header; Adjust padding on dialog
2019-01-31 21:41:09 -07:00
Travis Ralston
0ecaa2eb8f
Merge pull request #2314 from aaronraimist/empty-url-empty-lightbox
...
Fix empty lightbox when there is no avatarUrl
2019-01-31 21:40:35 -07:00
J. Ryan Stinnett
68ae72f855
Spell homeserver correctly
2019-01-31 18:52:39 -06:00
J. Ryan Stinnett
6905e3e54c
Fix typo on registration
2019-01-31 18:15:18 -06:00
Travis Ralston
4036e52c24
Fixed settings dialog header; Adjust padding on dialog
...
Some recent changes to dialogs changed how this works and altered the look of the settings dialogs. This fixes that and makes it so that the header and content scroll independently.
Fixes https://github.com/vector-im/riot-web/issues/8329
Fixes https://github.com/vector-im/riot-web/issues/8328
2019-01-31 15:52:22 -07:00
Bastian
23971b3d0d
Refactor to use HtmlUtils for linkifying and sanitizing
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-01-31 22:36:08 +01:00
Bastian
f245fa6a52
Add InfoDialog
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-01-31 17:57:57 +01:00
J. Ryan Stinnett
81880c01d3
Auto-focus username on registration
2019-01-31 10:47:29 -06:00
J. Ryan Stinnett
346f73bb1d
Remove dead code tweaking server URLs on blur
2019-01-31 10:06:35 -06:00
J. Ryan Stinnett
c560fd32c4
Allow empty user / pass on blur, check on submit
2019-01-31 10:06:35 -06:00
J. Ryan Stinnett
e3f3a94980
Remove shake animation from auth field errors
2019-01-31 10:06:35 -06:00
J. Ryan Stinnett
2f006939f2
Use mx_AuthBody prefix for consistency
2019-01-31 10:06:35 -06:00
J. Ryan Stinnett
9a17181f2c
Use event value for username blur
2019-01-31 10:05:39 -06:00
J. Ryan Stinnett
eafd7e12d0
Validate login phone number on blur
2019-01-31 10:05:39 -06:00
J. Ryan Stinnett
cfe19d710b
Avoid hsName for auth headers which can be outdated
...
`hsName` uses only the default HS, so that can easily be outdated if the HS URL
is customized.
2019-01-31 10:05:39 -06:00
J. Ryan Stinnett
36d162cb25
Validate server URLs on blur instead of change
2019-01-31 10:05:39 -06:00
Bruno Windels
60f28266ae
Merge pull request #2538 from matrix-org/bwindels/community-redesign-cleanup
...
Redesign: community page cleanup
2019-01-31 12:01:08 +00:00
Matthew Hodgson
1465db3760
Merge pull request #2540 from jryans/field-select
...
Use custom appearance and arrow for field selects
2019-01-31 10:04:57 +01:00
J. Ryan Stinnett
d6f55a508c
Use custom appearance and arrow for select fields
2019-01-30 16:40:53 -06:00
Bruno Windels
d8226b3486
fix lint
2019-01-30 18:53:15 +01:00
Bastian
b96a4a4092
Fix typo
...
Signed-off-by: Bastian <matrix@noxware.de>
2019-01-30 17:27:53 +01:00
Bruno Windels
405cc5cc24
show avatars for members & rooms in group like we do in room right panel
...
also apply padding with hacky :not selector to exclude full-width avatar
2019-01-30 16:59:28 +01:00
Bruno Windels
3cfd851522
Merge pull request #2531 from matrix-org/bwindels/fixphonedropdown
...
fix dropdown style when input is shown
2019-01-30 11:45:02 +00:00
Bruno Windels
4d2a93eaaf
Merge pull request #2527 from jryans/auth-registration
...
Style registration flow
2019-01-30 11:27:45 +00:00
Bruno Windels
85b998d851
fix dropdown style when input is shown
2019-01-30 11:42:50 +01:00
Bruno Windels
6aca7e4515
Merge pull request #2522 from matrix-org/bwindels/memberpanel-tiny-makeover
...
Redesign: small member info panel makeover
2019-01-30 10:01:33 +00:00
Travis Ralston
bdf2bb5601
Merge pull request #2526 from matrix-org/travis/settings/fixes-1
...
Round 1 of misc fixes for settings
2019-01-29 22:59:07 -07:00
Travis Ralston
f86e224db6
Merge branch 'experimental' into travis/rsettings/tab/security
2019-01-29 22:15:55 -07:00
Travis Ralston
cd54442add
Merge branch 'experimental' into travis/rsettings/tab/advanced
2019-01-29 21:49:00 -07:00
Travis Ralston
b3bb3aff84
Remove spurious void
2019-01-29 21:46:51 -07:00
Travis Ralston
4d0a246629
Put a little padding between section headings
2019-01-29 19:28:30 -07:00
Travis Ralston
f050323f98
Inherit font size from other elements for push notifications table
2019-01-29 19:18:13 -07:00
Travis Ralston
0591c3a2bb
Change Riot Bot button text and make it a block element
...
Fixes https://github.com/vector-im/riot-web/issues/8265
2019-01-29 19:07:02 -07:00
Travis Ralston
e7ed4c13f5
Appease the linter
...
I should really just get something that does this for me prior to opening a PR
2019-01-29 18:28:44 -07:00
Travis Ralston
2fe7f6fe1c
Implement the Advanced tab of new room settings
2019-01-29 18:23:01 -07:00
J. Ryan Stinnett
f05ddcacf0
Add footer text to registration form
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
61a3ddb4e3
Adjust registration field labels
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
01d28bc137
Squeeze country dropdowns to match design
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
92394ba601
Change country dropdown to be smaller with arrow on right
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
daee5f0325
Reorganize registration inputs
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
379b940bfa
Add server details edit link to registration
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
1f78b59a0e
Add create your account header
2019-01-29 17:38:28 -06:00
J. Ryan Stinnett
3f4001f1fe
Correct stale name in props
2019-01-29 17:38:28 -06:00
Travis Ralston
78314ef284
Take out unfederated warning
...
This is moving to the Advanced tab
2019-01-29 16:10:24 -07:00
Travis Ralston
93ce342d63
Appease the linter
2019-01-29 16:05:47 -07:00
Travis Ralston
0af419633f
Implement the Roles & Permissions tab of new room settings
...
This is largely copy/paste from the current room settings
2019-01-29 15:54:51 -07:00
Aaron Raimist
52ebba9d3e
Disable clicking on room icon in a better way
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-01-29 16:07:41 -06:00
Travis Ralston
76c31f01f1
Appease the linter
2019-01-29 14:37:21 -07:00
Travis Ralston
a2f516c461
Implement the Security & Privacy tab of new room settings
2019-01-29 14:31:07 -07:00
Aaron Raimist
53947bee35
Fix empty lightbox when there is no avatarUrl
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-01-29 14:59:20 -06:00
Bruno Windels
7d6f551841
small makeover of member info panel
...
this removes the style sharing between the verify buttons in the memberinfo panel and
and the encrypted event dialog because the diverge too much now.
2019-01-29 21:14:16 +01:00
Bruno Windels
0cce912cf6
Merge pull request #2519 from matrix-org/bwindels/roomdirectory-makeover
...
Redesign: room directory makeover
2019-01-29 19:21:42 +00:00
Travis Ralston
a16eb30cbc
Merge pull request #2518 from matrix-org/travis/rver-cap-support
...
Iterate upon the room upgrade warning bar
2019-01-29 11:29:17 -07:00
Bruno Windels
855dbd7d2b
Merge branch 'experimental' into bwindels/roomdirectory-makeover
2019-01-29 18:33:03 +01:00
Bruno Windels
15a74cac15
Merge branch 'experimental' into bwindels/redesign-smallfixes
2019-01-29 18:30:08 +01:00
Bruno Windels
6dc042287e
dont allow whitespace in room sub lists while resizing
2019-01-29 17:21:14 +01:00
Travis Ralston
ad276c1fda
Merge branch 'experimental' into travis/rsettings/tab/general
2019-01-29 09:11:21 -07:00
Bruno Windels
6ffc5e093d
add icons to top left menu options
2019-01-29 16:56:07 +01:00
Bruno Windels
57b2f691ed
fix lint - bis
2019-01-29 16:30:10 +01:00
Bruno Windels
7c0f463c91
fix lint
2019-01-29 15:40:19 +01:00
Bruno Windels
9f1b4ac4cc
room directory makeover
2019-01-29 15:34:58 +01:00
Bruno Windels
012e358147
Merge pull request #2515 from matrix-org/bwindels/roomlistjslayout-bisbis
...
Redesign: switch layout when filtering room sublists
2019-01-29 09:32:32 +00:00
Bruno Windels
529c48d1b0
avoid whitespace and expand all matching section when filtering
2019-01-29 10:01:55 +01:00
J. Ryan Stinnett
20bf683df8
Merge pull request #2517 from jryans/auth-server-type-selector
...
Add server type selector and style login flow
2019-01-28 22:11:14 -06:00
J. Ryan Stinnett
7da5a55c7e
Add space to CustomServerDialog, format like riot-web variant
2019-01-28 21:51:05 -06:00
J. Ryan Stinnett
b0292929ba
Update code style for ServerConfig components
2019-01-28 21:44:41 -06:00
Travis Ralston
d34390d230
Merge pull request #2512 from matrix-org/travis/usettings/tab/flair
...
Implement flair tab in user settings
2019-01-28 20:37:22 -07:00
Travis Ralston
5948f9bc43
Appease the linter
2019-01-28 18:57:11 -07:00
Travis Ralston
f8de4ba2b0
Iterate upon the room upgrade warning bar
...
This lessens the warning for unstable-but-not-official versions while still communicating that the version is unstable. In the future, we may want to make this state dismissable.
2019-01-28 17:21:33 -07:00
J. Ryan Stinnett
34e2979f98
Add Modular server config screen
2019-01-28 17:32:56 -06:00
J. Ryan Stinnett
d96e814a92
Add link to edit server details
2019-01-28 16:13:19 -06:00
J. Ryan Stinnett
8e9fc8a8e7
Make existing fields full width
2019-01-28 15:29:36 -06:00
Travis Ralston
9513837e97
Appease the linter
2019-01-28 13:59:09 -07:00
Travis Ralston
fd6d34c2de
Default the topic to an empty string otherwise React gets mad
2019-01-28 13:54:56 -07:00
Travis Ralston
db34666583
Implement leave room button and URL preview settings
2019-01-28 13:54:56 -07:00
Travis Ralston
87e6652b2a
Flair settings for rooms
2019-01-28 13:54:56 -07:00
Travis Ralston
3021464e89
Move RoomProfileSettings to the right place
2019-01-28 13:54:56 -07:00
Travis Ralston
ea1d6a0146
Minor styling and avatar bug fixing
2019-01-28 13:54:56 -07:00
Travis Ralston
9a524c49b1
Early support for alias modification in room settings
2019-01-28 13:54:56 -07:00
Travis Ralston
243feb9b13
Early tab structure and profile changes (name/avatar/topic)
2019-01-28 13:54:56 -07:00
Travis Ralston
b7d0dd4408
Rename GeneralSettingsTab to GeneralUserSettingsTab
2019-01-28 13:54:56 -07:00
Bruno Windels
8d1e105b50
add option for whitespace behaviour and handle height
2019-01-28 18:02:36 +01:00
Travis Ralston
a1e3887a74
Merge branch 'experimental' into travis/settings/positive
2019-01-28 08:25:40 -07:00
Bruno Windels
55e0838c82
Merge pull request #2507 from matrix-org/bwindels/roomlistjslayout
...
Redesign: new layout algorithm for room sublists.
2019-01-28 14:55:31 +00:00
J. Ryan Stinnett
abe6fd2f60
Rework ServerConfig
to approach design
...
The public server search box is left out for now, so this restyles the existing
custom server inputs to more closely approximate the design.
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
3a698ef4fa
Clean up Custom Server Help dialog
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
306380d647
Update HS / IS URLs when changing server types
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
7934a2950c
Add 'Your account' header
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
e5e0b34958
Fix indentation
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
cd280ca79f
Username is one word
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
73aeb26a79
Remove dead code for empty matrixIdText
in PasswordLogin
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
350c24c503
Initial wiring of server type selector
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
fa4ad21e0a
Remove dead code for !withToggleButton
in ServerConfig
2019-01-28 08:52:20 -06:00
J. Ryan Stinnett
0bee324e48
Add server type selector component
2019-01-28 08:52:20 -06:00
Bruno Windels
0a5e8e6cfe
WIP on persisting height across collapse/expand
2019-01-28 14:35:04 +01:00
David Baker
b4f02844a8
Merge remote-tracking branch 'origin/experimental' into dbkr/sas
2019-01-28 09:36:39 +00:00
J. Ryan Stinnett
d1b78e5b08
Fix unmount TypeError in DeviceVerifyButtons
2019-01-25 17:54:11 -06:00
J. Ryan Stinnett
a07ba49641
Merge pull request #2511 from matrix-org/jryans/rm-team-server
...
Remove support for team servers
2019-01-25 16:48:24 -06:00
Travis Ralston
e2ba1cc0d6
Remove unused import
2019-01-25 15:46:38 -07:00
Travis Ralston
57e45e7e7c
Proof of concept for a flair tab in user settings
2019-01-25 15:35:32 -07:00
J. Ryan Stinnett
20b7debcaf
Remove support for team servers
2019-01-25 16:13:30 -06:00
Travis Ralston
535d42684f
Initial structure for new room settings
2019-01-25 13:09:44 -07:00
David Baker
2061ce2dbf
Merge pull request #2509 from matrix-org/dbkr/logout_warning_wording
...
Tweak wording on logout warning
2019-01-25 18:25:37 +00:00
David Baker
47c2ca3384
Tweak wording on logout warning
...
I further tweaked the wording from Tom's in the bug report to
put passphrases first since they are supposed to be the norm
(and the correct term is "recovery passphrase").
Fixes https://github.com/vector-im/riot-web/issues/8214
2019-01-25 18:01:40 +00:00
David Baker
de9b964490
Fix NPE in RoomRecoveryReminder
...
Also fix a bug introduced in
https://github.com/matrix-org/matrix-react-sdk/pull/2506
where I failed to set the button caption in one case.
Fixes https://github.com/vector-im/riot-web/issues/8216
2019-01-25 17:49:02 +00:00
Bruno Windels
2d2f9712b5
update layout on window resize
2019-01-25 18:48:25 +01:00
David Baker
7aa779c160
Remove outdated paragraph promising better verification
2019-01-25 17:31:46 +00:00
J. Ryan Stinnett
939f8b5591
Fullstop
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-01-25 17:30:59 +00:00
J. Ryan Stinnett
e3cd50da1f
Fullstop
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-01-25 17:30:47 +00:00
J. Ryan Stinnett
44a5ee3e44
Add fullstop
...
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-01-25 17:30:22 +00:00
David Baker
1b5be8603c
Merge pull request #2506 from matrix-org/dbkr/room_recovery_reminder_verifydevice
...
New text/caption for key backup by verifying device
2019-01-25 17:13:09 +00:00
David Baker
f6bbfd7e0d
New text/caption for key backup by verifying device
...
https://github.com/vector-im/riot-web/issues/8072
2019-01-25 16:25:15 +00:00
Travis Ralston
fb36f7abef
Fix imports and quotes
2019-01-25 09:18:00 -07:00
Travis Ralston
f7f23e4dea
Merge branch 'experimental' into travis/usettings/tab/security
2019-01-25 09:12:07 -07:00
Travis Ralston
7a2cc3a242
Merge pull request #2503 from matrix-org/travis/settings/placeholders
...
Default a Field's placeholder to the label
2019-01-25 07:51:07 -07:00
Travis Ralston
3301c35f7d
Merge pull request #2501 from matrix-org/travis/settings/dialog-size
...
Have the settings dialog be fixed in size
2019-01-25 07:46:36 -07:00
Travis Ralston
cb6f415a05
Be more positive with setting labels
...
Fixes https://github.com/vector-im/riot-web/issues/6435
This is done through an on-the-fly inverter for the settings. All the settings changed are boolean values, so this should be more than safe to just let happen throughout the SettingsStore. Typically a change like this would be done in the individual handlers (similar to how setting names are remapped to different properties or even different storage locations on the fly), however doing that for this many settings would be a huge nightmare and involve changing *all* the layers. By putting a global "invert this" flag on the setting, we can get away with doing the inversion as the last possible step during a read (or write).
To speed up calculations of the default values, we cache all the inverted values into a lookup table similar to how we represent the defaults already. Without this, the DefaultHandler would need to iterate the setting list and invert the values, slowing things down over time. We invert the value up front so we can keep the generic inversion logic without checking the level ahead of time. It is fully intended that a default value represents the new setting name, not the legacy name.
This commit also includes a debugger for settings because it was hard to visualize what the SettingsStore was doing during development. Some added information is included as it may be helpful for when someone has a problem with their settings and we need to debug it. Typically the debugger would be run in conjunction with `mxSendRageshake`: `mxSettingsStore.debugSetting('showJoinLeaves') && mxSendRageshake('Debugging showJoinLeaves setting')`.
2019-01-24 20:57:40 -07:00
Travis Ralston
d819095a76
Default a Field's placeholder to the label
...
Fixes https://github.com/vector-im/riot-web/issues/8250
This keeps all fields in line with the design without them having to defining it twice. The option is kept in the first place as some fields might want to override the placeholder to be longer than the label or something.
2019-01-24 19:36:23 -07:00
Travis Ralston
5dc75e2d3c
Have the settings dialog be fixed in size
...
This also brings out some classes that aren't solely applicable to the user settings and will be applicable to the room settings as well.
2019-01-24 19:12:09 -07:00
Travis Ralston
1f10cda5e4
Implement the "Help & About" tab of new user settings
2019-01-24 17:10:35 -07:00
Travis Ralston
b0a8cbf75f
Implement the "Security & Privacy" tab of new user settings
2019-01-24 15:47:04 -07:00
Travis Ralston
c5deeeaceb
Merge pull request #2498 from matrix-org/travis/usettings/tab/voice
...
Implement the "Voice & Video" tab of new user settings
2019-01-24 14:59:32 -07:00
Travis Ralston
87cea5ef09
Fix sizings and margins
2019-01-24 14:41:00 -07:00
Travis Ralston
3e09cd1d2e
Appease the linter
2019-01-24 13:43:16 -07:00
Travis Ralston
a4e0796bfe
Swap out the media permissions text for a paragraph element
...
The sizing ratio looks way off when the text is just subtext.
2019-01-24 13:37:20 -07:00
Travis Ralston
27ee6625ee
Implement the "Voice & Video" tab of new user settings
2019-01-24 13:33:22 -07:00
Travis Ralston
67ba728457
Add widget screenshots to the Labs section
...
This is a normal setting and not a real labs setting, however the design calls for it to be here.
2019-01-24 12:38:48 -07:00
Travis Ralston
13e36bcead
Merge pull request #2495 from matrix-org/travis/usettings/tab/preferences
...
Implement the "Preferences" tab on new user settings
2019-01-24 12:05:25 -07:00
David Baker
8c412b85ee
Merge pull request #2496 from matrix-org/dbkr/target_blank
...
Add target="_blank" to links that don't have it
2019-01-24 18:15:18 +00:00
Travis Ralston
5479a4dac5
Implement the "Preferences" tab on new user settings
2019-01-24 10:32:29 -07:00
Travis Ralston
a9243cf851
Appease the linter
2019-01-24 10:12:25 -07:00
Travis Ralston
06a9ab3a70
Styling to match the other tabs a bit closer
...
Introduces a new component to reduce code duplication
2019-01-24 10:12:25 -07:00
Travis Ralston
d267f232bc
Embed existing notifications settings into the tab
2019-01-24 10:12:25 -07:00
David Baker
4bcb9f12d4
Add target="_blank" to links that don't have it
...
This is now more of a problem in the Electron app because of
https://github.com/electron/electron/issues/8841 but is still
annoying in the webapp if you're taken away from your chat client.
Exception is the SSO link, as commented (issue filed at
https://github.com/vector-im/riot-web/issues/8247 ).
Fixes https://github.com/vector-im/riot-web/issues/8226
2019-01-24 16:19:18 +00:00
Travis Ralston
1251f607ef
Add missing import
2019-01-24 08:52:45 -07:00
Travis Ralston
d2684638b4
Actually include the lazy loading function
2019-01-24 08:52:45 -07:00
Travis Ralston
f1c1caac62
Implement labs tab in new user settings
2019-01-24 08:52:45 -07:00
Travis Ralston
2a9f6186d7
Merge pull request #2491 from matrix-org/travis/usettings/tab/general
...
Implement the "General" tab of new user settings
2019-01-24 08:51:11 -07:00
Bruno Windels
636955daef
use offsetHeight for consistency with sizer
2019-01-24 16:45:26 +01:00
Bruno Windels
067a861f80
integrate layout/distributor with RoomList
2019-01-24 15:43:49 +01:00
J. Ryan Stinnett
7b5500b9e8
Merge pull request #2493 from jryans/auth-lint
...
Appease linter in auth related files
2019-01-23 19:04:54 -06:00
J. Ryan Stinnett
41c79a93c0
Merge pull request #2489 from jryans/auth-text-and-links
...
Update text and links in authentication flows
2019-01-23 18:40:55 -06:00
J. Ryan Stinnett
319369d1be
Fix remaining warnings for enabled files
2019-01-23 18:38:49 -06:00
J. Ryan Stinnett
9470424bcb
Enable linting for all auth related files
2019-01-23 18:32:36 -06:00
Travis Ralston
6f947ab6d9
Appease the linter
2019-01-23 16:09:58 -07:00
Travis Ralston
7fb0cd6c42
Bring over the deactivate account button
2019-01-23 15:56:58 -07:00
Travis Ralston
3f897468a6
Add a ToggleSwitch and use it for SettingsFlag
...
Also bring in the compact timeline option.
Without minor CSS changes, the old user settings are completely unusable with this change. As such, minimal effort has been put in to have it be useful. Similarly, the changes drop the use of radio groups and the old theme selector was the only one that used it. See the comments for more details on how/why this was mitigated the way it was.
2019-01-23 15:50:41 -07:00
J. Ryan Stinnett
9f5f552be1
Move LanguageSelector to views
...
It's too simple to be called a structure.
2019-01-23 16:14:03 -06:00
J. Ryan Stinnett
e396954a20
Update forgot password link text and style
2019-01-23 15:50:44 -06:00
Travis Ralston
97666d39bc
Bring in theme and language options
2019-01-23 14:43:45 -07:00
Travis Ralston
d55d145223
Bring over phone number management
2019-01-23 14:16:18 -07:00
David Baker
6a90625d36
Merge remote-tracking branch 'origin/experimental' into dbkr/sas
2019-01-23 17:32:18 +00:00
Travis Ralston
4a819d319e
Early de-linting
2019-01-23 09:41:07 -07:00
Travis Ralston
875c0f94d3
Include a ref so that get/set value works again
2019-01-23 09:29:44 -07:00
Travis Ralston
aa7afe819f
Bring over email address management
2019-01-23 09:28:53 -07:00
Travis Ralston
fa1ce61a06
Move profile settings to a dedicated component
...
The tab component is getting a bit hard to navigate
2019-01-23 09:28:53 -07:00
Travis Ralston
19de6694ca
Bring in the change password section
...
This also changes the layout slightly in the user settings, but nothing detrimental.
2019-01-23 09:28:53 -07:00
Travis Ralston
677b3ca7b5
Bring flair into the new settings
...
Makes the flair options in old settings look broken (cosmetic issues), but it's fine because we're ripping that out in due time.
2019-01-23 09:27:04 -07:00
Travis Ralston
f643d7a143
Finish the box for displayname/avatar changes
2019-01-23 09:27:04 -07:00
Travis Ralston
de81c8d768
Template out remaining sections
2019-01-23 09:27:04 -07:00
J. Ryan Stinnett
36ebd91f07
Move language selector to auth header
2019-01-23 10:18:06 -06:00
David Baker
6d7e88a84a
Fix desktop captcha check
...
Change gnarly hardcoded protocol to detect running in the electron app
Fixes https://github.com/vector-im/riot-web/issues/8236
2019-01-23 15:06:49 +00:00
Travis Ralston
94b1d739fb
Merge pull request #2476 from matrix-org/travis/modal-tab-settings
...
Basic structure for tabbed user settings
2019-01-23 07:52:44 -07:00
Bruno Windels
45c4ca3183
Merge pull request #2481 from matrix-org/bwindels/showroomsandpeoplewhenempty
...
Fix: show rooms and people section when empty while filtering
2019-01-23 09:39:17 +00:00
J. Ryan Stinnett
0f3ee9c786
Extract auth header logo to new component
...
This will allow `riot-web` to replace only the logo, rather than the whole
header.
2019-01-22 22:41:10 -06:00
Travis Ralston
b83227c035
Merge pull request #2484 from matrix-org/travis/select-field
...
Support selects on Field
2019-01-22 20:13:06 -07:00
Travis Ralston
2b3c8c4450
Correctly form a select/input element
2019-01-22 20:03:59 -07:00
J. Ryan Stinnett
575cd1e37b
Add modal look to authentication flows
...
This changes the auth screens to use the modal-like style of the redesign.
This does not attempt to style the actual body content of each screen. Instead,
it covers the header area with logo, footer links, and overall modal container
only.
2019-01-22 20:44:49 -06:00
Travis Ralston
f0e8182ff3
Support selects on Field
...
Luckily, the styling is copy/paste capable.
2019-01-22 19:25:09 -07:00
Bruno Windels
2234a691c6
Merge pull request #2480 from matrix-org/bwindels/typingnotifsmallfix
...
Fix: apparently room can be null here
2019-01-22 17:04:00 +00:00
Travis Ralston
0deb210fd8
Collapse DOM around tab label icon
2019-01-22 09:54:35 -07:00
Bruno Windels
7d4165802c
show rooms and people section when empty while filtering
2019-01-22 17:54:04 +01:00
Bruno Windels
1373b2f5e2
apparently room can be null here
2019-01-22 17:34:48 +01:00
Bruno Windels
85b55847e1
missing semicolon
2019-01-22 14:52:22 +01:00
Bruno Windels
689df1b506
copyright
2019-01-22 14:51:11 +01:00
Bruno Windels
5dd5f4f1dc
add JumpToBottomButtom component
2019-01-22 14:49:04 +01:00
Bruno Windels
3c8bd3fc78
Merge pull request #2456 from matrix-org/bwindels/extendtypingbartiming
...
Avoid "jumpiness" with inline typing indicator
2019-01-22 11:04:25 +00:00
Bruno Windels
f83411ea0b
whitespace
2019-01-22 11:46:02 +01:00
Bruno Windels
0e0128c297
if instead of short-circuit and for readability
2019-01-22 11:37:18 +01:00
Travis Ralston
881353037e
forgot .length somehow
...
Co-Authored-By: bwindels <bruno@windels.cloud>
2019-01-22 10:34:54 +00:00
Travis Ralston
feed17d9ac
Minor code style fix
2019-01-21 20:55:40 -07:00
Travis Ralston
a488304410
Appease the linter
...
Appease the linter round 2
Appease the linter round 3
Appease the linter round 4
Appease the linter round 5
2019-01-21 18:41:49 -07:00
J. Ryan Stinnett
1d01ac398c
Rename mx_Login_box
to mx_AuthPage_modal
and fold into AuthPage
2019-01-21 19:11:43 -06:00
J. Ryan Stinnett
3bd765f63f
Rename LoginPage, Header, Footer views to Auth*
2019-01-21 19:11:43 -06:00
J. Ryan Stinnett
c7354f483b
Rename LoginBox to AuthButtons
...
This component displays login and register buttons. It's currently used in the
composer when viewing a room as a guest.
The name is confusing because the login flow uses are very similarly named
`mx_Login_box` as a wrapping around forms, which is totally different than these
buttons.
Additionally, the components is moved to `views/auth` since it is very simple
and auth related.
2019-01-21 19:11:43 -06:00
Travis Ralston
15a56fa90b
Improve the profile section a bit and add a highlight to the temp tab
2019-01-21 17:27:43 -07:00
Travis Ralston
a8ec40a8b0
Add a temporary tab for visiting the old settings
...
For debugging purposes
2019-01-21 16:51:43 -07:00
Travis Ralston
f1e44757f0
Very early work on the "General" tab
2019-01-21 16:51:43 -07:00
Travis Ralston
22435bf8d2
Make the dialog look more like a new dialog
2019-01-21 16:51:43 -07:00
Travis Ralston
a7e3d7df28
Make the tabs look like the design
2019-01-21 16:51:43 -07:00
Travis Ralston
15709040e7
Make tabs be their own panels
2019-01-21 16:51:43 -07:00
Travis Ralston
5adfc09237
Bring in TabbedView nearly verbatim from prior work
...
Sourced from https://github.com/matrix-org/matrix-react-sdk/pull/1644 and related PRs.
2019-01-21 16:51:43 -07:00
Travis Ralston
0e42c0892e
Early modalization of UserSettings
...
Basically just shove it into a modal and call it good.
2019-01-21 16:51:43 -07:00
J. Ryan Stinnett
29be3ee4b5
Rename login directory to auth
2019-01-21 17:45:55 -06:00
J. Ryan Stinnett
e714b2aed2
Remove Status theme-specific hacks
2019-01-21 13:59:22 -06:00
David Baker
eecc37038a
Merge pull request #2469 from matrix-org/dbkr/warn_on_wrong_recovery_key
...
Error if no sessions decrypted
2019-01-21 19:18:33 +00:00
David Baker
31889ecfad
Lint
2019-01-21 19:07:44 +00:00
David Baker
e42b0a9972
Make error string less redundant
2019-01-21 18:02:09 +00:00
David Baker
1a9c3f1ac7
Make error string less technical
2019-01-21 17:41:55 +00:00
David Baker
0a2b79b62d
Error if no sessions decrypted
...
Tell the user if they entered the wrong recovery key
Fixes https://github.com/vector-im/riot-web/issues/8143
2019-01-21 16:51:30 +00:00
Bruno Windels
86357fde51
sort combined typing users by name so order is stable
2019-01-21 17:49:46 +01:00
Bruno Windels
25aa58f29f
increase/clear min-height on timeline on new message(s)
...
depending on whether the typing bar is visible
2019-01-21 17:35:40 +01:00
David Baker
4c381c32ee
Show verify button when we have a device to verify
...
rather than when we don't
2019-01-21 11:34:13 +00:00
Travis Ralston
36ffbef010
Tweak comment about field ID
...
Co-Authored-By: jryans <jryans@gmail.com>
2019-01-19 22:29:57 -06:00
J. Ryan Stinnett
efd5405267
Add a form field component for the redesign
...
The label moves into the border on focus and after being filled. A valid color
is applied to the label and input border. Other states like invalid can be added
later as needed.
Adapted from @ara4n's experiment into a React component with a CSS only
approach.
2019-01-19 22:13:53 -06:00
David Baker
60a8d560d1
Undo abortive first attempt at factoring out
2019-01-19 11:54:01 +00:00
J. Ryan Stinnett
7c9509ceb8
Merge pull request #2460 from matrix-org/jryans/versioned-img-urls
...
Load fonts and images via source-relative URLs and requires
2019-01-18 14:27:55 -06:00
David Baker
630a6a479b
Lint
2019-01-18 18:43:40 +00:00
David Baker
970880737e
Merge remote-tracking branch 'origin/experimental' into dbkr/sas
2019-01-18 18:33:11 +00:00
David Baker
4f2f2f4f4e
Move common UI bits out to separate components
2019-01-18 18:24:38 +00:00
David Baker
ec2d51cbbb
SAS verification screen matching design
2019-01-18 16:56:49 +00:00
David Baker
4b68ca141c
Merge pull request #2455 from matrix-org/dbkr/key_backup_status_unknown_device
...
Say when backup is signed by unknown device
2019-01-18 10:58:26 +00:00
J. Ryan Stinnett
20e296b20e
Convert image URLs in React to require
calls
...
This allows Webpack to insert the proper image URL after builds steps like
adding a hash and so on. The path you supply to `require` is relative to the JS
source file, just like any other would be.
2019-01-17 22:06:49 -06:00
Travis Ralston
7f6ce69c3e
Merge branch 'experimental' into travis/develop2
2019-01-17 16:03:45 -07:00
Bruno Windels
2920deaefe
better naming
2019-01-17 18:52:22 +01:00
Bruno Windels
146e651dae
add comments
2019-01-17 18:52:14 +01:00
Bruno Windels
1db6f1b652
remove logging
2019-01-17 18:32:46 +01:00
Bruno Windels
d787d3d821
clear typing bar when receiving event from user
2019-01-17 18:26:11 +01:00
David Baker
b551d2f43a
Say when backup is signed by unknown device
...
rather than say it isn't signed by any devices
https://github.com/vector-im/riot-web/issues/8142
Requires https://github.com/matrix-org/matrix-js-sdk/pull/826
2019-01-17 16:45:00 +00:00
Bruno Windels
7df8951efa
wait to hide typing bar until event arrives or 5s timeout
2019-01-17 16:30:55 +01:00
Bruno Windels
89b576936b
Merge pull request #2448 from matrix-org/bwindels/searchmakeover
...
Redesign: search makeover
2019-01-17 12:12:26 +00:00
Bruno Windels
8c30d05eb8
Revert "Merge pull request #2348 from matrix-org/bwindels/roomgridview-experimental"
...
This reverts commit ece5cb1fcc
, reversing
changes made to 64a3d2521c
.
2019-01-17 10:29:37 +01:00
J. Ryan Stinnett
859f2a8646
Show spinner while waiting on status message to commit
...
It can take some time to actually set the status message and see it play back as
a committed event. This adds a spinner for immediate feedback so it's clear
that something is happening.
Fixes https://github.com/vector-im/riot-web/issues/8135 .
2019-01-16 09:33:39 -06:00
David Baker
55889d5491
Change wording of 'invite anyway' setting
...
https://github.com/vector-im/riot-web/issues/7922
2019-01-16 15:07:30 +00:00
David Baker
4da4e0c37a
Iminimal lint-fixes to make develop CI build
2019-01-16 13:57:18 +00:00
Bruno Windels
622b11fd91
remove commented out code from shifting things around
2019-01-16 13:04:49 +01:00
Bruno Windels
0229453482
Merge pull request #2440 from matrix-org/bwindels/smarterresizer
...
Improve room sublist resizing
2019-01-16 10:55:53 +00:00
Bruno Windels
899ee265e3
Merge branch 'experimental' into bwindels/searchmakeover
2019-01-16 11:17:38 +01:00
Bruno Windels
cbe3afaa1f
resubmit query when switching between "This Room" / "All Rooms"
2019-01-16 11:13:35 +01:00
David Baker
1d2538a7bc
First working version of SAS
2019-01-15 18:08:13 +00:00
J. Ryan Stinnett
4b13774585
Revert to avatar only when custom status disabled
...
This returns to the previous behavior of avatar only without a button when the
custom status feature is disabled so that you don't get pointer cursor for
something that does nothing when clicked.
The avatar ring spacing is kept consistent with and without the feature enabled
by using a different class in CSS.
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
d8de607edc
Update RoomTile on status change
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
77cee8e67e
Update MemberTile on status change
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
443198c180
Fix lints in MemberTile.js
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
233288475e
Use status events for avatar ring
...
Similar to changes in `StatusMessageContextMenu`, this changes to using the new
status message event emitted in js-sdk to simplify state handling for the avatar
ring when a status is present.
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
5b88b64950
Rework custom status context menu
...
This updates the custom status context menu to match the latest comps. A single
button is used for setting / clearing, depending on what is appropriate.
The state logic is also changed to depend on events and storage from js-sdk for
the committed status message. This makes it easy to distinguish the value being
edited from what's currently committed.
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
fc3055f541
Tweak custom status menu size and placement
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
eae1e4c9aa
Tweak custom status avatar ring
...
Adjusts the appearance of the avatar ring to match the latest comps.
In addition, we now always render the surrounding button element, which
simplifies styling since the same size is now occupied both with and without the
feature.
This improves alignment between text in the composer and text in the message
history (https://github.com/vector-im/riot-web/issues/8111 ).
2019-01-15 10:54:29 -06:00
J. Ryan Stinnett
c76b273fae
Update RoomTiles on custom status change
2019-01-15 10:54:29 -06:00
Bruno Windels
77a62b9174
style search bar
2019-01-15 16:20:04 +01:00
Matthew Hodgson
ef78036a72
fix vector-im/riot-web#8105
2019-01-15 14:40:58 +00:00
Bruno Windels
1bbf1502ec
Merge branch 'experimental' into bwindels/smarterresizer
2019-01-15 10:23:50 +01:00
Travis Ralston
177d9f245a
Merge pull request #2441 from matrix-org/develop
...
Merge develop -> experimental
2019-01-14 14:45:20 -07:00
Bruno Windels
7e395f0fb6
cleanup - part II
...
reshuffle file structure to make more sense
2019-01-14 20:33:33 +01:00
Bruno Windels
9ecb23ce71
cleanup
...
- move some methods to ResizeItem subclass
- allow distributor to instanciate sizer and resizeitem it needs
through static factory methods, instead of passing in another ctor
a distributor can only function with the right item and sizer anyways.
- use consistent import/export style
- remove obsolete code
2019-01-14 20:24:54 +01:00
Travis Ralston
a05c0f9214
Rephrase everything to be "invite anyways" rather than "retry"
...
Also handle profile errors better
2019-01-11 15:46:03 -07:00
David Baker
e0bc0494fa
Merge pull request #2433 from matrix-org/travis/rver/7992
...
Recalculate the visible rooms when rooms are upgraded
2019-01-11 10:37:32 +00:00
David Baker
93cf281ff9
Merge pull request #2432 from matrix-org/travis/rver/7998
...
Navigate to the upgraded room's create event where possible
2019-01-11 10:35:30 +00:00
David Baker
531822394d
Merge pull request #2429 from matrix-org/travis/rver/8076
...
Don't show rooms with tombstones in the address picker
2019-01-11 10:33:53 +00:00
Travis Ralston
c351ee3d30
Appease the linter
2019-01-10 21:54:07 -07:00
Travis Ralston
5333114d7b
Give a route for retrying invites for users which may not exist
...
Fixes https://github.com/vector-im/riot-web/issues/7922
This supports the current style of errors (M_NOT_FOUND) as well as the errors presented by MSC1797: https://github.com/matrix-org/matrix-doc/pull/1797
2019-01-10 21:43:21 -07:00
Travis Ralston
33eef6f5ac
Merge pull request #2428 from matrix-org/travis/rver/7991
...
Set which servers to try and join upgraded rooms through
2019-01-10 16:28:11 -07:00
Travis Ralston
7d4b6add2c
Recalculate the visible rooms when rooms are upgraded
...
We also do this when they are created just in case we missed the tombstone event.
Fixes https://github.com/vector-im/riot-web/issues/7992
2019-01-10 15:43:22 -07:00
Travis Ralston
b09219fe33
Navigate to the upgraded room's create event where possible
...
Fixes https://github.com/vector-im/riot-web/issues/7998
2019-01-10 15:29:12 -07:00
Travis Ralston
e24d3cd671
Render a tile for tombstone events
...
Fixes https://github.com/vector-im/riot-web/issues/7997
This isn't super elegant, but it also provides some amount of utility for people. As users might leave the old room, it might be useful to see when exactly a room was upgraded. We should fix the underlying cause for infinite back pagination though.
2019-01-10 15:15:45 -07:00
Travis Ralston
18ba5f6f19
Don't show rooms with tombstones in the address picker
...
Fixes https://github.com/vector-im/riot-web/issues/8076
2019-01-10 14:44:19 -07:00
Travis Ralston
cec9c908fc
Set which servers to try and join upgraded rooms through
...
Fixes https://github.com/vector-im/riot-web/issues/7991
2019-01-10 14:33:46 -07:00
David Baker
fc346b2766
Merge pull request #2423 from matrix-org/dbkr/lint_messagecomposerinput
...
Fix lint errors in MessageComposerInput
2019-01-10 18:33:52 +00:00
Bruno Windels
92b9a8cc1f
persist cleared size sublists
2019-01-10 18:40:26 +01:00
Erik Johnston
cbf9ff6aee
Merge branch 'experimental' of github.com:matrix-org/matrix-react-sdk into erikj/state_counters
2019-01-10 16:56:47 +00:00
Erik Johnston
fa6b33d629
Only update component state when feature is enabled
2019-01-10 16:54:08 +00:00
David Baker
9903c61a21
Fix lint errors in MessageComposerInput
...
and remove from ignored files
Missed a load of the async arrows functions when changing them because
they were in the ignored files, so trying to chip away at this.
A lot of these were unused imports / variables. Probably the only
interesting one was a 'this' in a non-member function which I've moved
to be a member function.
2019-01-10 09:41:26 +00:00
David Baker
3555b02f34
Merge remote-tracking branch 'origin/experimental' into dbkr/fix_recovery_reminder_cancel
2019-01-10 09:39:57 +00:00
David Baker
c45ffb6733
Merge pull request #2422 from matrix-org/dbkr/eslint_async_space
...
Add spaces back to async arrow functions
2019-01-10 09:35:58 +00:00
David Baker
b9719abbc2
Oops, missed some asyncs
2019-01-09 19:36:34 +00:00
David Baker
f269b5fbbc
Fix spaceless async in ignored files too
2019-01-09 19:14:30 +00:00
David Baker
8e4d8ccca7
Add spaces back to async arrow functions
...
As per https://github.com/matrix-org/matrix-js-sdk/pull/821
Requires https://github.com/matrix-org/matrix-js-sdk/pull/821
2019-01-09 18:10:35 +00:00
J. Ryan Stinnett
365a7273d8
Move initial key backup to background
...
Since the initial key backup can take several minutes for some users, this moves
the upload step to the background. The create key backup flow now only marks
all sessions for backup synchronously, with the actual backup happening later.
The key backup panel in Settings gains a new row to show a summary of upload
status. Users are directed there if they wish to know if the backup is done.
The text in various related dialogs has also been tweaked to fit the new flow.
2019-01-09 12:04:17 -06:00
J. Ryan Stinnett
731f9ee7df
Display key backup upload progress in Settings
...
This adds a summary of the keys currently waiting for backup, which may be
useful for following a large upload as it progresses.
2019-01-09 12:04:17 -06:00
J. Ryan Stinnett
7dbc970347
Mark KeyBackupPanel as a pure component
...
KeyBackupPanel depends only on its own state and its children are pure, so it
can be pure as well. This avoids some unnecessary re-renders.
2019-01-09 12:04:17 -06:00
Bruno Windels
ece5cb1fcc
Merge pull request #2348 from matrix-org/bwindels/roomgridview-experimental
...
Tiled room UI
2019-01-09 17:25:08 +00:00
David Baker
7381879e3a
Fix a few things with cancelling recovery reminder
...
* Put a cancel button on the first page of the create key backup
dialog
* Move settings logic into the room reminder: I know this is moving
logic *into* a view but RoomView is quite heavyweight as it is.
* Give the recovery reminder an explicit 'onDontAskAgainSet' rather
than onFinished which was getting called with false when the last
screen of the dialog was closed with the cancel 'x' rather than
the 'close' button.
https://github.com/vector-im/riot-web/issues/8066
2019-01-09 16:27:41 +00:00
Bruno Windels
254427461d
fix PR feedback
2019-01-09 12:48:13 +01:00