summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2022-06-10WIP: tunnel detail layout constrain fixesv1.0.20220516-20-g98f1ad8fMikael Magnusson
2022-06-10Merge branches 'new/http-proxy', 'm7n' and 'version' into new/build-http-proxyMikael Magnusson
2022-06-10WIP: build armMikael Magnusson
2022-06-10tunnel: gitignore generated protobuf filesMikael Magnusson
2022-06-10tunnel: fix path to protoc and update protobufMikael Magnusson
2022-06-10refresh modMikael Magnusson
2022-06-10tunnel: add experimental SOCKS clientMikael Magnusson
2022-06-10tunnel: implement http proxy for Android 10+Mikael Magnusson
2022-06-10tunnel: add gRPC over unix domain socket to the go backendMikael Magnusson
With gRPC it will be easier to extend the go backend API. In this commit the Version function is reimplemented in gRPC.
2022-06-10ui,tunnel: add HTTP proxy setting to Go backendMikael Magnusson
Only make the HTTP proxy settings visible on supported Android versions, i.e. Android 10 (AKA Android Q) and later. Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2022-05-26ui: reorder constraints to fix detail fragment overlapHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-05-26ui: move default style to Material3 with Dynamic ColorsHarsh Shandilya
The TV theme has been kept as-is since Material You guidance around this is a bit scarce at the moment. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-05-26ui: normalise icon tints and remove unused drawableHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-05-26gradle: bump ConstraintLayout and MDCHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-05-26gradle: bump AGP and KotlinHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-05-26gradle: bump to 7.4.2Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-05-26ui: remove unnecessary boolean checkHarsh Shandilya
This check was added in 3c31c340d86f when the kernel module loader was introduced into the app lifecycle, to avoid attempting to start a root shell twice. When the module loader was removed in a03ad51622d338d1c, this flag was accidentally left in when it should have been deleted. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-05-26idea: squelch XML codestyle warningHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-05-19m7n: local build modificationsMikael Magnusson
Use custom application id: eu.m7n.wireguard.android Set app names to (m7n.eu) WireGuard and (m7n.eu) WireGuard β Limit ABIs to arm64-v8a and x86_64 Use NDK 21.3
2022-05-19version: automatically generate version string from tagMikael Magnusson
Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
2022-05-16version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-05-16tools: bump depsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-04-26ui: move target SDK to 31Shahzain Ali
Signed-off-by: Shahzain Ali <shahzainali93@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-04-08gradle: bump AGP and KotlinHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-03-20tools: bump wireguard-go and go 1.18Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-03-20ui: word wrap settings headersVlad Loktionov
Apparently some translations make this wrap, which is bad. Signed-off-by: Vlad Loktionov <yobabay23@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-03-20ui: exclude TunnelToggleActivity from recentsRin Patch
Fixes annoying behavior in quick settings widget, when you enable the tunnel, try to switch to last used app, but instead it switches to the toggle activity and turns the tunnel off. Signed-off-by: Rin Patch <rin@patch.cx> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-03-06ui: make validity check from QR code image scanner staticHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-03-06ui: allow importing tunnel from an QR image stored on the deviceNikita Pustovoi
Add a new feature to import a tunnel from a saved QR image, this feature integrates into 'import from file' flow, however adds a condition, if file is an image, attempt to parse it as QR image file. My use case for this feature, is to allow easier sharing of tunnels to family. Scanning QR code is ok when you have an external display to show it, but if you sent QR code to someone, there is no way to import it in the app. If you share a config file, that becomes way harder for a non-technical person to import as now they need to find a file with that name in the file picker etc etc, Where the images are very visible in the file picker, and user can easily recognize it for import. Testing: - Click "+" blue button, try to import a valid `.conf` file - the 'original' file flow should not be affected - Click "+" blue button, try to import a valid QR code image - if QR code was parsed, then a new tunnel will be added. - Click "+" blue button, try to import an invalid QR code image - Error message will be shown Signed-off-by: Nikita Pustovoi <deishelon@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-03-03build: upgrade dependenciesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-02-09tunnel: fix BadConfigExceptionTestMichal Murin
Fix the test by changing the DNS to a string with an invalid char in the `invalid-value.conf` test configuration file. Signed-off-by: Michal Murin <michal.murin@jamf.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-01-28gradle: update AndroidX dependenciesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-01-21ToolsInstaller: set id=wireguard magisk module paramJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2022-01-17ui: add margin on empty list textMarcel Joss
Signed-off-by: Marcel Joss <marceljoss@hotmail.ch> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-01-08ui: make when statements exhaustive everywhereHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-01-08gradle: bump AGP, Kotlin and AGPHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2022-01-08gradle: bump wrapper to 7.3.3Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-10-29version: bumpJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-10-29README: re-add desugaring blockJason A. Donenfeld
People are never gonna figure it out otherwise. This reverts commit 1701e4fde4d167d0812f55460c6b4c6e534ea627. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-10-29tools: bump libwg-goJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-10-29global: bump copyright yearJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-10-29tunnel: remove kernel module downloaderJason A. Donenfeld
Nathan Chance dropped the ball repeatedly and never maintained this in a consistent way that anybody could use. With Android 12 out now, just drop it all together. A bummer, but I don't see much of a choice. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-10-28ui: fix and silence lint errorsHarsh Shandilya
- The `copied_to_clipboard` translation for Farsi does not include the placeholder, so it has been removed. - A couple lints that are errors but we cannot particularly do anything about were downgraded to warnings. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-10-28tunnel: make JSR305 annotations a compileOnly dependencyHarsh Shandilya
These have no business being part of the runtime classpath of this library Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-10-28gradle: upgrade AndroidX dependenciesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-10-27strings: sync translationsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-10-25ui: upgrade zxing-android-embeddedHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-10-25gradle: bump wrapper to 7.2Harsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-10-25gradle: bump AGPHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2021-10-10gradle: upgrade AndroidX dependenciesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>