Commit Graph

6199 Commits

Author SHA1 Message Date
ismailgulek 6856bbe088 Implement a workaround to delete some notifications afterwards
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-25 17:52:29 +03:00
ismailgulek e3159c2ab1 Fix Manu's comments
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-25 15:50:26 +03:00
ismailgulek 2830af7cd6 Create notification service extension
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 14:27:30 +03:00
SBiOSoftWhare 9b85a0bc17 EventFormatter: Fix text HTML rendering with DTCoreText (Fix #3241). 2020-05-22 12:14:03 +03:00
ismailgulek 2fe69b3e04 Show AuthenticationViewController fullscreen
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:12:56 +03:00
ismailgulek c07bcb2b6b Replace deprecated MPMoviePlayerController with AVPlayerViewController, fixes #3081
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:12:56 +03:00
ismailgulek 2b5a0942cf Change childViewControllers to viewControllers
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:12:46 +03:00
ismailgulek 3f472f89e9 Change overridden methods for status bar style
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:12:46 +03:00
ismailgulek bb0c7c0079 Change all navigation controllers to RiotNavigationController's
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:12:46 +03:00
ismailgulek 69c64adb75 Removed latest categories
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:10:58 +03:00
ismailgulek 8f2df22c52 Override preferredStatusBarStyle for missing pages and ensure setNeedsStatusBarAppearanceUpdate will be called
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:10:27 +03:00
ismailgulek eda16c3d03 Direct status bar hidden & style properties to children for UINavigationController, UITabBarController and UISplitViewController
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:08:16 +03:00
ismailgulek 8b22257532 Cleanup code moved from willDisappear to didDisappear, fixes #3065
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 12:05:45 +03:00
ismailgulek d402c389da Fix Steve's coment
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 11:52:06 +03:00
ismailgulek 5f21e86ce9 Make pushNotificationService a property
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 11:52:06 +03:00
ismailgulek 6de0649c96 Make PushNotificationService not singleton
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 11:52:06 +03:00
ismailgulek f83ca37a69 PushNotificationService implementation
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 11:50:45 +03:00
Riot Translate Bot 97a2eca036 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 37d7bfda32 version++ 2020-05-18 12:38:20 +02:00
ismailgulek 6632413d43 Adapt UIWebView changes to AuthenticationViewController, fixes #3057 2020-05-13 15:44:18 +03:00
manuroe 486cf7ad1f 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 64a5af36f1 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 eb48311a11 version++ 2020-05-08 08:00:17 +02:00
Riot Translate Bot e03c0f9987 Update from Weblate (#3222)
* 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/

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>
2020-05-08 07:57:07 +02:00
manuroe 425ed0f317 BF: App asks to verify all devices on every startup for no valid reason
#3221

We do not care about local trust. Only cross-sign status counts now
2020-05-08 07:52:33 +02:00
SBiOSoftWhare f579f91ec6 version++ 2020-05-07 18:11:16 +02:00
manuroe 0e6b93b276 Merge pull request #3211 from vector-im/riot_3182
Self verify my old riots
2020-05-07 16:08:32 +02:00
Riot Translate Bot 8e473f1bc0 Update from Weblate (#3212)
* 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/

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>
2020-05-07 16:08:04 +02:00
manuroe 716d3a1c7c Secrets: Requests cross-signing private keys again
if we are supposed to have them
2020-05-07 13:30:40 +02:00
manuroe 3fb63aa685 Secrets: On startup, request again private keys we are missing locally
This will mitigate unexpected state of cross-signing and backup.
2020-05-07 13:18:54 +02:00
SBiOSoftWhare fb7d86c22f Session verification: Cancel if device is not found. 2020-05-07 12:21:47 +02:00
SBiOSoftWhare 71fe7d2985 UserVerificationCoordinator: Integrate manually verify device screen. 2020-05-07 10:54:02 +02:00
SBiOSoftWhare 4ffd08250f Implement manually verify device screen. 2020-05-07 10:52:49 +02:00
SBiOSoftWhare 8e7b4471d5 Add convenient multiline UILabel height fix method. 2020-05-07 10:52:12 +02:00
manuroe f067682a13 RoomMemberVC: Make sure we have user keys to display the right trust level 2020-05-06 14:37:37 +02:00
manuroe 8834ea4b03 Cross-signing: The "Complete Security" button triggers a verification request to all user devices 2020-05-06 14:35:52 +02:00
manuroe 3b260c2192 UserVerificationSessionStatusView: Add verifyManually action 2020-05-06 09:45:55 +02:00
manuroe efb6e351c8 UserVerificationSessionStatusViewController: Add manually verify button 2020-05-05 18:27:36 +02:00
manuroe 8436acfda4 Wording: Use "Not trusted" as riot-web
Not trusted is also the term used on the screen that launches this one
2020-05-05 18:11:11 +02:00
SBiOSoftWhare eb4281ab86 Key verification: Update QR code scan screen UI and update title when scanning own sessions. 2020-05-05 15:45:00 +02:00
SBiOSoftWhare 6b1caed468 Remove some optional chaining. 2020-05-05 12:03:51 +02:00
SBiOSoftWhare f94f7a956e KeyVerificationSelfVerifyStartViewController: Show navigation bar if needed. 2020-05-05 11:51:22 +02:00
SBiOSoftWhare 73015e832e KeyVerificationDataLoadingViewController: Show navigation bar if needed. 2020-05-05 11:50:59 +02:00
SBiOSoftWhare e1c7fffaad Key verification: Update unverified sessions alert wording. 2020-05-05 09:39:47 +02:00
SBiOSoftWhare 4cb6964b8e MasterTatBarVC: Fix navigation stack issue when show security screen. 2020-05-05 09:17:47 +02:00
SBiOSoftWhare d21be63a92 Key verification: Display "Verify your other sessions" modal at every startup if needed. 2020-05-04 19:59:11 +02:00
SBiOSoftWhare 1bf21743a7 Make SettingsViewController directly instantiable. 2020-05-04 19:58:06 +02:00
Riot Translate Bot a67a935dd6 Update from Weblate (#3192)
* 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/

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: Kévin C <zecakeh@pm.me>
Co-authored-by: random <dictionary@tutamail.com>
2020-05-04 10:48:53 +02:00
SBiOSoftWhare 4032692b46 New sign in alert: Update wording. 2020-04-30 23:49:56 +02:00
SBiOSoftWhare e1ba68955b Merge branch 'develop' into riot_3183 2020-04-30 19:24:45 +02:00