summaryrefslogtreecommitdiffhomepage
path: root/app
AgeCommit message (Collapse)Author
2018-01-06Serviceless rewrite, part 1Samuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Rename package widgets -> widgetSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Rename package bindings -> databindingSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2017-12-26app: Enable Java 8 featuresSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2017-12-26app: Upgrade to build tools 27.0.2Samuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2017-12-26wg-quick: set mtu after addressesJason A. Donenfeld
This has all sorts of terrible implications and fixes a problem in a pretty terrible way. If the interface MTU is less than 1280, IPv6 addresses will fail to be added. Rather than explictly trying to catch this and do something particular about it -- such as nicely warning the user that there could be a v6 isolation issue, for example -- we just set the MTU _after_ we set the addresses, so that in setting the MTU, we wind up removing the addresses that were just added. This is pretty bad, but it makes things a bit smoother. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-12-20tools: use cmp and right arguments for mountJason A. Donenfeld
Some systems don't have cmp. Some systems have buggy mount tools. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-12-20tools: add wg-quick directlyJason A. Donenfeld
We also use all search paths for tool, since many want this to be CLI too. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-12-19tools: force ld.goldJason A. Donenfeld
This is to work around a linker bug affecting the NDK. Reference: https://github.com/android-ndk/ndk/issues/602 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-12-19SettingsActivity: allow for installing command line toolsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-12-18tools: better cmakeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-12-16RootShell: rewriteJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-12-15tools: build required tools with apkJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-30VpnService: require root accessJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-29NotSupportedActivity: fix font sizeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28ConfigListFragment: Use correct icon for FABSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28VpnService: Avoid duplicating file checkSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-29Config: use consistant verbJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-29VpnService: search for binaries in most likely places firstJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28ConfigList: Always dismiss FAB menu on ListView touchSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28NotSupported: Fix linksSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28build.gradle: Consistent quoting styleSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28ConfigListFragment: Use a floating action menuSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28Show ConfigActivity when holding QS tileSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28res/drawable: Fix icon sizesSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28ConfigActivity: Listen for name changesSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28EditFragment: do not autocomplete or capitalize ifnamesJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-28Open: better iconJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-27NotSupported: Better sorry textJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-27SettingsActivity: directly pass through bundleJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-27ConfigDetailFragment: wire up toggle switchJason A. Donenfeld
Finally no gross colors. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-27NotSupported: check if the module existsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-27Settings: show quick tile config if no primary is definedJason A. Donenfeld
This seems like a horrific set of hacks. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-27ConfigImporter: give updates when something goes wrongJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-27QuickTileService: show app if no profiles existJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-26Config: make parsing stricterJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-25ConfigImporter: Get filename from content resolverSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-25ConfigList: A better toggle switchSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-25widgets: Import ToggleSwitch from the AOSP Settings appSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-24ConfigList: Poor man's switchSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-24BindingAdapters: Sort existing adaptersSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-24VpnService: Move it to a backends packageSamuel Holland
It should be split into two pieces: configuration file management (loading/saving/renaming/deleting) and calling into wg-quick via RootShell. The configuration file management part should then go back into the main package. This is in preparation for adding additional backends based on wg(8) and wireguard-go. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-08ConfigActivity: Add import menu itemSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-08VpnService: Add helper for importing configsSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-08Bindings: Merge bugfixes and updatesSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-07Bindings: Move to a separate packageSamuel Holland
These are really app-independent reusable classes. Moving them to a separate package helps avoid polluting the main app package, and makes them easier to upgrade. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-11-07project: Update gradle filesSamuel Holland
These are automatic changes made by Android Studio 3.0. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-24Prepare version 0.1.0Samuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-24ConfigListFragment: Prevent config names from wrappingSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-08-24ConfigActivity: Only use split layout on tablet-sized screensSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>