summaryrefslogtreecommitdiffhomepage
path: root/ios/MullvadVPN/SettingsManager
AgeCommit message (Collapse)AuthorFilesLines
2023-09-20Move settings into its own frameworkAndrej Mihajlov12-874/+0
2023-08-23implement in-app purchase in new account flowMojgan1-8/+0
2023-08-08Introduce MigrationManagerBug Magnet4-76/+21
2023-08-08Remove legacy settingsBug Magnet2-388/+5
2023-08-08Add a generic version of tunnel settingsBug Magnet6-112/+153
2023-07-21Fix the settings being reset when upgrading from 2023.3 or lowerBug Magnet1-1/+15
2023-07-12Implement redeeming voucher on creation accountMojgan1-0/+3
2023-06-27New swiftformat rule, enable google swift guidelinesBug Magnet7-22/+22
2023-06-08PacketTunnel: rotate private key on mismatch with serverAndrej Mihajlov3-59/+18
2023-05-22Reformat the code for Swift 5.8Andrej Mihajlov3-6/+6
2023-05-09Fix port selection algorithmJon Petersson1-1/+1
2023-04-28TunnelManager: add helper to simulate account expirationAndrej Mihajlov1-0/+13
2023-04-20Make device name capitalizeMojgan1-0/+4
2023-04-19Wipe all settings on reinstallJon Petersson1-24/+60
2023-04-19Persist next private key instead of creating it during each rotationAndrej Mihajlov1-0/+4
This should remedy issues where we overwhelm our infra with new keys on every rotation task retry.
2023-04-12Fix formatting issuesAndrej Mihajlov1-1/+1
2023-04-05Persist last key rotation date to determine next schedule rotationJon Petersson2-0/+19
2023-03-22Add coordinators and app routerAndrej Mihajlov2-0/+134
Fixes IOS-10
2023-02-28Replace OperationCompletion with ResultAndrej Mihajlov1-2/+4
Error is set to OperationError.cancelled if operation is cancelled.
2022-12-19Reconnect tunnel after migration from AppDelegateAndrej Mihajlov1-28/+44
2022-12-16Migration v1 -> v2: Log out user but migrate settings when we cannot match ↵Andrej Mihajlov1-35/+40
the pubkey with device
2022-11-28Throw ReadSettingsVersionError from readSettings()Andrej Mihajlov1-4/+11
2022-11-28Rename SettingsMigration to Migrations. Move Migration.swift one level upAndrej Mihajlov2-0/+0
2022-11-28Normalize errors returned by migrateStore() and reset store upon failureAndrej Mihajlov2-39/+124
2022-11-28Move logger to the topAndrej Mihajlov1-2/+2
2022-11-28Rename readLegacySettings to findAllLegacySettingsInKeychainAndrej Mihajlov1-3/+3
We have two methods with the same name but different return type.
2022-11-28Add OperationCompletion.get() helperAndrej Mihajlov1-34/+11
2022-11-28Store last used account in MigrationFromV1ToV2Andrej Mihajlov2-13/+12
2022-11-28Remove empty whitespaceAndrej Mihajlov1-2/+0
2022-11-28Add missing returnAndrej Mihajlov1-1/+1
2022-11-28Pass access group to KeychainSettingsStoreAndrej Mihajlov2-9/+12
2022-11-23Add version and migration to settings.sajacl7-99/+577
Introduced `KeychainFacade` as store reader/writer. Introduced `SettingsStorageMiddleware` for version handler and serialization wrapper. Introduced `SettingsManager.migrateStore` method for migration logic handler. Introduced migration protocol. Introduced `MigrationFromV1ToV2` for handling migration from legacy settings (v1) to v2. Introduced `MigrationFromUnversionedToV2` for handling migration from unversioned settings, to storing version (v2) alongside data.
2022-10-21Move KeychainError to MullvadTypesAndrej Mihajlov1-0/+1
2022-10-21Move common code into two new targets: RelaySelector, TunnelProviderMessagingAndrej Mihajlov2-0/+2
2022-10-20Move REST into separate frameworksajacl1-0/+1
2022-10-13Add MullvadTypes and MullvadLogging targetsAndrej Mihajlov1-1/+1
2022-09-26Replace ChainedError with WrappingErrorAndrej Mihajlov1-3/+3
2022-08-03Format source code with swiftformatAndrej Mihajlov3-23/+25
2022-08-01Add device stateAndrej Mihajlov2-82/+155
2022-05-30Introduce new settings manager and settings revision (v2)Andrej Mihajlov4-0/+444