-
- Downloads
Multi-device support
- Add properties to Account: * deviceId: The id of the current device for this account * archivePassword: The password used to encrypt the account archive by the daemon * needsMigration: Whether or not this account needs to be migrated to the new archive format. * archivePin: The pin used to import the account from the Ring. - Add new methods to Account: * exportOnRing: Initializes an account export operation, returns True or false depending on whether the transaction was initialized successfully or not. exportOnRingEnded is emitted on operation completion. - Add a new model to Account: * RingDevicesModel: This models contains a list of known devices, their name, and their ID. For now, the name is just the short ID. Devices are added as they are discovered by the daemon. - Add a new method to AccountModel * accountsToMigrate: This methods returns a list of accounts that need migration. To the new archive format. Note: Migration to the new archive format is done like so: > account->setArchivePassword(password); > account->performAction(Account::EditAction::SAVE) - Add new signals to AccountModel: * knownDevicesChanged: emitted when the list of known Ring devices has changed. For example, it is emitted when the account is imported on a new device. * exportOnRingEnded: emitted after the operation initialized with exportOnRing has completed. The signal contains the status of the operation and the pin if the operation was a success. - Add new RegistrationState: * INITIALIZING: This state is used when the account is being created or imported from the Ring. Change-Id: I6cbbdd09bc368b76fe82eb4800fd87b6fdcc0aa7 Tuleap: #896
Showing
- CMakeLists.txt 5 additions, 0 deletionsCMakeLists.txt
- src/account.cpp 58 additions, 1 deletionsrc/account.cpp
- src/account.h 29 additions, 2 deletionssrc/account.h
- src/accountmodel.cpp 50 additions, 0 deletionssrc/accountmodel.cpp
- src/accountmodel.h 1 addition, 0 deletionssrc/accountmodel.h
- src/private/account_p.h 1 addition, 1 deletionsrc/private/account_p.h
- src/private/accountmodel_p.h 2 additions, 0 deletionssrc/private/accountmodel_p.h
- src/private/ringdevicemodel_p.h 40 additions, 0 deletionssrc/private/ringdevicemodel_p.h
- src/qtwrapper/configurationmanager_wrap.h 26 additions, 0 deletionssrc/qtwrapper/configurationmanager_wrap.h
- src/ringdevice.cpp 76 additions, 0 deletionssrc/ringdevice.cpp
- src/ringdevice.h 55 additions, 0 deletionssrc/ringdevice.h
- src/ringdevicemodel.cpp 140 additions, 0 deletionssrc/ringdevicemodel.cpp
- src/ringdevicemodel.h 51 additions, 0 deletionssrc/ringdevicemodel.h
- src/useractionmodel.cpp 24 additions, 24 deletionssrc/useractionmodel.cpp
Loading
Please register or sign in to comment