summaryrefslogtreecommitdiffhomepage
path: root/app/src
AgeCommit message (Collapse)Author
2018-12-18Migrate to AndroidXHarsh Shandilya
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
2018-12-15InetEndpoint: disallow huge portsJason A. Donenfeld
2018-12-15Clean up error messagesSamuel Holland
2018-12-15Provide semantically meaningful exceptions for translationSamuel Holland
2018-12-11Fix locale usageJason A. Donenfeld
2018-12-11Squelch xml warningJason A. Donenfeld
2018-12-11Throw illegalargumentexception instead of nullpointerexception for builder ↵Jason A. Donenfeld
errors
2018-12-11Unwrap the correct exceptionZachary Wander
2018-12-11Order stringsJason A. Donenfeld
2018-12-11Localize exception messagesZachary Wander
2018-12-11Lowercase endpoint in exception messageJason A. Donenfeld
2018-12-10Do not allow for an empty port in endpointJason A. Donenfeld
2018-12-10Export actual configuration for zipsJason A. Donenfeld
Reported-by: John Greenwood <ijohnyyh@gmail.com>
2018-12-09Use English lower casingJason A. Donenfeld
In Turkish, I becomes ı instead of i, which is a problem when matching things like "AllowedIPs".
2018-12-08Do not close zip input streamJason A. Donenfeld
2018-12-08Remove ACRAJason A. Donenfeld
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.
2018-12-08Remodel the ModelSamuel Holland
- 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.
2018-11-11Auto-format the source directoriesSamuel Holland
Blame Jason for writing Java in vim.
2018-10-01Fix small errorJason A. Donenfeld
2018-10-01Peer: prefer v4 endpoints to v6Jason A. Donenfeld
This works around DNS64 XLAT changeovers.
2018-10-01strings: properly mark positionalsJason A. Donenfeld
2018-09-06global: update copyright headersJason A. Donenfeld
2018-08-26QuickTileService: Don't use deprecated getDrawable methodHarsh Shandilya
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-08-26Target SDK 28Harsh Shandilya
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-08-26FragmentUtils: Make final and prevent instantiationHarsh Shandilya
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-08-26Supress false-positive DefaultLocale warningsHarsh Shandilya
We decided in 402472237e8f that it's a bad idea for our use-case Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-08-26Extract error messages to string resourcesHarsh Shandilya
Useful for validation errors and localisation later on Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-08-26MonkeyedSnackbar: removeJason A. Donenfeld
This didn't actually help with much and caused problems.
2018-08-16config: fix wrong Peer endpoint string formatZhao Gang
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>
2018-07-30Style: use attrs from appcompat rather than from frameworksJason A. Donenfeld
This isn't possible for colorForeground, colorBackground, textAppearanceMedium, but at least it's useful for some things here.
2018-07-30FloatingActionsMenu: don't wrap context on asus api 21Jason A. Donenfeld
Works around frameworks bug.
2018-07-30Show different color for multiselectionJason A. Donenfeld
2018-07-30Replace hard-coded colors with theme colorsJason A. Donenfeld
2018-07-30Remove placeholder color and directly use alphaHarsh Shandilya
Why wasn't this done like this in the first place? Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
2018-07-29MonkeyedSnackbar: fix typosJason A. Donenfeld
2018-07-29ConfigNamingDialog: use name input filterJason A. Donenfeld
2018-07-29MonkeyedSnackbar: work around Harsh's broken phoneJason A. Donenfeld
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?
2018-07-29MSF: make it more obvious what needs to be doneJason A. Donenfeld
2018-07-29FloatingActionButtonBehavior: animate transitionsJason A. Donenfeld
2018-07-29Roll back to API 27 for nowJason A. Donenfeld
There's no source available for API 28, which is a pain. But this commit should be reverted whenever source is released.
2018-07-29Target API 28Jason A. Donenfeld
2018-07-29TunnelListFragment: show selected tunnelJason A. Donenfeld
2018-07-29TunnelListFragment: fix multiselection on rotationJason A. Donenfeld
2018-07-29FloatingActionButonBehavior: set translation back to 0 when snackbar diesJason A. Donenfeld
2018-07-29MainActivity: only show two column on tabletsJason A. Donenfeld
2018-07-28MainActivity: Fix fragment selection logicSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-07-28Application: refuse to run on old androidJason A. Donenfeld
2018-07-28QuickTileService: fix bug the wrong wayJason A. Donenfeld
2018-07-27config: show more informative error message on wrong keyJason A. Donenfeld
2018-07-26Set ACRA install sourceJason A. Donenfeld