Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | project: Update gradle files | Samuel Holland | 2017-11-07 | 3 | -6/+8 |
| | | | | | | These are automatic changes made by Android Studio 3.0. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | cli: add wg(8) build script | Jason A. Donenfeld | 2017-11-01 | 1 | -0/+59 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Prepare version 0.1.0 | Samuel Holland | 2017-08-24 | 1 | -2/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigListFragment: Prevent config names from wrapping | Samuel Holland | 2017-08-24 | 1 | -0/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigActivity: Only use split layout on tablet-sized screens | Samuel Holland | 2017-08-24 | 1 | -0/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Centralize/unify validation of configurations | Samuel Holland | 2017-08-24 | 3 | -16/+11 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigActivity: Invert isSplitLayout→isSingleLayout for clarity | Samuel Holland | 2017-08-24 | 1 | -12/+12 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ObservableSortedMap: Document interface | Samuel Holland | 2017-08-24 | 1 | -0/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Remove state debugging messages | Samuel Holland | 2017-08-24 | 3 | -13/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigEditFragment: Copy public key on click | Samuel Holland | 2017-08-24 | 3 | -0/+19 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigEditFragment: Mark the persistent keepalive as optional | Samuel Holland | 2017-08-24 | 1 | -0/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigEditFragment: Add a field for the optional pre-shared key | Samuel Holland | 2017-08-24 | 2 | -1/+20 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Peer: Add a field for the optional pre-shared key | Samuel Holland | 2017-08-24 | 2 | -0/+21 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigActivity: Fix condition for inserting back stack entries | Samuel Holland | 2017-08-24 | 1 | -1/+2 |
| | | | | | | | Fixes saved editor state on rotation (removing and recreating the editor discarded changes). Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigActivity: Save editor state across fragment instances | Samuel Holland | 2017-08-24 | 1 | -1/+18 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | AddActivity: Update for ConfigEditFragment changes | Samuel Holland | 2017-08-24 | 1 | -4/+13 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigEditFragment: Save and restore editor state properly | Samuel Holland | 2017-08-24 | 1 | -6/+48 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigActivity: Avoid unnecessary executePendingTransactions | Samuel Holland | 2017-08-24 | 1 | -3/+1 |
| | | | | | | Nothing later tries to find the list using findFragmentById(). Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigListFragment: Avoid unnecessary findViewById | Samuel Holland | 2017-08-24 | 1 | -3/+2 |
| | | | | | | The generated ViewDataBinding has fields for each view with an id. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigActivity: Log state transitions | Samuel Holland | 2017-08-23 | 1 | -0/+3 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Config/Interface/Peer: Make Parcelable | Samuel Holland | 2017-08-23 | 3 | -9/+123 |
| | | | | | | This allows saving the editor state across restarts. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Config/Interface/Peer: Fix some missed change notifications | Samuel Holland | 2017-08-23 | 3 | -15/+18 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | VpnService: Fix some edge cases in ConfigUpdater | Samuel Holland | 2017-08-23 | 1 | -18/+19 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Config/Interface: Allow copyFrom() to work on null | Samuel Holland | 2017-08-23 | 2 | -11/+28 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | BaseConfigActivity: Remember editing state | Samuel Holland | 2017-08-23 | 2 | -12/+39 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | manifest: ConfigActivity is parent to AddActivity | Samuel Holland | 2017-08-23 | 1 | -1/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Finish first pass of config editor fields | Samuel Holland | 2017-08-22 | 9 | -173/+468 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | QuickTileService: Update the tile once on service init | Samuel Holland | 2017-08-22 | 1 | -0/+1 |
| | | | | | | This makes the tile show the correct info when it is first added. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Add an adapter for binding an ObservableList to a LinearLayout | Samuel Holland | 2017-08-22 | 5 | -14/+169 |
| | | | | | | EditTexts do not work in ListViews. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Use data binding to provide EditText input filters | Samuel Holland | 2017-08-22 | 6 | -22/+71 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigAddActivity: Rename to AddActivity | Samuel Holland | 2017-08-22 | 4 | -5/+7 |
| | | | | | | Not everything needs to start with Config Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigActivity: Fix fragment state when leaving/entering app | Samuel Holland | 2017-08-21 | 4 | -109/+162 |
| | | | | | | Do this by making the fragment transition functions idempotent. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Peer: Associate with a Config | Samuel Holland | 2017-08-19 | 2 | -4/+29 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Minor cleanups | Samuel Holland | 2017-08-19 | 2 | -10/+5 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ObservableAdapters: notify on map/list being set | Samuel Holland | 2017-08-18 | 3 | -3/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | MapAdapter: Stable IDs are based on value, not key | Samuel Holland | 2017-08-17 | 1 | -1/+1 |
| | | | | | | This fixes list selection to survive renaming configurations. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigListFragment: Restore the non-FAB add menu | Samuel Holland | 2017-08-17 | 4 | -0/+25 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | QuickTileService: Implement and update from VpnService | Samuel Holland | 2017-08-17 | 4 | -1/+117 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | BaseConfigActivity: Make use of inner class's this | Samuel Holland | 2017-08-17 | 1 | -3/+3 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | VpnService: Use a string to remember the primary config | Samuel Holland | 2017-08-17 | 1 | -23/+29 |
| | | | | | | This allows simplifies the code a bit. Also, a few other minor changes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigEditFragment: Add extremely basic validation | Samuel Holland | 2017-08-17 | 2 | -1/+13 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Interface: Rework private key handling | Samuel Holland | 2017-08-17 | 1 | -11/+17 |
| | | | | | | | This works much better with a data-bound UI -- no confusing erasing of the text box, and no crashes, either! Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | VpnService: Remove extraneous call to super() | Samuel Holland | 2017-08-17 | 1 | -1/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ObservableArrayMapAdapter: Remove | Samuel Holland | 2017-08-17 | 2 | -120/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Convert to using the ObservableTreeMap and its adapter | Samuel Holland | 2017-08-17 | 4 | -4/+34 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ObservableMapAdapter: Based on an observable TreeMap | Samuel Holland | 2017-08-17 | 3 | -0/+190 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | preferences: Control restoring enabled configs | Samuel Holland | 2017-08-16 | 2 | -0/+7 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | VpnService: Remember and optionally restore enabled configs | Samuel Holland | 2017-08-16 | 1 | -0/+20 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | SettingsActivity: Implement primary config setting | Samuel Holland | 2017-08-16 | 3 | -0/+26 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | ConfigListPreference: ListPreference for configs | Samuel Holland | 2017-08-16 | 1 | -0/+35 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |