summaryrefslogtreecommitdiff
path: root/src/leap/bitmask
AgeCommit message (Collapse)Author
2017-08-30[refactor] integrate new management protocolKali Kaneko
2017-08-30[feature] add twisted protocol for handling openvpn managementKali Kaneko
2017-08-30[bug] verbose log if error when (un)installing helpersKali Kaneko
2017-08-30[bug] avoid state flickering when state string is emptyKali Kaneko
we set status to 'off' by default. - Resolves: #9013
2017-08-30[bug] fail gracefully if cannot import soledadKali Kaneko
- Resolves: #9025
2017-08-25[bug] replace content-type after removing the signatureRuben Pollan
- Resolves: #9003
2017-08-24[feat] hardcode some providers to mock that they provide mixnetsRuben Pollan
2017-08-24[feat] add mail.add_msg API callRuben Pollan
- Resolves: #8973
2017-08-24[feat] remove active user from get_tokenRuben Pollan
We need to update the UI to use the new API. - Resolves: #8974
2017-08-24[feat] add a mock mixnet_status call to the APIRuben Pollan
For now we say it will be mixed on every request if the mixnet is enabled. We might want a better mock in the future. - Resolves: #8972
2017-08-15[bug] encode pgp/mime parts as 7bit encodingRuben Pollan
We were encoding some parts as base64 and others with our manual encoders. Let's not do base64 and use the email standard library encoders instead. - Resolves: #8957
2017-08-15[bug] fix attribute error when vpn is not startedKali Kaneko
2017-08-14[style] pep8Kali Kaneko
2017-08-14[pkg] fallback to pyqt-webkit if webengine not foundKali Kaneko
2017-08-14[bug] proper vpn shutdown in osx bundleskali
the restarting flag was not being set. - Resolves: #8959
2017-08-14[docs] fix management class docstringkali
2017-08-14[bug] report version correctly in bundleskali
- Resolves: #8992
2017-08-14[bug] kill a previous process in osxkali
Since in OSX the user sees Bitmask in the Dock, I assume that re-launching Bitmask.app from the /Applications folder means that we can kill the previous process. It probably should be able to terminate it gracefully, but we're hitting this during early testing because of the move to native webview - because the window.close() method is still not properly hooked. - Resolves: #9001
2017-08-14[pkg] fail gracefully if there are errors parsing logskali
2017-08-14[pkg] working bundle in osx using pywebview + pyobjckali
2017-08-14[feat] use webengine instead of webkituser1
2017-08-11[style] pep8Kali Kaneko
2017-08-11[feature] allow manual gateway selection for vpnKali Kaneko
For now, the way to select a gateway is to add a section in bitmaskd.cfg: [vpn_prefs] locations = ["frankfurt", "seattle__wa"] countries = ["DE", "US"] Note that the location indication has priority over country code. This will be exposed by the UI in release 0.11 - Resolves: #8855
2017-08-11[bug] add workaround for invalid configs.jsonKali Kaneko
Old versions of the webapp let agent download an invalid.json, instead of returning a 404. We try to parse the json, and if no valid json is found, we use the workaround for manually downloading the service files. - Resolves: #9004
2017-08-11[feature] add vpn list commandKali Kaneko
2017-08-11[feature] automatic vpn gateway selection, based on timezoneKali Kaneko
This is a first approach to automatic gateways selection. More things are missing: - allow manual selection, by location or country code. - take the hemisphere into account. - expose the selected gw to the api/cli but overall seems this is a good approach to make 0.10 release usable in terms of vpn. - Resolves: #8804
2017-08-11[feature] add a new bitmask_chromium gui entrypointKali Kaneko
If chromium is installed in the system, there's no need to depend on qt5.
2017-08-10[refactor] fail gracefully if some modules not presentKali Kaneko
this allows for better modularization in, for instance, the debian package. we should be able to install just the submodules for the vpn service, or the mail service. a better modularization needs the mail_services under core to be moved to bitmask.mail, and do the switch in the main service module for bitmask daemon.
2017-07-28[bug] change status only when key is generatedKali Kaneko
- Resolves: #8986
2017-07-25[refactor] use pixelated-www in leap namespaceKali Kaneko
2017-07-20[bug] check if the helpers are installed before testing the firewallRuben Pollan
In case of the helpers not installed it was crashing the VPNService.
2017-07-20[feat] clean up the firewall on bitmask startRuben Pollan
Just in chance the firewall was not properly cleaned up in a previeous run (bitmask crashed, some bugs in the code, ...). Let's clean up the firewall when it starts. - Resolves: #8979
2017-07-20[feat] rise an exception if the vpn didn't turn down correctlyRuben Pollan
2017-07-20[refactor] use VPNManagment in composition instead of inheritanceRuben Pollan
We make an ugly step for that moving the VPNStatus into VPNManagement. Let's iterate on it a second time to clean up that. - Related: #8942
2017-07-20[refactor] rename VPNTunnel to TunnelManagerRuben Pollan
So it's coherent with FirewallManager. - Related: #8942
2017-07-20[refactor] move TunnelManager duties to VPNServiceRuben Pollan
VPNService has knowledge of the tunnel and the firewall and controls them separately. Also exceptions from VPNControl are handled locally instead of being propagated. - Resolves: #8976 - Related: #8942
2017-07-18use the passed ca_certKali Kaneko
if there is no ca_cert passed and the provider is configured, use the pinned ca cert when the autoconf parameter is true.
2017-07-14[bug] handle 503 responses from nyckserverRuben Pollan
This can be produced by errors fetching keys from the server. - Resolves: #8971
2017-07-14[bug] don't raise exceptions stoping the VPN serviceRuben Pollan
Let's also catch the exceptions raised by stopping services so bitmaskd can stop.
2017-07-14[refactor] skip looking for cacert bundle in bitmaskKali Kaneko (leap communications)
leap.common is going to handle this
2017-06-30[bug] don't restart the VPN if we want to stop itRuben Pollan
Let's signal clearly that we don't want to restart it. - Resolves: #8956
2017-06-29[feat] Stop the vpn (and all services) when application is shut downRuben Pollan
- Resolves: #8852
2017-06-29[feat] return starting status for a restarting VPNRuben Pollan
In case of the openvpn process being off, if we are restarting it we'll report the status as 'starting'.
2017-06-29[feat] restart openvpn automaticallyRuben Pollan
Right now we are trying to restart openvpn every 2 seconds, for ever (or until the user turns down the VPN). Maybe we can be more smart making the retries longer with time. - Resolves: #8049
2017-06-29[refactor] make VPNControl logger an attribute of the classRuben Pollan
2017-06-29[bug] acknoledge max_retries to the openvpn telnet interfaceRuben Pollan
We were allways trying to reconnect for ever.
2017-06-28[docs] fix the docstring since the implementation does not sign yetKali Kaneko (leap communications)
2017-06-23[bu] cleanup options in launcherKali Kaneko
Some reordering, and general cleanup of options. Some of the openvpn options are added now by bitmask-root. - Resolves: #8948
2017-06-23[refactor] remove unused codeKali Kaneko
2017-06-23[bug] trim whitespace from options stringKali Kaneko
this was producing a bug with parsing options in a recent enough openvpn. - Resolves: #8945