summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/Dashboard.java
AgeCommit message (Collapse)Author
2018-01-11save app version on first startFup Duck
2018-01-038773 preseeded providers implementation for production flavorcyBerta
2017-12-14Update constants renamingcyBerta
2017-12-12Add Splash StartActivityFup Duck
* added Splash StartActivity to handle updates and initialization * created global Constants * move EIPConstants to Constants * create update possibility * use VectorDrawable as background for StartActivity
2017-12-07#8742 basic always-on implementation with blocking vpn if no profile is ↵cyBerta
configured
2017-11-21#8789 fixed javadoc and catched another IllegalStateExceptioncyBerta
2017-10-28#8757 refactores ProviderAPI for insecure flavor, fixes tests, renames ↵cyBerta
confusing constants, updates robotium
2017-10-258757 fixes session cookie handling by implementing okHttpClient and custom ↵cyBerta
cookiejar, enables TLS 1.2 on old devices, restricts allowed cipher suites on new devices in order to harden tls based communication
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