Commit Graph

2785 Commits

Author SHA1 Message Date
Benoit Marty 53053d8f4a Fix layout overlap issue (#1407) 2020-07-01 14:03:30 +02:00
Benoit Marty 4e3a948513 Cleanup 2020-06-30 19:12:50 +02:00
Benoit Marty 1ed8ff8711 Do some cleanup 2020-06-30 19:06:48 +02:00
Valere 7ed9f535e6 Fix / clear on detached 2020-06-30 18:48:51 +02:00
Valere 174084a256 added download animation 2020-06-30 18:48:51 +02:00
Valere ae1da6b9f5 Namespacing of file service 2020-06-30 18:48:51 +02:00
Valere 04b6b3674d Also Clear download cache when clearing media 2020-06-30 18:48:51 +02:00
Valere 4254db5cc0 fix rebase 2020-06-30 18:48:51 +02:00
Valere 86e5a45621 Fix save notification 2020-06-30 18:48:51 +02:00
Valere 397d4f0be5 Fix upload + cleaning 2020-06-30 18:48:51 +02:00
Valere 33698abfb2 Download and Open file securily 2020-06-30 18:48:51 +02:00
Valere 80e8cd4191 Downloaded (large?) files are truncated 2020-06-30 18:39:13 +02:00
Benoit Marty ba26aee54c Use OkHttpClient with certificate to download files, and to perform wellknown request, and to get terms 2020-06-30 18:27:39 +02:00
Benoit Marty 6721e33c7e cleanup 2020-06-30 18:25:36 +02:00
Benoit Marty 4bb804fbf7 Allow self-signed certificate (#1564)
Accepted fingerprint before the migration to RiotX should still work after the migration.
The dialog to trust the certificate is displayed during the login flow.
For the moment, it is not displayed if the certificate change on the server once the user is logged in. This use case will be handled later.
2020-06-30 18:25:36 +02:00
Benoit Marty 6e66c31911 Small cleanup 2020-06-30 18:07:39 +02:00
Valere a1ce245e3a Disable utd merge by default, issue with back paginate 2020-06-30 17:36:24 +02:00
Valere a9191b8fad klint 2020-06-30 17:36:24 +02:00
Valere cdb1b8d8f8 post merge fix 2020-06-30 17:36:24 +02:00
Valere 36de891451 E2e lab error display 2020-06-30 17:36:24 +02:00
Valere dbe78f160b WithHeld key support initial commit 2020-06-30 17:35:24 +02:00
Benoit Marty a6f4cd74d5
Merge pull request #1569 from vector-im/feature/fix_improve_epoxy
Feature/fix improve epoxy
2020-06-30 17:28:34 +02:00
Benoit Marty 962e11a740 Onuray's remark :) 2020-06-30 16:31:37 +02:00
Benoit Marty e658ef184d Fix issue with save action visibility 2020-06-30 16:18:56 +02:00
Benoit Marty da472ea858 Use name instead of computed displayName 2020-06-30 16:10:27 +02:00
Benoit Marty ff0b92272a Create RoomHistoryVisibilityFormatter 2020-06-30 16:01:07 +02:00
Benoit Marty cca6d0e967 Cleanup 2020-06-30 15:52:40 +02:00
onurays e0ea0c195b Hide save action after saving completed. 2020-06-30 14:23:57 +02:00
onurays b3d4d20195 Check permission before trying to reach Camera. 2020-06-30 14:23:57 +02:00
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 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 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 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 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 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 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 48a30a7b82 Create a ViewState for HomeActivity
And disable the popup - WIP
2020-06-29 16:36:19 +02:00
Benoit Marty 1365240f69 Cleanup 2020-06-29 16:36:19 +02:00
Benoit Marty 1cd27d7f67 First commit to cleanup ReAuthHelper and it's usage
Also add some comment and do some other cleanup
2020-06-29 16:36:19 +02:00
ganfra 84c8f9d351 Clean code 2020-06-29 16:08:45 +02:00
ganfra 7e703e4788 Epoxy: optimize some hashcode in timeline 2020-06-29 15:05:21 +02:00
Benoit Marty e599abc6ba
Merge pull request #1554 from vector-im/feature/op
Feature/op
2020-06-29 14:10:01 +02:00
Benoit Marty cec79fed44 Mutualize code 2020-06-29 11:00:40 +02:00
Benoit Marty 0ad2058a1a Prepare version 0.91.2-beta 2020-06-28 23:05:47 +02:00
ganfra 8972319a85 Handle typing through RoomSummaryMapper + fix room summary binding called too many times 2020-06-27 18:26:14 +02:00
Benoit Marty d436a7bad7 Increment version patch for a new release on the PlayStore 2020-06-27 00:14:32 +02:00
Benoit Marty 16a275529d Use temporary name `Riot.imX` 2020-06-27 00:14:32 +02:00
Benoit Marty 0ad493d860 Comment out `android.permission.READ_CALL_LOG` 2020-06-26 23:48:41 +02:00
Benoit Marty 30774957ba Handle `/nick` command (#12) 2020-06-26 23:40:23 +02:00
Benoit Marty 8a1a772ab7 Handle `/op` and `/deop` commands (#12)
Also when resetting power level, remove from list of user instead of setting the default value.
2020-06-26 23:31:19 +02:00
Benoit Marty 1c9907c5d2 Do not abort on error during lint check. 2020-06-26 21:08:41 +02:00
Benoit Marty a0a8f95d37 Create LegacySessionImporter class and import credentials - tested OK 2020-06-26 16:19:05 +02:00
Benoit Marty 7247b4471a Import a fix from Riot-android 2020-06-26 16:19:05 +02:00
Benoit Marty 6bce62a598 Update version code to 40_091_00x to upgrade Riot-Android 2020-06-26 16:19:05 +02:00
Benoit Marty 629c73e630 Change applicationId from "im.vector.riotx" to "im.vector.app" 2020-06-26 16:19:05 +02:00
ganfra f8452429a4
Merge pull request #1504 from vector-im/feature/improve_perf
Feature/improve perf
2020-06-25 17:00:56 +02:00
ganfra 1d3dbdf989 Remove unecessary code 2020-06-25 12:20:55 +02:00
ganfra 60c873aa66 Clean code 2020-06-25 12:12:50 +02:00
Benoit Marty 674fa0e5ce Fix bug when changing display name twice
And delete the static summary
2020-06-25 11:59:11 +02:00
ganfra f28e3ca504 Merge branch 'develop' into feature/improve_perf 2020-06-25 10:57:46 +02:00
Benoit Marty 7b3fa501c6
Merge pull request #1545 from johnjohndoe/sharedpreferences
Use SharedPreferences#edit extension function consistently.
2020-06-24 21:47:07 +02:00
Benoit Marty c0c300925d
Merge branch 'develop' into feature/fix_1543 2020-06-24 21:24:25 +02:00
Tobias Preuss e24785015d Use SharedPreferences#edit extension function consistently.
+ Add "androidx.core:core-ktx:1.1.0" to "matrix-sdk-android" module which
  was already used in "vector" module.
+ Sources: https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-preference-release/core/core-ktx/src/main/java/androidx/core/content/SharedPreferences.kt.
2020-06-24 15:40:00 +02:00
ganfra 554c37febe
Merge branch 'develop' into feature/fix_widget 2020-06-24 15:14:26 +02:00
Benoit Marty 94b5e4e2f8 User could not redact messages that he has sent (#1543) 2020-06-24 14:21:45 +02:00
Tobias Preuss 2f77deb0a8 Fix package name. 2020-06-24 10:58:47 +02:00