summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
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-24Bump version number for the "meetup" releaseParménides GV
2014-07-24Bump build number and version for 0.6.0-RC1Parménides GV
2014-07-24network up & down 3 times: sometimes failsParménides GV
I simulate removing the network at the end of the test. Sometimes, the test fails because a openvpn tries to close a bad file descriptor.
2014-07-24Simulate network down.Parménides GV
The tests say they failed, but it's because the adb server is no longer able to communicate with the emulator due to switching network connectivity off (and being the adb server connected to a local tcp port of the emulator, this port dissapears once connectivity is down). To see if all tests passed, take a look at the logcat. Once tests are finished, issue "adb kill-server" from the development machine, and then "adb logcat".
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-24Minor gradle updates, due to Android L.Parménides GV
- Build tools update to latest version (20). - testPackageName is correctly calculated by default, doing nothing. - support library needs some tweaks to support pre Android L versions.
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-27Bump version and build number for 0.5.3Parménides GV
2014-06-27Bump version and build number for 0.5.3 RC3.Parménides GV
Forgot to commit before uploading actual APK.
2014-06-26Merge branch 'develop' into release-0.5.3Parménides GV
2014-06-26New openvpn cert -> create a vpn profile.Parménides GV
2014-06-26Bump build number and version for 0.5.3 RC2Parménides GV
2014-06-26Merge branch 'develop' into release-0.5.3Parménides GV
2014-06-25Show "Logged out." message.Parménides GV
2014-06-25Merge branch 'bug/gray-icon-is-confusing-#5800' into developParménides GV
2014-06-25Update notification icons.Parménides GV
If the connection is being established, the key with a clock icon is shown. If the connection has been established, the key without the clock icon is shown. I've also added all some icons to more resolutions.
2014-06-24We don't predict future certificate.Parménides GV
2014-06-24Tracker link pointing to chiliParménides GV
2014-06-24LEAP copyright updated until 2014.Parménides GV
2014-06-20Bump build number and version - 0.5.3-RC1Parmé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-20Service is down message correctly shown.Parménides GV
I've also fixed another message: if a file to be downloaded is not found, we say the entered provider isn't a LEAP provider. This is based on the fact that if provider.json doesn't exist/contain valid information, then the url isn't pointing to a LEAP provider.
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-19Reordered introduced lines in textviewsParménides GV
2014-06-19Provider name in Dashboard is ellipsized correctlyParménides GV
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-16Bump version code for hotfix.Parménides GV
2014-06-16Check if there is an active gateway selected.Parménides GV
The active gateway cannot be null.
2014-06-16Merge branch 'feature/update-icsopenvpn-0.6.15' into developParménides GV
2014-06-16Succesfully updated.Parménides GV
2014-06-13Bump build number and version - 0.5.2Parménides GV
2014-06-13Merge branch 'develop' into release-0.5.2Parmé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-12Disconnect from log window works.Parménides GV