summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-20[test] keep artifacts inside the project dirAzul
2017-07-20[test] enable and check vpnAzul
2017-07-20[test] minor: only set env["HOME"] onceAzul
2017-07-20[tests] clearer message if test user not definedKali Kaneko
2017-07-20[bug] include cacert.pem in bundlesKali Kaneko
2017-07-20[doc] Tests inside docker with gitlab-runnerVarac
2017-07-20[test] Disable OSX tests for nowVarac
Currently, our only OSX gitlab runner is unavailable too often and the tests fail in CI anyway so we disable it for now until we fix both.
2017-07-20[test] keep config files from failing testsAzul
2017-07-20Merge branch 'functional_tests'Azul
2017-07-20[test] Add basic functional login testVarac
* Move todo list to https://0xacab.org/leap/bitmask-dev/issues/8929 * use bundled pysqlcipher - debian package has not been fixed yet. * reset bitmaskd for each scenario so they are isolated * run functional tests on CI * moved e2e tests before the bundle * add test_functional_graphical Make target * Install chromedriver in docker image * add screenshots as artifacts on failure * run chrome without sandbox for docker Tests were failing on CI with chrome sandbox: https://0xacab.org/leap/bitmask-dev/-/jobs/15196 Used this workaround: https://stackoverflow.com/questions/28364012/webdriver-exception-chrome-not-reachable/28949227#28949227 - Resolves: #8929
2017-07-19[pkg] properly install soledadmoomin
Signed-off-by: Ruben Pollan <meskio@sindominio.net>
2017-07-18[test] ca_cert_path can not be an empty stringRuben Pollan
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[pkg] add certifi as a dependency for bitmaskKali Kaneko (leap communications)
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[docs] correct path for homebrew bundle tarballsKali Kaneko (leap communications)
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] typo, styleKali Kaneko (leap communications)
2017-06-28[pkg] remove remaining refs to older soledad structureKali Kaneko (leap communications)
2017-06-28[tests] add soledad-client dependenciesKali Kaneko (leap communications)
2017-06-28[tests] adapt tests to new soledad pathKali Kaneko (leap communications)
2017-06-28[docs] fix the docstring since the implementation does not sign yetKali Kaneko (leap communications)
2017-06-28[docs] document key discovery sourcesRuben Pollan
2017-06-28[docs] overview for keymanagerKali Kaneko (leap communications)
2017-06-23[docs] update documentation on bundling process in osxKali 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
2017-06-22[pkg] build openvpn 2.4.3Kali Kaneko (leap communications)
- Resolves: #8946
2017-06-22[pkg] fix path in daemon.py copyKali Kaneko (leap communications)
2017-06-21[style] reduce syslog verbosityKali Kaneko (leap communications)
2017-06-21[pkg] fetch static openvpn from leap downloadsKali Kaneko (leap communications)
2017-06-21[pkg] build openvpn in osxKali Kaneko
some minor tweaks to get the latest version of OpenVPN (2.4.2) compiling statically under OSX.
2017-06-21[pkg] improve Packages scriptKali Kaneko
- use relative paths - there's still an absolute path (hardcoded, the REFERENCE FOLDER PATH). This should be changed (sed!) if we want to automate this for CI or for building in different environments: STILL NEEDS SOME MANUAL WORK. - Avoid deleting the build folders by default - Move the plist file to a subfolder
2017-06-20[pkg] add missing steps to produce a functional OSX bundleKali Kaneko
2017-06-19[refactor] remove dead codeKali Kaneko (leap communications)
2017-06-19[pkg] fix icon pathKali Kaneko (leap communications)
2017-06-16[bug] add missing importKali Kaneko (leap communications)
2017-06-16[bug] fail gracefull if watcher process is not aliveKali Kaneko (leap communications)
- plus general pep8 cleanup.