summaryrefslogtreecommitdiff
path: root/app/src/release/java/se/leap/bitmaskclient/ConfigurationWizard.java
AgeCommit message (Collapse)Author
2015-06-08s/buildtype/flavor, changed riseup's pinParménides GV
Riseup's EE certificate expired (EE = End-Entity, the commercial certificate signed by the issuer), and we weren't able to fetch provider.json because the pin wasn't valid. This problem needs to be avoided in the future, using HKPK (https://tools.ietf.org/html/rfc7469), which Micah's implementing on Riseup. Switching from build types from flavors enables us to run tests against production apk, not just debug. I didn't detect this pinning problem because tests were run only against the debug apk, which trusted preseeded providers by default (thus bypassing pinning issue).
2015-04-29Functional.Parménides GV
2015-04-29Creating a user session fragment.Parménides GV
I've separated the user session management to it, and encapsulated ProviderAPICommand into its own class. Putting the fragment statically in dashboard.xml isn't working, Android complains about it being duplicated, so I'm going to add it dynamically.
2015-04-27testEveryProvider also worksParménides GV
2015-04-22Avoid the check for a null provider.Parménides GV
A provider can be asked if it's configured or not, so that we don't find more provider = null issues. I've created a DefaultedURL which links to https://example.net, so that we can initialize an URL. I use composition instead of inheritance, since URL class is final.
2015-04-22Pinning connection to provider.jsonParménides GV
Using AndroidPinning library from Moxie, I make sure the provider.json file Bitmask downloads is fetched from a pinned https connection, so that the api certificate fingerprint is the good one.
2015-03-24Indent everything with IntelliJParménides GV
2015-03-24Cleaned imports, use wildcards when appropriateParménides GV
2015-03-12Restore state on Configuration Wizard.Parménides GV
2015-01-19Reusing methods to download certificate.Parménides GV
This makes sure that if a a certificate is not valid, a new one is downloaded. Unit tests don't apply to this, I've already added one to the certificate validator, whose result will determine if a new certificate will be downloaded.
2015-01-12xlarge layouts updatedParménides GV
Last refactor, introducing ButterKnife and all those things, I forgot to update this layouts.
2015-01-12Reviewed both ConfigurationWizardsParménides GV
2014-12-31Don't remove vpn profiles if possible.Parménides GV
2014-12-22Set the adapter before calling ButterKnife.Parménides GV
According to https://github.com/JakeWharton/butterknife/issues/167: "The view isn't set until onPostCreate. You need to either trigger layout creation by setting the adapter before calling ButterKnife or by moving the call to inject to onPostCreate."
2014-12-09Bug in the add provider to the adapter fixed.Parménides GV
Refactored the new provider dialog too.
2014-12-09Final refactoring for this bug.Parménides GV
Removed the sign up dialog, log in one is enough with the third button I added some time ago to sign up. Removed classes we don't need due to the libraries I have recently introduced.
2014-12-09Save custom providers to sdcard.Parménides GV
2014-12-09EIP fragment shown correctly.Parménides GV
2014-12-09Release flavor updated, back button works.Parménides GV
2014-12-04Click on an item, no UI but functional.Parménides GV
2014-12-04Renderers and dagger, refactoring CW.Parménides GV
2014-12-04Learning to use Butterknife, refactoring small things.Parménides GV
2014-12-03Orientation changes always work.Parménides GV
2014-12-03First orientation change doesn't crash.Parménides GV
Update gradle to 2.2.1.
2014-11-26eip package, EIP constants to interface.Parménides GV
2014-10-16A bit of refactoring for ConfigurationWizard.Parménides GV
Fix a typo in the debug source of ProviderAPI.
2014-10-14Big refactor, ProviderAPI looks better.Parménides GV
2014-08-19Remove all vpn if upgrading to 0.6.0.Parménides GV
2014-04-09Bitmask loads all preseeded providers correctly.Parménides GV
If you choose one and then tap "Switch provider" button, no duplicated providers are shown.
2014-04-09Back to the standard "app" module.Parménides GV
This return to "app" instead of "bitmask_android" is due to this reading: https://developer.android.com/sdk/installing/studio-build.html#projectStructure I'll have to tweak the final apk name in build.gradle.