Commit Graph

211 Commits (632b250eb1efc1883816041876b7d59cf2070b17)
 

Author SHA1 Message Date
Elias Naur ec9bb108c6 cmd/tailscale: add Google sign-in button
Hidden behind a flag pending support from the Tailscale client.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 33849b0daa cmd/tailscale,go.*: track go-bindata tool version in go.mod
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur cd9c808dd2 java/com/tailscale,cmd/tailscale: remove webview signin
Adjust the Custom Tabs browser color to match the app header while
here.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur a527c2abed Makefile,android: shorten version environment variable
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 8f621e531a cmd/tailscale: don't notify for never-expiring sessions
Fixes tailscale/tailscale#469

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 676447afda android: bump version code
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur a39b174ed8 cmd/tailscale: don't set up logging twice
Updates tailscale/tailscale#500

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur cfe31a9064 Makefile,android: remove unused code
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 3991c00460 go.*: bump tailscale module version
Fixes tailscale/tailscale#486

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur d56193f90c Makefile,mkversion.sh: set tailscale versions at build time
While here, set the gradle versionName from the Makefile as well.

Updates tailscale/tailscale#486

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur f88e8f6f8c cmd/tailscale: bump tailscale.com version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 48b6896962 go.*: bump gogio version
Adds the -ldflags and -tags flags to the gogio tool.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
nirev b85b1b2f84 java/com/tailscale/ipn: set hostname to nickname if available
Fixes tailscale/tailscale#482

Signed-off-by: nirev <guilherme@nirev.org>
4 years ago
Elias Naur d5b45e6ee1 android: use vector drawables for icon, shrink to fit square keylines
Fixes tailscale/tailscale#485

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 4d5f89f767 cmd/tailscale: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 28c8a2e1e5 go.mod: change the module name to github.com/tailscale/tailscale-android
Makes it go-gettable.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 704365c79c android: bump version code
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 31b3c725c8 cmd/tailscale: reset cached config when failing to set up VPN tunnel
Add a bit of logging while here.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur b297135f2a cmd/tailscale: wait for previous tunnel(s) to close before establishing new
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur e77dcd9933 com/tailscale/ipn: strip manufacturer from model name
Some devices prefix Build.MODEL with Build.Manufacturer, some don't.
Strip the duplicates.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 121232bf36 go.*: bump gio version
Second attempt at supporting touchpad scrolling on ChromeOS.

Updates tailscale/tailscale#431

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 68834683ad AndroidManifest.xml: disable ChromeOS input emulation
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 0d0a049057 cmd/tailscale: avoid deadlocking between backend calls and callbacks
The runBackend goroutine issues backend requests (StartLoginInteractive,
Logout, SetPrefs) from the same select that receives callbacks the
backend.

Avoid the potential for same-goroutine deadlock by issuing backend requests on
separate goroutines.

Fixes tailscale/tailscale#470

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur dd2cdacbed android: bump version code
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 752d453642 java/com/tailscale/ipn: set underlying networks and metered status for the VPN
Updates tailscale/tailscale#453

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 18adee11a5 cmd/tailscale: assume internet connectivity at startup
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur bfd730f3d7 cmd/tailscale: handle IPN callbacks from the backend goroutine
Before this change, the notification and configuration callbacks
raced with the backend goroutine.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 4388f145cc cmd/tailscale: switch to the Roboto font
Updates tailscale/tailscale#420

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 08c2192240 cmd/tailscale: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 059cf8f4be android: bump version code
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 271d40978e java/com/tailscale/ipn: explicitly allow IPv4 and IPv6 traffic
The VPNService.Builder object blocks traffic to IP families for which no
route, local address, nor DNS are defined. The Tailscale tunnel doesn't
cover all traffic, so both IP families should be kept open.

Updates tailscale/tailscale#453 (maybe fixes it)
Updates tailscale/tailscale#431 (another DNS problem)

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur c290ccf388 cmd/tailscale: note that seamless VPN tunnel handover works on Android
But not on ChromeOS, and I haven't found a robust way to detect
ChromeOS.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 647a4a9bfd go.*: bump gio version
Restores sRGB on Samsung S9 devices.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 8dbac874eb cmd/tailscale: disable smooth tunnel handovers for ChromeOS
ChromeOS doesn't seem to correctly apply new tunnel settings if
another tunnel is already active. Instead, close any existing
tunnel before creating another.

Updates tailscale/tailscale#431

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur d9483b4501 go.*: gump gio version
Restores compatibility with Android < API 26.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 96791686fe go.*: bump gio version
Upadtes tailscale/tailscale#431 (implements touchpad scrolling)

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 4c1017a548 cmd/tailscale,android: bump gio version
Updates tailscale/tailscale#431 (fixes a resize crash)

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur eb6c345667 android: mark the Activity prepared for multi-window configration changes
Updates tailscale/tailscale#431 (improves ChromeOS resizing)

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 9f512ee510 go.*: bump gio version
Fixes a crash when using the app in multi-window mode.

Updates tailscale/tailscale#431

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur f5a77fd1e0 android: use git describe --tags --dirty for the version name
The monotonic version code is still manually bumped.

Updates tailscale/tailscale#431

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur ad2424ecd0 android: bump version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur adb6bb736b cmd/tailscale: dim want-running switch when not authorized
Updates tailscale/tailscale#420

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur ab06e659eb java/com/tailscale/ipn: add Build.MANUFACTURER to hostname
Updates tailscale/tailscale#420

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur f77a73fcdd go.*: bump gio version
Fixes tailscale/tailscale#441

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur a2fbd1a202 cmd/tailscale: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 4ca298d19a Dockerfile,Makefile: add dockershell Makefile target for Docker builds
Fixes tailscale/tailscale#424

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 24e887bf48 Dockerfile: preload Gradle
Updates tailscale/tailscale#424

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur b97338939f Dockerfile: add SDK platform-tools and use build-tools version Gradle wants
Updates tailscale/tailscale#424

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 0e400dfc57 Dockerfile: remove redundant Android SDK packages
Updates tailscale/tailscale#424

Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago
Elias Naur 5de04d4177 cmd/tailscale: bump gio version
Signed-off-by: Elias Naur <mail@eliasnaur.com>
4 years ago