summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-09-12some human friendly stubs for raising these exceptionskali
2012-09-12pep8kali
2012-09-12add netifaces to requirementskali
2012-09-10Implemented basic networks checks: valid interface, default route, and can ↵antialias
ping the listed gateway.
2012-09-08workaround for broken git version if no tag existskali
2012-09-07Merge branch 'feature/support-2.6' into developkali
Closes #390. Run tox -v to run testsuite against 2.6 and 2.7. Tests happily passing on 2.6 :)
2012-09-07update README with tox info and PyQt annoyanceskali
2012-09-07tox initial file. using global site-packages becausekali
of the unability to pip install PyQt4. postmkvenv workaround for PyQt libs for manual use. pip install breaks because they don't have a standard setup.py installation process
2012-09-06add pkg to sdistkali
2012-09-06tox ini filekali
2012-09-06Merge branch 'feature/fix-setup-deps' into developkali
Closes #405 Several fixes on setup.py: It now reads requirements from pkg/requirements.pip Version is extracted from git describe. Added trove_classifiers metadata. Added bootstrap for setuptools.
2012-09-06bootstrap setuptools + version fixkali
also test_requires using parse_requirements
2012-09-06add git version scriptkali
2012-09-06pkg.utils.parse_requirements used in setupkali
renamed setup-->pkg because name collision
2012-09-06classifiers + long descriptionkali
2012-09-06Merge branch 'feature/temp-socket-path' into developkali
Closes #505: make management socket to listen on temporal files, different for each run
2012-09-06openvpn management socket is a temp path on each runkali
2012-09-06safety check in base test removalkali
2012-09-06make tests pass.kali
forgot to update eipconnection tests after #504 changes :(
2012-09-06fix silly return mistake on has_errors methodkali
2012-09-06fix argparse testkali
2012-09-06Merge branch 'feature/error-handling' into developkali
Closes #504: design generic error handling solution. * app-wide logging config. * --logfile command line argument. * created basic exception hierarchy * conductor pushes exceptions to error queue * in Qt, error dialogs are created from exception attributes
2012-09-06more generic error handler in EipConductorAppMixinkali
documentation of the Exception Hierarchy and attributes. also a bit of general cleanup around error handling in conductor. Hopefully to be polished an abstracted to leap.base with time. not all errors are converted (and the old with_errors/ignoring errors) are still there, but we should be using this style of handlers from now on. wrapping up with this pseudo-feature for now. as we work on individual features we can mimick the exceptions that are working.
2012-09-05missing_pkexec error converted to "auto" error.kali
idea is that we define user messages in the exceptions, and queue them during (conductor) checks. user facing dialogs get constucted from exception attrs. if critical, log as such and exit.
2012-09-05openvpn messages log to eip.openvpn loggerkali
so we can get them to file / stdout even if our log viewer is not launched.
2012-09-05can log to logfilekali
app.py --debug --logfile /tmp/foo.log
2012-09-05app wide logging handlerkali
2012-09-04Merge branch 'feature/qt-refactor' into developkali
closes #474: refactor Qt Code
2012-09-04put timer constant instead of hardcoded valuekali
2012-09-04refactor icon/iconpath dictkali
closes #331
2012-09-04add little docstrings to classeskali
2012-09-04further cleaning of main window by moving init functionskali
to their base classes. plus a bit of juggling with order.
2012-09-04actual split of classes into own moduleskali
still a bit rough, but makes everything a bit more readable.
2012-09-04first attempt at class splittingkali
war on spaguetti! :D
2012-09-04fix test_checks: do not mess with real home path!kali
It is really dangerous to mess with expanduser paths in tests without deriving testcases from LeapTestCase. It'd be good to devise a way of checking for that :(
2012-09-04Merge branch 'feature/provider-cert-check' into developkali
For #501: write base.checks.ProviderCertChecks (in eip.checks, though.) Basic functionality is there, merging to tip. Might have to reopen to implement actual cert ts check.
2012-09-04better separate cert validation/download logickali
stubbing out the timestamp validity check (waiting for #507) also some more deep tests are missing, wrote todo in tests.
2012-09-03basic download cert functionalitykali
2012-09-03providercertchecks:check_https_is_workingkali
implementing a https server with its own base testcase for convenience. https is delicate, and I think it's better checking against a real implementation than mocking everything here.
2012-08-31deprecated configparser. closes #500kali
2012-08-30Merge branch 'feature/ovpn-no-config' into developkali
closes #447 deprecates the use of config files; all options are passed to openvpn as command line arguments.
2012-08-30remove unused functionkali
2012-08-30working with options only from clikali
2012-08-30move extra options from config template to cl optskali
2012-08-30add test for JSONLeapConfig metaclasskali
2012-08-30fetcher moved to baseconfig + eipchecker using eipservice config.kali
2012-08-30fix config load methodkali
it was not updating config dict
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-29change slug to a property (read only)kali