Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2018-05-02 | Fix incorrect reference to StringIO | Richard van der Hoff | 2 | -1/+39 | |
This was introduced in 4f2f5171 | |||||
2018-05-01 | missing word :| | Matthew Hodgson | 1 | -1/+1 | |
2018-05-01 | fix markdown | Matthew Hodgson | 1 | -3/+3 | |
2018-05-01 | changelog for 0.28.1 v0.28.1 | Matthew Hodgson | 1 | -2/+23 | |
2018-05-01 | Update __init__.py | Neil Johnson | 1 | -1/+1 | |
bump version | |||||
2018-05-01 | Miscellaneous fixes to python_dependencies | Richard van der Hoff | 1 | -1/+19 | |
* add some doc about wtf this thing does * pin Twisted to < 18.4 * add explicit dep on six (fixes #3089) | |||||
2018-05-01 | Apply some limits to depth to counter abuse | Richard van der Hoff | 3 | -4/+26 | |
* When creating a new event, cap its depth to 2^63 - 1 * When receiving events, reject any without a sensible depth As per https://docs.google.com/document/d/1I3fi2S-XnpO45qrpCsowZv8P8dHcNZ4fsBsbOW7KABI | |||||
2018-04-30 | Fixes #3135 - Replace _OpenSSLECCurve with crypto.get_elliptic_curve (#3157) | Will Hunt | 2 | -8/+8 | |
fixes #3135 Signed-off-by: Will Hunt will@half-shot.uk | |||||
2018-04-30 | add guard for None on purge_history api | Krombel | 1 | -1/+14 | |
2018-04-30 | run config tests on py3 | Adrian Tschira | 1 | -1/+2 | |
Signed-off-by: Adrian Tschira <nota@notafile.com> | |||||
2018-04-30 | add comment explaining attributeerror | Adrian Tschira | 1 | -0/+3 | |
2018-04-30 | add py36 to build matrix | Richard van der Hoff | 1 | -5/+13 | |
2018-04-30 | Remove redundant call to preserve_fn | Richard van der Hoff | 1 | -4/+2 | |
submit_event_for_as doesn't return a deferred anyway, so this is pointless. | |||||
2018-04-30 | Update tox.ini | Richard van der Hoff | 1 | -1/+1 | |
add missing comma | |||||
2018-04-29 | Construct HMAC as bytes on py3 | Adrian Tschira | 2 | -11/+15 | |
Signed-off-by: Adrian Tschira <nota@notafile.com> | |||||
2018-04-29 | more bytes strings | Adrian Tschira | 4 | -7/+10 | |
Signed-off-by: Adrian Tschira <nota@notafile.com> | |||||
2018-04-28 | fix missing import | Matthew Hodgson | 1 | -0/+1 | |
2018-04-28 | pep8 | Matthew Hodgson | 1 | -3/+5 | |
2018-04-28 | make it work with sqlite | Matthew Hodgson | 2 | -34/+54 | |
2018-04-28 | Move more xrange to six | Adrian Tschira | 9 | -11/+28 | |
plus a bonus next() Signed-off-by: Adrian Tschira <nota@notafile.com> | |||||
2018-04-28 | replace stringIO imports | Adrian Tschira | 2 | -3/+3 | |
2018-04-28 | move httplib import to six | Adrian Tschira | 1 | -3/+3 | |
2018-04-28 | make imports local | Adrian Tschira | 4 | -7/+7 | |
Signed-off-by: Adrian Tschira <nota@notafile.com> | |||||
2018-04-28 | Don't yield in list comprehensions | Adrian Tschira | 1 | -5/+9 | |
I've tried to grep for more of this with no success. Signed-off-by: Adrian Tschira <nota@notafile.com> | |||||
2018-04-28 | open log_config in text mode too | Adrian Tschira | 1 | -1/+1 | |
Signed-off-by: Adrian Tschira <nota@notafile.com> | |||||
2018-04-27 | Add py3 tests to tox with folders that work | Adrian Tschira | 1 | -1/+9 | |
It's just a few tests, but it will at least prevent a few files from regressing. Also, it makes it easiert to check your code against py36 while writing it. Signed-off-by: Adrian Tschira <nota@notafile.com> | |||||
2018-04-27 | pep8; remove spurious import | Richard van der Hoff | 1 | -1/+1 | |
2018-04-27 | Use run_in_background in preference to preserve_fn | Richard van der Hoff | 22 | -71/+97 | |
While I was going through uses of preserve_fn for other PRs, I converted places which only use the wrapped function once to use run_in_background, to avoid creating the function object. | |||||
2018-04-27 | Backport deferred.addTimeout | Richard van der Hoff | 5 | -14/+90 | |
Twisted 16.0 doesn't have addTimeout, so let's backport it. | |||||
2018-04-27 | Trap exceptions thrown within run_in_background | Richard van der Hoff | 1 | -1/+7 | |
Turn any exceptions that get thrown synchronously within run_in_background into Failures instead. | |||||
2018-04-27 | Update CHANGES.rst | Neil Johnson | 1 | -1/+1 | |
2018-04-27 | Update CHANGES.rst | Neil Johnson | 1 | -1/+1 | |
2018-04-27 | reraise exceptions more carefully | Richard van der Hoff | 2 | -13/+24 | |
We need to be careful (under python 2, at least) that when we reraise an exception after doing some error handling, we actually reraise the original exception rather than anything that might have been raised (and handled) during the error handling. | |||||
2018-04-27 | Add missing consumeErrors | Richard van der Hoff | 3 | -5/+9 | |
In general we want defer.gatherResults to consumeErrors, rather than having exceptions hanging around and getting logged as CRITICAL unhandled errors. | |||||
2018-04-27 | Improve exception handling for background processes | Richard van der Hoff | 20 | -237/+335 | |
There were a bunch of places where we fire off a process to happen in the background, but don't have any exception handling on it - instead relying on the unhandled error being logged when the relevent deferred gets garbage-collected. This is unsatisfactory for a number of reasons: - logging on garbage collection is best-effort and may happen some time after the error, if at all - it can be hard to figure out where the error actually happened. - it is logged as a scary CRITICAL error which (a) I always forget to grep for and (b) it's not really CRITICAL if a background process we don't care about fails. So this is an attempt to add exception handling to everything we fire off into the background. | |||||
2018-04-27 | also upgrade pip when installing | Richard van der Hoff | 1 | -0/+4 | |
2018-04-26 | update changelog and bump version to 0.28.0 v0.28.0 github/release-v0.28.0-rc1 release-v0.28.0-rc1 | Neil Johnson | 2 | -1/+10 | |
2018-04-26 | jenkins build: make sure we have a recent setuptools | Richard van der Hoff | 1 | -1/+12 | |
2018-04-26 | Miscellaneous fixes to python_dependencies | Richard van der Hoff | 1 | < |