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

Implement USE_EXIT_NODE intent #142

Merged
merged 2 commits into from
Jun 12, 2024
Merged

Commits on Jun 11, 2024

  1. Implement USE_EXIT_NODE intent

    Closes tailscale/tailscale#8143. I map friendly labels from intent extras to tailscale node IDs, with empty string or not specifying the exitNode intent extra as the "no exit node" action. When an error is encountered, we will push a notification with a friendly message to the status notification channel. The tasker syntax I tested with locally is:
    
    Action: `com.tailscale.ipn.USE_EXIT_NODE`
    Package: `com.tailscale.ipn`
    Class: `com.tailscale.ipn.IPNReceiver`
    Target: Broadcast Receiver
    Extra: `exitNode:exitNodeLabelOrEmpty`
    Extra: `allowLanAccess:trueOrFalse`
    
    Signed-off-by: Fredric Silberberg <fred@silberberg.xyz>
    333fred committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    b98486b View commit details
    Browse the repository at this point in the history
  2. Extract constant strings to resources for later localization.

    Signed-off-by: Fredric Silberberg <fred@silberberg.xyz>
    333fred committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    c9443c7 View commit details
    Browse the repository at this point in the history