Commit Graph

121 Commits

Author SHA1 Message Date
manuroe 5bc4b58046 Settings: Use a generic wording when authentication flow is not supported 2019-10-24 15:40:07 +02:00
manuroe 271a0c3fa1 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 a72db35c5a ServiceTermsModal: Setup all the plumbery for the "Decline" button 2019-10-10 14:44:58 +02:00
manuroe 41cf04dab6 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 c423f5dda0 Settings/Discovery: Do not validate 3pid for unbind with MSC2290 2019-10-02 17:04:49 +02:00
manuroe 41f88a2953 Settings/Discovery: Fix stale state after getting an error 2019-10-02 14:56:48 +02:00
manuroe b2bc91c69e Settings/Discovery: Manage unbind 2019-10-02 10:57:36 +02:00
manuroe 107813e2fb Settings/Discovery: Use new threePidAddManager.cancel() 2019-10-02 09:54:08 +02:00
manuroe ba70c6093f 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 0d1b5c5cf8 SettingsVC: Use new threePidAddManager to add emails and phone numbers to HS account 2019-09-30 18:13:08 +02:00
manuroe eb57764c19 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 16e2a58301 Privacy: IS Settings: Disable correctly Add/Change buttons 2019-09-26 16:26:20 +02:00
manuroe f8929c3c44 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 a8e0fd74b4 Privacy: IS Settings: Change the IS to another one 2019-09-26 12:17:16 +02:00
manuroe 45e23c8c62 Privacy: IS Settings: Manage invalid IS 2019-09-26 11:00:28 +02:00
manuroe 74dcd0955a Privacy: IS Settings: Improve UITextField: placeholder, enter key, email keyboard 2019-09-26 11:00:21 +02:00
manuroe 0678e58e16 Privacy: IS Settings: Fix a swift api 2019-09-26 10:31:27 +02:00
manuroe 8805a03a9b Privacy: IS Settings: Manage invalid IS 2019-09-26 10:31:15 +02:00
manuroe 109810d2eb 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 450178f7ee Privacy: IS Settings: Present IS terms if needed 2019-09-25 18:04:10 +02:00
manuroe a53bdf3192 Privacy: IS Settings: Disconnect from the IS 2019-09-25 15:51:15 +02:00
manuroe 9ed6f05fd1 Privacy: IS Settings: Add an IS 2019-09-25 14:51:26 +02:00
manuroe 74f111b34e Privacy: IS Settings: Plug the UITextField to the model 2019-09-25 10:14:00 +02:00
manuroe fa0590901f Privacy: IS Settings: Finish theming 2019-09-24 15:34:31 +02:00
manuroe e88c184478 Privacy: Settings: Finish IS setting storyboard 2019-09-24 14:34:09 +02:00
manuroe 31d6c80442 Merge remote-tracking branch 'origin/privacy' into riot_2604 2019-09-23 16:52:06 +02:00
manuroe 4398371107 i18n: Prefer "Cancel" rather than "Abort" 2019-09-23 16:49:16 +02:00
manuroe 9b3fb928d4 Privacy: Settings: Plug the new SettingsIdentityServerViewController 2019-09-17 15:20:16 +02:00
manuroe 2d92213f39 Privacy: Settings: Add "IDENTITY SERVER" section 2019-09-17 14:33:28 +02:00
manuroe 4148591c53 Settings: Fix missing stopActivityIndicator 2019-09-17 10:37:57 +02:00
SBiOSoftWhare 311aaa946a Settings identity server: WIP. 2019-09-13 18:16:01 +02:00
manuroe 6c755cb6a6 SettingsVC: Fix crash 2019-09-13 11:27:35 +02:00
SBiOSoftWhare a026981990 Settings discovery: Display human readable phone numbers. 2019-09-12 14:56:54 +02:00
SBiOSoftWhare e2e86cbbca 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 c4caccfaeb 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 309388b9c1 Settings discovery: Handle new discovery section. 2019-09-10 20:36:45 +02:00
SBiOSoftWhare 458476cf55 Settings discovery: Implement settings table view discovery section. 2019-09-10 20:33:27 +02:00
SBiOSoftWhare 5d99e51b8b Settings discovery: Implement three pid details screen. 2019-09-10 20:27:41 +02:00
manuroe 4b4eaedbc6 Settings: Update the screen if IS is changed from another device
#2665
2019-09-05 12:22:18 +02:00
manuroe 5e292e590c Do not use anymore MXRestClient.credentials.identityServer 2019-09-05 12:16:31 +02:00
manuroe 25b48b0c54 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 ac1a897985 Privacy: Remove the bind true flag from 3PID adds in settings
#2650
2019-08-29 11:27:29 +02:00
manuroe ef767d4178 VoIP: Fallback to matrix.org STUN server with a confirmation dialog
#2646
2019-08-28 18:57:56 +02:00
manuroe 0fa42c251f 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 a5f7bece5b 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 81527d9cf3 Settings: Display device fingerprint with a space every 4 chars like other Riot apps 2019-08-26 18:03:26 +02:00
SBiOSoftWhare 713c55c089 SettingsViewController: Disable adding threepids if no IS configured. 2019-08-13 17:05:19 +02:00
SBiOSoftWhare d8a85d27a8 SettingsViewController: Use SingleImagePickerPresenter for profile avatar picture. 2019-08-02 17:27:49 +02:00
manuroe ef3a810379 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 5f9c4f1cc2 Push: Update code to follow API break
#2348
2019-07-16 14:42:25 +02:00