summaryrefslogtreecommitdiff
path: root/app/src/main/java
AgeCommit message (Collapse)Author
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-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-01Separated tests for VpnFragment.Parménides GV
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-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-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-15Set accept-language in ProviderAPI, language-countryParménides GV
String locale = Locale.getDefault().getLanguage() + Locale.getDefault().getCountry();
2015-04-14Show session error in user dialogParménides GV
2015-04-14Signing up string.Parménides GV
2015-04-10Seems to work.Parménides GV
2015-04-07Trying to conjugate the Spanish verbs programmatically.Parménides GV
2015-03-24Conjugate the verb to be in user session status.Parménides GV
2015-03-24Remove all Logs.Parménides GV
In the near future, I should implement an error feedback mechanism (ideally using ics-openvpn's log view), and avoid the e.printStackTrace() and Log.d("","") without losing information.
2015-03-24Indent everything with IntelliJParménides GV
2015-03-24Cleaned imports, use wildcards when appropriateParménides GV
2015-03-24Revert "Remove unused imports."Parménides GV
This reverts commit 1e300837b2b2188bc682af7b1dfadfa16942725b. I don't want big lists of imports, I like wildcards.
2015-03-24Remove unused imports.Parménides GV
Using intellij tool.
2015-03-249 out of 10 times, in a row, void vpn is closed.Parménides GV
2015-03-24Silly typo.Parménides GV
2015-03-24Show log if an error is reported in last 5 log messages.Parménides GV
2015-03-24Error in last lines fixed.Parménides GV
2015-03-24Revert "Ammend."Parménides GV
This reverts commit 7c17d2654d9b6f32580e71e22ea08fca1893aa93.
2015-03-23Ammend.Parménides GV
2015-03-20Detect error in last 5 lines of the log.Parménides GV
2015-03-19Show gus message just for riseup login.Parménides GV
2015-03-19Warn riseup users about credentials, as an error in the username field.Parménides GV
I haven't still decided how to show that warning, I'm talking to gus about it. This is just the first idea, but the core mechanism is implemented at least.
2015-03-19Don't show user session progress in the eip fragmentParménides GV
2015-03-19Show browser warning on disconnect.Parménides GV
Also reindent some code.
2015-03-13Restore provider from sharedconfs if necessaryParménides GV
2015-03-13Say nothing about user sessions in eip status.Parménides GV
2015-03-13Progress spinning bar for user session statusParménides GV
Copy changes to xlarge layout.
2015-03-13Show user session status separately.Parménides GV
Switching orientation doesn't hide that information, now we have two places to avoid it.