Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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> | |||||
* | ConfigList: Denote the primary config with bold text | Samuel Holland | 2017-08-16 | 1 | -1/+4 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | BindingAdapters: Create an adapter for textStyle | Samuel Holland | 2017-08-16 | 1 | -0/+8 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | VpnService: Remember and maintain the primary config | Samuel Holland | 2017-08-16 | 1 | -1/+36 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Config: add an isPrimary property | Samuel Holland | 2017-08-16 | 1 | -0/+11 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Detail/Edit/ListFragment: Update the layouts | Samuel Holland | 2017-08-16 | 4 | -27/+22 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigActivity: Inline PlaceholderFragment into the layout | Samuel Holland | 2017-08-16 | 4 | -54/+35 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigActivity: Make the two-pane layout more readable | Samuel Holland | 2017-08-16 | 8 | -2/+24 | |
| | | | | | | | Highlight the selected configuration, and add a border between the two panes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Config: Make it Comparable | Samuel Holland | 2017-08-16 | 1 | -1/+8 | |
| | | | | | | This will be used for future sorting. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigActivity: Adjust when the back arrow is shown | Samuel Holland | 2017-08-16 | 1 | -9/+9 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigListFragment: Implement config selection and removal | Samuel Holland | 2017-08-16 | 4 | -10/+120 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Config: Rename function to make databinding happy | Samuel Holland | 2017-08-16 | 2 | -5/+5 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | VpnService: Tweaks for ConfigUpdater to fix adding | Samuel Holland | 2017-08-16 | 1 | -4/+9 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigDetailFragment: Move function to be in alphabetical order | Samuel Holland | 2017-08-16 | 1 | -6/+9 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigActivity: Fix restoring layout on resume | Samuel Holland | 2017-08-16 | 1 | -5/+6 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigAddActivity: Add an standalone config-creating activity | Samuel Holland | 2017-08-15 | 5 | -2/+57 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | BaseConfigActivity: Set initial config when service available | Samuel Holland | 2017-08-15 | 2 | -10/+11 | |
| | | | | | | | This was accidentally missed earlier when adding the optimization to omit binding the service when unnecessary. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | KeyInputFilter: Extract to its own class | Samuel Holland | 2017-08-15 | 2 | -36/+43 | |
| | | | | | | It will be reused for entering public keys of peers. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigActivity: Show the current config in the title | Samuel Holland | 2017-08-15 | 1 | -0/+4 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | BaseConfigActivity: Move menu handling to ConfigActivity | Samuel Holland | 2017-08-15 | 2 | -7/+7 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigActivity: Show back arrow in single layout action bar | Samuel Holland | 2017-08-14 | 1 | -0/+7 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ListFragment: Don't assume the ListView is the root | Samuel Holland | 2017-08-14 | 1 | -1/+1 | |
| | | | | | | | It may share the layout with a FAB, and that requires a parent ViewGroup. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigActivity: Fragments are hard; this un-breaks animations | Samuel Holland | 2017-08-14 | 2 | -79/+88 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigActivity: Enable animations on fragment transitions | Samuel Holland | 2017-08-14 | 1 | -0/+2 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | EditFragment: Input filters for config name and private key | Samuel Holland | 2017-08-14 | 1 | -0/+50 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | ConfigActivity: Avoid crash when started while locked | Samuel Holland | 2017-08-14 | 1 | -3/+12 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Major renaming and refactoring in activity and service | Samuel Holland | 2017-08-13 | 49 | -1218/+1193 | |
| | | | | | | Apparently "configuration" is the proper term, not "profile". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |