summaryrefslogtreecommitdiff
path: root/app/src
AgeCommit message (Collapse)Author
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-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-01Update user session button correctly on failureParmé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-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
2015-04-22Remove eip switch.Parménides GV
2015-04-22Button with circle progress, added.Parménides GV
Next step: a bit of UI design, removing the switch.
2015-04-22Initialize ca fingerprint, avoiding nullpointerParménides GV
Danger on defaults to true in debug build
2015-04-22Pinning connection to provider.jsonParménides GV
Using AndroidPinning library from Moxie, I make sure the provider.json file Bitmask downloads is fetched from a pinned https connection, so that the api certificate fingerprint is the good one.
2015-04-15Wants to disconnect and is connecting work fine.Parménides GV
2015-04-15Merge branch 'feature/translate-into-spanish-#6826' into developParménides GV
2015-04-15Set accept-language in ProviderAPI, language-countryParménides GV
String locale = Locale.getDefault().getLanguage() + Locale.getDefault().getCountry();
2015-04-14Typo, segunda personaParménides GV
2015-04-14Show session error in user dialogParménides GV
2015-04-14Signing up string.Parménides GV
2015-04-100.9.3Parménides GV
2015-04-10Merge branch 'develop' into release-0.9.3Parménides GV
2015-04-10Seems to work.Parménides GV
2015-04-07Trying to conjugate the Spanish verbs programmatically.Parménides GV