summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res
AgeCommit message (Collapse)Author
2019-10-12export: use content resolver on android Q+Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-12preferences: add donation linkJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-05TunnelList: Get focus to toggle button via remote for Fire TVRevath S Kumar
This removes a no-longer-needed workaround for the ListView OnItemClickListener (it won't fire if a focusable view is inside the item view). Since converting our ListView instances to RecyclerView instances, we set the OnClick and OnLongClick listeners directly on the item view, and this workaround no longer has any effect. Unsurprisingly, the workaround breaks focusability of the Switch, which is necessary to toggle tunnels on devices with keypad-based navigation, such as the Fire TV. This commit also adds explicit focusability hints for the Switch. Related mail thread: https://lists.zx2c4.com/pipermail/wireguard/2019-May/004112.html Reported-by: Christophe-Marie Duquesne <chmd@chmd.fr> Reported-by: Revath S Kumar <gmail@revathskumar.com> [Samuel: sorted attributes; expanded commit message] Signed-off-by: Samuel Holland <samuel@sholland.org>
2019-03-19strings: %i is invalidJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-02-17project: bump dependenciesJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-18strings: squelch warning on multiple %sJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-18Migrate to AndroidXHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-12-15Clean up error messagesSamuel Holland
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Squelch xml warningJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Order stringsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-11Localize exception messagesZachary Wander
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-12-08Remodel the ModelSamuel Holland
- The configuration and crypto model is now entirely independent of Android classes other than Nullable and TextUtils. - Model classes are immutable and use builders that enforce the appropriate optional/required attributes. - The Android config proxies (for Parcelable and databinding) are moved to the Android side of the codebase, and are designed to be safe for two-way databinding. This allows proper observability in TunnelDetailFragment. - Various robustness fixes and documentation updates to helper classes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-11-11Auto-format the source directoriesSamuel Holland
Blame Jason for writing Java in vim. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-10-01strings: properly mark positionalsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-26Extract error messages to string resourcesHarsh Shandilya
Useful for validation errors and localisation later on Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-30Style: use attrs from appcompat rather than from frameworksJason A. Donenfeld
This isn't possible for colorForeground, colorBackground, textAppearanceMedium, but at least it's useful for some things here. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-30Show different color for multiselectionJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-30Replace hard-coded colors with theme colorsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-30Remove placeholder color and directly use alphaHarsh Shandilya
Why wasn't this done like this in the first place? Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-29ConfigNamingDialog: use name input filterJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-29MSF: make it more obvious what needs to be doneJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-29MainActivity: only show two column on tabletsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-28MainActivity: Fix fragment selection logicSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-07-25style: coloring the navbar looks a bit strange when rotatedJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-25qrcode: minor adjustmentsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-25Added QR code scanner as tunnel import methodEric Kuck
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-23Make placeholder prettyJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-22Show help text when no tunnels are importedHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-22RTL layout fixesHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-20fab: move in direct ratio to scrollJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-20UI: use background color for navbar in dark modeHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-20fab: make icons always whiteJason A. Donenfeld
With the new shade of blue, perhaps this simply looks better. I don't like hard coding the color away from the theme, however. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-20theme: use less disgusting colorJason A. Donenfeld
Harsh's "users" were offended by the dark theme. So, we change the accent to that used by gboard's dark theme, which should be pretty uncontroversial. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-18fab: add fab sized padding at bottom of recycler viewJason A. Donenfeld
This way we can keep scrolling when there are exactly the right number of items, so that the toggle switch becomes visible. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-18fab: make fab respond to recyclerview scroll eventsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-18fab: slide fab up when a snackbar showsHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-07-12TunnelEditorFragment: add DNSes to allowedIPs when excluding rfc1918Jason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-11fab: use support library's renderingEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-09QuickTileService: automatically slash the tileJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-09Request VPN permissions on activationEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-08Switch from ListView to RecyclerViewEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-06PeerEditor: put exclusion checkbox next to labelJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06AppListDialogFragment: add deselect all buttonJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06PeerEditor: add exclude private IPs functionalityJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06TunnelEditor: fix nitsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-06AppListDialogFragment: add implementation for excluding applicationsEric Kuck
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-07-06TunnelEditor: better looking buttonsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-30android: Add select all button to action modeHarsh Shandilya
Thanks to Jason for suggesting the not-clinically-insane method to go about this. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-10ToolsInstaller: safer state machineJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-07Backend: abstract version informationJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>