Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send and receive backup over network using QR code #4007

Merged
merged 116 commits into from
Mar 19, 2023
Merged

Conversation

flub
Copy link
Member

@flub flub commented Feb 1, 2023

This adds functionality to send and receive a backup over the network using a QR code.

The sender or provider prepares the backup, sets up a server that waits for clients. It provides a ticket in the form of a QR code which contains connection and authentication information.

The receiver uses the QR code to connect to the provider and fetches backup, restoring it locally.

Status

This is ready for review and functions fully.

Tasks

Based on review comments these are the current tasks:

  • Use sibling of blob directory for sqlite export?
  • Check sendme size limits are suitable.
  • Make jsonrpc api blocking for the provider
    • Store the BackupProvider as state in the Context
    • Make provide_backup blocking, return a "handle"
    • Add api to get QR code using "handle"
  • Switch to released version of sendme iroh
  • Add text version of QR code the jsonrpc api.

flub added 7 commits February 1, 2023 16:45
This adds functionality to send and receive a backup over the network
using a QR code.

The sender or provider prepares the backup, sets up a server that
waits for clients.  It provides a ticket in the form of a QR code
which contains connection and authentication information.

The receiver uses the QR code to connect to the provider and fetches
backup, restoring it locally.
Cargo.lock Outdated Show resolved Hide resolved
flub added a commit to n0-computer/sendme-legacy that referenced this pull request Feb 14, 2023
This adds a generic utility which can be used to track progress of
data transfers by emitting progress via a tokio broadcast channel.

This is extracted from the deltachat PR:
deltachat/deltachat-core-rust#4007
@r10s r10s mentioned this pull request Mar 19, 2023
@link2xt link2xt merged commit 24856f3 into master Mar 19, 2023
@link2xt link2xt deleted the flub/send-backup branch March 19, 2023 15:22
@flub flub mentioned this pull request Mar 20, 2023
25 tasks
rklaehn pushed a commit to n0-computer/iroh-blobs that referenced this pull request Oct 22, 2024
This adds a generic utility which can be used to track progress of
data transfers by emitting progress via a tokio broadcast channel.

This is extracted from the deltachat PR:
deltachat/deltachat-core-rust#4007
rklaehn pushed a commit to n0-computer/iroh-blobs that referenced this pull request Oct 22, 2024
This adds a generic utility which can be used to track progress of
data transfers by emitting progress via a tokio broadcast channel.

This is extracted from the deltachat PR:
deltachat/deltachat-core-rust#4007
matheus23 pushed a commit to n0-computer/iroh-doctor that referenced this pull request Oct 22, 2024
This adds a generic utility which can be used to track progress of
data transfers by emitting progress via a tokio broadcast channel.

This is extracted from the deltachat PR:
deltachat/deltachat-core-rust#4007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants