Age | Commit message (Collapse) | Author |
|
|
|
|
|
It's already represented by CertificatePin & CertificatePinEncoding
|
|
|
|
* add deleteProviderDetailsFromPreferences to ConfigHelper
* validate every field in Provider.equals
* add reset() method to Provider
|
|
* validate urls before changing anything in Provider.define()
* save private key and vpn cert after login/signup
|
|
* use LocalBroadcastManager for broadcasts
* add NullPointer checks to EipFragment
* store VpnCertificate & private key in Provider not preferences
* EipFragment uses provider instead of reading from preferences
* use switch in ProviderApiManager
|
|
|
|
|
|
* ProviderAPI no longer stores values in SharedPreferences
* use EipCommand to start / stop EIP
* update NavigationDrawer after changing provider
* use Broadcasts for ProviderAPI
* parse more properties from definition into Provider
* ProviderApi no longer uses static variables
* no more static Context in ProviderApiCommand
|
|
|
|
|
|
|
|
|
|
* improve layout
* gracefully handle orientation changes
* respect small devices
* set correct colors for buttons, error messages...
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
Danger on defaults to true in debug build
|
|
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.
|
|
|
|
|
|
This reverts commit 1e300837b2b2188bc682af7b1dfadfa16942725b.
I don't want big lists of imports, I like wildcards.
|
|
Using intellij tool.
|
|
Switching orientation doesn't hide that information, now we have two
places to avoid it.
|
|
|
|
|
|
|
|
|
|
It shows just one provider, and it's not the one that gets configured if
selected.
|
|
|
|
|
|
|
|
|
|
|
|
We don't assume ca.crt is in /ca.crt anymore, but fetch the complete url
from provider.json.
We also signup against users.json file instead of simple "users", which
worked for *.bitmask.net domains.
|
|
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.
|
|
This way, gradle commands generate apks correctly named.
|
|
|