summaryrefslogtreecommitdiff
path: root/src/se/leap/bitmaskclient/ProviderAPI.java
AgeCommit message (Collapse)Author
2014-02-28Merge branch 'feature/remove-shared-preferences-methods-from-ConfigHelper' ↵Sean Leonard
into develop Conflicts: src/se/leap/bitmaskclient/Dashboard.java
2014-02-07bugfix for #4664 and #4668 (login/logout messages)Sean Leonard
Conflicts: src/se/leap/bitmaskclient/ProviderAPI.java res/values/strings.xml (Re-add lines removed in 7297632a01d5fb606b901d8c54e190e28b95716e )
2014-01-14No sharedprefs methods in ConfigHelper.Parménides GV
This means we obtain the SharedPreferences object each time we want to use it. This yields to longer code lines while reading and writing to them.
2013-12-21Merge branch 'bug/more-detailed-response-to-CW-errors' into developcyBerta
2013-12-20Merge branch 'feature/token-based-auth' into developcyBerta
Conflicts: src/se/leap/bitmaskclient/ConfigurationWizard.java src/se/leap/bitmaskclient/Dashboard.java src/se/leap/bitmaskclient/ProviderAPI.java src/se/leap/bitmaskclient/ProviderListFragment.java
2013-12-10Rebased onto 0.2.2Parménides GV
2013-12-10Retry button prompts new provider dialog.Parménides GV
The user can change the new provider's data entered before failing.
2013-12-10JavaDoc for pickErrorMessageParménides GV
2013-12-10Cleaner error message.Parménides GV
2013-12-10Retry button on failed downloads.Parménides GV
Next step: remove the provider from the list (big security hole, since all providers present on the list are assumed to be secure).
2013-12-10Save my work until nowParménides GV
2013-12-10Download results stored in static variables.Parménides GV
ProviderAPI has now 3 different static variables, each one for the 3 files that have to be downloaded to set up a provider.
2013-12-10CA cert saved correctly in SharedPreferences.Parménides GV
I/O error at login phase fixed.
2013-12-10ProviderAPI broadcasts progress to CW.Parménides GV
Setting up a provider makes the progressbar move according to the number of files downloaded (1/3, 2/3, 3/3). Next step: recover from download errors individually. That means that if a download fails but the others went OK, the user will be prompted to retry that individual failing download.
2013-12-10A bit of cleaning.Parménides GV
2013-12-10Provider setup: One method downloads everything.Parménides GV
This method uses another 3 to download each file. Next step: broadcast progress and remove unnecessary methods.
2013-12-10Successfully rebased onto progress-bars.Parménides GV
2013-12-10Simplified the methods to add a new provider.Parménides GV
Adding a new provider is the same that selecting a new one, using the same methods and following the same workflow.
2013-12-10Setting up a provider w/o connection doesn't fail.Parménides GV
There was a nullpointer already fixed in another branch which completely complements this one. The message shown to the user is empty, but that belongs to bug/more-detailed-response-to-CW-errors.
2013-12-09CA cert saved correctly in SharedPreferences.Parménides GV
I/O error at login phase fixed.
2013-12-09ProviderAPI broadcasts progress to CW.Parménides GV
Setting up a provider makes the progressbar move according to the number of files downloaded (1/3, 2/3, 3/3). Next step: recover from download errors individually. That means that if a download fails but the others went OK, the user will be prompted to retry that individual failing download.
2013-12-09A bit of cleaning.Parménides GV
2013-12-09Provider setup: One method downloads everything.Parménides GV
This method uses another 3 to download each file. Next step: broadcast progress and remove unnecessary methods.
2013-12-09Successfully rebased onto progress-bars.Parménides GV
2013-12-09Simplified the methods to add a new provider.Parménides GV
Adding a new provider is the same that selecting a new one, using the same methods and following the same workflow.
2013-12-04Vpn profiles get updated after switching provider.Parménides GV
parsedEipSerial wasn't being reset after switching provider, so updating gateways thought there was no real update. After switching provider, we also remove all other vpn profiles.
2013-11-20Fixed compilation error from rebases.Parménides GV
2013-11-19Logging out deletes the token from LeapSRPSession.Parménides GV
2013-11-19Token based authentication implemented.Parménides GV
We use the session id cookie in the SRP process, and then reset the cookie store (forgetting about that cookie) and store the authentication token in a static variable inside LeapSRPSession.
2013-11-19CA cert saved correctly in SharedPreferences.Parménides GV
I/O error at login phase fixed.
2013-11-19ProviderAPI broadcasts progress to CW.Parménides GV
Setting up a provider makes the progressbar move according to the number of files downloaded (1/3, 2/3, 3/3). Next step: recover from download errors individually. That means that if a download fails but the others went OK, the user will be prompted to retry that individual failing download.
2013-11-19A bit of cleaning.Parménides GV
2013-11-19Provider setup: One method downloads everything.Parménides GV
This method uses another 3 to download each file. Next step: broadcast progress and remove unnecessary methods.
2013-11-19Successfully rebased onto progress-bars.Parménides GV
2013-11-19Simplified the methods to add a new provider.Parménides GV
Adding a new provider is the same that selecting a new one, using the same methods and following the same workflow.
2013-11-15Login and Logout progressbars advance correctly.Parménides GV
Next step: prettify.
2013-11-15ProviderAPI broadcasts progress for log in processParménides GV
Login progress bar advances according to the srp stages.
2013-11-15Dashboard progressbar lives below the status line.Parménides GV
I've renamed configuration wizard progressbar, because both had the same name and that provoked a conflict.
2013-11-15Merge branch 'bug/srp-b-validation' into developSean Leonard
2013-11-14Check B % N != 0 in SRP algorithm.Parménides GV
2013-11-13Fixed a typo in the rebase.Parménides GV
2013-11-13AlertDialog for failed downloads.Parménides GV
The dialog shows only an "OK" button to dismiss it, and the reason why the download failed. Right now, this dialog appears if a download is not successful. If it's too intrusive, I can remove some cases. Let's try how it feels.
2013-11-13Renamed certificate handling methods.Parménides GV
I still let one method to bypass hostname verifier, otherwise dev.bm will not work. I've reduced downloading functions to 3: download without CA, download with commercial CA and download with provider CA. I only download CA cert once, when the user selects the corresponding provider. Each time a user switch provider, the cert is downloaded (along with other json files).
2013-11-09bitmaskclient instead of leapclient in package pathcyBerta