Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-08-22 | Use data binding to provide EditText input filters | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-22 | ConfigAddActivity: Rename to AddActivity | Samuel Holland | |
Not everything needs to start with Config Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-21 | ConfigActivity: Fix fragment state when leaving/entering app | Samuel Holland | |
Do this by making the fragment transition functions idempotent. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-19 | Peer: Associate with a Config | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-19 | Minor cleanups | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-18 | ObservableAdapters: notify on map/list being set | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | MapAdapter: Stable IDs are based on value, not key | Samuel Holland | |
This fixes list selection to survive renaming configurations. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | ConfigListFragment: Restore the non-FAB add menu | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | QuickTileService: Implement and update from VpnService | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | BaseConfigActivity: Make use of inner class's this | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | VpnService: Use a string to remember the primary config | Samuel Holland | |
This allows simplifies the code a bit. Also, a few other minor changes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | ConfigEditFragment: Add extremely basic validation | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | Interface: Rework private key handling | Samuel Holland | |
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> | |||
2017-08-17 | VpnService: Remove extraneous call to super() | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | ObservableArrayMapAdapter: Remove | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | Convert to using the ObservableTreeMap and its adapter | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-17 | ObservableMapAdapter: Based on an observable TreeMap | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | preferences: Control restoring enabled configs | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | VpnService: Remember and optionally restore enabled configs | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | SettingsActivity: Implement primary config setting | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigListPreference: ListPreference for configs | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigList: Denote the primary config with bold text | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | BindingAdapters: Create an adapter for textStyle | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | VpnService: Remember and maintain the primary config | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | Config: add an isPrimary property | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | Detail/Edit/ListFragment: Update the layouts | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigActivity: Inline PlaceholderFragment into the layout | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigActivity: Make the two-pane layout more readable | Samuel Holland | |
Highlight the selected configuration, and add a border between the two panes. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | Config: Make it Comparable | Samuel Holland | |
This will be used for future sorting. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigActivity: Adjust when the back arrow is shown | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigListFragment: Implement config selection and removal | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | Config: Rename function to make databinding happy | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | VpnService: Tweaks for ConfigUpdater to fix adding | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigDetailFragment: Move function to be in alphabetical order | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-16 | ConfigActivity: Fix restoring layout on resume | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-15 | ConfigAddActivity: Add an standalone config-creating activity | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-15 | BaseConfigActivity: Set initial config when service available | Samuel Holland | |
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> | |||
2017-08-15 | KeyInputFilter: Extract to its own class | Samuel Holland | |
It will be reused for entering public keys of peers. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-15 | ConfigActivity: Show the current config in the title | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-15 | BaseConfigActivity: Move menu handling to ConfigActivity | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-14 | ConfigActivity: Show back arrow in single layout action bar | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-14 | ListFragment: Don't assume the ListView is the root | Samuel Holland | |
It may share the layout with a FAB, and that requires a parent ViewGroup. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-14 | ConfigActivity: Fragments are hard; this un-breaks animations | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-14 | ConfigActivity: Enable animations on fragment transitions | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-14 | EditFragment: Input filters for config name and private key | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-14 | ConfigActivity: Avoid crash when started while locked | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-13 | Major renaming and refactoring in activity and service | Samuel Holland | |
Apparently "configuration" is the proper term, not "profile". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-13 | Profile: Add function to copy config from another profile | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-13 | ProfileActivity: Remove unnecessary parameterization | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-13 | ProfileService: Rework handling of updates, again | Samuel Holland | |
Prefer updating an object instead of replacing it. This preserves the selection in the UI list. Also make renaming atomic as it should be. Now the only possibility for data loss is if the old file can be opened but not written to. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |