summaryrefslogtreecommitdiffhomepage
path: root/ui/src
AgeCommit message (Collapse)Author
2020-03-14tunnel: Remove MISSING_VALUE from BadConfigException reasonsHarsh Shandilya
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>
2020-03-12strings: update Simplified Chinese translationLilligantMatsuri
Signed-off-by: LilligantMatsuri <srb12345@vip.qq.com> Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-12strings: update Japanese translationEiji Tanioka
Signed-off-by: Eiji Tanioka <tanioka404@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-11strings: update Russian translateAlexey
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-10ModuleDownloaderPreference: remove disable_kernel_module after downloadingJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-10global: java access control has important semantic meaningJason A. Donenfeld
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>
2020-03-10ui: Codestyle cleanupsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-10BaseFragment: Always anchor Snackbars to FABHarsh Shandilya
This makes tunnel list fragment correctly render them above the FAB. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-09strings: remove stale translationsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09KernelModuleDisablerPreference: turn off tunnels before switching backendJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09KernelModuleDisabler: allow disabling the kernel module backendJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09Preferences: give dual state summary for restore on bootJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09Preferences: reorder new checkboxJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09VersionPreference: reverse go and wgquick titlesJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09TunnelDetailFragment: avoid integer overflowJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09global: format codeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09global: optimize importsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09global: get rid of nonnull gradle hackJason A. Donenfeld
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>
2020-03-09Application: simplify static blockJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09Use dark system bars on API 21Harsh Shandilya
Light system bars didn't come around until API 23. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-09ThemeChangeAwareActivity: recreate activity after changing themeJason A. Donenfeld
API 21 had issues without this. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09WgQuickBackend: by default use single-tunnel mode like GoBackend, but add optionJason A. Donenfeld
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>
2020-03-09ObservableTunnel: pass right argument to state transitionJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09ModuleLoader: move to right projectJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09AsyncWorker: move back to original locationJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-09Use AndroidX Nullable annotation everywhereHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-03-09Rename app module to uiHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>