summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/Dashboard.java
AgeCommit message (Collapse)Author
2017-10-13#8759 one cancellation dialog should be sufficientcyBerta
2016-04-02VpnStatus.initLogCache must be called only once.Parménides GV
onCreate gets called when the activity is back on the screen. If the app was already launched, we should not set everything up again.
2016-02-06Pause icon, init log file in DashboardParménides GV
2015-05-01Separated tests for VpnFragment.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-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 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-07Trying to conjugate the Spanish verbs programmatically.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-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-12Just show the log if an error occurred.Parmé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-01-30Don't reuse last session dialog.Parménides GV
It was giving problems when trying to change the arguments.
2015-01-19Connect if logged in after turning switch onParménides GV
2015-01-19Reusing methods to download certificate.Parménides GV
This makes sure that if a a certificate is not valid, a new one is downloaded. Unit tests don't apply to this, I've already added one to the certificate validator, whose result will determine if a new certificate will be downloaded.
2014-12-31Don't remove vpn profiles if possible.Parménides GV
2014-12-23-100 lines on Dashboard, gradle fix.Parménides GV
Gradle doesn't invoke updateIcsOpenVpn task unless the task is explicitly invoked. I needed to put all the related tasks into the configuration phase, rather than on the execution one.
2014-12-22Log out before starting Configuration Wizard.Parménides GV
2014-12-22Revert deb2cfd & avoid arguments if previous fragment != nullParménides GV
2014-12-17Small refactor to stop EIP methods.Parménides GV
2014-12-16Update eip-service.json each EipFragment.onAttachParménides GV
2014-12-15Working on Android 5.Parménides GV
Beware! https://code.google.com/p/android/issues/detail?id=80074: Wrong VpnService.prepare() behavior after re-installation of the VPN app on Android 5.0 "The following steps will cause incorrect behavior of the VpnService.prepare(): 1. Establish VPN connection using any VPN app. VpnService.prepare() will return an intent for the "Connection request" system activity. Once user accepts it, VPN connection can be established successfully. 2. Uninstall VPN app. 3. Re-install the same VPN app. 4. Now VpnService.prepare() returns null, as if the VPN service has been already prepared. 5. Now VpnService.protect() returns false and VPN connection fails. Device reboot is needed in order to be able to establish VPN connection again."
2014-12-09SessionDialog restores eip switch if necessary.Parménides GV
2014-12-09Final refactoring for this bug.Parménides GV
Removed the sign up dialog, log in one is enough with the third button I added some time ago to sign up. Removed classes we don't need due to the libraries I have recently introduced.
2014-12-09EIP fragment shown correctly.Parménides GV
2014-12-09Release flavor updated, back button works.Parménides GV
2014-12-09Switching provider doesn't refresh provider list.Parménides GV
It shows just one provider, and it's not the one that gets configured if selected.
2014-12-04Renderers and dagger, refactoring CW.Parménides GV
2014-12-04Learning to use Butterknife, refactoring small things.Parménides GV
2014-12-03First orientation change doesn't crash.Parménides GV
Update gradle to 2.2.1.
2014-12-01Restore eip fragment on screen orientation.Parménides GV
2014-11-27Removed unused imports and unused .eip variablesParménides GV
2014-11-27EipStatus detects and notifies changes by itself.Parménides GV
Initial status message is "not connected", rather than "unknown".