summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-11Fix ConcurrentModificationException when removing VpnProfile from iterator ↵Sean Leonard
backing Collection
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-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-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-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-13bitmask json files are downloaded.Parménides GV
There was a problem on the assets file "bitmask.url". It had an error in the eip-service url. We should use this file only for main url, and proceed as if it were a new provider but with a preseeded main url.
2013-06-12Removed some unnecessary libraries.Parménides GV
I've also removed some unnecessary comments from LeapHttpClient.
2013-06-11We are not using SD storage anymore.Parménides GV
We were using it to save certificate and provider.json files from chosen provider, so that exporting them was easily done. We don't need that files, because if we wanted to export that files we would be able to recover them easily and updated. This fixes #2783
2013-06-10Removed unused methods and variables.Parménides GV
Variables from LeapSRPSession were there because I used it while testing srp calculations, comparing that strings with the ones from javascript. Unused method from ProviderAPI was there because I foresee I'll have to implement it in the future, but I've removed it since it's already in the history. This fixes #2781.
2013-06-10OpenVPN certificate is downloaded from API_BASE, using api_uri fieldParménides GV
from provider.json. This fixes bug #2780
2013-06-10NullPointer solved.Parménides GV
ConfigHelper refactored methods returning nulls instead of empty objects broke LeapHttpClient getInstance implementation, because it checked the emptiness of the object and not if it was null.
2013-06-09More changes to calls for SharedPreferences via ConfigHelper methodsSean Leonard
2013-06-08Rearrange if/elseif statements in ConfigurationWizard for logical sequence ↵Sean Leonard
readability
2013-06-08Clean up some unused and some formattingSean Leonard
2013-06-08Fixed onPrepareOptionsMenu to not return prematurely.Sean Leonard
Also implements ConfigHelper.getJsonFromSharedPref(), now
2013-06-08Better config/partial config handling in DashboardSean Leonard
2013-06-08Add ProgressDialog to ConfigurationWizard while downloading from providerSean Leonard
2013-06-08Refactor ConfigurationWizard for better task handling, completion, and ↵Sean Leonard
return information
2013-06-08Make LogInDialog accept passwords >= 8 characters, instead of > 8Sean Leonard
2013-06-08Improve retrieving and saving SharedPreferences for different types (String, ↵Sean Leonard
boolean, JSONObject)
2013-06-05Fixed passwords with \ character.Parménides GV
The substitution I was doing let me to pass my tests localhost, but was not valid for real use in Android emulator. This was so because JSONObject getString method understood \/ simply as /, while what I wanted was plain \/. This commit makes #2368
2013-06-04Fixed SRP strange characters bugs.Parménides GV
The problem was the encoding of the bytes when calculating the password hash. I supposed that it was UTF-8 (I already saw that encoding in the html code from leap_web), but not, it was ISO-8859-1 (trial/error).
2013-06-04Fix bug #2717.Parménides GV
"https://" is automatically appended.
2013-06-04Fixed 2 important bugs.Parménides GV
LeapSRPSession was doing bad SRP calculations when salt byte array started with a 0. Now I trimmed that array before using it. ProviderAPI was not timing out when a server didn't respond. Now, I use a timeout of 1 second to stop waiting for a response.
2013-05-29Fixed passwords with strange characters?Parménides GV
Using two test with values from my localhost leap_web deployment, I've achieved to login with passwords containing ! and $ without problems. This should fix bug #2348.
2013-05-14Anon certificate is downloaded if possible.Parménides GV
I download the anon certificate only if allow_anonymous is true, and before launching Dashboard. I store it in SharedPreferences, with "cert" key, as a JSON object.
2013-05-13A bit more clean.Parménides GV
I've upper cased ConfigHelper constants. I've created a new method in ConfigHelper, to send requests to a server, that it's used when sending A and M1.