summaryrefslogtreecommitdiff
path: root/app/src/main/java
AgeCommit message (Collapse)Author
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.
2015-03-12Show progress bar if connecting.Parménides GV
2015-03-12Just show the log if an error occurred.Parménides GV
2015-03-10Point to the log if an error occurrs while connectingParménides GV
2015-03-10Logged in == leapsrpsession has a tokenParménides GV
2015-03-09Just say it's authenticated, nothing about certificatesParménides GV
2015-03-09Extracted a new method, refactoring.Parménides GV
2015-03-09Eip status disconnects void vpn when disconnecting.Parménides GV
2015-01-31Updated ics-openvpn to rev 1020.Parménides GV
Improved build.gradle script.
2015-01-30Update ics-openvpn codeParménides GV
2015-01-30Don't reuse last session dialog.Parménides GV
It was giving problems when trying to change the arguments.