summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add TODO mentioning that we should be able to disable distributorsbug5232_adding_concurrent_processing_squashed_r1Matthew Finkel2014-03-30
| | | | | | | | If we reparse our config and it tells us that a distributor, which is currently running, should be disabled then we should be able to shut it down. Also wrap long lines.
* Use `email.message.Message` instead of `MimeWriter.MimeWriter`Matthew Finkel2014-03-30
| | | | | | | `MimeWriter.MimeWriter` was deprecated in Python 2.3, now is a great time for us to switch to the replacement. Fixes #11370
* Only update distributor's hashring if it's still activeMatthew Finkel2014-03-30
| | | | TODO: shutdown the distributor in this situation
* Bump leekspin to v0.1.3Matthew Finkel2014-03-30
|
* Make sure leekspin created our descriptorsMatthew Finkel2014-03-30
|
* Add useful output during startup integration testMatthew Finkel2014-03-30
|
* Open and convert the db, if necessary. Store DB filename for all.Matthew Finkel2014-03-30
|
* Rewrite database lock acquisition functionMatthew Finkel2014-03-30
| | | | | Restrict access to the database handle when multiple threads request the ability to query. thanks to yawning
* Handle previously unhandled exception when replying to mailMatthew Finkel2014-03-30
|
* More unit tests for Email ServerMatthew Finkel2014-03-30
|
* Use the new idiom throughout codeMatthew Finkel2014-03-30
|
* Return a database handle via generatorMatthew Finkel2014-03-30
| | | | | | | | | Define a new idiom for retrieving an instance of bridgedb.Storage.Database Use: with bridgedb.Storage.getDB() as db: db.<do stuff with the database>
* Add unit tests for bridgedb.StorageMatthew Finkel2014-03-30
|
* Add tests for SIGHUP and SIGUSR1 signalsMatthew Finkel2014-03-30
|
* Reparse descriptors in background thread on signalMatthew Finkel2014-03-30
| | | | | | | | Create temporary distributors and fill them with bridges then overwrite the old distributors' rings with the rings from the temporary distributors. Factor out distributor creation code. Bug fix 5232
* Merge branch 'release-0.1.6'Isis Lovecruft2014-03-26
|\
| * Update CHANGELOG with additional changes for 0.1.6.Isis Lovecruft2014-03-26
| |
| * Update translations.Isis Lovecruft2014-03-26
| |
| * Add unittests for HTTPServer.WebResourceOptions.Isis Lovecruft2014-03-26
| |
| * Merge branch 'hotfix/11218-async-render' into developIsis Lovecruft2014-03-26
| |\
| | * Change unittests for reCaptcha render_POST() to check NOT_DONE_YET.Isis Lovecruft2014-03-26
| | |
| | * Change checkSolution() unittest to check for tuple.Isis Lovecruft2014-03-26
| | |
| | * Add unittests for _renderDeferred().Isis Lovecruft2014-03-26
| | |
| | * Remove gimp captcha unittest code from recaptcha unittest setUp().Isis Lovecruft2014-03-26
| | |
| | * Add --rcfile option to additional coverage lines in Makefile.Isis Lovecruft2014-03-26
| | |
| | * Remove a superfluous error message about gettext files.Isis Lovecruft2014-03-26
| | |
| | * Add a docstring and comment to checkResponse() in ReCaptchaProtectedResource.Isis Lovecruft2014-03-26
| | |
| | * Add coverage pragma lines to blanket excepts in HTTPServer.Isis Lovecruft2014-03-26
| | | | | | | | | | | | | | | They are gross, but we have to have these general excepts everywhere, otherwise users could be shown a traceback.
| | * Change ReCaptchaProtectedResource.render_POST() to call _renderDeferred().Isis Lovecruft2014-03-26
| | | | | | | | | | | | * FIXES #11218 (again).
| | * Add ReCaptchaProtectedResource._renderDeferred() to render deferred resources.Isis Lovecruft2014-03-26
| | |
| | * Change ReCaptchaProtectedResource.checkResponse() to also return request.Isis Lovecruft2014-03-26
| | | | | | | | | | | | | | | | | | We need to return the original request, not just the boolean representing the validity of the CAPTCHA solution, if we want to be able to interact with the original request while rendering it.
| | * A couple PEP8 whitespace fixes in docstrings for HTTPServer.Isis Lovecruft2014-03-26
| | |
| | * More import cleanups for HTTPServer.Isis Lovecruft2014-03-26
| | | | | | | | | | | | | | | * CHANGE `from twisted.web.server import Site` to import the entire `server` module instead.
| | * Cleanup imports in bridgedb.HTTPServer.Isis Lovecruft2014-03-26
| |/ | | | | | | | | * CHANGE all objects named `resource` to something more specific, otherwise we cannot do `from twisted.web import resource`.
| * Remove `cat bridgedb.log` from after tests in .travis.yml.Isis Lovecruft2014-03-25
| |
| * Merge branch 'fix/11196-use-leekspin_r1' into developIsis Lovecruft2014-03-25
| |\
| | * Remove old scripts/gen_bridge_descriptors; use leekspin.Isis Lovecruft2014-03-25
| | |
| | * Add leekspin dependency; modify test_bridgedb and bridgedb.runner apropos.Isis Lovecruft2014-03-25
| | |
| | * Remove superfluous descriptor generation.Isis Lovecruft2014-03-25
| | |
| * | Remove 'installed-files.txt' after `make uninstall` completes.Isis Lovecruft2014-03-25
| |/
| * Merge branch 'fix/11231-additional-bug-fixes' into developIsis Lovecruft2014-03-21
| |\
| | * Fix txrecaptcha.submit() to always return Deferreds.Isis Lovecruft2014-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All returned Deferreds callback with RecaptchaResponse objects. This way, we do not need additional code to check if the result was a Deferred (because, in that case, we would need to add a callback function to extract the RecaptchaResponse object from it and check it), or if it directly returned a RecaptchaResponse. This function now *always* returns Deferred.
| | * Add a steaming pile of XXXs and FIXMEs to problems in WebResourceBridges.Isis Lovecruft2014-03-19
| | |
| * | Merge branch 'fix/11231-blank-captcha-field' into developIsis Lovecruft2014-03-21
| |\ \ | | |/
| | * Add unittests for HTTPServer.WebResourceBridges.Isis Lovecruft2014-03-19
| | |
| | * Always expect a Deferred from ReCaptcha.checkSolution().Isis Lovecruft2014-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, we `checkSolution()` will return a RecaptchaResponse if the HTTP POST argument fields are blank. Otherwise, it returns a deferred. This is bad. It means we have to do all kinds of checks to see if we can add callbacks on the returned object. It should always return a deferred which callbacks with a RecaptchaResponse, and so we should test for that and fail if that is not what is happening.
| | * Fix X-Forwarded-For unittests in CaptchaProtectedResourceTests.Isis Lovecruft2014-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently, we can't do: request.setHeader('X-Forwarded-For', '1.1.1.1') because then BridgeDB never finds the header. Instead, we must do: request.headers.update({'X-Forwarded-For': '1.1.1.1'})
| | * Use the class wrapper DummyRequest in unittests in test_HTTPServer.py.Isis Lovecruft2014-03-19
| | |
| | * Add class wrapper for requesthelper.DummyRequest to support redirects.Isis Lovecruft2014-03-19
| | |
| | * Add a mocked DummyIPBasedDistributor class to test_HTTPServer.py.Isis Lovecruft2014-03-19
| | | | | | | | | | | | | | | | | | | | | A distributor is a required parameter to the `HTTPServer.WebResourceBridges` class. This one merely creates N random `DummyBridges`, where N is the number of bridges we're told to return to the client.