Commit graph

457 commits

Author SHA1 Message Date
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
SBiOSoftWhare
43b4ab2800 Settings: Show information while loading devices list. 2020-02-10 10:51:30 +01:00
manuroe
02cd98d3fc
Merge pull request #2961 from vector-im/riot_2959
E2E: Do not warn anymore for unknown devices
2020-01-31 18:01:02 +01:00
SBiOSoftWhare
3ff40c59a2 Settings: Add session verification screens. 2020-01-31 17:46:16 +01:00
manuroe
178d6e5b97 E2E: Do not warn anymore for unknown devices
# 2959
2020-01-30 18:13:49 +01:00
manuroe
3219416f33 Settings > Security: Fix file name 2020-01-30 13:24:13 +01:00
manuroe
7daa6c917a Settings > Security: Fix Giom's remarks 2020-01-30 13:19:09 +01:00
manuroe
30359d42e0 Settings: More cleaning 2020-01-30 07:14:35 +01:00
manuroe
76541580a0 Settings: Remove code for things that have their own screen now 2020-01-30 07:12:05 +01:00
manuroe
af0a45ef54 Settings: Remove code for things that have their own screen now 2020-01-30 07:01:10 +01:00
manuroe
27149e06ef Settings > Security > Manage Session: Import delete device code block from the kit 2020-01-29 23:17:57 +01:00
manuroe
0267098ede Settings > Security > Manage Session: Import rename code block from the kit 2020-01-29 22:00:05 +01:00
manuroe
f136c714c6 Settings > Security: Add Manage Session screen 2020-01-29 21:09:15 +01:00
manuroe
d41fca982d Settings > Security: Debug: Add cross-signing information 2020-01-29 15:56:06 +01:00
manuroe
89a975481f Settings > Security: Display shields for devices 2020-01-29 10:58:37 +01:00
manuroe
6f3ae21797 Settings > Security: Sort out things to match the design 2020-01-29 09:10:22 +01:00
manuroe
7a2d3b4e07 Settings > Security: More cleaning 2020-01-28 23:27:45 +01:00
manuroe
9f9f74ec24 Settings > Security: More cleaning 2020-01-28 23:15:23 +01:00
manuroe
133e26af36 Settings > Security: Remove useless imported code 2020-01-28 22:05:11 +01:00
manuroe
ae3674b8ed Settings: Add a dedicated screen for Security 2020-01-28 21:09:51 +01:00
manuroe
a669f35fc6 Settings: LABS: Keep only one flag for cross-signing 2020-01-28 16:51:03 +01:00
manuroe
54a9ab88b8 Settings: Remove "End-to-End Encryption" from the LABS section
#2941
2020-01-27 17:30:09 +01:00
manuroe
3d7c468936 Cross-signing: Follow API change on MXDeviceInfo.trustLevel 2020-01-16 09:24:40 +01:00
manuroe
9892dfc9bc Settings: Hide cross-signing things from LABS for now 2019-12-11 09:03:36 +01:00
SBiOSoftWhare
abdee96de8 Settings: Add cross-signing and key verification by direct message switches in labs section. 2019-12-06 12:14:13 +01:00
manuroe
98354f24aa Settings: Have a toggle for using an integration manager
#2843
2019-11-21 15:43:04 +01:00
manuroe
aac9ac03d7 Settings: Use a generic wording when authentication flow is not supported 2019-10-24 15:40:07 +02:00
manuroe
26cc34a62e Settings: Add User-Interactive Auth for adding email and msidsn to user's account
vector-im/riot-ios#2744
2019-10-24 11:17:59 +02:00
manuroe
741f75347d ServiceTermsModal: Setup all the plumbery for the "Decline" button 2019-10-10 14:44:58 +02:00
manuroe
04ee482a0e Settings/Bind: Ask the user to validate the email again if they have not validated it yet
instead of displaying an error dialog.
This bug happened only with the new HS add and bind APIs (MSC2290) flow because new IS API returns only `M_UNKNOWN`.
2019-10-04 14:11:24 +02:00
manuroe
ce4c567d7f Settings/Discovery: Do not validate 3pid for unbind with MSC2290 2019-10-02 17:04:49 +02:00
manuroe
c118181f77 Settings/Discovery: Fix stale state after getting an error 2019-10-02 14:56:48 +02:00
manuroe
c74fa3fd5f Settings/Discovery: Manage unbind 2019-10-02 10:57:36 +02:00
manuroe
6e22c42e7a Settings/Discovery: Use new threePidAddManager.cancel() 2019-10-02 09:54:08 +02:00
manuroe
734551902c Settings/Discovery: Use new threePidAddManager to bind emails and phone numbers to HS account
All the migration logic with temporary flag is now in the SDK
2019-10-02 09:31:09 +02:00
manuroe
e256d36dfb SettingsVC: Use new threePidAddManager to add emails and phone numbers to HS account 2019-09-30 18:13:08 +02:00
manuroe
cc601bacd6 Privacy: IS Settings: Fix flow after terms has been accepted
##2736
I was using a HS access token for IS...
2019-09-26 17:39:50 +02:00
manuroe
9c65158184 Privacy: IS Settings: Disable correctly Add/Change buttons 2019-09-26 16:26:20 +02:00
manuroe
04a2b18282 Privacy: IS Settings: Factorise model flows so that the change action use both add and disconnect actions 2019-09-26 16:01:53 +02:00
manuroe
53214189f9 Privacy: IS Settings: Change the IS to another one 2019-09-26 12:17:16 +02:00
manuroe
ea36ee0f10 Privacy: IS Settings: Manage invalid IS 2019-09-26 11:00:28 +02:00
manuroe
7268992399 Privacy: IS Settings: Improve UITextField: placeholder, enter key, email keyboard 2019-09-26 11:00:21 +02:00
manuroe
6c68a4fdc3 Privacy: IS Settings: Fix a swift api 2019-09-26 10:31:27 +02:00
manuroe
ef778839a8 Privacy: IS Settings: Manage invalid IS 2019-09-26 10:31:15 +02:00
manuroe
d632e5a21e Privacy: IS Settings: Do not set the IS if terms are not accepted and show and error 2019-09-25 18:28:20 +02:00
manuroe
76a92f065d Privacy: IS Settings: Present IS terms if needed 2019-09-25 18:04:10 +02:00
manuroe
aff02aba1e Privacy: IS Settings: Disconnect from the IS 2019-09-25 15:51:15 +02:00
manuroe
8feb0dcde5 Privacy: IS Settings: Add an IS 2019-09-25 14:51:26 +02:00
manuroe
46702f11d3 Privacy: IS Settings: Plug the UITextField to the model 2019-09-25 10:14:00 +02:00
manuroe
9faddc70d4 Privacy: IS Settings: Finish theming 2019-09-24 15:34:31 +02:00
manuroe
fc2ee7130d Privacy: Settings: Finish IS setting storyboard 2019-09-24 14:34:09 +02:00
manuroe
9621b2dd30 Merge remote-tracking branch 'origin/privacy' into riot_2604 2019-09-23 16:52:06 +02:00
manuroe
baa61a2cb8 i18n: Prefer "Cancel" rather than "Abort" 2019-09-23 16:49:16 +02:00
manuroe
b6e8fb09bb Privacy: Settings: Plug the new SettingsIdentityServerViewController 2019-09-17 15:20:16 +02:00
manuroe
aa0d37e41e Privacy: Settings: Add "IDENTITY SERVER" section 2019-09-17 14:33:28 +02:00
manuroe
95175c960a Settings: Fix missing stopActivityIndicator 2019-09-17 10:37:57 +02:00
SBiOSoftWhare
bc38a31665 Settings identity server: WIP. 2019-09-13 18:16:01 +02:00
manuroe
67252e7756 SettingsVC: Fix crash 2019-09-13 11:27:35 +02:00
SBiOSoftWhare
48e1a381cb Settings discovery: Display human readable phone numbers. 2019-09-12 14:56:54 +02:00
SBiOSoftWhare
e17c3abdad Settings discovery: In three pid details screen, use same UX as email for phone number pending verification. 2019-09-12 12:01:28 +02:00
SBiOSoftWhare
e380108489 Settings discovery: In three pid details screen, display a pending verification alert on email validation. Use a fallback API mechanism in view model for older homeservers that do no support 3pid rebind. 2019-09-11 16:27:32 +02:00
SBiOSoftWhare
cb6db06141 Settings discovery: Handle new discovery section. 2019-09-10 20:36:45 +02:00
SBiOSoftWhare
532de2cb93 Settings discovery: Implement settings table view discovery section. 2019-09-10 20:33:27 +02:00
SBiOSoftWhare
78fc3182d8 Settings discovery: Implement three pid details screen. 2019-09-10 20:27:41 +02:00
manuroe
c44b1e841f Settings: Update the screen if IS is changed from another device
#2665
2019-09-05 12:22:18 +02:00
manuroe
35ec07d477 Do not use anymore MXRestClient.credentials.identityServer 2019-09-05 12:16:31 +02:00
manuroe
3d8f9f606c Privacy: Settings: Allow adding 3pids when no IS
#2659

And display an error if an IS is required
2019-09-03 16:35:18 +02:00
manuroe
7a6c4a8dc6 Privacy: Remove the bind true flag from 3PID adds in settings
#2650
2019-08-29 11:27:29 +02:00
manuroe
ba446465e5 VoIP: Fallback to matrix.org STUN server with a confirmation dialog
#2646
2019-08-28 18:57:56 +02:00
manuroe
78d7c99f39 Settings: CALLS section: Always display the CallKit option
as we are iOS 10 min now but grey it out when not available (only on China)
2019-08-28 17:01:38 +02:00
manuroe
b2bae552d3 Settings: Device section: Make clear that device names are publicly readable in a kind of a "section header" header
vector-im/riot-ios/issues/2662
2019-08-26 18:37:43 +02:00
manuroe
118ec78f23 Settings: Display device fingerprint with a space every 4 chars like other Riot apps 2019-08-26 18:03:26 +02:00
SBiOSoftWhare
fd2827220f SettingsViewController: Disable adding threepids if no IS configured. 2019-08-13 17:05:19 +02:00
SBiOSoftWhare
35d3ff1e6a SettingsViewController: Use SingleImagePickerPresenter for profile avatar picture. 2019-08-02 17:27:49 +02:00
manuroe
a5760bc770 BF: Crash when leaving settings due to backup section refresh animation.
The exception was:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid update: invalid number of rows in section 10.  The number of rows contained in an existing section after the update (0) must be equal to the number of rows contained in that section before the update (3), plus or minus the number of rows inserted or deleted from that section (0 inserted, 0 deleted) and plus or minus the number of rows moved into or out of that section (0 moved in, 0 moved out).'

To raise this exception:
- Execute the removed code after a delay (2s)
- Enter and leave the settings page
-> Crash
2019-07-29 17:31:07 +02:00
manuroe
8ecf5e73cc Push: Update code to follow API break
#2348
2019-07-16 14:42:25 +02:00
SBiOSoftWhare
436f501a91 LABS: Remove reaction settings, reactions are enabled by default. 2019-07-09 13:51:14 +02:00
manuroe
6866fe8e2c Reactions: Add a labs setting
#2441
2019-05-20 17:31:25 +02:00
SBiOSoftWhare
3da89a05ce Handle button title for restore action case in SettingsKeyBackupTableViewSection. 2019-04-25 16:10:22 +02:00
SBiOSoftWhare
cdede7fcce Merge develop into prepare_riot_2231 2019-04-25 15:59:32 +02:00
manuroe
cab15e7477
Merge pull request #2372 from vector-im/riot_2323
E2E: SAS Verification
2019-04-24 14:51:04 +02:00
J. Ryan Stinnett
b5ee4a6aa9 Clarify key backup details when backup exists but is not trusted
This ports the wording changes from Riot Web
https://github.com/matrix-org/matrix-react-sdk/pull/2917.

"Use key backup" as button text feels like it's telling me I haven't set it up
at all. This changes to "Connect this device ..." which seems more reassuring
and applies for both the "add to backup" and "restore from backup" use cases.

This also updates the backup status text for the case where a backup exists, but
it's not being used by the current device so that it's much more clear that you
have a backup at least.
2019-04-18 13:30:32 +01:00
manuroe
8a50ccb077 SettingsVC: Remove dead code using EncryptionInfoView 2019-04-17 08:57:16 +02:00
SBiOSoftWhare
5292d2cbaa Update SettingsKeyBackupTableViewSection to prepare restore button removal when all keys are stored on device. 2019-04-11 10:40:26 +02:00
SBiOSoftWhare
a40988fbc7 [SettingsViewController] Avoid some crashes when reload rows animated. 2019-04-10 14:50:47 +02:00
SBiOSoftWhare
f909043d15 Do not mention key backup on sign out when there is no keys to backup 2019-03-05 15:53:58 +01:00
SBiOSoftWhare
a4e2e6ee6f Fix SwiftLint warnings 2019-02-27 10:07:51 +01:00
manuroe
5517e45f4a Fix crash in Settings in 0.8.1
#2295
2019-02-25 16:00:47 +01:00
SBiOSoftWhare
f4aa2e66b4 Apply new lineBreakColor where needed 2019-02-18 12:53:13 +01:00
SBiOSoftWhare
28f9025c4c Update KeyBackupSetupCoordinator to handle coming from sign out info 2019-02-15 19:06:08 +01:00
SBiOSoftWhare
bcbb2f00d6 Fix sign out warning presentation on iPad 2019-02-15 12:42:07 +01:00
manuroe
84ec248a3e
Merge pull request #2246 from vector-im/settings_backup_update_copy
Backup settings: Update wording and rendering to match riot-web
2019-02-14 19:18:56 +01:00
SBiOSoftWhare
dfa6be548f Update SignOutAlertPresenter to handle backup in progress case 2019-02-14 18:06:37 +01:00
manuroe
d144db8ad7 Backup settings: Update wording and rendering to match riot-web
Verify button has been removed and replaced by "Use key backup", which makes a restore, because we trust on decrypt now.
2019-02-14 17:47:59 +01:00
SBiOSoftWhare
1decf99626 Handle sign out alert present present in SettingsViewController 2019-02-14 16:04:08 +01:00
SBiOSoftWhare
e8f58f301d Create a sign out alert presenter 2019-02-14 16:03:07 +01:00
manuroe
848ffe2bf7 Key backup: Check backup update on the homeserver
when opening the home or the settings screen in order to display the right banner and settings.
2019-02-06 17:34:16 +01:00
manuroe
33fd408d22 key backup settings: Fix Steve's comment 2019-01-31 21:22:10 +01:00
manuroe
c6c8c044ed key backup settings: Fix Steve's comment 2019-01-31 21:15:50 +01:00
manuroe
19e699a91d key backup settings: Manage checking state 2019-01-31 18:48:35 +01:00
manuroe
fe78e6b479 key backup settings: Manage backup created from the device 2019-01-31 18:41:00 +01:00
manuroe
94bd0bcb75 key backup settings: Make it look like more to https://github.com/vector-im/riot-meta/issues/251#issuecomment-458566684
2/2

Manage not trusted backup
2019-01-31 18:19:20 +01:00
manuroe
61f439eb55 key backup settings: Make it look like more to https://github.com/vector-im/riot-meta/issues/251#issuecomment-458566684
1/2
2019-01-31 16:58:41 +01:00
manuroe
f12fc71b4a key backup settings: Fix cell reuse mechanism 2019-01-31 15:45:43 +01:00
manuroe
0e91edb8e3 key backup settings: Make it display loading wheel and error 2019-01-31 10:19:27 +01:00
manuroe
0de85dd93c key backup settings: add delete confirmation dialog 2019-01-31 09:45:03 +01:00
manuroe
91861ef4df key backup: Add a dedicated section to settings
#2193

Still WIP
2019-01-31 03:06:47 +01:00
manuroe
c48856afde reskin: kill dead code around placeholderTextColor
#2174
2019-01-23 12:03:55 +01:00
manuroe
ac1cab56e4 BF: Ban and kick reasons are silently discarded
#2162

Fix Steve's remark everywhere we do `[self->currentAlert textFields].firstObject.text`
2019-01-23 11:01:53 +01:00
manuroe
9371f0e1cb reskin: kill riotColorRed & riotColorPinkRed
Merge them into Theme.warningColor

Part of #2174
2019-01-18 13:40:09 +01:00
manuroe
6e4a7224bf reskin: Kill KVO on theme setting 2019-01-14 10:53:43 +01:00
manuroe
6eeef644d3 reskin: Kill kRiotColorXxxx 2019-01-11 11:57:02 +01:00
manuroe
744208ae25 reskin: Create ThemeService.shared 2019-01-11 11:45:27 +01:00
manuroe
b3b6e2c80c reskin: Rename RiotDesignValues -> ThemeService 2019-01-11 10:46:00 +01:00
manuroe
bfa3eccacf reskin: kill last customisable kRiotXColors 2019-01-10 18:47:49 +01:00
manuroe
19ebc9317b reskin: kill headerTextSecondaryColor 2019-01-10 18:10:10 +01:00
manuroe
dfecc403ec reskin: kill kRiotSecondaryTextColor 2019-01-10 18:05:21 +01:00
manuroe
52869d8c05 reskin: kill kRiotPrimaryTextColor 2019-01-10 18:00:45 +01:00
manuroe
39ffac13b1 reskin: kill kRiotSecondaryBgColor 2019-01-10 17:57:17 +01:00
manuroe
21a9a7c9f3 reskin: kill kRiotPrimaryBgColor 2019-01-10 17:50:26 +01:00
manuroe
91e20b59a5 reskin: remove bar style ivars from RiotDesignValues 2019-01-10 17:08:32 +01:00
manuroe
5cf4eb0bdc reskin: Delegate navigation and search bars styling to theme 2019-01-10 16:43:03 +01:00
manuroe
eca85776a1 reskin: rename ColorValues to Theme 2019-01-10 15:32:59 +01:00
manuroe
6f30f88b03 reskin: ColorValues: suffix UIColor properties names with "Color" 2019-01-10 15:23:22 +01:00
manuroe
cecba319cf Merge remote-tracking branch 'origin/develop' into reskin
# Conflicts:
#	Riot/Constants/RiotDesignValues.m
#	Riot/Modules/Authentication/AuthenticationViewController.m
2019-01-10 11:50:57 +01:00
manuroe
d7c3eef632 Merge remote-tracking branch 'origin/develop' into reskin 2019-01-09 16:38:49 +01:00
fridtjof
c7fbca7698
make use of Obj-C's modern syntax for literals and subscripting 2019-01-08 00:24:11 +01:00
fridtjof
8291c99542
fix almost all the warnings caused by -Wstrict-prototypes 2019-01-05 03:28:53 +01:00
manuroe
5c3b5aceb4 Reskin: Apply RiotDesignValues.colorValues.accent on swith buttons 2018-12-03 18:02:02 +01:00
manuroe
a50c9f55b1 Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead 2018-11-30 17:10:28 +01:00
manuroe
6b1e5c6086 Reskin:Create [RiotDesignValues applyStyleOnSearchBar:] and use it 2018-11-30 15:57:19 +01:00
manuroe
6f98822179 Reskin: Use the new [RiotDesignValues applyStyleOnNavigationBar:] method everywhere
Note that we do not change anymore the bar tint color when changing tabs. This is alwasy the same.
2018-11-29 17:31:41 +01:00
manuroe
1108d8a1ac Reskin: RiotDesignValues: Make use of the new ColorValues 2018-11-29 16:20:20 +01:00
Giom Foret
3258e3abc1 MXImageView: use the new interface [setImageURI:...] instead of the deprecated one [setImageURL:...] .
Note - DirectoryServerTableViewCell:
Presently the thirdPartyProtocolInstance.icon is not a Matrix Content URI. We could not use here MXKImageView setImageURI method
 without breaking the instance icon rendering. We use the deprecated interface until this point is fixed on the server side.
2018-11-11 15:20:32 +01:00
Aaron Raimist
c0c1e8a1c6
Remove all calls of [NSUserDefaults synchronize] (#1924)
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-15 16:58:10 -05:00
manuroe
8be6f2957d SettingsVC: Use MXKAccount method to determine if LL is supported by the HS 2018-09-25 11:20:50 +02:00
SBiOSoftWhare
64bab44bfe Make advanced info copyable in settings 2018-09-06 11:32:55 +02:00
Dawid Raczka
559b089b2d Fix of cell style in different themes. 2018-08-24 16:09:00 +01:00
Dawid Raczka
86ba03660c Made data in cryptography info copyable. 2018-08-23 18:10:42 +01:00
manuroe
c3d224bf45 Lazy-loading: Make "Settings > LABS > Enable LL" back
It uses /versions this time to check LL availability on the HS
2018-08-22 12:05:29 +02:00