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

Replace uses of checkDeviceTrust with getDeviceVerificationStatus #10663

Merged
merged 12 commits into from
Apr 24, 2023

Commits on Apr 21, 2023

  1. Use fetchDevicesWithVerification in DevicesPanel

    We have a method called `fetchDevicesWithVerification` which is currently used
    in the new Session manager. Let's use it for the (old) Devices Panel too,
    because it allows us to check the device verification upfront, rather than on
    the fly, which is going to be handy when that operation becomes async
    richvdh committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    4dffcf6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f706559 View commit details
    Browse the repository at this point in the history
  3. cases of checkDeviceTrust that need asyncSome

    these are in an async method, but currently use `some`. We need to invent an
    `asyncSome` (we already have an `asyncEvery`) and use that
    richvdh committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    6c6fe7f View commit details
    Browse the repository at this point in the history
  4. isDeviceVerified: switch to getDeviceVerificationStatus

    ... which means making it async
    richvdh committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    432e293 View commit details
    Browse the repository at this point in the history
  5. EventTile: use getDeviceVerificationStatus

    This is ok except we need an "unmounted" guard because it's an old-style
    componment
    richvdh committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    ef47246 View commit details
    Browse the repository at this point in the history
  6. UserInfo step 1: getE2EStatus

    richvdh committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    9d2d47b View commit details
    Browse the repository at this point in the history
  7. UserInfo step 2: DeviceItem

    richvdh committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    edfad2b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    74d5696 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3c88d94 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    1cc6e40 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Configuration menu
    Copy the full SHA
    8b72ebf View commit details
    Browse the repository at this point in the history
  2. Update DeviceListener.ts

    richvdh committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    02f8263 View commit details
    Browse the repository at this point in the history