summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/EIP.java
AgeCommit message (Collapse)Author
2014-11-26eip package, EIP constants to interface.Parménides GV
2014-11-25Changelog + early routes uncommented + rebuild vpn profileParménides GV
2014-11-22Ask to log in to update certificate if needed.Parménides GV
ProviderAPI from debug build uses an invalid certificate the first time it tries to download a new cert, just to test this.
2014-11-20Update gateways after downloading certificate.Parménides GV
If the certificate is from an authenticated user, autostart eip. If not, show that the certificate has been updated.
2014-11-13Delete all vpn profiles if updating them.Parménides GV
2014-11-11A bit of EIP refactoring.Parménides GV
2014-11-11Blocking VPN stays as far as no established connection exists.Parménides GV
2014-11-04Rebuild profiles on versionCode 94.Parménides GV
2014-11-04Gradle 2.1 and retry connection on auth-failureParménides GV
2014-11-04Don't update eip service oncreate eip.Parménides GV
Reuse EipServiceFragment's stopEip and startEipFromScratch in Dashboard.
2014-10-14Big refactor, ProviderAPI looks better.Parménides GV
2014-10-08A bit of refactoring.Parménides GV
ConfigHelper checks for IllegalArgumentException (trace from play store). EIP location code has been splitted a bit. I'd like to extract OVPNGateway out from EIP, but that's not an easy job and this branch is already lasting to much hehehe.
2014-10-07Set up early routes on boot too.Parménides GV
2014-10-07Block traffic during first connection.Parménides GV
Set up routes to UDP unlimited server (since openvpn hasn't finished, it simply blocks traffic) and also DNS server to 10.41.0.1. These values correspond to current leap_platform configuration (https://github.com/leapcode/leap_platform/blob/7bc79e68e5ca913d1d2843c48cde8f946feed09c/puppet/modules/site_openvpn/manifests/init.pp)
2014-09-18Updated ics-openvpn, restart after 1' being killedParménides GV
Fixed notifications too (forgot to do it in another branch, it's #5964).
2014-08-19Rebuild vpn profiles if upgraded to versionCode 91Parménides GV
2014-08-19Remove all vpn if upgrading to 0.6.0.Parménides GV
2014-08-18Login if anonymous eip is not available.Parménides GV
2014-08-14Persistent tun activated.Parménides GV
Now the "Waiting for server reply" notification is shown along with native Android's VPN notification. Next step: fix it.
2014-08-13Don't check cert validity if there is none.Parménides GV
For providers that don't allow anonymous eip, you have no certificate until you log in, but the check validity method works before the log in.
2014-08-05Add remote-cert-tls server to openvpn options.Parménides GV
2014-08-03Just a small glitch after cancelling a disconnect.Parménides GV
I don't use the eip status receiver because it wasn't reliable on timing: updated messages were arriving before the receiver was notifying a new state. Current and last ConnectionStatus is now managed at EIP. More refactoring on the eip fragment, now there are separate methods for setting up the UI depending on the message received.
2014-08-03Refactoring a bit, things begin to make more senseParménides GV
Smaller methods, simplified logic, eip status and eip progress still need some fixes.
2014-07-24We don't need support library from Robotium.Parménides GV
I've also fixed a simple test that wasn't letting the suite to finish correctly.
2014-07-10Refactor setting gateway nameParménides GV
2014-07-10Udp as default transport + minor refactoring.Parménides GV
I've also added a check for a nullpointer when eipDefinition is null.
2014-07-10Removed retrieveVpnService, it seems unuseful.Parménides GV
I've tested autostart, on+off repeated times, and switch provider. It works. The ServiceConnection is managed by DisconnectVPN from ics-openvpn, it's not useful.
2014-07-10Extracted methods from some chunks of code.Parménides GV
This is a first step for a refactoring of the EIP class.
2014-07-10Change the name of the gateway to its location.Parménides GV
This way, the notification shows the city of the gateway rather than the hostname :)
2014-07-07New certificate if half of its lifetime passed.Parménides GV
It takes for granted that the certificate is valid from the very same date it's downloaded.
2014-07-02Fetch new certificate and restart EIP.Parménides GV
2014-06-30Download certificate if expired.Parménides GV
2014-06-20Removed the authentication bits from VpnProfile.Parménides GV
Now we embed the openvpn cert, the corresponding ca cert and the user key directly from EIP, while creating a vpn profile. We leave VpnProfile untouched.
2014-06-20Removed setDefinition from ConfigParser.Parménides GV
We now directly use the parseConfiguration method, translating the eip-service.json openvpn options to a string containing the corresponding openvpn config file lines.
2014-06-20Removed isRunning from OpenVpnService.Parménides GV
We use the broadcasted eip status from ics-openvpn to know if we're connected or not.
2014-06-16Check if there is an active gateway selected.Parménides GV
The active gateway cannot be null.
2014-06-13Disconnect works, eip status receiver.Parménides GV
Disconnect uses the ics-openvpn activity, and the dialog prompting the user to confirm the disconnection is only shown when eip is connected or is trying to connect.
2014-06-12Hide logwindow by default.Parménides GV
Next step: show it when an error occurs.
2014-06-11Correctly connects to millipede.Parménides GV
Location keyword on android.cfg isn't supported, EIP corresponding code has been commented out. I think we should support it in ics-openvpn, so that we can show the location instead of the server name. I've updated all opensssl, openvpn, etc. subprojects from rev 813 of ics-openvpn, and jni too.
2014-05-29ics-openvpn receives ifconfig from the server.Parménides GV
Refactored AndroidManifest to include launchvpn and openvpnservice. Imported changes from ics-openvpn-upstream
2014-05-29Thread management has changed. Updated.Parménides GV
Now the thread managment doesn't happen statically, but through the binded openvpn service.
2014-05-15Copy some necessary icons from ics-openvpn.Parménides GV
I'm hardcoding their values based on the compilation errors (i.e., the drawables referenced by de.blinkt.openvpn.core.OpenVpnService). If a new drawable were introduced, build.gradle should be updated accordingly.
2014-05-14Copy all java files from ics-openvpn.Parménides GV
imports from se.leap.bitmaskclient java files have also been updated. WARNING: compiling errors for de.blinkt.openvpn.R, aidl.de.blinkt.openvpn.
2014-04-21Launcher and notification reuse existing Activity.Parménides GV
Notifications get mad, we have to fix that.
2014-04-21Bitmask doesn't start if last EIP status was off.Parménides GV
2014-04-21Always restore last eip status on boot.Parménides GV
Next step: don't restore off status!
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.
2014-04-08Rename app->bitmask_androidParménides GV
This way, gradle commands generate apks correctly named.
2014-04-08Next step: compile jni sources correctly.Parménides GV