aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* Version bump0.0.20181210Jason A. Donenfeld2018-12-111-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Squelch xml warningJason A. Donenfeld2018-12-111-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Throw illegalargumentexception instead of nullpointerexception for builder errorsJason A. Donenfeld2018-12-113-3/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Unwrap the correct exceptionZachary Wander2018-12-111-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Order stringsJason A. Donenfeld2018-12-111-55/+53
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Localize exception messagesZachary Wander2018-12-1113-35/+92
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Lowercase endpoint in exception messageJason A. Donenfeld2018-12-111-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Do not allow for an empty port in endpointJason A. Donenfeld2018-12-101-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Export actual configuration for zipsJason A. Donenfeld2018-12-101-1/+1
| | | | | Reported-by: John Greenwood <ijohnyyh@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Add upstream go patch for lstatJason A. Donenfeld2018-12-103-2/+293
| | | | | | | Android O disallows lstat, and this upstream golang patch hasn't made it into a release yet. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Bump go submoduleJason A. Donenfeld2018-12-101-0/+0
| | | | | | | Fixes a problem with inotify_init being blocked by Android 9's seccomp policy. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Use English lower casingJason A. Donenfeld2018-12-095-8/+14
| | | | | | | In Turkish, I becomes ı instead of i, which is a problem when matching things like "AllowedIPs". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20181207Jason A. Donenfeld2018-12-081-2/+2
| | | | | | | | I feel a bit uneasy releasing this, because who knows how much Samuel has tested his model rewrite, but nothing looks obviously horrible, so let's give it a shot. We're still "alpha", after all. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Do not close zip input streamJason A. Donenfeld2018-12-082-41/+53
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Downgrade support libraryJason A. Donenfeld2018-12-081-1/+1
| | | | | | | We're not ready for the newer one yet, but we will be soon if all goes well. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remove ACRAJason A. Donenfeld2018-12-082-71/+1
| | | | | | | | This was requested by developers who never wound up using it. It's not really worth keeping around, since the play console gives us most of what we need anyway. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remodel the ModelSamuel Holland2018-12-0847-1283/+2025
| | | | | | | | | | | | | | - The configuration and crypto model is now entirely independent of Android classes other than Nullable and TextUtils. - Model classes are immutable and use builders that enforce the appropriate optional/required attributes. - The Android config proxies (for Parcelable and databinding) are moved to the Android side of the codebase, and are designed to be safe for two-way databinding. This allows proper observability in TunnelDetailFragment. - Various robustness fixes and documentation updates to helper classes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Auto-format the source directoriesSamuel Holland2018-11-1142-810/+819
| | | | | | Blame Jason for writing Java in vim. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: wg-quick: bumpJason A. Donenfeld2018-11-111-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: do not mix C style and Go style variable namesJason A. Donenfeld2018-11-062-8/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: don't forget to include jni calls0.0.20181103Jason A. Donenfeld2018-11-033-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Bump version so that we have correct submodule hashes0.0.20181031Jason A. Donenfeld2018-11-012-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: update submodulesJason A. Donenfeld2018-10-303-4/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Never use system goJason A. Donenfeld2018-10-111-13/+6
| | | | | | Telling people to patch their system go is bonkers. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Update to go modulesJason A. Donenfeld2018-10-098-13/+28
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Fix small error0.0.20181001Jason A. Donenfeld2018-10-012-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bumpJason A. Donenfeld2018-10-011-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Peer: prefer v4 endpoints to v6Jason A. Donenfeld2018-10-012-33/+79
| | | | | | This works around DNS64 XLAT changeovers. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: properly mark positionalsJason A. Donenfeld2018-10-011-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Update gradle and external depsJason A. Donenfeld2018-10-017-4/+21
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: update copyright headersJason A. Donenfeld2018-09-0668-112/+68
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20180826Jason A. Donenfeld2018-08-261-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tools: bump submodulesJason A. Donenfeld2018-08-262-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: update golang versionJason A. Donenfeld2018-08-262-48/+94
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* QuickTileService: Don't use deprecated getDrawable methodHarsh Shandilya2018-08-261-2/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Target SDK 28Harsh Shandilya2018-08-263-7/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* FragmentUtils: Make final and prevent instantiationHarsh Shandilya2018-08-261-1/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Sort dependenciesHarsh Shandilya2018-08-261-3/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Supress false-positive DefaultLocale warningsHarsh Shandilya2018-08-262-0/+6
| | | | | | We decided in 402472237e8f that it's a bad idea for our use-case Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Extract error messages to string resourcesHarsh Shandilya2018-08-267-15/+47
| | | | | | Useful for validation errors and localisation later on Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* MonkeyedSnackbar: removeJason A. Donenfeld2018-08-267-53/+10
| | | | | | This didn't actually help with much and caused problems. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* config: fix wrong Peer endpoint string formatZhao Gang2018-08-161-1/+4
| | | | | | | | | | | | | | | | | | | | When a tunnel is running, saving the tunnel's config with an IPv6 address endpoint like [::1]:42 would result in the wrong format ::1:42. This patch fixes it. For endpoints with an IPv6 address(e.g. [::1]:42). Since the default endpoint InetSocketAddress is created unresolved, getEndpointString() returns "[::1]:42" (InetSocketAddress.getHostString() returns the literal hostname). After the endpoint is resolved, getEndpointString() returns "::1:42" (InetSocketAddress.getHostString() returns the IPv6 address without the square brackets). This inconsistent return values caused the above mentioned bug. With this patch, function getEndpointString would return the right format string whether the endpoint is resolved or not. Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* GoBackend: make socket IPC optionalJason A. Donenfeld2018-07-311-19/+21
| | | | | | | | This fixes the multi-user case, which cannot be determined at compile time and probably isn't reasonable to consider anyway in a global manner. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Style: use attrs from appcompat rather than from frameworksJason A. Donenfeld2018-07-303-5/+5
| | | | | | | This isn't possible for colorForeground, colorBackground, textAppearanceMedium, but at least it's useful for some things here. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionsMenu: don't wrap context on asus api 21Jason A. Donenfeld2018-07-301-2/+6
| | | | | | Works around frameworks bug. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Show different color for multiselectionJason A. Donenfeld2018-07-305-27/+80
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Replace hard-coded colors with theme colorsJason A. Donenfeld2018-07-306-23/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Remove placeholder color and directly use alphaHarsh Shandilya2018-07-303-7/+1
| | | | | | Why wasn't this done like this in the first place? Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* MonkeyedSnackbar: fix typosJason A. Donenfeld2018-07-291-3/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20180729Jason A. Donenfeld2018-07-291-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>