Commit Graph

4302 Commits

Author SHA1 Message Date
ganfra e1c6542e03
Merge branch 'develop' into feature/forward_pagination 2020-05-19 15:25:33 +02:00
ganfra 01484978bd Fix lint 2020-05-19 15:24:36 +02:00
ganfra cad14c93d0 Timeline: fix tests and add message order check 2020-05-19 14:39:42 +02:00
toastbroot ee52b9185b Translated using Weblate (German)
Currently translated at 99.4% (1672 of 1682 strings)

Translation: Riot Android/RiotX application
Translate-URL: https://translate.riot.im/projects/riot-android/riotx-application/de/
2020-05-19 09:33:16 +00:00
Valere 861a7f791f Update change log 2020-05-19 09:57:54 +02:00
Valere f2fa57224b Update matrix-sdk-android/src/main/java/im/vector/matrix/android/internal/crypto/verification/DefaultVerificationService.kt
Co-authored-by: Hubert Chathi <hubert@uhoreg.ca>
2020-05-19 09:55:45 +02:00
Valere e0977dd97b Add new key agreement protocol 2020-05-19 09:55:45 +02:00
Benoit Marty f47bef71a4
Merge pull request #1354 from vector-im/feature/identity
Identity server
2020-05-18 17:28:57 +02:00
Benoit Marty 92985fc8e7 Split long line 2020-05-18 17:25:15 +02:00
Benoit Marty 243b0a7d82 ktlint 2020-05-18 17:23:33 +02:00
Benoit Marty 92c719a803 Set identity server: do not show the error in the EditText when user want to use the default identity server 2020-05-18 17:23:33 +02:00
Benoit Marty f4108ae0eb Properly handle Loading state: button were still active... Also finish the work on the controller 2020-05-18 17:23:33 +02:00
Benoit Marty ecf3fee709 Integrate Valere's remarks - step 3: use viewModelScope in ViewModels 2020-05-18 17:23:33 +02:00
Benoit Marty e67e472025 Integrate Valere's remarks - step 2: Stop using (or at least reduce usage of) GlobalScope 2020-05-18 17:23:33 +02:00
Benoit Marty a6541481bf Integrate Valere's remarks - step 1 2020-05-18 17:23:33 +02:00
Benoit Marty 85a4f83662 Colorize the identity server url 2020-05-18 17:23:33 +02:00
Benoit Marty 22955e6b34 Use debouncedClicks every where, for faster UI (it uses throttleFirst operator instead of debounce) 2020-05-18 17:23:33 +02:00
Benoit Marty 9520aff848 Use debouncedClicks every where, for faster UI (it uses throttleFirst operator instead of debounce) 2020-05-18 17:23:33 +02:00
Benoit Marty 6b09a78ece Identity: Improve identity choice screen after review 2020-05-18 17:23:33 +02:00
Benoit Marty 789bcc8d77 Identity: Bugfix: do not fail when trying to disconnect the current identity server, if there is no token available 2020-05-18 17:23:33 +02:00
Benoit Marty 2914117a8e Move some classes 2020-05-18 17:23:33 +02:00
Benoit Marty 8049962a99 Create a Wellknown module, because both AuthModule and HomeServerCapability module need it 2020-05-18 17:23:33 +02:00
Benoit Marty 225b1c380e Identity: retrieve the default identity server url 2020-05-18 17:23:33 +02:00
Benoit Marty 60d80ea0ba Fix compilation issue after rebase 2020-05-18 17:23:33 +02:00
Benoit Marty c8211098f3 Identity: The store has to be migrated properly because it contains user's data 2020-05-18 17:23:33 +02:00
Benoit Marty e78fde4eca Identity: rename a few class and add a mapper to avoid using Entities in the code 2020-05-18 17:23:33 +02:00
Benoit Marty 59d60813fb Cleanup 2020-05-18 17:23:33 +02:00
Benoit Marty 4c31e52892 Add facilities and Javadoc on SessionParams data class 2020-05-18 17:23:33 +02:00
Benoit Marty c646fd2b36 ktlint 2020-05-18 17:23:33 +02:00
Benoit Marty 6432859732 Avoid code duplication 2020-05-18 17:23:33 +02:00
Benoit Marty 2beef7d816 Identity: fix issue with logout request.
Also disconnect previous set identity server when changing url, when disconnecting, and when deactivating account
2020-05-18 17:23:33 +02:00
Benoit Marty 623056455b Identity: fix rendering error 2020-05-18 17:23:33 +02:00
Benoit Marty 7a4d9370e3 Identity: human readable errors 2020-05-18 17:23:33 +02:00
Benoit Marty fe3138492e Identity: fix issue in dark theme 2020-05-18 17:23:33 +02:00
Benoit Marty 05a52164f3 Identity: Changelog and documentation 2020-05-18 17:23:33 +02:00
Benoit Marty d14f1dd1ab Capability: do not update data if the corresponding request fails 2020-05-18 17:23:13 +02:00
Benoit Marty 88e8c11ee5 Identity: protect against outdated homeserver 2020-05-18 17:23:13 +02:00
Benoit Marty 7afc7bdb31 Identity refresh main setting page. 2020-05-18 17:23:13 +02:00
Benoit Marty 84a3754c9f Confirm identity server disconnection in all cases, as Riot-Web does 2020-05-18 17:23:13 +02:00
Benoit Marty 4b2f8e9174 Auto-review 2020-05-18 17:23:13 +02:00
Benoit Marty a17932e17e Add missing `internal` 2020-05-18 17:23:13 +02:00
Benoit Marty 084c27a2bb Identity: cleanup 2020-05-18 17:23:13 +02:00
Benoit Marty ed2f62cbe7 Identity: ping API V2 and cleanup 2020-05-18 17:23:13 +02:00
Benoit Marty 38fb7185b6 Identity: One class per file 2020-05-18 17:23:13 +02:00
Benoit Marty ce42d2fb8a Identity: improve terms not signed case 2020-05-18 17:23:13 +02:00
Benoit Marty af3fc22e2d Identity: correctly handle terms update 2020-05-18 17:22:40 +02:00
Benoit Marty b659cb60a2 Improve code 2020-05-18 17:22:40 +02:00
Benoit Marty 34cf9903dc Improve code 2020-05-18 17:22:40 +02:00
Benoit Marty 062a21e39a Improve code 2020-05-18 17:22:40 +02:00
Benoit Marty 4510aff00a ktlint 2020-05-18 17:22:40 +02:00