Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge rust-fxa branch to master (#6328)
* First FxA Rust integrations steps (#6077) * restore use of fxa flow type arg (+4 squashed commits) Squashed commits: [c3769e1b9] Push is working!! [3ea28f833] hookup apns and disconnect account [a217e9e77] hookup device constellation [4e65ff129] initial hookup * hooked up sending tabs using the device list * Remove using optional RustFirefoxAccounts.shared * Add stub key migration code * Update syncUnlockInfo to use getAccessToken(scope: FxAOAuthScope.OldSync) * RustFirefoxAccounts.shared: guard against re-entrancy * update app services SHA * Use NSLock instead of objc_sync_enter * app-services v0.50.0 * patch cleanup * PlacesAPI.resetBookmarksMetadata() is gone, and there is a PlacesAPI.resetBookmarkSyncMetadata. * update Cartfile.resolved for protobuf 1.8.0 * Remove use of getAccount(), except in the sync case as that is in-progress * revert changes to Fennec xcscheme * wip legacy sync * Fix #6108: populate remote_devices table with new rust fxa component * hooked up webchannel for fxa login * Hookup account management. Hookup token migration * handle push messages for connect and disconnect * Migration of tokens on updating app * Show caution icon when migration failed, clear it when sign in to sync is shown * Hookup webchannel deleteAccount and changePassword. Hookup help viewer in FxAWebView * Fix migration bug: push notification re-registration is required * CWTS (#6124) Co-authored-by: Garvan Keeley <[email protected]> * Fix sync tabs not working, clients table not populated * hookup device deleted push notification * Remove force-unwraps in Profile sync code * Fix account disconnect when app in foreground. Fix re-login not registering APNS. * Hookup getTokenServerEndpointURL() * disable broken tests * Remove failing fxa push message test * Use Firefox iOS client ID for FxA * Set version to 23.1 for releasing a beta * Handle fxaccounts:logout message. * Add PushNotificationSetup.swift, and more FirefoxAccount removal * Setup china server URL for FxA * Fix #6201 - send to device from extension * fix broken test * Handle password change properly (#6205) * Fix #6182: China sync servers using wrong URL (#6213) * Fix #6211: app settings for sign-in was not loading the fxawebview (#6217) * Fix #6212: CWTS options in webview need to be reflected in native settings (#6219) * Fix #6212: CWTS options in webview need to be reflected in native settings * remove for loop * remove duplicate logout() calls * Fix #6221 and #6229: page dismissed after changing password * Fix #6207 - dismiss picker after send * Fix displaying tab sent notification (was accidentally unhooked) * Fix #6231 - Device picker not updating to latest list (#6238) * Fix #6231 - Device picker not updating to latest list * Avoid reloadData if the device list is unchanged * Use new FxAConfig.china() syntax * Remove FirefoxAccountSyncAuthState TODO for keychain storage (#6243) * Remove FxAContentViewController, replaced by FxAWebView * Add debugging info to push notification messages * Update the appmenu UI when fxaccount is ready * Add user profile caching for offline state * a-s lib to 0.54.1 * fix test breakage * getTokenServerEndpointURL() is now async * Add comments to new rust fxa code, split app delegate up for clarity (#6280) * Add comments to new rust fxa code * Split up app delegate for push notification handling, and sync sent tab handling * fix swift lint issues * address nits * disconnect was not deleting the cached user profile Co-authored-by: Edouard Oger <[email protected]>
- Loading branch information