summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res
AgeCommit message (Collapse)Author
2018-06-02Preferences: Move version pref to top and add iconHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-02Preferences: add log exporterJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-01Settings: add versionJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-01colors: final touchesJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-01ui: Use better list colors in night modeHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-01fab: Make label responsive to night modeHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-01FloatingActionButton: Make attribute grabbing not be terribleHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-06-01theme: add dark theme with toggleJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-01global: fix theme situation and clean up cruft while adding more cruftJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-29FloatingActionButton: import cleaned up getbase codeJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-09theme: revert to old color schemeJason A. Donenfeld
Noble effort, but ultimately ugly. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-05mipmap: Fix formatting of launcher icon XMLSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-05-05styles: Fixup CAB background colorHarsh Shandilya
Long pressing any list item entry would cause the action bar to use the dark color from the parent theme -- fix that. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-05drawables: Introduce material iconographyHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-05styles: Propagate WireGuard blue in UIHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-05styles: Propagate WireGuard red in UIHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-03ui: Use a proper CardView based layoutHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-05-02drawable: add adaptive iconJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-30global: Clean up XMLSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-04-30global: Automatic code formattingSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-04-30Preferences: use v14 material styleJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-30wg: Break out crossport dependencyHarsh Shandilya
Replace all crossport uses with upstream design support library components. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30SettingsActivity: Define preferenceTheme for AppCompatHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30wg: Migrate menu visibility to AppCompatHarsh Shandilya
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30wg: Add and use dummy AppThemeHarsh Shandilya
Preparation for when the app will start carrying colors reflecting the WireGuard brand. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2018-04-30TunnelEditorFragment: rewrite and simplifyJason A. Donenfeld
This should remove some null pointer dereferences and overall make the thing more robust. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-29Allow exporting to zip fileJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-28Allow importing from zip fileJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-28Use validation instead of two-way bindingJason A. Donenfeld
This is insane, but it appears to be working. We essentially store things in a separate class for editing, and then commit it back at a given time. This business with onViewStateRestored in both TunnelEditorFragment and in TunnelDetailFragment is buggy and likely wrong. In general TunnelEditorFragment should probably be rewritten. The relationship with the changed name is not clear. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-18More javaficationJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-04-17Remove sloppy java with enterprise java horrorsJason A. Donenfeld
Since the amount of mind numbing boiler plate has been increased, this must be the proper way to do things. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-02-17GoBackend: integrate into appJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-01-08global: Fix or suppress most lints/warningsSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-08Fragment/Tile: Make success/error messages translatableSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-09layout: never use suggestionsJason A. Donenfeld
IP addresses and key material could be potentially sensitive. We also don't want any interactions with the suggestive text APIs. So, we mark it as both a visible password and we turn off suggestions. This will fix the length limit, too, in Android 8. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-01-08QuickTileService: show toast for longer and use right messagesJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-01-08RootShell: multiplex commandsJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-01-08Handle tunnel state change errors appropriatelySamuel Holland
This class should probably be renamed and moved, but I don't know to what or where. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-08project: Global cleanupSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-08ToolsInstaller: Extract to its own classesSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-07Remove primary configuration preferenceSamuel Holland
It is no longer used. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-07Tunnel: Remove UNKNOWN stateSamuel Holland
It's never used. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Keyed...: Rename all the thingsSamuel Holland
Hooray for diamond interface inheritance. Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06project: Minor cleanupsSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06TunnelDetailFragment: Allow copying peer public keysSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06TunnelDetailFragment: Remove state text and last changeSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Convert the list of tunnels to a KeyedObservableListSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Serviceless rewrite, part 1Samuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Rename package widgets -> widgetSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>
2018-01-06Rename package bindings -> databindingSamuel Holland
Signed-off-by: Samuel Holland <samuel@sholland.org>