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

Initial safe mode (without editor or recovery options) #565

Merged
merged 18 commits into from
Sep 19, 2024

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    be1c290 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47468e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c9a0d60 View commit details
    Browse the repository at this point in the history
  4. Pass the SafeModeToggle to Draupnir.

    Something that is going to be broken for sure are the guages on the
    appservice manager, since toggling is controlled by the base manager.
    
    I have no idea what these guages are even for except the legacy
    draupnir4all work.
    Gnuxie committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    9959431 View commit details
    Browse the repository at this point in the history
  5. Add draupnir command to switch to safe mode.

    Works, but safe mode isn't hooked up to respond to any events.
    Gnuxie committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    6b1b442 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    28718ca View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ed7b976 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    4f1b789 View commit details
    Browse the repository at this point in the history
  2. Add restart command to safe mode.

    Currently integration tests will be broken because we took control
    over "who starts Draupnir?" away and gave it to the `SafeModeToggle`.
    
    So we need to fix that.
    Gnuxie committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    de6e4d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd20984 View commit details
    Browse the repository at this point in the history
  4. Find a way to print draupnir status on startup from the toggle.

    without disrupting e2ee.
    Gnuxie committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    4db7ce3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d82a0b0 View commit details
    Browse the repository at this point in the history
  6. Make src/index.ts use the BotModeToggle to manage the bot.

    Now we need to change the integration test's makeMjolnir do the same.
    Gnuxie committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    a92c95a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    35ccf94 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0895c58 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    334aaa7 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Forgot to start Draupnir listening in appservice.

    We need to look at Draupnir's .start method and make it `void`.
    The report poller should just throw if it fails without being
    caught by `Task`.
    
    We also need to test the `toggle` in appservice in integration
    tests.
    Gnuxie committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    b52948b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f1a6c8c View commit details
    Browse the repository at this point in the history