Commit graph

4533 commits

Author SHA1 Message Date
onurays
5f788d962e Use AlertDialog from v7 compat lib. 2020-06-30 14:23:57 +02:00
onurays
2650453d4b Add room alias first before setting the canonical alias. 2020-06-30 14:23:57 +02:00
onurays
4d6ba5a491 Check permission before triggering history readability click action. 2020-06-30 14:23:57 +02:00
onurays
32721caf5a Code review fix. 2020-06-30 14:23:57 +02:00
onurays
ad084e1fec Use simple dialog for avatar selection. 2020-06-30 14:23:57 +02:00
onurays
512e4f0ce3 Create UCropHelper with default settings. 2020-06-30 14:23:57 +02:00
onurays
56f8e52352 Simplify uploading room and user avatar. 2020-06-30 14:23:57 +02:00
onurays
a93cbf3548 Lint fix. 2020-06-30 14:23:57 +02:00
onurays
e0e4cf3df1 Code review fixes. 2020-06-30 14:23:57 +02:00
onurays
16bd642ae8 Implementation of updating user avatar.
Fixes #1054
2020-06-30 14:23:57 +02:00
onurays
a03f69fb98 Check if user has enough power level to change room avatar. 2020-06-30 14:22:24 +02:00
onurays
8787f5d920 Remove room avatar item from room settings. 2020-06-30 14:22:24 +02:00
onurays
ef1ae4105b Change room avatar in BigImageViewer. 2020-06-30 14:22:24 +02:00
onurays
7f2ce91c82 Add camera and gallery options to set room avatar. 2020-06-30 14:22:24 +02:00
onurays
1f30cf468a Check if user have enough power level to change settings. 2020-06-30 14:22:24 +02:00
onurays
762dd1d0a5 Implementation of canonical alias. 2020-06-30 14:22:24 +02:00
onurays
f5790e5dc2 Implementation of room history readability. 2020-06-30 14:22:24 +02:00
onurays
e1a12f4c77 Show current history readability. 2020-06-30 14:22:24 +02:00
onurays
52eec06110 Updating room avatar is implemented. 2020-06-30 14:22:24 +02:00
onurays
a6e4a328b3 Chain all operations to save settings. 2020-06-30 14:17:19 +02:00
onurays
bfebaa5c6c Show/hide save action button dynamically. 2020-06-30 14:17:19 +02:00
onurays
05e848244e Room name and topic fields added to form. 2020-06-30 14:17:19 +02:00
Valere
c23819bfcf
Merge pull request #1489 from vector-im/feature/cross_sigining_evol
Feature/cross sigining evol
2020-06-29 17:27:25 +02:00
Valere
b0034f91b0 code cleaning 2020-06-29 16:37:22 +02:00
Valere
caa7709090 Fix copy of cancel bootstrap 2020-06-29 16:37:22 +02:00
Valere
51b7a0aeae Fix / device change detection broken 2020-06-29 16:37:22 +02:00
Valere
51228a3a5c Fix / settings showing bad options when xsigning not init 2020-06-29 16:37:22 +02:00
Valere
5c091339f0 Fix / bootstrap crosssigning only was not supported 2020-06-29 16:37:22 +02:00
Valere
6643923981 Fix/ pass not save in reauth after login 2020-06-29 16:37:22 +02:00
Valere
4ce2478e44 Fix 404 when uploading xsigning keys
Own device keys was not yet uploaded, now it's done on session open . + added some cleaning of legacy things
2020-06-29 16:37:22 +02:00
Benoit Marty
6131c10d31 Show a more appropriate error when user enter a wrong backup passphrase 2020-06-29 16:36:32 +02:00
Benoit Marty
8c5ec2c57f Restore color for the second phrase 2020-06-29 16:36:32 +02:00
Benoit Marty
e046d17bf2 Remove colored part, as user think they are links. 2020-06-29 16:36:32 +02:00
Benoit Marty
8e7166662b Handle back navigation Recovery backup -> Firstform
Also create BootstrapStep.GetBackupSecretForMigration.useKey() to reduce code duplication
2020-06-29 16:36:32 +02:00
Benoit Marty
3aaa425714 Handle back navigation SetupPassphrase -> Firstform 2020-06-29 16:36:32 +02:00
Benoit Marty
a66010a1d8 Create isCrossSigningInitialized(). Do not display the conclusion Fragment anymore 2020-06-29 16:36:32 +02:00
Benoit Marty
e9706a3b64 Update UI 2020-06-29 16:36:32 +02:00
Benoit Marty
a6e61f4de8 Add link 2020-06-29 16:36:32 +02:00
Benoit Marty
e758ede706 Revert "Remove BootstrapStep.SetupPassphrase and BootstrapStep.ConfirmPassphrase"
This reverts commit 23fa44b6a6a6d34b425e2c1adef4fd2beb9800a7.
2020-06-29 16:36:32 +02:00
Benoit Marty
957fe189dc Fix issue in dark theme and a11y 2020-06-29 16:36:32 +02:00
Benoit Marty
12a4f6f05b Create isRecoverySetup() 2020-06-29 16:36:32 +02:00
Benoit Marty
bcd78a96bf Add FIXME 2020-06-29 16:36:32 +02:00
Benoit Marty
f3b464b88a Bootstrap: Add an introduction step: BootstrapSetupRecoveryKeyFragment 2020-06-29 16:36:32 +02:00
Benoit Marty
369f40c804 Remove developer mode option to set up cross-signing 2020-06-29 16:36:32 +02:00
Benoit Marty
bddd7f4005 Use defined model (tested ok) 2020-06-29 16:36:32 +02:00
Benoit Marty
5434c39453 Change 2020-06-29 16:36:32 +02:00
Benoit Marty
e4ac28877c Ask user password to initialize CrossSigning
And migrate some logic to the ViewModel
2020-06-29 16:36:19 +02:00
Benoit Marty
8df7797f6d Remove BootstrapStep.SetupPassphrase and BootstrapStep.ConfirmPassphrase 2020-06-29 16:36:19 +02:00
Benoit Marty
aa2b62976e Fix bad comment 2020-06-29 16:36:19 +02:00
Benoit Marty
e3dc6e307f Gossip MSK 2020-06-29 16:36:19 +02:00