Commit Graph

3576 Commits

Author SHA1 Message Date
manuroe aa33a85c19 SecurityVC: Add cross-signing reset. Stub things using test passwords 2020-06-19 09:32:27 +02:00
manuroe 9b3f4c1536 SecurityVC: Delete a secure backup 2020-06-19 08:00:22 +02:00
manuroe 2eefa541c4 SecurityVC: PoC for secure backup settings 2020-06-18 15:51:06 +02:00
manuroe e3a833d780 SecurityVC: Factorise cell buttons 2020-06-18 11:47:53 +02:00
SBiOSoftWhare 3e903ac85c Merge pull request #3342 from vector-im/riot_3124
Connect/restore backup created with SSSS
2020-06-17 17:13:59 +02:00
SBiOSoftWhare 43717c4150 SecurityVC: Connect/restore key backup created with SSSS. 2020-06-15 16:30:58 +02:00
SBiOSoftWhare 481925c2f9 Create SecretsRecoveryCoordinatorBridgePresenter. 2020-06-15 16:20:36 +02:00
SBiOSoftWhare ceeafee066 Secrets recovery: Restore only key backup on SecretsRecoveryGoal.keyBackup. 2020-06-15 16:19:44 +02:00
SBiOSoftWhare 6d82dd3c5d KeyBackupRecoverCoordinatorBridgePresenter: Add possibility to push key backup recover flow from a UINavigationController. 2020-06-15 16:18:05 +02:00
SBiOSoftWhare 19789f2f64 KeyBackupRecoverCoordinator: Handle existing navigationRouter if needed. 2020-06-15 16:14:31 +02:00
SBiOSoftWhare aff523db2f MXRecoveryService: Add convenient var to return SecretsRecoveryAvailability. 2020-06-15 16:12:58 +02:00
ismailgulek 32890b6b83 Check user in session before using userId 2020-06-12 15:07:26 +03:00
ismailgulek 3a7306a471 Get inviter from invite event instead of looping members 2020-06-12 14:36:58 +03:00
SBiOSoftWhare fdd474e9c5 Secrets recovery: Handle MXRecoveryService errors in recovery view models. 2020-06-11 16:55:44 +02:00
SBiOSoftWhare e349650f91 Secrets recovery: Update recovery with passphrase and recovery with key screens. 2020-06-11 13:21:47 +02:00
SBiOSoftWhare 655088a241 Secrets recovery: Add new images. 2020-06-11 13:20:07 +02:00
SBiOSoftWhare 8985a4a521 Fix Manu's remarks 2020-06-10 17:06:47 +02:00
SBiOSoftWhare d7b1e381fb Update Riot/Modules/SecretsRecovery/RecoverWithKey/SecretsRecoveryWithKeyViewController.swift
Co-authored-by: manuroe <manuroe@users.noreply.github.com>
2020-06-10 13:56:51 +02:00
SBiOSoftWhare 9c05792ec1 Update pbxproj 2020-06-09 17:38:26 +02:00
SBiOSoftWhare 2acb855714 KeyVerificationCoordinator: Handle secrets recovery flow from complete security. 2020-06-09 17:37:53 +02:00
SBiOSoftWhare 891264962c Complete security: Add recover secrets action. 2020-06-09 17:36:55 +02:00
SBiOSoftWhare fdd2541add Secrets recovery: Add SecretRecoveryCoordinator. 2020-06-09 17:15:37 +02:00
SBiOSoftWhare 4e37808040 Secrets recovery: Implement secrets recovery with passphrase screen. 2020-06-09 17:11:53 +02:00
SBiOSoftWhare 6433bcef0d Secrets recovery: Implement secrets recovery with recovery key screen. 2020-06-09 17:02:17 +02:00
SBiOSoftWhare 9c4fc713cb Add secrets recovery strings. 2020-06-09 16:50:36 +02:00
SBiOSoftWhare c353f2dd90 AppDelegate: Fix typo. 2020-06-05 12:47:50 +02:00
SBiOSoftWhare 80a3183099 Timeline: Hide undecryptable messages that were sent while the user was not in the room. 2020-06-04 17:31:23 +02:00
SBiOSoftWhare 636e681fbd SecurityVC: Remove MXCrossSigningStateCanCrossSignAsynchronously references. 2020-06-04 17:27:54 +02:00
manuroe 7db043d228 Authentication: Redirect webview (SSO) javascript logs to native logs 2020-06-03 14:01:39 +02:00
manuroe 9bf5e3a038 Cross-signing: Remove the bootstrap when using SSO
It needs to done differently
2020-06-03 12:23:46 +02:00
manuroe e2d9048eb3 Remove useless dispatch_async 2020-06-03 11:24:40 +02:00
manuroe 5cd3d37cee Cross-signing: Use a compilation flag while riot-web is not ready 2020-06-03 09:26:13 +02:00
manuroe 44a825c9aa Cross-Signing: Bootstrap when using SSO for registration
I have not tested it
2020-06-03 09:23:27 +02:00
manuroe dc7b67d909 Cross-signing: Bootstrap cross-sign on registration (and login if applicable)
#3292

This action is now invisible to the user.
2020-06-02 14:19:37 +02:00
SBiOSoftWhare be5f0fcf08 CountryPickerViewController: Handle UISearchController search bar theme. 2020-05-29 09:36:34 +02:00
SBiOSoftWhare 6f7803e6eb Fix some SwiftLint warnings. 2020-05-29 09:35:46 +02:00
SBiOSoftWhare bc9644a144 Merge pull request #3279 from vector-im/riot_2877
CallVC: Add improvements to reset callVC after decline, new call and hangup
2020-05-28 15:49:48 +02:00
SBiOSoftWhare c2d48946a7 Call: Improve new call observer in AppDelegate. 2020-05-27 16:02:39 +02:00
Riot Translate Bot 0d489d12df Update from Weblate (#3275)
* Translated using Weblate (French)

Currently translated at 100.0% (970 of 970 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (Italian)

Currently translated at 98.8% (958 of 970 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (French)

Currently translated at 100.0% (973 of 973 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (Italian)

Currently translated at 100.0% (973 of 973 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (973 of 973 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/hu/

* Translated using Weblate (French)

Currently translated at 100.0% (977 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (Albanian)

Currently translated at 99.4% (971 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/sq/

* Translated using Weblate (Italian)

Currently translated at 100.0% (977 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (977 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/hu/

* Translated using Weblate (Bulgarian)

Currently translated at 86.9% (849 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/bg/

* Translated using Weblate (Italian)

Currently translated at 100.0% (985 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (Albanian)

Currently translated at 99.4% (979 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/sq/

* Translated using Weblate (French)

Currently translated at 100.0% (985 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (German)

Currently translated at 93.2% (918 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/de/

* Translated using Weblate (German)

Currently translated at 93.2% (918 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/de/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 92.5% (911 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/zh_Hans/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (985 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/hu/

* Translated using Weblate (Latvian)

Currently translated at 4.4% (43 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/lv/

* Translated using Weblate (Basque)

Currently translated at 99.9% (984 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/eu/

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Kévin C <zecakeh@pm.me>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Szimszon <github@oregpreshaz.eu>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
Co-authored-by: Fridtjof Mund <fridtjofmund@icloud.com>
Co-authored-by: inthepan <inthepan@pm.me>
Co-authored-by: Lmath Alpha <l5h5t7@gmail.com>
Co-authored-by: Reinis Mednis <mednisreinis@gmail.com>
Co-authored-by: Osoitz <oelkoro@gmail.com>
2020-05-27 12:50:08 +02:00
SBiOSoftWhare 2e58932bf5 Merge branch 'call_view_controller' of https://github.com/Awesome-Technologies/riot-ios into riot_2877
# Conflicts:
#	CHANGES.rst
2020-05-27 12:47:00 +02:00
ismailgulek e0ff9e0003 Fix Steve's coment
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 11:52:06 +03:00
ismailgulek 986c948fd6 Make pushNotificationService a property
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 11:52:06 +03:00
ismailgulek b4cc0d9d18 Make PushNotificationService not singleton
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 11:52:06 +03:00
ismailgulek 20362491cb PushNotificationService implementation
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 11:50:45 +03:00
Riot Translate Bot bfc34ee0f6 Update from Weblate (#3256)
* Translated using Weblate (French)

Currently translated at 100.0% (970 of 970 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (Italian)

Currently translated at 98.8% (958 of 970 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (French)

Currently translated at 100.0% (973 of 973 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (Italian)

Currently translated at 100.0% (973 of 973 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (973 of 973 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/hu/

* Translated using Weblate (French)

Currently translated at 100.0% (977 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (Albanian)

Currently translated at 99.4% (971 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/sq/

* Translated using Weblate (Italian)

Currently translated at 100.0% (977 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (977 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/hu/

* Translated using Weblate (Bulgarian)

Currently translated at 86.9% (849 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/bg/

* Translated using Weblate (Italian)

Currently translated at 100.0% (985 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (Albanian)

Currently translated at 99.4% (979 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/sq/

* Translated using Weblate (French)

Currently translated at 100.0% (985 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (German)

Currently translated at 93.2% (918 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/de/

* Translated using Weblate (German)

Currently translated at 93.2% (918 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/de/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 92.5% (911 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/zh_Hans/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (985 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/hu/

* Translated using Weblate (Latvian)

Currently translated at 4.4% (43 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/lv/

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Kévin C <zecakeh@pm.me>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Szimszon <github@oregpreshaz.eu>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
Co-authored-by: Fridtjof Mund <fridtjofmund@icloud.com>
Co-authored-by: inthepan <inthepan@pm.me>
Co-authored-by: Lmath Alpha <l5h5t7@gmail.com>
Co-authored-by: Reinis Mednis <mednisreinis@gmail.com>
2020-05-18 17:08:50 +02:00
manuroe b2c4414433 version++ 2020-05-18 12:38:20 +02:00
ismailgulek fd04cb6b86 Adapt UIWebView changes to AuthenticationViewController, fixes #3057 2020-05-13 15:44:18 +03:00
manuroe 15e30b8e34 AuthenticationVC: Fix crash due to update to WKWebView
The crash was:

```
2020-05-11 17:53:44.125128+0200 Riot[60416:899392] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Configuration cannot be nil'
*** First throw call stack:
(
	0   CoreFoundation                      0x000000010b0e98db __exceptionPreprocess + 331
	1   libobjc.A.dylib                     0x0000000109d3dac5 objc_exception_throw + 48
	2   CoreFoundation                      0x000000010b0e9735 +[NSException raise:format:] + 197
	3   WebKit                              0x00000001080f112e -[WKWebView _initializeWithConfiguration:] + 88
	4   WebKit                              0x00000001080f35ab -[WKWebView initWithCoder:] + 131
2020-05-11 17:55:50 +02:00
Riot Translate Bot 606ee3ec83 Update from Weblate (#3234)
* Translated using Weblate (French)

Currently translated at 100.0% (970 of 970 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (Italian)

Currently translated at 98.8% (958 of 970 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (French)

Currently translated at 100.0% (973 of 973 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (Italian)

Currently translated at 100.0% (973 of 973 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (973 of 973 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/hu/

* Translated using Weblate (French)

Currently translated at 100.0% (977 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (Albanian)

Currently translated at 99.4% (971 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/sq/

* Translated using Weblate (Italian)

Currently translated at 100.0% (977 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (977 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/hu/

* Translated using Weblate (Bulgarian)

Currently translated at 86.9% (849 of 977 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/bg/

* Translated using Weblate (Italian)

Currently translated at 100.0% (985 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/it/

* Translated using Weblate (Albanian)

Currently translated at 99.4% (979 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/sq/

* Translated using Weblate (French)

Currently translated at 100.0% (985 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/fr/

* Translated using Weblate (German)

Currently translated at 93.2% (918 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/de/

* Translated using Weblate (German)

Currently translated at 93.2% (918 of 985 strings)

Translation: Riot iOS/Riot iOS
Translate-URL: https://translate.riot.im/projects/riot-ios/riot-ios/de/

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Kévin C <zecakeh@pm.me>
Co-authored-by: random <dictionary@tutamail.com>
Co-authored-by: Szimszon <github@oregpreshaz.eu>
Co-authored-by: Besnik Bleta <besnik@programeshqip.org>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
Co-authored-by: Fridtjof Mund <fridtjofmund@icloud.com>
Co-authored-by: inthepan <inthepan@pm.me>
2020-05-11 16:59:18 +02:00
manuroe b70c41b565 version++ 2020-05-08 08:00:17 +02:00