summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/Provider.java
AgeCommit message (Collapse)Author
2020-12-29new year cleanup: restructure messy projectcyBerta
2020-07-25add comment about provider reset methodcyBerta
2020-07-24remove unused methodscyBerta
2020-07-24remove timestamps from providers equals() check and reset timestamps in ↵cyBerta
reset method
2020-07-23implement gateway selection based on geoip servicecyBerta
2020-07-01inject preshipped geoip url to provider objectcyBerta
2020-03-17switch to AndroidXcyBerta
2020-01-23fix potention NPEsin Provider classcyberta
2020-01-23add api ip to provider class, implement ip lookup based on given provider ↵cyberta
host name
2020-01-21implement no-dns fallback using okhttp's Dns interfacecyberta
2019-12-30reduce log pollutioncyBerta
2019-12-13improve better server balancing: update eip-service.json every 3 days after ↵cyBerta
a successful connection in order to recognize newly added gateways (#8974)
2019-09-20add supportsPluggableTransports() to Provider class including TestscyBerta
2019-08-02add simple UI to enable/disable PT usagecyBerta
2019-05-21* show error dialog if provider is misconfigured and has not allowed ↵cyBerta
registration nor anonymous usage * always download provider.json, Use preseeded provider.json only to check if the client can connect with preseeded certificate. Keeps the provider.json updated if provider changes it's config * Tests for both cases
2018-03-18refactor ConfigHelper, split into multiple helper classescyBerta
2018-02-21Merge branch '#8858_persist_custom_providers' into '0.9.8'fupduck
#8858 persist custom providers See merge request leap/bitmask_android!47
2018-02-21#8858 add custom providers to the providers list on successful setupcyBerta
2018-02-20#8853 fix provider setup with codigosur.orgcyBerta
2018-02-158797 - pair programming effortFup Duck
2018-02-138827 - add mockConfigHelpperFup Duck
2018-02-128827 - remove caCertificate from ProviderFup Duck
It's already represented by CertificatePin & CertificatePinEncoding
2018-02-128827 - fix equals for ProviderFup Duck
2018-02-118827 - merge request discussionsFup Duck
* add deleteProviderDetailsFromPreferences to ConfigHelper * validate every field in Provider.equals * add reset() method to Provider
2018-02-118827 - discussionFup Duck
* validate urls before changing anything in Provider.define() * save private key and vpn cert after login/signup
2018-02-098827 - resolve discussionsFup Duck
* 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
2018-02-08Merge branch 'leap_0.9.8' into 8827_handle_switch_providerFup Duck
2018-02-088827 - fix testsFup Duck
2018-02-068827 - handle switch provider correctlyFup Duck
* 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
2018-01-28Merge remote-tracking branch '0xacab/0.9.8' into 8826_custom_providerFup Duck
2018-01-27fix first comments on merge requestFup Duck
2018-01-23add custom provider optionFup Duck
2018-01-21handle startActivityForResultFup Duck
2018-01-19improve layoutFup Duck
* improve layout * gracefully handle orientation changes * respect small devices * set correct colors for buttons, error messages...
2018-01-11#8773 code review fixescyBerta
2018-01-048773 preseeded providers implementation for insecure flavorcyBerta
2018-01-038773 preseeded providers implementation for production flavorcyBerta
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-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-22Initialize ca fingerprint, avoiding nullpointerParménides GV
Danger on defaults to true in debug build
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-24Revert "Remove unused imports."Parménides GV
This reverts commit 1e300837b2b2188bc682af7b1dfadfa16942725b. I don't want big lists of imports, I like wildcards.
2015-03-24Remove unused imports.Parménides GV
Using intellij tool.
2015-03-13Show user session status separately.Parménides GV
Switching orientation doesn't hide that information, now we have two places to avoid it.
2014-12-15No duplicates between preseeded and customParménides GV
2014-12-09No duplicated providers.Parménides GV
2014-12-09Save custom providers to sdcard.Parménides GV
2014-12-09EIP fragment shown correctly.Parménides GV