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 "smart routing" with "direct only" #6935

Merged

Commits on Oct 7, 2024

  1. Replace smart_routing with use_multihop_if_necessary in daemon

    Simplify the logic for feature indicators
    Serock3 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    5d69b1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4f586f8 View commit details
    Browse the repository at this point in the history
  3. Rename "smart routing" to "direct only" in the API

    Also invert the behavior
    Serock3 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    0578e79 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e7e77cf View commit details
    Browse the repository at this point in the history
  5. Simplify the DAITA + multihop feature indicator logic

    We now simply show the "multihop" indicator there is an entry endpoint,
    regardless of whether it was activated manually or through DAITA. This
    reflects the intent to base the feature indicators on the current
    connection and not the user settings. There is no special indicator for
    "smart routing" or "direct only".
    Serock3 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    b512af0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bf109a9 View commit details
    Browse the repository at this point in the history
  7. Set "Direct only" to false as default

    For android, it is set to true, as multihop is not supported.
    
    Note that in the daemon, the setting is called
    `use_multihop_if_necessary` and has the inverse meaning.
    Serock3 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    8ace1c3 View commit details
    Browse the repository at this point in the history
  8. Fix eslint complaints

    Serock3 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    74f1ae5 View commit details
    Browse the repository at this point in the history
  9. Run kotlinfmt

    MarkusPettersson98 authored and Serock3 committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    dcd425f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cf55c3c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7770131 View commit details
    Browse the repository at this point in the history