summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
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/provider-details-fragment' into developSean Leonard
2013-07-12JSONExceptions from ProviderDetail returns false.Parménides GV
Buttons from this fragment are shown if the key is present and contains a "true" value, but if an exception occurs the button it's not showed.
2013-07-12Removed unnecessary toasts.Parménides GV
They are commented, just in case we decide to include any of them before releasing 0.2.0.
2013-07-12Login button from ProviderDetailFragment works.Parménides GV
I return an intent with ConfigHelper.LOG_IN extra present. Dashboard looks for it, and if found, starts LogInDialog.
2013-07-12Use anonymously from ProviderDetail works OK.Parménides GV
Tested with dev.bitmask.net, I use the previously downloaded certificate (I should not do that, I'll file an issue because I should download it once the user has requested to do so). Next step: login button from ProviderDetailFragment.
2013-07-12Coded new fragment appearanceParménides GV
Domain, name and description come from provider.json Next step: code buttons to login or to use anonymously.
2013-07-11Merge branch 'hotfix/exception-parsing-gateways' into developParménides GV
2013-07-11Fix ConcurrentModificationException when removing VpnProfile from iterator ↵Sean Leonard
backing Collection
2013-07-04Merge branch 'hotfix-jb-certificate-bypass' into developSean Leonard
2013-07-02We can ignore any certificate.Parménides GV
If ssl errors don't vanish using CA cert from provider, we go further and let the certificate not to be validated at all.
2013-06-26Merge branch 'feature/bigger-letter-configuration-wizard' into developSean Leonard
2013-06-26Changed user message when a provider is down.Parménides GV
I was assuming that if the app wasn't able to download provider.json from the web, it meant that the preseeded provider was wrong thus the app needed an upgrade. But it can happen (as right now, with bitmask.net) that the provider is simply down.
2013-06-26The added provider is selected automatically.Parménides GV
I've also removed a lot of finishes when things go wrong (so that it should be returning to the previous activity/fragment).
2013-06-26ConfigurationWizard shows domain and name.Parménides GV
Items from the provider's list have 2 rows, first one with the domain and the other with the name. Names from preseeded providers are fetched from the assets file, because we don't download provider.json until they select it.
2013-06-24Merge branch 'feature/eip' into developParménides GV
2013-06-20Fix bad for loop maths, rookie!Sean Leonard
2013-06-20Remove update eip definition call causing collisionSean Leonard
2013-06-20Class and method comments and some readabilitySean Leonard
2013-06-20Rename EIP.OVPNGateway argument and member variable for readabilitySean Leonard
2013-06-20Refactor EIP.isRunning()Sean Leonard
2013-06-20Removed TODO comments, moved to issue trackerSean Leonard
2013-06-20Move ConfigurationWizard error result logic to its own methodSean Leonard
2013-06-20Remove superfluous loading of SharedPreferencesSean Leonard
2013-06-20Remove bad,duplicate code from EIP.startEIP()Sean Leonard
2013-06-20Forceful stopping of OpenVPN when trying without bound serviceSean Leonard
2013-06-20Remove superfluous commentsSean Leonard
Unused import removal
2013-06-20Get rid of app's own notification.Sean Leonard
Only commented out. May want to try showing it until connection success.
2013-06-20Bring up VPN connection log on status line click.Sean Leonard
Also show it on click of "Configure" button on system notification popup. Also allow toggling of status line.
2013-06-20Better control and UI feedback for VPNSean Leonard
2013-06-20Quite basic staring and stopping of VPNSean Leonard
2013-06-20Introducing the EIP class! Parses eip-service.json for OpenVPN gateways and ↵Sean Leonard
builds VpnProfiles out of them
2013-06-20Merge 'parmegv/feature/authGui' into developSean Leonard
2013-06-20No untracked files.Parménides GV
Added two auxiliar files: prepareTestProviderAPI.sh is updated in feature/authGui_tests. proguard-project.txt is completely commented, but I think it may be suitable to version control.
2013-06-20No binary library needed.Parménides GV
I've decided not to include any lib, but to copy the SRPParameters class to our codebase and Util.trim method to ConfigHelper.
2013-06-20User messages are now in string.xmlParménides GV
Some more constants added to ConfigHelper. This solves #2908.
2013-06-19First round of comments.Parménides GV
This resolves the first step from issue #2908. Next step: Put user message strings into an appropiate place.
2013-06-13Bypasses self signed certificates.Parménides GV
It's working against cdev.bitmask.net and bitmask.net. Look at #2840 for further explanation about self signed certificates. I've also removed some file dependant configuration (when a provider was custom, ConfigurationWizard still tried to read from file a provider.json that now I store in memory via ProviderItem class).
2013-06-13Login is working OK.Parménides GV
I removed a library that was not directly used by my code, but for one of the libraries that I needed.