summaryrefslogtreecommitdiff
path: root/src/leap/eip
AgeCommit message (Collapse)Author
2012-08-30add lazy evaluation to config specskali
now callables are allowed in specs *only at one level depth* to allow for last-minute evaluation on context-sensitive data, like paths affected by os.environ also some minor modifications to make check tests pass after putting the new jsonconfig-based eipconfig in place. aaaaaall green again :)
2012-08-29add eipconfig spec and config objectkali
2012-08-29test for eip_config_checker called from eip_connection run_checks methodkali
also: - changed name EIPChecker -> EipConfigChecker - Added class documentation
2012-08-28eip_checks called from main app.kali
removed "configuration" object. checks are called from conductor.
2012-08-28add todokali
2012-08-28checki complete eip_config tests.kali
completed first version of EIPChecks
2012-08-28eipchecker.fetch definition and testskali
deprecated base:test_config.test_complete_file (dup functionality)
2012-08-27add test_dump_default_eipconfig to eip.test_checkskali
plus a little bit of cleaning around (created constants file). added some notes about inminent deprecation *work in progress*
2012-08-27add stubs for eip.checkskali
will handle pre-init sanity checks for eip connection. some of this will actually end in more general leap-checks, but let's keep it alltogether by now.
2012-08-27make eipconductor test use BaseLeapTestkali
2012-08-27change default_provider_path to base.constantskali
fix tests by introducing a (dirtish) workaround for check for openvpn keys during vpn connection initialization. noted that eipconnection constructor should be better not having that class of side-effects.
2012-08-27fix expanduser for home in expected openvpn optionkali
2012-08-24Merge branch 'get-definition.json' into providers-statickali
adjusted some loose ends to make tests pass again. this merge is still half-baked regarding functionality: I've left in place old Configuration class used by some tests antialias did on his branch. I plan to merge that functionality with the more recent JSONConfig and Spec classes. Conflicts: src/leap/base/configuration.py src/leap/eip/config.py src/leap/eip/tests/test_config.py
2012-08-24fix config imports to make tests pass.kali
we still have to move most of those tests to test_baseconfig
2012-08-23moved help functions from eip/config.py to base/configuration.py.antialias
(cherry picked from get-definition.json branch) solve merge conflict since antialias was working in a version in which baseconfig was still at `configuration` file. Conflicts: src/leap/base/configuration.py
2012-08-22grabs a definition.json file if one isn't present. includes some basic error ↵antialias
handling and tests. uses the requests library for network interactions and mocks for simulating network states.
2012-08-22moved help functions from eip/config.py to base/configuration.py.antialias
2012-08-23test_config uses the new leap base testcasekali
2012-08-22bye bye conductor, watcher (after refactor)kali
2012-08-22fix exceptions locationkali
2012-08-22moved json-config testskali
2012-08-22Merge branch 'refactor-tests' into refactorkali
2012-08-22removed dup exceptionskali
2012-08-21minor pep8 clean up.antialias
2012-08-22minor tweaks to setup + env testkali
2012-08-22config testskali
2012-08-22moved tests to directorykali
2012-08-22fix udstelnet called test (green)kali
2012-08-22fix for failing bad port init testkali
2012-08-22add conductor + manager tests (red)kali
2012-08-22conductor testskali
2012-08-22pep8kali
2012-08-21Merge branch 'refactor' into json-configantialias
2012-08-21Error fixes and json commit.antialias
2012-08-22yay! First WORKING GUI in refactor branch :)kali
Obviously then, you should ignore the commit message in 489ed46140d6d. That commit WAS NOT working, believe me :) Fix an annoying bug by which we were overwriting the "connect" method that came from vpnmanager with basically an empty stub.
2012-08-20added json parsing from eip.json file and some basic tests.antialias
2012-08-21fix status_watcher callback stubkali
2012-08-21fix out-of-sync refactor.kali
manually merge changes from the develop branch that were lost due to having branched a previous state when refactored former "conductor" class. also, moved more exceptions to its own file.
2012-08-21udstelnet to its own filekali
2012-08-21moved exceptions to its own filekali
2012-08-21fix imports + style cleaningkali
2012-08-16Cleaned up files and file names using the PEP 8 style guide.antialias
2012-08-14Works and is now ready to write tests for.antialias
2012-08-08check for validity of the remote_ip entry (is ip?)kali
2012-08-08catch missing keyfile errorkali
2012-08-08check for bad permissions on vpn key fileskali
2012-08-07build default provider openvpn config.kali
preparation for completion of #356, #355, #354, #182 if no default openvpn config is present, we build one with a preset template and the remote_ip of the eip service as the only input. right now we're taking it from the eip.cfg file.
2012-08-03added log info for polkit checkskali
2012-08-03check also for a suitable polkit-authentication-agent runningkali
fix #382.
2012-08-03stub for daemon mode; disabled by now until #383 is fixedkali