Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
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.
|
|
also test_requires using parse_requirements
|
|
|
|
renamed setup-->pkg because name collision
|
|
|
|
Closes #505: make management socket to listen on temporal files,
different for each run
|
|
|
|
|
|
forgot to update eipconnection tests after #504 changes :(
|
|
|
|
|
|
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
|
|
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.
|
|
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.
|
|
so we can get them to file / stdout even if
our log viewer is not launched.
|
|
app.py --debug --logfile /tmp/foo.log
|
|
|
|
closes #474: refactor Qt Code
|
|
|
|
closes #331
|
|
|
|
to their base classes.
plus a bit of juggling with order.
|
|
still a bit rough, but makes everything a bit more
readable.
|
|
war on spaguetti! :D
|
|
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 :(
|
|
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.
|
|
stubbing out the timestamp validity check (waiting for #507)
also some more deep tests are missing, wrote todo in tests.
|
|
|
|
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.
|
|
|
|
closes #447
deprecates the use of config files; all options are passed
to openvpn as command line arguments.
|
|
|
|
|
|
|
|
|
|
|
|
it was not updating config dict
|
|
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 :)
|
|
|
|
|
|
now we expect spec to be a dict for all the JSONLeapConfig instances.
|
|
also:
- changed name EIPChecker -> EipConfigChecker
- Added class documentation
|
|
removed "configuration" object. checks are called from conductor.
|
|
|
|
|
|
completed first version of EIPChecks
|
|
deprecated base:test_config.test_complete_file (dup functionality)
|