Page MenuHomePhabricator

[client-backup] implement initial backup protocol
ClosedPublic

Authored by kamil on Aug 29 2023, 2:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 15 2024, 8:44 AM
Unknown Object (File)
Nov 3 2024, 5:07 PM
Unknown Object (File)
Oct 27 2024, 4:09 PM
Unknown Object (File)
Oct 17 2024, 4:39 AM
Unknown Object (File)
Oct 1 2024, 1:52 PM
Unknown Object (File)
Sep 28 2024, 6:19 AM
Unknown Object (File)
Sep 27 2024, 11:27 PM
Unknown Object (File)
Sep 27 2024, 11:27 PM
Subscribers

Details

Summary

Function performing full backup.

Depends on D9000

Test Plan

Call uploadBackup function and make sure content was uploaded.

Diff Detail

Repository
rCOMM Comm
Branch
client-backup
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Aug 29 2023, 3:35 AM
native/backup/use-client-backup.js
44 ↗(On Diff #30484)

Nit: you can let this promise and the two above run simultaneously.

native/backup/use-client-backup.js
56 ↗(On Diff #30484)

Is this only temporary? Should we also add accessToken to the if at the beginning?

native/backup/use-client-backup.js
44 ↗(On Diff #30484)

I think only one above (getUserPublicKey) but you're right, I will update before landing

56 ↗(On Diff #30484)

it's temporary, I will update after CommAccessToken is available on native (and until it's ignored in services codebase)

This revision is now accepted and ready to land.Aug 30 2023, 7:04 AM

rebase

native/backup/use-client-backup.js
44 ↗(On Diff #30484)

addressed in D9074