Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | android: Catch exception if numbers are too large for Integer | Tobias Brunner | 2016-06-13 | 1 | -1/+8 |
| | |||||
* | android: Update Gradle plugin | Tobias Brunner | 2016-06-13 | 1 | -1/+1 |
| | |||||
* | android: Fix signature of get_nexthop() | Tobias Brunner | 2016-06-13 | 1 | -1/+2 |
| | |||||
* | android: New release after fixing a crash during certificate imports | Tobias Brunner | 2016-05-06 | 1 | -2/+2 |
| | |||||
* | android: Avoid IllegalStateException when importing certificates | Tobias Brunner | 2016-05-06 | 1 | -2/+14 |
| | | | | | | | | | | When certificates are imported via Storage Access Framework we did handle the selection directly in onActivityResult(). However, at that point the activity might apparently not yet be resumed. So committing FragmentTransactions could result in IllegalStateExceptions due to the potential state loss. To avoid that we cache the returned URI and wait until onPostResume() to make sure the activity's state is fully restored before showing the confirmation dialog. | ||||
* | android: New release after reducing number of DH groups in proposal | Tobias Brunner | 2016-05-04 | 1 | -2/+2 |
| | |||||
* | android: Use separate label strings for text fields in login dialog | Tobias Brunner | 2016-05-03 | 6 | -2/+12 |
| | | | | | In the profile editor the password is now marked as optional in the label, which looks a bit strange in the login dialog. | ||||
* | android: New release after GUI changes/additions | Tobias Brunner | 2016-05-02 | 1 | -2/+2 |
| | |||||
* | android: Show selected user identity in profile list | Tobias Brunner | 2016-05-02 | 1 | -3/+9 |
| | | | | This also readds the colons that were removed from the labels. | ||||
* | android: Allow selection of user identity in GUI | Tobias Brunner | 2016-05-02 | 2 | -2/+52 |
| | |||||
* | android: Add adapter for user ID selection | Tobias Brunner | 2016-05-02 | 6 | -0/+80 |
| | |||||
* | android: Add helper function to TrustedCertificateEntry to get subjectAltNames | Tobias Brunner | 2016-05-02 | 1 | -4/+43 |
| | | | | | Duplicates (e.g. with different types) are filtered. If necessary we could later perhaps add a prefix. | ||||
* | android: Add auto-completion to remote ID and profile name | Tobias Brunner | 2016-05-02 | 2 | -6/+83 |
| | | | | | This makes it easy to explicitly use the server's IP/hostname as remote identity or use it in the profile name. | ||||
* | android: Make remote identity configurable in the GUI | Tobias Brunner | 2016-05-02 | 7 | -2/+43 |
| | |||||
* | android: Use TextInputLayout in login dialog | Tobias Brunner | 2016-05-02 | 1 | -26/+30 |
| | |||||
* | android: Use TextInputLayoutHelper in profile editor | Tobias Brunner | 2016-05-02 | 7 | -148/+212 |
| | | | | | This adds floating labels and helper texts to the form fields. It also changed/added lots of strings in the editor. | ||||
* | android: Add TextInputLayout child class that displays a helper text below ↵ | Tobias Brunner | 2016-05-02 | 2 | -2/+185 |
| | | | | | | the text field Also hides the error message if the text is changed. | ||||
* | android: Use proper namespace for custom attribute | Tobias Brunner | 2016-05-02 | 1 | -2/+2 |
| | |||||
* | android: Move profile name field to the bottom and use server address as hint | Tobias Brunner | 2016-05-02 | 2 | -16/+41 |
| | |||||
* | android: Use configured local identity in auth-cfgs | Tobias Brunner | 2016-05-02 | 1 | -9/+30 |
| | | | | | | We still default to the username or subject DN if none is configured. But we don't check if the local ID is contained in the configured certificate. | ||||
* | android: Use configured remote ID in auth-cfg | Tobias Brunner | 2016-05-02 | 1 | -4/+15 |
| | | | | | | | | If one is explicitly set we don't use loose identity matching and send it as IDr to the server. Closes #strongswan/strongswan#29. Fixes #1268. | ||||
* | android: Pass local and remote identities as settings of a connection | Tobias Brunner | 2016-05-02 | 1 | -2/+4 |
| | |||||
* | android: Add fields for local and remote identities to data model | Tobias Brunner | 2016-05-02 | 2 | -6/+44 |
| | |||||
* | android: Avoid races between FragmentManager and state saving | Tobias Brunner | 2016-05-02 | 1 | -5/+4 |
| | | | | | | | | | onSaveInstanceState is apparently called after pausing the fragment and after that committing any FragmentTransactions causes an IllegalStateException. We could use commitAllowingStateLoss() but that's not really necessary as we don't need to update when we are not active anyway. We also don't update the view directly after registration as this happens asynchronously, i.e. we might be paused when it finishes. | ||||
* | android: Increase the NAT-T keepalive interval to potentially save battery life | Tobias Brunner | 2016-05-02 | 1 | -0/+4 |
| | | | | | | In case this doesn't work out we could probably make it configurable. References #1326. | ||||
* | android: Show confirmation dialog also when connecting | Tobias Brunner | 2016-05-02 | 1 | -1/+1 |
| | |||||
* | android: Avoid ProgressDialogs in VPN state fragment | Tobias Brunner | 2016-05-02 | 7 | -84/+32 |
| | | | | | Instead we use a ProgressBar directly in the fragment and use the existing button to cancel the process. | ||||
* | android: Fix display of remediation instructions with support library | Tobias Brunner | 2016-05-02 | 2 | -8/+15 |
| | | | | | | Because the support library creates its own layout manually and uses different IDs than the list_content layout we can't use the method we used previously (and which is actually recommended in the docs). | ||||
* | android: Use Fragment class from the support library to avoid deprecation ↵ | Tobias Brunner | 2016-05-02 | 8 | -51/+51 |
| | | | | | | | | | warnings For instance, onAttach() with an Activitiy as first argument was deprecated with API level 23. However, the overload with a Context as first argument does obviously not get called on older API levels. Luckily, the classes provided by the support library handle that for us. | ||||
* | android: Update README.ndk | Tobias Brunner | 2016-05-02 | 1 | -8/+9 |
| | |||||
* | android: Use relative path for strongSwan sources | Tobias Brunner | 2016-05-02 | 1 | -8/+10 |
| | | | | | This avoids issues with recursion, which could have happened if the strongswan directory was a symlink. | ||||
* | android: Fix handling of redirects during IKE_AUTH | Tobias Brunner | 2016-05-02 | 1 | -69/+84 |
| | |||||
* | android: Fix color of lists and buttons on older platforms | Tobias Brunner | 2016-04-27 | 3 | -0/+34 |
| | | | | | This adds a workaround for an issue on older platforms where the list is not properly styled with colorAccent. Similarly applies to borderless buttons. | ||||
* | android: Use Activity as context for VpnProfileAdapter to fix theme | Tobias Brunner | 2016-04-27 | 1 | -3/+1 |
| | | | | | When using the application context theme customizations wouldn't get applied for some reason. | ||||
* | android: Use "server" instead of "gateway" in profile editor | Tobias Brunner | 2016-04-27 | 5 | -44/+44 |
| | | | | | | The term "gateway" is unfamiliar for most new users (or they confuse it with the default gateway of their network) but they usually know that they want to connect to a "server". | ||||
* | android: Define a new color scheme | Tobias Brunner | 2016-04-27 | 2 | -3/+16 |
| | | | | | | | This mainly changes the color of the appbar (colorPrimary), the color of the status bar (colorPrimaryDark) is black like the default. The accent color (colorAccent) used for controls like buttons and check boxes is a slightly toned down version of the default. | ||||
* | android: Get a warning on use of deprecated features | Tobias Brunner | 2016-04-27 | 1 | -0/+1 |
| | |||||
* | android: Replace use of deprecate getColor() method overload | Tobias Brunner | 2016-04-27 | 2 | -22/+39 |
| | |||||
* | android: Make font in log view monospace again on Android 5+ | Tobias Brunner | 2016-04-27 | 1 | -1/+2 |
| | |||||
* | android: Avoid deprecated tabs in the ActionBar in TrustedCertificatesActivity | Tobias Brunner | 2016-04-27 | 2 | -88/+89 |
| | | | | Instead we use TabLayout and ViewPager from the support libraries. | ||||
* | android: Automatically reload certificates if manager is reset | Tobias Brunner | 2016-04-27 | 2 | -36/+46 |
| | | | | No need to manually reset the fragments anymore. | ||||
* | android: Make TrustedCertificateManager an Observable | Tobias Brunner | 2016-04-27 | 1 | -8/+28 |
| | | | | | Observers are notified when the manager is reset (and initially when the certificates are first loaded). | ||||
* | android: Switch to AppCompat/Material theme for dialogs | Tobias Brunner | 2016-04-27 | 10 | -61/+117 |
| | | | | | | | There is no AppCompatProgressDialog class as the use of ProgressDialog is discouraged (instead progress bars should be placed in the layout directly). To display the current ProgressDialog instances correctly on systems < 21 we modify the window background color. | ||||
* | android: Switch to AppCompat/Material theme and use custom Toolbar as AppBar | Tobias Brunner | 2016-04-27 | 16 | -157/+184 |
| | | | | | Also includes some whitespace/formatting changes due to the switch to Android Studio. | ||||
* | android: Ignore build/ in project directory | Tobias Brunner | 2016-04-27 | 1 | -0/+1 |
| | |||||
* | android: Update platform tools and pull in support libs | Tobias Brunner | 2016-04-27 | 1 | -2/+4 |
| | | | | | | | We'll have to change some stuff that Google deprecated (e.g. the tabs in the ActionBar) and that requires changing the theme at least in activities. Since that would look a bit inconsistent we'll change it globally and use parts of the support library. | ||||
* | android: Update Android Gradle plugin and wrapper | Tobias Brunner | 2016-04-27 | 2 | -3/+3 |
| | |||||
* | android: OPENSSL_NO_ENGINE is now properly defined in the headers | Tobias Brunner | 2016-04-15 | 1 | -1/+0 |
| | |||||
* | peer-cfg: Use struct to pass data to constructor | Tobias Brunner | 2016-04-09 | 2 | -14/+18 |
| | |||||
* | child-cfg: Use struct to pass data to constructor | Tobias Brunner | 2016-04-09 | 2 | -19/+22 |
| |