aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Resolve format string warningsHarsh Shandilya2020-02-234-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* AppListDialogFragment: Revamp toggle logicHarsh Shandilya2020-02-231-1/+7
| | | | | | | | Rather than always toggle all elements, elect to unselect all if any are selected. This allows returning to a clean state in at most two clicks. Suggested-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* AppListDialogFragment: Code cleanupHarsh Shandilya2020-02-231-9/+10
| | | | | | | | | | - Using the require_() methods provides helpful error messages when things are null compared to the get_() methods which throw NPEs. - Ensure currentlyExcludedApps is empty but never null - Rename inner variable to silence name shadowing lint - Make setExclusionsAndDismiss private Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Japanese translation: change "Deselect All" to "Toggle All"Eiji Tanioka2020-02-231-1/+1
| | | | | | Fixes: 1eb4ce7 ("AppListDialogFragment: change "Deselect All" to "Toggle All"") Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* AppListDialogFragment: change "Deselect All" to "Toggle All"Sébastien LEBEAU2020-02-234-5/+5
| | | | | | | | Change functionality in excluded apps dialog for better user experience when user wants only one or few apps to use WireGuard. Signed-off-by: Sébastien LEBEAU <sebcbi1@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* SharedLibraryLoader: Fix leaked Closeable warningHarsh Shandilya2020-02-161-0/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Record StrictMode failures to logcatHarsh Shandilya2020-02-161-0/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Add japanese translation.Eiji Tanioka2020-02-151-0/+180
| | | | | Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Port tunnel creation UI from ViscerionHarsh Shandilya2020-02-1419-1011/+238
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Implement custom theming to match Google's AOSP designHarsh Shandilya2020-02-1227-55/+183
| | | | | Closes: #4 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Attribute: remove need for android TextUtilsJason A. Donenfeld2020-02-101-3/+12
| | | | | | | If this is to be JRE-only, then it doesn't make sense to rely on the android class, especially since this is so trivial to inline. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* InetAddresses: don't have global android importJason A. Donenfeld2020-02-101-3/+2
| | | | | | This allows a proper fallback on normal JRE. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Update Russian translationAlexey2020-02-091-15/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bump0.0.20200206Jason A. Donenfeld2020-02-061-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg: bump to latest snapshotJason A. Donenfeld2020-02-061-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add Russian translationAlexey2020-02-061-0/+180
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg-go: bump go requirementJason A. Donenfeld2020-02-031-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* wg: remove mnl dependency and bump depJason A. Donenfeld2020-02-033-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bump0.0.20200124Jason A. Donenfeld2020-01-241-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* GoBackend: restrict APIs to proper versionJason A. Donenfeld2020-01-241-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* GoBackend: Ensure we're unmetered on API 29 as wellHarsh Shandilya2020-01-241-0/+5
| | | | | | | | VPN apps targetting Android 10 are treated as metered by default. Source: https://developer.android.com/reference/android/net/VpnService.Builder.html#setMetered(boolean) Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* version: bump0.0.20200123Jason A. Donenfeld2020-01-231-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Rework timer in tunnel detailJason A. Donenfeld2020-01-231-15/+11
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Match lowercase asus phones for fab hackJason A. Donenfeld2020-01-231-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manifest: reorderJason A. Donenfeld2020-01-231-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: update depsJason A. Donenfeld2020-01-233-12/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* GoBackend: set empty underlying networksJason A. Donenfeld2020-01-231-0/+1
| | | | | | | | | | | https://lists.zx2c4.com/pipermail/wireguard/2020-January/004859.html https://issuetracker.google.com/issues/114309459 https://developer.android.com/about/versions/pie/android-9.0-changes-all#network-capabilities-vpn Apparently we need to call this at least once. Reported-by: Andrey Kupreychik <foxel@quickfox.ru> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Manifest: make wireguard compatible with android TVRevath S Kumar2020-01-221-0/+3
| | | | | | | | | | | | As of now wireguard is not listed in Android TV play store due to the lack of CATEGORY_LEANBACK_LAUNCHER [1]. Even the app is not listed when we sideload into TV device[2]. [1]: https://developer.android.com/reference/android/content/Intent.html#CATEGORY_LEANBACK_LAUNCHER [2]: https://developer.android.com/training/tv/start/start.html#tv-activity Signed-off-by: Revath S Kumar <rsk@revathskumar.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add Italian translationxalloc2020-01-221-0/+180
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: bump to new wireguard-tools repoJason A. Donenfeld2019-12-273-3/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* 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-151-1/+1
| | | | 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-2010-6/+276
| | | | 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>