aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/java/com/wireguard/android/fragment (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up error messagesSamuel Holland2018-12-155-20/+23
|
* Provide semantically meaningful exceptions for translationSamuel Holland2018-12-152-6/+6
|
* Fix locale usageJason A. Donenfeld2018-12-112-5/+2
|
* Localize exception messagesZachary Wander2018-12-112-4/+7
|
* Use English lower casingJason A. Donenfeld2018-12-091-3/+4
| | | | | In Turkish, I becomes ı instead of i, which is a problem when matching things like "AllowedIPs".
* Do not close zip input streamJason A. Donenfeld2018-12-081-2/+5
|
* Remodel the ModelSamuel Holland2018-12-085-109/+53
| | | | | | | | | | | | - 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.
* Auto-format the source directoriesSamuel Holland2018-11-115-186/+184
| | | | Blame Jason for writing Java in vim.
* global: update copyright headersJason A. Donenfeld2018-09-066-12/+6
|
* MonkeyedSnackbar: removeJason A. Donenfeld2018-08-263-10/+7
| | | | This didn't actually help with much and caused problems.
* Show different color for multiselectionJason A. Donenfeld2018-07-301-20/+9
|
* MonkeyedSnackbar: work around Harsh's broken phoneJason A. Donenfeld2018-07-293-7/+10
| | | | | | I think I'd probably like to revert this, since presumably there's a good reason in the first place why the support lib disables animations when accessibility services are turned on?
* TunnelListFragment: show selected tunnelJason A. Donenfeld2018-07-291-5/+34
|
* TunnelListFragment: fix multiselection on rotationJason A. Donenfeld2018-07-291-1/+25
|
* MainActivity: Fix fragment selection logicSamuel Holland2018-07-281-0/+1
| | | | Signed-off-by: Samuel Holland <samuel@sholland.org>
* config: show more informative error message on wrong keyJason A. Donenfeld2018-07-271-1/+1
|
* TunnelDetailFragment now restores state correctly after process deathEric Kuck2018-07-261-16/+20
|
* Application: use proper completablefuture for backendJason A. Donenfeld2018-07-261-1/+1
|
* TunnelEditorFragment: plug memory leak on listenersJason A. Donenfeld2018-07-251-0/+14
| | | | | | | | Apparently these don't get GC'd unless they're removed explicitly, because there's a global singleton registry of them. So, introduce a little registry of our own. Reported-by: Samuel Holland <samuel@sholland.org>
* qrcode: minor adjustmentsJason A. Donenfeld2018-07-252-5/+5
|
* Added QR code scanner as tunnel import methodEric Kuck2018-07-252-0/+150
|
* treewide: Optimize importsHarsh Shandilya2018-07-222-4/+0
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* fab: move in direct ratio to scrollJason A. Donenfeld2018-07-201-22/+2
|
* TunnelListFragment: Allocate interpolators outside scroll listenerHarsh Shandilya2018-07-201-2/+5
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* TunnelEditorFragment: fix null pointer dereferenceJason A. Donenfeld2018-07-191-2/+4
|
* TunnelListFragment: setOnScrollListener is old, but we support API 21, so we have to use itJason A. Donenfeld2018-07-181-0/+1
|
* AppListDialogFragment: getArguments is null before onCreateJason A. Donenfeld2018-07-181-1/+8
|
* fab: make fab respond to recyclerview scroll eventsHarsh Shandilya2018-07-181-0/+20
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* android: TunnelListFragment: Annotate parameter to match super methodHarsh Shandilya2018-07-161-1/+2
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* BaseFragment: do not allow tunnel to be nullJason A. Donenfeld2018-07-131-0/+2
|
* TunnelEditorFragment: binding might be nullJason A. Donenfeld2018-07-131-0/+2
|
* global: Add nullity annotationsEric Kuck2018-07-135-60/+71
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Address lint issues in TunnelListFragmentHarsh Shandilya2018-07-121-6/+5
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* TunnelEditorFragment: add DNSes to allowedIPs when excluding rfc1918Jason A. Donenfeld2018-07-121-0/+45
|
* fab: use support library's renderingEric Kuck2018-07-111-1/+0
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* BaseFragment: in the event no view is available, use toastJason A. Donenfeld2018-07-091-8/+7
|
* Request VPN permissions on activationEric Kuck2018-07-094-73/+92
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* Switch from ListView to RecyclerViewEric Kuck2018-07-081-71/+77
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* AppListDialogFragment: add deselect all buttonJason A. Donenfeld2018-07-061-1/+8
|
* global: move to Apache 2.0Jason A. Donenfeld2018-07-066-6/+6
|
* TunnelEditor: fix nitsJason A. Donenfeld2018-07-062-22/+20
|
* AppListDialogFragment: add implementation for excluding applicationsEric Kuck2018-07-062-1/+159
| | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
* android: Add select all button to action modeHarsh Shandilya2018-06-301-0/+4
| | | | | | | Thanks to Jason for suggesting the not-clinically-insane method to go about this. Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* treewide: Optimize importsHarsh Shandilya2018-06-231-2/+0
| | | | Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
* BaseActivity: styleJason A. Donenfeld2018-06-071-2/+1
|
* Give Samuel heart attack by removing DaggerJason A. Donenfeld2018-06-072-11/+5
|
* 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.
* 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 <harsh@prjkt.io>
* EditorFragment: show toast on creation tooJason A. Donenfeld2018-05-271-0/+1
|
* ExceptionLoggers: never have a null messageJason A. Donenfeld2018-05-163-7/+7
|