aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* ui: Convert configStore package to KotlinHarsh Shandilya2020-03-193-125/+98
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: Update Japanese TranslationEiji Tanioka2020-03-191-0/+1
| | | | | Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: Remove now defunct translationsHarsh Shandilya2020-03-186-11/+0
| | | | | | The original strings are removed. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* preference: restart application immediatelyJason A. Donenfeld2020-03-173-21/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: update Hindi translationShashank Baghel2020-03-171-9/+19
| | | | | Signed-off-by: Shashank Baghel <theradcolor@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: add Indonesian translationsFiqri Ardyansyah2020-03-171-0/+187
| | | | | Signed-off-by: Fiqri Ardyansyah <fiqri15072019@gmail.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* publish.gradle: Use non-deprecated API to prevent eager configuration of tasksHarsh Shandilya2020-03-141-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: Add an initial set of unit testsHarsh Shandilya2020-03-1415-13/+323
| | | | | | | Includes a control set of broken configuration files that we attempt to parse and verify that the parser fails in a predictable and consistent manner. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: Remove MISSING_VALUE from BadConfigException reasonsHarsh Shandilya2020-03-148-8/+0
| | | | | | | This is covered under SYNTAX_ERROR which feels like a reasonable choice, so get rid of this unused field and associated resource string. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* config: show missing section error correctlyJason A. Donenfeld2020-03-131-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: update Simplified Chinese translationLilligantMatsuri2020-03-121-15/+25
| | | | | Signed-off-by: LilligantMatsuri <srb12345@vip.qq.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* strings: update Japanese translationEiji Tanioka2020-03-121-0/+10
| | | | | Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: replace CompletableFuture with GhettoCompletableFutureJason A. Donenfeld2020-03-122-3/+33
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: we return Optional types so mark retrostreams as apiJason A. Donenfeld2020-03-121-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: add javadoc supportJason A. Donenfeld2020-03-114-11/+26
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: update Russian translateAlexey2020-03-111-0/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: the external API does not expose java9Jason A. Donenfeld2020-03-102-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* README: note JCenter additionJason A. Donenfeld2020-03-101-0/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: tools: update to latest goJason A. Donenfeld2020-03-102-29/+29
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ModuleDownloaderPreference: remove disable_kernel_module after downloadingJason A. Donenfeld2020-03-102-5/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: make use of @RestrictToJason A. Donenfeld2020-03-102-0/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: abstract out groupNameJason A. Donenfeld2020-03-104-4/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: java access control has important semantic meaningJason A. Donenfeld2020-03-104-4/+4
| | | | | | | It's not right to blindly follow all of AndroidStudio's suggestions, especially for things in tunnel/ which comprise useful API. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: Codestyle cleanupsHarsh Shandilya2020-03-106-37/+33
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: Codestyle cleanupsHarsh Shandilya2020-03-1010-63/+65
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Upgrade to Gradle 6.2.2Harsh Shandilya2020-03-102-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* BaseFragment: Always anchor Snackbars to FABHarsh Shandilya2020-03-101-1/+1
| | | | | | This makes tunnel list fragment correctly render them above the FAB. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: upload aar to bintrayJason A. Donenfeld2020-03-103-0/+71
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: remove stale translations0.0.20200309Jason A. Donenfeld2020-03-095-5/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: apply version to both modulesJason A. Donenfeld2020-03-094-4/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bumpJason A. Donenfeld2020-03-092-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* KernelModuleDisablerPreference: turn off tunnels before switching backendJason A. Donenfeld2020-03-092-11/+26
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* KernelModuleDisabler: allow disabling the kernel module backendJason A. Donenfeld2020-03-095-1/+93
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: give dual state summary for restore on bootJason A. Donenfeld2020-03-092-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: reorder new checkboxJason A. Donenfeld2020-03-091-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* VersionPreference: reverse go and wgquick titlesJason A. Donenfeld2020-03-091-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelDetailFragment: avoid integer overflowJason A. Donenfeld2020-03-091-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: format codeJason A. Donenfeld2020-03-0919-290/+303
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: optimize importsJason A. Donenfeld2020-03-0965-281/+223
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: get rid of nonnull gradle hackJason A. Donenfeld2020-03-0977-89/+216
| | | | | | | | | | Hacking things up via gradle is not right, and package-info.java poses problems with two modules, so instead we just apply it manually to every class. Remember to add this to new classes! Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Application: simplify static blockJason A. Donenfeld2020-03-091-8/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: use optimized proguard rulesJason A. Donenfeld2020-03-091-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Use dark system bars on API 21Harsh Shandilya2020-03-091-0/+24
| | | | | | Light system bars didn't come around until API 23. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ThemeChangeAwareActivity: recreate activity after changing themeJason A. Donenfeld2020-03-091-0/+1
| | | | | | API 21 had issues without this. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* WgQuickBackend: by default use single-tunnel mode like GoBackend, but add optionJason A. Donenfeld2020-03-095-6/+64
| | | | | | | | | Note that this currently doesn't play well with people activating wg-quick tunnels from outside the app. Those tunnels won't be deactivated. But presumably that's desired behavior anyway, considering people are mucking around at the command line. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ObservableTunnel: pass right argument to state transitionJason A. Donenfeld2020-03-091-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ModuleLoader: move to right projectJason A. Donenfeld2020-03-094-4/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* AsyncWorker: move back to original locationJason A. Donenfeld2020-03-091-0/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Use AndroidX Nullable annotation everywhereHarsh Shandilya2020-03-093-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Rename app module to uiHarsh Shandilya2020-03-09115-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>