Commit graph

396 commits

Author SHA1 Message Date
Doug
fbb228a1ae Configure identity server keyboard for safer URL entry. 2021-07-23 14:08:51 +01:00
manuroe
671f2118cc
Merge branch 'develop' into element_4090 2021-07-22 14:16:35 +02:00
Stefan Ceriu
0ead60f397 #4090 - Various tweaks and fixes following code review. Switched back to DateFormatters for formatting durations, sanitising audio player durations and current times. 2021-07-19 15:48:37 +03:00
Stefan Ceriu
089c6889d6 #4090 - Added voice messages switch to the labs section in settings. 2021-07-16 16:57:29 +03:00
Doug
2fb4bd3a17 Typo. 2021-07-15 18:24:02 +01:00
Doug
dae40a18a3 Drop use of deprecated currentUserNotificationSettings property in favour of UNUserNotificationCenter. 2021-07-15 18:23:36 +01:00
Doug
e2a9d3bb24 Fix class keyword deprecation warnings everywhere!
Using 'class' keyword for protocol inheritance is deprecated; use 'AnyObject' instead
2021-07-09 17:05:43 +01:00
Doug
8cd2bd4eda Fix SwiftLint warnings. 2021-07-02 17:13:45 +01:00
manuroe
3b180fc471 More cleaning 2021-06-16 18:03:46 +02:00
manuroe
eb06b6fa2f Cleaning 2021-06-16 16:11:32 +02:00
manuroe
838558afb3 Valide the 4S private key before using it 2021-06-16 15:31:39 +02:00
manuroe
71ea0f82a9 Fix build without compilation flag 2021-06-16 15:05:30 +02:00
manuroe
83f6a01156 Forgot to push this change. Thanks CI. 2021-06-16 14:40:29 +02:00
manuroe
a27dc11f5c Security settings: Reduce the number of secure backup section states 2021-06-16 13:52:27 +02:00
manuroe
e68c4653a3 Security settings: Improve the state of the secure backup section to be exhaustive 2021-06-16 13:38:23 +02:00
manuroe
115c65cae1 Security settings: Manage the case where the is a key backup but no secure backup 2021-06-16 12:25:01 +02:00
manuroe
ed7eb4edc6 Security settings: Manage the case when there is no secure backup 2021-06-16 11:50:50 +02:00
manuroe
5d526fdb82 Security settings: Display section description at the bottom
as before
2021-06-16 11:27:07 +02:00
manuroe
82639fcca0 Security settings: Offer to reset the secure backup when there is no key backup 2021-06-16 10:55:59 +02:00
manuroe
b84ea2bc92 Security settings: Add an option to reset the secure backup
It will overwrite the existing one if any
2021-06-16 09:53:31 +02:00
manuroe
ccf57359b3 Key Backup setup: Create the key backup using 4S if it exists 2021-06-16 08:18:23 +02:00
manuroe
110879b4e2 Secure backup: Allow to execute a random closure the secure backup is unlocked
Only from swift.
We should change the name "SecretsRecovery" classes
2021-06-16 07:50:18 +02:00
manuroe
8b94550c25 Security settings: Introduce a dynamic section for SECURE BACKUP
This is a copy from SettingsKeyBackupTableViewSection.
We need to get the current status of the key backup to be able to display right actions.
2021-06-15 19:22:54 +02:00
manuroe
7cc653a7c7 Security settings: Display the cross-signing section
like element-web.
2021-06-15 16:09:56 +02:00
manuroe
c970c07380 SecurityViewController: Fix crash
but this code is not used in production
2021-06-15 16:07:30 +02:00
J. Ryan Stinnett
668eb0be69 Tweak auto theme message
This updates the auto theme explanation to make it more obvious that it follows
the system theme when on iOS 13+.

Fixes https://github.com/vector-im/element-ios/issues/2860
2021-06-10 23:24:43 +01:00
ismailgulek
f07b76c030
Do not show the settings screen again while session closed 2021-06-03 13:21:01 +03:00
Stefan Ceriu
f7a8163947
Adopt consolidated logging mechanism (#4370)
* Adopted the new MXLog and replaced NSLog throughout the application - vector-im/element-ios/issues/4351
* Replaced NSLog() and print() usages with MXLog.debug()
* Added swiftlint rules for NSLog(), print(), println() and os_log()
* Escape paths used to run script build phases for swiftlint and swiftgen
2021-06-03 11:30:07 +03:00
ismailgulek
662bd96648
Update onTintColor 2021-06-01 17:24:17 +03:00
ismailgulek
678fc48b80
Merge branch 'develop' into voip_design_updates 2021-05-04 19:10:22 +03:00
Gil Eluard
ddd1a6b60e Show / hide NSFW and decrypted content options in Settings screen from build settings 2021-04-29 17:53:18 +02:00
ismailgulek
3162a5d720
Introduce enableRingingForGroupCalls and add a labs setting for it 2021-04-09 14:54:03 +03:00
ismailgulek
143a0aa853
Remove lab setting for Jitsi calls 2021-04-06 17:25:37 +03:00
Gil Eluard
9a5c66190c Make the application settings more configurable
- Update after review
2021-04-01 14:16:06 +02:00
Gil Eluard
140c834d1c Make the application settings more configurable 2021-03-31 19:04:00 +02:00
SBiOSoftWhare
e14a280b6c Settings: Add show NSFW public rooms toggle. 2021-03-03 16:32:05 +01:00
SBiOSoftWhare
a7bc32045b SettingsVC: Use mainSession property where needed. 2021-02-12 09:19:46 +01:00
SBiOSoftWhare
bc752cc2b6 Settings: Add UIA support when adding a new 3pid. 2021-02-11 15:06:29 +01:00
SBiOSoftWhare
763749f2ba ManageSessionVC: Handle user interactive authentication for delete device. 2021-02-11 15:06:29 +01:00
SBiOSoftWhare
2db49177ae Remove unused properties. 2021-02-11 15:06:29 +01:00
SBiOSoftWhare
57c3c0f44e SecurityVC: Use CrossSigningSetupCoordinatorBridgePresenter to setup cross signing. 2021-02-03 12:08:48 +01:00
SBiOSoftWhare
043867aa97 SettingsVC: Use CrossSigningSetupCoordinatorBridgePresenter to setup cross signing. 2021-02-03 12:08:26 +01:00
SBiOSoftWhare
1f0079a5c5
Merge pull request #3912 from vector-im/invite_friends 2021-01-13 09:19:11 +01:00
SBiOSoftWhare
86f8ccd659 Invite friends: Update invite friends action wording. 2021-01-12 18:14:52 +01:00
SBiOSoftWhare
cefe5f9d16 Invite friends: Add action to settings. 2021-01-11 18:26:06 +01:00
Gil Eluard
c9848307b9 Added change PIN code feature from the settings 2020-12-16 14:15:41 +01:00
manuroe
834cc7f41d Security screens: Update automatically shields when the trust changes. 2020-10-08 17:34:42 +02:00
SBiOSoftWhare
c6c470c092 Settings: Improve new phone number cell UI. 2020-10-01 12:26:02 +02:00
manuroe
34dbd7ea71 SecutirySettingsVC: Fix commented code that did not build 2020-09-29 17:08:06 +02:00
SBiOSoftWhare
d489cb17d7 SecurityViewController: Reload sections on settingsKeyBackupTableViewSectionDidUpdate call. 2020-09-28 17:22:43 +02:00
SBiOSoftWhare
755c0bb9b7 ManageSessionViewController: Update getLabelAndSwitchCell method. 2020-09-28 17:05:58 +02:00
SBiOSoftWhare
cc6a3a4679 SecurityViewController: Fix switch button touch event reuse issue. 2020-09-28 17:05:11 +02:00
SBiOSoftWhare
6dce9a3340 SecurityViewController: Improve null safety check for keybackup section cells. 2020-09-28 16:21:41 +02:00
SBiOSoftWhare
27f5938d5c
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
2020-09-28 15:44:07 +02:00
SBiOSoftWhare
3e0242e117 SecurityViewController: Makes table content easier to customize. 2020-09-28 14:25:21 +02:00
SBiOSoftWhare
1e6b0da7ca
Merge pull request #3603 from vector-im/reduce_warnings
Reduce Xcode warnings
2020-09-04 13:13:54 +02:00
SBiOSoftWhare
0274143ddf Remove code used before iOS 11. 2020-09-01 14:19:21 +02:00
SBiOSoftWhare
be0ceb1759 Remove old AppDelegate imports. 2020-08-31 19:38:06 +02:00
manuroe
e63efb3a01 Code Quality: Fix Stève's remarks 2020-08-26 08:32:07 +02:00
manuroe
a151bf4a91 Code Quality: Make sonar happier
by removing some code smells
2020-08-25 18:54:47 +02:00
ismailgulek
1e49b4c2cc Fix Steves remarks 2020-08-18 18:14:52 +03:00
ismailgulek
1976fc1906 Suppress warnings 2020-08-18 17:38:52 +03:00
ismailgulek
a52f27f77f Use TableViewSections in SettingsViewController 2020-08-18 17:32:31 +03:00
ismailgulek
18237a4dcc Make Row and Section Swift classes, introduce TableViewSections 2020-08-18 17:31:52 +03:00
ismailgulek
d4aea55583 Introduce hasAnyRows on Section 2020-08-18 12:54:45 +03:00
ismailgulek
7b6c8f0d63 Fix pin code cell selection 2020-08-12 13:17:59 +03:00
ismailgulek
d3c539d59e
Namespace some settings 2020-08-03 16:07:39 +03:00
manuroe
20209bfcfe BuildSettings: Integrate stunServerFallback 2020-07-31 08:49:30 +02:00
manuroe
1e51d5617f BuildSettings: Integrate legal URLs 2020-07-31 08:29:22 +02:00
ismailgulek
e7c51f7a2f
Avoid mutation of sections to avoid crashes 2020-07-30 18:21:53 +03:00
ismailgulek
7267da3f05
Add sanity checks 2020-07-30 18:13:25 +03:00
ismailgulek
f328a96716
fix copy/paste issue, thanks to @Manu 2020-07-30 18:12:51 +03:00
ismailgulek
2fff1dc5f8
Move Row and Section to individual classes 2020-07-30 18:09:30 +03:00
ismailgulek
a8ad34969f
All new settings moved to BuildSettings 2020-07-30 16:13:08 +03:00
ismailgulek
349cff564f Use matrixApps for allowIntegrations, will be moved later 2020-07-30 16:12:12 +03:00
ismailgulek
efc7a9eef4 Introduce allowBugReportingManually 2020-07-30 16:11:23 +03:00
ismailgulek
ba0cf5bd25 Refactor settings page to use new settings dynamicly 2020-07-30 16:11:05 +03:00
ismailgulek
8844931293
Add biometrics setup to security page 2020-07-24 17:54:44 +03:00
ismailgulek
a0ee83adae
Implement in settings 2020-07-21 16:17:13 +03:00
SBiOSoftWhare
35dd8a925c Theme: Update shrink buttons color. 2020-07-16 23:38:24 +02:00
SBiOSoftWhare
a504a8f8be Theme: Update disclosure indicator with theme color. 2020-07-16 23:16:11 +02:00
ismailgulek
2bc6f09a7f
Merge branch 'develop' into riot_3396 2020-07-16 13:10:29 +03:00
ismailgulek
996983c7ca
Merge branch 'develop' into riot_3389 2020-07-16 12:57:57 +03:00
ismailgulek
1d66fcacfa Merge branch 'develop' into riot_3396 2020-07-16 10:38:42 +03:00
ismailgulek
866fe96570 Merge branch 'develop' into riot_3389 2020-07-16 10:38:25 +03:00
ismailgulek
25478b7073 Merge branch 'develop' into fix_3401 2020-07-16 10:37:08 +03:00
ismailgulek
19e5dd5412
Scroll to next section if discovery is not ready yet, fixes #3401 2020-07-15 16:13:59 +03:00
ismailgulek
964cdd02a5
Fix crash 2020-07-14 17:19:41 +03:00
ismailgulek
d7bcef51d6
Remove lazy loading labs setting 2020-07-14 16:11:57 +03:00
SBiOSoftWhare
d1dfcaf33f Update plus icon. 2020-07-11 01:53:18 +02:00
SBiOSoftWhare
08045b6afd Checkboxes: Use theme tint color. 2020-07-09 18:58:44 +02:00
Ismail Gulek
34cc43edbb Read urls from defaults 2020-07-03 16:38:14 +03:00
ismailgulek
387cfb7787
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
#	Gemfile.lock
#	Riot.xcodeproj/project.pbxproj
#	Riot/SupportingFiles/Info.plist
#	RiotShareExtension/SupportingFiles/Info.plist
#	SiriIntents/Info.plist
2020-07-01 09:59:29 +03:00
manuroe
a9e677e538 SecurityVC: Update MY SESSIONS copy 2020-06-30 18:12:50 +02:00
manuroe
19db088bc2 Sign out: Make sure there is a secure backup 2020-06-30 18:00:56 +02:00
manuroe
16a292fd6e SecurityVC: Setup cross-signing on secure backup setup 2020-06-30 17:03:33 +02:00
manuroe
ec82325360 SecurityVC: 3 actions for secure backup: setup, synchronise, delete 2020-06-30 16:23:29 +02:00
manuroe
8f60ddc952 SecurityVC: Hide the cross-signing section 2020-06-30 15:56:05 +02:00
manuroe
72d3d944e5 SecurityVC: Secure backup replaces messages backup 2020-06-30 15:54:58 +02:00
manuroe
9e295ae6e6 Secure backup: Create and delete key backup with 4S 2020-06-30 14:02:47 +02:00
ismailgulek
ed9750e53f
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
#	Riot.xcodeproj/project.pbxproj
2020-06-26 17:33:09 +03:00
SBiOSoftWhare
48d2cae892 Fix merge issue with secure backup refactoring. 2020-06-26 14:36:27 +02:00
SBiOSoftWhare
6858bd85a5 Merge branch 'develop' into riot_3293
# Conflicts:
#	CHANGES.rst
#	Riot/Generated/Strings.swift
2020-06-26 14:30:21 +02:00
manuroe
bfdd061d67 SecurityVC: Start cleaning 2020-06-26 07:56:56 +02:00
manuroe
d8b09a8e42 Security: Plug UX for cross-signing setup
part of #3299
2020-06-26 07:42:37 +02:00
manuroe
26995effcb SecurityVC: Plug Secure Backup setup flow 2020-06-25 20:23:40 +02:00
manuroe
7f024a6236
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:17:04 +02:00
manuroe
37f69da7ec
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:16:51 +02:00
manuroe
1e564672c1
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:16:44 +02:00
manuroe
af3ca7c92b
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:16:32 +02:00
manuroe
f62e08778d
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:16:25 +02:00
manuroe
7b72eb59ba
Update Riot/Modules/Settings/Security/SecurityViewController.m
Co-authored-by: SBiOSoftWhare <SBiOSoftWhare@users.noreply.github.com>
2020-06-25 17:16:03 +02:00
manuroe
1aa1de5d1c SecurityVC: Use NEW_CROSS_SIGNING_FLOW to not break things 2020-06-24 11:43:50 +02:00
manuroe
82acfd106c SecurityVC: Add warning if we do not have the MSK 2020-06-24 11:43:50 +02:00
manuroe
3266076065 SecurityVC: Add Secure backup status 2020-06-24 11:43:41 +02:00
manuroe
21c2cdf430 SecurityVC: Add cross-signing reset. Stub things using test passwords 2020-06-19 09:32:27 +02:00
manuroe
294618935c SecurityVC: Delete a secure backup 2020-06-19 08:00:22 +02:00
manuroe
cfd7d27cb4 SecurityVC: PoC for secure backup settings 2020-06-18 15:51:06 +02:00
manuroe
f09a3f8069 SecurityVC: Factorise cell buttons 2020-06-18 11:47:53 +02:00
SBiOSoftWhare
81d533c434 SecurityVC: Connect/restore key backup created with SSSS. 2020-06-15 16:30:58 +02:00
ismailgulek
879461d4f0
Merge branch 'develop' into xcode11
# Conflicts:
#	CHANGES.rst
2020-06-05 16:00:24 +03:00
SBiOSoftWhare
22cd459a94 SecurityVC: Remove MXCrossSigningStateCanCrossSignAsynchronously references. 2020-06-04 17:27:54 +02:00
ismailgulek
cace654310
Fix PushKit references with their APNS correspondents 2020-06-01 16:30:57 +03:00
ismailgulek
85a119678c
Use APNS instead of PushKit, fixes #3291 2020-06-01 11:12:57 +03:00
ismailgulek
0d73c8dccf
Merge pull request #3268 from vector-im/remove_pushkit
Remove PushKit
2020-05-29 12:34:20 +03:00
SBiOSoftWhare
73ab5fe685 Merge branch 'develop' into xcode11 2020-05-29 09:51:51 +02:00
SBiOSoftWhare
1607a6f32b CountryPickerViewController: Handle UISearchController search bar theme. 2020-05-29 09:36:34 +02:00
SBiOSoftWhare
f1aae877bf SettingsVC: New phone number is invisible in dark theme (Fix #3218). 2020-05-28 18:49:48 +02:00
ismailgulek
ba50f47c6b
Remove some commented code
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-26 18:04:18 +03:00
ismailgulek
53bb87dafa
Create notification service extension
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-05-22 14:27:30 +03:00
ismailgulek
95767ba452 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
SBiOSoftWhare
c782826fce Make SettingsViewController directly instantiable. 2020-05-04 19:58:06 +02:00
manuroe
50ade944fc Security > Sessions: Display my unverified device with a red shield 2020-04-28 16:15:31 +02:00
manuroe
a7b61baab0 Security settings: Do not ask to complete security if there is no cross-signing
Fix #3147
2020-04-24 18:49:00 +02:00
ismailgulek
911eb38026
Merge pull request #3084 from vector-im/riot_3067
Consider Safe Area Insets for Some Screens
2020-04-23 20:56:58 +03:00
manuroe
203c4b4206 Security - CROSS-SIGNING: Use "Complete security" to fix cross-signing
Fix #3049
2020-04-23 17:31:49 +02:00
manuroe
bb92d57725 Settings - Security: Fix missing i18n 2020-04-23 17:29:58 +02:00
manuroe
eb0bea54c2 Settings - Security: Move down the key backup section
With cross-signing and SSSS, this section is less important.
2020-04-23 16:46:44 +02:00
SBiOSoftWhare
28ad87c3c3 SecurityViewController: Show current device cannot cross sign show all devices with black shield and present complete security on tap. 2020-04-23 15:50:01 +02:00
ismailgulek
58de3a7898
Some custom constraints on table view cells fixed for safe area
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-22 16:15:30 +03:00
ismailgulek
7852e5b34d
Merge pull request #3107 from vector-im/riot_2993
DeactivateAccountViewController theme, fixes #2993
2020-04-16 11:23:43 +03:00
manuroe
35bc453ef0 Remove LABS > Enable Cross-signing 2020-04-15 23:17:10 +02:00
ismailgulek
41625e2d0d
Update methods
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-15 20:02:13 +03:00
ismailgulek
737c5cff63
DeactivateAccountViewController theme, fixes #2993
Signed-off-by: ismailgulek <gulekismail@gmail.com>
2020-04-15 18:45:46 +03:00
manuroe
f947138148 Fix unexpected cast 2020-03-27 17:39:11 +01:00
manuroe
02db9e92d1 Security settings: Implement "Request (cross-signing private) keys" 2020-03-25 10:15:34 +01:00
manuroe
6a46a087e3 Security settings: Refresh cross-signing state on opening 2020-03-25 10:14:25 +01:00
manuroe
597763efe9 Security Screen: Update actions for cross-signing 2020-03-18 13:34:52 +01:00
manuroe
c23b48338d Security Screen: Use MXCrossSigning.state 2020-03-18 10:01:23 +01:00
manuroe
c50215dcd1 Security screen: Create a dedicated section for cross-signing
for future debug.
Reorder the screen a bit.
2020-03-12 11:21:47 +01:00