summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-02-17Add an __init__.py to the leap/mx/tests module with a boilerplated tests.run()Isis Lovecruft
function so that the options parser doesn't choke on it.
2013-02-17Clean up the options parser and documentation.Isis Lovecruft
2013-02-17Set the traceback recursion when running in debug mode higher so that we canIsis Lovecruft
follow exceptions better.
2013-02-17Add a check for python3.0.Isis Lovecruft
2013-02-17Move credit and license info out of __main__.__doc__ so that it's not cruftingIsis Lovecruft
up the screen everytime we run start_mx.py.
2013-02-17Cleaned up documentation and added option handling class for the start script.Isis Lovecruft
2013-02-17Add update mechanism to config files to allow new default configs to be pushedIsis Lovecruft
to the git repo later without breaking past versions.
2013-02-16Add new start script.Isis Lovecruft
* TODO: The new start script still need an usage.Options() class.
2013-02-16Add new version of leap/mx/util/runner.py file.Isis Lovecruft
2013-02-16Update .gitignore to exclude config files.Isis Lovecruft
2013-02-16Update .gitignore file to exclude logs/ directory.Isis Lovecruft
2013-02-16Remove old start script.Isis Lovecruft
2013-02-16Fix a bug in log.debug() where it was checking for the config setting in theIsis Lovecruft
wrong section of the config.
2013-02-16Fix log.start() function in leap/mx/util/log.py to properly use the xdgIsis Lovecruft
directory if that was discovered in config setup. * Updated imports to reflect directory layout changes, again.
2013-02-16Fix discovery of xdg .config directory on *nix systems, and use that path forIsis Lovecruft
our config file if it exists.
2013-02-16Add new parameters 'enable_logfile', 'logfile', 'debug', and 'noisy' to theIsis Lovecruft
default config creation template.
2013-02-16Moved client platform detection code to leap/mx/util/config.py.Isis Lovecruft
* Remove extraneous storage.Storage() initializations. * Autosetup calls to config._get_config_location based on whether config.filename has been set elsewhere.
2013-02-16Fix imports in leap/mx/util/config.py to reflect move of util/ directory, andIsis Lovecruft
setup default config storage.Storage() modified dictionary objects for YAML configs.
2013-02-16Fix imports in leap/mx/util/config.py to not import all of os.Isis Lovecruft
2013-02-16Fix typo in leap/mx/util/net.py.Isis Lovecruft
2013-02-16Remove unnecessary file src/__init__.py.Isis Lovecruft
2013-02-16Add exceptions and util to leap/mx/__init__.py.Isis Lovecruft
2013-02-16Moved leap/mx/util/exceptions.py to leap/mx/exceptions.py.Isis Lovecruft
2013-02-16Cleaned up versioning to have more easily parsable public methods.Isis Lovecruft
* Changed most of version.py to be in class Version, without importing any twisted code (so that runner.CheckRequirements can check for it first) and so that leap/mx/util/__init__.py can do: import version version = version.Version() to expost only the public methods. * Moved client detection platform code to leap/mx/util/config.py.
2013-02-16Cleaned up version tracking and printing.Isis Lovecruft
2013-02-15Merge branch 'feature/gpg-keygen' into developIsis Lovecruft
2013-02-15Added GnuPG key generation program.Isis Lovecruft
* Added gpg-key-generator, which creates a directory under the current directory named "gpg-keys", creates a batch script for GnuPG to take as input to the "$ gpg --batch --gen-key " command. The gpg-key-generator will also somewhat handle cleanup of it's created files, appending instructions to the current GnuPG batch file, and creation of N keypairs at a time. It will call gpg itself, after creating the batch file, and create the keypairs. Lastly it prints a set of basic instructions for adding a new user account in order to avoid inadvertent mistakes to an actual user's GnuPG keyring. Do "$ gpg-key-generator --help" for more info. * First batch of test keypairs for unittesting leap_mx is included. The default keys were created with username: Louis Lingg <blackhole@leap.se>, and the passphrase for each secret key is "leap" (no quotes).
2013-02-15Add the storage utility for parsing the config file structure in a moreIsis Lovecruft
readable fashion.
2013-02-15Add missing __init__.py file to src/.Isis Lovecruft
2013-02-15Updated the pip requirements file with a note to add a requirement forIsis Lovecruft
whatever python-gnupg ends up being called after it's uploaded to pypi.
2013-02-15Fixed (I think) the markdown on the subheader links in the README.md.Isis Lovecruft
2013-02-15Module directory layout changes, with corresponding __init__.py changes.Isis Lovecruft
2013-01-31Update pip requirements for pyxdg.Isis Lovecruft
2013-01-31Update pip requirements file to include PyYAML.Isis Lovecruft
2013-01-31Finished check_recipient and virtual_alias_map in AliasResolver.Isis Lovecruft
2013-01-31Add callbacks to AliasResolverFactory, these need to be hooked toIsis Lovecruft
couchdb.ConnectedCouchDB().
2013-01-31Add TODO to alias_resolver.Isis Lovecruft
2013-01-31Renamed alias_resolver.createID() to alias_resolver.aliasToUUID(), renamedIsis Lovecruft
AliasResolver classes, fixed docstrings and imports.
2013-01-31Fix typo.Isis Lovecruft
2013-01-31Separated CouchDB code into mx/couchdb.py and added fake-SMTP status codes toIsis Lovecruft
alias_resolver.
2013-01-31Add default boilerplate config to the config file creator.Isis Lovecruft
2013-01-31Add UUID creator to alias_resolver.Isis Lovecruft
2013-01-31Paranoia led me to adopt AGPLv3 over my usual favourite, WTFPL.Isis Lovecruft
2013-01-31Moved exceptions to their own file to keep the code cleaner.Isis Lovecruft
2013-01-31Config file parsing and creating utility. This will need to be refactored toIsis Lovecruft
use JSON, following leap_client, and may tie into soledad.
2013-01-31Add docstrings and client OS detection functions to mx/util/version.py.Isis Lovecruft
2013-01-31Add storage dictionary class (for config files) to mx/util/__init__.py.Isis Lovecruft
2013-01-28Need to switch the config to JSON following leap_client.Isis Lovecruft
2013-01-28Added main file for starting the remailer, still need to finishIsis Lovecruft
check_recipient, added logging functionality, and config is halfway done, but it will need to use JSON rather than Yaml.
2013-01-28Fixed a missing comma in the logger in util/log.py.Isis Lovecruft