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

Self-hosted server sync #219

Merged
merged 855 commits into from
Jan 20, 2024
Merged

Self-hosted server sync #219

merged 855 commits into from
Jan 20, 2024
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Dec 16, 2023

  1. Configuration menu
    Copy the full SHA
    7d44a62 View commit details
    Browse the repository at this point in the history
  2. Remove obsolete trait.

    tmpfs committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    c753547 View commit details
    Browse the repository at this point in the history
  3. Revert type names.

    tmpfs committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    31eefc1 View commit details
    Browse the repository at this point in the history
  4. Move trait to sync module.

    tmpfs committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    10baeb6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b0e4918 View commit details
    Browse the repository at this point in the history
  6. Pass local account to merge_diff().

    So that the client-side merge will be able to replay events on the local
    account.
    tmpfs committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    ab0783c View commit details
    Browse the repository at this point in the history
  7. Rename field.

    tmpfs committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    eb87491 View commit details
    Browse the repository at this point in the history
  8. Tidy obsolete flags.

    tmpfs committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    bcf2430 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f31f15d View commit details
    Browse the repository at this point in the history
  10. Use Folder in ClientStorage.

    tmpfs committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    0c1fdc2 View commit details
    Browse the repository at this point in the history
  11. Unlock all vaults on sign in.

    tmpfs committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    7661e82 View commit details
    Browse the repository at this point in the history
  12. Improve handling of currently open folder.

    Use a Summary pointer not a Gatekeeper reference.
    tmpfs committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    52df2d0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f84be25 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    82a9b06 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7f0251a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    34454b3 View commit details
    Browse the repository at this point in the history
  17. Update Gatekeeper API functions.

    To be more consistent with function names in other types.
    tmpfs committed Dec 16, 2023
    Configuration menu
    Copy the full SHA
    633c401 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Move SyncStorage impl to Account.

    We need to merge events at the account level so may as well implement it
    there.
    tmpfs committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    899daf2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d429e1c View commit details
    Browse the repository at this point in the history
  3. Add diff() helper function.

    With a view to diff/merge test spec that does not perform any
    networking.
    tmpfs committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    d96f265 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e97b01f View commit details
    Browse the repository at this point in the history
  5. Prepare diff/merge test spec.

    tmpfs committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    671cee3 View commit details
    Browse the repository at this point in the history
  6. Make test spec fail.

    tmpfs committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    c7861fd View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    60cc08c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f559eed View commit details
    Browse the repository at this point in the history
  9. Improve diff/merge test specs.

    tmpfs committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    99a6abd View commit details
    Browse the repository at this point in the history
  10. Move diff/merge test specs.

    tmpfs committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    d15a18b View commit details
    Browse the repository at this point in the history
  11. Prepare to merge folders.

    tmpfs committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    e0e6647 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9c78c27 View commit details
    Browse the repository at this point in the history
  13. Add diff/merge test spec.

    tmpfs committed Dec 18, 2023
    Configuration menu
    Copy the full SHA
    55c6581 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    bc5b841 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ffe79a0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    27a70ec View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    cd2bb27 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    21bd2a4 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2023

  1. Restoring network test specs.

    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    2ef520d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f9361dc View commit details
    Browse the repository at this point in the history
  3. Support custom sync pause time.

    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    cfaff3c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3c3c75d View commit details
    Browse the repository at this point in the history
  5. Prune obsolete type alias.

    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    bf00511 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d11c0de View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d9ad5bc View commit details
    Browse the repository at this point in the history
  8. Use IndexMap for SyncStatus and SyncDiff.

    So that debugging with pretty_assertions is deterministic.
    
    Adds a little overhead but is worth it to immediately see the diff
    between local and remote sync status.
    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    50994fc View commit details
    Browse the repository at this point in the history
  9. Fix handling of server account events.

    So that the patch is checked.
    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    acbecf4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    00dc285 View commit details
    Browse the repository at this point in the history
  11. Improve backup/restore API.

    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    a812800 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    6633d97 View commit details
    Browse the repository at this point in the history
  13. Do not unlock folder when opening.

    We now unlock folders upon sign in or folder creation/import.
    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    b284ea4 View commit details
    Browse the repository at this point in the history
  14. Rename audit log flags type.

    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    a373570 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8fec507 View commit details
    Browse the repository at this point in the history
  16. Do not adapt encoding to files feature flag.

    Principle of least surprise.
    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    4a34e9c View commit details
    Browse the repository at this point in the history
  17. Rename type.

    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    0897707 View commit details
    Browse the repository at this point in the history
  18. Remove obsolete function.

    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    2c5d1a6 View commit details
    Browse the repository at this point in the history
  19. Prepare encoding for binary Ed25519 signature.

    Which we will use to verify devices for restricted services.
    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    2cd51f4 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    bfaad77 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    42a0f9a View commit details
    Browse the repository at this point in the history
  22. Tidy RpcClient fields.

    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    d467590 View commit details
    Browse the repository at this point in the history
  23. Use period to delimit account and device signatures.

    That are sent as Bearer in the Authorization header.
    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    8589f12 View commit details
    Browse the repository at this point in the history
  24. Pass BearerToken into Caller.

    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    418d2a7 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    b019c21 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    5b0fc57 View commit details
    Browse the repository at this point in the history
  27. Move service methods.

    So that private service methods are in the account service and
    restricted services are the device and sync services.
    tmpfs committed Dec 19, 2023
    Configuration menu
    Copy the full SHA
    478db43 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Prepare broadcast message.

    So we only send notifications to connected clients other than the
    caller.
    tmpfs committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    50b95b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a743ca View commit details
    Browse the repository at this point in the history
  3. Only broadcast to other connections.

    Based on the connection_id supplied by the websocket and the client
    implementations.
    tmpfs committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    b6b47ac View commit details
    Browse the repository at this point in the history
  4. Improve merge_account() on client side.

    Ensure we use a checked patch before updating state.
    tmpfs committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    8a41436 View commit details
    Browse the repository at this point in the history
  5. Restore websocket test specs.

    tmpfs committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    aa62454 View commit details
    Browse the repository at this point in the history
  6. Remove trait from backend implementation.

    Not going to add more backends to the reference implementation so no
    need for the abstraction.
    tmpfs committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    768dc26 View commit details
    Browse the repository at this point in the history
  7. Remove obsolete AuditConfig.

    This path is now handled by the server storage.
    tmpfs committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    0849a31 View commit details
    Browse the repository at this point in the history
  8. Ignore websocket test for now.

    tmpfs committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    b5a1b87 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    03572f4 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d0d8dc2 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b106440 View commit details
    Browse the repository at this point in the history
  12. Add test for initializing a new search index.

    After signing in to an account with secrets and checking we can find a
    document with the fresh search index.
    tmpfs committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    8c7e68f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    0008965 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7fec000 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    df1572f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9f826f3 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c913f95 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Supply access key from account on compact.

    Fixes one of the CLI test spec issues.
    tmpfs committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    f509ed5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5967e08 View commit details
    Browse the repository at this point in the history
  3. Do not re-write vault in backup restore.

    We now use Identity which will write the changes automatically for us.
    tmpfs committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    b077964 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b81d7d8 View commit details
    Browse the repository at this point in the history
  5. Fix bug with restoring from archive with files.

    When a .DS_Store file is present restoring the archive failed as we
    could not parse the file name to a UUID.
    tmpfs committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    e40f263 View commit details
    Browse the repository at this point in the history
  6. Tidy unused imports.

    tmpfs committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    4028cb4 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2024

  1. Configuration menu
    Copy the full SHA
    134c78d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    18d83b2 View commit details
    Browse the repository at this point in the history
  3. Initialize device event log.

    So that the current device is created as a trusted device when the
    device event log is empty which makes the device event log backwards
    compatible with existing accounts.
    tmpfs committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    bb13e35 View commit details
    Browse the repository at this point in the history
  4. Prepare device reducer.

    tmpfs committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    403b212 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3ae5fb9 View commit details
    Browse the repository at this point in the history
  6. Prepare device event log in server storage.

    Fix failing migrate unit test.
    tmpfs committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    845ed91 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b5e55cd View commit details
    Browse the repository at this point in the history
  8. Remove device backend service.

    tmpfs committed Jan 6, 2024
    Configuration menu
    Copy the full SHA
    4f46116 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d3445fd View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    992a575 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2024

  1. Configuration menu
    Copy the full SHA
    7378f11 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e6622e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ae5636 View commit details
    Browse the repository at this point in the history
  4. Improve file identity checks.

    tmpfs committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    8c77a5c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d0f5680 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    13d4f57 View commit details
    Browse the repository at this point in the history
  7. Use BTreeMap in DeviceMetaData.

    So that JSON serialization is deterministic otherwise the commit hashes
    will differ.
    tmpfs committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    ffceed0 View commit details
    Browse the repository at this point in the history
  8. Encode device diff information.

    Fix bug with not calling load_tree() on the server-side device event
    log.
    tmpfs committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    b1458a5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5a7f0cd View commit details
    Browse the repository at this point in the history
  10. Sketching device enrollment.

    tmpfs committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    137d560 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d8b64c3 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2171675 View commit details
    Browse the repository at this point in the history
  13. Move change_set() to SyncStorage trait.

    As we also need it on the server side to fetch account data when
    enrolling a new device.
    tmpfs committed Jan 7, 2024
    Configuration menu
    Copy the full SHA
    124c995 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    166e553 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    fbe865c View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2024

  1. Configuration menu
    Copy the full SHA
    b77fe70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27673fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9054b6d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3fc6b99 View commit details
    Browse the repository at this point in the history
  5. Fix bug with event log truncate.

    Ensure we write the version information in truncate() when an event log
    has a version number.
    tmpfs committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    59117ad View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a786cfb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    da7fcff View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    cc148c6 View commit details
    Browse the repository at this point in the history
  9. Add test spec for revoking a device.

    The device enroll/revoke test specs must be separate executables as we
    use a OnceCell for the device signing key and if they are not separate
    executables the device signing key will be re-used causing the tests to
    fail.
    tmpfs committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    1586f7a View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    b6dcccb View commit details
    Browse the repository at this point in the history
  2. Include files in Comparison.

    tmpfs committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    f3d57ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23ba6d8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0d0380f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ac2dc56 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Prepare to stream files to the server.

    Rough sketch of the client API for sending files.
    tmpfs committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    329ad86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e60a264 View commit details
    Browse the repository at this point in the history
  3. Improve server files endpoints.

    tmpfs committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    2827d2f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c865f35 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    98431ca View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2024

  1. Configuration menu
    Copy the full SHA
    fcaaee7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    17a0be7 View commit details
    Browse the repository at this point in the history
  3. Rename trait method.

    tmpfs committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    b32d416 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    79c50e0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bb5fccc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6ee69a1 View commit details
    Browse the repository at this point in the history
  7. Sketch file transfer types.

    tmpfs committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    37654be View commit details
    Browse the repository at this point in the history
  8. Add persistence to Transfers.

    Write out the queue as a JSON document.
    tmpfs committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    7b0eec3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fc5fe7c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6456757 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7f6f7cf View commit details
    Browse the repository at this point in the history
  12. Improve Transfers constructor.

    So that it initializes a transfers queue on disc from the state of the
    account external files when a transfer queue cache does not already
    exist.
    tmpfs committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    77b994d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e32ecb6 View commit details
    Browse the repository at this point in the history
  14. Write to transfers queue.

    tmpfs committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    80efc53 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2024

  1. Prepare FileTransfers logic.

    tmpfs committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    e7d78e8 View commit details
    Browse the repository at this point in the history
  2. Hack for http library incompatibility.

    Axum is now shipping with http@1 and reqwest still uses http@0.2 so this
    bridges the gap for now.
    
    Later, once reqwest ships with http@1 we can remove the
    convert_status_code() hack.
    tmpfs committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    129a947 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e21c09c View commit details
    Browse the repository at this point in the history
  4. Tidy obsolete error variants.

    tmpfs committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    9101e9a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    761d841 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ef2cbca View commit details
    Browse the repository at this point in the history
  7. Test spec for uploading a file.

    tmpfs committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    abff0a2 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. Configuration menu
    Copy the full SHA
    704d85b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    be2c8da View commit details
    Browse the repository at this point in the history
  3. Tidy signed_data for file client requests.

    Use the new Display implementation.
    tmpfs committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    2cd831e View commit details
    Browse the repository at this point in the history
  4. Prefer IndexSet in Transfers.

    tmpfs committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    ea94424 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c132ee1 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    48a0c9c View commit details
    Browse the repository at this point in the history
  7. Update status code.

    tmpfs committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    25ca78e View commit details
    Browse the repository at this point in the history
  8. Rename reducer type.

    tmpfs committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    605bae1 View commit details
    Browse the repository at this point in the history
  9. Prepare file reducer.

    So that we can compute which external files need to be downloaded after
    merging file events.
    tmpfs committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    d196cb7 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    3a0eb38 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6426f77 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    1cbeb23 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    08bd465 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1705ab6 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8f57f6f View commit details
    Browse the repository at this point in the history
  16. Tidy serde for transfers persistence.

    Stop file transfers on sign out.
    tmpfs committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    244422e View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. Configuration menu
    Copy the full SHA
    1ea12ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6aa73bd View commit details
    Browse the repository at this point in the history
  3. Improve file transfer test specs.

    Use a NetworkAccount for the tests and prepare for more file transfer
    scenarios.
    tmpfs committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    d01e4b8 View commit details
    Browse the repository at this point in the history
  4. Refactor Origin type from enum to struct.

    Prepare multiple server file transfers test spec.
    tmpfs committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    c8332e5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    40d0b95 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d906b1c View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2024

  1. Improving offline multi file transfer specs.

    Still some issues with DirectoryNotEmpty in teardown and deadlock when
    offline_multi test specs run together.
    tmpfs committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    7e7936b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    964f89d View commit details
    Browse the repository at this point in the history
  3. Fix file transfer test specs.

    tmpfs committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    b567253 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab7d8f3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8d23896 View commit details
    Browse the repository at this point in the history
  6. Add file transfer test specs.

    tmpfs committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    d843024 View commit details
    Browse the repository at this point in the history
  7. Add file transfer test spec.

    tmpfs committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    43a2f11 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2024

  1. Tidy test helper functions.

    tmpfs committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    eee0b83 View commit details
    Browse the repository at this point in the history
  2. Start to prepare new Account trait.

    So that we can reduce duplication in the test helper functions.
    tmpfs committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    02e0196 View commit details
    Browse the repository at this point in the history
  3. Improve Account trait.

    tmpfs committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    630b145 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ad8056 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    08eaa04 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d970e3f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2494f5a View commit details
    Browse the repository at this point in the history
  8. Tidy doc comments.

    tmpfs committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    d3f35df View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    224ed50 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    591a1f0 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    9cb675e View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    77452c0 View commit details
    Browse the repository at this point in the history
  13. Move functions to Account trait.

    Comment out unused CommitRelationship.
    tmpfs committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    21a1b60 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    56369d6 View commit details
    Browse the repository at this point in the history
  15. Tidy CommitHash impl.

    tmpfs committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    5c6d942 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2024

  1. Configuration menu
    Copy the full SHA
    54fde04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dbdc241 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    34a6828 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9496d30 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5d331fc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    315694a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d905f52 View commit details
    Browse the repository at this point in the history
  8. Tidy obsolete Origin re-export.

    tmpfs committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    eb0fe77 View commit details
    Browse the repository at this point in the history
  9. Use diff in file reducer when target commit.

    Which will be faster than scanning when there are lots of file events in
    the log as diff() searches from the tail of the event log.
    tmpfs committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    1fecb05 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a9411ec View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    03b8f7c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4af50ae View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    9e5af7f View commit details
    Browse the repository at this point in the history
  14. Tidy paths handling.

    Removes the public field from LocalAccount.
    tmpfs committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    ec90f2f View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    f4118ad View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    11f6637 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    aea5b69 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    571234a View commit details
    Browse the repository at this point in the history
  19. Bump minor versions.

    tmpfs committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    d8b0b34 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    a58970d View commit details
    Browse the repository at this point in the history
  21. Prefer workspace dependencies.

    Remove direct dependency on subtle.
    tmpfs committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    be26747 View commit details
    Browse the repository at this point in the history
  22. Update toml dep.

    tmpfs committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    ab09d88 View commit details
    Browse the repository at this point in the history
  23. Update workspace dependencies.

    tmpfs committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    dac7991 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    3a577e9 View commit details
    Browse the repository at this point in the history
  25. Remove local_account() function.

    Callers should just use the API exposed via Account.
    tmpfs committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    fbbe21f View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2024

  1. Use Merge trait.

    tmpfs committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    7a42806 View commit details
    Browse the repository at this point in the history
  2. Tidy conversion to AccountRef.

    Use From trait instead of account_ref().
    tmpfs committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    a2c06c3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a1843f2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4cff54e View commit details
    Browse the repository at this point in the history
  5. Expose trusted_devices() in Account.

    Add test spec for set_folder_description().
    tmpfs committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    35cd587 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cd3dd9c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c3dd735 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6eb8384 View commit details
    Browse the repository at this point in the history
  9. Remove obsolete AccountService.

    tmpfs committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    f0f3983 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f02d741 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a6517f9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    df4dfd8 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    a3250fc View commit details
    Browse the repository at this point in the history
  14. Change client struct name.

    tmpfs committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    153a553 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    db1450a View commit details
    Browse the repository at this point in the history
  16. Consistent signing for file endpoints.

    Always sign the URL path.
    tmpfs committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    5245cc1 View commit details
    Browse the repository at this point in the history
  17. Fix compilation with PhantomData when no sync feature.

    We need to handle the generic when the `sync` feature is not enabled so
    use std::marker::PhantomData.
    tmpfs committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    fe39478 View commit details
    Browse the repository at this point in the history
  18. Use nested service in server.

    Start tidying the HTTP client implementation.
    tmpfs committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    a16341e View commit details
    Browse the repository at this point in the history
  19. Fix imports.

    tmpfs committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    b936615 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Initial OpenAPI definition.

    tmpfs committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    6e008af View commit details
    Browse the repository at this point in the history
  2. Improve OpenAPI definitions.

    tmpfs committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    e145641 View commit details
    Browse the repository at this point in the history
  3. Use binary encoding for SyncStatus.

    So that the API is consistent.
    tmpfs committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    c48ac77 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1351e90 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    baa8fac View commit details
    Browse the repository at this point in the history
  6. Tidy server routes.

    Always prefix with api/v1/sync path.
    tmpfs committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    6b32313 View commit details
    Browse the repository at this point in the history
  7. Update sync docs.

    tmpfs committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    11150ab View commit details
    Browse the repository at this point in the history
  8. Always sign out in network test specs.

    To ensure we shutdown the file transfers background task before teardown
    tries to remove the integration test directory.
    tmpfs committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    a858a9e View commit details
    Browse the repository at this point in the history
  9. Support server command in CLI.

    tmpfs committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    e9bd0b4 View commit details
    Browse the repository at this point in the history
  10. Prepare initial sync command in CLI.

    Requires work to show status comparison.
    tmpfs committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    5061b39 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2024

  1. Initial sync status command.

    Fix bug with loading files event log and make file transfer queue
    loading from disc more fault tolerant.
    tmpfs committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    5657db2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cff6282 View commit details
    Browse the repository at this point in the history