summaryrefslogtreecommitdiff
path: root/app/src/main/java
AgeCommit message (Collapse)Author
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-18Clearing sharedpreferences when switching provider.Parménides GV
The "commit" was missing.
2014-08-18cancel required login for EIP -> switch offParménides GV
2014-08-18Login if anonymous eip is not available.Parménides GV
2014-08-14Show a special notification while traffic is blocked.Parménides GV
When the user has already been connected to a VPN and she configured the client to use persistent-tun, we should warn her that until the VPN connection is again established, no traffic will flow.
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-14Connected UI correctly restored correctly.Parménides GV
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-05Restored notification only when it's alone.Parménides GV
2014-08-05Add remote-cert-tls server to openvpn options.Parménides GV
2014-08-03Changed the position of a method.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-08-02EIP switch management: first simplifications.Parménides GV
We don't need an eipAutoSwitched, nor to change the state of the switch in the updateState (this method should just update the state string, nothing more). Still some inconsistencies with the switch, you can turn it off and on several times to see them.
2014-07-31Updated ics-openvpn to rev 859 + no 2nd notification.Parménides GV
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-02If authentication fails, restart eip.Parménides GV
This happens when we update the openvpn certificate, in the first connection attempt.
2014-07-02Fetch new certificate and restart EIP.Parménides GV
2014-06-30Download certificate if expired.Parménides GV
2014-06-25Show "Logged out." message.Parménides GV
2014-06-24We don't predict future certificate.Parménides GV
2014-06-20Updated ics-openvpn-upstream: less patches of ours.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-20provider.json is downloaded before ca.crtParménides GV
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.
2014-06-17Progressbar can be null if there is no EIP serviceParménides GV
This happens when you've used a eip enabled provider, and then you switch to a non eip enabled one (e.g., choosing demo.bitmask.net and then switching to cdev.bitmask.net in their current configurations). I've also disabled the build task dependency on updating ics-openvpn. It's causing problems, while not fixing anything.
2014-06-16Check if there is an active gateway selected.Parménides GV
The active gateway cannot be null.
2014-06-16Succesfully updated.Parménides GV
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-12Notification heads to Dashboard.Parménides GV
Previously, it drived the user to the LogWindow.
2014-06-12Notify the user we're waiting for a server replyParménides GV
2014-06-12Menu option to show the log window.Parménides GV
In case there is an error, user will not be prompted with a strange log window, but the app will provide it if s/he really wants to see it.
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-06-10Grabs eip authentication data correctly.Parménides GV
Merged updated ics-openvpn-upstream (e7803cc8efcd1794e18b4e30a43d814c2834552d).
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-29No AIDL nor api, logfragment related xml filesParménides GV
api folder and aidl files aren't needed for us. They are used for external apps that want to use ics-openvpn as an already installed package, while what we want is to avoid the installation of ics-openvpn including it (refactored) in bitmask android.
2014-05-28Resources merge correctly.Parménides GV
2014-05-19Copy necessary activities and fragments.Parménides GV
Now we need to decide what's our relationship with LogWindow and LaunchVPN, refactor its classes and fix ours so that we use the currently supported methods.
2014-05-19bitmaskclient.R in de.blinkt.openvpn top levelParménides GV
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.