Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Force verification even for refreshed clients #44

Merged
merged 25 commits into from
Oct 3, 2024

Commits on Sep 13, 2024

  1. Force verification even for refreshed cients

    Set a flag on login to remember that the device needs to be verified
    so that we don't forget if the user refreshes the page, but still allow
    user with an existing unverified session to stay logged in.
    dbkr committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    b1aaae7 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Hopefully make matrixchat tests pass?

    Much, much tweaking to make the matrixchat tests pass again. Should
    hopefully make them a bit more solid in general with judicious use of
    waitFor rather than flushPromises(). Also lots of fun to stop the state
    bleeding between tests.
    dbkr committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    2b10580 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    91207a9 View commit details
    Browse the repository at this point in the history
  3. Manual yarn.lock manipulation

    to hopefully resolve infinite package sadness
    dbkr committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    255c7dc View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Make final test pass(?)

    Mock out the createClient method to return the same client, because
    we've mocked the peg to always return that client, so if we let the
    code make another one having still overridden the peg, everything becomes
    cursed.
    
    Also mock out the autodiscovery stuff rather than relying on fetch-mock.
    dbkr committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    e986562 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2cb9f8f View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. another waitFor

    dbkr committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    80c75d4 View commit details
    Browse the repository at this point in the history
  2. death to flushPromises

    dbkr committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    b07203e View commit details
    Browse the repository at this point in the history
  3. Put the logged in dispatch back

    Actually it breaks all sorts of other things too, having fixed all the
    MatrixChat tests (although this is useful anyway).
    dbkr committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    f8c7db4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc88a9a View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Put post login screen back in logged in

    but move ready transition to avoid flash of main UI
    dbkr committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    bd2ca31 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1471862 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. Configuration menu
    Copy the full SHA
    e88d1e0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    579d507 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Add test for use case selection

    dbkr committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    60b8eaf View commit details
    Browse the repository at this point in the history
  2. Fix test

    dbkr committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    1e2525b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    860dedd View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Remove console log

    dbkr committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    ee7a3e8 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Add log message to log line

    dbkr committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    c2c3e4a View commit details
    Browse the repository at this point in the history
  2. Add tsdoc

    dbkr committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    71249a3 View commit details
    Browse the repository at this point in the history
  3. Use useTypedEventEmitter

    dbkr committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    1b04bf6 View commit details
    Browse the repository at this point in the history
  4. Remove commented code

    dbkr committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    677f616 View commit details
    Browse the repository at this point in the history
  5. Use catch instead of empty then on unawaited promises

    or in one case just await it because the caller was async anyway
    dbkr committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    4a84e3d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    707c8c7 View commit details
    Browse the repository at this point in the history
  7. Add new mock

    dbkr committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    3e11360 View commit details
    Browse the repository at this point in the history