summaryrefslogtreecommitdiff
path: root/app/src/main/java
AgeCommit message (Collapse)Author
2014-11-26Extracted EipStatus, centralizing new state notifications.Parménides GV
Observer pattern. The only notification is being received properly on EipServiceFragment is the connected one. I need to fix the other UI methods.
2014-11-26OVPNGateway extracted from EIP.Parménides GV
Fixed a silly typo on .gitignore which was ignoring "G*"!.
2014-11-26An empty certificate is valid.Parménides GV
If there is no certificate, there is no need to fix it. Right now, we use this class just to know if we need to update the certificate or redownload it. In case the certificate is corrupted, then it won't be empty but will contain an error message. If there is no certificate (e.g., because the user hasn't logged in and the provider doesn't provide anon vpn), then the "certificate" is ok but an upper layer of the code will have to handle the situation (in this case, eip will detect that there is no certificate and that the user needs to log in, prompting it to do so).
2014-11-26Update vpn certificate and store it correctly.Parménides GV
One more onReceiveResult for Dashboard, that method needs a rethink: a statemachine class, and a simple "next()" method? The reality is that the onReceiveResult specifies a linked process, and that should have a better model than a series of if/else cases with strings comparisons hehehe
2014-11-26GatewaySelector is back.Parménides GV
Had to rewrite the class, forgot to add the java file to git.
2014-11-26Smaller method.Parménides GV
2014-11-26More refactoring, fixed problems from previous commit.Parménides GV
2014-11-26eip package, EIP constants to interface.Parménides GV
2014-11-25Changelog + early routes uncommented + rebuild vpn profileParménides GV
2014-11-22Merge branch 'develop' into release-0.8.0Parmé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-20Merge branch 'develop' into release-0.8.0Parménides GV
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-13Merge branch 'develop' into release-0.8.0Parménides GV
2014-11-13Delete all vpn profiles if updating them.Parménides GV
2014-11-11Merge branch 'develop' into release-0.8.0Parmé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-070.8.0RC2.Parménides GV
2014-11-04Update ics-openvpn to rev 906.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-16A bit of refactoring for ConfigurationWizard.Parménides GV
Fix a typo in the debug source of ProviderAPI.
2014-10-16Move blocking code to thread's run.Parménides GV
2014-10-14Big refactor, ProviderAPI looks better.Parménides GV
2014-10-14Start EIP after downloading an authed certificate.Parménides GV
Always. Previously we didn't do so if EIP hadn't been started before. Fix a small bug introduced during latest refactoring, authentication did not work because the final result variable wasn't assigned.
2014-10-10ProviderAPI refactoring.Parménides GV
Authenticate and Register methods are now renamed and split. It's much more readable, the new emacs-default indentation helps to that too.
2014-10-09Check self-signed fingerprint.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-07Finish VoidVpnLauncher activity.Parménides GV
It was remaining there, with an empty layout.
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-19No network != disconnected eip.Parménides GV
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.