aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Version bump0.0.20191220Jason A. Donenfeld2019-12-201-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Introduce TunnelToggleActivityHarsh Shandilya2019-12-204-15/+75
| | | | | | | | | | | | | | | | On Android 10, apps cannot start services when they're in the background. This means that starting VpnService from within QuickTileService when the app is not active ends badly. To mitigate this situation, we introduce a proxy activity of sorts that will handle starting VpnService for us. The activity is completely transparent and invisible, and does only four things: - Toggle the tunnel state - Request the Tile bound by QuickTileService to refresh its state - Handle any error that might have been thrown during toggle - Call finishAffinity() and go away Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Use RequiresApi instead of TargetApiJason A. Donenfeld2019-12-202-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Update AGP to 3.5.3Harsh Shandilya2019-12-152-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Update Gradle to 6.0.1Harsh Shandilya2019-12-154-19/+14
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* QuickTileService: require phone be unlockedJason A. Donenfeld2019-11-271-6/+8
| | | | | | Reported-by: Simon <simon@laro.se> Reported-by: Harsh Shandilya <me@msfjarvis.dev> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20191120Jason A. Donenfeld2019-11-201-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Implement statisticsJason A. Donenfeld2019-11-2011-7/+277
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ModuleLoader: sync file before renamingJason A. Donenfeld2019-10-221-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ToolsInstaller: write to temporary file, fsync, renameJason A. Donenfeld2019-10-212-3/+8
| | | | | Reported-by: Andre Christanto <christantoandre@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: version bumpJason A. Donenfeld2019-10-181-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20191018Jason A. Donenfeld2019-10-181-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* InetAddresses: cleanup and implement final fallbackJason A. Donenfeld2019-10-181-22/+30
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: version bumpJason A. Donenfeld2019-10-183-11/+11
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Application: put user agent in log to help debuggingJason A. Donenfeld2019-10-182-6/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Suppress depreciation warningsJason A. Donenfeld2019-10-182-0/+3
| | | | | | We know what we're doing here, and it's not nice. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20191016Jason A. Donenfeld2019-10-161-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: bump wg-quickJason A. Donenfeld2019-10-161-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bumpJason A. Donenfeld2019-10-161-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Google doesn't want to enable others to support free open source softwareJason A. Donenfeld2019-10-163-47/+0
| | | | | | | | | | | | Revert "preferences: add donation link" This reverts commit e5455f579aec48abb30ba68b0248b02d79303126. The app was removed from the Play Store for violating their payments policy. Upon filing an appeal, I was told that they do not allow donations to projects like WireGuard. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20191013Jason A. Donenfeld2019-10-141-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Download modules after verifying signify signatureJason A. Donenfeld2019-10-147-1/+316
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Revert "Fix activity leak on Android Q"Jason A. Donenfeld2019-10-132-12/+1
| | | | | | | | This reverts commit 489518000971914b2608da43e2146690dcc02cb9. October has arrived. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bumpJason A. Donenfeld2019-10-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: overwrite socket directory correctlyJason A. Donenfeld2019-10-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bumpJason A. Donenfeld2019-10-131-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* proguard: reenable obfuscationJason A. Donenfeld2019-10-131-2/+0
| | | | | | Android bundles let us keep everything together. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: version bumpJason A. Donenfeld2019-10-132-6/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ToolsInstaller: extract from apk instead of relying on native extractionJason A. Donenfeld2019-10-133-51/+39
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* SharedLibraryLoader: separate out extractionJason A. Donenfeld2019-10-131-29/+35
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: overwrite socket directory correctlyJason A. Donenfeld2019-10-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* SharedLibraryLoader: prioritize ABI orderingJason A. Donenfeld2019-10-131-10/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* SharedLibraryLoader: iterate through all apks for bundlesJason A. Donenfeld2019-10-131-30/+41
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20191012Jason A. Donenfeld2019-10-121-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: prepare for binder usage in wg-quickNicolas Douma2019-10-122-1/+2
| | | | | Signed-off-by: Nicolas Douma <nicolas@serveur.io> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Activity: make dark/night theme follow system on QJason A. Donenfeld2019-10-123-6/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Application: use preferences from compat libsJason A. Donenfeld2019-10-121-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* export: use content resolver on android Q+Jason A. Donenfeld2019-10-125-38/+125
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* preferences: add donation linkJason A. Donenfeld2019-10-123-0/+47
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: update to go 1.13Jason A. Donenfeld2019-10-125-56/+40
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* idea: update settings for 3.5Jason A. Donenfeld2019-10-121-38/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Migrate to Android 10Harsh Shandilya2019-09-302-6/+14
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* InetAddresses: prepare for Android 10's real method supportJason A. Donenfeld2019-09-301-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FragmentUtils: Directly cast context as SettingsActivityHarsh Shandilya2019-09-271-2/+2
| | | | | | | | ContextThemeWrapper#getContext seems to be an instance of ContextImpl now which is not public API and also not what we want. Directly cast context as SettingsActivity which seems to work exactly how we need this to. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Update runtime dependenciesHarsh Shandilya2019-09-271-6/+9
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Add LeakCanary to debug buildsHarsh Shandilya2019-09-271-0/+2
| | | | | | | LeakCanary is an advanced memory leak detection library for Android designed by the fine folks at Square. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Fix activity leak on Android QHarsh Shandilya2019-09-271-1/+10
| | | | | | | | | | This workaround was discussed at https://twitter.com/Piwai/status/1169274622614704129 after Google had closed the issuetracker with a WONTFIX at https://issuetracker.google.com/issues/139738913. The situation has since changed with Google promising a fix on October's ASB but since we can't really know, patch this ourselves for the timebeing. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Update to Golang 1.12.10Harsh Shandilya2019-09-271-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Update AGP to 3.5.0Harsh Shandilya2019-09-272-2/+2
| | | | | | | Also update the gitignore to ignore the '.cxx' directory AGP 3.5.0 uses for native build artifacts. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Uprev to Gradle 5.6.2Harsh Shandilya2019-09-274-5/+27
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>