summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-11Merge remote-tracking branch 'leapcode/pr/138' into developKali Kaneko
2016-03-10[setup] Added docs on how to run the testsBruno Wagner
Also added dirspec directly to the setuptools for now, because it needs the dependency along with the url, but pip would break if it had both
2016-03-10[setup] pycommon pip installs in edit modeBruno Wagner
Leap pycommon will now be installed in editable mode when you use pip install, so that you can run the tests and develop using only pip
2016-03-10[setup] Added dirspec url to requirementsBruno Wagner
I also added a conditional to the setup.py so that python setup.py develop can be used even with the dirspec url
2016-03-09[style] pep8Kali Kaneko
2016-02-29[tests] adapt events tests to recent changesKali Kaneko
2016-02-29[feature] reactor-based authenticatorKali Kaneko
We don't really need a thread to make use of the ZAP authenticator. Document bug fix after authenticator thread is gone
2016-02-23[bug] avoid the events server to block twistd daemonKali Kaneko
1. refactor the zmq_connect/bind methods to use the txzmq addEndpoints mechanism, which cleans up the code a bit. it uses the underlying bindOrConnect method. 2. wrap the addEndpoints call in a helper function that ensures that doRead is called afterward. I'm not fully comfortable with us still using the AuthenticatorThread, I believe we could go witha txzmq-based authenticator for curve.
2016-02-22[feature] optional flag to disable curve authenticationKali Kaneko
2016-02-18[feat] Get events working on windowsmeskio on windows
Always use tcp channels and disable curve encryption on the zmq connections. - Closes: #7899, #7239 - Related: #7919
2015-12-07[refactor] reorder and comment eventsKali Kaneko
Reorder blocks of events, and comment about which user-specific info it's being emitted with them.
2015-11-12[style] fix pep8Ruben Pollan
2015-11-11[pkg] migrate changelog to rst and fold in changes0.5.0Ivan Alejandro
Also, convert issues like #1234 to link pointing to issue tracker.
2015-11-11[docs] add next-changelog to changes/Kali Kaneko
2015-11-11[feature] add variable to skip twisted versionKali Kaneko
2015-11-02[pkg] rename extras to 'http'Kali Kaneko
and document the dependencies on the README.
2015-10-28[pkg] fold in changes0.4.4Ivan Alejandro
2015-10-21Workaround for deadlock problem in zmq authFolker Bernitt
- See https://leap.se/code/issues/7536 - Actual root cause not identified yet
2015-10-13[bug] fix typo on dirname usageIvan Alejandro
2015-10-09[bug] fix wrong ca_cert path inside bundleKali Kaneko
-Resolves: #7524
2015-10-07[bug] consider STANDALONE for the pathsIvan Alejandro
Since we need to write a file we have to consider whether we are running in 'standalone' mode or not to use the right path prefix. - Related: #7512
2015-09-22[pkg] fold in changes0.4.3Ivan Alejandro
2015-09-16[refactor] move checking flag to main moduleKali Kaneko
2015-09-16[tests] Make txclient honor flags.EVENTS_ENABLEDFolker Bernitt
- Breaks tests in dependent repos like soledad otherwise, because server.key could not be found
2015-09-15[feat] expose async events in apiKali Kaneko
to make simpler the import of the tx client - Related: #7274
2015-09-09[docs] add downloads badgeKali Kaneko
2015-09-09[docs] fix broken pypi badgeKali Kaneko
2015-08-28[style] pep8 fixesKali Kaneko
2015-08-26[pkg] fold in changes0.4.2Ivan Alejandro
2015-08-17[tests] add pep8/flake8 ignoresKali Kaneko
2015-08-17[style] pep8 fixKali Kaneko
2015-08-17[feature] allow passing callback to http clientdrebs
2015-08-05[feat] WHEELHOUSE can be a url + --use-leap-wheelsParménides GV
--use-leap-wheels sets --trusted-host (remove it when we have a proper cert) and WHEELHOUSE to https://ftp.lizard.leap.se Until we get ftp.lizard cname, use lizard as the wheels server.
2015-08-04[bug] HTTP timeout was not being cleared on abortBruno Wagner
In case the http client loses connection, it has to clear it's timeout or the reactor will be left in a dirty state Fixing this solves a problem with some of the tests in Soledad that were trying to run on a dirty reactor
2015-08-03[tests] ignore trial temp folderKali Kaneko
2015-08-03[feat] use wheels to install dependenciesParménides GV
generate_wheels uses $WHEELHOUSE to generate and store the wheels for requirements.pip and requirements-testing.pip (if it exists). pip_install_requirements.sh installs requirements.pip from them if possible (if not, then it fetches them from pypi) or, if passed the --testing flag, it installs requirements-testing.pip.
2015-07-29[docs] remove ref to protobuf from READMEKali Kaneko
we stopped using protobuf after the events submodule refactor
2015-07-29[bug] register and unregister controlled by flagVictor Shyba
Since register and unregister cant be used without full zmq initialization, it should make sense to also check flag for them.
2015-07-29[refactor] Extract flags check to callerVictor Shyba
Checking was done inside of emit method. Doing on emit function at a module level makes it cleaner with less lines inside of check.
2015-07-28[test] set flag before starting clientVictor Shyba
Test client will only start with flag set to True. Change EventsGenericClientTestCase to set the flag on the first line of setUp.
2015-07-28[bug] Consider events flag when ensuring clientVictor Shyba
Change EventsClientThread behavior so it won't start anymore if the events flag is set to False
2015-07-28[style] more pep8 cleanupKali Kaneko
2015-07-28[tests] add pep8 to requirements-testingKali Kaneko
2015-07-27[pkg] add AUTHORS file + one-liner to generate itKali Kaneko
2015-07-27[pkg] add script to install base requirementsKali Kaneko
- update pip - install base reqs, with insecure flags for dirspec. fuck canonical.
2015-07-23[tests] fix initialization of basetest caseKali Kaneko
2015-07-23[style] fixed pep8 warnings on http and test eventsBruno Wagner
2015-07-23[tests] fixed events testsBruno Wagner
The events tests check for register and emit signals, but because the flag set_events_enabled was False by default in the tests, no signals were being emitted. I added the flag to the setUp and tearDown of the tests, they are still very slow but at least they are passing now
2015-07-23[tests] implemented http feature according to testBruno Wagner
Two test cases were broken and were implemented here: The first was that HTTPClient should share the connection between clients if a pool was not passed explicitly. If you initialize an HTTPClient without a pool, it will reuse a pool created on the class. The second was that you should be able to pass to the HTTPCLient a pool on initialization. Added that possibility and fixed the tests accordingly
2015-07-23[tests] set environment for certs testBruno Wagner