Jorik Schellekens
175b5e70b6
Lint Slider
2020-04-28 14:20:49 +01:00
Jorik Schellekens
137b94703a
Lint types
2020-04-28 14:20:49 +01:00
Jorik Schellekens
c268b98ded
Use faster lookup method
...
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2020-04-28 14:17:50 +01:00
Jorik Schellekens
a8407c9508
Use purecomponent
...
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2020-04-28 14:00:15 +01:00
Jorik Schellekens
cf05beb4b8
Merge pull request #4355 from JorikSchellekens/joriks/font-scaling-fixes
...
Fix scaling issues
2020-04-28 13:47:50 +01:00
Zoe
9d1c73348c
Show progress when loading keys
2020-04-28 11:32:51 +01:00
David Baker
60d51a0f1e
Merge pull request #4506 from matrix-org/dbkr/aggregate_device_verify_toasts
...
Aggregate device verify toasts
2020-04-28 11:00:52 +01:00
David Baker
4dca66d140
No need for this if statement now
2020-04-28 09:43:24 +01:00
David Baker
7e956514a2
Lint
2020-04-27 20:35:39 +01:00
David Baker
ff1fd15e72
Use the New Session review dialog for verifying our own devices
2020-04-27 20:31:14 +01:00
J. Ryan Stinnett
b396096cd2
Fix set up encryption toast to have use "set up" as action
...
This changes the "set up encryption" toast to use "set up" as the primary action
button, instead of "upgrade". Other toasts that do use text about upgrading will
keep their primary action text of "upgrade" as before.
Fixes https://github.com/vector-im/riot-web/issues/13231
2020-04-27 18:35:51 +01:00
David Baker
a5ee99b858
Aggregate device verification toasts into one toast
...
'Review' now opens the only place we can verify our own devices:
our user info.
2020-04-27 18:33:54 +01:00
Jorik Schellekens
00c0212c03
Revert previous fix
2020-04-27 17:35:52 +01:00
Jorik Schellekens
c995e2e021
Fix info avatar
2020-04-27 17:29:03 +01:00
Jorik Schellekens
b567b95fad
Lint
2020-04-27 17:27:54 +01:00
Jorik Schellekens
bfba5e6cfe
Fix member info avatar size
2020-04-27 16:57:38 +01:00
David Baker
5d4aa03c8e
Lint
2020-04-27 14:43:17 +01:00
David Baker
03d89361cd
Update to (almost) match design
2020-04-27 14:35:32 +01:00
Michael Telatynski
a58fd6c475
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-27 14:27:41 +01:00
David Baker
ca0cede1aa
Add a link from settings / devices to your user profile
...
Temporarily until you can verify devices in settings
Fixes https://github.com/vector-im/riot-web/issues/13401
2020-04-27 14:25:47 +01:00
Michael Telatynski
606940bd77
Update Invite Dialog copy to include email addresses
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-27 14:07:39 +01:00
Jorik Schellekens
b4dcd50d56
Use camel case on import
2020-04-27 11:51:56 +01:00
Jorik Schellekens
c3ba7a8c91
Tweak read receipt remainder text
2020-04-27 11:51:56 +01:00
Jorik Schellekens
ff1544b783
Fix read receipt horizontal spacing at scale
2020-04-27 11:51:54 +01:00
Jorik Schellekens
3f56ed393d
Use a function to convert to rem.
2020-04-27 11:51:54 +01:00
Jorik Schellekens
e2aef3a62b
Fix pills.
...
This was a hard pill to swallow
2020-04-27 11:51:54 +01:00
Agusti Bau
98a949bed1
Refactored DNDTagTile to use useContextMenu
...
Signed-off-by: Agusti Bau <agustibau@gmail.com>
2020-04-26 18:54:35 +02:00
Agusti Bau
5f3e3b3ec2
Extracted context menu from TagTile to DNDTagTile
2020-04-25 01:09:07 +02:00
David Baker
121ac14273
Merge pull request #4485 from matrix-org/dbkr/setup_encryption_dialog_icon
...
Make icon change in SetupEncryptionDialog
2020-04-24 18:56:40 +01:00
David Baker
6460f6303c
Move store subscribe to didmount
2020-04-24 17:36:02 +01:00
Travis Ralston
117322b3b5
Remove invite only padlocks feature flag
...
Fixes https://github.com/vector-im/riot-web/issues/13366
Only known issue on this is https://github.com/vector-im/riot-web/issues/12148
This has been pre-approved by Product.
2020-04-24 10:05:28 -06:00
David Baker
bbce37b92f
Make icon change in SetupEncryptionDialog
...
Fixes https://github.com/vector-im/riot-web/issues/13368
2020-04-24 15:39:54 +01:00
Travis Ralston
50783c2432
Appease the linter
2020-04-23 23:25:53 -06:00
Travis Ralston
28865e27bc
Don't overwrite the 'domain' data key for all widgets
...
Some widgets, which aren't Jitsi widgets, might need this to be something else.
2020-04-23 15:24:27 -06:00
Travis Ralston
efaf4fbbda
Decode dollar signs in safe widget URLs before rendering/templating
...
Fixes https://github.com/vector-im/riot-web/issues/13344
2020-04-23 15:24:27 -06:00
Travis Ralston
35dd892dce
Merge pull request #4458 from matrix-org/travis/fix-sticker-picker-add
...
Use WidgetType more often to avoid breaking new sticker pickers
2020-04-23 08:18:12 -06:00
Travis Ralston
d66d497638
Merge pull request #4460 from matrix-org/travis/integ-logging
...
Update logging for unmanaged widgets, and add TODO comments for other areas
2020-04-23 08:17:54 -06:00
Travis Ralston
3d4032e542
Merge pull request #4459 from matrix-org/travis/fix-openid-widget
...
Fix OpenID requests from widgets
2020-04-23 08:17:38 -06:00
Jorik Schellekens
4b4599c1d8
tslint
2020-04-23 14:39:11 +01:00
Jorik Schellekens
a087f5ea40
Lint
2020-04-23 13:55:10 +01:00
Jorik Schellekens
e5cb149296
Handle fontslider input errors correctly
2020-04-23 13:52:08 +01:00
Jorik Schellekens
600a812227
Add brush icon for appearance setting tab
2020-04-23 12:20:10 +01:00
Jorik Schellekens
c86638c667
add toggle between font slider and custom setting
2020-04-23 12:09:08 +01:00
Jorik Schellekens
a16fe09d42
Use em to detach slider from root font-size
2020-04-23 10:58:00 +01:00
Jorik Schellekens
8f0d81e770
Linearly interpolate between value intervals.
2020-04-23 10:45:48 +01:00
Jorik Schellekens
fe175bb9a8
Styling for the font slider
2020-04-23 10:45:48 +01:00
Jorik Schellekens
014be5ce5f
Add support to disable slider
2020-04-23 10:45:48 +01:00
Jorik Schellekens
ee33fc1c20
Remove labels
2020-04-23 10:45:48 +01:00
Jorik Schellekens
5f50facfba
Make slider independant of label size
2020-04-23 10:45:48 +01:00
Jorik Schellekens
26ccd6f07d
Cleaner clamping of value range
2020-04-23 10:45:48 +01:00
Jorik Schellekens
c99e1de803
Clamp indicated value within value range
2020-04-23 10:45:48 +01:00
Jorik Schellekens
ba362b727c
Use onSelectionChange prop
2020-04-23 10:45:48 +01:00
Jorik Schellekens
0d0da6cfdc
Fix types, abandon propTypes
2020-04-23 10:45:48 +01:00
Jorik Schellekens
dcea1f32b3
tslint
2020-04-23 10:45:48 +01:00
Jorik Schellekens
315a272cb4
File rename
2020-04-23 10:45:48 +01:00
Jorik Schellekens
4525f71b1c
Missed an import
2020-04-23 10:45:47 +01:00
Jorik Schellekens
82974bd98c
Space out ternaries
...
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2020-04-23 10:45:47 +01:00
Jorik Schellekens
e254675287
Retain copyright
...
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2020-04-23 10:45:47 +01:00
Jorik Schellekens
abd94a65bd
Move compoenets/FontSlider to views/Slider
2020-04-23 10:45:47 +01:00
Jorik Schellekens
7c9df04d42
Use "Appearance" instead of "Style"
2020-04-23 10:45:47 +01:00
Jorik Schellekens
f1130ecba1
Linting. Finally set up my linter properly
2020-04-23 10:45:47 +01:00
Jorik Schellekens
8b72756b8d
Use the font slider
2020-04-23 10:45:47 +01:00
Jorik Schellekens
0faf7b865f
Set font option width
2020-04-23 10:45:47 +01:00
Jorik Schellekens
14551b1885
Hide font scaling behind labs
2020-04-23 10:45:47 +01:00
Jorik Schellekens
c1827925da
Use new style tab
2020-04-23 10:45:47 +01:00
Jorik Schellekens
269621ad24
Move theme settings to a new tab
2020-04-23 10:45:47 +01:00
Jorik Schellekens
42ec21f5bb
Tweak read receipt remainder text
2020-04-23 10:45:47 +01:00
Jorik Schellekens
c6bc0c7914
Fix read receipt horizontal spacing at scale
2020-04-23 10:45:46 +01:00
Jorik Schellekens
05d11fea69
Use a function to convert to rem.
2020-04-23 10:45:46 +01:00
Jorik Schellekens
1ff0f3445a
Fix pills.
...
This was a hard pill to swallow
2020-04-23 10:45:46 +01:00
J. Ryan Stinnett
4a0f228714
Merge pull request #4467 from matrix-org/travis/seshat-enable
...
Take encrypted message search out of labs
2020-04-23 10:21:58 +01:00
Michael Telatynski
a3f4244dc0
Merge pull request #4472 from matrix-org/t3chguy/complete_security_designs
...
Update login security copy and design to match Figma
2020-04-22 23:07:48 +01:00
Michael Telatynski
80b8120bc3
Update login security copy and design to match Figma
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 22:32:02 +01:00
Michael Telatynski
b10a386675
Fix i18n of SSO UIA copy in Deactivate Account Dialog
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 21:37:52 +01:00
Sergey Shpikin
ae3dcff230
Assert type of domNode as HTMLElement to fix build
...
Signed-off-by: Sergey Shpikin <rkfg@rkfg.me>
2020-04-22 22:03:33 +03:00
Agusti Bau
2471b3c100
Update src/components/views/settings/tabs/user/SecurityUserSettingsTab.js
...
Co-Authored-By: Michael Telatynski <7t3chguy@googlemail.com>
2020-04-22 20:03:22 +02:00
Agusti Bau
5163232081
Update src/components/views/settings/tabs/user/SecurityUserSettingsTab.js
...
Co-Authored-By: Michael Telatynski <7t3chguy@googlemail.com>
2020-04-22 20:03:13 +02:00
Travis Ralston
27138b33c0
Match settings paragraph style in all cases
2020-04-22 11:08:46 -06:00
Travis Ralston
3662c9e1c1
Appease the linter
2020-04-22 11:05:43 -06:00
Travis Ralston
fdcdd2529e
Take encrypted message search out of labs
...
Fixes https://github.com/vector-im/riot-web/issues/13262
This is part of the cross-signing shipping master plan. Known issues relating to this feature are:
* https://github.com/vector-im/riot-web/issues/12896
* https://github.com/vector-im/riot-web/issues/12385
* https://github.com/vector-im/riot-web/issues/11831
* https://github.com/vector-im/riot-web/issues/11155
In theory, these are issues we're comfortable with shipping as we're already enabling it by default. This just makes it easier on everyone by removing the flag (making it still enabled by default).
2020-04-22 10:58:11 -06:00
Agusti Bau
ff3272061c
Fixed linter errors
...
Signed-off-by: Agusti Bau <agustibau@gmail.com>
2020-04-22 17:19:03 +02:00
Agusti Bau
cd87124e0f
removed console logs
...
Signed-off-by: Agusti Bau <agustibau@gmail.com>
2020-04-22 17:19:03 +02:00
Agusti Bau
08bac716d5
Disabled unignore button when unignoring in process
...
Signed-off-by: Agusti Bau <agustibau@gmail.com>
2020-04-22 17:19:03 +02:00
Agusti Bau
47708ca127
Sync settings ignoredUsers with global state
...
Signed-off-by: Agusti Bau <agustibau@gmail.com>
2020-04-22 17:19:03 +02:00
Agusti Bau
7a42caa326
Fixed Unignore state variable naming missmatch
...
Signed-off-by: Agusti Bau <agustibau@gmail.com>
2020-04-22 17:19:03 +02:00
Michael Telatynski
ca3ddb3760
Merge pull request #4461 from matrix-org/t3chguy/register_email_not_possible
...
If user cannot set email during registration don't tell them to
2020-04-22 13:59:43 +01:00
Michael Telatynski
4bbd507e7a
If user cannot set email during registration don't tell them to
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-22 11:33:45 +01:00
Michael Telatynski
dd1f1b3092
Merge pull request #4452 from matrix-org/t3chguy/autocomplete
...
Convert autocomplete stuff to TypeScript
2020-04-22 10:20:24 +01:00
Zoe
cb84904638
Merge pull request #4455 from matrix-org/foldleft/devtool-verif-back
...
Add a back button to the devtools verifications panel
2020-04-22 10:15:05 +01:00
Travis Ralston
3a360b91b9
Update logging for unmanaged widgets, and add TODO comments for other areas
...
Just a minor thing that is bothersome. Renaming classes and functions is a bit more of an impact than is worth right now, so have settled for littering TODO comments all over the place.
2020-04-22 00:34:08 -06:00
Travis Ralston
d851f2e45f
Fix OpenID requests from widgets
...
Fixes https://github.com/vector-im/riot-web/issues/13131
Widgets can request an OpenID token to authenticate the user when the widget is missing authentication information. A common case for this is the Dimension sticker picker: sometimes the Riot is running in doesn't have the configuration to match the Dimension instance, so Riot rightly refuses to send an auth token to the widget. When this happens, it requests a token through postMessage().
There's a toggle on the permission dialog to remember the setting, which is the widget's security key. As an added measure, the security key generation ensures the widget URL matches as the 'remember this choice' toggle will silently work in the background, and it could be dangerous if the widget's URL changed and Riot secretly allows the widget to identify the user. This check was failing because the WidgetMessaging class was being set up with the rendered URL, which will not match the widget's URL at all. To fix this, we simply use the widget's URL to set up the messaging, which by proxy uses the right URL in calculating the security key.
2020-04-22 00:27:20 -06:00
Travis Ralston
f54e99c708
Use WidgetType more often to avoid breaking new sticker pickers
...
Turns out that setUserWidget() wasn't updated to take a real WidgetType, but the code in ScalarMessaging thought it did. This leads to integration managers trying to add sticker widgets with an object `type` rather than a string `type`, which doesn't work.
This updates other code paths which call into the various widget classes to use WidgetType more often. The actual code path for fixing widgets is resolved in WidgetUtils for the setUserWidget function body.
2020-04-21 16:01:10 -06:00
Michael Telatynski
fd10ab840e
undo unrelated change
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-21 18:10:47 +01:00
Michael Telatynski
65b3adfbe3
discard propTypes some more
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-21 18:08:01 +01:00
Michael Telatynski
598cf21684
discard propTypes.
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-21 18:01:23 +01:00
Bruno Windels
b8dd68dda2
wait until cross-signing keys are fetched to show verify button
2020-04-21 18:36:15 +02:00
Zoe
61c6c8de45
Add a back button to the devtools verifications panel
2020-04-21 16:27:31 +01:00
Michael Telatynski
bf891c85e8
Enable esModuleInterop and iterate PR
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-21 10:01:05 +01:00
Michael Telatynski
8398e83d33
add more type annotations
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-20 20:35:57 +01:00
Michael Telatynski
5c57b9ab9b
delint
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-20 19:04:55 +01:00