Major Changes:
- Added a settings screen (Click on the settings button on top-right to open settings popup).
- Backup data, Restore data and Signout options are located in settings screen.
- Added UI for mail feature.
- Fixed minor bugs in mail feature.
Backup and Restore features:
- Backup data: allows the user to download a backup file of the data (contacts, pubKeys, mails, messages).
- Restore data: allows the user to restore the data from a backup file.
Mail Feature:
- Users can send and receive mail to/from other users.
- Click the new mail at the bottom of the page to compose a new mail.
- Mails will be refreshed and retrived from supernode along with messages.
- Click on a mail to view the content of the mail.
- To view the previous mail of the sequel, click 'view previous mail' at the bottom right of the pop-up.
- To reply to a mail, click reply mail at the bottom of the pop-up.
Added:
- Adding Backup feature
- Adding Mail feature
Others:
- Rename sendUnencrypted to sendEncoded
- Moved sendEncrypted, sendEncoded and sendRaw to util.
- Added sendMessage to automatically determine the type to send
- Joined all load funtions into loadData
- Altered funtion calls as per the changes
floCloudAPI now stores the lastCommit value of the objects via requestObjectData, resetObjectData, updateObjectData
resetObjectData and updateObjectData now takes the new and old value from floGlobals.appObjects and lastCommit respectively
Parameter changes:
resetObjectData: function(objectName, options = {})
updateObjectData: function(objectName, options = {})
Adding Shamir's Shared Secret to floCrypto module
createShamirsSecretShares: create the shamirs secret shares
retrieveShamirSecret: retrives the secret from shares
verifyShamirsSecret: verify the shares with secret
Also adding randInt and randString to floCrypto module