summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
2015-06-16Merge branch 'develop' into release-0.9.4Parménides GV
2015-06-16Resized account icon according to vpn iconsParménides GV
2015-06-12Transparent background of the FabButton, yay!Parménides GV
2015-06-110.9.4RC4Parménides GV
2015-06-11Merge branch 'develop' into release-0.9.4Parménides GV
2015-06-11Update java and xml filesParménides GV
2015-06-100.9.4RC3Parménides GV
2015-06-10Merge branch 'develop' into release-0.9.4Parménides GV
2015-06-10Handle "Cancel" button of the Android VPN permission dialogParménides GV
2015-06-08s/buildtype/flavor, changed riseup's pinParménides GV
Riseup's EE certificate expired (EE = End-Entity, the commercial certificate signed by the issuer), and we weren't able to fetch provider.json because the pin wasn't valid. This problem needs to be avoided in the future, using HKPK (https://tools.ietf.org/html/rfc7469), which Micah's implementing on Riseup. Switching from build types from flavors enables us to run tests against production apk, not just debug. I didn't detect this pinning problem because tests were run only against the debug apk, which trusted preseeded providers by default (thus bypassing pinning issue).
2015-06-080.9.4RC2 - ics-openvpn updatedParménides GV
2015-06-08Merge branch 'develop' into release-0.9.4Parménides GV
2015-06-04Update git submodules recursively from ./gradlew updateIcsParménides GV
2015-06-04Updated bitmask branch from ics-openvpn fork, second notificationParménides GV
2015-06-04ics-openvpn as a submodule! beautifulParménides GV
ics-openvpn is now officially on GitHub, and they track openssl and openvpn as submodules, so it's easier to update everything. Just a git submodule update --recursive. I've also set up soft links to native modules from ics-openvpn in app, so that we don't copy files in Gradle (which was causing problems with the submodules .git* files, not being copied). That makes the repo cleaner.
2015-06-010.9.4 - Bump version number and version codeParménides GV
2015-06-01Update user session button correctly on failureParménides GV
2015-06-01Remove flowlayout dependencyParménides GV
2015-06-01Update robotium + increase wait timesParménides GV
Sometimes, the emulator is so slow (I wish genymotion was open source...) that even though everything's going OK tests fail because they don't wait enough.
2015-05-29Tests failed because testOnFailed failed. Added TODO related.Parménides GV
testVpnButtonIsDisplayed and testVpnIconIsDisplayed fail because calyx in testVpnEveryProvider fails, but if you run them alone they pass.
2015-05-29Gateways manager added a gateway from string twice.Parménides GV
Give more time to provider details fragment to appear, because debugging makes the code run slowly.
2015-05-29Updated libraries, simplified user status fragmentParménides GV
Updated butterknife, dagger, renderers, fabbuton and gson, as well as gradle plugin.
2015-05-05Rename user session fragment, add icon resource.Parménides GV
The FabButton doesn't scale the icon as big as I want it to be, and it doesn't let me set the size to "wrap_content" because the library sets the sizes to match_parent. I'm going to try to modify my fork of FabButton to see if I can obtain what I want in its demo: just an icon and the progress indicator, the icon as big as possible.
2015-05-01testOnFailed()Parménides GV
And checks in controllers, so that if a button isn't shown, I throw a new IllegalStateException. This helps to trace the error.
2015-05-01Added test with an incorrect password.Parménides GV
2015-05-01Separated tests for VpnFragment.Parménides GV
2015-05-01Separated tests for UserStatusFragment.Parménides GV
This way, I can add more easily the tests for errors.
2015-04-30Better layout, xlarge adaptation too.Parménides GV
2015-04-30Works smoothly, correct texts.Parménides GV
Next step: beautify.
2015-04-29Functional.Parménides GV
2015-04-29Dynamically load user session fragment.Parménides GV
Tests click new button, instead of action bar's. Fixing more bugs...
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-28Remove the "provider:" label, simplifying layoutParménides GV
2015-04-28Take screenshots of the changes.Parménides GV
2015-04-28Put button and icon below the vpn labelParménides GV
Some devices are too small to show everything in the same row, so I'm centering everything and spliting the layout in two: the label and the button&icon.
2015-04-28Seem good sizes, but layout is ugly.Parménides GV
2015-04-27Added the button to the xlarg layoutParménides GV
2015-04-27Added a button to the UIParménides GV
Turn on VPN touching that button, and leave the image as a mere indicator.
2015-04-27testEveryProvider also worksParménides GV
2015-04-23Tests pay attention to the vpn icon to know statusParménides GV
They were relying on status messages, but I've removed that TextView.
2015-04-23FlowLayout, to show the vpn icon in some small devicesParménides GV
Tested with physical Galaxy Young S6310.
2015-04-23Test to check that the vpn button is shownParménides GV
Fixed more tests, broken due to previous pullreqs...
2015-04-22Updated BuildTools and gradle Android pluginParménides GV
This fixes the "task cleanTest is not found"
2015-04-22Method to see if a view is actually shown.Parménides GV
Thanks to http://stackoverflow.com/questions/3791607/how-can-i-check-if-a-view-is-visible-or-not-in-android/12428208#12428208
2015-04-22Tests for ConfigurationWizard passParménides GV
I've done this because of https://leap.se/code/issues/6863#note-2, testing the previous commit's changes.
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-22Remove traces of the "reason" field.Parménides GV
2015-04-22Always show the log if an error happens.Parménides GV
I've removed the "reason" management in LogWindowWrapper, letting EipStatus display the error log message only if it's a new one (based on the log buffer position).
2015-04-22Remove textual status.Parménides GV
I had a difficult moment trying to detect if the LogWindow had already been shown after an error. Finally, I implemented a LogWindowWrapper which contains a field for the reason it was shown, so that we can check if the previous error is the same than the current one leading to the avoidance of the second LogWindow. For this to work, we need to reset that reason each time we trigger a new vpn state (i.e. each time the user taps on the vpn icon).
2015-04-22Remove progress bar.Parménides GV