aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* ConfigNamingDialog: use name input filterJason A. Donenfeld2018-07-291-2/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MonkeyedSnackbar: work around Harsh's broken phoneJason A. Donenfeld2018-07-297-10/+50
| | | | | | | | I think I'd probably like to revert this, since presumably there's a good reason in the first place why the support lib disables animations when accessibility services are turned on? Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MSF: make it more obvious what needs to be doneJason A. Donenfeld2018-07-292-4/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionButtonBehavior: animate transitionsJason A. Donenfeld2018-07-291-4/+32
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Roll back to API 27 for nowJason A. Donenfeld2018-07-292-3/+6
| | | | | | | There's no source available for API 28, which is a pain. But this commit should be reverted whenever source is released. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Target API 28Jason A. Donenfeld2018-07-293-13/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelListFragment: show selected tunnelJason A. Donenfeld2018-07-291-5/+34
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelListFragment: fix multiselection on rotationJason A. Donenfeld2018-07-291-1/+25
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionButonBehavior: set translation back to 0 when snackbar diesJason A. Donenfeld2018-07-291-0/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: only show two column on tabletsJason A. Donenfeld2018-07-291-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: Fix fragment selection logicSamuel Holland2018-07-284-109/+104
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* Application: refuse to run on old androidJason A. Donenfeld2018-07-282-0/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>