summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-07-20Merge branch 'feature/dashboard-ux' into developParménides GV
2013-07-19Fix config error dialog missing call to show()Sean Leonard
2013-07-19Change EIP switch label to "Encrypted Internet"Sean Leonard
2013-07-19Display provider domain on Dashboard instead of nameSean Leonard
2013-07-20Merge branch 'feature/eip-control-ux' into developParménides GV
2013-07-19Add logic to only trigger EIP control events if switch changed by a touch event.Sean Leonard
Fixes VPN reconnection when framework rebuilds view, triggering onCheckedChangeListener
2013-07-19Add a progress bar while VPN connection is being establishedSean Leonard
2013-07-19Refactor EIP UI and control logic out of Dashboard into a FragmentSean Leonard
2013-07-19Use non-blocking logic for EIP switchSean Leonard
Includes AlertDialog if the user attempts to stop EIP while a connection is being established
2013-07-19Only parse eip-services.json if the serial has incrementedSean Leonard
2013-07-19Better VPN connection state messagesSean Leonard
2013-07-19Don't send byte count messages to the state listenersSean Leonard
2013-07-19Show notification while VPN connection in progress and when VPN connection lostSean Leonard
2013-07-19Merge branch 'feature/branding' into developParménides GV
2013-07-19Merge branch 'feature/refactor-clean-legacy' into developParménides GV
2013-07-18Full "LEAP Encryption Access Project" in About pageSean Leonard
2013-07-18Change the launcher name from "LEAP Dashboard" to "LEAP"Sean Leonard
2013-07-18Remove credit for pieces we're not using from About fragmentSean Leonard
2013-07-18Change app\'s VPN notification iconSean Leonard
2013-07-18Remove legacy files and scripts that are ics-openvpn specificSean Leonard
2013-07-18Clean up AboutFragment, remove donation textSean Leonard
2013-07-18Move AboutFragment into leapclient packageSean Leonard
2013-07-12Merge branch 'bug/incorrect-authentication-message-#3153' into developSean Leonard
2013-07-12Shows bad user/password message when appropriate.Parménides GV
If an empty json string is received after sending M1 (that means no M2 in return), bad user/password message is shown. This fixes bug 3153.
2013-07-12Merge branch 'feature/login-logout-options-shown-when-applicable' into developSean Leonard
2013-07-12Dashboard menu is updated when logged in or out.Parménides GV
Login option is not shown if the user is already logged in, and logout option is not shown if the user is not logged in. I've also removed a debug line from ProviderDetailFragment, which returned true when it returned false because of an exception.
2013-07-12Merge branch 'feature/certificates-without-files-in-leap-http-client' into ↵Sean Leonard
develop
2013-07-12Merge branch 'feature/login-error-messages' into developSean Leonard
2013-07-12New certificates are added without creating filesParménides GV
LeapHttpClient can fetch the main CA certificate downloaded from the provider and add it to its in-memory keystore, without saving the certificate in a file. This is a very important feature, I think it can be cherry picked (it has little modifications, and very localized). It's very important because authentication does not work without this bug fix in the latest branches, because I removed the code that saved the certificate in a file but didn't test the authentication part.
2013-07-12Shows certificate error message.Parménides GV
If a download didn't occurr due to an IOException, we assume it was for an SSL error and notify the user telling him/her that LEAP provider is not trusted.
2013-07-12Distinguish non LEAP provider and down provider.Parménides GV
I've set ProviderAPI to show its own toast depending on the exception that getStringFromProvider issues. If the socket timeout reaches its end, a toast different from when an IOException or a MalformedException occur.
2013-07-12Merge branch 'feature/back-button-in-configuration-wizard' into developSean Leonard
2013-07-12ConfigurationWizard backstack and exit behavior.Parménides GV
Feature #3023 first solution. I don't like to tell anything to the user when s/he wants to exit pressing the back button. I assume s/he is saying: "Wanna go out!!" I've implemented the behaviour written in UI Rev II. If a user selects a new provider when coming back from Switch Provider, the previous provider is forgotten and we assume s/he wants to change of provider but he is not sure to which. That means that previous provider configuration will be removed (that means there is no provider selected and Dashboard will not be launched before a new provider is selected).
2013-07-12Merge branch 'feature/switch-provider-from-dashboard' into developSean Leonard
2013-07-12User messages are added to the new recovery dialogParménides GV
When login is not successful, a new recovery dialog is prompted with a message about the previous error.
2013-07-12Merge branch 'feature/retry-login' into developSean Leonard
2013-07-12Check a nullpointer textview.Parménides GV
2013-07-12New menu option to go back to ConfigurationWizard.Parménides GV
It works ok (it simply starts ConfigurationWizard activity for result), but when entering again to Dashboard a NullPointer happens in serviceItemEIP(((ViewStub) findViewById(R.id.eipOverviewStub)).inflate();). It also adds (I forgot to commit before leaving the retry-login branch) ProgressDialogs to login and logout operations.
2013-07-12Login dialog appears after a failed login.Parménides GV
If the user enters his/her password incorrectly, the dialog appears again.
2013-07-12Merge branch 'feature/configuration-wizard-menu' into developSean Leonard
2013-07-12Added menu to ConfigurationWizard.Parménides GV
It only contains the "About LEAP" option. If the user clicks again that option while the About fragment is up, no new fragment is added and pressing 1 time the back button drives him/her to the ConfigurationWizard activity.
2013-07-12Merge branch 'feature/switch-provider-from-provider-detail-fragment' into ↵Sean Leonard
develop
2013-07-12ProgressDialog works ok when discarding providers.Parménides GV
If the user selects a provider, gets into provider detail, discards it, further trials of selecting a provider trigger the same ProgressDialogs than the initial trials.
2013-07-12Back button from ConfigurationWizard quits.Parménides GV
If the user decides not to choose any provider, the app quits. I'll create another branch to handle this exit properly, warning the user with an AlertDialog as suggested in #3023.
2013-07-12Pressing back button, we don't choose any providerParménides GV
Once in the provider detail fragment, if the user presses the back button, provider.json is removed from sharedpreferences (so that Dashboard does not start as if the user had selected the canceled provider) and ConfigurationWizard gets the focus.
2013-07-12Merge branch 'feature/messages-providers-unavailable' into developSean Leonard
2013-07-12UnknownHostException separated from IOException.Parménides GV
I was treating the former exception simply as a kind of the latter, but user messages are different. Now, each one shows its different error message.
2013-07-12Untrusted message is not shown if danger_on = trueParménides GV
I forgot to add an else in the IOException from getStringFromProvider. This was causing that even if the user checked the trusted completely beckbox and everything was fine, the "not trusted provider" message was being shown.
2013-07-12Back to IOException instead of SSL exception.Parménides GV
The previous commit broke functionality, and instead of discarding it I've decided to undo with a new commit for future references. It would seem that IOException can be substitued by SSLHandshakeException, but the previous commit proves it cannot.
2013-07-12Substituted IOException by SSLHandshakeException.Parménides GV
In getStringFromProvider, there is no IOException but an SSLHandshakeException. Substituing this gives our code more semantics.