Age | Commit message (Collapse) | Author | |
---|---|---|---|
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> | |||
2017-08-10 | ServiceClientFragment: Connect early if possible | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-10 | ProfileList: Fix state tracking | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-10 | ProfileEdit: Finish writing code-behind | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-10 | ProfileActivity: Do menus correctly | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-10 | ProfileFragment: Make good use of the cached profile | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-09 | Settings: Add empty activity | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-09 | Hook up editing to the layout and menus | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-09 | ProfileEdit: Add empty activity/fragment | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-09 | ProfileActivity: Do not use onClick for menus | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-09 | ProfileActivity: Also remember editing state | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-09 | ProfileFragment: Helper class to remember a fragment's profile | Samuel Holland | |
Caching the actual profile object is important when the fragment is on an activity's back stack: when it is shown again, onCreateView will be called with profile already set and the service already connected. In this case, there is no later notification from which to bind the profile, so the existing object needs to be bound there. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-09 | ProfileList: Add the list fragment in code so it knows the layout | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-09 | ProfileActivity: Replace fragments instead of hiding | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-09 | ProfileActivity: Extract base class for fixing fragments | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
2017-08-09 | Interface: Correctly handle setting a null or empty key | Samuel Holland | |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |