aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* ToolsInstallerPreference: do not check for magisk on main threadJason A. Donenfeld2018-06-063-7/+11
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: Allow building release artifacts in-treeHarsh Shandilya2018-06-051-0/+26
| | | | | | | | | | | | | | | | | | This change avoids all need for changing any file under VCS to insert signing keys and configs for release builds. Example contents of keystore.properties ``` // Location of keystore, relative to module build.gradle, // in this case, of the app module storeFile=../wireguard.jks storePassword=b3ty0uc4nth4xxth1s keyAlias=wireguard keyPassword=4ndr01dsux ``` Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* MainActivity: Silence useless warningHarsh Shandilya2018-06-051-0/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Version bump0.0.20180605Jason A. Donenfeld2018-06-051-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionMenu: use appcompat themeJason A. Donenfeld2018-06-053-6/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: collapse action menu on toolbar touchHarsh Shandilya2018-06-051-0/+9
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ToolsInstaller: allow installing as Magisk moduleJason A. Donenfeld2018-06-053-11/+68
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: better error when using unpatched GoJason A. Donenfeld2018-06-051-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ActionBar: show single menu item as tooliconJason A. Donenfeld2018-06-052-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelListFragment: hide menu when going to settingsJason A. Donenfeld2018-06-051-0/+6
| | | | | | Really the menu should be hidden when clicking on the action bar, too. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: styleJason A. Donenfeld2018-06-051-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: properly get theme colorJason A. Donenfeld2018-06-051-8/+7
| | | | | | | Harsh changed this before, but my original way is what the support library does internally. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: more efficient and safer string passingJason A. Donenfeld2018-06-052-10/+7
| | | | | | It was unclear when the Go string was actually freed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: Remove useless overrideHarsh Shandilya2018-06-051-5/+0
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: Use themed context to set styleHarsh Shandilya2018-06-051-1/+1
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* DarkMode: move to shared preferences listenerJason A. Donenfeld2018-06-055-206/+79
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MainActivity: styleJason A. Donenfeld2018-06-041-1/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* FloatingActionsMenu: remove unused importsJason A. Donenfeld2018-06-041-3/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BaseActivity: support android 5 and 6 when clearing drawable cacheJason A. Donenfeld2018-06-041-7/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* LogExporterPreference: get all past processesJason A. Donenfeld2018-06-041-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BaseActivity: invalidate icon cache on Android PJason A. Donenfeld2018-06-042-15/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Bump version0.0.20180604Jason A. Donenfeld2018-06-041-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* app: disable proguardJason A. Donenfeld2018-06-042-32/+0
| | | | | | It's mostly a hindrance to debugging. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelManager: disable dangerous intents for nowJason A. Donenfeld2018-06-041-0/+6
| | | | | | | We need to think about how to allow this securely. It's not okay for all apps to be allowed to twiddle with VPN settings. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelManager: new intentsJason A. Donenfeld2018-06-045-13/+52
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: don't use round iconJason A. Donenfeld2018-06-031-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: Move version pref to top and add iconHarsh Shandilya2018-06-022-4/+4
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Backends: print versions somewhere in logJason A. Donenfeld2018-06-022-2/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* android: Cleanup classesHarsh Shandilya2018-06-0211-40/+41
| | | | | | | - Use final modifer wherever possible - Use try-with-resources for input/output streams Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* crypto: KeyEncoding: Fix styleHarsh Shandilya2018-06-021-25/+32
| | | | | | | - Replace python style variable names with camel case - Don't declare multiple variables in the same line Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Topic: John does things differentlyJason A. Donenfeld2018-06-021-29/+30
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ExporterPreferences: disable control immediatelyJason A. Donenfeld2018-06-022-4/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Preferences: add log exporterJason A. Donenfeld2018-06-024-18/+137
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* libwg-go: fix styleJason A. Donenfeld2018-06-011-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Version bump0.0.20180601Jason A. Donenfeld2018-06-012-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Topic: make reentrantJason A. Donenfeld2018-06-011-6/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BaseActivity: flush themed icon cache on theme changeJason A. Donenfeld2018-06-011-0/+18
| | | | | | | | | | The most terrible hack you have ever seen. The drawable cache isn't properly flushed when changing the theme -- a frameworks bug, evidently -- so we work around it by digging deep into the mud. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Settings: add versionJason A. Donenfeld2018-06-017-0/+100
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* colors: final touchesJason A. Donenfeld2018-06-012-2/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: Use better list colors in night modeHarsh Shandilya2018-06-011-0/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* TunnelListFragment: Dejank action mode titleHarsh Shandilya2018-06-011-1/+5
| | | | | | | | | | | | When unselecting items, the toolbar briefly says '0 items selected' before it reverts back to the non-action mode toolbar which feels janky at best. To mitigate this, just set a blank title to the action mode toolbar when item count is 0, to facilitate the smoothness of the transition to non-action mode toolbar. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: Make label responsive to night modeHarsh Shandilya2018-06-014-2/+9
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* FloatingActionButton: Cleanup declaration of TranslucentLayerDrawable classHarsh Shandilya2018-06-011-2/+2
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* FloatingActionButton: Make attribute grabbing not be terribleHarsh Shandilya2018-06-013-11/+10
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* theme: add dark theme with toggleJason A. Donenfeld2018-06-016-3/+183
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: fix theme situation and clean up cruft while adding more cruftJason A. Donenfeld2018-06-0118-43/+78
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* fab: default to app theme colorsHarsh Shandilya2018-06-012-7/+14
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: use AppCompatTextView for labelHarsh Shandilya2018-06-011-2/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* fab: cleanupHarsh Shandilya2018-06-013-34/+32
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* wg-quick: don't break push notificationsJason A. Donenfeld2018-05-312-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>